@solidstarters/solid-core-ui 1.1.37 → 1.1.40

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 (238) hide show
  1. package/dist/components/common/SolidBreadcrumb.d.ts +1 -1
  2. package/dist/components/common/SolidBreadcrumb.d.ts.map +1 -1
  3. package/dist/components/common/SolidBreadcrumb.js +5 -3
  4. package/dist/components/common/SolidBreadcrumb.js.map +1 -1
  5. package/dist/components/common/SolidFormHeader.d.ts +9 -0
  6. package/dist/components/common/SolidFormHeader.d.ts.map +1 -0
  7. package/dist/components/common/SolidFormHeader.js +22 -0
  8. package/dist/components/common/SolidFormHeader.js.map +1 -0
  9. package/dist/components/common/SolidFormStepper.d.ts +8 -1
  10. package/dist/components/common/SolidFormStepper.d.ts.map +1 -1
  11. package/dist/components/common/SolidFormStepper.js +144 -7
  12. package/dist/components/common/SolidFormStepper.js.map +1 -1
  13. package/dist/components/common/SolidModuleHome.d.ts +6 -0
  14. package/dist/components/common/SolidModuleHome.d.ts.map +1 -0
  15. package/dist/components/common/SolidModuleHome.js +12 -0
  16. package/dist/components/common/SolidModuleHome.js.map +1 -0
  17. package/dist/components/core/form/SolidFormView.d.ts.map +1 -1
  18. package/dist/components/core/form/SolidFormView.js +22 -15
  19. package/dist/components/core/form/SolidFormView.js.map +1 -1
  20. package/dist/components/core/kanban/KanbanBoard.d.ts +1 -1
  21. package/dist/components/core/kanban/KanbanBoard.d.ts.map +1 -1
  22. package/dist/components/core/kanban/KanbanBoard.js +4 -3
  23. package/dist/components/core/kanban/KanbanBoard.js.map +1 -1
  24. package/dist/components/core/kanban/KanbanCard.d.ts +1 -1
  25. package/dist/components/core/kanban/KanbanCard.d.ts.map +1 -1
  26. package/dist/components/core/kanban/KanbanCard.js +48 -25
  27. package/dist/components/core/kanban/KanbanCard.js.map +1 -1
  28. package/dist/components/core/kanban/KanbanColumn.d.ts +4 -1
  29. package/dist/components/core/kanban/KanbanColumn.d.ts.map +1 -1
  30. package/dist/components/core/kanban/KanbanColumn.js +6 -5
  31. package/dist/components/core/kanban/KanbanColumn.js.map +1 -1
  32. package/dist/components/core/kanban/SolidKanbanView.d.ts +2 -0
  33. package/dist/components/core/kanban/SolidKanbanView.d.ts.map +1 -1
  34. package/dist/components/core/kanban/SolidKanbanView.js +174 -125
  35. package/dist/components/core/kanban/SolidKanbanView.js.map +1 -1
  36. package/dist/components/core/kanban/SolidKanbanViewFields.d.ts +11 -0
  37. package/dist/components/core/kanban/SolidKanbanViewFields.d.ts.map +1 -0
  38. package/dist/components/core/kanban/SolidKanbanViewFields.js +144 -0
  39. package/dist/components/core/kanban/SolidKanbanViewFields.js.map +1 -0
  40. package/dist/components/core/kanban/SolidManyToOneFilterElement.d.ts +2 -0
  41. package/dist/components/core/kanban/SolidManyToOneFilterElement.d.ts.map +1 -0
  42. package/dist/components/core/kanban/SolidManyToOneFilterElement.js +87 -0
  43. package/dist/components/core/kanban/SolidManyToOneFilterElement.js.map +1 -0
  44. package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.d.ts +2 -0
  45. package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.d.ts.map +1 -0
  46. package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.js +74 -0
  47. package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.js.map +1 -0
  48. package/dist/components/core/kanban/SolidSelectionStaticFilterElement.d.ts +2 -0
  49. package/dist/components/core/kanban/SolidSelectionStaticFilterElement.d.ts.map +1 -0
  50. package/dist/components/core/kanban/SolidSelectionStaticFilterElement.js +21 -0
  51. package/dist/components/core/kanban/SolidSelectionStaticFilterElement.js.map +1 -0
  52. package/dist/components/core/kanban/SolidVarInputsFilterElement.d.ts +12 -0
  53. package/dist/components/core/kanban/SolidVarInputsFilterElement.d.ts.map +1 -0
  54. package/dist/components/core/kanban/SolidVarInputsFilterElement.js +82 -0
  55. package/dist/components/core/kanban/SolidVarInputsFilterElement.js.map +1 -0
  56. package/dist/components/core/kanban/kanban-fields/SolidBigintKanbanField.d.ts +4 -0
  57. package/dist/components/core/kanban/kanban-fields/SolidBigintKanbanField.d.ts.map +1 -0
  58. package/dist/components/core/kanban/kanban-fields/SolidBigintKanbanField.js +8 -0
  59. package/dist/components/core/kanban/kanban-fields/SolidBigintKanbanField.js.map +1 -0
  60. package/dist/components/core/kanban/kanban-fields/SolidBooleanKanbanField.d.ts +4 -0
  61. package/dist/components/core/kanban/kanban-fields/SolidBooleanKanbanField.d.ts.map +1 -0
  62. package/dist/components/core/kanban/kanban-fields/SolidBooleanKanbanField.js +8 -0
  63. package/dist/components/core/kanban/kanban-fields/SolidBooleanKanbanField.js.map +1 -0
  64. package/dist/components/core/kanban/kanban-fields/SolidComputedKanbanField.d.ts +4 -0
  65. package/dist/components/core/kanban/kanban-fields/SolidComputedKanbanField.d.ts.map +1 -0
  66. package/dist/components/core/kanban/kanban-fields/SolidComputedKanbanField.js +22 -0
  67. package/dist/components/core/kanban/kanban-fields/SolidComputedKanbanField.js.map +1 -0
  68. package/dist/components/core/kanban/kanban-fields/SolidDateKanbanField.d.ts +4 -0
  69. package/dist/components/core/kanban/kanban-fields/SolidDateKanbanField.d.ts.map +1 -0
  70. package/dist/components/core/kanban/kanban-fields/SolidDateKanbanField.js +8 -0
  71. package/dist/components/core/kanban/kanban-fields/SolidDateKanbanField.js.map +1 -0
  72. package/dist/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.d.ts +4 -0
  73. package/dist/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.d.ts.map +1 -0
  74. package/dist/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.js +8 -0
  75. package/dist/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.js.map +1 -0
  76. package/dist/components/core/kanban/kanban-fields/SolidDecimalKanbanField.d.ts +4 -0
  77. package/dist/components/core/kanban/kanban-fields/SolidDecimalKanbanField.d.ts.map +1 -0
  78. package/dist/components/core/kanban/kanban-fields/SolidDecimalKanbanField.js +8 -0
  79. package/dist/components/core/kanban/kanban-fields/SolidDecimalKanbanField.js.map +1 -0
  80. package/dist/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.d.ts +4 -0
  81. package/dist/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.d.ts.map +1 -0
  82. package/dist/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.js +8 -0
  83. package/dist/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.js.map +1 -0
  84. package/dist/components/core/kanban/kanban-fields/SolidFloatKanbanField.d.ts +4 -0
  85. package/dist/components/core/kanban/kanban-fields/SolidFloatKanbanField.d.ts.map +1 -0
  86. package/dist/components/core/kanban/kanban-fields/SolidFloatKanbanField.js +8 -0
  87. package/dist/components/core/kanban/kanban-fields/SolidFloatKanbanField.js.map +1 -0
  88. package/dist/components/core/kanban/kanban-fields/SolidIdKanbanField.d.ts +4 -0
  89. package/dist/components/core/kanban/kanban-fields/SolidIdKanbanField.d.ts.map +1 -0
  90. package/dist/components/core/kanban/kanban-fields/SolidIdKanbanField.js +8 -0
  91. package/dist/components/core/kanban/kanban-fields/SolidIdKanbanField.js.map +1 -0
  92. package/dist/components/core/kanban/kanban-fields/SolidIntKanbanField.d.ts +4 -0
  93. package/dist/components/core/kanban/kanban-fields/SolidIntKanbanField.d.ts.map +1 -0
  94. package/dist/components/core/kanban/kanban-fields/SolidIntKanbanField.js +8 -0
  95. package/dist/components/core/kanban/kanban-fields/SolidIntKanbanField.js.map +1 -0
  96. package/dist/components/core/kanban/kanban-fields/SolidLongTextKanbanField.d.ts +4 -0
  97. package/dist/components/core/kanban/kanban-fields/SolidLongTextKanbanField.d.ts.map +1 -0
  98. package/dist/components/core/kanban/kanban-fields/SolidLongTextKanbanField.js +8 -0
  99. package/dist/components/core/kanban/kanban-fields/SolidLongTextKanbanField.js.map +1 -0
  100. package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.d.ts +4 -0
  101. package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.d.ts.map +1 -0
  102. package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.js +32 -0
  103. package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.js.map +1 -0
  104. package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.d.ts +4 -0
  105. package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.d.ts.map +1 -0
  106. package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.js +24 -0
  107. package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.js.map +1 -0
  108. package/dist/components/core/kanban/kanban-fields/SolidRelationKanbanField.d.ts +4 -0
  109. package/dist/components/core/kanban/kanban-fields/SolidRelationKanbanField.d.ts.map +1 -0
  110. package/dist/components/core/kanban/kanban-fields/SolidRelationKanbanField.js +12 -0
  111. package/dist/components/core/kanban/kanban-fields/SolidRelationKanbanField.js.map +1 -0
  112. package/dist/components/core/kanban/kanban-fields/SolidRichTextKanbanField.d.ts +4 -0
  113. package/dist/components/core/kanban/kanban-fields/SolidRichTextKanbanField.d.ts.map +1 -0
  114. package/dist/components/core/kanban/kanban-fields/SolidRichTextKanbanField.js +8 -0
  115. package/dist/components/core/kanban/kanban-fields/SolidRichTextKanbanField.js.map +1 -0
  116. package/dist/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.d.ts +4 -0
  117. package/dist/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.d.ts.map +1 -0
  118. package/dist/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.js +8 -0
  119. package/dist/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.js.map +1 -0
  120. package/dist/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.d.ts +4 -0
  121. package/dist/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.d.ts.map +1 -0
  122. package/dist/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.js +8 -0
  123. package/dist/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.js.map +1 -0
  124. package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.d.ts +4 -0
  125. package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.d.ts.map +1 -0
  126. package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.js +16 -0
  127. package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.js.map +1 -0
  128. package/dist/components/core/kanban/kanban-fields/SolidTimeKanbanField.d.ts +4 -0
  129. package/dist/components/core/kanban/kanban-fields/SolidTimeKanbanField.d.ts.map +1 -0
  130. package/dist/components/core/kanban/kanban-fields/SolidTimeKanbanField.js +8 -0
  131. package/dist/components/core/kanban/kanban-fields/SolidTimeKanbanField.js.map +1 -0
  132. package/dist/components/core/kanban/kanban-fields/SolidUuidKanbanField.d.ts +4 -0
  133. package/dist/components/core/kanban/kanban-fields/SolidUuidKanbanField.d.ts.map +1 -0
  134. package/dist/components/core/kanban/kanban-fields/SolidUuidKanbanField.js +8 -0
  135. package/dist/components/core/kanban/kanban-fields/SolidUuidKanbanField.js.map +1 -0
  136. package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.d.ts +4 -0
  137. package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.d.ts.map +1 -0
  138. package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.js +8 -0
  139. package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.js.map +1 -0
  140. package/dist/components/core/list/SolidListView.d.ts.map +1 -1
  141. package/dist/components/core/list/SolidListView.js +28 -27
  142. package/dist/components/core/list/SolidListView.js.map +1 -1
  143. package/dist/components/core/list/SolidListViewColumn.js +1 -1
  144. package/dist/components/core/list/SolidListViewColumn.js.map +1 -1
  145. package/dist/components/core/list/SolidListViewConfigure.d.ts +2 -0
  146. package/dist/components/core/list/SolidListViewConfigure.d.ts.map +1 -0
  147. package/dist/components/core/list/SolidListViewConfigure.js +115 -0
  148. package/dist/components/core/list/SolidListViewConfigure.js.map +1 -0
  149. package/dist/components/core/list/columns/SolidShortTextColumn.d.ts +1 -1
  150. package/dist/components/core/list/columns/SolidShortTextColumn.d.ts.map +1 -1
  151. package/dist/components/core/list/columns/SolidShortTextColumn.js +48 -4
  152. package/dist/components/core/list/columns/SolidShortTextColumn.js.map +1 -1
  153. package/dist/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.d.ts +2 -0
  154. package/dist/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.d.ts.map +1 -0
  155. package/dist/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.js +10 -0
  156. package/dist/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.js.map +1 -0
  157. package/dist/components/core/list/widgets/SolidShortTextFieldTextRenderModeWidget copy.d.ts +2 -0
  158. package/dist/components/core/list/widgets/SolidShortTextFieldTextRenderModeWidget copy.d.ts.map +1 -0
  159. package/dist/components/core/list/widgets/SolidShortTextFieldTextRenderModeWidget copy.js +7 -0
  160. package/dist/components/core/list/widgets/SolidShortTextFieldTextRenderModeWidget copy.js.map +1 -0
  161. package/dist/components/core/model/CreateModel.d.ts.map +1 -1
  162. package/dist/components/core/model/CreateModel.js +2 -2
  163. package/dist/components/core/model/CreateModel.js.map +1 -1
  164. package/dist/components/core/model/FieldMetaDataForm.js +1 -6
  165. package/dist/components/core/model/FieldMetaDataForm.js.map +1 -1
  166. package/dist/components/core/module/CreateModule.d.ts.map +1 -1
  167. package/dist/components/core/module/CreateModule.js +2 -2
  168. package/dist/components/core/module/CreateModule.js.map +1 -1
  169. package/dist/components/core/users/CreateUser.d.ts.map +1 -1
  170. package/dist/components/core/users/CreateUser.js +2 -2
  171. package/dist/components/core/users/CreateUser.js.map +1 -1
  172. package/dist/helpers/registry.d.ts.map +1 -1
  173. package/dist/helpers/registry.js +4 -0
  174. package/dist/helpers/registry.js.map +1 -1
  175. package/dist/index.d.ts +2 -1
  176. package/dist/index.d.ts.map +1 -1
  177. package/dist/index.js +2 -1
  178. package/dist/index.js.map +1 -1
  179. package/dist/redux/api/solidEntityApi.d.ts +1 -0
  180. package/dist/redux/api/solidEntityApi.d.ts.map +1 -1
  181. package/dist/redux/api/solidEntityApi.js +10 -0
  182. package/dist/redux/api/solidEntityApi.js.map +1 -1
  183. package/dist/resources/globals.css +135 -10
  184. package/dist/resources/themes/solid-dark-purple/theme.css +1 -0
  185. package/dist/resources/themes/solid-light-purple/theme.css +5 -4
  186. package/package.json +2 -1
  187. package/src/components/common/SolidBreadcrumb.tsx +5 -4
  188. package/src/components/common/SolidFormHeader.tsx +22 -0
  189. package/src/components/common/SolidFormStepper.tsx +208 -56
  190. package/src/components/common/SolidModuleHome.tsx +68 -0
  191. package/src/components/core/form/SolidFormView.tsx +14 -6
  192. package/src/components/core/kanban/KanbanBoard.tsx +9 -4
  193. package/src/components/core/kanban/KanbanCard.tsx +58 -31
  194. package/src/components/core/kanban/KanbanColumn.tsx +65 -59
  195. package/src/components/core/kanban/SolidKanbanView.tsx +195 -96
  196. package/src/components/core/kanban/SolidKanbanViewFields.tsx +163 -0
  197. package/src/components/core/kanban/SolidManyToOneFilterElement.tsx +59 -0
  198. package/src/components/core/kanban/SolidSelectionDynamicFilterElement.tsx +50 -0
  199. package/src/components/core/kanban/SolidSelectionStaticFilterElement.tsx +32 -0
  200. package/src/components/core/kanban/SolidVarInputsFilterElement.tsx +184 -0
  201. package/src/components/core/kanban/kanban-fields/SolidBigintKanbanField.tsx +9 -0
  202. package/src/components/core/kanban/kanban-fields/SolidBooleanKanbanField.tsx +13 -0
  203. package/src/components/core/kanban/kanban-fields/SolidComputedKanbanField.tsx +23 -0
  204. package/src/components/core/kanban/kanban-fields/SolidDateKanbanField.tsx +14 -0
  205. package/src/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.tsx +13 -0
  206. package/src/components/core/kanban/kanban-fields/SolidDecimalKanbanField.tsx +9 -0
  207. package/src/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.tsx +12 -0
  208. package/src/components/core/kanban/kanban-fields/SolidFloatKanbanField.tsx +9 -0
  209. package/src/components/core/kanban/kanban-fields/SolidIdKanbanField.tsx +14 -0
  210. package/src/components/core/kanban/kanban-fields/SolidIntKanbanField.tsx +13 -0
  211. package/src/components/core/kanban/kanban-fields/SolidLongTextKanbanField.tsx +9 -0
  212. package/src/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.tsx +68 -0
  213. package/src/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.tsx +60 -0
  214. package/src/components/core/kanban/kanban-fields/SolidRelationKanbanField.tsx +13 -0
  215. package/src/components/core/kanban/kanban-fields/SolidRichTextKanbanField.tsx +9 -0
  216. package/src/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.tsx +13 -0
  217. package/src/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.tsx +14 -0
  218. package/src/components/core/kanban/kanban-fields/SolidShortTextKanbanField.tsx +29 -0
  219. package/src/components/core/kanban/kanban-fields/SolidTimeKanbanField.tsx +12 -0
  220. package/src/components/core/kanban/kanban-fields/SolidUuidKanbanField.tsx +13 -0
  221. package/src/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.tsx +16 -0
  222. package/src/components/core/list/SolidListView.tsx +24 -20
  223. package/src/components/core/list/SolidListViewColumn.tsx +1 -1
  224. package/src/components/core/{common/SolidConfigureLayoutElement.tsx → list/SolidListViewConfigure.tsx} +118 -70
  225. package/src/components/core/list/columns/SolidShortTextColumn.tsx +45 -10
  226. package/src/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.tsx +19 -0
  227. package/src/components/core/list/widgets/SolidShortTextFieldTextRenderModeWidget copy.tsx +11 -0
  228. package/src/components/core/model/CreateModel.tsx +2 -1
  229. package/src/components/core/model/FieldMetaDataForm.tsx +6 -6
  230. package/src/components/core/module/CreateModule.tsx +2 -1
  231. package/src/components/core/users/CreateUser.tsx +4 -3
  232. package/src/helpers/registry.ts +4 -0
  233. package/src/index.ts +2 -1
  234. package/src/redux/api/solidEntityApi.tsx +7 -1
  235. package/src/resources/globals.css +135 -10
  236. package/src/resources/themes/solid-dark-purple/theme.css +1 -0
  237. package/src/resources/themes/solid-light-purple/theme.css +5 -4
  238. package/src/types/solid-core.d.ts +4 -0
@@ -5,8 +5,10 @@ import { FormEvent } from "primereact/ts-helpers";
5
5
  import { getNumberOfInputs, SolidListViewColumnParams } from '../SolidListViewColumn';
6
6
  import { InputTypes, SolidVarInputsFilterElement } from "../SolidVarInputsFilterElement";
7
7
  import SolidTableRowCell from '../SolidTableRowCell';
8
+ import { getExtensionComponent } from '@/helpers/registry';
9
+ import { SolidShortTextImageRenderModeWidgetProps } from '@/types/solid-core';
8
10
 
9
- const SolidShortTextColumn = ({ solidListViewMetaData, fieldMetadata, column }: SolidListViewColumnParams) => {
11
+ const SolidShortTextColumn = ({ solidListViewMetaData, fieldMetadata, column, setLightboxUrls, setOpenLightbox }: SolidListViewColumnParams) => {
10
12
  const filterable = column.attrs.filterable;
11
13
  const showFilterOperator = false;
12
14
  const columnDataType = 'text';
@@ -39,7 +41,7 @@ const SolidShortTextColumn = ({ solidListViewMetaData, fieldMetadata, column }:
39
41
 
40
42
  const truncateAfter = solidListViewMetaData?.data?.solidView?.layout?.attrs?.truncateAfter
41
43
  const header = column.attrs.label ?? fieldMetadata.displayName;
42
-
44
+
43
45
  return (
44
46
  <Column
45
47
  key={fieldMetadata.name}
@@ -56,15 +58,48 @@ const SolidShortTextColumn = ({ solidListViewMetaData, fieldMetadata, column }:
56
58
  // style={{ minWidth: "12rem" }}
57
59
  // headerClassName="table-header-fs"
58
60
  header={() => {
59
- return (<div style={{ maxWidth: truncateAfter ? `${truncateAfter}ch` : '30ch', whiteSpace:'nowrap', textOverflow:'ellipsis', overflow:'hidden'}}>{header}</div>)
61
+ return (<div style={{ maxWidth: truncateAfter ? `${truncateAfter}ch` : '30ch', whiteSpace: 'nowrap', textOverflow: 'ellipsis', overflow: 'hidden' }}>{header}</div>)
62
+ }}
63
+ body={(rowData) => {
64
+ const renderMode = column.attrs.renderMode || "text";
65
+ const data = rowData;
66
+ const widgetName = renderMode == "text" ? "SolidShortTextFieldTextRenderModeWidget" : "SolidShortTextFieldImageRenderModeWidget";
67
+ let DynamicWidget = getExtensionComponent(widgetName);
68
+ const widgetProps = {
69
+ value: data[fieldMetadata.name],
70
+ setLightboxUrls: setLightboxUrls,
71
+ setOpenLightbox: setOpenLightbox
72
+ }
73
+ return (
74
+ <>
75
+ {DynamicWidget && <DynamicWidget {...widgetProps} />}
76
+ </>
77
+ )
78
+
79
+ // if (renderMode === "text") {
80
+ // return <SolidTableRowCell
81
+ // value={rowData[fieldMetadata.name]}
82
+ // truncateAfter={truncateAfter}
83
+ // />
84
+ // } else {
85
+ // return (
86
+ // <img
87
+ // src={data[fieldMetadata.name]}
88
+ // alt="product-image-single"
89
+ // className="shadow-2 border-round"
90
+ // width={40}
91
+ // height={40}
92
+ // style={{ objectFit: "cover" }}
93
+ // onClick={(event) => {
94
+ // event.stopPropagation();
95
+ // setLightboxUrls([{ src: data[fieldMetadata.name], downloadUrl: data[fieldMetadata.name] }]);
96
+ // setOpenLightbox(true);
97
+ // }}
98
+ // />
99
+ // );
100
+ // }
60
101
  }}
61
- body={(rowData) => (
62
- <SolidTableRowCell
63
- value={rowData[fieldMetadata.name]}
64
- truncateAfter={truncateAfter}
65
- />
66
- )}
67
- ></Column>
102
+ ></Column >
68
103
  );
69
104
 
70
105
  };
@@ -0,0 +1,19 @@
1
+
2
+ export const SolidShortTextFieldImageRenderModeWidget = ({ value, setLightboxUrls, setOpenLightbox }: any) => {
3
+ return (
4
+ <img
5
+ src={value}
6
+ alt="product-image-single"
7
+ className="shadow-2 border-round"
8
+ width={40}
9
+ height={40}
10
+ style={{ objectFit: "cover" }}
11
+ onClick={(event) => {
12
+ event.stopPropagation();
13
+ setLightboxUrls([{ src: value, downloadUrl: value }]);
14
+ setOpenLightbox(true);
15
+ }}
16
+ />
17
+ );
18
+ };
19
+
@@ -0,0 +1,11 @@
1
+ import SolidTableRowCell from "../SolidTableRowCell";
2
+
3
+ export const SolidShortTextFieldTextRenderModeWidget = ({ value, truncateAfter }: any) => {
4
+ return (
5
+ <SolidTableRowCell
6
+ value={value}
7
+ truncateAfter={truncateAfter}
8
+ ></SolidTableRowCell>
9
+ )
10
+ };
11
+
@@ -19,6 +19,7 @@ import { Dialog } from "primereact/dialog";
19
19
  import { Divider } from "primereact/divider";
20
20
  import { OverlayPanel } from "primereact/overlaypanel";
21
21
  import { SolidBreadcrumb } from "@/components/common/SolidBreadcrumb";
22
+ import { SolidFormHeader } from "@/components/common/SolidFormHeader";
22
23
 
23
24
  interface ErrorResponseData {
24
25
  message: string;
@@ -402,7 +403,7 @@ const CreateModel = ({ data, params }: any) => {
402
403
  </>
403
404
  }
404
405
  </div>
405
- <SolidBreadcrumb />
406
+ <SolidFormHeader />
406
407
  {/* <div className="solid-form-stepper">
407
408
  <SolidFormStepper />
408
409
  </div> */}
@@ -391,12 +391,12 @@ const createValidationSchema = (currentFields: any, selectedType: any, allFields
391
391
  "Relation Model Singular Name is required"
392
392
  ),
393
393
  }),
394
- ...(currentFields.includes("relationCoModelFieldName") && {
395
- relationCoModelFieldName: Yup.string()
396
- // .required(
397
- // "Relation Model Field Name is required"
398
- // ),
399
- }),
394
+ // ...(currentFields.includes("relationCoModelFieldName") && {
395
+ // relationCoModelFieldName: Yup.string()
396
+ // // .required(
397
+ // // "Relation Model Field Name is required"
398
+ // // ),
399
+ // }),
400
400
 
401
401
  ...(currentFields.includes("relationCreateInverse") && {
402
402
  relationCreateInverse: Yup.boolean(),
@@ -6,6 +6,7 @@ import { DropzoneUpload } from "@/components/common/DropzoneUpload";
6
6
  import { FileReaderExt } from "@/components/common/FileReaderExt";
7
7
  import { SingleSelectAutoCompleteField } from "@/components/common/SingleSelectAutoCompleteField";
8
8
  import { SolidBreadcrumb } from "@/components/common/SolidBreadcrumb";
9
+ import { SolidFormHeader } from "@/components/common/SolidFormHeader";
9
10
  import { SolidFormStepper } from "@/components/common/SolidFormStepper";
10
11
  import { getSingularAndPlural } from "@/helpers/helpers";
11
12
  import { handleError } from "@/helpers/ToastContainer";
@@ -414,7 +415,7 @@ const CreateModule = ({ data }: any) => {
414
415
  </>
415
416
  }
416
417
  </div>
417
- <SolidBreadcrumb />
418
+ <SolidFormHeader />
418
419
  {/* <div className="solid-form-stepper">
419
420
  <SolidFormStepper />
420
421
  </div> */}
@@ -2,6 +2,7 @@
2
2
  import { BackButton } from "@/components/common/BackButton";
3
3
  import { CancelButton } from "@/components/common/CancelButton";
4
4
  import { SolidBreadcrumb } from "@/components/common/SolidBreadcrumb";
5
+ import { SolidFormHeader } from "@/components/common/SolidFormHeader";
5
6
  import { SolidFormStepper } from "@/components/common/SolidFormStepper";
6
7
  import { useRegisterPrivateMutation, useUpdateUserMutation } from "@/redux/api/authApi";
7
8
  import { useGetrolesQuery } from "@/redux/api/roleApi";
@@ -269,7 +270,7 @@ const CreateUser = ({ data, params }: any) => {
269
270
  </>
270
271
  )}
271
272
  </div>
272
- <SolidBreadcrumb />
273
+ <SolidFormHeader />
273
274
  {/* <div className="solid-form-stepper">
274
275
  <SolidFormStepper />
275
276
  </div> */}
@@ -399,10 +400,10 @@ const CreateUser = ({ data, params }: any) => {
399
400
 
400
401
  </div>
401
402
  </Panel>
402
-
403
+
403
404
  {/* <Divider /> */}
404
405
  {/* <p className="form-wrapper-heading text-base" style={{ fontSize: 16 }}>Roles</p> */}
405
-
406
+
406
407
  <Panel toggleable header="Roles" className="solid-column-panel mt-5">
407
408
  <div className="formgrid grid mt-4">
408
409
  {rolesData?.data?.records && rolesData?.data?.records.map((role: any, i: number) => (
@@ -9,6 +9,8 @@ import { SolidBooleanFieldCheckboxWidget } from "@/components/core/form/fields/w
9
9
  import { SolidBooleanFieldSelectWidget } from "@/components/core/form/fields/widgets/SolidBooleanSelectFieldWidget";
10
10
  import { SolidSelectionStaticAutocompleteWidget } from "@/components/core/form/fields/widgets/SolidSelectionStaticAutocompleteFieldWidget";
11
11
  import { SolidSelectionStaticRadioWidget } from "@/components/core/form/fields/widgets/SolidSelectionStaticRadioFieldWidget";
12
+ import { SolidShortTextFieldTextRenderModeWidget } from "@/components/core/list/widgets/SolidShortTextFieldTextRenderModeWidget copy";
13
+ import { SolidShortTextFieldImageRenderModeWidget } from "@/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget";
12
14
 
13
15
  type ExtensionRegistry = {
14
16
  components: Record<string, React.ComponentType<any>>;
@@ -75,6 +77,8 @@ registerExtensionComponent("SolidBooleanFieldCheckboxWidget", SolidBooleanFieldC
75
77
  registerExtensionComponent("SolidBooleanFieldSelectWidget", SolidBooleanFieldSelectWidget, ["field-selectbox"]);
76
78
  registerExtensionComponent("SolidSelectionStaticAutocompleteWidget", SolidSelectionStaticAutocompleteWidget, ["field-autocomplete"]);
77
79
  registerExtensionComponent("SolidSelectionStaticRadioWidget", SolidSelectionStaticRadioWidget, ["field-radio"]);
80
+ registerExtensionComponent("SolidShortTextFieldTextRenderModeWidget", SolidShortTextFieldTextRenderModeWidget, []);
81
+ registerExtensionComponent("SolidShortTextFieldImageRenderModeWidget", SolidShortTextFieldImageRenderModeWidget, []);
78
82
 
79
83
 
80
84
  // ModuleMetadata
package/src/index.ts CHANGED
@@ -222,7 +222,7 @@ export { SolidFormStepper } from '@/components/common/SolidFormStepper'
222
222
  export { SolidViewLayoutManager } from '@/components/core/common/SolidViewLayoutManager';
223
223
 
224
224
  // export { SolidListViewOptions } from '@/components/core/common/SolidListViewOptions';
225
- export { SolidConfigureLayoutElement } from '@/components/core/common/SolidConfigureLayoutElement';
225
+ export { SolidListViewConfigure } from '@/components/core/list/SolidListViewConfigure';
226
226
  export { SolidCreateButton } from '@/components/core/common/SolidCreateButton';
227
227
  export { SolidGlobalSearchElement } from '@/components/core/common/SolidGlobalSearchElement';
228
228
  export { SolidSearchBox } from '@/components/core/common/SolidSearchBox';
@@ -281,6 +281,7 @@ export { SolidKanbanView } from '@/components/core/kanban/SolidKanbanView';
281
281
 
282
282
  // export * from '@/components/core/kanban/columns/relations/SolidRelationManyToOneColumn';
283
283
 
284
+ export { SolidModuleHome } from '@/components/common/SolidModuleHome';
284
285
  export { SolidListView } from '@/components/core/list/SolidListView';
285
286
  export { SolidListViewColumn, getNumberOfInputs } from '@/components/core/list/SolidListViewColumn';
286
287
  export type { SolidListViewColumnParams } from '@/components/core/list/SolidListViewColumn';
@@ -78,7 +78,13 @@ export const createSolidEntityApi = (entityName: string) => {
78
78
  method: 'POST',
79
79
  body: data
80
80
  })
81
-
81
+ }),
82
+ patchUpdateSolidEntity: builder.mutation({
83
+ query: ({ id, data }) => ({
84
+ url: `/${kebabEntityName}/${id}`,
85
+ method: 'PATCH',
86
+ body: data,
87
+ }),
82
88
  }),
83
89
  }),
84
90
  });
@@ -1664,11 +1664,12 @@ li.header-li-px {
1664
1664
  }
1665
1665
 
1666
1666
  .solid-form-wrapper .solid-form-content {
1667
- height: calc(100vh - 111px);
1667
+ height: calc(100vh - 115px);
1668
+ /* height: calc(100vh - 111px); */
1668
1669
  /* If No Breadcrumb */
1669
1670
  /* height: calc(100vh - 64px); */
1670
1671
  /* if Stepper */
1671
- /* height: calc(100vh - 124px); */
1672
+ /* height: calc(100vh - 127px); */
1672
1673
  overflow-y: auto;
1673
1674
  }
1674
1675
 
@@ -1682,18 +1683,27 @@ li.header-li-px {
1682
1683
 
1683
1684
  .solid-form-stepper {
1684
1685
  padding: 7.5px 14px 7.5px 24px;
1685
- background-color: var(--solid-light-100);
1686
+ background-color: #fff;
1687
+ /* background-color: var(--solid-light-100); */
1686
1688
  border-top: 1px solid var(--primary-light-color);
1687
1689
  border-bottom: 1px solid var(--primary-light-color);
1688
1690
  }
1689
1691
 
1692
+ .solid-dynamic-breadcrumb-stepper {
1693
+ height: 50px;
1694
+ border-bottom: 1px solid var(--primary-light-color);
1695
+ padding: 0.8rem 1.5rem;
1696
+ }
1697
+
1690
1698
  .solid-breadcrumb.p-breadcrumb {
1691
- border-bottom: 1px solid #CED0D6;
1699
+ /* border-bottom: 1px solid #CED0D6; */
1700
+ border-bottom: none;
1692
1701
  border-right: none;
1693
1702
  border-left: none;
1694
1703
  border-top: none;
1695
1704
  border-radius: 0;
1696
- padding: 0.8rem 1.5rem;
1705
+ padding: 0;
1706
+ /* padding: 0.8rem 1.5rem; */
1697
1707
  font-size: 14px;
1698
1708
  font-weight: 500;
1699
1709
  text-transform: capitalize;
@@ -1730,17 +1740,112 @@ li.header-li-px {
1730
1740
  margin-top: 10px;
1731
1741
  }
1732
1742
 
1743
+
1744
+ .solid-dynamic-stepper {
1745
+ overflow: hidden;
1746
+ border-radius: 6px;
1747
+ border: 1px solid var(--solid-stepper-border);
1748
+ }
1749
+
1750
+ .active-step-arrow {
1751
+ left: -21px;
1752
+ z-index: 9999;
1753
+ top: 50%;
1754
+ transform: translateY(-38%);
1755
+ }
1756
+
1757
+ .active-before-step-arrow {
1758
+ left: -18px;
1759
+ z-index: 9999;
1760
+ top: 50%;
1761
+ transform: translateY(-38%);
1762
+ }
1763
+
1764
+ .inactive-step-arrow {
1765
+ right: 2px;
1766
+ z-index: 999;
1767
+ top: 50%;
1768
+ transform: translateY(-37%);
1769
+ }
1770
+
1733
1771
  .solid-step-button.p-button {
1734
1772
  position: relative;
1735
- min-width: 130px;
1773
+ min-width: 110px;
1736
1774
  display: flex;
1737
1775
  justify-content: center;
1776
+ padding-top: 8px;
1777
+ padding-bottom: 8px;
1778
+ font-size: 0.875rem;
1779
+ border-radius: 0;
1780
+ border: none;
1781
+ }
1782
+
1783
+ .solid-step-button.p-button-primary {
1784
+ padding-right: 0;
1738
1785
  }
1739
1786
 
1787
+ .solid-step-button.p-button-secondary:first-child {
1788
+ padding-left: 0;
1789
+ min-width: 100px;
1790
+ }
1740
1791
 
1741
- .solid-step-button.p-button:not(.btn-step-first) {
1742
- padding-left: 40px;
1743
- min-width: 150px;
1792
+ /* .solid-step-button.p-button.p-button-text:first-child {
1793
+ padding-left: 16px !important;
1794
+ }
1795
+
1796
+ .solid-step-button.p-button.p-button-text:not(:first-child) {
1797
+ padding-left: 0px !important;
1798
+ } */
1799
+
1800
+ .solid-step-button.p-button-secondary {
1801
+ background-color: #EAEDF1;
1802
+ color: #0D0B26;
1803
+ padding-right: 0;
1804
+ }
1805
+
1806
+ .solid-step-button.p-button-secondary.p-button:not(:disabled):active {
1807
+ background: #EAEDF1;
1808
+ color: #0D0B26;
1809
+ }
1810
+
1811
+ .solid-step-button.p-button-secondary.p-button:not(:disabled):hover {
1812
+ background: #EAEDF1;
1813
+ color: #0D0B26;
1814
+ }
1815
+
1816
+ .solid-step-button.p-button:not(:disabled):active {
1817
+ background: var(--primary-color);
1818
+ color: #ffffff;
1819
+ border-color: var(--primary-color);
1820
+ }
1821
+
1822
+ .solid-step-button.p-button:not(:disabled):hover {
1823
+ background: var(--primary-color);
1824
+ color: #ffffff;
1825
+ border-color: var(--primary-color);
1826
+ }
1827
+
1828
+ .solid-step-button.p-button.p-button-text {
1829
+ background-color: transparent;
1830
+ color: #0D0B26;
1831
+ border: 0;
1832
+ min-width: 130px;
1833
+ /* padding-left: 0; */
1834
+ }
1835
+
1836
+ /* .solid-dynamic-stepper.test .solid-step-button.p-button:nth-child(2) {
1837
+ padding-left: 20px !important;
1838
+ min-width: 130px;
1839
+ } */
1840
+
1841
+ .solid-step-button.p-button.p-button-text:not(:disabled):active {
1842
+ background-color: transparent;
1843
+ color: #0D0B26;
1844
+ }
1845
+
1846
+ .solid-step-button.p-button.p-button-text:not(:disabled):hover {
1847
+ background-color: transparent;
1848
+ color: #0D0B26;
1744
1849
  }
1745
1850
 
1746
1851
  .solid-step-button.btn-step-first {
@@ -2442,7 +2547,7 @@ li.header-li-px {
2442
2547
  background-color: transparent;
2443
2548
  }
2444
2549
 
2445
- .solid-layout-accordion .p-accordion-tab:first-child {
2550
+ .solid-layout-accordion .p-accordion-tab:not(:last-child) {
2446
2551
  border-bottom: 1px solid var(--primary-light-color);
2447
2552
  }
2448
2553
 
@@ -2774,9 +2879,29 @@ li.header-li-px {
2774
2879
  .solid-right-layout .solid-logo {
2775
2880
  top: 3rem;
2776
2881
  }
2882
+
2777
2883
  .customize-layout-panel.p-overlaypanel {
2778
2884
  position: absolute;
2779
2885
  left: 59% !important;
2780
2886
  top: 14% !important;
2781
2887
  }
2888
+ }
2889
+
2890
+ .kanban-ungrouped-column {
2891
+ max-width: 100%;
2892
+ }
2893
+
2894
+ .kanban-ungrouped-column-content {
2895
+ display: flex;
2896
+ flex-wrap: wrap;
2897
+ gap: 10px;
2898
+ }
2899
+
2900
+ .kanban-ungrouped-column .kanban-card-container {
2901
+ flex: 1 1 calc(20% - 10px);
2902
+ max-width: calc(20% - 10px);
2903
+ }
2904
+
2905
+ .image-preview{
2906
+ max-width: 100px;
2782
2907
  }
@@ -2914,6 +2914,7 @@
2914
2914
  background: #1f2937;
2915
2915
  color: rgba(255, 255, 255, 0.87);
2916
2916
  transition: box-shadow 0.2s;
2917
+ cursor: pointer;
2917
2918
  }
2918
2919
 
2919
2920
  .p-datatable .p-datatable-tbody>tr>td {
@@ -2864,7 +2864,7 @@
2864
2864
  border-width: 1px 0 1px 0;
2865
2865
  font-weight: 600;
2866
2866
  color: #374151;
2867
- background: #F5F5F5;
2867
+ background: #FFFFFF;
2868
2868
  transition: box-shadow 0.2s;
2869
2869
  }
2870
2870
 
@@ -2905,7 +2905,7 @@
2905
2905
  }
2906
2906
 
2907
2907
  .p-datatable .p-sortable-column:not(.p-highlight):not(.p-sortable-disabled):hover {
2908
- background: #F5F5F5;
2908
+ background: #FFF;
2909
2909
  color: #374151;
2910
2910
  }
2911
2911
 
@@ -2914,7 +2914,7 @@
2914
2914
  }
2915
2915
 
2916
2916
  .p-datatable .p-sortable-column.p-highlight {
2917
- background: #F5F5F5;
2917
+ background: #FFFFFF;
2918
2918
  color: #4c1b94;
2919
2919
  }
2920
2920
 
@@ -2923,7 +2923,7 @@
2923
2923
  }
2924
2924
 
2925
2925
  .p-datatable .p-sortable-column.p-highlight:not(.p-sortable-disabled):hover {
2926
- background: #F5F5F5;
2926
+ background: #FFFFFF;
2927
2927
  color: #4c1b94;
2928
2928
  }
2929
2929
 
@@ -2940,6 +2940,7 @@
2940
2940
  background: #ffffff;
2941
2941
  color: #4B4D52;
2942
2942
  transition: box-shadow 0.2s;
2943
+ cursor: pointer;
2943
2944
  }
2944
2945
 
2945
2946
  .p-datatable .p-datatable-tbody>tr>td {
@@ -118,3 +118,7 @@ export type SolidSelectionStaticFieldWidgetProps = {
118
118
  formik: any;
119
119
  fieldContext?: SolidFieldProps;
120
120
  };
121
+
122
+ export type SolidShortTextImageRenderModeWidgetProps = {
123
+ data: string;
124
+ }