@solidstarters/solid-core-ui 1.1.15 → 1.1.17
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.
- package/dist/components/auth/AuthLayout.d.ts +4 -0
- package/dist/components/auth/AuthLayout.d.ts.map +1 -0
- package/dist/components/auth/AuthLayout.js +80 -0
- package/dist/components/auth/AuthLayout.js.map +1 -0
- package/dist/components/auth/ForgotPasswordThankYou.d.ts +2 -0
- package/dist/components/auth/ForgotPasswordThankYou.d.ts.map +1 -0
- package/dist/components/auth/ForgotPasswordThankYou.js +16 -0
- package/dist/components/auth/ForgotPasswordThankYou.js.map +1 -0
- package/dist/components/auth/GoogleAuthChecking.d.ts +2 -0
- package/dist/components/auth/GoogleAuthChecking.d.ts.map +1 -0
- package/dist/components/auth/GoogleAuthChecking.js +99 -0
- package/dist/components/auth/GoogleAuthChecking.js.map +1 -0
- package/dist/components/auth/SolidChangeForcePassword.d.ts.map +1 -1
- package/dist/components/auth/SolidChangeForcePassword.js +44 -39
- package/dist/components/auth/SolidChangeForcePassword.js.map +1 -1
- package/dist/components/auth/SolidForgotPassword.d.ts.map +1 -1
- package/dist/components/auth/SolidForgotPassword.js +1 -2
- package/dist/components/auth/SolidForgotPassword.js.map +1 -1
- package/dist/components/auth/SolidInitialLoginOtp.d.ts +1 -3
- package/dist/components/auth/SolidInitialLoginOtp.d.ts.map +1 -1
- package/dist/components/auth/SolidInitialLoginOtp.js +16 -12
- package/dist/components/auth/SolidInitialLoginOtp.js.map +1 -1
- package/dist/components/auth/SolidInitiateRegisterOtp.d.ts +1 -3
- package/dist/components/auth/SolidInitiateRegisterOtp.d.ts.map +1 -1
- package/dist/components/auth/SolidInitiateRegisterOtp.js +16 -12
- package/dist/components/auth/SolidInitiateRegisterOtp.js.map +1 -1
- package/dist/components/auth/SolidLogin.d.ts.map +1 -1
- package/dist/components/auth/SolidLogin.js +12 -8
- package/dist/components/auth/SolidLogin.js.map +1 -1
- package/dist/components/auth/SolidRegister.d.ts.map +1 -1
- package/dist/components/auth/SolidRegister.js +13 -9
- package/dist/components/auth/SolidRegister.js.map +1 -1
- package/dist/components/auth/SolidResetPassword.d.ts +1 -4
- package/dist/components/auth/SolidResetPassword.d.ts.map +1 -1
- package/dist/components/auth/SolidResetPassword.js +14 -10
- package/dist/components/auth/SolidResetPassword.js.map +1 -1
- package/dist/components/common/GeneralSettings.d.ts +1 -3
- package/dist/components/common/GeneralSettings.d.ts.map +1 -1
- package/dist/components/common/GeneralSettings.js +21 -18
- package/dist/components/common/GeneralSettings.js.map +1 -1
- package/dist/components/common/NotFound.d.ts +2 -0
- package/dist/components/common/NotFound.d.ts.map +1 -0
- package/dist/components/common/NotFound.js +7 -0
- package/dist/components/common/NotFound.js.map +1 -0
- package/dist/components/common/SingleSelectAutoCompleteField.d.ts +1 -1
- package/dist/components/common/SingleSelectAutoCompleteField.d.ts.map +1 -1
- package/dist/components/common/SingleSelectAutoCompleteField.js +2 -2
- package/dist/components/common/SingleSelectAutoCompleteField.js.map +1 -1
- package/dist/components/common/SocialMediaLogin.d.ts.map +1 -1
- package/dist/components/common/SocialMediaLogin.js +3 -2
- package/dist/components/common/SocialMediaLogin.js.map +1 -1
- package/dist/components/common/SolidAdmin.d.ts +2 -0
- package/dist/components/common/SolidAdmin.d.ts.map +1 -0
- package/dist/components/common/SolidAdmin.js +5 -0
- package/dist/components/common/SolidAdmin.js.map +1 -0
- package/dist/components/common/SolidFormStepper.d.ts.map +1 -1
- package/dist/components/common/SolidFormStepper.js +8 -1
- package/dist/components/common/SolidFormStepper.js.map +1 -1
- package/dist/components/common/SolidThemeLink.d.ts +2 -0
- package/dist/components/common/SolidThemeLink.d.ts.map +1 -0
- package/dist/components/common/SolidThemeLink.js +5 -0
- package/dist/components/common/SolidThemeLink.js.map +1 -0
- package/dist/components/common/error.d.ts +9 -0
- package/dist/components/common/error.d.ts.map +1 -0
- package/dist/components/common/error.js +7 -0
- package/dist/components/common/error.js.map +1 -0
- package/dist/components/core/common/FilterComponent.js +7 -7
- package/dist/components/core/common/FilterComponent.js.map +1 -1
- package/dist/components/core/common/SolidConfigureLayoutElement.d.ts.map +1 -1
- package/dist/components/core/common/SolidConfigureLayoutElement.js +4 -3
- package/dist/components/core/common/SolidConfigureLayoutElement.js.map +1 -1
- package/dist/components/core/common/SolidGlobalSearchElement.d.ts.map +1 -1
- package/dist/components/core/common/SolidGlobalSearchElement.js +35 -15
- package/dist/components/core/common/SolidGlobalSearchElement.js.map +1 -1
- package/dist/components/core/form/SolidFormLayouts.d.ts +3 -0
- package/dist/components/core/form/SolidFormLayouts.d.ts.map +1 -0
- package/dist/components/core/form/SolidFormLayouts.js +57 -0
- package/dist/components/core/form/SolidFormLayouts.js.map +1 -0
- package/dist/components/core/form/SolidFormView.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormView.js +13 -1
- package/dist/components/core/form/SolidFormView.js.map +1 -1
- package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidMediaMultipleField.js +11 -7
- package/dist/components/core/form/fields/SolidMediaMultipleField.js.map +1 -1
- package/dist/components/core/form/fields/SolidMediaSingleField.js +3 -2
- package/dist/components/core/form/fields/SolidMediaSingleField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js +4 -4
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js.map +1 -1
- package/dist/components/core/kanban/SolidKanbanView.js +2 -2
- package/dist/components/core/kanban/SolidKanbanView.js.map +1 -1
- package/dist/components/core/list/SolidListView.d.ts.map +1 -1
- package/dist/components/core/list/SolidListView.js +6 -28
- package/dist/components/core/list/SolidListView.js.map +1 -1
- package/dist/components/core/model/CreateModel.d.ts.map +1 -1
- package/dist/components/core/model/CreateModel.js +66 -18
- package/dist/components/core/model/CreateModel.js.map +1 -1
- package/dist/components/core/model/FieldMetaData.d.ts.map +1 -1
- package/dist/components/core/model/FieldMetaData.js +2 -2
- package/dist/components/core/model/FieldMetaData.js.map +1 -1
- package/dist/components/core/model/FieldMetaDataForm.js +21 -21
- package/dist/components/core/model/FieldMetaDataForm.js.map +1 -1
- package/dist/components/core/model/ModelMetaData.js +15 -15
- package/dist/components/core/model/ModelMetaData.js.map +1 -1
- package/dist/components/core/module/CreateModule.d.ts.map +1 -1
- package/dist/components/core/module/CreateModule.js +5 -2
- package/dist/components/core/module/CreateModule.js.map +1 -1
- package/dist/components/core/users/CreateUser.js +2 -2
- package/dist/components/layout/AdminLayout.d.ts +4 -0
- package/dist/components/layout/AdminLayout.d.ts.map +1 -0
- package/dist/components/layout/AdminLayout.js +86 -0
- package/dist/components/layout/AdminLayout.js.map +1 -0
- package/dist/components/layout/AppConfig.d.ts.map +1 -1
- package/dist/components/layout/AppConfig.js +4 -9
- package/dist/components/layout/AppConfig.js.map +1 -1
- package/dist/components/layout/user-profile-menu.js +1 -1
- package/dist/components/layout/user-profile-menu.js.map +1 -1
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/dist/nextAuth/authProviders.d.ts +4 -0
- package/dist/nextAuth/authProviders.d.ts.map +1 -0
- package/dist/nextAuth/authProviders.js +231 -0
- package/dist/nextAuth/authProviders.js.map +1 -0
- package/dist/nextAuth/refreshAccessToken.d.ts +2 -0
- package/dist/nextAuth/refreshAccessToken.d.ts.map +1 -0
- package/dist/nextAuth/refreshAccessToken.js +76 -0
- package/dist/nextAuth/refreshAccessToken.js.map +1 -0
- package/package.json +1 -1
- package/src/components/auth/AuthLayout.tsx +126 -0
- package/src/components/auth/ForgotPasswordThankYou.tsx +45 -0
- package/src/components/auth/GoogleAuthChecking.tsx +60 -0
- package/src/components/auth/SolidChangeForcePassword.tsx +21 -32
- package/src/components/auth/SolidForgotPassword.tsx +3 -2
- package/src/components/auth/SolidInitialLoginOtp.tsx +16 -8
- package/src/components/auth/SolidInitiateRegisterOtp.tsx +17 -9
- package/src/components/auth/SolidLogin.tsx +16 -10
- package/src/components/auth/SolidRegister.tsx +17 -9
- package/src/components/auth/SolidResetPassword.tsx +13 -6
- package/src/components/common/GeneralSettings.tsx +7 -2
- package/src/components/common/NotFound.tsx +22 -0
- package/src/components/common/SingleSelectAutoCompleteField.tsx +2 -2
- package/src/components/common/SocialMediaLogin.tsx +24 -25
- package/src/components/common/SolidAdmin.tsx +7 -0
- package/src/components/common/SolidFormStepper.tsx +55 -2
- package/src/components/common/SolidThemeLink.tsx +5 -0
- package/src/components/common/error.tsx +30 -0
- package/src/components/core/common/FilterComponent.tsx +70 -70
- package/src/components/core/common/SolidConfigureLayoutElement.tsx +6 -1
- package/src/components/core/common/SolidGlobalSearchElement.tsx +45 -17
- package/src/components/core/form/SolidFormLayouts.tsx +93 -0
- package/src/components/core/form/SolidFormView.tsx +64 -3
- package/src/components/core/form/fields/SolidMediaMultipleField.tsx +14 -9
- package/src/components/core/form/fields/SolidMediaSingleField.tsx +3 -3
- package/src/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +25 -23
- package/src/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +1 -1
- package/src/components/core/kanban/SolidKanbanView.tsx +4 -4
- package/src/components/core/list/SolidListView.tsx +4 -61
- package/src/components/core/model/CreateModel.tsx +119 -18
- package/src/components/core/model/FieldMetaData.tsx +2 -0
- package/src/components/core/model/FieldMetaDataForm.tsx +26 -26
- package/src/components/core/model/ModelMetaData.tsx +21 -21
- package/src/components/core/module/CreateModule.tsx +11 -3
- package/src/components/core/users/CreateUser.tsx +2 -2
- package/src/components/layout/AdminLayout.tsx +62 -0
- package/src/components/layout/AppConfig.tsx +4 -3
- package/src/components/layout/user-profile-menu.tsx +1 -1
- package/src/index.ts +17 -1
- package/src/nextAuth/authProviders.tsx +220 -0
- package/src/nextAuth/refreshAccessToken.tsx +27 -0
|
@@ -85,14 +85,14 @@ const SelectionStaticValues = ({ enumValue, onUpdate, onDelete, onAdd }: any) =>
|
|
|
85
85
|
};
|
|
86
86
|
|
|
87
87
|
return (
|
|
88
|
-
<div className="flex align-items-center gap-2">
|
|
88
|
+
<div className="flex align-items-center gap-2 mt-2">
|
|
89
89
|
|
|
90
90
|
{/* Input field for Value */}
|
|
91
91
|
<InputText
|
|
92
92
|
value={value || ""}
|
|
93
93
|
onChange={(e) => handleValueChange(e.target.value)}
|
|
94
94
|
placeholder="Value"
|
|
95
|
-
className="
|
|
95
|
+
className="w-full"
|
|
96
96
|
/>
|
|
97
97
|
|
|
98
98
|
{/* Input field for Display */}
|
|
@@ -100,7 +100,7 @@ const SelectionStaticValues = ({ enumValue, onUpdate, onDelete, onAdd }: any) =>
|
|
|
100
100
|
value={display || ""}
|
|
101
101
|
onChange={(e) => handleDisplayChange(e.target.value)}
|
|
102
102
|
placeholder="Display"
|
|
103
|
-
className="
|
|
103
|
+
className="w-full"
|
|
104
104
|
/>
|
|
105
105
|
|
|
106
106
|
|
|
@@ -1571,7 +1571,7 @@ const FieldMetaDataForm = ({ modelMetaData, fieldMetaData, setFieldMetaData, all
|
|
|
1571
1571
|
)}
|
|
1572
1572
|
|
|
1573
1573
|
{currentFields.includes("mediaEmbedded") && (
|
|
1574
|
-
<div className="field col-6 flex-flex-column gap-2">
|
|
1574
|
+
<div className="field col-6 flex-flex-column gap-2 mt-3">
|
|
1575
1575
|
<label
|
|
1576
1576
|
htmlFor="mediaEmbedded"
|
|
1577
1577
|
className="form-field-label"
|
|
@@ -1614,7 +1614,7 @@ const FieldMetaDataForm = ({ modelMetaData, fieldMetaData, setFieldMetaData, all
|
|
|
1614
1614
|
</div>
|
|
1615
1615
|
)}
|
|
1616
1616
|
{currentFields.includes("relationType") && (
|
|
1617
|
-
<div className="field col-6 flex-flex-column gap-2">
|
|
1617
|
+
<div className="field col-6 flex-flex-column gap-2 mt-3">
|
|
1618
1618
|
{/* <label
|
|
1619
1619
|
htmlFor="relationType"
|
|
1620
1620
|
className="form-field-label"
|
|
@@ -1650,7 +1650,7 @@ const FieldMetaDataForm = ({ modelMetaData, fieldMetaData, setFieldMetaData, all
|
|
|
1650
1650
|
onChange={(e) =>
|
|
1651
1651
|
formik.setFieldValue("relationType", e.value)
|
|
1652
1652
|
}
|
|
1653
|
-
className={classNames("
|
|
1653
|
+
className={classNames("", {
|
|
1654
1654
|
"p-invalid": isFormFieldValid(formik, "relationType"),
|
|
1655
1655
|
})}
|
|
1656
1656
|
optionLabel="label"
|
|
@@ -1682,7 +1682,7 @@ const FieldMetaDataForm = ({ modelMetaData, fieldMetaData, setFieldMetaData, all
|
|
|
1682
1682
|
</div>
|
|
1683
1683
|
)}
|
|
1684
1684
|
{currentFields.includes("relationType") && formik.values.relationType === "many-to-one" && (
|
|
1685
|
-
<div className="field col-6 flex-flex-column gap-2">
|
|
1685
|
+
<div className="field col-6 flex-flex-column gap-2 mt-3">
|
|
1686
1686
|
<label
|
|
1687
1687
|
htmlFor="relationCascade"
|
|
1688
1688
|
className="form-field-label"
|
|
@@ -1701,7 +1701,7 @@ const FieldMetaDataForm = ({ modelMetaData, fieldMetaData, setFieldMetaData, all
|
|
|
1701
1701
|
)
|
|
1702
1702
|
}
|
|
1703
1703
|
placeholder="Cascade"
|
|
1704
|
-
className={classNames("
|
|
1704
|
+
className={classNames("w-full", {
|
|
1705
1705
|
"p-invalid": isFormFieldValid(
|
|
1706
1706
|
formik,
|
|
1707
1707
|
"relationCascade"
|
|
@@ -1718,7 +1718,7 @@ const FieldMetaDataForm = ({ modelMetaData, fieldMetaData, setFieldMetaData, all
|
|
|
1718
1718
|
)}
|
|
1719
1719
|
|
|
1720
1720
|
{currentFields.includes("relationModelModuleName") && (
|
|
1721
|
-
<div className="field col-6 flex-flex-column gap-2">
|
|
1721
|
+
<div className="field col-6 flex-flex-column gap-2 mt-3">
|
|
1722
1722
|
<label
|
|
1723
1723
|
htmlFor="relationModelModuleName"
|
|
1724
1724
|
className="form-field-label"
|
|
@@ -1780,7 +1780,7 @@ const FieldMetaDataForm = ({ modelMetaData, fieldMetaData, setFieldMetaData, all
|
|
|
1780
1780
|
{currentFields.includes(
|
|
1781
1781
|
"relationModelSingularName"
|
|
1782
1782
|
) && (
|
|
1783
|
-
<div className="field col-6 flex-flex-column gap-2">
|
|
1783
|
+
<div className="field col-6 flex-flex-column gap-2 mt-3">
|
|
1784
1784
|
<label
|
|
1785
1785
|
htmlFor="relationModelSingularName"
|
|
1786
1786
|
className="form-field-label"
|
|
@@ -1827,7 +1827,7 @@ const FieldMetaDataForm = ({ modelMetaData, fieldMetaData, setFieldMetaData, all
|
|
|
1827
1827
|
)}
|
|
1828
1828
|
|
|
1829
1829
|
{currentFields.includes("relationCreateInverse") && formik.values.relationType === "many-to-many" && (
|
|
1830
|
-
<div className="field col-6 flex flex-column gap-2">
|
|
1830
|
+
<div className="field col-6 flex flex-column gap-2 mt-3">
|
|
1831
1831
|
<label htmlFor="relationCreateInverse" className="form-field-label">
|
|
1832
1832
|
Relation Create Inverse
|
|
1833
1833
|
</label>
|
|
@@ -1847,7 +1847,7 @@ const FieldMetaDataForm = ({ modelMetaData, fieldMetaData, setFieldMetaData, all
|
|
|
1847
1847
|
)}
|
|
1848
1848
|
|
|
1849
1849
|
{currentFields.includes("relationModelFieldName") && formik.values.relationCreateInverse && formik.values.relationType === "many-to-many" && (
|
|
1850
|
-
<div className="field col-6 flex-flex-column gap-2">
|
|
1850
|
+
<div className="field col-6 flex-flex-column gap-2 mt-3">
|
|
1851
1851
|
<label
|
|
1852
1852
|
htmlFor="relationModelFieldName"
|
|
1853
1853
|
className="form-field-label"
|
|
@@ -1878,7 +1878,7 @@ const FieldMetaDataForm = ({ modelMetaData, fieldMetaData, setFieldMetaData, all
|
|
|
1878
1878
|
)}
|
|
1879
1879
|
|
|
1880
1880
|
{currentFields.includes("relationJoinTableName") && formik.values.relationType === "many-to-many" && (
|
|
1881
|
-
<div className="field col-6 flex-flex-column gap-2">
|
|
1881
|
+
<div className="field col-6 flex-flex-column gap-2 mt-3">
|
|
1882
1882
|
<label
|
|
1883
1883
|
htmlFor="relationJoinTableName"
|
|
1884
1884
|
className="form-field-label"
|
|
@@ -1909,7 +1909,7 @@ const FieldMetaDataForm = ({ modelMetaData, fieldMetaData, setFieldMetaData, all
|
|
|
1909
1909
|
)}
|
|
1910
1910
|
|
|
1911
1911
|
{currentFields.includes("joinColumnName") && formik.values.relationType === "many-to-many" && (
|
|
1912
|
-
<div className="field col-6 flex-flex-column gap-2">
|
|
1912
|
+
<div className="field col-6 flex-flex-column gap-2 mt-3">
|
|
1913
1913
|
<label
|
|
1914
1914
|
htmlFor="joinColumnName"
|
|
1915
1915
|
className="form-field-label"
|
|
@@ -1940,7 +1940,7 @@ const FieldMetaDataForm = ({ modelMetaData, fieldMetaData, setFieldMetaData, all
|
|
|
1940
1940
|
)}
|
|
1941
1941
|
|
|
1942
1942
|
{currentFields.includes("relationJoinColumnName") && formik.values.relationType === "many-to-many" && (
|
|
1943
|
-
<div className="field col-6 flex-flex-column gap-2">
|
|
1943
|
+
<div className="field col-6 flex-flex-column gap-2 mt-3">
|
|
1944
1944
|
<label
|
|
1945
1945
|
htmlFor="relationJoinColumnName"
|
|
1946
1946
|
className="form-field-label"
|
|
@@ -1971,7 +1971,7 @@ const FieldMetaDataForm = ({ modelMetaData, fieldMetaData, setFieldMetaData, all
|
|
|
1971
1971
|
)}
|
|
1972
1972
|
|
|
1973
1973
|
{currentFields.includes("selectionDynamicProvider") && (
|
|
1974
|
-
<div className="field col-6 flex-flex-column gap-2">
|
|
1974
|
+
<div className="field col-6 flex-flex-column gap-2 mt-3">
|
|
1975
1975
|
<label
|
|
1976
1976
|
htmlFor="selectionDynamicProvider"
|
|
1977
1977
|
className="form-field-label"
|
|
@@ -2027,7 +2027,7 @@ const FieldMetaDataForm = ({ modelMetaData, fieldMetaData, setFieldMetaData, all
|
|
|
2027
2027
|
</div>
|
|
2028
2028
|
)}
|
|
2029
2029
|
{currentFields.includes("selectionValueType") && (
|
|
2030
|
-
<div className="field col-6 flex-flex-column gap-2">
|
|
2030
|
+
<div className="field col-6 flex-flex-column gap-2 mt-3">
|
|
2031
2031
|
<label
|
|
2032
2032
|
htmlFor="selectionValueType"
|
|
2033
2033
|
className="form-field-label"
|
|
@@ -2066,7 +2066,7 @@ const FieldMetaDataForm = ({ modelMetaData, fieldMetaData, setFieldMetaData, all
|
|
|
2066
2066
|
)}
|
|
2067
2067
|
|
|
2068
2068
|
{currentFields.includes("selectionStaticValues") && (
|
|
2069
|
-
<div className="field col-6 flex-flex-column gap-2">
|
|
2069
|
+
<div className="field col-6 flex-flex-column gap-2 mt-3">
|
|
2070
2070
|
<label
|
|
2071
2071
|
htmlFor="selectionStaticValues"
|
|
2072
2072
|
className="form-field-label"
|
|
@@ -2112,7 +2112,7 @@ const FieldMetaDataForm = ({ modelMetaData, fieldMetaData, setFieldMetaData, all
|
|
|
2112
2112
|
</div>
|
|
2113
2113
|
)}
|
|
2114
2114
|
{currentFields.includes("computedFieldValueType") && (
|
|
2115
|
-
<div className="field col-6 flex-flex-column gap-2">
|
|
2115
|
+
<div className="field col-6 flex-flex-column gap-2 mt-3">
|
|
2116
2116
|
<label
|
|
2117
2117
|
htmlFor="computedFieldValueType"
|
|
2118
2118
|
className="form-field-label"
|
|
@@ -2163,7 +2163,7 @@ const FieldMetaDataForm = ({ modelMetaData, fieldMetaData, setFieldMetaData, all
|
|
|
2163
2163
|
{currentFields.includes(
|
|
2164
2164
|
"computedFieldValueProvider"
|
|
2165
2165
|
) && (
|
|
2166
|
-
<div className="field col-6 flex-flex-column gap-2">
|
|
2166
|
+
<div className="field col-6 flex-flex-column gap-2 mt-3">
|
|
2167
2167
|
<label
|
|
2168
2168
|
htmlFor="computedFieldValueProvider"
|
|
2169
2169
|
className="form-field-label"
|
|
@@ -2352,7 +2352,7 @@ const FieldMetaDataForm = ({ modelMetaData, fieldMetaData, setFieldMetaData, all
|
|
|
2352
2352
|
<div className="formgrid grid">
|
|
2353
2353
|
{(currentFields.includes("regexPattern") && selectedType.value === "password") &&
|
|
2354
2354
|
<>
|
|
2355
|
-
<div className="field col-6 flex-flex-column gap-2">
|
|
2355
|
+
<div className="field col-6 flex-flex-column gap-2 mt-3">
|
|
2356
2356
|
<label
|
|
2357
2357
|
htmlFor="regexPattern"
|
|
2358
2358
|
className="form-field-label"
|
|
@@ -2375,7 +2375,7 @@ const FieldMetaDataForm = ({ modelMetaData, fieldMetaData, setFieldMetaData, all
|
|
|
2375
2375
|
}
|
|
2376
2376
|
{currentFields.includes("regexPattern") && (
|
|
2377
2377
|
<>
|
|
2378
|
-
<div className="field col-6 flex-flex-column gap-2">
|
|
2378
|
+
<div className="field col-6 flex-flex-column gap-2 mt-3">
|
|
2379
2379
|
<label
|
|
2380
2380
|
htmlFor="regexPattern"
|
|
2381
2381
|
className="form-field-label"
|
|
@@ -2437,7 +2437,7 @@ const FieldMetaDataForm = ({ modelMetaData, fieldMetaData, setFieldMetaData, all
|
|
|
2437
2437
|
{(currentFields.includes("min") || currentFields.includes("max")) &&
|
|
2438
2438
|
<>
|
|
2439
2439
|
{currentFields.includes("min") && (
|
|
2440
|
-
<div className="field col-6 flex-flex-column gap-2">
|
|
2440
|
+
<div className="field col-6 flex-flex-column gap-2 mt-3">
|
|
2441
2441
|
<label htmlFor="min" className="form-field-label">
|
|
2442
2442
|
Min (Characters Allowed)
|
|
2443
2443
|
|
|
@@ -2484,7 +2484,7 @@ const FieldMetaDataForm = ({ modelMetaData, fieldMetaData, setFieldMetaData, all
|
|
|
2484
2484
|
</div>
|
|
2485
2485
|
)}
|
|
2486
2486
|
{currentFields.includes("max") && (
|
|
2487
|
-
<div className="field col-6 flex-flex-column gap-2">
|
|
2487
|
+
<div className="field col-6 flex-flex-column gap-2 mt-3">
|
|
2488
2488
|
<label htmlFor="max" className="form-field-label">
|
|
2489
2489
|
Max (Character allowed)
|
|
2490
2490
|
</label>
|
|
@@ -2533,7 +2533,7 @@ const FieldMetaDataForm = ({ modelMetaData, fieldMetaData, setFieldMetaData, all
|
|
|
2533
2533
|
{currentFields.includes("ormType") && (
|
|
2534
2534
|
<div className="md:col-12 sm:col-12">
|
|
2535
2535
|
{ormTypeOptions && ormTypeOptions.length > 1 &&
|
|
2536
|
-
<div className="field col-6 flex-flex-column gap-2">
|
|
2536
|
+
<div className="field col-6 flex-flex-column gap-2 mt-3">
|
|
2537
2537
|
<label htmlFor="ormType" className="form-field-label">
|
|
2538
2538
|
Type
|
|
2539
2539
|
</label>
|
|
@@ -2587,7 +2587,7 @@ const FieldMetaDataForm = ({ modelMetaData, fieldMetaData, setFieldMetaData, all
|
|
|
2587
2587
|
<p className="form-wrapper-heading text-base">Settings</p>
|
|
2588
2588
|
<div className="formgrid grid">
|
|
2589
2589
|
{currentFields.includes("required") && (
|
|
2590
|
-
<div className="field col-6 flex-flex-column gap-2">
|
|
2590
|
+
<div className="field col-6 flex-flex-column gap-2 mt-3">
|
|
2591
2591
|
<div className="flex align-items-center">
|
|
2592
2592
|
<Checkbox
|
|
2593
2593
|
name="required"
|
|
@@ -17,12 +17,10 @@ import qs from "qs";
|
|
|
17
17
|
import React, { useEffect, useRef, useState } from "react";
|
|
18
18
|
import * as Yup from "yup";
|
|
19
19
|
|
|
20
|
-
const ModelMetaData = React.forwardRef(({ modelMetaData, setModelMetaData, allModelsNames, deleteModelFunction, nextTab, formikModelMetadataRef, params }: any, ref) => {
|
|
20
|
+
const ModelMetaData = React.forwardRef(({ modelMetaData, setModelMetaData, allModelsNames, deleteModelFunction, nextTab, formikModelMetadataRef, params, formErrors }: any, ref) => {
|
|
21
21
|
|
|
22
22
|
// const ModelMetaData = ({ modelMetaData, setModelMetaData, deleteModelFunction, nextTab, formikModelMetadataRef }: any) => {
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
24
|
const router = useRouter();
|
|
27
25
|
const toast = useRef<Toast>(null);
|
|
28
26
|
const pathname = usePathname();
|
|
@@ -285,13 +283,14 @@ const ModelMetaData = React.forwardRef(({ modelMetaData, setModelMetaData, allMo
|
|
|
285
283
|
valueKey="id"
|
|
286
284
|
searchData={searchModule}
|
|
287
285
|
existingData={formik.values.module}
|
|
286
|
+
formErrors={formErrors}
|
|
288
287
|
/>
|
|
289
|
-
{isFormFieldValid(formik, "module") && (
|
|
288
|
+
{(isFormFieldValid(formik, "module") || (formErrors["module"])) && (
|
|
290
289
|
<Message severity="error" text={formik?.errors?.moduleId?.toString()} />
|
|
291
290
|
)}
|
|
292
291
|
</div>
|
|
293
292
|
|
|
294
|
-
<div className="field col-12 flex flex-column gap-
|
|
293
|
+
<div className="field col-12 flex flex-column gap-1 mt-4">
|
|
295
294
|
<label htmlFor="dataSource" className="form-field-label">
|
|
296
295
|
Data Source
|
|
297
296
|
</label>
|
|
@@ -308,9 +307,10 @@ const ModelMetaData = React.forwardRef(({ modelMetaData, setModelMetaData, allMo
|
|
|
308
307
|
searchData={serachDataSource}
|
|
309
308
|
existingData={formik.values.dataSource}
|
|
310
309
|
additionalAction={(e: any) => formik.setFieldValue("dataSourceType", e.target.value.type)}
|
|
310
|
+
formErrors={formErrors}
|
|
311
311
|
/>
|
|
312
312
|
{formik.values.dataSourceType && <p className="form-field-label">Your datasource will connect to a {formik.values.dataSourceType} database</p>}
|
|
313
|
-
{isFormFieldValid(formik, "dataSource") && (
|
|
313
|
+
{(isFormFieldValid(formik, "dataSource") || (formErrors["dataSource"])) && (
|
|
314
314
|
<Message severity="error" text={formik?.errors?.dataSource?.toString()} />
|
|
315
315
|
)}
|
|
316
316
|
</div>
|
|
@@ -391,7 +391,7 @@ const ModelMetaData = React.forwardRef(({ modelMetaData, setModelMetaData, allMo
|
|
|
391
391
|
</label>
|
|
392
392
|
</div>
|
|
393
393
|
{params.id !== 'new' && <p className="form-field-label">Soft-delete can only be set during initial creation to maintain data integrity</p>}
|
|
394
|
-
{isFormFieldValid(formik, "enableSoftDelete") && (
|
|
394
|
+
{(isFormFieldValid(formik, "enableSoftDelete") || (formErrors["enableSoftDelete"])) && (
|
|
395
395
|
<Message
|
|
396
396
|
severity="error"
|
|
397
397
|
text={formik?.errors?.enableSoftDelete?.toString()}
|
|
@@ -530,19 +530,19 @@ const ModelMetaData = React.forwardRef(({ modelMetaData, setModelMetaData, allMo
|
|
|
530
530
|
}}
|
|
531
531
|
value={formik.values.displayName}
|
|
532
532
|
className={classNames("", {
|
|
533
|
-
"p-invalid": isFormFieldValid(formik, "displayName"),
|
|
533
|
+
"p-invalid": isFormFieldValid(formik, "displayName") || formErrors["displayName"],
|
|
534
534
|
})}
|
|
535
535
|
|
|
536
536
|
/>
|
|
537
537
|
|
|
538
|
-
{isFormFieldValid(formik, "displayName") && (
|
|
538
|
+
{(isFormFieldValid(formik, "displayName") || (formErrors["displayName"])) && (
|
|
539
539
|
<Message
|
|
540
540
|
severity="error"
|
|
541
541
|
text={formik?.errors?.displayName?.toString()}
|
|
542
542
|
/>
|
|
543
543
|
)}
|
|
544
544
|
</div>
|
|
545
|
-
<div className="field col-12 flex flex-column gap-
|
|
545
|
+
<div className="field col-12 flex flex-column gap-1 mt-4">
|
|
546
546
|
<label htmlFor="singularName" className="form-field-label">
|
|
547
547
|
Singular Name
|
|
548
548
|
</label>
|
|
@@ -554,17 +554,17 @@ const ModelMetaData = React.forwardRef(({ modelMetaData, setModelMetaData, allMo
|
|
|
554
554
|
onChange={formik.handleChange}
|
|
555
555
|
value={formik.values.singularName}
|
|
556
556
|
className={classNames("", {
|
|
557
|
-
"p-invalid": isFormFieldValid(formik, "singularName"),
|
|
557
|
+
"p-invalid": isFormFieldValid(formik, "singularName") || formErrors["singularName"],
|
|
558
558
|
})}
|
|
559
559
|
/>
|
|
560
|
-
{isFormFieldValid(formik, "singularName") && (
|
|
560
|
+
{(isFormFieldValid(formik, "singularName") || (formErrors["singularName"])) && (
|
|
561
561
|
<Message
|
|
562
562
|
severity="error"
|
|
563
563
|
text={formik?.errors?.singularName?.toString()}
|
|
564
564
|
/>
|
|
565
565
|
)}
|
|
566
566
|
</div>
|
|
567
|
-
<div className="field col-12 flex flex-column gap-
|
|
567
|
+
<div className="field col-12 flex flex-column gap-1 mt-4">
|
|
568
568
|
<label htmlFor="pluralName" className="form-field-label">
|
|
569
569
|
Plural Name
|
|
570
570
|
</label>
|
|
@@ -576,10 +576,10 @@ const ModelMetaData = React.forwardRef(({ modelMetaData, setModelMetaData, allMo
|
|
|
576
576
|
onChange={formik.handleChange}
|
|
577
577
|
value={formik.values.pluralName}
|
|
578
578
|
className={classNames("", {
|
|
579
|
-
"p-invalid": isFormFieldValid(formik, "pluralName"),
|
|
579
|
+
"p-invalid": isFormFieldValid(formik, "pluralName") || formErrors["pluralName"],
|
|
580
580
|
})}
|
|
581
581
|
/>
|
|
582
|
-
{isFormFieldValid(formik, "pluralName") && (
|
|
582
|
+
{(isFormFieldValid(formik, "pluralName") || (formErrors["pluralName"])) && (
|
|
583
583
|
<Message severity="error" text={formik?.errors?.pluralName?.toString()} />
|
|
584
584
|
)}
|
|
585
585
|
</div>
|
|
@@ -602,7 +602,7 @@ const ModelMetaData = React.forwardRef(({ modelMetaData, setModelMetaData, allMo
|
|
|
602
602
|
</div>
|
|
603
603
|
</div>
|
|
604
604
|
{showTableName &&
|
|
605
|
-
<div className="field col-12 flex flex-column gap-
|
|
605
|
+
<div className="field col-12 flex flex-column gap-1 mt-4">
|
|
606
606
|
<label htmlFor="tableName" className="form-field-label">
|
|
607
607
|
Table Name
|
|
608
608
|
</label>
|
|
@@ -614,10 +614,10 @@ const ModelMetaData = React.forwardRef(({ modelMetaData, setModelMetaData, allMo
|
|
|
614
614
|
onChange={formik.handleChange}
|
|
615
615
|
value={formik.values.tableName}
|
|
616
616
|
className={classNames("", {
|
|
617
|
-
"p-invalid": isFormFieldValid(formik, "tableName"),
|
|
617
|
+
"p-invalid": isFormFieldValid(formik, "tableName") || formErrors["tableName"],
|
|
618
618
|
})}
|
|
619
619
|
/>
|
|
620
|
-
{isFormFieldValid(formik, "tableName") && (
|
|
620
|
+
{(isFormFieldValid(formik, "tableName") || (formErrors["tableName"])) && (
|
|
621
621
|
<Message
|
|
622
622
|
severity="error"
|
|
623
623
|
text={formik?.errors?.tableName?.toString()}
|
|
@@ -625,7 +625,7 @@ const ModelMetaData = React.forwardRef(({ modelMetaData, setModelMetaData, allMo
|
|
|
625
625
|
)}
|
|
626
626
|
</div>
|
|
627
627
|
}
|
|
628
|
-
<div className="field col-12 flex flex-column gap-
|
|
628
|
+
<div className="field col-12 flex flex-column gap-1 mt-4">
|
|
629
629
|
<label htmlFor="description" className="form-field-label">
|
|
630
630
|
Description
|
|
631
631
|
</label>
|
|
@@ -645,12 +645,12 @@ const ModelMetaData = React.forwardRef(({ modelMetaData, setModelMetaData, allMo
|
|
|
645
645
|
onChange={formik.handleChange}
|
|
646
646
|
value={formik.values.description}
|
|
647
647
|
className={classNames("", {
|
|
648
|
-
"p-invalid": isFormFieldValid(formik, "description"),
|
|
648
|
+
"p-invalid": isFormFieldValid(formik, "description") || formErrors["description"],
|
|
649
649
|
})}
|
|
650
650
|
rows={5}
|
|
651
651
|
cols={30}
|
|
652
652
|
/>
|
|
653
|
-
{isFormFieldValid(formik, "description") && (
|
|
653
|
+
{(isFormFieldValid(formik, "description") || (formErrors["description"])) && (
|
|
654
654
|
<Message
|
|
655
655
|
severity="error"
|
|
656
656
|
text={formik?.errors?.description?.toString()}
|
|
@@ -332,15 +332,23 @@ const CreateModule = ({ data }: any) => {
|
|
|
332
332
|
outlined
|
|
333
333
|
severity="secondary"
|
|
334
334
|
type="button"
|
|
335
|
-
icon=
|
|
335
|
+
icon={
|
|
336
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
337
|
+
<path d="M6 14C5.45 14 4.97917 13.8042 4.5875 13.4125C4.19583 13.0208 4 12.55 4 12C4 11.45 4.19583 10.9792 4.5875 10.5875C4.97917 10.1958 5.45 10 6 10C6.55 10 7.02083 10.1958 7.4125 10.5875C7.80417 10.9792 8 11.45 8 12C8 12.55 7.80417 13.0208 7.4125 13.4125C7.02083 13.8042 6.55 14 6 14ZM12 14C11.45 14 10.9792 13.8042 10.5875 13.4125C10.1958 13.0208 10 12.55 10 12C10 11.45 10.1958 10.9792 10.5875 10.5875C10.9792 10.1958 11.45 10 12 10C12.55 10 13.0208 10.1958 13.4125 10.5875C13.8042 10.9792 14 11.45 14 12C14 12.55 13.8042 13.0208 13.4125 13.4125C13.0208 13.8042 12.55 14 12 14ZM18 14C17.45 14 16.9792 13.8042 16.5875 13.4125C16.1958 13.0208 16 12.55 16 12C16 11.45 16.1958 10.9792 16.5875 10.5875C16.9792 10.1958 17.45 10 18 10C18.55 10 19.0208 10.1958 19.4125 10.5875C19.8042 10.9792 20 11.45 20 12C20 12.55 19.8042 13.0208 19.4125 13.4125C19.0208 13.8042 18.55 14 18 14Z" fill="#4B4D52" />
|
|
338
|
+
</svg>
|
|
339
|
+
}
|
|
336
340
|
size="small"
|
|
337
|
-
className="
|
|
341
|
+
className="bg-primary-reverse p-0"
|
|
342
|
+
style={{
|
|
343
|
+
height: 32,
|
|
344
|
+
width: 32
|
|
345
|
+
}}
|
|
338
346
|
onClick={(e) =>
|
|
339
347
|
// @ts-ignore
|
|
340
348
|
op.current.toggle(e)
|
|
341
349
|
}
|
|
342
350
|
/>
|
|
343
|
-
<OverlayPanel ref={op} className="solid-custom-overlay"
|
|
351
|
+
<OverlayPanel ref={op} className="solid-custom-overlay">
|
|
344
352
|
<div className="flex flex-column gap-1 p-1">
|
|
345
353
|
<Button
|
|
346
354
|
text
|
|
@@ -317,7 +317,7 @@ const CreateUser = ({ data, params }: any) => {
|
|
|
317
317
|
/>
|
|
318
318
|
)}
|
|
319
319
|
</div>
|
|
320
|
-
<div className="field col-6 flex flex-column gap-
|
|
320
|
+
<div className="field col-6 flex flex-column gap-1 mt-4">
|
|
321
321
|
<label htmlFor="email" className="form-field-label">
|
|
322
322
|
Email
|
|
323
323
|
</label>
|
|
@@ -340,7 +340,7 @@ const CreateUser = ({ data, params }: any) => {
|
|
|
340
340
|
/>
|
|
341
341
|
)}
|
|
342
342
|
</div>
|
|
343
|
-
<div className="field col-6 flex flex-column gap-
|
|
343
|
+
<div className="field col-6 flex flex-column gap-1 mt-4">
|
|
344
344
|
<label htmlFor="mobile" className="form-field-label">
|
|
345
345
|
Mobile
|
|
346
346
|
</label>
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
|
|
3
|
+
import { handleError } from "@/helpers/ToastContainer";
|
|
4
|
+
import { getSession, signOut, useSession } from "next-auth/react";
|
|
5
|
+
import { usePathname, useRouter } from "next/navigation";
|
|
6
|
+
import { useEffect, useState } from "react";
|
|
7
|
+
import { Layout } from "./Layout";
|
|
8
|
+
import { Dialog } from "primereact/dialog";
|
|
9
|
+
import { Divider } from "primereact/divider";
|
|
10
|
+
import SolidChangeForcePassword from "../auth/SolidChangeForcePassword";
|
|
11
|
+
|
|
12
|
+
export const AdminLayout = ({ children }: { children: React.ReactNode }) => {
|
|
13
|
+
// const theme = useSelector((state: any) => state.theme.mode);
|
|
14
|
+
const { data: session, status } = useSession();
|
|
15
|
+
const [isForcePasswordChange, setIsForcePasswordChange] = useState(false)
|
|
16
|
+
useEffect(() => {
|
|
17
|
+
// @ts-expect-error: Handling potential case where 'data?.user?.user' might be undefined or null
|
|
18
|
+
if (session?.user?.user?.forcePasswordChange === true) {
|
|
19
|
+
setIsForcePasswordChange(true)
|
|
20
|
+
} else {
|
|
21
|
+
setIsForcePasswordChange(false)
|
|
22
|
+
}
|
|
23
|
+
}, [session])
|
|
24
|
+
const pathname = usePathname();
|
|
25
|
+
const router = useRouter();
|
|
26
|
+
useEffect(() => {
|
|
27
|
+
const handleRouteChange = async () => {
|
|
28
|
+
const session = await getSession(); // Force refetch session on navigation
|
|
29
|
+
if (session?.error === "RefreshAccessTokenError") {
|
|
30
|
+
handleError(["Session Expired. Please Login Again."])
|
|
31
|
+
signOut({ callbackUrl: "/auth/login" });
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
};
|
|
36
|
+
// Listen to routeChangeComplete event
|
|
37
|
+
handleRouteChange()
|
|
38
|
+
|
|
39
|
+
}, [pathname])
|
|
40
|
+
|
|
41
|
+
return (
|
|
42
|
+
<Layout>
|
|
43
|
+
{/* <div className={`${process.env.NEXT_PUBLIC_ENABLE_CUSTOM_HEADER_FOOTER == "true" && 'header-margin-top'}`} style={{ minHeight: `${process.env.NEXT_PUBLIC_ENABLE_CUSTOM_HEADER_FOOTER == "true" ? 'calc(100vh - 70px)' : 'calc(100vh)'}` }}> */}
|
|
44
|
+
|
|
45
|
+
{/* <div className="min-h-full max-h-full flex flex-column relative flex-auto overflow-x-auto"> */}
|
|
46
|
+
{/* <DashboardHeader /> */}
|
|
47
|
+
{/* <SolidListingHeader></SolidListingHeader> */}
|
|
48
|
+
{/* {pathname.includes('all') && <ListingHeader />} */}
|
|
49
|
+
{/* <div className="flex flex-column flex-auto" style={{ backgroundColor: '#f6f6f9', padding: '1.5rem 1.5rem 1.5rem', }}> */}
|
|
50
|
+
{children}
|
|
51
|
+
{/* </div> */}
|
|
52
|
+
{/* </div> */}
|
|
53
|
+
{/* </div> */}
|
|
54
|
+
{isForcePasswordChange &&
|
|
55
|
+
<Dialog header="Change Default Password" visible={isForcePasswordChange} closable={false} draggable={false} style={{ width: '25vw' }} onHide={() => setIsForcePasswordChange(false)}>
|
|
56
|
+
<Divider className="mt-0" />
|
|
57
|
+
<SolidChangeForcePassword />
|
|
58
|
+
</Dialog>
|
|
59
|
+
}
|
|
60
|
+
</Layout>
|
|
61
|
+
)
|
|
62
|
+
}
|
|
@@ -41,7 +41,8 @@ const AppConfig = (props: AppConfigProps) => {
|
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
const applyScale = () => {
|
|
44
|
-
document.documentElement.style.fontSize = layoutConfig.scale + 'px';
|
|
44
|
+
// document.documentElement.style.fontSize = layoutConfig.scale + 'px';
|
|
45
|
+
document.documentElement.style.fontSize = 14 + 'px';
|
|
45
46
|
};
|
|
46
47
|
|
|
47
48
|
useEffect(() => {
|
|
@@ -51,7 +52,7 @@ const AppConfig = (props: AppConfigProps) => {
|
|
|
51
52
|
|
|
52
53
|
return (
|
|
53
54
|
<>
|
|
54
|
-
<button className="layout-config-button config-link" type="button" onClick={onConfigButtonClick}>
|
|
55
|
+
{/* <button className="layout-config-button config-link" type="button" onClick={onConfigButtonClick}>
|
|
55
56
|
<i className="pi pi-cog"></i>
|
|
56
57
|
</button>
|
|
57
58
|
|
|
@@ -95,7 +96,7 @@ const AppConfig = (props: AppConfigProps) => {
|
|
|
95
96
|
</button>
|
|
96
97
|
</div>
|
|
97
98
|
</div>
|
|
98
|
-
</Sidebar>
|
|
99
|
+
</Sidebar> */}
|
|
99
100
|
</>
|
|
100
101
|
);
|
|
101
102
|
};
|
package/src/index.ts
CHANGED
|
@@ -215,6 +215,9 @@ export { SingleSelectAutoCompleteField } from '@/components/common/SingleSelectA
|
|
|
215
215
|
export { SocialMediaLogin } from '@/components/common/SocialMediaLogin';
|
|
216
216
|
export { BackButton } from '@/components/common/BackButton'
|
|
217
217
|
export { FileReaderExt } from '@/components/common/FileReaderExt'
|
|
218
|
+
export { NotFound } from '@/components/common/NotFound'
|
|
219
|
+
import Error from '@/components/common/error';
|
|
220
|
+
export { Error };
|
|
218
221
|
export { SolidFormStepper } from '@/components/common/SolidFormStepper'
|
|
219
222
|
|
|
220
223
|
// export { SolidListViewOptions } from '@/components/core/common/SolidListViewOptions';
|
|
@@ -468,6 +471,10 @@ export { setIsAuthenticated, setUser } from '@/redux/features/userSlice';
|
|
|
468
471
|
// export type { AppDispatch} from '@/redux/store';
|
|
469
472
|
// export {initializeStore} from '@/redux/store';
|
|
470
473
|
|
|
474
|
+
// Admin Parent Layout
|
|
475
|
+
export { AdminLayout } from '@/components/layout/AdminLayout';
|
|
476
|
+
export { SolidAdmin } from '@/components/common/SolidAdmin';
|
|
477
|
+
|
|
471
478
|
// Re-export default exports
|
|
472
479
|
//Login.tsx
|
|
473
480
|
export { default as Login } from '@/components/auth/Login';
|
|
@@ -480,6 +487,9 @@ export { default as CodeEditor } from '@/components/common/CodeEditor';
|
|
|
480
487
|
// export { default as FilterComponent } from '@/components/common/FilterComponent';
|
|
481
488
|
//MarkdownViewer.tsx
|
|
482
489
|
export { default as MarkdownViewer } from '@/components/common/MarkdownViewer';
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
export { default as SolidFormLayouts } from '@/components/core/form/SolidFormLayouts';
|
|
483
493
|
//SolidFormView.tsx
|
|
484
494
|
export { default as SolidFormView } from '@/components/core/form/SolidFormView';
|
|
485
495
|
//KanbanBoard.tsx
|
|
@@ -582,6 +592,7 @@ export { default as UserSidebar } from '@/components/layout/UserSidebar';
|
|
|
582
592
|
export { default as menu } from '@/helpers/menu';
|
|
583
593
|
|
|
584
594
|
// Auth
|
|
595
|
+
export { AuthLayout } from '@/components/auth/AuthLayout';
|
|
585
596
|
export { default as SolidForgotPassword } from '@/components/auth/SolidForgotPassword';
|
|
586
597
|
export { default as SolidLogin } from '@/components/auth/SolidLogin';
|
|
587
598
|
export { default as SolidOTPVerify } from '@/components/auth/SolidOTPVerify';
|
|
@@ -590,6 +601,8 @@ export { default as SolidResetPassword } from '@/components/auth/SolidResetPassw
|
|
|
590
601
|
export { default as SolidChangeForcePassword } from '@/components/auth/SolidChangeForcePassword';
|
|
591
602
|
export { default as SolidInitialLoginOtp } from '@/components/auth/SolidInitialLoginOtp';
|
|
592
603
|
export { default as SolidInitiateRegisterOtp } from '@/components/auth/SolidInitiateRegisterOtp';
|
|
604
|
+
export { GoogleAuthChecking } from '@/components/auth/GoogleAuthChecking';
|
|
605
|
+
export { ForgotPasswordThankYou } from '@/components/auth/ForgotPasswordThankYou';
|
|
593
606
|
|
|
594
607
|
//redux
|
|
595
608
|
export { default as authenticationReducer } from '@/redux/features/authSlice';
|
|
@@ -603,4 +616,7 @@ export { default as GenerateModelCodeRowAction } from '@/components/core/extensi
|
|
|
603
616
|
|
|
604
617
|
// types
|
|
605
618
|
export type { LayoutConfig } from '@/types';
|
|
606
|
-
export { GeneralSettings } from '@/components/common/GeneralSettings';
|
|
619
|
+
export { GeneralSettings } from '@/components/common/GeneralSettings';
|
|
620
|
+
|
|
621
|
+
export { default as authProviders } from '@/nextAuth/authProviders'
|
|
622
|
+
export { SolidThemeLink } from '@/components/common/SolidThemeLink';
|