@solidstarters/solid-core-ui 0.1.26

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 (585) hide show
  1. package/dist/components/CustomFooter/CustomFooter.d.ts +2 -0
  2. package/dist/components/CustomFooter/CustomFooter.d.ts.map +1 -0
  3. package/dist/components/CustomFooter/FooterForm.d.ts +2 -0
  4. package/dist/components/CustomFooter/FooterForm.d.ts.map +1 -0
  5. package/dist/components/CustomHeader/CallIcon.d.ts +2 -0
  6. package/dist/components/CustomHeader/CallIcon.d.ts.map +1 -0
  7. package/dist/components/CustomHeader/CustomDropdown.d.ts +21 -0
  8. package/dist/components/CustomHeader/CustomDropdown.d.ts.map +1 -0
  9. package/dist/components/CustomHeader/CustomHeader.d.ts +2 -0
  10. package/dist/components/CustomHeader/CustomHeader.d.ts.map +1 -0
  11. package/dist/components/CustomHeader/EmailIcon.d.ts +2 -0
  12. package/dist/components/CustomHeader/EmailIcon.d.ts.map +1 -0
  13. package/dist/components/CustomHeader/HeaderCart.d.ts +2 -0
  14. package/dist/components/CustomHeader/HeaderCart.d.ts.map +1 -0
  15. package/dist/components/CustomHeader/productNavData.d.ts +3 -0
  16. package/dist/components/CustomHeader/productNavData.d.ts.map +1 -0
  17. package/dist/components/FormView/DetailsViews.d.ts +2 -0
  18. package/dist/components/FormView/DetailsViews.d.ts.map +1 -0
  19. package/dist/components/FormView/OrderAddressDetails.d.ts +2 -0
  20. package/dist/components/FormView/OrderAddressDetails.d.ts.map +1 -0
  21. package/dist/components/FormView/OrderPaymentDetails.d.ts +2 -0
  22. package/dist/components/FormView/OrderPaymentDetails.d.ts.map +1 -0
  23. package/dist/components/FormView/OrderTableDetails.d.ts +2 -0
  24. package/dist/components/FormView/OrderTableDetails.d.ts.map +1 -0
  25. package/dist/components/FormView/OrderedProductDetail.d.ts +2 -0
  26. package/dist/components/FormView/OrderedProductDetail.d.ts.map +1 -0
  27. package/dist/components/Tag/CustomTag.d.ts +8 -0
  28. package/dist/components/Tag/CustomTag.d.ts.map +1 -0
  29. package/dist/components/auth/Login.d.ts +3 -0
  30. package/dist/components/auth/Login.d.ts.map +1 -0
  31. package/dist/components/auth/Register.d.ts +3 -0
  32. package/dist/components/auth/Register.d.ts.map +1 -0
  33. package/dist/components/common/AuthBanner.d.ts +3 -0
  34. package/dist/components/common/AuthBanner.d.ts.map +1 -0
  35. package/dist/components/common/AutoCompleteField.d.ts +2 -0
  36. package/dist/components/common/AutoCompleteField.d.ts.map +1 -0
  37. package/dist/components/common/CancelButton.d.ts +3 -0
  38. package/dist/components/common/CancelButton.d.ts.map +1 -0
  39. package/dist/components/common/CodeEditor.d.ts +3 -0
  40. package/dist/components/common/CodeEditor.d.ts.map +1 -0
  41. package/dist/components/common/CreateButton.d.ts +2 -0
  42. package/dist/components/common/CreateButton.d.ts.map +1 -0
  43. package/dist/components/common/DropzonePlaceholder.d.ts +2 -0
  44. package/dist/components/common/DropzonePlaceholder.d.ts.map +1 -0
  45. package/dist/components/common/DropzoneUpload.d.ts +2 -0
  46. package/dist/components/common/DropzoneUpload.d.ts.map +1 -0
  47. package/dist/components/common/FilterComponent.d.ts +3 -0
  48. package/dist/components/common/FilterComponent.d.ts.map +1 -0
  49. package/dist/components/common/HeaderDynamicTitles.d.ts +2 -0
  50. package/dist/components/common/HeaderDynamicTitles.d.ts.map +1 -0
  51. package/dist/components/common/MarkdownViewer.d.ts +3 -0
  52. package/dist/components/common/MarkdownViewer.d.ts.map +1 -0
  53. package/dist/components/common/MultipleSelectAutoCompleteField.d.ts +2 -0
  54. package/dist/components/common/MultipleSelectAutoCompleteField.d.ts.map +1 -0
  55. package/dist/components/common/SingleSelectAutoCompleteField.d.ts +2 -0
  56. package/dist/components/common/SingleSelectAutoCompleteField.d.ts.map +1 -0
  57. package/dist/components/common/SocialMediaLogin.d.ts +2 -0
  58. package/dist/components/common/SocialMediaLogin.d.ts.map +1 -0
  59. package/dist/components/core/common/SolidConfigureLayoutElement.d.ts +2 -0
  60. package/dist/components/core/common/SolidConfigureLayoutElement.d.ts.map +1 -0
  61. package/dist/components/core/common/SolidCreateButton.d.ts +2 -0
  62. package/dist/components/core/common/SolidCreateButton.d.ts.map +1 -0
  63. package/dist/components/core/common/SolidGlobalSearchElement.d.ts +2 -0
  64. package/dist/components/core/common/SolidGlobalSearchElement.d.ts.map +1 -0
  65. package/dist/components/core/common/SolidSearchBox.d.ts +2 -0
  66. package/dist/components/core/common/SolidSearchBox.d.ts.map +1 -0
  67. package/dist/components/core/field/FieldListViewData.d.ts +7 -0
  68. package/dist/components/core/field/FieldListViewData.d.ts.map +1 -0
  69. package/dist/components/core/form/SolidFormView.d.ts +14 -0
  70. package/dist/components/core/form/SolidFormView.d.ts.map +1 -0
  71. package/dist/components/core/form/fields/ISolidField.d.ts +63 -0
  72. package/dist/components/core/form/fields/ISolidField.d.ts.map +1 -0
  73. package/dist/components/core/form/fields/SolidBooleanField.d.ts +11 -0
  74. package/dist/components/core/form/fields/SolidBooleanField.d.ts.map +1 -0
  75. package/dist/components/core/form/fields/SolidDateField.d.ts +11 -0
  76. package/dist/components/core/form/fields/SolidDateField.d.ts.map +1 -0
  77. package/dist/components/core/form/fields/SolidDateTimeField.d.ts +11 -0
  78. package/dist/components/core/form/fields/SolidDateTimeField.d.ts.map +1 -0
  79. package/dist/components/core/form/fields/SolidDecimalField.d.ts +11 -0
  80. package/dist/components/core/form/fields/SolidDecimalField.d.ts.map +1 -0
  81. package/dist/components/core/form/fields/SolidIntegerField.d.ts +11 -0
  82. package/dist/components/core/form/fields/SolidIntegerField.d.ts.map +1 -0
  83. package/dist/components/core/form/fields/SolidJsonField.d.ts +11 -0
  84. package/dist/components/core/form/fields/SolidJsonField.d.ts.map +1 -0
  85. package/dist/components/core/form/fields/SolidLongTextField.d.ts +11 -0
  86. package/dist/components/core/form/fields/SolidLongTextField.d.ts.map +1 -0
  87. package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts +11 -0
  88. package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts.map +1 -0
  89. package/dist/components/core/form/fields/SolidMediaSingleField.d.ts +11 -0
  90. package/dist/components/core/form/fields/SolidMediaSingleField.d.ts.map +1 -0
  91. package/dist/components/core/form/fields/SolidRelationField.d.ts +13 -0
  92. package/dist/components/core/form/fields/SolidRelationField.d.ts.map +1 -0
  93. package/dist/components/core/form/fields/SolidRichTextField.d.ts +11 -0
  94. package/dist/components/core/form/fields/SolidRichTextField.d.ts.map +1 -0
  95. package/dist/components/core/form/fields/SolidSelectionDynamicField.d.ts +11 -0
  96. package/dist/components/core/form/fields/SolidSelectionDynamicField.d.ts.map +1 -0
  97. package/dist/components/core/form/fields/SolidSelectionStaticField.d.ts +11 -0
  98. package/dist/components/core/form/fields/SolidSelectionStaticField.d.ts.map +1 -0
  99. package/dist/components/core/form/fields/SolidShortTextField.d.ts +11 -0
  100. package/dist/components/core/form/fields/SolidShortTextField.d.ts.map +1 -0
  101. package/dist/components/core/form/fields/SolidTimeField.d.ts +11 -0
  102. package/dist/components/core/form/fields/SolidTimeField.d.ts.map +1 -0
  103. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts +14 -0
  104. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts.map +1 -0
  105. package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.d.ts +11 -0
  106. package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.d.ts.map +1 -0
  107. package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.d.ts +12 -0
  108. package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.d.ts.map +1 -0
  109. package/dist/components/core/kanban/KanbanBoard.d.ts +3 -0
  110. package/dist/components/core/kanban/KanbanBoard.d.ts.map +1 -0
  111. package/dist/components/core/kanban/KanbanCard.d.ts +14 -0
  112. package/dist/components/core/kanban/KanbanCard.d.ts.map +1 -0
  113. package/dist/components/core/kanban/KanbanColumn.d.ts +20 -0
  114. package/dist/components/core/kanban/KanbanColumn.d.ts.map +1 -0
  115. package/dist/components/core/kanban/SolidKanbanFilter.d.ts +2 -0
  116. package/dist/components/core/kanban/SolidKanbanFilter.d.ts.map +1 -0
  117. package/dist/components/core/kanban/SolidKanbanView.d.ts +8 -0
  118. package/dist/components/core/kanban/SolidKanbanView.d.ts.map +1 -0
  119. package/dist/components/core/kanban/SolidKanbanViewSearchColumn.d.ts +10 -0
  120. package/dist/components/core/kanban/SolidKanbanViewSearchColumn.d.ts.map +1 -0
  121. package/dist/components/core/kanban/SolidManyToOneFilterElement.d.ts +2 -0
  122. package/dist/components/core/kanban/SolidManyToOneFilterElement.d.ts.map +1 -0
  123. package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.d.ts +2 -0
  124. package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.d.ts.map +1 -0
  125. package/dist/components/core/kanban/SolidSelectionStaticFilterElement.d.ts +2 -0
  126. package/dist/components/core/kanban/SolidSelectionStaticFilterElement.d.ts.map +1 -0
  127. package/dist/components/core/kanban/SolidVarInputsFilterElement.d.ts +12 -0
  128. package/dist/components/core/kanban/SolidVarInputsFilterElement.d.ts.map +1 -0
  129. package/dist/components/core/kanban/columns/SolidBigintColumn.d.ts +4 -0
  130. package/dist/components/core/kanban/columns/SolidBigintColumn.d.ts.map +1 -0
  131. package/dist/components/core/kanban/columns/SolidBooleanColumn.d.ts +4 -0
  132. package/dist/components/core/kanban/columns/SolidBooleanColumn.d.ts.map +1 -0
  133. package/dist/components/core/kanban/columns/SolidComputedColumn.d.ts +4 -0
  134. package/dist/components/core/kanban/columns/SolidComputedColumn.d.ts.map +1 -0
  135. package/dist/components/core/kanban/columns/SolidDateColumn.d.ts +9 -0
  136. package/dist/components/core/kanban/columns/SolidDateColumn.d.ts.map +1 -0
  137. package/dist/components/core/kanban/columns/SolidDatetimeColumn.d.ts +4 -0
  138. package/dist/components/core/kanban/columns/SolidDatetimeColumn.d.ts.map +1 -0
  139. package/dist/components/core/kanban/columns/SolidDecimalColumn.d.ts +4 -0
  140. package/dist/components/core/kanban/columns/SolidDecimalColumn.d.ts.map +1 -0
  141. package/dist/components/core/kanban/columns/SolidExternalIdColumn.d.ts +4 -0
  142. package/dist/components/core/kanban/columns/SolidExternalIdColumn.d.ts.map +1 -0
  143. package/dist/components/core/kanban/columns/SolidFloatColumn.d.ts +4 -0
  144. package/dist/components/core/kanban/columns/SolidFloatColumn.d.ts.map +1 -0
  145. package/dist/components/core/kanban/columns/SolidIdColumn.d.ts +4 -0
  146. package/dist/components/core/kanban/columns/SolidIdColumn.d.ts.map +1 -0
  147. package/dist/components/core/kanban/columns/SolidIntColumn.d.ts +4 -0
  148. package/dist/components/core/kanban/columns/SolidIntColumn.d.ts.map +1 -0
  149. package/dist/components/core/kanban/columns/SolidLongTextColumn.d.ts +4 -0
  150. package/dist/components/core/kanban/columns/SolidLongTextColumn.d.ts.map +1 -0
  151. package/dist/components/core/kanban/columns/SolidMediaMultipleColumn.d.ts +4 -0
  152. package/dist/components/core/kanban/columns/SolidMediaMultipleColumn.d.ts.map +1 -0
  153. package/dist/components/core/kanban/columns/SolidMediaSingleColumn.d.ts +4 -0
  154. package/dist/components/core/kanban/columns/SolidMediaSingleColumn.d.ts.map +1 -0
  155. package/dist/components/core/kanban/columns/SolidRelationColumn.d.ts +4 -0
  156. package/dist/components/core/kanban/columns/SolidRelationColumn.d.ts.map +1 -0
  157. package/dist/components/core/kanban/columns/SolidRichTextColumn.d.ts +4 -0
  158. package/dist/components/core/kanban/columns/SolidRichTextColumn.d.ts.map +1 -0
  159. package/dist/components/core/kanban/columns/SolidSelectionDynamicColumn.d.ts +4 -0
  160. package/dist/components/core/kanban/columns/SolidSelectionDynamicColumn.d.ts.map +1 -0
  161. package/dist/components/core/kanban/columns/SolidSelectionStaticColumn.d.ts +4 -0
  162. package/dist/components/core/kanban/columns/SolidSelectionStaticColumn.d.ts.map +1 -0
  163. package/dist/components/core/kanban/columns/SolidShortTextColumn.d.ts +4 -0
  164. package/dist/components/core/kanban/columns/SolidShortTextColumn.d.ts.map +1 -0
  165. package/dist/components/core/kanban/columns/SolidTimeColumn.d.ts +4 -0
  166. package/dist/components/core/kanban/columns/SolidTimeColumn.d.ts.map +1 -0
  167. package/dist/components/core/kanban/columns/SolidUuidColumn.d.ts +4 -0
  168. package/dist/components/core/kanban/columns/SolidUuidColumn.d.ts.map +1 -0
  169. package/dist/components/core/kanban/columns/relations/SolidRelationManyToOneColumn.d.ts +4 -0
  170. package/dist/components/core/kanban/columns/relations/SolidRelationManyToOneColumn.d.ts.map +1 -0
  171. package/dist/components/core/list/SolidListView.d.ts +12 -0
  172. package/dist/components/core/list/SolidListView.d.ts.map +1 -0
  173. package/dist/components/core/list/SolidListViewColumn.d.ts +8 -0
  174. package/dist/components/core/list/SolidListViewColumn.d.ts.map +1 -0
  175. package/dist/components/core/list/SolidListingHeader.d.ts +3 -0
  176. package/dist/components/core/list/SolidListingHeader.d.ts.map +1 -0
  177. package/dist/components/core/list/SolidManyToOneFilterElement.d.ts +2 -0
  178. package/dist/components/core/list/SolidManyToOneFilterElement.d.ts.map +1 -0
  179. package/dist/components/core/list/SolidSelectionDynamicFilterElement.d.ts +2 -0
  180. package/dist/components/core/list/SolidSelectionDynamicFilterElement.d.ts.map +1 -0
  181. package/dist/components/core/list/SolidSelectionStaticFilterElement.d.ts +2 -0
  182. package/dist/components/core/list/SolidSelectionStaticFilterElement.d.ts.map +1 -0
  183. package/dist/components/core/list/SolidVarInputsFilterElement.d.ts +12 -0
  184. package/dist/components/core/list/SolidVarInputsFilterElement.d.ts.map +1 -0
  185. package/dist/components/core/list/columns/SolidBigintColumn.d.ts +4 -0
  186. package/dist/components/core/list/columns/SolidBigintColumn.d.ts.map +1 -0
  187. package/dist/components/core/list/columns/SolidBooleanColumn.d.ts +4 -0
  188. package/dist/components/core/list/columns/SolidBooleanColumn.d.ts.map +1 -0
  189. package/dist/components/core/list/columns/SolidComputedColumn.d.ts +4 -0
  190. package/dist/components/core/list/columns/SolidComputedColumn.d.ts.map +1 -0
  191. package/dist/components/core/list/columns/SolidDateColumn.d.ts +9 -0
  192. package/dist/components/core/list/columns/SolidDateColumn.d.ts.map +1 -0
  193. package/dist/components/core/list/columns/SolidDatetimeColumn.d.ts +4 -0
  194. package/dist/components/core/list/columns/SolidDatetimeColumn.d.ts.map +1 -0
  195. package/dist/components/core/list/columns/SolidDecimalColumn.d.ts +4 -0
  196. package/dist/components/core/list/columns/SolidDecimalColumn.d.ts.map +1 -0
  197. package/dist/components/core/list/columns/SolidExternalIdColumn.d.ts +4 -0
  198. package/dist/components/core/list/columns/SolidExternalIdColumn.d.ts.map +1 -0
  199. package/dist/components/core/list/columns/SolidFloatColumn.d.ts +4 -0
  200. package/dist/components/core/list/columns/SolidFloatColumn.d.ts.map +1 -0
  201. package/dist/components/core/list/columns/SolidIdColumn.d.ts +4 -0
  202. package/dist/components/core/list/columns/SolidIdColumn.d.ts.map +1 -0
  203. package/dist/components/core/list/columns/SolidIntColumn.d.ts +4 -0
  204. package/dist/components/core/list/columns/SolidIntColumn.d.ts.map +1 -0
  205. package/dist/components/core/list/columns/SolidLongTextColumn.d.ts +4 -0
  206. package/dist/components/core/list/columns/SolidLongTextColumn.d.ts.map +1 -0
  207. package/dist/components/core/list/columns/SolidMediaMultipleColumn.d.ts +4 -0
  208. package/dist/components/core/list/columns/SolidMediaMultipleColumn.d.ts.map +1 -0
  209. package/dist/components/core/list/columns/SolidMediaSingleColumn.d.ts +4 -0
  210. package/dist/components/core/list/columns/SolidMediaSingleColumn.d.ts.map +1 -0
  211. package/dist/components/core/list/columns/SolidRelationColumn.d.ts +4 -0
  212. package/dist/components/core/list/columns/SolidRelationColumn.d.ts.map +1 -0
  213. package/dist/components/core/list/columns/SolidRichTextColumn.d.ts +4 -0
  214. package/dist/components/core/list/columns/SolidRichTextColumn.d.ts.map +1 -0
  215. package/dist/components/core/list/columns/SolidSelectionDynamicColumn.d.ts +4 -0
  216. package/dist/components/core/list/columns/SolidSelectionDynamicColumn.d.ts.map +1 -0
  217. package/dist/components/core/list/columns/SolidSelectionStaticColumn.d.ts +4 -0
  218. package/dist/components/core/list/columns/SolidSelectionStaticColumn.d.ts.map +1 -0
  219. package/dist/components/core/list/columns/SolidShortTextColumn.d.ts +4 -0
  220. package/dist/components/core/list/columns/SolidShortTextColumn.d.ts.map +1 -0
  221. package/dist/components/core/list/columns/SolidTimeColumn.d.ts +4 -0
  222. package/dist/components/core/list/columns/SolidTimeColumn.d.ts.map +1 -0
  223. package/dist/components/core/list/columns/SolidUuidColumn.d.ts +4 -0
  224. package/dist/components/core/list/columns/SolidUuidColumn.d.ts.map +1 -0
  225. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.d.ts +4 -0
  226. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.d.ts.map +1 -0
  227. package/dist/components/core/model/CreateModel.d.ts +3 -0
  228. package/dist/components/core/model/CreateModel.d.ts.map +1 -0
  229. package/dist/components/core/model/FieldMetaData.d.ts +3 -0
  230. package/dist/components/core/model/FieldMetaData.d.ts.map +1 -0
  231. package/dist/components/core/model/FieldMetaDataForm.d.ts +3 -0
  232. package/dist/components/core/model/FieldMetaDataForm.d.ts.map +1 -0
  233. package/dist/components/core/model/FieldSelector.d.ts +3 -0
  234. package/dist/components/core/model/FieldSelector.d.ts.map +1 -0
  235. package/dist/components/core/model/ModelListViewData.d.ts +8 -0
  236. package/dist/components/core/model/ModelListViewData.d.ts.map +1 -0
  237. package/dist/components/core/model/ModelMetaData.d.ts +4 -0
  238. package/dist/components/core/model/ModelMetaData.d.ts.map +1 -0
  239. package/dist/components/core/module/CreateModule.d.ts +3 -0
  240. package/dist/components/core/module/CreateModule.d.ts.map +1 -0
  241. package/dist/components/core/module/ModuleListViewData.d.ts +7 -0
  242. package/dist/components/core/module/ModuleListViewData.d.ts.map +1 -0
  243. package/dist/components/core/users/CreateUser.d.ts +3 -0
  244. package/dist/components/core/users/CreateUser.d.ts.map +1 -0
  245. package/dist/components/core/users/CreateUserRole.d.ts +3 -0
  246. package/dist/components/core/users/CreateUserRole.d.ts.map +1 -0
  247. package/dist/components/core/users/UserListView.d.ts +2 -0
  248. package/dist/components/core/users/UserListView.d.ts.map +1 -0
  249. package/dist/components/layout/AdminSidebar.d.ts +3 -0
  250. package/dist/components/layout/AdminSidebar.d.ts.map +1 -0
  251. package/dist/components/layout/ButtonLoader.d.ts +3 -0
  252. package/dist/components/layout/ButtonLoader.d.ts.map +1 -0
  253. package/dist/components/layout/CustomPagination.d.ts +7 -0
  254. package/dist/components/layout/CustomPagination.d.ts.map +1 -0
  255. package/dist/components/layout/DashboardHeader.d.ts +3 -0
  256. package/dist/components/layout/DashboardHeader.d.ts.map +1 -0
  257. package/dist/components/layout/FilterMenu.d.ts +3 -0
  258. package/dist/components/layout/FilterMenu.d.ts.map +1 -0
  259. package/dist/components/layout/Footer.d.ts +3 -0
  260. package/dist/components/layout/Footer.d.ts.map +1 -0
  261. package/dist/components/layout/GlobalSearch.d.ts +2 -0
  262. package/dist/components/layout/GlobalSearch.d.ts.map +1 -0
  263. package/dist/components/layout/Header.d.ts +3 -0
  264. package/dist/components/layout/Header.d.ts.map +1 -0
  265. package/dist/components/layout/ListingHeader.d.ts +3 -0
  266. package/dist/components/layout/ListingHeader.d.ts.map +1 -0
  267. package/dist/components/layout/Loader.d.ts +3 -0
  268. package/dist/components/layout/Loader.d.ts.map +1 -0
  269. package/dist/components/layout/UserSidebar.d.ts +3 -0
  270. package/dist/components/layout/UserSidebar.d.ts.map +1 -0
  271. package/dist/components/layout/navbar-one.d.ts +3 -0
  272. package/dist/components/layout/navbar-one.d.ts.map +1 -0
  273. package/dist/components/layout/navbar-two-menu.d.ts +3 -0
  274. package/dist/components/layout/navbar-two-menu.d.ts.map +1 -0
  275. package/dist/components/layout/navbar-two.d.ts +3 -0
  276. package/dist/components/layout/navbar-two.d.ts.map +1 -0
  277. package/dist/components/layout/user-profile-menu.d.ts +3 -0
  278. package/dist/components/layout/user-profile-menu.d.ts.map +1 -0
  279. package/dist/components/layout/user-profile.d.ts +3 -0
  280. package/dist/components/layout/user-profile.d.ts.map +1 -0
  281. package/dist/components/modelsComponents/filterIcon.d.ts +2 -0
  282. package/dist/components/modelsComponents/filterIcon.d.ts.map +1 -0
  283. package/dist/components/tables/DemoData.d.ts +23 -0
  284. package/dist/components/tables/DemoData.d.ts.map +1 -0
  285. package/dist/components/tables/DynamicTable.d.ts +6 -0
  286. package/dist/components/tables/DynamicTable.d.ts.map +1 -0
  287. package/dist/components/tables/ListViewTable.d.ts +12 -0
  288. package/dist/components/tables/ListViewTable.d.ts.map +1 -0
  289. package/dist/helpers/ToastContainer.d.ts +4 -0
  290. package/dist/helpers/ToastContainer.d.ts.map +1 -0
  291. package/dist/helpers/authHeader.d.ts +7 -0
  292. package/dist/helpers/authHeader.d.ts.map +1 -0
  293. package/dist/helpers/countries.d.ts +6 -0
  294. package/dist/helpers/countries.d.ts.map +1 -0
  295. package/dist/helpers/helpers.d.ts +10 -0
  296. package/dist/helpers/helpers.d.ts.map +1 -0
  297. package/dist/helpers/menu.d.ts +35 -0
  298. package/dist/helpers/menu.d.ts.map +1 -0
  299. package/dist/helpers/permissions.d.ts +4 -0
  300. package/dist/helpers/permissions.d.ts.map +1 -0
  301. package/dist/helpers/revalidate.d.ts +2 -0
  302. package/dist/helpers/revalidate.d.ts.map +1 -0
  303. package/dist/index.d.ts +182 -0
  304. package/dist/index.d.ts.map +1 -0
  305. package/dist/index.js +45552 -0
  306. package/dist/index.js.map +1 -0
  307. package/dist/redux/api/articleApi.d.ts +19 -0
  308. package/dist/redux/api/articleApi.d.ts.map +1 -0
  309. package/dist/redux/api/authApi.d.ts +9 -0
  310. package/dist/redux/api/authApi.d.ts.map +1 -0
  311. package/dist/redux/api/automationApi.d.ts +19 -0
  312. package/dist/redux/api/automationApi.d.ts.map +1 -0
  313. package/dist/redux/api/categoryApi.d.ts +10 -0
  314. package/dist/redux/api/categoryApi.d.ts.map +1 -0
  315. package/dist/redux/api/cityApi.d.ts +36 -0
  316. package/dist/redux/api/cityApi.d.ts.map +1 -0
  317. package/dist/redux/api/cmsBannerImageApi.d.ts +19 -0
  318. package/dist/redux/api/cmsBannerImageApi.d.ts.map +1 -0
  319. package/dist/redux/api/countryApi.d.ts +39 -0
  320. package/dist/redux/api/countryApi.d.ts.map +1 -0
  321. package/dist/redux/api/fetchBaseQuery.d.ts +2 -0
  322. package/dist/redux/api/fetchBaseQuery.d.ts.map +1 -0
  323. package/dist/redux/api/fieldApi.d.ts +20 -0
  324. package/dist/redux/api/fieldApi.d.ts.map +1 -0
  325. package/dist/redux/api/mediaApi.d.ts +19 -0
  326. package/dist/redux/api/mediaApi.d.ts.map +1 -0
  327. package/dist/redux/api/mediaStorageProviderApi.d.ts +19 -0
  328. package/dist/redux/api/mediaStorageProviderApi.d.ts.map +1 -0
  329. package/dist/redux/api/menuApi.d.ts +19 -0
  330. package/dist/redux/api/menuApi.d.ts.map +1 -0
  331. package/dist/redux/api/menuItemsApi.d.ts +19 -0
  332. package/dist/redux/api/menuItemsApi.d.ts.map +1 -0
  333. package/dist/redux/api/modelApi.d.ts +20 -0
  334. package/dist/redux/api/modelApi.d.ts.map +1 -0
  335. package/dist/redux/api/moduleApi.d.ts +22 -0
  336. package/dist/redux/api/moduleApi.d.ts.map +1 -0
  337. package/dist/redux/api/orderAttributeApi.d.ts +8 -0
  338. package/dist/redux/api/orderAttributeApi.d.ts.map +1 -0
  339. package/dist/redux/api/permissionApi.d.ts +15 -0
  340. package/dist/redux/api/permissionApi.d.ts.map +1 -0
  341. package/dist/redux/api/pincodeApi.d.ts +36 -0
  342. package/dist/redux/api/pincodeApi.d.ts.map +1 -0
  343. package/dist/redux/api/productData.d.ts +51 -0
  344. package/dist/redux/api/productData.d.ts.map +1 -0
  345. package/dist/redux/api/radixExtraModelAttributeApi.d.ts +8 -0
  346. package/dist/redux/api/radixExtraModelAttributeApi.d.ts.map +1 -0
  347. package/dist/redux/api/radixModelMetadataApi.d.ts +20 -0
  348. package/dist/redux/api/radixModelMetadataApi.d.ts.map +1 -0
  349. package/dist/redux/api/radixModelsApi.d.ts +13 -0
  350. package/dist/redux/api/radixModelsApi.d.ts.map +1 -0
  351. package/dist/redux/api/ratingApi.d.ts +19 -0
  352. package/dist/redux/api/ratingApi.d.ts.map +1 -0
  353. package/dist/redux/api/reviewApi.d.ts +19 -0
  354. package/dist/redux/api/reviewApi.d.ts.map +1 -0
  355. package/dist/redux/api/roleApi.d.ts +10 -0
  356. package/dist/redux/api/roleApi.d.ts.map +1 -0
  357. package/dist/redux/api/solidActionApi.d.ts +19 -0
  358. package/dist/redux/api/solidActionApi.d.ts.map +1 -0
  359. package/dist/redux/api/solidEntityApi.d.ts +18 -0
  360. package/dist/redux/api/solidEntityApi.d.ts.map +1 -0
  361. package/dist/redux/api/solidMenuApi.d.ts +20 -0
  362. package/dist/redux/api/solidMenuApi.d.ts.map +1 -0
  363. package/dist/redux/api/solidViewApi.d.ts +20 -0
  364. package/dist/redux/api/solidViewApi.d.ts.map +1 -0
  365. package/dist/redux/api/stateApi.d.ts +36 -0
  366. package/dist/redux/api/stateApi.d.ts.map +1 -0
  367. package/dist/redux/api/tagApi.d.ts +19 -0
  368. package/dist/redux/api/tagApi.d.ts.map +1 -0
  369. package/dist/redux/api/tagGroupApi.d.ts +19 -0
  370. package/dist/redux/api/tagGroupApi.d.ts.map +1 -0
  371. package/dist/redux/api/userApi.d.ts +17 -0
  372. package/dist/redux/api/userApi.d.ts.map +1 -0
  373. package/dist/redux/features/authSlice.d.ts +6 -0
  374. package/dist/redux/features/authSlice.d.ts.map +1 -0
  375. package/dist/redux/features/dataViewSlice.d.ts +7 -0
  376. package/dist/redux/features/dataViewSlice.d.ts.map +1 -0
  377. package/dist/redux/features/navbarSlice.d.ts +6 -0
  378. package/dist/redux/features/navbarSlice.d.ts.map +1 -0
  379. package/dist/redux/features/popupSlice.d.ts +7 -0
  380. package/dist/redux/features/popupSlice.d.ts.map +1 -0
  381. package/dist/redux/features/themeSlice.d.ts +6 -0
  382. package/dist/redux/features/themeSlice.d.ts.map +1 -0
  383. package/dist/redux/features/userSlice.d.ts +13 -0
  384. package/dist/redux/features/userSlice.d.ts.map +1 -0
  385. package/dist/redux/hooks.d.ts +2 -0
  386. package/dist/redux/hooks.d.ts.map +1 -0
  387. package/dist/redux/store.d.ts +375 -0
  388. package/dist/redux/store.d.ts.map +1 -0
  389. package/package.json +114 -0
  390. package/rollup.config.mjs +45 -0
  391. package/solidstarters-solid-core-ui-0.1.24.tgz +0 -0
  392. package/src/components/CustomFooter/CustomFooter.tsx +263 -0
  393. package/src/components/CustomFooter/FooterForm.tsx +18 -0
  394. package/src/components/CustomHeader/CallIcon.tsx +19 -0
  395. package/src/components/CustomHeader/CustomDropdown.tsx +175 -0
  396. package/src/components/CustomHeader/CustomHeader.tsx +64 -0
  397. package/src/components/CustomHeader/EmailIcon.tsx +11 -0
  398. package/src/components/CustomHeader/HeaderCart.tsx +14 -0
  399. package/src/components/CustomHeader/productNavData.tsx +179 -0
  400. package/src/components/FormView/DetailsViews.tsx +46 -0
  401. package/src/components/FormView/OrderAddressDetails.tsx +69 -0
  402. package/src/components/FormView/OrderPaymentDetails.tsx +17 -0
  403. package/src/components/FormView/OrderTableDetails.tsx +35 -0
  404. package/src/components/FormView/OrderedProductDetail.tsx +21 -0
  405. package/src/components/Tag/CustomTag.tsx +49 -0
  406. package/src/components/auth/Login.tsx +155 -0
  407. package/src/components/auth/Register.tsx +239 -0
  408. package/src/components/common/AuthBanner.tsx +40 -0
  409. package/src/components/common/AutoCompleteField.tsx +74 -0
  410. package/src/components/common/CancelButton.tsx +42 -0
  411. package/src/components/common/CodeEditor.tsx +24 -0
  412. package/src/components/common/CreateButton.tsx +16 -0
  413. package/src/components/common/DropzonePlaceholder.tsx +9 -0
  414. package/src/components/common/DropzoneUpload.tsx +9 -0
  415. package/src/components/common/FilterComponent.tsx +427 -0
  416. package/src/components/common/HeaderDynamicTitles.tsx +11 -0
  417. package/src/components/common/MarkdownViewer.tsx +14 -0
  418. package/src/components/common/MultipleSelectAutoCompleteField.tsx +61 -0
  419. package/src/components/common/SingleSelectAutoCompleteField.tsx +64 -0
  420. package/src/components/common/SocialMediaLogin.tsx +44 -0
  421. package/src/components/core/common/SolidConfigureLayoutElement.tsx +24 -0
  422. package/src/components/core/common/SolidCreateButton.tsx +19 -0
  423. package/src/components/core/common/SolidGlobalSearchElement.tsx +37 -0
  424. package/src/components/core/common/SolidSearchBox.tsx +17 -0
  425. package/src/components/core/field/FieldListViewData.tsx +312 -0
  426. package/src/components/core/form/SolidFormView.tsx +821 -0
  427. package/src/components/core/form/fields/ISolidField.tsx +64 -0
  428. package/src/components/core/form/fields/SolidBooleanField.tsx +112 -0
  429. package/src/components/core/form/fields/SolidDateField.tsx +89 -0
  430. package/src/components/core/form/fields/SolidDateTimeField.tsx +87 -0
  431. package/src/components/core/form/fields/SolidDecimalField.tsx +85 -0
  432. package/src/components/core/form/fields/SolidIntegerField.tsx +85 -0
  433. package/src/components/core/form/fields/SolidJsonField.tsx +79 -0
  434. package/src/components/core/form/fields/SolidLongTextField.tsx +99 -0
  435. package/src/components/core/form/fields/SolidMediaMultipleField.tsx +246 -0
  436. package/src/components/core/form/fields/SolidMediaSingleField.tsx +227 -0
  437. package/src/components/core/form/fields/SolidRelationField.tsx +53 -0
  438. package/src/components/core/form/fields/SolidRichTextField.tsx +97 -0
  439. package/src/components/core/form/fields/SolidSelectionDynamicField.tsx +122 -0
  440. package/src/components/core/form/fields/SolidSelectionStaticField.tsx +117 -0
  441. package/src/components/core/form/fields/SolidShortTextField.tsx +99 -0
  442. package/src/components/core/form/fields/SolidTimeField.tsx +87 -0
  443. package/src/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +435 -0
  444. package/src/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +137 -0
  445. package/src/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +184 -0
  446. package/src/components/core/kanban/KanbanBoard.tsx +116 -0
  447. package/src/components/core/kanban/KanbanCard.tsx +159 -0
  448. package/src/components/core/kanban/KanbanColumn.tsx +124 -0
  449. package/src/components/core/kanban/SolidKanbanFilter.tsx +104 -0
  450. package/src/components/core/kanban/SolidKanbanView.tsx +660 -0
  451. package/src/components/core/kanban/SolidKanbanViewSearchColumn.tsx +131 -0
  452. package/src/components/core/kanban/SolidManyToOneFilterElement.tsx +56 -0
  453. package/src/components/core/kanban/SolidSelectionDynamicFilterElement.tsx +49 -0
  454. package/src/components/core/kanban/SolidSelectionStaticFilterElement.tsx +31 -0
  455. package/src/components/core/kanban/SolidVarInputsFilterElement.tsx +183 -0
  456. package/src/components/core/kanban/columns/SolidBigintColumn.tsx +8 -0
  457. package/src/components/core/kanban/columns/SolidBooleanColumn.tsx +49 -0
  458. package/src/components/core/kanban/columns/SolidComputedColumn.tsx +22 -0
  459. package/src/components/core/kanban/columns/SolidDateColumn.tsx +58 -0
  460. package/src/components/core/kanban/columns/SolidDatetimeColumn.tsx +45 -0
  461. package/src/components/core/kanban/columns/SolidDecimalColumn.tsx +8 -0
  462. package/src/components/core/kanban/columns/SolidExternalIdColumn.tsx +46 -0
  463. package/src/components/core/kanban/columns/SolidFloatColumn.tsx +8 -0
  464. package/src/components/core/kanban/columns/SolidIdColumn.tsx +46 -0
  465. package/src/components/core/kanban/columns/SolidIntColumn.tsx +56 -0
  466. package/src/components/core/kanban/columns/SolidLongTextColumn.tsx +8 -0
  467. package/src/components/core/kanban/columns/SolidMediaMultipleColumn.tsx +54 -0
  468. package/src/components/core/kanban/columns/SolidMediaSingleColumn.tsx +56 -0
  469. package/src/components/core/kanban/columns/SolidRelationColumn.tsx +12 -0
  470. package/src/components/core/kanban/columns/SolidRichTextColumn.tsx +8 -0
  471. package/src/components/core/kanban/columns/SolidSelectionDynamicColumn.tsx +46 -0
  472. package/src/components/core/kanban/columns/SolidSelectionStaticColumn.tsx +47 -0
  473. package/src/components/core/kanban/columns/SolidShortTextColumn.tsx +53 -0
  474. package/src/components/core/kanban/columns/SolidTimeColumn.tsx +42 -0
  475. package/src/components/core/kanban/columns/SolidUuidColumn.tsx +44 -0
  476. package/src/components/core/kanban/columns/relations/SolidRelationManyToOneColumn.tsx +79 -0
  477. package/src/components/core/list/SolidListView.tsx +569 -0
  478. package/src/components/core/list/SolidListViewColumn.tsx +161 -0
  479. package/src/components/core/list/SolidListingHeader.tsx +41 -0
  480. package/src/components/core/list/SolidManyToOneFilterElement.tsx +56 -0
  481. package/src/components/core/list/SolidSelectionDynamicFilterElement.tsx +49 -0
  482. package/src/components/core/list/SolidSelectionStaticFilterElement.tsx +31 -0
  483. package/src/components/core/list/SolidVarInputsFilterElement.tsx +183 -0
  484. package/src/components/core/list/columns/SolidBigintColumn.tsx +8 -0
  485. package/src/components/core/list/columns/SolidBooleanColumn.tsx +60 -0
  486. package/src/components/core/list/columns/SolidComputedColumn.tsx +22 -0
  487. package/src/components/core/list/columns/SolidDateColumn.tsx +63 -0
  488. package/src/components/core/list/columns/SolidDatetimeColumn.tsx +51 -0
  489. package/src/components/core/list/columns/SolidDecimalColumn.tsx +8 -0
  490. package/src/components/core/list/columns/SolidExternalIdColumn.tsx +51 -0
  491. package/src/components/core/list/columns/SolidFloatColumn.tsx +8 -0
  492. package/src/components/core/list/columns/SolidIdColumn.tsx +52 -0
  493. package/src/components/core/list/columns/SolidIntColumn.tsx +60 -0
  494. package/src/components/core/list/columns/SolidLongTextColumn.tsx +8 -0
  495. package/src/components/core/list/columns/SolidMediaMultipleColumn.tsx +29 -0
  496. package/src/components/core/list/columns/SolidMediaSingleColumn.tsx +29 -0
  497. package/src/components/core/list/columns/SolidRelationColumn.tsx +12 -0
  498. package/src/components/core/list/columns/SolidRichTextColumn.tsx +8 -0
  499. package/src/components/core/list/columns/SolidSelectionDynamicColumn.tsx +52 -0
  500. package/src/components/core/list/columns/SolidSelectionStaticColumn.tsx +53 -0
  501. package/src/components/core/list/columns/SolidShortTextColumn.tsx +60 -0
  502. package/src/components/core/list/columns/SolidTimeColumn.tsx +51 -0
  503. package/src/components/core/list/columns/SolidUuidColumn.tsx +51 -0
  504. package/src/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +70 -0
  505. package/src/components/core/model/CreateModel.tsx +340 -0
  506. package/src/components/core/model/FieldMetaData.tsx +148 -0
  507. package/src/components/core/model/FieldMetaDataForm.tsx +2877 -0
  508. package/src/components/core/model/FieldSelector.tsx +67 -0
  509. package/src/components/core/model/ModelListViewData.tsx +383 -0
  510. package/src/components/core/model/ModelMetaData.tsx +777 -0
  511. package/src/components/core/module/CreateModule.tsx +577 -0
  512. package/src/components/core/module/ModuleListViewData.tsx +429 -0
  513. package/src/components/core/users/CreateUser.tsx +415 -0
  514. package/src/components/core/users/CreateUserRole.tsx +209 -0
  515. package/src/components/core/users/UserListView.tsx +374 -0
  516. package/src/components/layout/AdminSidebar.tsx +65 -0
  517. package/src/components/layout/ButtonLoader.tsx +7 -0
  518. package/src/components/layout/CustomPagination.tsx +55 -0
  519. package/src/components/layout/DashboardHeader.tsx +88 -0
  520. package/src/components/layout/FilterMenu.tsx +122 -0
  521. package/src/components/layout/Footer.tsx +12 -0
  522. package/src/components/layout/GlobalSearch.tsx +36 -0
  523. package/src/components/layout/Header.tsx +8 -0
  524. package/src/components/layout/ListingHeader.tsx +203 -0
  525. package/src/components/layout/Loader.tsx +15 -0
  526. package/src/components/layout/UserSidebar.tsx +53 -0
  527. package/src/components/layout/navbar-one.tsx +258 -0
  528. package/src/components/layout/navbar-two-menu.tsx +64 -0
  529. package/src/components/layout/navbar-two.tsx +36 -0
  530. package/src/components/layout/user-profile-menu.tsx +214 -0
  531. package/src/components/layout/user-profile.tsx +6 -0
  532. package/src/components/modelsComponents/filterIcon.tsx +9 -0
  533. package/src/components/tables/DemoData.tsx +317 -0
  534. package/src/components/tables/DynamicTable.tsx +56 -0
  535. package/src/components/tables/ListViewTable.tsx +155 -0
  536. package/src/helpers/ToastContainer.tsx +92 -0
  537. package/src/helpers/authHeader.ts +19 -0
  538. package/src/helpers/countries.tsx +259 -0
  539. package/src/helpers/helpers.ts +39 -0
  540. package/src/helpers/menu.tsx +670 -0
  541. package/src/helpers/permissions.ts +15 -0
  542. package/src/helpers/revalidate.ts +6 -0
  543. package/src/index.ts +630 -0
  544. package/src/redux/api/articleApi.ts +55 -0
  545. package/src/redux/api/authApi.ts +60 -0
  546. package/src/redux/api/automationApi.ts +55 -0
  547. package/src/redux/api/categoryApi.tsx +46 -0
  548. package/src/redux/api/cityApi.tsx +56 -0
  549. package/src/redux/api/cmsBannerImageApi.tsx +55 -0
  550. package/src/redux/api/countryApi.tsx +56 -0
  551. package/src/redux/api/fetchBaseQuery.tsx +15 -0
  552. package/src/redux/api/fieldApi.ts +78 -0
  553. package/src/redux/api/mediaApi.ts +55 -0
  554. package/src/redux/api/mediaStorageProviderApi.ts +55 -0
  555. package/src/redux/api/menuApi.tsx +55 -0
  556. package/src/redux/api/menuItemsApi.tsx +56 -0
  557. package/src/redux/api/modelApi.ts +70 -0
  558. package/src/redux/api/moduleApi.ts +72 -0
  559. package/src/redux/api/orderAttributeApi.tsx +37 -0
  560. package/src/redux/api/permissionApi.ts +32 -0
  561. package/src/redux/api/pincodeApi.tsx +56 -0
  562. package/src/redux/api/productData.tsx +87 -0
  563. package/src/redux/api/radixExtraModelAttributeApi.tsx +37 -0
  564. package/src/redux/api/radixModelMetadataApi.tsx +62 -0
  565. package/src/redux/api/radixModelsApi.tsx +64 -0
  566. package/src/redux/api/ratingApi.ts +55 -0
  567. package/src/redux/api/reviewApi.ts +55 -0
  568. package/src/redux/api/roleApi.ts +58 -0
  569. package/src/redux/api/solidActionApi.ts +66 -0
  570. package/src/redux/api/solidEntityApi.tsx +86 -0
  571. package/src/redux/api/solidMenuApi.ts +71 -0
  572. package/src/redux/api/solidViewApi.ts +72 -0
  573. package/src/redux/api/stateApi.tsx +56 -0
  574. package/src/redux/api/tagApi.ts +55 -0
  575. package/src/redux/api/tagGroupApi.tsx +55 -0
  576. package/src/redux/api/userApi.ts +120 -0
  577. package/src/redux/features/authSlice.ts +19 -0
  578. package/src/redux/features/dataViewSlice.ts +26 -0
  579. package/src/redux/features/navbarSlice.ts +21 -0
  580. package/src/redux/features/popupSlice.ts +27 -0
  581. package/src/redux/features/themeSlice.ts +17 -0
  582. package/src/redux/features/userSlice.ts +28 -0
  583. package/src/types/index.d.ts +7 -0
  584. package/src/types/next.d.ts +46 -0
  585. package/tsconfig.json +37 -0
@@ -0,0 +1,46 @@
1
+ import React from 'react';
2
+ import { FilterMatchMode } from 'primereact/api';
3
+ import { getSolidKanbanViewNumberOfInputs, SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
4
+ import { Dropdown } from 'primereact/dropdown';
5
+ import { KanbanInputTypes, SolidKanbanVarInputsFilterElement } from '../../kanban/SolidVarInputsFilterElement';
6
+
7
+ const SolidExternalIdColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
8
+ const showFilterOperator = false;
9
+ const columnDataType = 'text';
10
+ const filterMatchModeOptions = [
11
+ { label: 'In', value: FilterMatchMode.IN },
12
+ { label: 'Not In', value: FilterMatchMode.NOT_IN },
13
+ ];
14
+ const numberOfInputs = getSolidKanbanViewNumberOfInputs("in");
15
+
16
+
17
+ return (
18
+ <>
19
+ <Dropdown
20
+ value={enumValue.operator}
21
+ onChange={(e: any) => {
22
+ console.log("e", e);
23
+ updateEnumValues(index, 'operator', e.value)
24
+ }}
25
+ options={filterMatchModeOptions}
26
+ optionLabel='label'
27
+ optionValue='value'
28
+ placeholder="Select Operator" className="w-full md:w-14rem" />
29
+ <SolidKanbanVarInputsFilterElement
30
+ values={enumValue.value}
31
+ onChange={(e: any) => {
32
+ console.log("e", e);
33
+ updateEnumValues(index, 'value', e)
34
+ }}
35
+ numberOfInputs={numberOfInputs}
36
+ inputType={KanbanInputTypes.Text}
37
+ solidListViewMetaData={solidKanbanViewMetaData}
38
+ fieldMetadata={fieldMetadata}
39
+ >
40
+ </SolidKanbanVarInputsFilterElement>
41
+ </>
42
+ );
43
+
44
+ };
45
+
46
+ export default SolidExternalIdColumn;
@@ -0,0 +1,8 @@
1
+ import { SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
2
+ import SolidIntColumn from './SolidIntColumn';
3
+
4
+ const SolidFloatColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
5
+ return SolidIntColumn({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue });
6
+ };
7
+
8
+ export default SolidFloatColumn;
@@ -0,0 +1,46 @@
1
+ import React from 'react';
2
+ import { KanbanInputTypes, SolidKanbanVarInputsFilterElement } from "../SolidVarInputsFilterElement";
3
+ import { FilterMatchMode } from 'primereact/api';
4
+ import { Dropdown } from 'primereact/dropdown';
5
+ import { getSolidKanbanViewNumberOfInputs, SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
6
+
7
+ const SolidIdColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
8
+ const showFilterOperator = false;
9
+ const columnDataType = 'text';
10
+ const filterMatchModeOptions = [
11
+ { label: 'In', value: FilterMatchMode.IN },
12
+ { label: 'Not In', value: FilterMatchMode.NOT_IN },
13
+ ];
14
+ const numberOfInputs = getSolidKanbanViewNumberOfInputs("in");
15
+
16
+
17
+ return (
18
+ <>
19
+ <Dropdown
20
+ value={enumValue.operator}
21
+ onChange={(e: any) => {
22
+ console.log("e", e);
23
+ updateEnumValues(index, 'operator', e.value)
24
+ }}
25
+ options={filterMatchModeOptions}
26
+ optionLabel='label'
27
+ optionValue='value'
28
+ placeholder="Select Operator" className="w-full md:w-14rem" />
29
+ <SolidKanbanVarInputsFilterElement
30
+ values={enumValue.value}
31
+ onChange={(e: any) => {
32
+ console.log("e", e);
33
+ updateEnumValues(index, 'value', e)
34
+ }}
35
+ numberOfInputs={numberOfInputs}
36
+ inputType={KanbanInputTypes.Numeric}
37
+ solidListViewMetaData={solidKanbanViewMetaData}
38
+ fieldMetadata={fieldMetadata}
39
+ >
40
+ </SolidKanbanVarInputsFilterElement>
41
+ </>
42
+ );
43
+
44
+ };
45
+
46
+ export default SolidIdColumn;
@@ -0,0 +1,56 @@
1
+ import React from 'react';
2
+ import { FilterMatchMode } from 'primereact/api';
3
+ import { getSolidKanbanViewNumberOfInputs, SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
4
+ import { Dropdown } from 'primereact/dropdown';
5
+ import { KanbanInputTypes, SolidKanbanVarInputsFilterElement } from '../../kanban/SolidVarInputsFilterElement';
6
+
7
+ const SolidIntColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
8
+ // const filterable = column.attrs.filterable;
9
+ const showFilterOperator = false;
10
+ const columnDataType = 'numeric';
11
+ const filterMatchModeOptions = [
12
+ { label: 'Equals', value: FilterMatchMode.EQUALS },
13
+ { label: 'Not Equals', value: FilterMatchMode.NOT_EQUALS },
14
+ { label: 'Less Than', value: FilterMatchMode.LESS_THAN },
15
+ { label: 'Less Than Or Equal', value: FilterMatchMode.LESS_THAN_OR_EQUAL_TO },
16
+ { label: 'Greater Than', value: FilterMatchMode.GREATER_THAN },
17
+ { label: 'Greater Than Or Equal', value: FilterMatchMode.GREATER_THAN_OR_EQUAL_TO },
18
+ { label: 'In', value: FilterMatchMode.IN },
19
+ { label: 'Not In', value: FilterMatchMode.NOT_IN },
20
+ { label: 'Between', value: FilterMatchMode.BETWEEN }
21
+ ];
22
+
23
+
24
+
25
+ // const header = column.attrs.label ?? fieldMetadata.displayName;
26
+ const numberOfInputs = getSolidKanbanViewNumberOfInputs("in");
27
+
28
+ return (
29
+ <>
30
+ <Dropdown
31
+ value={enumValue.operator}
32
+ onChange={(e: any) => {
33
+ console.log("e", e);
34
+ updateEnumValues(index, 'operator', e.value)
35
+ }}
36
+ options={filterMatchModeOptions}
37
+ optionLabel='label'
38
+ optionValue='value'
39
+ placeholder="Select Operator" className="w-full md:w-14rem" />
40
+ <SolidKanbanVarInputsFilterElement
41
+ values={enumValue.value}
42
+ onChange={(e: any) => {
43
+ console.log("e", e);
44
+ updateEnumValues(index, 'value', e)
45
+ }}
46
+ numberOfInputs={numberOfInputs}
47
+ inputType={KanbanInputTypes.Numeric}
48
+ solidListViewMetaData={solidKanbanViewMetaData}
49
+ fieldMetadata={fieldMetadata}
50
+ >
51
+ </SolidKanbanVarInputsFilterElement>
52
+ </>
53
+ );
54
+ };
55
+
56
+ export default SolidIntColumn;
@@ -0,0 +1,8 @@
1
+ import { SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
2
+ import SolidShortTextColumn from './SolidShortTextColumn';
3
+
4
+ const SolidLongTextColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
5
+ return SolidShortTextColumn({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue });
6
+ };
7
+
8
+ export default SolidLongTextColumn;
@@ -0,0 +1,54 @@
1
+ import { FilterMatchMode } from 'primereact/api';
2
+ import { Dropdown } from 'primereact/dropdown';
3
+ import { KanbanInputTypes, SolidKanbanVarInputsFilterElement } from '../../kanban/SolidVarInputsFilterElement';
4
+ import { getSolidKanbanViewNumberOfInputs, SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
5
+
6
+ const SolidMediaMultipleColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
7
+ // const filterable = column.attrs.filterable;
8
+ const filterable = false;
9
+ // const showFilterOperator = false;
10
+ // const columnDataType = undefined;
11
+ // const header = column.attrs.label ?? fieldMetadata.displayName;
12
+ const columnDataType = 'text';
13
+ const filterMatchModeOptions = [
14
+ { label: 'Starts With', value: FilterMatchMode.STARTS_WITH },
15
+ { label: 'Contains', value: FilterMatchMode.CONTAINS },
16
+ { label: 'Not Contains', value: FilterMatchMode.NOT_CONTAINS },
17
+ { label: 'Ends With', value: FilterMatchMode.ENDS_WITH },
18
+ { label: 'Equals', value: FilterMatchMode.EQUALS },
19
+ { label: 'Not Equals', value: FilterMatchMode.NOT_EQUALS },
20
+ { label: 'In', value: FilterMatchMode.IN },
21
+ { label: 'Not In', value: FilterMatchMode.NOT_IN }
22
+ ];
23
+ const numberOfInputs = getSolidKanbanViewNumberOfInputs("in");
24
+ return (
25
+ <>
26
+
27
+ <Dropdown
28
+ value={enumValue.operator}
29
+ onChange={(e: any) => {
30
+ console.log("e", e);
31
+ updateEnumValues(index, 'operator', e.value)
32
+ }}
33
+ options={filterMatchModeOptions}
34
+ optionLabel='label'
35
+ optionValue='value'
36
+ placeholder="Select Operator" className="w-full md:w-14rem" />
37
+ <SolidKanbanVarInputsFilterElement
38
+ values={enumValue.value}
39
+ onChange={(e: any) => {
40
+ console.log("e", e);
41
+ updateEnumValues(index, 'value', e)
42
+ }}
43
+ numberOfInputs={numberOfInputs}
44
+ inputType={KanbanInputTypes.Text}
45
+ solidListViewMetaData={solidKanbanViewMetaData}
46
+ fieldMetadata={fieldMetadata}
47
+ >
48
+ </SolidKanbanVarInputsFilterElement>
49
+ </>
50
+ );
51
+
52
+ };
53
+
54
+ export default SolidMediaMultipleColumn;
@@ -0,0 +1,56 @@
1
+ import { FilterMatchMode } from 'primereact/api';
2
+ import { Dropdown } from 'primereact/dropdown';
3
+ import { KanbanInputTypes, SolidKanbanVarInputsFilterElement } from '../../kanban/SolidVarInputsFilterElement';
4
+ import { getSolidKanbanViewNumberOfInputs, SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
5
+
6
+ const SolidMediaSingleColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
7
+ // const filterable = column.attrs.filterable;
8
+ const filterable = false;
9
+ // const showFilterOperator = false;
10
+ // const columnDataType = undefined;
11
+ const columnDataType = 'text';
12
+ const filterMatchModeOptions = [
13
+ { label: 'Starts With', value: FilterMatchMode.STARTS_WITH },
14
+ { label: 'Contains', value: FilterMatchMode.CONTAINS },
15
+ { label: 'Not Contains', value: FilterMatchMode.NOT_CONTAINS },
16
+ { label: 'Ends With', value: FilterMatchMode.ENDS_WITH },
17
+ { label: 'Equals', value: FilterMatchMode.EQUALS },
18
+ { label: 'Not Equals', value: FilterMatchMode.NOT_EQUALS },
19
+ { label: 'In', value: FilterMatchMode.IN },
20
+ { label: 'Not In', value: FilterMatchMode.NOT_IN }
21
+ ];
22
+ const numberOfInputs = getSolidKanbanViewNumberOfInputs("in");
23
+
24
+ // const header = column.attrs.label ?? fieldMetadata.displayName;
25
+
26
+ return (
27
+ <>
28
+
29
+ <Dropdown
30
+ value={enumValue.operator}
31
+ onChange={(e: any) => {
32
+ console.log("e", e);
33
+ updateEnumValues(index, 'operator', e.value)
34
+ }}
35
+ options={filterMatchModeOptions}
36
+ optionLabel='label'
37
+ optionValue='value'
38
+ placeholder="Select Operator" className="w-full md:w-14rem" />
39
+ <SolidKanbanVarInputsFilterElement
40
+ values={enumValue.value}
41
+ onChange={(e: any) => {
42
+ console.log("e", e);
43
+ updateEnumValues(index, 'value', e)
44
+ }}
45
+ numberOfInputs={numberOfInputs}
46
+ inputType={KanbanInputTypes.Text}
47
+ solidListViewMetaData={solidKanbanViewMetaData}
48
+ fieldMetadata={fieldMetadata}
49
+ >
50
+ </SolidKanbanVarInputsFilterElement>
51
+ </>
52
+ );
53
+
54
+ };
55
+
56
+ export default SolidMediaSingleColumn;
@@ -0,0 +1,12 @@
1
+ import { SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
2
+ import SolidRelationManyToOneColumn from './relations/SolidRelationManyToOneColumn';
3
+
4
+ const SolidRelationColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
5
+ if (fieldMetadata.relationType === 'many-to-one') {
6
+ return SolidRelationManyToOneColumn({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue });
7
+ }
8
+ // TODO: Support one-to-many
9
+ // TODO: Support many-to-many
10
+ };
11
+
12
+ export default SolidRelationColumn;
@@ -0,0 +1,8 @@
1
+ import { SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
2
+ import SolidShortTextColumn from './SolidShortTextColumn';
3
+
4
+ const SolidRichTextColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
5
+ return SolidShortTextColumn({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue });
6
+ };
7
+
8
+ export default SolidRichTextColumn;
@@ -0,0 +1,46 @@
1
+ import { FilterMatchMode } from 'primereact/api';
2
+ import { Dropdown } from 'primereact/dropdown';
3
+ import { KanbanInputTypes, SolidKanbanVarInputsFilterElement } from '../../kanban/SolidVarInputsFilterElement';
4
+ import { getSolidKanbanViewNumberOfInputs, SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
5
+
6
+ const SolidSelectionDynamicColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
7
+ const showFilterOperator = false;
8
+ const columnDataType = fieldMetadata.selectionValueType === 'int' ? 'numeric' : 'text';
9
+ const filterMatchModeOptions = [
10
+ { label: 'In', value: FilterMatchMode.IN },
11
+ { label: 'Not In', value: FilterMatchMode.NOT_IN },
12
+ ];
13
+ const numberOfInputs = getSolidKanbanViewNumberOfInputs("in");
14
+
15
+
16
+
17
+ return (
18
+ <>
19
+ <Dropdown
20
+ value={enumValue.operator}
21
+ onChange={(e: any) => {
22
+ console.log("e", e);
23
+ updateEnumValues(index, 'operator', e.value)
24
+ }}
25
+ options={filterMatchModeOptions}
26
+ optionLabel='label'
27
+ optionValue='value'
28
+ placeholder="Select Operator" className="w-full md:w-14rem" />
29
+ <SolidKanbanVarInputsFilterElement
30
+ values={enumValue.value}
31
+ onChange={(e: any) => {
32
+ console.log("e", e);
33
+ updateEnumValues(index, 'value', e)
34
+ }}
35
+ numberOfInputs={numberOfInputs}
36
+ inputType={KanbanInputTypes.SelectionDynamic}
37
+ solidListViewMetaData={solidKanbanViewMetaData}
38
+ fieldMetadata={fieldMetadata}
39
+ >
40
+ </SolidKanbanVarInputsFilterElement>
41
+ </>
42
+ );
43
+
44
+ };
45
+
46
+ export default SolidSelectionDynamicColumn;
@@ -0,0 +1,47 @@
1
+ import { FilterMatchMode } from 'primereact/api';
2
+ import { Dropdown } from 'primereact/dropdown';
3
+ import { KanbanInputTypes, SolidKanbanVarInputsFilterElement } from '../../kanban/SolidVarInputsFilterElement';
4
+ import { getSolidKanbanViewNumberOfInputs, SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
5
+
6
+
7
+ const SolidSelectionStaticColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
8
+
9
+ // const filterable = column.attrs.filterable;
10
+ const showFilterOperator = false;
11
+ const columnDataType = fieldMetadata.selectionValueType === 'int' ? 'numeric' : 'text';
12
+ const filterMatchModeOptions = [
13
+ { label: 'In', value: FilterMatchMode.IN },
14
+ { label: 'Not In', value: FilterMatchMode.NOT_IN },
15
+ ];
16
+
17
+ const numberOfInputs = getSolidKanbanViewNumberOfInputs("in");
18
+
19
+ return (
20
+ <>
21
+ <Dropdown
22
+ value={enumValue.operator}
23
+ onChange={(e: any) => {
24
+ console.log("e", e);
25
+ updateEnumValues(index, 'operator', e.value)
26
+ }}
27
+ options={filterMatchModeOptions}
28
+ optionLabel='label'
29
+ optionValue='value'
30
+ placeholder="Select Operator" className="w-full md:w-14rem" />
31
+ <SolidKanbanVarInputsFilterElement
32
+ values={enumValue.value}
33
+ onChange={(e: any) => {
34
+ console.log("e", e);
35
+ updateEnumValues(index, 'value', e)
36
+ }}
37
+ numberOfInputs={numberOfInputs}
38
+ inputType={KanbanInputTypes.SelectionStatic}
39
+ solidListViewMetaData={solidKanbanViewMetaData}
40
+ fieldMetadata={fieldMetadata}
41
+ >
42
+ </SolidKanbanVarInputsFilterElement>
43
+ </>
44
+ );
45
+ };
46
+
47
+ export default SolidSelectionStaticColumn;
@@ -0,0 +1,53 @@
1
+ import { FilterMatchMode } from 'primereact/api';
2
+ import { Dropdown } from 'primereact/dropdown';
3
+ import { KanbanInputTypes, SolidKanbanVarInputsFilterElement } from '../../kanban/SolidVarInputsFilterElement';
4
+ import { getSolidKanbanViewNumberOfInputs, SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
5
+
6
+ const SolidShortTextColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
7
+ // const filterable = column.attrs.filterable;
8
+ const showFilterOperator = false;
9
+ const columnDataType = 'text';
10
+ const filterMatchModeOptions = [
11
+ { label: 'Starts With', value: FilterMatchMode.STARTS_WITH },
12
+ { label: 'Contains', value: FilterMatchMode.CONTAINS },
13
+ { label: 'Not Contains', value: FilterMatchMode.NOT_CONTAINS },
14
+ { label: 'Ends With', value: FilterMatchMode.ENDS_WITH },
15
+ { label: 'Equals', value: FilterMatchMode.EQUALS },
16
+ { label: 'Not Equals', value: FilterMatchMode.NOT_EQUALS },
17
+ { label: 'In', value: FilterMatchMode.IN },
18
+ { label: 'Not In', value: FilterMatchMode.NOT_IN }
19
+ ];
20
+
21
+ // const header = column.attrs.label ?? fieldMetadata.displayName;
22
+ const numberOfInputs = getSolidKanbanViewNumberOfInputs("in");
23
+
24
+ return (
25
+ <>
26
+ <Dropdown
27
+ value={enumValue.operator}
28
+ onChange={(e: any) => {
29
+ console.log("e", e);
30
+ updateEnumValues(index, 'operator', e.value)
31
+ }}
32
+ options={filterMatchModeOptions}
33
+ optionLabel='label'
34
+ optionValue='value'
35
+ placeholder="Select Operator" className="w-full md:w-14rem" />
36
+ <SolidKanbanVarInputsFilterElement
37
+ values={enumValue.value}
38
+ onChange={(e: any) => {
39
+ console.log("e", e);
40
+ updateEnumValues(index, 'value', e)
41
+ }}
42
+ numberOfInputs={numberOfInputs}
43
+ inputType={KanbanInputTypes.Text}
44
+ solidListViewMetaData={solidKanbanViewMetaData}
45
+ fieldMetadata={fieldMetadata}
46
+ >
47
+ </SolidKanbanVarInputsFilterElement>
48
+ </>
49
+ );
50
+
51
+ };
52
+
53
+ export default SolidShortTextColumn;
@@ -0,0 +1,42 @@
1
+ import { Dropdown } from 'primereact/dropdown';
2
+ import { KanbanInputTypes, SolidKanbanVarInputsFilterElement } from '../../kanban/SolidVarInputsFilterElement';
3
+ import { getSolidKanbanViewNumberOfInputs, SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
4
+ import { kanbanDateFilterMatchModeOptions } from './SolidDateColumn';
5
+
6
+ const SolidTimeColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
7
+ // const filterable = column.attrs.filterable;
8
+ const showFilterOperator = false;
9
+ const columnDataType = 'date';
10
+
11
+ // TODO: the body template to be controlled based on the format that one is expecting the date to be displayed in.
12
+ // const header = column.attrs.label ?? fieldMetadata.displayName;
13
+ const numberOfInputs = getSolidKanbanViewNumberOfInputs("in");
14
+ return (
15
+ <>
16
+ <Dropdown
17
+ value={enumValue.operator}
18
+ onChange={(e: any) => {
19
+ console.log("e", e);
20
+ updateEnumValues(index, 'operator', e.value)
21
+ }}
22
+ options={kanbanDateFilterMatchModeOptions}
23
+ optionLabel='label'
24
+ optionValue='value'
25
+ placeholder="Select Operator" className="w-full md:w-14rem" />
26
+ <SolidKanbanVarInputsFilterElement
27
+ values={enumValue.value}
28
+ onChange={(e: any) => {
29
+ console.log("e", e);
30
+ updateEnumValues(index, 'value', e)
31
+ }}
32
+ numberOfInputs={numberOfInputs}
33
+ inputType={KanbanInputTypes.Time}
34
+ solidListViewMetaData={solidKanbanViewMetaData}
35
+ fieldMetadata={fieldMetadata}
36
+ >
37
+ </SolidKanbanVarInputsFilterElement></>
38
+ );
39
+
40
+ };
41
+
42
+ export default SolidTimeColumn;
@@ -0,0 +1,44 @@
1
+ import { FilterMatchMode } from 'primereact/api';
2
+ import { Dropdown } from 'primereact/dropdown';
3
+ import { KanbanInputTypes, SolidKanbanVarInputsFilterElement } from '../../kanban/SolidVarInputsFilterElement';
4
+ import { getSolidKanbanViewNumberOfInputs, SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
5
+
6
+ const SolidUuidColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
7
+ const showFilterOperator = false;
8
+ const columnDataType = 'text';
9
+ const filterMatchModeOptions = [
10
+ { label: 'In', value: FilterMatchMode.IN },
11
+ { label: 'Not In', value: FilterMatchMode.NOT_IN },
12
+ ];
13
+ const numberOfInputs = getSolidKanbanViewNumberOfInputs("in");
14
+
15
+ return (
16
+ <>
17
+ <Dropdown
18
+ value={enumValue.operator}
19
+ onChange={(e: any) => {
20
+ console.log("e", e);
21
+ updateEnumValues(index, 'operator', e.value)
22
+ }}
23
+ options={filterMatchModeOptions}
24
+ optionLabel='label'
25
+ optionValue='value'
26
+ placeholder="Select Operator" className="w-full md:w-14rem" />
27
+ <SolidKanbanVarInputsFilterElement
28
+ values={enumValue.value}
29
+ onChange={(e: any) => {
30
+ console.log("e", e);
31
+ updateEnumValues(index, 'value', e)
32
+ }}
33
+ numberOfInputs={numberOfInputs}
34
+ inputType={KanbanInputTypes.Text}
35
+ solidListViewMetaData={solidKanbanViewMetaData}
36
+ fieldMetadata={fieldMetadata}
37
+ >
38
+ </SolidKanbanVarInputsFilterElement>
39
+ </>
40
+ );
41
+
42
+ };
43
+
44
+ export default SolidUuidColumn;
@@ -0,0 +1,79 @@
1
+ import { KanbanInputTypes, SolidKanbanVarInputsFilterElement } from '@/components/core/kanban/SolidVarInputsFilterElement';
2
+ import { FilterMatchMode } from 'primereact/api';
3
+ import { Dropdown } from 'primereact/dropdown';
4
+ import { getSolidKanbanViewNumberOfInputs, SolidKanbanViewColumnParams } from '../../SolidKanbanViewSearchColumn';
5
+
6
+ const SolidRelationManyToOneColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
7
+ // const filterable = column.attrs.filterable;
8
+ const showFilterOperator = false;
9
+ const filterMatchModeOptions = [
10
+ { label: 'In', value: FilterMatchMode.IN },
11
+ { label: 'Not In', value: FilterMatchMode.NOT_IN },
12
+ ];
13
+ const columnDataType = undefined;
14
+ const numberOfInputs = getSolidKanbanViewNumberOfInputs("in");
15
+
16
+ // const filterTemplate = (options: ColumnFilterElementTemplateOptions) => {
17
+
18
+ // return (
19
+ // <SolidVarInputsFilterElement
20
+ // values={options.value}
21
+ // onChange={(e: FormEvent<HTMLInputElement>) => options.filterCallback(e, options.index)}
22
+ // inputType={InputTypes.RelationManyToOne}
23
+ // solidListViewMetaData={solidListViewMetaData}
24
+ // fieldMetadata={fieldMetadata}
25
+ // column={column}
26
+ // >
27
+ // </SolidVarInputsFilterElement>
28
+ // )
29
+ // };
30
+
31
+ // const bodyTemplate = (rowData: any) => {
32
+ // const manyToOneFieldData = rowData[column.attrs.name];
33
+
34
+ // // This is the userkey that will be present within the rowData.
35
+ // if (manyToOneFieldData) {
36
+ // // Since this is a many-to-one field, we fetch the user key field of the associated model.
37
+ // const userKeyField = fieldMetadata.relationModel.userKeyField.name;
38
+
39
+ // const manyToOneColVal = manyToOneFieldData[userKeyField];
40
+
41
+ // // TODO: change this to use an anchor tag so that on click we open that entity form view.
42
+ // return <span>{manyToOneColVal}</span>;
43
+ // }
44
+ // else {
45
+ // return <span></span>
46
+ // }
47
+ // };
48
+ // const header = column.attrs.label ?? fieldMetadata.displayName;
49
+
50
+ return (
51
+ <>
52
+ <Dropdown
53
+ value={enumValue.operator}
54
+ onChange={(e: any) => {
55
+ console.log("e", e);
56
+ updateEnumValues(index, 'operator', e.value)
57
+ }}
58
+ options={filterMatchModeOptions}
59
+ optionLabel='label'
60
+ optionValue='value'
61
+ placeholder="Select Operator" className="w-full md:w-14rem" />
62
+ <SolidKanbanVarInputsFilterElement
63
+ values={enumValue.value}
64
+ onChange={(e: any) => {
65
+ console.log("e", e);
66
+ updateEnumValues(index, 'value', e)
67
+ }}
68
+ numberOfInputs={numberOfInputs}
69
+ inputType={KanbanInputTypes.RelationManyToOne}
70
+ solidListViewMetaData={solidKanbanViewMetaData}
71
+ fieldMetadata={fieldMetadata}
72
+ >
73
+ </SolidKanbanVarInputsFilterElement>
74
+ </>
75
+ );
76
+
77
+ };
78
+
79
+ export default SolidRelationManyToOneColumn;