@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,317 @@
1
+ export const DemoService = {
2
+ getDemosData() {
3
+ return [
4
+ {
5
+ id: '1000',
6
+ name: 'EMS for RH, T and DP in Clean Room Area',
7
+ image: 'bamboo-watch.jpg',
8
+ date: "2024-07-03",
9
+ price: 17500,
10
+ quantity: 1,
11
+ orderStatus: 'Delivered',
12
+ slug: 'form-view'
13
+ },
14
+ {
15
+ id: '1001',
16
+ name: 'EMS for RH, T and DP in Clean Room Area',
17
+ image: 'bamboo-watch.jpg',
18
+ date: "2024-07-03",
19
+ price: 17500,
20
+ quantity: 1,
21
+ orderStatus: 'Delivered',
22
+ slug: 'form-view'
23
+ },
24
+ {
25
+ id: '1002',
26
+ name: 'EMS for RH, T and DP in Clean Room Area',
27
+ image: 'bamboo-watch.jpg',
28
+ date: "2024-07-03",
29
+ price: 17500,
30
+ quantity: 1,
31
+ orderStatus: 'On The Way',
32
+ slug: 'form-view'
33
+ },
34
+ {
35
+ id: '1003',
36
+ name: 'EMS for RH, T and DP in Clean Room Area',
37
+ image: 'bamboo-watch.jpg',
38
+ date: "2024-07-03",
39
+ price: 17500,
40
+ quantity: 1,
41
+ orderStatus: 'Delivered',
42
+ slug: 'form-view'
43
+ },
44
+ {
45
+ id: '1004',
46
+ name: 'EMS for RH, T and DP in Clean Room Area',
47
+ image: 'bamboo-watch.jpg',
48
+ date: "2024-07-03",
49
+ price: 17500,
50
+ quantity: 1,
51
+ orderStatus: 'Delivered',
52
+ slug: 'form-view'
53
+ },
54
+ {
55
+ id: '1005',
56
+ name: 'EMS for RH, T and DP in Clean Room Area',
57
+ image: 'bamboo-watch.jpg',
58
+ date: "2024-07-03",
59
+ price: 17500,
60
+ quantity: 1,
61
+ orderStatus: 'Cancelled',
62
+ slug: 'form-view'
63
+ },
64
+ {
65
+ id: '1006',
66
+ name: 'EMS for RH, T and DP in Clean Room Area',
67
+ image: 'bamboo-watch.jpg',
68
+ date: "2024-07-03",
69
+ price: 17500,
70
+ quantity: 1,
71
+ orderStatus: 'Returned',
72
+ slug: 'form-view'
73
+ },
74
+ {
75
+ id: '1007',
76
+ name: 'EMS for RH, T and DP in Clean Room Area',
77
+ image: 'bamboo-watch.jpg',
78
+ date: "2024-07-03",
79
+ price: 17500,
80
+ quantity: 1,
81
+ orderStatus: 'Delivered',
82
+ slug: 'form-view'
83
+ },
84
+ {
85
+ id: '1008',
86
+ name: 'EMS for RH, T and DP in Clean Room Area',
87
+ image: 'bamboo-watch.jpg',
88
+ date: "2024-07-03",
89
+ price: 17500,
90
+ quantity: 1,
91
+ orderStatus: 'Returned',
92
+ slug: 'form-view'
93
+ },
94
+ {
95
+ id: '1009',
96
+ name: 'EMS for RH, T and DP in Clean Room Area',
97
+ image: 'bamboo-watch.jpg',
98
+ date: "2024-07-03",
99
+ price: 17500,
100
+ quantity: 1,
101
+ orderStatus: 'Delivered',
102
+ slug: 'form-view'
103
+ },
104
+ {
105
+ id: '1010',
106
+ name: 'EMS for RH, T and DP in Clean Room Area',
107
+ image: 'bamboo-watch.jpg',
108
+ date: "2024-07-03",
109
+ price: 17500,
110
+ quantity: 1,
111
+ orderStatus: 'Cancelled',
112
+ slug: 'form-view'
113
+ },
114
+ {
115
+ id: '1011',
116
+ name: 'EMS for RH, T and DP in Clean Room Area',
117
+ image: 'bamboo-watch.jpg',
118
+ date: "2024-07-03",
119
+ price: 17500,
120
+ quantity: 1,
121
+ orderStatus: 'Delivered',
122
+ slug: 'form-view'
123
+ },
124
+ {
125
+ id: '1012',
126
+ name: 'EMS for RH, T and DP in Clean Room Area',
127
+ image: 'bamboo-watch.jpg',
128
+ date: "2024-07-03",
129
+ price: 17500,
130
+ quantity: 1,
131
+ orderStatus: 'Delivered',
132
+ slug: 'form-view'
133
+ },
134
+ {
135
+ id: '1013',
136
+ name: 'EMS for RH, T and DP in Clean Room Area',
137
+ image: 'bamboo-watch.jpg',
138
+ date: "2024-07-03",
139
+ price: 17500,
140
+ quantity: 1,
141
+ orderStatus: 'Cancelled',
142
+ slug: 'form-view'
143
+ },
144
+ {
145
+ id: '1014',
146
+ name: 'EMS for RH, T and DP in Clean Room Area',
147
+ image: 'bamboo-watch.jpg',
148
+ date: "2024-07-03",
149
+ price: 17500,
150
+ quantity: 1,
151
+ orderStatus: 'Returned',
152
+ slug: 'form-view'
153
+ },
154
+ {
155
+ id: '1015',
156
+ name: 'EMS for RH, T and DP in Clean Room Area',
157
+ image: 'bamboo-watch.jpg',
158
+ date: "2024-07-03",
159
+ price: 17500,
160
+ quantity: 1,
161
+ orderStatus: 'Delivered',
162
+ slug: 'form-view'
163
+ },
164
+ {
165
+ id: '1016',
166
+ name: 'EMS for RH, T and DP in Clean Room Area',
167
+ image: 'bamboo-watch.jpg',
168
+ date: "2024-07-03",
169
+ price: 17500,
170
+ quantity: 1,
171
+ orderStatus: 'Delivered',
172
+ slug: 'form-view'
173
+ },
174
+ {
175
+ id: '1017',
176
+ name: 'EMS for RH, T and DP in Clean Room Area',
177
+ image: 'bamboo-watch.jpg',
178
+ date: "2024-07-03",
179
+ price: 17500,
180
+ quantity: 1,
181
+ orderStatus: 'Delivered',
182
+ slug: 'form-view'
183
+ },
184
+ {
185
+ id: '1018',
186
+ name: 'EMS for RH, T and DP in Clean Room Area',
187
+ image: 'bamboo-watch.jpg',
188
+ date: "2024-07-03",
189
+ price: 17500,
190
+ quantity: 1,
191
+ orderStatus: 'Delivered',
192
+ slug: 'form-view'
193
+ },
194
+ {
195
+ id: '1019',
196
+ name: 'EMS for RH, T and DP in Clean Room Area',
197
+ image: 'bamboo-watch.jpg',
198
+ date: "2024-07-03",
199
+ price: 17500,
200
+ quantity: 1,
201
+ orderStatus: 'Delivered',
202
+ slug: 'form-view'
203
+ },
204
+ {
205
+ id: '1020',
206
+ name: 'EMS for RH, T and DP in Clean Room Area',
207
+ image: 'bamboo-watch.jpg',
208
+ date: "2024-07-03",
209
+ price: 17500,
210
+ quantity: 1,
211
+ orderStatus: 'Cancelled',
212
+ slug: 'form-view'
213
+ },
214
+ {
215
+ id: '1021',
216
+ name: 'EMS for RH, T and DP in Clean Room Area',
217
+ image: 'bamboo-watch.jpg',
218
+ date: "2024-07-03",
219
+ price: 17500,
220
+ quantity: 1,
221
+ orderStatus: 'Returned',
222
+ slug: 'form-view'
223
+ },
224
+ {
225
+ id: '1022',
226
+ name: 'EMS for RH, T and DP in Clean Room Area',
227
+ image: 'bamboo-watch.jpg',
228
+ date: "2024-07-03",
229
+ price: 17500,
230
+ quantity: 1,
231
+ orderStatus: 'Delivered',
232
+ slug: 'form-view'
233
+ },
234
+ {
235
+ id: '1023',
236
+ name: 'EMS for RH, T and DP in Clean Room Area',
237
+ image: 'bamboo-watch.jpg',
238
+ date: "2024-07-03",
239
+ price: 17500,
240
+ quantity: 1,
241
+ orderStatus: 'Returned',
242
+ slug: 'form-view'
243
+ },
244
+ {
245
+ id: '1024',
246
+ name: 'EMS for RH, T and DP in Clean Room Area',
247
+ image: 'bamboo-watch.jpg',
248
+ date: "2024-07-03",
249
+ price: 17500,
250
+ quantity: 1,
251
+ orderStatus: 'Delivered',
252
+ slug: 'form-view'
253
+ },
254
+ {
255
+ id: '1025',
256
+ name: 'EMS for RH, T and DP in Clean Room Area',
257
+ image: 'bamboo-watch.jpg',
258
+ date: "2024-07-03",
259
+ price: 17500,
260
+ quantity: 1,
261
+ orderStatus: 'Delivered',
262
+ slug: 'form-view'
263
+ },
264
+ {
265
+ id: '1026',
266
+ name: 'EMS for RH, T and DP in Clean Room Area',
267
+ image: 'bamboo-watch.jpg',
268
+ date: "2024-07-03",
269
+ price: 17500,
270
+ quantity: 1,
271
+ orderStatus: 'Returned',
272
+ slug: 'form-view'
273
+ },
274
+ {
275
+ id: '1027',
276
+ name: 'EMS for RH, T and DP in Clean Room Area',
277
+ image: 'bamboo-watch.jpg',
278
+ date: "2024-07-03",
279
+ price: 17500,
280
+ quantity: 1,
281
+ orderStatus: 'Delivered',
282
+ slug: 'form-view'
283
+ },
284
+ {
285
+ id: '1028',
286
+ name: 'EMS for RH, T and DP in Clean Room Area',
287
+ image: 'bamboo-watch.jpg',
288
+ date: "2024-07-03",
289
+ price: 17500,
290
+ quantity: 1,
291
+ orderStatus: 'Delivered',
292
+ slug: 'form-view'
293
+ },
294
+ {
295
+ id: '1029',
296
+ name: 'EMS for RH, T and DP in Clean Room Area',
297
+ image: 'bamboo-watch.jpg',
298
+ date: "2024-07-03",
299
+ price: 17500,
300
+ quantity: 1,
301
+ orderStatus: 'Delivered',
302
+ slug: 'form-view'
303
+ }
304
+ ];
305
+ },
306
+ // getDemosMini() {
307
+ // return Promise.resolve(this.getDemosData().slice(0, 5));
308
+ // },
309
+
310
+ // getDemosSmall() {
311
+ // return Promise.resolve(this.getDemosData().slice(0, 10));
312
+ // },
313
+
314
+ getDemos() {
315
+ return Promise.resolve(this.getDemosData());
316
+ },
317
+ };
@@ -0,0 +1,56 @@
1
+ "use client"
2
+ import Link from 'next/link';
3
+ import { Button } from 'primereact/button';
4
+ import { Column } from 'primereact/column';
5
+ import { DataTable } from 'primereact/datatable';
6
+ import { useEffect, useState } from 'react';
7
+
8
+ interface Menu {
9
+ id: string;
10
+ name: string;
11
+ tempField: string;
12
+ }
13
+
14
+ interface ColumnMeta {
15
+ field: string;
16
+ header: string;
17
+ }
18
+
19
+ interface Root {
20
+ data: any
21
+ }
22
+ export const DynamicTable = (props: Root) => {
23
+ const { data } = props;
24
+ const [menus, setMenus] = useState<Menu[]>([]);
25
+ const columns: ColumnMeta[] = [
26
+ { field: 'id', header: 'ID' },
27
+ { field: 'name', header: 'NAME' },
28
+ { field: 'tempField', header: 'TEMPFIELD' },
29
+ ];
30
+
31
+ useEffect(() => {
32
+ setMenus(data)
33
+ }, []);
34
+
35
+ const editBodyTemplate = (product: Menu) => {
36
+ return <div className='flex gap-4'>
37
+ <Link href={product.id} rel="noopener noreferrer" className="text-sm font-bold p-0" style={{ color: '#12415D' }}>
38
+ <svg className='opacity-50' xmlns="http://www.w3.org/2000/svg" width="12px" height="12px" fill="none" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path fill="#212134" fill-rule="evenodd" d="M23.604 3.514c.528.528.528 1.36 0 1.887l-2.622 2.607-4.99-4.99L18.6.396a1.322 1.322 0 0 1 1.887 0l3.118 3.118ZM0 24v-4.99l14.2-14.2 4.99 4.99L4.99 24H0Z" clip-rule="evenodd"></path></svg>
39
+ </Link>
40
+ <Button link onClick={() => console.log(product.id)} rel="noopener noreferrer" className="text-sm font-bold p-0" style={{ color: '#12415D' }}>
41
+ <svg className='opacity-50' xmlns="http://www.w3.org/2000/svg" width="12px" height="12px" fill="none" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path fill="#32324D" d="M3.236 6.149a.2.2 0 0 0-.197.233L6 24h12l2.96-17.618a.2.2 0 0 0-.196-.233H3.236ZM21.8 1.983c.11 0 .2.09.2.2v1.584a.2.2 0 0 1-.2.2H2.2a.2.2 0 0 1-.2-.2V2.183c0-.11.09-.2.2-.2h5.511c.9 0 1.631-1.09 1.631-1.983h5.316c0 .894.73 1.983 1.631 1.983H21.8Z"></path></svg>
42
+ </Button>
43
+ </div >
44
+ };
45
+
46
+ return (
47
+ <div className="card">
48
+ <DataTable size='small' className='text-sm' value={menus} tableStyle={{ minWidth: '50rem' }}>
49
+ {columns.map((col, i) => (
50
+ <Column key={col.field} field={col.field} header={col.header} />
51
+ ))}
52
+ <Column key={'edit'} field={"edit"} body={editBodyTemplate} style={{ maxWidth: 100 }} headerStyle={{ height: 40 }} />
53
+ </DataTable>
54
+ </div>
55
+ );
56
+ }
@@ -0,0 +1,155 @@
1
+ "use client"
2
+ import React, { useState, useEffect } from 'react';
3
+ import { DataTable, DataTableFilterMeta } from 'primereact/datatable';
4
+ import { Column, ColumnFilterElementTemplateOptions } from 'primereact/column';
5
+ import { DemoService } from './DemoData';
6
+ import { CustomTag } from '../Tag/CustomTag';
7
+ import { FilterMatchMode, FilterOperator } from 'primereact/api';
8
+ import { Dropdown, DropdownChangeEvent } from 'primereact/dropdown';
9
+ import { Calendar, CalendarViewChangeEvent } from 'primereact/calendar';
10
+ import { InputNumber, InputNumberChangeEvent } from 'primereact/inputnumber';
11
+ import { Button } from 'primereact/button';
12
+ import { FilterIcon } from '../modelsComponents/filterIcon';
13
+ const defaultFilters: DataTableFilterMeta = {
14
+ global: { value: null, matchMode: FilterMatchMode.CONTAINS },
15
+ name: {
16
+ operator: FilterOperator.AND,
17
+ constraints: [{ value: null, matchMode: FilterMatchMode.STARTS_WITH }],
18
+ },
19
+ date: {
20
+ operator: FilterOperator.AND,
21
+ constraints: [{ value: null, matchMode: FilterMatchMode.DATE_IS }],
22
+ },
23
+ price: {
24
+ operator: FilterOperator.AND,
25
+ constraints: [{ value: null, matchMode: FilterMatchMode.EQUALS }],
26
+ },
27
+ quantity: {
28
+ operator: FilterOperator.AND,
29
+ constraints: [{ value: null, matchMode: FilterMatchMode.EQUALS }],
30
+ },
31
+ orderStatus: {
32
+ operator: FilterOperator.OR,
33
+ constraints: [{ value: null, matchMode: FilterMatchMode.EQUALS }],
34
+ },
35
+ };
36
+ export interface Product {
37
+ id: string;
38
+ date: string;
39
+ name: string;
40
+ image: string;
41
+ price: number;
42
+ quantity: number;
43
+ orderStatus: string;
44
+ slug: string;
45
+ }
46
+ export const ListViewTable = () => {
47
+ const [products, setProducts] = useState<Product[]>([]);
48
+ const [filters, setFilters] = useState<DataTableFilterMeta>(defaultFilters);
49
+ const [selectedProducts, setSelectedProducts] = useState<Product[] | null>(null);
50
+ const [globalFilterValue, setGlobalFilterValue] = useState<string>('');
51
+ const [statuses] = useState<string[]>(['Delivered', 'On The Way', 'Cancelled', 'Returned']);
52
+ const clearFilter = () => {
53
+ initFilters();
54
+ };
55
+ const onGlobalFilterChange = (e: React.ChangeEvent<HTMLInputElement>) => {
56
+ const value = e.target.value;
57
+ let _filters = { ...filters };
58
+ // @ts-ignore
59
+ _filters['global'].value = value;
60
+ setFilters(_filters);
61
+ setGlobalFilterValue(value);
62
+ };
63
+ const initFilters = () => {
64
+ setFilters(defaultFilters);
65
+ setGlobalFilterValue('');
66
+ };
67
+ useEffect(() => {
68
+ DemoService.getDemos().then((data) => setProducts(data));
69
+ }, []);
70
+ const formatCurrency = (value: number) => {
71
+ return value.toLocaleString('en-IN', { style: 'currency', currency: 'INR', minimumFractionDigits: 0, maximumFractionDigits: 0 });
72
+ };
73
+ const priceBodyTemplate = (product: Product) => {
74
+ return formatCurrency(product.price);
75
+ };
76
+ const imageBodyTemplate = (product: Product) => {
77
+ return <img src={`https://primefaces.org/cdn/primereact/images/product/${product.image}`} alt={product.image} className="w-3rem shadow-2 border-round" />;
78
+ };
79
+ const statusBodyTemplate = (product: Product) => {
80
+ return <div>
81
+ <CustomTag className={''} value={product.orderStatus} severity={product.orderStatus} />
82
+ </div>
83
+ };
84
+ const detailsBodyTemplate = (product: Product) => {
85
+ return <a href={`${product.slug}`} rel="noopener noreferrer" className="text-sm font-bold p-0" style={{ color: '#12415D' }}>
86
+ View Details
87
+ </a>
88
+ };
89
+ const quantityBodyTemplate = (product: Product) => {
90
+ return <p className="text-sm m-0" style={{ color: '#197EF7' }}>
91
+ {product.quantity < 10 ? `0${product.quantity}` : product.quantity}
92
+ </p>
93
+ };
94
+ const statusItemTemplate = (option: string) => {
95
+ return <CustomTag className={''} value={option} severity={option} />;
96
+ };
97
+ const statusFilterTemplate = (options: ColumnFilterElementTemplateOptions) => {
98
+ return <Dropdown value={options.value} options={statuses} onChange={(e: DropdownChangeEvent) => options.filterCallback(e.value, options.index)} itemTemplate={statusItemTemplate} placeholder="Select One" className="p-column-filter" showClear />;
99
+ };
100
+ const formatDate = (value: Date) => {
101
+ return value.toLocaleDateString('en-IN', {
102
+ day: '2-digit',
103
+ month: '2-digit',
104
+ year: 'numeric'
105
+ });
106
+ };
107
+ const dateBodyTemplate = (rowData: Product) => {
108
+ return formatDate(new Date(rowData.date));
109
+ };
110
+ const dateFilterTemplate = (options: ColumnFilterElementTemplateOptions) => {
111
+ return <Calendar value={options.value} onChange={(e: any) => options.filterCallback(e.value, options.index)} dateFormat="mm/dd/yy" placeholder="mm/dd/yyyy" mask="99/99/9999" />;
112
+ };
113
+ const priceFilterTemplate = (options: ColumnFilterElementTemplateOptions) => {
114
+ return <InputNumber value={options.value} onChange={(e: InputNumberChangeEvent) => options.filterCallback(e.value, options.index)} mode="currency" currency="INR" locale="en-IN" />;
115
+ };
116
+ const quantityFilterTemplate = (options: ColumnFilterElementTemplateOptions) => {
117
+ return <InputNumber value={options.value} onChange={(e: InputNumberChangeEvent) => options.filterCallback(e.value, options.index)} />;
118
+ };
119
+ return (
120
+ <div className="">
121
+ <div className="form-wrapper-title mb-5">All</div>
122
+ <div className='flex gap-3 mb-3'>
123
+
124
+ {selectedProducts?.length ?
125
+ <div className='flex gap-3 mb-3'>
126
+ <p className='text-xs'>{selectedProducts.length} entry selected</p>
127
+ <Button severity="danger" label='Delete' size='small' outlined>
128
+ </Button>
129
+ </div>
130
+ : null
131
+ }
132
+ <Button type="button" icon="pi pi-filter-slash" label="Clear" size='small' outlined onClick={clearFilter} className='mb-3' />
133
+ </div>
134
+ <DataTable
135
+ value={products} tableStyle={{ minWidth: '60rem' }} size='small' paginator rows={10}
136
+ dataKey="id"
137
+ filters={filters} globalFilterFields={['name', 'orderStatus', 'price', "date"]}
138
+ emptyMessage="No Product found." onFilter={(e) => setFilters(e.filters)}
139
+ filterIcon={() => <FilterIcon />}
140
+ selectionMode={'checkbox'}
141
+ selection={selectedProducts|| []}
142
+ onSelectionChange={(e) => setSelectedProducts(e.value)}
143
+ >
144
+ <Column selectionMode="multiple" headerStyle={{ width: '4rem' }}></Column>
145
+ <Column header="Product Image" body={imageBodyTemplate}></Column>
146
+ <Column field="name" filter header="Product Name" className='text-sm' filterPlaceholder="Search by Product Name" ></Column>
147
+ <Column field="date" filterField="date" dataType="date" header="Date" className='text-sm' body={dateBodyTemplate} filter filterElement={dateFilterTemplate}></Column>
148
+ <Column header="Quantity" filterField="quantity" body={quantityBodyTemplate} filter filterElement={quantityFilterTemplate}></Column>
149
+ <Column field="price" filterField="price" dataType="numeric" header="Price" body={priceBodyTemplate} className='text-sm' filter filterElement={priceFilterTemplate} ></Column>
150
+ <Column field="orderStatus" header="Status" body={statusBodyTemplate} filter filterElement={statusFilterTemplate} ></Column>
151
+ <Column body={detailsBodyTemplate}></Column>
152
+ </DataTable>
153
+ </div>
154
+ )
155
+ }
@@ -0,0 +1,92 @@
1
+ import { FetchBaseQueryError } from '@reduxjs/toolkit/dist/query';
2
+ import { Toast } from 'primereact/toast';
3
+ import React, { useRef } from 'react';
4
+
5
+
6
+ interface ErrorResponseData {
7
+ message: string;
8
+ statusCode: number;
9
+ error: string;
10
+ }
11
+
12
+
13
+ let toastRef: React.MutableRefObject<Toast | null> | null = null;
14
+
15
+ export const ToastContainer = () => {
16
+ toastRef = useRef(null);
17
+
18
+ return <Toast ref={toastRef} />;
19
+ };
20
+
21
+ function isFetchBaseQueryErrorWithErrorResponse(error: any): error is FetchBaseQueryError & { data: ErrorResponseData } {
22
+ return error && typeof error === 'object' && 'data' in error && 'message' in error.data;
23
+ }
24
+ const extractErrorMessages = (errorObj: Record<string, string>): string[] => {
25
+ return Object.values(errorObj);
26
+ };
27
+
28
+
29
+ export const handleError = (errorToast: any) => {
30
+ let errorMessage: any = errorToast ? errorToast : ['An error occurred'];
31
+
32
+
33
+ if (typeof errorMessage == 'object') {
34
+ if (isFetchBaseQueryErrorWithErrorResponse(errorToast)) {
35
+ errorMessage = errorToast.data.message;
36
+ }
37
+ }
38
+ // if (isFetchBaseQueryErrorWithErrorResponse(errorToast)) {
39
+ // errorMessage = errorToast.data.message;
40
+ // } else {
41
+ // errorMessage = ['Something went wrong'];
42
+ // }
43
+
44
+ toastRef?.current?.show({
45
+ severity: 'error',
46
+ summary: 'Error',
47
+ detail: errorMessage,
48
+ life: 3000,
49
+ //@ts-ignore
50
+ content: (props) => (
51
+ <div className="flex flex-column align-items-left" style={{ flex: "1" }}>
52
+ {Array.isArray(errorMessage) ? (
53
+ errorMessage.map((message, index) => (
54
+ <div className="flex align-items-center gap-2" key={index}>
55
+ <span className="font-bold text-900">{message.trim()}</span>
56
+ </div>
57
+ ))
58
+ ) : (
59
+ <div className="flex align-items-center gap-2">
60
+ <span className="font-bold text-900">{errorMessage?.trim()}</span>
61
+ </div>
62
+ )}
63
+ </div>
64
+ ),
65
+ });
66
+ };
67
+
68
+ export const handleSuccess = (successMessage: any) => {
69
+
70
+ toastRef?.current?.show({
71
+ severity: 'error',
72
+ summary: 'Success',
73
+ detail: successMessage,
74
+ life: 3000,
75
+ //@ts-ignore
76
+ content: (props) => (
77
+ <div className="flex flex-column align-items-left" style={{ flex: "1" }}>
78
+ {Array.isArray(successMessage) ? (
79
+ successMessage.map((message, index) => (
80
+ <div className="flex align-items-center gap-2" key={index}>
81
+ <span className="font-bold text-900">{message.trim()}</span>
82
+ </div>
83
+ ))
84
+ ) : (
85
+ <div className="flex align-items-center gap-2">
86
+ <span className="font-bold text-900">{successMessage?.trim()}</span>
87
+ </div>
88
+ )}
89
+ </div>
90
+ ),
91
+ });
92
+ };
@@ -0,0 +1,19 @@
1
+ import { cookies } from "next/headers";
2
+
3
+ export const getAuthCookieName = () =>
4
+ process.env.NODE_ENV === "production"
5
+ ? "__Secure-next-auth.session-token"
6
+ : "next-auth.session-token";
7
+
8
+ export const getAuthHeader = () => {
9
+ const nextCookies = cookies();
10
+ const cookieName = getAuthCookieName();
11
+
12
+ const nextAuthSessionToken = nextCookies.get(cookieName);
13
+
14
+ return {
15
+ headers: {
16
+ Cookie: `${nextAuthSessionToken?.name}=${nextAuthSessionToken?.value}`,
17
+ },
18
+ };
19
+ };