@solidstarters/solid-core-ui 1.1.74 → 1.1.75

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 (650) hide show
  1. package/dist/components/common/FileReaderExt.js +1 -0
  2. package/dist/components/common/FileReaderExt.js.map +1 -1
  3. package/dist/components/common/GeneralSettings.js +1 -1
  4. package/dist/components/common/SolidAdmin.d.ts.map +1 -1
  5. package/dist/components/common/SolidAdmin.js +1 -0
  6. package/dist/components/common/SolidAdmin.js.map +1 -1
  7. package/dist/components/common/SolidThemeLink.d.ts.map +1 -1
  8. package/dist/components/common/SolidThemeLink.js +1 -0
  9. package/dist/components/common/SolidThemeLink.js.map +1 -1
  10. package/dist/components/core/chatter/SolidChatterDateDivider.js +1 -0
  11. package/dist/components/core/chatter/SolidChatterDateDivider.js.map +1 -1
  12. package/dist/components/core/chatter/SolidChatterHeader.d.ts.map +1 -1
  13. package/dist/components/core/chatter/SolidChatterHeader.js +4 -3
  14. package/dist/components/core/chatter/SolidChatterHeader.js.map +1 -1
  15. package/dist/components/core/chatter/SolidChatterMessageBox.d.ts.map +1 -1
  16. package/dist/components/core/chatter/SolidChatterMessageBox.js +7 -6
  17. package/dist/components/core/chatter/SolidChatterMessageBox.js.map +1 -1
  18. package/dist/components/core/common/SolidSaveCustomFilterForm.d.ts.map +1 -1
  19. package/dist/components/core/common/SolidSaveCustomFilterForm.js +1 -0
  20. package/dist/components/core/common/SolidSaveCustomFilterForm.js.map +1 -1
  21. package/dist/components/core/form/SolidFormActionHeader.d.ts.map +1 -1
  22. package/dist/components/core/form/SolidFormActionHeader.js +1 -0
  23. package/dist/components/core/form/SolidFormActionHeader.js.map +1 -1
  24. package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js +1 -1
  25. package/dist/components/core/list/columns/SolidDateColumn.js +1 -1
  26. package/dist/components/core/list/columns/SolidDateColumn.js.map +1 -1
  27. package/dist/components/core/list/columns/SolidDatetimeColumn.js +1 -1
  28. package/dist/components/core/list/columns/SolidDatetimeColumn.js.map +1 -1
  29. package/dist/components/core/list/columns/SolidExternalIdColumn.js +1 -1
  30. package/dist/components/core/list/columns/SolidExternalIdColumn.js.map +1 -1
  31. package/dist/components/core/list/columns/SolidIdColumn.js +1 -1
  32. package/dist/components/core/list/columns/SolidIdColumn.js.map +1 -1
  33. package/dist/components/core/list/columns/SolidIntColumn.js +1 -1
  34. package/dist/components/core/list/columns/SolidIntColumn.js.map +1 -1
  35. package/dist/components/core/list/columns/SolidRelationColumn.d.ts.map +1 -1
  36. package/dist/components/core/list/columns/SolidRelationColumn.js +2 -1
  37. package/dist/components/core/list/columns/SolidRelationColumn.js.map +1 -1
  38. package/dist/components/core/list/columns/SolidSelectionDynamicColumn.js +1 -1
  39. package/dist/components/core/list/columns/SolidSelectionDynamicColumn.js.map +1 -1
  40. package/dist/components/core/list/columns/SolidSelectionStaticColumn.js +1 -1
  41. package/dist/components/core/list/columns/SolidSelectionStaticColumn.js.map +1 -1
  42. package/dist/components/core/list/columns/SolidTimeColumn.js +1 -1
  43. package/dist/components/core/list/columns/SolidTimeColumn.js.map +1 -1
  44. package/dist/components/core/list/columns/SolidUuidColumn.js +1 -1
  45. package/dist/components/core/list/columns/SolidUuidColumn.js.map +1 -1
  46. package/dist/components/core/list/widgets/SolidRelationAvatarWidget.d.ts.map +1 -1
  47. package/dist/components/core/list/widgets/SolidRelationAvatarWidget.js +14 -13
  48. package/dist/components/core/list/widgets/SolidRelationAvatarWidget.js.map +1 -1
  49. package/dist/components/core/list/widgets/SolidShortTextAvatarWidget.d.ts.map +1 -1
  50. package/dist/components/core/list/widgets/SolidShortTextAvatarWidget.js +13 -12
  51. package/dist/components/core/list/widgets/SolidShortTextAvatarWidget.js.map +1 -1
  52. package/dist/components/core/module/CreateModule.d.ts.map +1 -1
  53. package/dist/components/core/module/CreateModule.js +0 -2
  54. package/dist/components/core/module/CreateModule.js.map +1 -1
  55. package/dist/declarations.d.ts +4 -1
  56. package/dist/helpers/registry.js +2 -1
  57. package/dist/helpers/registry.js.map +1 -1
  58. package/dist/types/solid-core.d.ts +1 -0
  59. package/package.json +1 -1
  60. package/src/declarations.d.ts +4 -1
  61. package/src/types/solid-core.d.ts +1 -0
  62. package/tsconfig.json +2 -1
  63. package/dist/components/CustomFooter/CustomFooter.tsx +0 -264
  64. package/dist/components/CustomFooter/FooterForm.tsx +0 -19
  65. package/dist/components/CustomHeader/CallIcon.tsx +0 -20
  66. package/dist/components/CustomHeader/CustomDropdown.tsx +0 -175
  67. package/dist/components/CustomHeader/CustomHeader.tsx +0 -64
  68. package/dist/components/CustomHeader/EmailIcon.tsx +0 -12
  69. package/dist/components/CustomHeader/HeaderCart.tsx +0 -15
  70. package/dist/components/CustomHeader/productNavData.tsx +0 -180
  71. package/dist/components/FormView/DetailsViews.tsx +0 -46
  72. package/dist/components/FormView/OrderAddressDetails.tsx +0 -70
  73. package/dist/components/FormView/OrderPaymentDetails.tsx +0 -18
  74. package/dist/components/FormView/OrderTableDetails.tsx +0 -36
  75. package/dist/components/FormView/OrderedProductDetail.tsx +0 -22
  76. package/dist/components/Svg/ExcelSvg.tsx +0 -15
  77. package/dist/components/Svg/FileSvg.tsx +0 -19
  78. package/dist/components/Svg/PDFSvg.tsx +0 -15
  79. package/dist/components/Svg/RightArrowSvg.tsx +0 -9
  80. package/dist/components/Tag/CustomTag.tsx +0 -50
  81. package/dist/components/auth/AuthLayout.tsx +0 -140
  82. package/dist/components/auth/ForgotPasswordThankYou.tsx +0 -48
  83. package/dist/components/auth/GoogleAuthChecking.tsx +0 -60
  84. package/dist/components/auth/Login.tsx +0 -155
  85. package/dist/components/auth/Register.tsx +0 -239
  86. package/dist/components/auth/SolidChangeForcePassword.tsx +0 -145
  87. package/dist/components/auth/SolidForgotPassword.tsx +0 -125
  88. package/dist/components/auth/SolidInitialLoginOtp.tsx +0 -152
  89. package/dist/components/auth/SolidInitiateRegisterOtp.tsx +0 -141
  90. package/dist/components/auth/SolidLogin.tsx +0 -275
  91. package/dist/components/auth/SolidOTPVerify.tsx +0 -132
  92. package/dist/components/auth/SolidRegister.tsx +0 -348
  93. package/dist/components/auth/SolidResetPassword.tsx +0 -162
  94. package/dist/components/common/AuthBanner.tsx +0 -41
  95. package/dist/components/common/AutoCompleteField.tsx +0 -76
  96. package/dist/components/common/BackButton.tsx +0 -27
  97. package/dist/components/common/CancelButton.tsx +0 -48
  98. package/dist/components/common/CodeEditor.tsx +0 -26
  99. package/dist/components/common/CreateButton.tsx +0 -17
  100. package/dist/components/common/DropzonePlaceholder.tsx +0 -31
  101. package/dist/components/common/DropzoneUpload.tsx +0 -11
  102. package/dist/components/common/FileReaderExt.tsx +0 -20
  103. package/dist/components/common/GeneralSettings.tsx +0 -414
  104. package/dist/components/common/HeaderDynamicTitles.tsx +0 -13
  105. package/dist/components/common/MarkdownViewer.tsx +0 -16
  106. package/dist/components/common/MultipleSelectAutoCompleteField.tsx +0 -62
  107. package/dist/components/common/NotFound.tsx +0 -22
  108. package/dist/components/common/SingleSelectAutoCompleteField.tsx +0 -67
  109. package/dist/components/common/SocialMediaLogin.tsx +0 -53
  110. package/dist/components/common/SolidAdmin.tsx +0 -7
  111. package/dist/components/common/SolidBreadcrumb.tsx +0 -105
  112. package/dist/components/common/SolidFormHeader.tsx +0 -22
  113. package/dist/components/common/SolidFormStepper.tsx +0 -213
  114. package/dist/components/common/SolidModuleHome.tsx +0 -61
  115. package/dist/components/common/SolidThemeLink.tsx +0 -5
  116. package/dist/components/common/SolidThemeProvider.tsx +0 -44
  117. package/dist/components/common/error.tsx +0 -30
  118. package/dist/components/core/chatter/SolidChatter.tsx +0 -252
  119. package/dist/components/core/chatter/SolidChatterDateDivider.tsx +0 -16
  120. package/dist/components/core/chatter/SolidChatterHeader.tsx +0 -178
  121. package/dist/components/core/chatter/SolidChatterMessageBox.tsx +0 -165
  122. package/dist/components/core/chatter/SolidMessageComposer.tsx +0 -145
  123. package/dist/components/core/common/FilterComponent.tsx +0 -434
  124. package/dist/components/core/common/LoadDynamicJsxComponent.tsx +0 -70
  125. package/dist/components/core/common/SolidCreateButton.tsx +0 -17
  126. package/dist/components/core/common/SolidGlobalSearchElement.tsx +0 -843
  127. package/dist/components/core/common/SolidLayoutViews.tsx +0 -87
  128. package/dist/components/core/common/SolidListViewOptions.tsx +0 -31
  129. package/dist/components/core/common/SolidSaveCustomFilterForm.tsx +0 -74
  130. package/dist/components/core/common/SolidSearchBox.tsx +0 -17
  131. package/dist/components/core/common/SolidViewLayoutManager.ts +0 -85
  132. package/dist/components/core/extension/solid-core/emailTemplate/emailFormTypeChangeHandler.ts +0 -18
  133. package/dist/components/core/extension/solid-core/emailTemplate/emailFormTypeLoad.ts +0 -18
  134. package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.tsx +0 -59
  135. package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.tsx +0 -38
  136. package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.tsx +0 -123
  137. package/dist/components/core/field/FieldListViewData.tsx +0 -312
  138. package/dist/components/core/filter/SolidFilterFields.tsx +0 -128
  139. package/dist/components/core/filter/SolidManyToOneFilterElement.tsx +0 -60
  140. package/dist/components/core/filter/SolidSelectionDynamicFilterElement.tsx +0 -50
  141. package/dist/components/core/filter/SolidSelectionStaticFilterElement.tsx +0 -32
  142. package/dist/components/core/filter/SolidVarInputsFilterElement.tsx +0 -180
  143. package/dist/components/core/filter/fields/SolidBigintField.tsx +0 -9
  144. package/dist/components/core/filter/fields/SolidBooleanField.tsx +0 -50
  145. package/dist/components/core/filter/fields/SolidComputedField.tsx +0 -23
  146. package/dist/components/core/filter/fields/SolidDateField.tsx +0 -58
  147. package/dist/components/core/filter/fields/SolidDatetimeField.tsx +0 -51
  148. package/dist/components/core/filter/fields/SolidDecimalField.tsx +0 -9
  149. package/dist/components/core/filter/fields/SolidExternalIdField.tsx +0 -46
  150. package/dist/components/core/filter/fields/SolidFloatField.tsx +0 -9
  151. package/dist/components/core/filter/fields/SolidIdField.tsx +0 -46
  152. package/dist/components/core/filter/fields/SolidIntField.tsx +0 -56
  153. package/dist/components/core/filter/fields/SolidLongTextField.tsx +0 -9
  154. package/dist/components/core/filter/fields/SolidMediaMultipleField.tsx +0 -54
  155. package/dist/components/core/filter/fields/SolidMediaSingleField.tsx +0 -56
  156. package/dist/components/core/filter/fields/SolidRelationField.tsx +0 -13
  157. package/dist/components/core/filter/fields/SolidRichTextField.tsx +0 -9
  158. package/dist/components/core/filter/fields/SolidSelectionDynamicField.tsx +0 -46
  159. package/dist/components/core/filter/fields/SolidSelectionStaticField.tsx +0 -48
  160. package/dist/components/core/filter/fields/SolidShortTextField.tsx +0 -54
  161. package/dist/components/core/filter/fields/SolidTimeField.tsx +0 -45
  162. package/dist/components/core/filter/fields/SolidUuidField.tsx +0 -45
  163. package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.tsx +0 -80
  164. package/dist/components/core/form/SolidFormActionHeader.tsx +0 -216
  165. package/dist/components/core/form/SolidFormLayouts.tsx +0 -104
  166. package/dist/components/core/form/SolidFormUserViewLayout.tsx +0 -85
  167. package/dist/components/core/form/SolidFormView.tsx +0 -1129
  168. package/dist/components/core/form/fields/ISolidField.tsx +0 -69
  169. package/dist/components/core/form/fields/SolidBooleanField.tsx +0 -269
  170. package/dist/components/core/form/fields/SolidDateField.tsx +0 -153
  171. package/dist/components/core/form/fields/SolidDateTimeField.tsx +0 -154
  172. package/dist/components/core/form/fields/SolidDecimalField.tsx +0 -155
  173. package/dist/components/core/form/fields/SolidEmailField.tsx +0 -168
  174. package/dist/components/core/form/fields/SolidIntegerField.tsx +0 -158
  175. package/dist/components/core/form/fields/SolidJsonField.tsx +0 -173
  176. package/dist/components/core/form/fields/SolidLongTextField.tsx +0 -161
  177. package/dist/components/core/form/fields/SolidMediaMultipleField.tsx +0 -639
  178. package/dist/components/core/form/fields/SolidMediaSingleField.tsx +0 -522
  179. package/dist/components/core/form/fields/SolidPasswordField.tsx +0 -187
  180. package/dist/components/core/form/fields/SolidRelationField.tsx +0 -54
  181. package/dist/components/core/form/fields/SolidRichTextField.tsx +0 -177
  182. package/dist/components/core/form/fields/SolidSelectionDynamicField.tsx +0 -204
  183. package/dist/components/core/form/fields/SolidSelectionStaticField.tsx +0 -272
  184. package/dist/components/core/form/fields/SolidShortTextField.tsx +0 -208
  185. package/dist/components/core/form/fields/SolidTimeField.tsx +0 -147
  186. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +0 -309
  187. package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +0 -291
  188. package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +0 -311
  189. package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.tsx +0 -33
  190. package/dist/components/core/form/fields/relations/widgets/helpers/useRelationEntityHandler.ts +0 -64
  191. package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.tsx +0 -46
  192. package/dist/components/core/form/widgets/CustomHtml.tsx +0 -19
  193. package/dist/components/core/kanban/KanbanBoard.tsx +0 -131
  194. package/dist/components/core/kanban/KanbanCard.tsx +0 -255
  195. package/dist/components/core/kanban/KanbanColumn.tsx +0 -139
  196. package/dist/components/core/kanban/KanbanUserViewLayout.tsx +0 -85
  197. package/dist/components/core/kanban/SolidKanbanView.tsx +0 -803
  198. package/dist/components/core/kanban/SolidKanbanViewConfigure.tsx +0 -146
  199. package/dist/components/core/kanban/SolidKanbanViewFields.tsx +0 -164
  200. package/dist/components/core/kanban/SolidManyToOneFilterElement.tsx +0 -59
  201. package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.tsx +0 -50
  202. package/dist/components/core/kanban/SolidSelectionStaticFilterElement.tsx +0 -32
  203. package/dist/components/core/kanban/SolidVarInputsFilterElement.tsx +0 -184
  204. package/dist/components/core/kanban/kanban-fields/SolidBigintKanbanField.tsx +0 -9
  205. package/dist/components/core/kanban/kanban-fields/SolidBooleanKanbanField.tsx +0 -13
  206. package/dist/components/core/kanban/kanban-fields/SolidComputedKanbanField.tsx +0 -23
  207. package/dist/components/core/kanban/kanban-fields/SolidDateKanbanField.tsx +0 -14
  208. package/dist/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.tsx +0 -13
  209. package/dist/components/core/kanban/kanban-fields/SolidDecimalKanbanField.tsx +0 -9
  210. package/dist/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.tsx +0 -12
  211. package/dist/components/core/kanban/kanban-fields/SolidFloatKanbanField.tsx +0 -9
  212. package/dist/components/core/kanban/kanban-fields/SolidIdKanbanField.tsx +0 -14
  213. package/dist/components/core/kanban/kanban-fields/SolidIntKanbanField.tsx +0 -20
  214. package/dist/components/core/kanban/kanban-fields/SolidLongTextKanbanField.tsx +0 -9
  215. package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.tsx +0 -136
  216. package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.tsx +0 -158
  217. package/dist/components/core/kanban/kanban-fields/SolidRelationKanbanField.tsx +0 -13
  218. package/dist/components/core/kanban/kanban-fields/SolidRichTextKanbanField.tsx +0 -9
  219. package/dist/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.tsx +0 -13
  220. package/dist/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.tsx +0 -14
  221. package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.tsx +0 -121
  222. package/dist/components/core/kanban/kanban-fields/SolidTimeKanbanField.tsx +0 -12
  223. package/dist/components/core/kanban/kanban-fields/SolidUuidKanbanField.tsx +0 -13
  224. package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.tsx +0 -16
  225. package/dist/components/core/list/ListViewRowActionPopup.tsx +0 -42
  226. package/dist/components/core/list/SolidEmptyListViewPlaceholder.tsx +0 -41
  227. package/dist/components/core/list/SolidListColumnSelector.tsx +0 -167
  228. package/dist/components/core/list/SolidListView.tsx +0 -981
  229. package/dist/components/core/list/SolidListViewColumn.tsx +0 -165
  230. package/dist/components/core/list/SolidListViewConfigure.tsx +0 -198
  231. package/dist/components/core/list/SolidListViewShimmerLoading.tsx +0 -77
  232. package/dist/components/core/list/SolidListingHeader.tsx +0 -42
  233. package/dist/components/core/list/SolidManyToOneFilterElement.tsx +0 -59
  234. package/dist/components/core/list/SolidSelectionDynamicFilterElement.tsx +0 -50
  235. package/dist/components/core/list/SolidSelectionStaticFilterElement.tsx +0 -32
  236. package/dist/components/core/list/SolidTableRowCell.tsx +0 -12
  237. package/dist/components/core/list/SolidVarInputsFilterElement.tsx +0 -184
  238. package/dist/components/core/list/columns/SolidBigintColumn.tsx +0 -9
  239. package/dist/components/core/list/columns/SolidBooleanColumn.tsx +0 -89
  240. package/dist/components/core/list/columns/SolidComputedColumn.tsx +0 -23
  241. package/dist/components/core/list/columns/SolidDateColumn.tsx +0 -90
  242. package/dist/components/core/list/columns/SolidDatetimeColumn.tsx +0 -79
  243. package/dist/components/core/list/columns/SolidDecimalColumn.tsx +0 -9
  244. package/dist/components/core/list/columns/SolidExternalIdColumn.tsx +0 -80
  245. package/dist/components/core/list/columns/SolidFloatColumn.tsx +0 -9
  246. package/dist/components/core/list/columns/SolidIdColumn.tsx +0 -79
  247. package/dist/components/core/list/columns/SolidIntColumn.tsx +0 -87
  248. package/dist/components/core/list/columns/SolidLongTextColumn.tsx +0 -9
  249. package/dist/components/core/list/columns/SolidMediaMultipleColumn.tsx +0 -100
  250. package/dist/components/core/list/columns/SolidMediaSingleColumn.tsx +0 -98
  251. package/dist/components/core/list/columns/SolidRelationColumn.tsx +0 -20
  252. package/dist/components/core/list/columns/SolidRichTextColumn.tsx +0 -9
  253. package/dist/components/core/list/columns/SolidSelectionDynamicColumn.tsx +0 -80
  254. package/dist/components/core/list/columns/SolidSelectionStaticColumn.tsx +0 -81
  255. package/dist/components/core/list/columns/SolidShortTextColumn.tsx +0 -103
  256. package/dist/components/core/list/columns/SolidTimeColumn.tsx +0 -78
  257. package/dist/components/core/list/columns/SolidUuidColumn.tsx +0 -79
  258. package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.tsx +0 -110
  259. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +0 -95
  260. package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.tsx +0 -111
  261. package/dist/components/core/list/widgets/SolidRelationAvatarWidget.tsx +0 -89
  262. package/dist/components/core/list/widgets/SolidShortTextAvatarWidget.tsx +0 -58
  263. package/dist/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.tsx +0 -21
  264. package/dist/components/core/model/CreateModel.tsx +0 -476
  265. package/dist/components/core/model/FieldMetaData.tsx +0 -193
  266. package/dist/components/core/model/FieldMetaDataForm.tsx +0 -3048
  267. package/dist/components/core/model/FieldSelector.tsx +0 -62
  268. package/dist/components/core/model/ModelListViewData.tsx +0 -383
  269. package/dist/components/core/model/ModelMetaData.tsx +0 -840
  270. package/dist/components/core/module/CreateModule.tsx +0 -620
  271. package/dist/components/core/module/ModuleListViewData.tsx +0 -429
  272. package/dist/components/core/users/CreateUser.tsx +0 -436
  273. package/dist/components/core/users/CreateUserRole.tsx +0 -211
  274. package/dist/components/core/users/UserListView.tsx +0 -374
  275. package/dist/components/layout/AdminLayout.tsx +0 -62
  276. package/dist/components/layout/AdminSidebar.tsx +0 -65
  277. package/dist/components/layout/AppConfig.tsx +0 -104
  278. package/dist/components/layout/AppSidebar.tsx +0 -225
  279. package/dist/components/layout/ButtonLoader.tsx +0 -7
  280. package/dist/components/layout/CustomPagination.tsx +0 -55
  281. package/dist/components/layout/DashboardHeader.tsx +0 -89
  282. package/dist/components/layout/FilterMenu.tsx +0 -122
  283. package/dist/components/layout/Footer.tsx +0 -13
  284. package/dist/components/layout/GlobalSearch.tsx +0 -37
  285. package/dist/components/layout/Header.tsx +0 -8
  286. package/dist/components/layout/Layout.tsx +0 -136
  287. package/dist/components/layout/ListingHeader.tsx +0 -204
  288. package/dist/components/layout/Loader.tsx +0 -16
  289. package/dist/components/layout/UserSidebar.tsx +0 -53
  290. package/dist/components/layout/context/layoutcontext.tsx +0 -52
  291. package/dist/components/layout/navbar-one.tsx +0 -258
  292. package/dist/components/layout/navbar-two-menu.tsx +0 -73
  293. package/dist/components/layout/navbar-two.tsx +0 -37
  294. package/dist/components/layout/user-profile-menu.tsx +0 -120
  295. package/dist/components/layout/user-profile.tsx +0 -7
  296. package/dist/components/modelsComponents/filterIcon.tsx +0 -9
  297. package/dist/components/tables/DemoData.tsx +0 -318
  298. package/dist/components/tables/DynamicTable.tsx +0 -56
  299. package/dist/components/tables/ListViewTable.tsx +0 -156
  300. package/dist/helpers/AppTitle.tsx +0 -12
  301. package/dist/helpers/ToastContainer.tsx +0 -93
  302. package/dist/helpers/authHeader.ts +0 -20
  303. package/dist/helpers/countries.tsx +0 -260
  304. package/dist/helpers/downloadMediaFile.tsx +0 -19
  305. package/dist/helpers/getAcceptedFileTypes.tsx +0 -22
  306. package/dist/helpers/getRandomColors.tsx +0 -68
  307. package/dist/helpers/helpers.ts +0 -40
  308. package/dist/helpers/menu.tsx +0 -670
  309. package/dist/helpers/permissions.ts +0 -19
  310. package/dist/helpers/registry.ts +0 -173
  311. package/dist/helpers/revalidate.ts +0 -7
  312. package/dist/index.ts +0 -642
  313. package/dist/nextAuth/authProviders.tsx +0 -221
  314. package/dist/nextAuth/refreshAccessToken.tsx +0 -27
  315. package/dist/redux/api/articleApi.ts +0 -55
  316. package/dist/redux/api/authApi.ts +0 -131
  317. package/dist/redux/api/automationApi.ts +0 -55
  318. package/dist/redux/api/categoryApi.tsx +0 -46
  319. package/dist/redux/api/cityApi.tsx +0 -56
  320. package/dist/redux/api/cmsBannerImageApi.tsx +0 -55
  321. package/dist/redux/api/countryApi.tsx +0 -56
  322. package/dist/redux/api/fetchBaseQuery.tsx +0 -15
  323. package/dist/redux/api/fieldApi.ts +0 -78
  324. package/dist/redux/api/mediaApi.ts +0 -55
  325. package/dist/redux/api/mediaStorageProviderApi.ts +0 -55
  326. package/dist/redux/api/menuApi.tsx +0 -55
  327. package/dist/redux/api/menuItemsApi.tsx +0 -56
  328. package/dist/redux/api/modelApi.ts +0 -77
  329. package/dist/redux/api/moduleApi.ts +0 -72
  330. package/dist/redux/api/orderAttributeApi.tsx +0 -37
  331. package/dist/redux/api/permissionApi.ts +0 -32
  332. package/dist/redux/api/pincodeApi.tsx +0 -56
  333. package/dist/redux/api/productData.tsx +0 -87
  334. package/dist/redux/api/radixExtraModelAttributeApi.tsx +0 -37
  335. package/dist/redux/api/radixModelMetadataApi.tsx +0 -62
  336. package/dist/redux/api/radixModelsApi.tsx +0 -64
  337. package/dist/redux/api/ratingApi.ts +0 -55
  338. package/dist/redux/api/reviewApi.ts +0 -55
  339. package/dist/redux/api/roleApi.ts +0 -58
  340. package/dist/redux/api/solidActionApi.ts +0 -66
  341. package/dist/redux/api/solidChatterMessageApi.ts +0 -30
  342. package/dist/redux/api/solidEntityApi.tsx +0 -110
  343. package/dist/redux/api/solidMenuApi.ts +0 -71
  344. package/dist/redux/api/solidSettingsApi.tsx +0 -55
  345. package/dist/redux/api/solidViewApi.ts +0 -73
  346. package/dist/redux/api/stateApi.tsx +0 -56
  347. package/dist/redux/api/tagApi.ts +0 -55
  348. package/dist/redux/api/tagGroupApi.tsx +0 -55
  349. package/dist/redux/api/testApi.ts +0 -21
  350. package/dist/redux/api/userApi.ts +0 -120
  351. package/dist/redux/features/authSlice.ts +0 -19
  352. package/dist/redux/features/dataViewSlice.ts +0 -26
  353. package/dist/redux/features/navbarSlice.ts +0 -21
  354. package/dist/redux/features/popupSlice.ts +0 -27
  355. package/dist/redux/features/themeSlice.ts +0 -17
  356. package/dist/redux/features/userSlice.ts +0 -28
  357. package/src/components/CustomFooter/CustomFooter.tsx +0 -264
  358. package/src/components/CustomFooter/FooterForm.tsx +0 -19
  359. package/src/components/CustomHeader/CallIcon.tsx +0 -20
  360. package/src/components/CustomHeader/CustomDropdown.tsx +0 -175
  361. package/src/components/CustomHeader/CustomHeader.tsx +0 -64
  362. package/src/components/CustomHeader/EmailIcon.tsx +0 -12
  363. package/src/components/CustomHeader/HeaderCart.tsx +0 -15
  364. package/src/components/CustomHeader/productNavData.tsx +0 -180
  365. package/src/components/FormView/DetailsViews.tsx +0 -46
  366. package/src/components/FormView/OrderAddressDetails.tsx +0 -70
  367. package/src/components/FormView/OrderPaymentDetails.tsx +0 -18
  368. package/src/components/FormView/OrderTableDetails.tsx +0 -36
  369. package/src/components/FormView/OrderedProductDetail.tsx +0 -22
  370. package/src/components/Svg/ExcelSvg.tsx +0 -15
  371. package/src/components/Svg/FileSvg.tsx +0 -19
  372. package/src/components/Svg/PDFSvg.tsx +0 -15
  373. package/src/components/Svg/RightArrowSvg.tsx +0 -9
  374. package/src/components/Tag/CustomTag.tsx +0 -50
  375. package/src/components/auth/AuthLayout.tsx +0 -140
  376. package/src/components/auth/ForgotPasswordThankYou.tsx +0 -48
  377. package/src/components/auth/GoogleAuthChecking.tsx +0 -60
  378. package/src/components/auth/Login.tsx +0 -155
  379. package/src/components/auth/Register.tsx +0 -239
  380. package/src/components/auth/SolidChangeForcePassword.tsx +0 -145
  381. package/src/components/auth/SolidForgotPassword.tsx +0 -125
  382. package/src/components/auth/SolidInitialLoginOtp.tsx +0 -152
  383. package/src/components/auth/SolidInitiateRegisterOtp.tsx +0 -141
  384. package/src/components/auth/SolidLogin.tsx +0 -275
  385. package/src/components/auth/SolidOTPVerify.tsx +0 -132
  386. package/src/components/auth/SolidRegister.tsx +0 -348
  387. package/src/components/auth/SolidResetPassword.tsx +0 -162
  388. package/src/components/common/AuthBanner.tsx +0 -41
  389. package/src/components/common/AutoCompleteField.tsx +0 -76
  390. package/src/components/common/BackButton.tsx +0 -27
  391. package/src/components/common/CancelButton.tsx +0 -48
  392. package/src/components/common/CodeEditor.tsx +0 -26
  393. package/src/components/common/CreateButton.tsx +0 -17
  394. package/src/components/common/DropzonePlaceholder.tsx +0 -31
  395. package/src/components/common/DropzoneUpload.tsx +0 -11
  396. package/src/components/common/FileReaderExt.tsx +0 -20
  397. package/src/components/common/GeneralSettings.tsx +0 -414
  398. package/src/components/common/HeaderDynamicTitles.tsx +0 -13
  399. package/src/components/common/MarkdownViewer.tsx +0 -16
  400. package/src/components/common/MultipleSelectAutoCompleteField.tsx +0 -62
  401. package/src/components/common/NotFound.tsx +0 -22
  402. package/src/components/common/SingleSelectAutoCompleteField.tsx +0 -67
  403. package/src/components/common/SocialMediaLogin.tsx +0 -53
  404. package/src/components/common/SolidAdmin.tsx +0 -7
  405. package/src/components/common/SolidBreadcrumb.tsx +0 -105
  406. package/src/components/common/SolidFormHeader.tsx +0 -22
  407. package/src/components/common/SolidFormStepper.tsx +0 -213
  408. package/src/components/common/SolidModuleHome.tsx +0 -61
  409. package/src/components/common/SolidThemeLink.tsx +0 -5
  410. package/src/components/common/SolidThemeProvider.tsx +0 -44
  411. package/src/components/common/error.tsx +0 -30
  412. package/src/components/core/chatter/SolidChatter.tsx +0 -252
  413. package/src/components/core/chatter/SolidChatterDateDivider.tsx +0 -16
  414. package/src/components/core/chatter/SolidChatterHeader.tsx +0 -178
  415. package/src/components/core/chatter/SolidChatterMessageBox.tsx +0 -165
  416. package/src/components/core/chatter/SolidMessageComposer.tsx +0 -145
  417. package/src/components/core/common/FilterComponent.tsx +0 -434
  418. package/src/components/core/common/LoadDynamicJsxComponent.tsx +0 -70
  419. package/src/components/core/common/SolidCreateButton.tsx +0 -17
  420. package/src/components/core/common/SolidGlobalSearchElement.tsx +0 -843
  421. package/src/components/core/common/SolidLayoutViews.tsx +0 -87
  422. package/src/components/core/common/SolidListViewOptions.tsx +0 -31
  423. package/src/components/core/common/SolidSaveCustomFilterForm.tsx +0 -74
  424. package/src/components/core/common/SolidSearchBox.tsx +0 -17
  425. package/src/components/core/common/SolidViewLayoutManager.ts +0 -85
  426. package/src/components/core/extension/solid-core/emailTemplate/emailFormTypeChangeHandler.ts +0 -18
  427. package/src/components/core/extension/solid-core/emailTemplate/emailFormTypeLoad.ts +0 -18
  428. package/src/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.tsx +0 -59
  429. package/src/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.tsx +0 -38
  430. package/src/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.tsx +0 -123
  431. package/src/components/core/field/FieldListViewData.tsx +0 -312
  432. package/src/components/core/filter/SolidFilterFields.tsx +0 -128
  433. package/src/components/core/filter/SolidManyToOneFilterElement.tsx +0 -60
  434. package/src/components/core/filter/SolidSelectionDynamicFilterElement.tsx +0 -50
  435. package/src/components/core/filter/SolidSelectionStaticFilterElement.tsx +0 -32
  436. package/src/components/core/filter/SolidVarInputsFilterElement.tsx +0 -180
  437. package/src/components/core/filter/fields/SolidBigintField.tsx +0 -9
  438. package/src/components/core/filter/fields/SolidBooleanField.tsx +0 -50
  439. package/src/components/core/filter/fields/SolidComputedField.tsx +0 -23
  440. package/src/components/core/filter/fields/SolidDateField.tsx +0 -58
  441. package/src/components/core/filter/fields/SolidDatetimeField.tsx +0 -51
  442. package/src/components/core/filter/fields/SolidDecimalField.tsx +0 -9
  443. package/src/components/core/filter/fields/SolidExternalIdField.tsx +0 -46
  444. package/src/components/core/filter/fields/SolidFloatField.tsx +0 -9
  445. package/src/components/core/filter/fields/SolidIdField.tsx +0 -46
  446. package/src/components/core/filter/fields/SolidIntField.tsx +0 -56
  447. package/src/components/core/filter/fields/SolidLongTextField.tsx +0 -9
  448. package/src/components/core/filter/fields/SolidMediaMultipleField.tsx +0 -54
  449. package/src/components/core/filter/fields/SolidMediaSingleField.tsx +0 -56
  450. package/src/components/core/filter/fields/SolidRelationField.tsx +0 -13
  451. package/src/components/core/filter/fields/SolidRichTextField.tsx +0 -9
  452. package/src/components/core/filter/fields/SolidSelectionDynamicField.tsx +0 -46
  453. package/src/components/core/filter/fields/SolidSelectionStaticField.tsx +0 -48
  454. package/src/components/core/filter/fields/SolidShortTextField.tsx +0 -54
  455. package/src/components/core/filter/fields/SolidTimeField.tsx +0 -45
  456. package/src/components/core/filter/fields/SolidUuidField.tsx +0 -45
  457. package/src/components/core/filter/fields/relations/SolidRelationManyToOneField.tsx +0 -80
  458. package/src/components/core/form/SolidFormActionHeader.tsx +0 -216
  459. package/src/components/core/form/SolidFormLayouts.tsx +0 -104
  460. package/src/components/core/form/SolidFormUserViewLayout.tsx +0 -85
  461. package/src/components/core/form/SolidFormView.tsx +0 -1129
  462. package/src/components/core/form/fields/ISolidField.tsx +0 -69
  463. package/src/components/core/form/fields/SolidBooleanField.tsx +0 -269
  464. package/src/components/core/form/fields/SolidDateField.tsx +0 -153
  465. package/src/components/core/form/fields/SolidDateTimeField.tsx +0 -154
  466. package/src/components/core/form/fields/SolidDecimalField.tsx +0 -155
  467. package/src/components/core/form/fields/SolidEmailField.tsx +0 -168
  468. package/src/components/core/form/fields/SolidIntegerField.tsx +0 -158
  469. package/src/components/core/form/fields/SolidJsonField.tsx +0 -173
  470. package/src/components/core/form/fields/SolidLongTextField.tsx +0 -161
  471. package/src/components/core/form/fields/SolidMediaMultipleField.tsx +0 -639
  472. package/src/components/core/form/fields/SolidMediaSingleField.tsx +0 -522
  473. package/src/components/core/form/fields/SolidPasswordField.tsx +0 -187
  474. package/src/components/core/form/fields/SolidRelationField.tsx +0 -54
  475. package/src/components/core/form/fields/SolidRichTextField.tsx +0 -177
  476. package/src/components/core/form/fields/SolidSelectionDynamicField.tsx +0 -204
  477. package/src/components/core/form/fields/SolidSelectionStaticField.tsx +0 -272
  478. package/src/components/core/form/fields/SolidShortTextField.tsx +0 -208
  479. package/src/components/core/form/fields/SolidTimeField.tsx +0 -147
  480. package/src/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +0 -309
  481. package/src/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +0 -291
  482. package/src/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +0 -311
  483. package/src/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.tsx +0 -33
  484. package/src/components/core/form/fields/relations/widgets/helpers/useRelationEntityHandler.ts +0 -64
  485. package/src/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.tsx +0 -46
  486. package/src/components/core/form/widgets/CustomHtml.tsx +0 -19
  487. package/src/components/core/kanban/KanbanBoard.tsx +0 -131
  488. package/src/components/core/kanban/KanbanCard.tsx +0 -255
  489. package/src/components/core/kanban/KanbanColumn.tsx +0 -139
  490. package/src/components/core/kanban/KanbanUserViewLayout.tsx +0 -85
  491. package/src/components/core/kanban/SolidKanbanView.tsx +0 -803
  492. package/src/components/core/kanban/SolidKanbanViewConfigure.tsx +0 -146
  493. package/src/components/core/kanban/SolidKanbanViewFields.tsx +0 -164
  494. package/src/components/core/kanban/SolidManyToOneFilterElement.tsx +0 -59
  495. package/src/components/core/kanban/SolidSelectionDynamicFilterElement.tsx +0 -50
  496. package/src/components/core/kanban/SolidSelectionStaticFilterElement.tsx +0 -32
  497. package/src/components/core/kanban/SolidVarInputsFilterElement.tsx +0 -184
  498. package/src/components/core/kanban/kanban-fields/SolidBigintKanbanField.tsx +0 -9
  499. package/src/components/core/kanban/kanban-fields/SolidBooleanKanbanField.tsx +0 -13
  500. package/src/components/core/kanban/kanban-fields/SolidComputedKanbanField.tsx +0 -23
  501. package/src/components/core/kanban/kanban-fields/SolidDateKanbanField.tsx +0 -14
  502. package/src/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.tsx +0 -13
  503. package/src/components/core/kanban/kanban-fields/SolidDecimalKanbanField.tsx +0 -9
  504. package/src/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.tsx +0 -12
  505. package/src/components/core/kanban/kanban-fields/SolidFloatKanbanField.tsx +0 -9
  506. package/src/components/core/kanban/kanban-fields/SolidIdKanbanField.tsx +0 -14
  507. package/src/components/core/kanban/kanban-fields/SolidIntKanbanField.tsx +0 -20
  508. package/src/components/core/kanban/kanban-fields/SolidLongTextKanbanField.tsx +0 -9
  509. package/src/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.tsx +0 -136
  510. package/src/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.tsx +0 -158
  511. package/src/components/core/kanban/kanban-fields/SolidRelationKanbanField.tsx +0 -13
  512. package/src/components/core/kanban/kanban-fields/SolidRichTextKanbanField.tsx +0 -9
  513. package/src/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.tsx +0 -13
  514. package/src/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.tsx +0 -14
  515. package/src/components/core/kanban/kanban-fields/SolidShortTextKanbanField.tsx +0 -121
  516. package/src/components/core/kanban/kanban-fields/SolidTimeKanbanField.tsx +0 -12
  517. package/src/components/core/kanban/kanban-fields/SolidUuidKanbanField.tsx +0 -13
  518. package/src/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.tsx +0 -16
  519. package/src/components/core/list/ListViewRowActionPopup.tsx +0 -42
  520. package/src/components/core/list/SolidEmptyListViewPlaceholder.tsx +0 -41
  521. package/src/components/core/list/SolidListColumnSelector.tsx +0 -167
  522. package/src/components/core/list/SolidListView.tsx +0 -981
  523. package/src/components/core/list/SolidListViewColumn.tsx +0 -165
  524. package/src/components/core/list/SolidListViewConfigure.tsx +0 -198
  525. package/src/components/core/list/SolidListViewShimmerLoading.tsx +0 -77
  526. package/src/components/core/list/SolidListingHeader.tsx +0 -42
  527. package/src/components/core/list/SolidManyToOneFilterElement.tsx +0 -59
  528. package/src/components/core/list/SolidSelectionDynamicFilterElement.tsx +0 -50
  529. package/src/components/core/list/SolidSelectionStaticFilterElement.tsx +0 -32
  530. package/src/components/core/list/SolidTableRowCell.tsx +0 -12
  531. package/src/components/core/list/SolidVarInputsFilterElement.tsx +0 -184
  532. package/src/components/core/list/columns/SolidBigintColumn.tsx +0 -9
  533. package/src/components/core/list/columns/SolidBooleanColumn.tsx +0 -89
  534. package/src/components/core/list/columns/SolidComputedColumn.tsx +0 -23
  535. package/src/components/core/list/columns/SolidDateColumn.tsx +0 -90
  536. package/src/components/core/list/columns/SolidDatetimeColumn.tsx +0 -79
  537. package/src/components/core/list/columns/SolidDecimalColumn.tsx +0 -9
  538. package/src/components/core/list/columns/SolidExternalIdColumn.tsx +0 -80
  539. package/src/components/core/list/columns/SolidFloatColumn.tsx +0 -9
  540. package/src/components/core/list/columns/SolidIdColumn.tsx +0 -79
  541. package/src/components/core/list/columns/SolidIntColumn.tsx +0 -87
  542. package/src/components/core/list/columns/SolidLongTextColumn.tsx +0 -9
  543. package/src/components/core/list/columns/SolidMediaMultipleColumn.tsx +0 -100
  544. package/src/components/core/list/columns/SolidMediaSingleColumn.tsx +0 -98
  545. package/src/components/core/list/columns/SolidRelationColumn.tsx +0 -20
  546. package/src/components/core/list/columns/SolidRichTextColumn.tsx +0 -9
  547. package/src/components/core/list/columns/SolidSelectionDynamicColumn.tsx +0 -80
  548. package/src/components/core/list/columns/SolidSelectionStaticColumn.tsx +0 -81
  549. package/src/components/core/list/columns/SolidShortTextColumn.tsx +0 -103
  550. package/src/components/core/list/columns/SolidTimeColumn.tsx +0 -78
  551. package/src/components/core/list/columns/SolidUuidColumn.tsx +0 -79
  552. package/src/components/core/list/columns/relations/SolidRelationManyToManyColumn.tsx +0 -110
  553. package/src/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +0 -95
  554. package/src/components/core/list/columns/relations/SolidRelationOneToManyColumn.tsx +0 -111
  555. package/src/components/core/list/widgets/SolidRelationAvatarWidget.tsx +0 -89
  556. package/src/components/core/list/widgets/SolidShortTextAvatarWidget.tsx +0 -58
  557. package/src/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.tsx +0 -21
  558. package/src/components/core/model/CreateModel.tsx +0 -476
  559. package/src/components/core/model/FieldMetaData.tsx +0 -193
  560. package/src/components/core/model/FieldMetaDataForm.tsx +0 -3048
  561. package/src/components/core/model/FieldSelector.tsx +0 -62
  562. package/src/components/core/model/ModelListViewData.tsx +0 -383
  563. package/src/components/core/model/ModelMetaData.tsx +0 -840
  564. package/src/components/core/module/CreateModule.tsx +0 -620
  565. package/src/components/core/module/ModuleListViewData.tsx +0 -429
  566. package/src/components/core/users/CreateUser.tsx +0 -436
  567. package/src/components/core/users/CreateUserRole.tsx +0 -211
  568. package/src/components/core/users/UserListView.tsx +0 -374
  569. package/src/components/layout/AdminLayout.tsx +0 -62
  570. package/src/components/layout/AdminSidebar.tsx +0 -65
  571. package/src/components/layout/AppConfig.tsx +0 -104
  572. package/src/components/layout/AppSidebar.tsx +0 -225
  573. package/src/components/layout/ButtonLoader.tsx +0 -7
  574. package/src/components/layout/CustomPagination.tsx +0 -55
  575. package/src/components/layout/DashboardHeader.tsx +0 -89
  576. package/src/components/layout/FilterMenu.tsx +0 -122
  577. package/src/components/layout/Footer.tsx +0 -13
  578. package/src/components/layout/GlobalSearch.tsx +0 -37
  579. package/src/components/layout/Header.tsx +0 -8
  580. package/src/components/layout/Layout.tsx +0 -136
  581. package/src/components/layout/ListingHeader.tsx +0 -204
  582. package/src/components/layout/Loader.tsx +0 -16
  583. package/src/components/layout/UserSidebar.tsx +0 -53
  584. package/src/components/layout/context/layoutcontext.tsx +0 -52
  585. package/src/components/layout/navbar-one.tsx +0 -258
  586. package/src/components/layout/navbar-two-menu.tsx +0 -73
  587. package/src/components/layout/navbar-two.tsx +0 -37
  588. package/src/components/layout/user-profile-menu.tsx +0 -120
  589. package/src/components/layout/user-profile.tsx +0 -7
  590. package/src/components/modelsComponents/filterIcon.tsx +0 -9
  591. package/src/components/tables/DemoData.tsx +0 -318
  592. package/src/components/tables/DynamicTable.tsx +0 -56
  593. package/src/components/tables/ListViewTable.tsx +0 -156
  594. package/src/helpers/AppTitle.tsx +0 -12
  595. package/src/helpers/ToastContainer.tsx +0 -93
  596. package/src/helpers/authHeader.ts +0 -20
  597. package/src/helpers/countries.tsx +0 -260
  598. package/src/helpers/downloadMediaFile.tsx +0 -19
  599. package/src/helpers/getAcceptedFileTypes.tsx +0 -22
  600. package/src/helpers/getRandomColors.tsx +0 -68
  601. package/src/helpers/helpers.ts +0 -40
  602. package/src/helpers/menu.tsx +0 -670
  603. package/src/helpers/permissions.ts +0 -19
  604. package/src/helpers/registry.ts +0 -173
  605. package/src/helpers/revalidate.ts +0 -7
  606. package/src/index.ts +0 -642
  607. package/src/nextAuth/authProviders.tsx +0 -221
  608. package/src/nextAuth/refreshAccessToken.tsx +0 -27
  609. package/src/redux/api/articleApi.ts +0 -55
  610. package/src/redux/api/authApi.ts +0 -131
  611. package/src/redux/api/automationApi.ts +0 -55
  612. package/src/redux/api/categoryApi.tsx +0 -46
  613. package/src/redux/api/cityApi.tsx +0 -56
  614. package/src/redux/api/cmsBannerImageApi.tsx +0 -55
  615. package/src/redux/api/countryApi.tsx +0 -56
  616. package/src/redux/api/fetchBaseQuery.tsx +0 -15
  617. package/src/redux/api/fieldApi.ts +0 -78
  618. package/src/redux/api/mediaApi.ts +0 -55
  619. package/src/redux/api/mediaStorageProviderApi.ts +0 -55
  620. package/src/redux/api/menuApi.tsx +0 -55
  621. package/src/redux/api/menuItemsApi.tsx +0 -56
  622. package/src/redux/api/modelApi.ts +0 -77
  623. package/src/redux/api/moduleApi.ts +0 -72
  624. package/src/redux/api/orderAttributeApi.tsx +0 -37
  625. package/src/redux/api/permissionApi.ts +0 -32
  626. package/src/redux/api/pincodeApi.tsx +0 -56
  627. package/src/redux/api/productData.tsx +0 -87
  628. package/src/redux/api/radixExtraModelAttributeApi.tsx +0 -37
  629. package/src/redux/api/radixModelMetadataApi.tsx +0 -62
  630. package/src/redux/api/radixModelsApi.tsx +0 -64
  631. package/src/redux/api/ratingApi.ts +0 -55
  632. package/src/redux/api/reviewApi.ts +0 -55
  633. package/src/redux/api/roleApi.ts +0 -58
  634. package/src/redux/api/solidActionApi.ts +0 -66
  635. package/src/redux/api/solidChatterMessageApi.ts +0 -30
  636. package/src/redux/api/solidEntityApi.tsx +0 -110
  637. package/src/redux/api/solidMenuApi.ts +0 -71
  638. package/src/redux/api/solidSettingsApi.tsx +0 -55
  639. package/src/redux/api/solidViewApi.ts +0 -73
  640. package/src/redux/api/stateApi.tsx +0 -56
  641. package/src/redux/api/tagApi.ts +0 -55
  642. package/src/redux/api/tagGroupApi.tsx +0 -55
  643. package/src/redux/api/testApi.ts +0 -21
  644. package/src/redux/api/userApi.ts +0 -120
  645. package/src/redux/features/authSlice.ts +0 -19
  646. package/src/redux/features/dataViewSlice.ts +0 -26
  647. package/src/redux/features/navbarSlice.ts +0 -21
  648. package/src/redux/features/popupSlice.ts +0 -27
  649. package/src/redux/features/themeSlice.ts +0 -17
  650. package/src/redux/features/userSlice.ts +0 -28
@@ -1,15 +0,0 @@
1
- import React from 'react'
2
- interface MediaProps {
3
- size?: any
4
- }
5
- export const ExcelSvg = (props: MediaProps) => {
6
- const { size } = props;
7
- return (
8
- <svg width={size ? size : 80} height={size ? size : 80} viewBox="0 0 80 80" fill="none" xmlns="http://www.w3.org/2000/svg">
9
- <path d="M15 10.4147V10.4146C14.9999 5.29959 19.6888 1 25.3892 1H53.5858L77 24.4142V69.5852C77 74.7288 72.5287 78.9999 66.8806 78.9999H25.1406C19.47 78.9999 15 74.7276 15 69.5852V10.4147Z" fill="white" stroke="#DBDBDB" stroke-width="2" />
10
- <path d="M54.0513 16.32V0L78 24H62.0342C54.8496 24 53.7187 18.88 54.0513 16.32Z" fill="#D4D4D8" />
11
- <rect x="2" y="38" width="51" height="30" rx="6" fill="#079455" />
12
- <path d="M13.7955 46.9091L16.4354 51.3707H16.5376L19.1903 46.9091H22.3161L18.321 53.4545L22.4055 60H19.2223L16.5376 55.532H16.4354L13.7507 60H10.5803L14.6776 53.4545L10.657 46.9091H13.7955ZM24.0675 60V46.9091H26.8352V57.718H32.4474V60H24.0675ZM41.3819 50.674C41.3308 50.1584 41.1113 49.7578 40.7235 49.4723C40.3358 49.1868 39.8095 49.044 39.1447 49.044C38.693 49.044 38.3116 49.108 38.0005 49.2358C37.6895 49.3594 37.4508 49.532 37.2846 49.7536C37.1227 49.9751 37.0417 50.2266 37.0417 50.5078C37.0332 50.7422 37.0822 50.9467 37.1887 51.1214C37.2995 51.2962 37.4508 51.4474 37.6426 51.5753C37.8343 51.6989 38.0559 51.8075 38.3074 51.9013C38.5588 51.9908 38.8272 52.0675 39.1127 52.1314L40.2889 52.4126C40.8599 52.5405 41.3841 52.7109 41.8613 52.924C42.3386 53.1371 42.752 53.3991 43.1014 53.7102C43.4508 54.0213 43.7214 54.3878 43.9132 54.8097C44.1092 55.2315 44.2093 55.7152 44.2136 56.2607C44.2093 57.0618 44.0048 57.7564 43.6 58.3445C43.1994 58.9283 42.6199 59.3821 41.8613 59.706C41.1071 60.0256 40.1973 60.1854 39.1319 60.1854C38.0751 60.1854 37.1547 60.0234 36.3706 59.6996C35.5907 59.3757 34.9814 58.8963 34.5424 58.2614C34.1078 57.6222 33.8798 56.8317 33.8585 55.8899H36.5368C36.5666 56.3288 36.6923 56.6953 36.9139 56.9893C37.1397 57.2791 37.4402 57.4986 37.8152 57.6477C38.1944 57.7926 38.6227 57.8651 39.1 57.8651C39.5687 57.8651 39.9757 57.7969 40.3208 57.6605C40.6703 57.5241 40.9409 57.3345 41.1326 57.0916C41.3244 56.8487 41.4203 56.5696 41.4203 56.2543C41.4203 55.9602 41.3329 55.7131 41.1582 55.5128C40.9877 55.3125 40.7363 55.142 40.4039 55.0014C40.0758 54.8608 39.6731 54.733 39.1958 54.6179L37.7704 54.2599C36.6667 53.9915 35.7953 53.5717 35.1561 53.0007C34.5169 52.4297 34.1994 51.6605 34.2037 50.6932C34.1994 49.9006 34.4103 49.2081 34.8365 48.6158C35.2669 48.0234 35.8571 47.5611 36.6071 47.2287C37.3571 46.8963 38.2093 46.7301 39.1639 46.7301C40.1355 46.7301 40.9835 46.8963 41.7079 47.2287C42.4366 47.5611 43.0034 48.0234 43.4082 48.6158C43.813 49.2081 44.0218 49.8942 44.0346 50.674H41.3819Z" fill="white" />
13
- </svg>
14
- )
15
- }
@@ -1,19 +0,0 @@
1
- import * as React from "react"
2
- import { SVGProps } from "react"
3
- const FileSvg = (props: SVGProps<SVGSVGElement>) => (
4
- <svg
5
- xmlns="http://www.w3.org/2000/svg"
6
- width={64}
7
- height={64}
8
- fill="none"
9
- {...props}
10
- className="solid-file-reader"
11
- >
12
- <path
13
- fill="#F9F0FF"
14
- d="M36.03 25.291a2 2 0 0 1-2-2V6.271H16a6 6 0 0 0-6 6v40.08a6 6 0 0 0 6 6h31.06a6.01 6.01 0 0 0 6-6v-27.06H36.03Z"
15
- />
16
- <path fill="#722ED1" d="M51.88 21.291 38.03 7.441v13.85h13.85Z" />
17
- </svg>
18
- )
19
- export default FileSvg
@@ -1,15 +0,0 @@
1
- import React from 'react'
2
- interface MediaProps {
3
- size?: any
4
- }
5
- export const PDFSvg = (props: MediaProps) => {
6
- const { size } = props;
7
- return (
8
- <svg width={size ? size : 80} height={size ? size : 80} viewBox="0 0 80 80" fill="none" xmlns="http://www.w3.org/2000/svg">
9
- <path d="M15 10.4147V10.4146C14.9999 5.29959 19.6888 1 25.3892 1H53.5858L77 24.4142V69.5852C77 74.7288 72.5287 78.9999 66.8806 78.9999H25.1406C19.47 78.9999 15 74.7276 15 69.5852V10.4147Z" fill="white" stroke="#DBDBDB" stroke-width="2" />
10
- <path d="M54.0513 16.32V0L78 24H62.0342C54.8496 24 53.7187 18.88 54.0513 16.32Z" fill="#D4D4D8" />
11
- <rect x="2" y="38" width="52" height="30" rx="6" fill="#E62E05" />
12
- <path d="M11.4718 60V46.9091H16.6365C17.6294 46.9091 18.4753 47.0987 19.1742 47.478C19.873 47.853 20.4057 48.375 20.7722 49.044C21.1429 49.7088 21.3283 50.4759 21.3283 51.3452C21.3283 52.2145 21.1408 52.9815 20.7658 53.6463C20.3908 54.3111 19.8475 54.8288 19.1358 55.1996C18.4284 55.5703 17.5719 55.7557 16.5662 55.7557H13.2743V53.5376H16.1188C16.6515 53.5376 17.0904 53.446 17.4355 53.2628C17.785 53.0753 18.0449 52.8175 18.2154 52.4893C18.3901 52.157 18.4775 51.7756 18.4775 51.3452C18.4775 50.9105 18.3901 50.5312 18.2154 50.2074C18.0449 49.8793 17.785 49.6257 17.4355 49.4467C17.0861 49.2635 16.6429 49.1719 16.106 49.1719H14.2395V60H11.4718ZM23.1261 60V46.9091H28.2908C29.2837 46.9091 30.1296 47.0987 30.8285 47.478C31.5273 47.853 32.06 48.375 32.4265 49.044C32.7972 49.7088 32.9826 50.4759 32.9826 51.3452C32.9826 52.2145 32.7951 52.9815 32.4201 53.6463C32.0451 54.3111 31.5018 54.8288 30.7901 55.1996C30.0827 55.5703 29.2262 55.7557 28.2205 55.7557H24.9286V53.5376H27.7731C28.3058 53.5376 28.7447 53.446 29.0898 53.2628C29.4393 53.0753 29.6992 52.8175 29.8697 52.4893C30.0444 52.157 30.1317 51.7756 30.1317 51.3452C30.1317 50.9105 30.0444 50.5312 29.8697 50.2074C29.6992 49.8793 29.4393 49.6257 29.0898 49.4467C28.7404 49.2635 28.2972 49.1719 27.7603 49.1719H25.8938V60H23.1261ZM34.2818 49.1911V46.9091H45.0332V49.1911H41.0254V60H38.2896V49.1911H34.2818Z" fill="white" />
13
- </svg>
14
- )
15
- }
@@ -1,9 +0,0 @@
1
- import React from 'react'
2
-
3
- export const RightArrowSvg = () => {
4
- return (
5
- <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
6
- <path d="M11.6667 11L10.7167 10.0667L12.1167 8.66667H2V7.33333H12.1167L10.7333 5.93333L11.6833 5L14.6667 8L11.6667 11Z" fill="black" fill-opacity="0.45" />
7
- </svg>
8
- )
9
- }
@@ -1,50 +0,0 @@
1
- "use client";
2
- interface Props {
3
- className?: string,
4
- value: string,
5
- severity: string,
6
- }
7
-
8
- const getSeverityColor = (severity: string): { textColor: string; backgroundColor: string } => {
9
- let textColor;
10
- let backgroundColor;
11
-
12
- switch (severity) {
13
- case 'Delivered':
14
- textColor = '#148C00';
15
- backgroundColor = '#E8FFEA';
16
- break;
17
- case 'Returned':
18
- textColor = '#D89100';
19
- backgroundColor = '#FFF7E5';
20
- break;
21
- case 'Cancelled':
22
- textColor = '#B50000';
23
- backgroundColor = '#FFEAEA';
24
- break;
25
- case 'On The Way':
26
- textColor = '#12415D';
27
- backgroundColor = '#E3F5FF';
28
- break;
29
- default:
30
- textColor = '#808080';
31
- backgroundColor = '#FFF7E5';
32
- }
33
- return { textColor, backgroundColor };
34
- };
35
-
36
- export const CustomTag = (props: Props) => {
37
- const { className, value, severity } = props;
38
- const severityColor = getSeverityColor(severity);
39
-
40
- return (
41
- <div className='flex'>
42
- <div
43
- className={`border-round text-xs font-semibold ${className}`}
44
- style={{ backgroundColor: severityColor.backgroundColor, color: severityColor.textColor, padding: '0.5rem 0.75rem' }}
45
- >
46
- {value}
47
- </div>
48
- </div>
49
- )
50
- }
@@ -1,140 +0,0 @@
1
- "use client"
2
- import { AppTitle } from "@/helpers/AppTitle";
3
- import { useLazyGetAuthSettingsQuery } from "@/redux/api/solidSettingsApi";
4
- import { toggleTheme } from "@/redux/features/themeSlice";
5
- import { LayoutConfig } from "@/types";
6
- import Link from "next/link";
7
- import { usePathname, useRouter } from "next/navigation";
8
- import { PrimeReactContext } from "primereact/api";
9
- import { Button } from "primereact/button";
10
- import { Dialog } from "primereact/dialog";
11
- import { useContext, useEffect, useState } from "react";
12
- import { useDispatch } from "react-redux";
13
- import { LayoutContext } from "../layout/context/layoutcontext";
14
- import Image from "next/image";
15
- import SolidLogo from '../../resources/images/SS-Logo.png'
16
- import { Divider } from "primereact/divider";
17
-
18
- export const AuthLayout = ({ children }: { children: React.ReactNode }) => {
19
- const [trigger, { data: solidSettingsData }] = useLazyGetAuthSettingsQuery()
20
- const [allowRegistration, setAllowRegistration] = useState<boolean | null>(null);
21
- const [isRestricted, setIsRestricted] = useState(false);
22
- const pathname = usePathname();
23
- const router = useRouter();
24
-
25
- const { changeTheme } = useContext(PrimeReactContext);
26
- const { layoutConfig, setLayoutConfig } = useContext(LayoutContext);
27
- const dispatch = useDispatch();
28
- const _changeTheme = (theme: string, colorScheme: string) => {
29
- changeTheme?.(layoutConfig.theme, theme, 'theme-css', () => {
30
- setLayoutConfig((prevState: LayoutConfig) => ({ ...prevState, theme, colorScheme }));
31
- });
32
- };
33
- useEffect(() => {
34
- const theme = solidSettingsData?.data?.authPagesTheme; // 'dark' or 'light'
35
- if (theme) {
36
- dispatch(toggleTheme()); // Dispatch Redux action
37
- _changeTheme(
38
- theme === "dark" ? "solid-dark-purple" : "solid-light-purple",
39
- theme
40
- );
41
- }
42
- }, [solidSettingsData]);
43
- useEffect(() => {
44
- // Fetch settings if not already available
45
- trigger("");
46
-
47
- const allowPublicRegistration = solidSettingsData?.data?.allowPublicRegistration;
48
-
49
- if (allowPublicRegistration === false) {
50
- setAllowRegistration(false);
51
- if (pathname === "/auth/register") {
52
- setIsRestricted(true);
53
- } else {
54
- setIsRestricted(false);
55
- }
56
- } else if (allowPublicRegistration === true) {
57
- setAllowRegistration(true);
58
- setIsRestricted(false);
59
- }
60
- }, [solidSettingsData, pathname, trigger]);
61
-
62
-
63
- if (allowRegistration === null) return null;
64
-
65
- const authChildren = allowRegistration || pathname !== "/auth/register" ? children : null;
66
- const handleRegistration = () => {
67
- router.push("/auth/login");
68
- setIsRestricted(false);
69
- }
70
- return (
71
- <div className={`solid-auth-theme-wrapper ${solidSettingsData?.data?.authPagesLayout || 'center'}`}>
72
- <div className={`${solidSettingsData?.data?.authPagesLayout !== 'center' ? 'grid w-full h-full m-0' : ''}`}>
73
- {solidSettingsData?.data?.authPagesLayout === 'left' &&
74
- <div className='col-6 flex align-items-center justify-content-center solid-login-dark-bg'>
75
- <div className="w-full">
76
- {authChildren}
77
- </div>
78
- </div>
79
- }
80
-
81
- <div
82
- className={`${solidSettingsData?.data?.authPagesLayout !== 'center' ? 'col-6 position-relative' : ''}
83
- ${solidSettingsData?.data?.authPagesLayout === 'left' ? 'solid-left-layout' : ''}
84
- ${solidSettingsData?.data?.authPagesLayout === 'right' ? 'solid-right-layout' : ''}`.trim()}
85
- >
86
- {solidSettingsData?.data?.authPagesLayout !== 'center' &&
87
- <div className="solid-logo flex align-items-center gap-3">
88
- <Image
89
- alt="solid logo"
90
- src={SolidLogo}
91
- className="relative"
92
- fill
93
- />
94
- <AppTitle title={solidSettingsData} />
95
- </div>
96
- }
97
- </div>
98
-
99
- {solidSettingsData?.data?.authPagesLayout === 'center' && <div className="solid-center-layout">
100
- {authChildren}
101
- </div>}
102
- {solidSettingsData?.data?.authPagesLayout === 'right' &&
103
- <div className='col-6 flex align-items-center justify-content-center solid-login-dark-bg'>
104
- <div className="w-full">
105
- {authChildren}
106
- </div>
107
- </div>
108
- }
109
- </div>
110
- <div className={`absolute ${solidSettingsData?.data?.authPagesLayout === 'center' ? 'solid-auth-footer flex align-items-center justify-content-between' : 'solid-auth-footer-2 grid'}`}>
111
- <div className={solidSettingsData?.data?.authPagesLayout !== 'center' ? 'col-6 flex justify-content-center' : ''}>
112
- <p className={`solid-auth-input-label text-sm m-0 ${solidSettingsData?.data?.authPagesLayout === 'right' ? 'right' : ''}`}>Made with <svg className="mx-1" width="12px" height="12px" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <path d="M1.24264 8.24264L8 15L14.7574 8.24264C15.553 7.44699 16 6.36786 16 5.24264V5.05234C16 2.8143 14.1857 1 11.9477 1C10.7166 1 9.55233 1.55959 8.78331 2.52086L8 3.5L7.21669 2.52086C6.44767 1.55959 5.28338 1 4.05234 1C1.8143 1 0 2.8143 0 5.05234V5.24264C0 6.36786 0.44699 7.44699 1.24264 8.24264Z" fill="#ff0000"></path> </g></svg> in Mumbai</p>
113
- </div>
114
- <div className={solidSettingsData?.data?.authPagesLayout !== 'center' ? 'col-6 flex justify-content-center' : ''}>
115
- <div className={`flex align-items-center gap-5 solid-auth-subtitle ${solidSettingsData?.data?.authPagesLayout === 'left' ? 'left' : ''}`}>
116
- <p className="m-0 "> <Link className="text-sm no-underline font-normal" href={solidSettingsData ? solidSettingsData?.data?.appTnc : "#"}>Terms of Service</Link></p>
117
- <p className="m-0 "> <Link className="text-sm no-underline font-normal" href={solidSettingsData ? solidSettingsData?.data?.appPrivacyPolicy : "#"}>Privacy Policy.</Link></p>
118
- </div>
119
- </div>
120
- </div>
121
- <Dialog
122
- visible={isRestricted}
123
- onHide={handleRegistration}
124
- header="Access Restricted"
125
- headerClassName="py-2" contentClassName="px-0 pb-0"
126
- footer={
127
- <div className="flex align-items-center justify-content-start">
128
- <Button label="Close" onClick={handleRegistration} size="small" />
129
- </div>
130
- }
131
- draggable={false}
132
- >
133
- <Divider className="m-0" />
134
- <div className="p-4">
135
- <p>Sign-up is not available. Please contact the admin.</p>
136
- </div>
137
- </Dialog>
138
- </div>
139
- )
140
- }
@@ -1,48 +0,0 @@
1
- "use client"
2
-
3
- import Link from "next/link";
4
- import { useSearchParams } from "next/navigation";
5
- import { useContext } from "react";
6
- import { LayoutContext } from "../layout/context/layoutcontext";
7
- import Image from "next/image";
8
- import SolidLogo from '../../resources/images/SS-Logo.png'
9
-
10
-
11
- export const ForgotPasswordThankYou = () => {
12
- const { layoutConfig } = useContext(LayoutContext);
13
- const { authLayout } = layoutConfig;
14
- const searchParams = useSearchParams();
15
- const email = searchParams.get('email');
16
- const decodedEmail = email ? decodeURIComponent(email) : '';
17
- return (
18
- <div>
19
- <div className={`auth-container ${authLayout === 'Center' ? 'center' : 'side'}`}>
20
- {authLayout === 'Center' &&
21
- <div className="flex justify-content-center">
22
- <div className="solid-logo flex align-items-center gap-3">
23
- <Image
24
- alt="solid logo"
25
- src={SolidLogo}
26
- className="relative"
27
- fill
28
- />
29
- <div>
30
- <p className="solid-logo-title">
31
- Solid<br />Starters
32
- </p>
33
- </div>
34
- </div>
35
- </div>
36
- }
37
- <h5 className='text-center font-bold'>We have sent an email to yourregistered email address</h5>
38
- <p className='font-bold text-center'>{decodedEmail}</p>
39
- <p className='text-center'>
40
- Please follow the instructions in the email
41
- </p>
42
- <div className='text-center'>
43
- <Link href={"/"} className='btn'>Back to Home</Link>
44
- </div>
45
- </div>
46
- </div>
47
- )
48
- }
@@ -1,60 +0,0 @@
1
- "use client"
2
- import { signIn } from 'next-auth/react';
3
- import { useRouter, useSearchParams } from 'next/navigation';
4
- import { ProgressSpinner } from 'primereact/progressspinner';
5
- import { Toast } from 'primereact/toast';
6
- import React, { useEffect, useRef, useState } from 'react'
7
- export const GoogleAuthChecking = () => {
8
- const searchParams = useSearchParams();
9
- const accessCode = searchParams.get("accessCode");
10
-
11
- const router = useRouter();
12
- const [error, setError] = useState<string | null>(null);
13
- const toast = useRef<Toast>(null);
14
- const showToast = (severity: "success" | "error", summary: string, detail: string) => {
15
- toast.current?.show({
16
- severity,
17
- summary,
18
- detail,
19
- life: 3000,
20
- });
21
- };
22
- useEffect(() => {
23
- const handleOAuthAuthentication = async () => {
24
- try {
25
- const response = await signIn("credentials", {
26
- redirect: false,
27
- accessCode: accessCode
28
- // accessToken: accessToken?.accessToken,
29
- // refreshToken: accessToken?.refreshToken
30
- });
31
-
32
- if (response?.error) {
33
- showToast("error", "Login Error", response.error);
34
- setError("Authentication failed.")
35
- } else {
36
- showToast("success", "Login Success", "Redirecting to dashboard...");
37
- router.push(`${process.env.NEXT_PUBLIC_LOGIN_REDIRECT_URL}`);
38
- }
39
- } catch (err: any) {
40
- showToast("error", "Login Error", err?.data?.message || "Authentication failed.");
41
- }
42
- };
43
-
44
- handleOAuthAuthentication();
45
- }, [router]);
46
-
47
- if (error) {
48
- return (
49
- <div className="flex items-center justify-center min-h-screen">
50
- <h2 className="text-red-500 text-xl font-semibold">{error}</h2>
51
- </div>
52
- );
53
- }
54
- return (
55
- <div>
56
- <Toast ref={toast} />
57
- <ProgressSpinner />
58
- </div>
59
- )
60
- }
@@ -1,155 +0,0 @@
1
- "use client";
2
-
3
- import { Form, Formik } from "formik";
4
- import { signIn, useSession } from "next-auth/react";
5
- import Link from "next/link";
6
- import { useRouter } from "next/navigation";
7
- import { Button } from "primereact/button";
8
- import { Checkbox } from "primereact/checkbox";
9
- import { Divider } from "primereact/divider";
10
- import { InputText } from "primereact/inputtext";
11
- import { Message } from "primereact/message";
12
- import { Password } from "primereact/password";
13
- import { Toast } from "primereact/toast";
14
- import { classNames } from "primereact/utils";
15
- import { useRef, useState } from "react";
16
- import * as Yup from "yup";
17
- import AuthBanner from "../common/AuthBanner";
18
- import { SocialMediaLogin } from "../common/SocialMediaLogin";
19
-
20
-
21
- const Login = () => {
22
- const toast = useRef<Toast>(null);
23
- const router = useRouter();
24
-
25
- const [password, setPassword] = useState('');
26
- const [checked, setChecked] = useState<boolean>(false);
27
- const session = useSession();
28
-
29
- const validationSchema = Yup.object({
30
- email: Yup.string()
31
- .email("Invalid email address")
32
- .required("Email is required"),
33
- password: Yup.string().required("Password is required"),
34
- });
35
-
36
- const showToast = (severity: "success" | "error", summary: string, detail: string) => {
37
- toast.current?.show({
38
- severity,
39
- summary,
40
- detail,
41
- life: 3000,
42
- });
43
- };
44
-
45
- const isFormFieldValid = (formik: any, fieldName: string) =>
46
- formik.touched[fieldName] && formik.errors[fieldName];
47
-
48
- return (
49
- <div className="h-screen">
50
- <Toast ref={toast} />
51
- <div className="grid m-0 h-full">
52
- <div className="col-12 md:col-12 lg:col-6">
53
- <div className="flex justify-content-center align-items-center h-full">
54
- <div className="col-12 sm:col-8">
55
- <h2 className="text-4xl text-semibold text-start secondary-color">Sign in to {process.env.SOLID_APP_TITLE}</h2>
56
- {/* <p className="signup-desc text-center">Create your account</p> */}
57
- <>
58
- <Formik
59
- initialValues={{
60
- email: "",
61
- password: "",
62
- }}
63
- validationSchema={validationSchema}
64
- onSubmit={async (values) => {
65
- // Handle form submission
66
- const email = values.email;
67
- const password = values.password;
68
-
69
- const response = await signIn("credentials", {
70
- redirect: false,
71
- email,
72
- password,
73
- });
74
- if (response?.error) {
75
- showToast("error", "Login Error", response.error);
76
- } else {
77
- showToast("success", "Login Success", "Redirecting to dashboard...");
78
- router.push("/admin/core/solid-core/user/list");
79
- }
80
-
81
- }}
82
- >
83
- {(formik) => (
84
- <Form>
85
- <div className="flex flex-column gap-2">
86
- <label htmlFor="email" className="text-color-secondary">Email</label>
87
- <InputText
88
- id="email"
89
- name="email"
90
- placeholder="Your Email"
91
- onChange={formik.handleChange}
92
- value={formik.values.email}
93
- />
94
- {isFormFieldValid(formik, "email") && <Message
95
- className="text-red-500 text-sm"
96
- severity="error"
97
- text={formik?.errors?.email?.toString()}
98
- />}
99
- </div>
100
- <div className="flex flex-column gap-2 mt-4" style={{}}>
101
- <label htmlFor="password" className="text-color-secondary">Password</label>
102
- <Password
103
- id="password"
104
- value={password}
105
- onChange={(e) => {
106
- setPassword(e.target.value);
107
- formik.setFieldValue("password", e.target.value);
108
- }}
109
- toggleMask
110
- className={classNames("p-inputtext-sm w-full s-password-input", {
111
- "p-invalid": isFormFieldValid(formik, "password"),
112
- })}
113
- inputClassName="w-full"
114
- feedback={false}
115
- />
116
- {isFormFieldValid(formik, "password") && <Message
117
- className="text-red-500 text-sm"
118
- severity="error"
119
- text={formik?.errors?.password?.toString()}
120
- />}
121
- </div>
122
- <div className="flex align-items-center mt-4">
123
- <Checkbox inputId="remember" onChange={(e: any) => setChecked(e.checked)} checked={checked} />
124
- <label htmlFor="remember" className="ml-2">Remember me</label>
125
- </div>
126
- <div className="mt-4">
127
- <Button className="w-full secondary-bg-color" label="Sign in" style={{ borderColor: 'currentcolor' }} />
128
- </div>
129
- </Form>
130
- )}
131
- </Formik>
132
- <Divider align="center">
133
- <div className="inline-flex align-items-center text-400">
134
- or continue with
135
- </div>
136
- </Divider>
137
- <div className="text-center">
138
- <div className="text-sm text-400">
139
- Don’t have an account ? <Link href="/auth/register">Sign up</Link>
140
- </div>
141
- </div>
142
- <SocialMediaLogin />
143
- </>
144
- </div>
145
- </div>
146
- </div>
147
- <div className="col-12 md:col-12 lg:col-6 hidden lg:block p-0">
148
- <AuthBanner></AuthBanner>
149
- </div>
150
- </div>
151
- </div>
152
- );
153
- };
154
-
155
- export default Login;