@solidxai/core-ui 0.1.1 → 0.1.2
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/adapters/auth/getSession.js.map +1 -1
- package/dist/adapters/auth/handleLogout.js.map +1 -1
- package/dist/adapters/auth/index.js.map +1 -1
- package/dist/adapters/auth/refreshAccessToken.js.map +1 -1
- package/dist/adapters/auth/sessionProvider.js.map +1 -1
- package/dist/adapters/auth/signIn.js.map +1 -1
- package/dist/adapters/auth/signInWithOAuthAccessCode.js.map +1 -1
- package/dist/adapters/auth/signInWithOtp.js.map +1 -1
- package/dist/adapters/auth/signOut.js.map +1 -1
- package/dist/adapters/auth/storage.js.map +1 -1
- package/dist/adapters/auth/types.js.map +1 -1
- package/dist/adapters/env.js.map +1 -1
- package/dist/components/Svg/DevDocs.js.map +1 -1
- package/dist/components/Svg/DocsSvg.js.map +1 -1
- package/dist/components/Svg/ExcelSvg.js.map +1 -1
- package/dist/components/Svg/FieldSvg.js.map +1 -1
- package/dist/components/Svg/FileSvg.js.map +1 -1
- package/dist/components/Svg/HomePageModuleSvg.js.map +1 -1
- package/dist/components/Svg/ModelSvg.js.map +1 -1
- package/dist/components/Svg/ModuleSvg.js.map +1 -1
- package/dist/components/Svg/PDFSvg.js.map +1 -1
- package/dist/components/Svg/RightArrowSvg.js.map +1 -1
- package/dist/components/Svg/SettingsSvg.js.map +1 -1
- package/dist/components/auth/AuthLayout.js.map +1 -1
- package/dist/components/auth/ForgotPasswordThankYou.js.map +1 -1
- package/dist/components/auth/GoogleAuthChecking.js.map +1 -1
- package/dist/components/auth/SolidChangeForcePassword.js.map +1 -1
- package/dist/components/auth/SolidForgotPassword.js.map +1 -1
- package/dist/components/auth/SolidInitialLoginOtp.js.map +1 -1
- package/dist/components/auth/SolidInitiateRegisterOtp.js.map +1 -1
- package/dist/components/auth/SolidLogin.js.map +1 -1
- package/dist/components/auth/SolidRegister.js.map +1 -1
- package/dist/components/auth/SolidResetPassword.js.map +1 -1
- package/dist/components/common/AutoCompleteField.js.map +1 -1
- package/dist/components/common/BackButton.js.map +1 -1
- package/dist/components/common/CancelButton.js.map +1 -1
- package/dist/components/common/CodeEditor.js.map +1 -1
- package/dist/components/common/CreateButton.js.map +1 -1
- package/dist/components/common/DownloadProgressToast.js.map +1 -1
- package/dist/components/common/DropzonePlaceholder.js.map +1 -1
- package/dist/components/common/DropzoneUpload.js.map +1 -1
- package/dist/components/common/FileReaderExt.js.map +1 -1
- package/dist/components/common/GeneralSettings.js.map +1 -1
- package/dist/components/common/HeaderDynamicTitles.js.map +1 -1
- package/dist/components/common/Image.js.map +1 -1
- package/dist/components/common/Link.js.map +1 -1
- package/dist/components/common/MarkdownViewer.js.map +1 -1
- package/dist/components/common/MultipleSelectAutoCompleteField.js.map +1 -1
- package/dist/components/common/NotFound.js.map +1 -1
- package/dist/components/common/SingleSelectAutoCompleteField.js.map +1 -1
- package/dist/components/common/SocialMediaLogin.js.map +1 -1
- package/dist/components/common/SolidAdmin.d.ts.map +1 -1
- package/dist/components/common/SolidAdmin.js +3 -3
- package/dist/components/common/SolidAdmin.js.map +1 -1
- package/dist/components/common/SolidAdmin.tsx +186 -10
- package/dist/components/common/SolidBreadcrumb.js.map +1 -1
- package/dist/components/common/SolidErrorPage.d.ts.map +1 -1
- package/dist/components/common/SolidErrorPage.js +3 -2
- package/dist/components/common/SolidErrorPage.js.map +1 -1
- package/dist/components/common/SolidErrorPage.tsx +31 -14
- package/dist/components/common/SolidExport.js.map +1 -1
- package/dist/components/common/SolidExportStepper.js.map +1 -1
- package/dist/components/common/SolidFieldTooltip.js.map +1 -1
- package/dist/components/common/SolidFormHeader.js.map +1 -1
- package/dist/components/common/SolidFormStepper.js.map +1 -1
- package/dist/components/common/SolidModuleHome.js.map +1 -1
- package/dist/components/common/SolidNotFoundPage.d.ts.map +1 -1
- package/dist/components/common/SolidNotFoundPage.js +2 -2
- package/dist/components/common/SolidNotFoundPage.js.map +1 -1
- package/dist/components/common/SolidNotFoundPage.tsx +23 -14
- package/dist/components/common/SolidPopupContainer.js.map +1 -1
- package/dist/components/common/SolidSettings/LlmSettings/AnthropicProviderComponent.js.map +1 -1
- package/dist/components/common/SolidSettings/LlmSettings/OpenAiProviderComponent.js.map +1 -1
- package/dist/components/common/SolidSettings/SettingDropzoneActivePlaceholder.js.map +1 -1
- package/dist/components/common/SolidSettings/SettingsImageRemoveButton.js.map +1 -1
- package/dist/components/common/SolidSettings/SolidUploadedImage.js.map +1 -1
- package/dist/components/common/SolidThemeLink.js.map +1 -1
- package/dist/components/common/SolidThemeProvider.js.map +1 -1
- package/dist/components/common/StepperArrows/ActiveArrowStep.js.map +1 -1
- package/dist/components/common/StepperArrows/ActiveBeforeStepArrow.js.map +1 -1
- package/dist/components/common/StepperArrows/InactiveStepArrow.js.map +1 -1
- package/dist/components/common/error.js.map +1 -1
- package/dist/components/common/useHandleFormCustomButtonClick.js.map +1 -1
- package/dist/components/common/useHandleListCustomButtonClick.js.map +1 -1
- package/dist/components/core/chatter/SolidChatter.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterAuditMessage.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterCustomMessage.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterDateDivider.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterHeader.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterMessageBox.js.map +1 -1
- package/dist/components/core/chatter/SolidMessageComposer.js.map +1 -1
- package/dist/components/core/common/AvatarWidget.js.map +1 -1
- package/dist/components/core/common/DateFieldViewComponent.js.map +1 -1
- package/dist/components/core/common/FilterComponent.js.map +1 -1
- package/dist/components/core/common/PDFViewer.js.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.js.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidChangePassword.js.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidNotifications.js.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidPersonalInfo.js.map +1 -1
- package/dist/components/core/common/SolidCreateButton.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/DocumentSvg.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidGenericImport.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportDropzone.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportInstructions.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportStepper.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportTransaction.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportTransactionStatus.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportWrapper.js.map +1 -1
- package/dist/components/core/common/SolidGlobalSearchElement.d.ts.map +1 -1
- package/dist/components/core/common/SolidGlobalSearchElement.js +81 -44
- package/dist/components/core/common/SolidGlobalSearchElement.js.map +1 -1
- package/dist/components/core/common/SolidGlobalSearchElement.tsx +43 -19
- package/dist/components/core/common/SolidLayoutViews.js.map +1 -1
- package/dist/components/core/common/SolidListViewOptions.js.map +1 -1
- package/dist/components/core/common/SolidLoaders/SolidCircularLoader.js.map +1 -1
- package/dist/components/core/common/SolidPasswordHelperText.js.map +1 -1
- package/dist/components/core/common/SolidSaveCustomFilterForm.js.map +1 -1
- package/dist/components/core/common/SolidSearchBox.js.map +1 -1
- package/dist/components/core/common/SolidViewLayoutManager.js.map +1 -1
- package/dist/components/core/common/SolidXAiIframe.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboard.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardBody.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardFilterRequired.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardHeader.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardLoading.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardNotAvailable.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardRenderError.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardVariable.js.map +1 -1
- package/dist/components/core/dashboard/SolidQuestionRenderer.js.map +1 -1
- package/dist/components/core/dashboard/chart-renderers/ChartJsRenderer.js.map +1 -1
- package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.js.map +1 -1
- package/dist/components/core/dashboard/chart-renderers/init-chartjs.js.map +1 -1
- package/dist/components/core/dashboard/dashboard-utils.js.map +1 -1
- package/dist/components/core/extension/solid-core/CustomIcon/StatusIcon.js.map +1 -1
- package/dist/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.js.map +1 -1
- package/dist/components/core/extension/solid-core/emailTemplate/emailFormTypeChangeHandler.js.map +1 -1
- package/dist/components/core/extension/solid-core/emailTemplate/emailFormTypeLoad.js.map +1 -1
- package/dist/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.js.map +1 -1
- package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.js.map +1 -1
- package/dist/components/core/extension/solid-core/moduleMetadata/list/DeleteModuleRowAction.js.map +1 -1
- package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.js.map +1 -1
- package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.js.map +1 -1
- package/dist/components/core/field/FieldListViewData.js.map +1 -1
- package/dist/components/core/filter/SolidBooleanFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidFilterFields.js.map +1 -1
- package/dist/components/core/filter/SolidManyToManyFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidManyToOneFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidVarInputsFilterElement.js.map +1 -1
- package/dist/components/core/filter/fields/SolidBigintField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidBooleanField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidComputedField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidDateField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidDatetimeField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidDecimalField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidExternalIdField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidFloatField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidIdField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidIntField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidLongTextField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidMediaMultipleField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidMediaSingleField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidRelationField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidRichTextField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidSelectionDynamicField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidSelectionStaticField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidShortTextField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidTimeField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidUuidField.js.map +1 -1
- package/dist/components/core/filter/fields/relations/SolidRelationManyToManyField.js.map +1 -1
- package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.js.map +1 -1
- package/dist/components/core/form/SolidFormActionHeader.js.map +1 -1
- package/dist/components/core/form/SolidFormFieldRender.js.map +1 -1
- package/dist/components/core/form/SolidFormFieldRenderExtension.js.map +1 -1
- package/dist/components/core/form/SolidFormFooter.js.map +1 -1
- package/dist/components/core/form/SolidFormLayouts.js.map +1 -1
- package/dist/components/core/form/SolidFormUserViewLayout.js.map +1 -1
- package/dist/components/core/form/SolidFormView.js.map +1 -1
- package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.js.map +1 -1
- package/dist/components/core/form/SolidFormViewNormalHeaderButton.js.map +1 -1
- package/dist/components/core/form/SolidFormViewShimmerLoading.js.map +1 -1
- package/dist/components/core/form/fields/ISolidField.js.map +1 -1
- package/dist/components/core/form/fields/SolidBooleanField.js.map +1 -1
- package/dist/components/core/form/fields/SolidDateField.js.map +1 -1
- package/dist/components/core/form/fields/SolidDateTimeField.js.map +1 -1
- package/dist/components/core/form/fields/SolidDecimalField.js.map +1 -1
- package/dist/components/core/form/fields/SolidEmailField.js.map +1 -1
- package/dist/components/core/form/fields/SolidIntegerField.js.map +1 -1
- package/dist/components/core/form/fields/SolidJsonField.js.map +1 -1
- package/dist/components/core/form/fields/SolidLongTextField.js.map +1 -1
- package/dist/components/core/form/fields/SolidMediaMultipleField.js.map +1 -1
- package/dist/components/core/form/fields/SolidMediaSingleField.js.map +1 -1
- package/dist/components/core/form/fields/SolidPasswordField.js.map +1 -1
- package/dist/components/core/form/fields/SolidRelationField.js.map +1 -1
- package/dist/components/core/form/fields/SolidRichTextField.js.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionDynamicField.js.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionStaticField.js.map +1 -1
- package/dist/components/core/form/fields/SolidShortTextField.js.map +1 -1
- package/dist/components/core/form/fields/SolidTimeField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js +150 -72
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +157 -46
- package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.js.map +1 -1
- package/dist/components/core/form/fields/relations/widgets/helpers/useRelationEntityHandler.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidAiInteractionMessageFieldFormWidget.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidIconEditWidget.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidIconViewWidget.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidShortTextFieldAvatarWidget.js.map +1 -1
- package/dist/components/core/form/widgets/CustomHtml.js.map +1 -1
- package/dist/components/core/kanban/KanbanBoard.js.map +1 -1
- package/dist/components/core/kanban/KanbanCard.js.map +1 -1
- package/dist/components/core/kanban/KanbanColumn.js.map +1 -1
- package/dist/components/core/kanban/KanbanUserViewLayout.js.map +1 -1
- package/dist/components/core/kanban/SolidKanbanView.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidKanbanView.js +79 -82
- package/dist/components/core/kanban/SolidKanbanView.js.map +1 -1
- package/dist/components/core/kanban/SolidKanbanView.tsx +11 -18
- package/dist/components/core/kanban/SolidKanbanViewConfigure.js.map +1 -1
- package/dist/components/core/kanban/SolidKanbanViewFields.js.map +1 -1
- package/dist/components/core/kanban/SolidManyToOneFilterElement.js.map +1 -1
- package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.js.map +1 -1
- package/dist/components/core/kanban/SolidSelectionStaticFilterElement.js.map +1 -1
- package/dist/components/core/kanban/SolidVarInputsFilterElement.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidBigintKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidBooleanKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidComputedKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidDateKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidDecimalKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidFloatKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidIdKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidIntKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidLongTextKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidRelationKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidRichTextKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidTimeKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidUuidKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.js.map +1 -1
- package/dist/components/core/list/ListViewRowActionPopup.js.map +1 -1
- package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.js.map +1 -1
- package/dist/components/core/list/SolidEmptyListViewPlaceholder.js.map +1 -1
- package/dist/components/core/list/SolidListView.d.ts +62 -1
- package/dist/components/core/list/SolidListView.d.ts.map +1 -1
- package/dist/components/core/list/SolidListView.js +133 -117
- package/dist/components/core/list/SolidListView.js.map +1 -1
- package/dist/components/core/list/SolidListView.tsx +203 -120
- package/dist/components/core/list/SolidListViewColumn.js.map +1 -1
- package/dist/components/core/list/SolidListViewConfigure.js.map +1 -1
- package/dist/components/core/list/SolidListViewHeaderButton.js.map +1 -1
- package/dist/components/core/list/SolidListViewHeaderContextMenuButton.js.map +1 -1
- package/dist/components/core/list/SolidListViewRowButtonContextMenu.js.map +1 -1
- package/dist/components/core/list/SolidListViewShimmerLoading.js.map +1 -1
- package/dist/components/core/list/SolidListingHeader.js.map +1 -1
- package/dist/components/core/list/SolidManyToOneFilterElement.js.map +1 -1
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.js.map +1 -1
- package/dist/components/core/list/SolidSelectionStaticFilterElement.js.map +1 -1
- package/dist/components/core/list/SolidTableRowCell.js.map +1 -1
- package/dist/components/core/list/SolidVarInputsFilterElement.js.map +1 -1
- package/dist/components/core/list/columns/SolidBigintColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidBooleanColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidComputedColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidDateColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidDatetimeColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidDecimalColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidExternalIdColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidFloatColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidIdColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidIntColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidLongTextColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidMediaSingleColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidRelationColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidRichTextColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidShortTextColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidTimeColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidUuidColumn.js.map +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.js.map +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js.map +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.js.map +1 -1
- package/dist/components/core/list/listViewRegistry.d.ts +7 -0
- package/dist/components/core/list/listViewRegistry.d.ts.map +1 -0
- package/dist/components/core/list/listViewRegistry.js +17 -0
- package/dist/components/core/list/listViewRegistry.js.map +1 -0
- package/dist/components/core/list/listViewRegistry.ts +24 -0
- package/dist/components/core/list/widgets/SolidManyToManyRelationAvatarListWidget.js.map +1 -1
- package/dist/components/core/list/widgets/SolidManyToOneRelationAvatarListWidget.js.map +1 -1
- package/dist/components/core/list/widgets/SolidShortTextAvatarWidget.js.map +1 -1
- package/dist/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.js.map +1 -1
- package/dist/components/core/locales/SolidChatterLocaleTabView.js.map +1 -1
- package/dist/components/core/locales/SolidLocale.js.map +1 -1
- package/dist/components/core/model/CreateModel.js.map +1 -1
- package/dist/components/core/model/FieldMetaData.js.map +1 -1
- package/dist/components/core/model/FieldMetaDataForm.js.map +1 -1
- package/dist/components/core/model/FieldSelector.js.map +1 -1
- package/dist/components/core/model/ModelListViewData.js.map +1 -1
- package/dist/components/core/model/ModelMetaData.js.map +1 -1
- package/dist/components/core/module/CreateModule.js.map +1 -1
- package/dist/components/core/module/ModuleListViewData.js.map +1 -1
- package/dist/components/core/solid-ai/SolidAiMainWrapper.js.map +1 -1
- package/dist/components/core/solid-ai/SolidXAIIcon.js.map +1 -1
- package/dist/components/core/users/CreateUser.js.map +1 -1
- package/dist/components/core/users/CreateUserRole.js.map +1 -1
- package/dist/components/core/users/UserListView.js.map +1 -1
- package/dist/components/layout/AdminLayout.js.map +1 -1
- package/dist/components/layout/AdminSidebar.js.map +1 -1
- package/dist/components/layout/AppConfig.js.map +1 -1
- package/dist/components/layout/AppSidebar.js.map +1 -1
- package/dist/components/layout/ButtonLoader.js.map +1 -1
- package/dist/components/layout/CustomPagination.js.map +1 -1
- package/dist/components/layout/DashboardHeader.js.map +1 -1
- package/dist/components/layout/FilterMenu.js.map +1 -1
- package/dist/components/layout/Footer.js.map +1 -1
- package/dist/components/layout/GlobalSearch.js.map +1 -1
- package/dist/components/layout/Header.js.map +1 -1
- package/dist/components/layout/Layout.js.map +1 -1
- package/dist/components/layout/ListingHeader.js.map +1 -1
- package/dist/components/layout/Loader.js.map +1 -1
- package/dist/components/layout/UserSidebar.js.map +1 -1
- package/dist/components/layout/context/layoutcontext.js.map +1 -1
- package/dist/components/layout/navbar-one.d.ts.map +1 -1
- package/dist/components/layout/navbar-one.js.map +1 -1
- package/dist/components/layout/navbar-one.tsx +0 -11
- package/dist/components/layout/navbar-two-menu.js.map +1 -1
- package/dist/components/layout/navbar-two.js.map +1 -1
- package/dist/components/layout/user-profile-menu.js.map +1 -1
- package/dist/components/layout/user-profile.js.map +1 -1
- package/dist/components/modelsComponents/filterIcon.js.map +1 -1
- package/dist/constants/error-messages.js.map +1 -1
- package/dist/helpers/AppTitle.js.map +1 -1
- package/dist/helpers/ToastContainer.js.map +1 -1
- package/dist/helpers/autoCompleteVirtualScroll.js.map +1 -1
- package/dist/helpers/countries.js.map +1 -1
- package/dist/helpers/downloadFileWithProgress.js.map +1 -1
- package/dist/helpers/downloadMediaFile.js.map +1 -1
- package/dist/helpers/eventBus.js.map +1 -1
- package/dist/helpers/getAcceptedFileTypes.js.map +1 -1
- package/dist/helpers/getRandomColors.js.map +1 -1
- package/dist/helpers/helpers.js.map +1 -1
- package/dist/helpers/hydrateRelationRules.js +1 -1
- package/dist/helpers/hydrateRelationRules.js.map +1 -1
- package/dist/helpers/hydrateRelationRules.ts +1 -1
- package/dist/helpers/logger.js.map +1 -1
- package/dist/helpers/permissions.js.map +1 -1
- package/dist/helpers/registry.js.map +1 -1
- package/dist/helpers/resendOtpHelper.js.map +1 -1
- package/dist/helpers/revalidate.js.map +1 -1
- package/dist/helpers/rolesHelper.js.map +1 -1
- package/dist/helpers/routePaths.js.map +1 -1
- package/dist/helpers/showToast.js.map +1 -1
- package/dist/helpers/solidIcons.js.map +1 -1
- package/dist/helpers/updatePasswordField.js.map +1 -1
- package/dist/hooks/usePathname.js.map +1 -1
- package/dist/hooks/useRouter.js.map +1 -1
- package/dist/hooks/useSearchParams.js.map +1 -1
- package/dist/hooks/useSession.js.map +1 -1
- package/dist/http/solidHttp.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/index.ts +1 -2
- package/dist/layouts/AdminLayoutWrapper.js.map +1 -1
- package/dist/layouts/AuthLayoutWrapper.js.map +1 -1
- package/dist/redux/api/aiInteractionApi.js.map +1 -1
- package/dist/redux/api/authApi.js.map +1 -1
- package/dist/redux/api/dashboardApi.js.map +1 -1
- package/dist/redux/api/dashboardQuestionApi.js.map +1 -1
- package/dist/redux/api/exportTemplateApi.js.map +1 -1
- package/dist/redux/api/fetchBaseQuery.js.map +1 -1
- package/dist/redux/api/fieldApi.js.map +1 -1
- package/dist/redux/api/importTransactionApi.js.map +1 -1
- package/dist/redux/api/mediaApi.js.map +1 -1
- package/dist/redux/api/mediaStorageProviderApi.js.map +1 -1
- package/dist/redux/api/modelApi.js.map +1 -1
- package/dist/redux/api/moduleApi.js.map +1 -1
- package/dist/redux/api/permissionApi.js.map +1 -1
- package/dist/redux/api/pincodeApi.js.map +1 -1
- package/dist/redux/api/roleApi.js.map +1 -1
- package/dist/redux/api/solidActionApi.js.map +1 -1
- package/dist/redux/api/solidChatterMessageApi.js.map +1 -1
- package/dist/redux/api/solidEntityApi.js.map +1 -1
- package/dist/redux/api/solidMenuApi.js.map +1 -1
- package/dist/redux/api/solidServiceApi.js.map +1 -1
- package/dist/redux/api/solidSettingsApi.js.map +1 -1
- package/dist/redux/api/solidViewApi.js.map +1 -1
- package/dist/redux/api/stateApi.js.map +1 -1
- package/dist/redux/api/testApi.js.map +1 -1
- package/dist/redux/api/userApi.js.map +1 -1
- package/dist/redux/features/authSlice.js.map +1 -1
- package/dist/redux/features/dataViewSlice.js.map +1 -1
- package/dist/redux/features/navbarSlice.js.map +1 -1
- package/dist/redux/features/popupSlice.js.map +1 -1
- package/dist/redux/features/themeSlice.js.map +1 -1
- package/dist/redux/features/userSlice.js.map +1 -1
- package/dist/redux/hooks/useSolidPopup.js.map +1 -1
- package/dist/redux/store/StoreProvider.js.map +1 -1
- package/dist/redux/store/createSolidStore.js.map +1 -1
- package/dist/redux/store/defaultStoreConfig.js.map +1 -1
- package/dist/resources/globals.css +0 -21
- package/dist/resources/images/errors/error.svg +74 -0
- package/dist/routes/AppEventListener.js.map +1 -1
- package/dist/routes/guards/AuthGuard.js.map +1 -1
- package/dist/routes/pages/ErrorPage.js.map +1 -1
- package/dist/routes/pages/NotFoundPage.js.map +1 -1
- package/dist/routes/pages/admin/AdminPage.js.map +1 -1
- package/dist/routes/pages/admin/core/FormPage.js.map +1 -1
- package/dist/routes/pages/admin/core/KanbanPage.js.map +1 -1
- package/dist/routes/pages/admin/core/ListPage.d.ts.map +1 -1
- package/dist/routes/pages/admin/core/ListPage.js +11 -1
- package/dist/routes/pages/admin/core/ListPage.js.map +1 -1
- package/dist/routes/pages/admin/core/ListPage.tsx +14 -1
- package/dist/routes/pages/admin/core/ModuleHomePage.js.map +1 -1
- package/dist/routes/pages/admin/core/SettingsPage.js.map +1 -1
- package/dist/routes/pages/auth/ConfirmForgotPasswordPage.js.map +1 -1
- package/dist/routes/pages/auth/ForgotPasswordPage.js.map +1 -1
- package/dist/routes/pages/auth/InitiateForgotPasswordPage.js.map +1 -1
- package/dist/routes/pages/auth/InitiateForgotPasswordThankYouPage.js.map +1 -1
- package/dist/routes/pages/auth/InitiateGoogleOauthPage.js.map +1 -1
- package/dist/routes/pages/auth/InitiateLoginPage.js.map +1 -1
- package/dist/routes/pages/auth/InitiateRegisterPage.js.map +1 -1
- package/dist/routes/pages/auth/LoginPage.js.map +1 -1
- package/dist/routes/pages/auth/RegisterPage.js.map +1 -1
- package/dist/routes/pages/auth/ResetPasswordPage.js.map +1 -1
- package/dist/routes/pages/auth/SsoPage.js.map +1 -1
- package/dist/routes/solidRoutes.js.map +1 -1
- package/dist/routes/types.js.map +1 -1
- package/dist/styles.js.map +1 -1
- package/package.json +7 -5
- package/src/adapters/auth/getSession.ts +0 -49
- package/src/adapters/auth/handleLogout.ts +0 -39
- package/src/adapters/auth/index.ts +0 -10
- package/src/adapters/auth/refreshAccessToken.ts +0 -34
- package/src/adapters/auth/sessionProvider.tsx +0 -5
- package/src/adapters/auth/signIn.ts +0 -70
- package/src/adapters/auth/signInWithOAuthAccessCode.ts +0 -80
- package/src/adapters/auth/signInWithOtp.ts +0 -77
- package/src/adapters/auth/signOut.ts +0 -15
- package/src/adapters/auth/storage.ts +0 -28
- package/src/adapters/auth/types.ts +0 -9
- package/src/adapters/env.ts +0 -29
- package/src/components/Svg/DevDocs.tsx +0 -9
- package/src/components/Svg/DocsSvg.tsx +0 -9
- package/src/components/Svg/ExcelSvg.tsx +0 -15
- package/src/components/Svg/FieldSvg.tsx +0 -9
- package/src/components/Svg/FileSvg.tsx +0 -18
- package/src/components/Svg/HomePageModuleSvg.tsx +0 -179
- package/src/components/Svg/ModelSvg.tsx +0 -9
- package/src/components/Svg/ModuleSvg.tsx +0 -9
- package/src/components/Svg/PDFSvg.tsx +0 -15
- package/src/components/Svg/RightArrowSvg.tsx +0 -9
- package/src/components/Svg/SettingsSvg.tsx +0 -9
- package/src/components/auth/AuthLayout.tsx +0 -226
- package/src/components/auth/ForgotPasswordThankYou.tsx +0 -31
- package/src/components/auth/GoogleAuthChecking.tsx +0 -60
- package/src/components/auth/SolidChangeForcePassword.tsx +0 -213
- package/src/components/auth/SolidForgotPassword.tsx +0 -116
- package/src/components/auth/SolidInitialLoginOtp.tsx +0 -231
- package/src/components/auth/SolidInitiateRegisterOtp.tsx +0 -208
- package/src/components/auth/SolidLogin.tsx +0 -418
- package/src/components/auth/SolidRegister.tsx +0 -442
- package/src/components/auth/SolidResetPassword.tsx +0 -186
- package/src/components/common/AuthBanner.tsx +0 -41
- package/src/components/common/AutoCompleteField.tsx +0 -79
- package/src/components/common/BackButton.tsx +0 -73
- package/src/components/common/CancelButton.tsx +0 -62
- package/src/components/common/CodeEditor.tsx +0 -38
- package/src/components/common/CreateButton.tsx +0 -18
- package/src/components/common/DownloadProgressToast.tsx +0 -55
- package/src/components/common/DropzonePlaceholder.tsx +0 -31
- package/src/components/common/DropzoneUpload.tsx +0 -11
- package/src/components/common/FileReaderExt.tsx +0 -20
- package/src/components/common/GeneralSettings.tsx +0 -1215
- package/src/components/common/HeaderDynamicTitles.tsx +0 -13
- package/src/components/common/Image.tsx +0 -13
- package/src/components/common/Link.tsx +0 -13
- package/src/components/common/MarkdownViewer.tsx +0 -84
- package/src/components/common/MultipleSelectAutoCompleteField.tsx +0 -64
- package/src/components/common/NotFound.tsx +0 -22
- package/src/components/common/SingleSelectAutoCompleteField.tsx +0 -73
- package/src/components/common/SocialMediaLogin.tsx +0 -55
- package/src/components/common/SolidAdmin.tsx +0 -29
- package/src/components/common/SolidBreadcrumb.tsx +0 -130
- package/src/components/common/SolidErrorPage.tsx +0 -37
- package/src/components/common/SolidExport.tsx +0 -563
- package/src/components/common/SolidExportStepper.tsx +0 -135
- package/src/components/common/SolidFieldTooltip.tsx +0 -23
- package/src/components/common/SolidFormHeader.tsx +0 -25
- package/src/components/common/SolidFormStepper.tsx +0 -336
- package/src/components/common/SolidModuleHome.tsx +0 -128
- package/src/components/common/SolidNotFoundPage.tsx +0 -37
- package/src/components/common/SolidPopupContainer.tsx +0 -37
- package/src/components/common/SolidSettings/LlmSettings/AnthropicProviderComponent.tsx +0 -45
- package/src/components/common/SolidSettings/LlmSettings/OpenAiProviderComponent.tsx +0 -45
- package/src/components/common/SolidSettings/SettingDropzoneActivePlaceholder.tsx +0 -20
- package/src/components/common/SolidSettings/SettingsImageRemoveButton.tsx +0 -15
- package/src/components/common/SolidSettings/SolidUploadedImage.tsx +0 -16
- package/src/components/common/SolidThemeLink.tsx +0 -6
- package/src/components/common/SolidThemeProvider.tsx +0 -44
- package/src/components/common/StepperArrows/ActiveArrowStep.tsx +0 -18
- package/src/components/common/StepperArrows/ActiveBeforeStepArrow.tsx +0 -18
- package/src/components/common/StepperArrows/InactiveStepArrow.tsx +0 -19
- package/src/components/common/error.tsx +0 -30
- package/src/components/common/solid-export.css +0 -85
- package/src/components/common/solidModuleHome.module.css +0 -135
- package/src/components/common/useHandleFormCustomButtonClick.ts +0 -40
- package/src/components/common/useHandleListCustomButtonClick.ts +0 -40
- package/src/components/core/chatter/SolidChatter.tsx +0 -248
- package/src/components/core/chatter/SolidChatterAuditMessage.tsx +0 -35
- package/src/components/core/chatter/SolidChatterCustomMessage.tsx +0 -46
- package/src/components/core/chatter/SolidChatterDateDivider.tsx +0 -16
- package/src/components/core/chatter/SolidChatterHeader.tsx +0 -218
- package/src/components/core/chatter/SolidChatterMessageBox.tsx +0 -163
- package/src/components/core/chatter/SolidMessageComposer.tsx +0 -146
- package/src/components/core/chatter/chatter.module.css +0 -74
- package/src/components/core/common/AvatarWidget.tsx +0 -55
- package/src/components/core/common/DateFieldViewComponent.tsx +0 -36
- package/src/components/core/common/FilterComponent.tsx +0 -457
- package/src/components/core/common/PDFViewer.tsx +0 -117
- package/src/components/core/common/SolidAccountSettings/SolidAccountSettings.module.css +0 -59
- package/src/components/core/common/SolidAccountSettings/SolidAccountSettings.tsx +0 -89
- package/src/components/core/common/SolidAccountSettings/SolidChangePassword.tsx +0 -179
- package/src/components/core/common/SolidAccountSettings/SolidNotifications.tsx +0 -129
- package/src/components/core/common/SolidAccountSettings/SolidPersonalInfo.tsx +0 -304
- package/src/components/core/common/SolidCreateButton.tsx +0 -59
- package/src/components/core/common/SolidGenericImport/DocumentSvg.tsx +0 -15
- package/src/components/core/common/SolidGenericImport/SolidGenericImport.tsx +0 -64
- package/src/components/core/common/SolidGenericImport/SolidImport.module.css +0 -40
- package/src/components/core/common/SolidGenericImport/SolidImportDropzone.tsx +0 -116
- package/src/components/core/common/SolidGenericImport/SolidImportInstructions.tsx +0 -123
- package/src/components/core/common/SolidGenericImport/SolidImportStepper.tsx +0 -217
- package/src/components/core/common/SolidGenericImport/SolidImportTransaction.tsx +0 -196
- package/src/components/core/common/SolidGenericImport/SolidImportTransactionStatus.tsx +0 -157
- package/src/components/core/common/SolidGenericImport/SolidImportWrapper.tsx +0 -29
- package/src/components/core/common/SolidGlobalSearchElement.tsx +0 -1488
- package/src/components/core/common/SolidLayoutViews.tsx +0 -87
- package/src/components/core/common/SolidListViewOptions.tsx +0 -31
- package/src/components/core/common/SolidLoaders/SolidCircularLoader.tsx +0 -7
- package/src/components/core/common/SolidLoaders/SolidLoaders.module.css +0 -20
- package/src/components/core/common/SolidPasswordHelperText.tsx +0 -33
- package/src/components/core/common/SolidSaveCustomFilterForm.tsx +0 -75
- package/src/components/core/common/SolidSearchBox.tsx +0 -17
- package/src/components/core/common/SolidViewLayoutManager.ts +0 -421
- package/src/components/core/common/SolidXAiIframe.tsx +0 -77
- package/src/components/core/dashboard/SolidDashboard.module.css +0 -79
- package/src/components/core/dashboard/SolidDashboard.tsx +0 -332
- package/src/components/core/dashboard/SolidDashboardBody.tsx +0 -117
- package/src/components/core/dashboard/SolidDashboardFilterRequired.tsx +0 -28
- package/src/components/core/dashboard/SolidDashboardHeader.tsx +0 -10
- package/src/components/core/dashboard/SolidDashboardLoading.tsx +0 -55
- package/src/components/core/dashboard/SolidDashboardNotAvailable.tsx +0 -32
- package/src/components/core/dashboard/SolidDashboardRenderError.tsx +0 -29
- package/src/components/core/dashboard/SolidDashboardVariable.tsx +0 -256
- package/src/components/core/dashboard/SolidQuestionRenderer.tsx +0 -78
- package/src/components/core/dashboard/chart-renderers/ChartJsRenderer.tsx +0 -18
- package/src/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.tsx +0 -54
- package/src/components/core/dashboard/chart-renderers/init-chartjs.ts +0 -25
- package/src/components/core/dashboard/dashboard-utils.ts +0 -39
- package/src/components/core/extension/solid-core/CustomIcon/StatusIcon.tsx +0 -17
- package/src/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.tsx +0 -36
- package/src/components/core/extension/solid-core/emailTemplate/emailFormTypeChangeHandler.ts +0 -18
- package/src/components/core/extension/solid-core/emailTemplate/emailFormTypeLoad.ts +0 -18
- package/src/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.tsx +0 -105
- package/src/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.tsx +0 -205
- package/src/components/core/extension/solid-core/moduleMetadata/list/DeleteModuleRowAction.tsx +0 -131
- package/src/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.tsx +0 -201
- package/src/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.tsx +0 -131
- package/src/components/core/field/FieldListViewData.tsx +0 -313
- package/src/components/core/filter/SolidBooleanFilterElement.tsx +0 -30
- package/src/components/core/filter/SolidFilterFields.tsx +0 -131
- package/src/components/core/filter/SolidManyToManyFilterElement.tsx +0 -64
- package/src/components/core/filter/SolidManyToOneFilterElement.tsx +0 -61
- package/src/components/core/filter/SolidSelectionDynamicFilterElement.tsx +0 -50
- package/src/components/core/filter/SolidSelectionStaticFilterElement.tsx +0 -32
- package/src/components/core/filter/SolidVarInputsFilterElement.tsx +0 -209
- package/src/components/core/filter/fields/SolidBigintField.tsx +0 -9
- package/src/components/core/filter/fields/SolidBooleanField.tsx +0 -68
- package/src/components/core/filter/fields/SolidComputedField.tsx +0 -23
- package/src/components/core/filter/fields/SolidDateField.tsx +0 -63
- package/src/components/core/filter/fields/SolidDatetimeField.tsx +0 -54
- package/src/components/core/filter/fields/SolidDecimalField.tsx +0 -9
- package/src/components/core/filter/fields/SolidExternalIdField.tsx +0 -52
- package/src/components/core/filter/fields/SolidFloatField.tsx +0 -9
- package/src/components/core/filter/fields/SolidIdField.tsx +0 -46
- package/src/components/core/filter/fields/SolidIntField.tsx +0 -61
- package/src/components/core/filter/fields/SolidLongTextField.tsx +0 -9
- package/src/components/core/filter/fields/SolidMediaMultipleField.tsx +0 -60
- package/src/components/core/filter/fields/SolidMediaSingleField.tsx +0 -62
- package/src/components/core/filter/fields/SolidRelationField.tsx +0 -17
- package/src/components/core/filter/fields/SolidRichTextField.tsx +0 -9
- package/src/components/core/filter/fields/SolidSelectionDynamicField.tsx +0 -52
- package/src/components/core/filter/fields/SolidSelectionStaticField.tsx +0 -54
- package/src/components/core/filter/fields/SolidShortTextField.tsx +0 -60
- package/src/components/core/filter/fields/SolidTimeField.tsx +0 -48
- package/src/components/core/filter/fields/SolidUuidField.tsx +0 -51
- package/src/components/core/filter/fields/relations/SolidRelationManyToManyField.tsx +0 -62
- package/src/components/core/filter/fields/relations/SolidRelationManyToOneField.tsx +0 -84
- package/src/components/core/form/SolidFormActionHeader.tsx +0 -516
- package/src/components/core/form/SolidFormFieldRender.tsx +0 -53
- package/src/components/core/form/SolidFormFieldRenderExtension.tsx +0 -26
- package/src/components/core/form/SolidFormFooter.tsx +0 -164
- package/src/components/core/form/SolidFormLayouts.tsx +0 -104
- package/src/components/core/form/SolidFormUserViewLayout.tsx +0 -75
- package/src/components/core/form/SolidFormView.tsx +0 -1869
- package/src/components/core/form/SolidFormViewContextMenuHeaderButton.tsx +0 -53
- package/src/components/core/form/SolidFormViewNormalHeaderButton.tsx +0 -53
- package/src/components/core/form/SolidFormViewShimmerLoading.tsx +0 -109
- package/src/components/core/form/fields/ISolidField.tsx +0 -72
- package/src/components/core/form/fields/SolidBooleanField.tsx +0 -445
- package/src/components/core/form/fields/SolidDateField.tsx +0 -247
- package/src/components/core/form/fields/SolidDateTimeField.tsx +0 -229
- package/src/components/core/form/fields/SolidDecimalField.tsx +0 -171
- package/src/components/core/form/fields/SolidEmailField.tsx +0 -176
- package/src/components/core/form/fields/SolidIntegerField.tsx +0 -282
- package/src/components/core/form/fields/SolidJsonField.tsx +0 -185
- package/src/components/core/form/fields/SolidLongTextField.tsx +0 -618
- package/src/components/core/form/fields/SolidMediaMultipleField.tsx +0 -662
- package/src/components/core/form/fields/SolidMediaSingleField.tsx +0 -546
- package/src/components/core/form/fields/SolidPasswordField.tsx +0 -391
- package/src/components/core/form/fields/SolidRelationField.tsx +0 -56
- package/src/components/core/form/fields/SolidRichTextField.tsx +0 -188
- package/src/components/core/form/fields/SolidSelectionDynamicField.tsx +0 -340
- package/src/components/core/form/fields/SolidSelectionStaticField.tsx +0 -462
- package/src/components/core/form/fields/SolidShortTextField.tsx +0 -399
- package/src/components/core/form/fields/SolidTimeField.tsx +0 -245
- package/src/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +0 -453
- package/src/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +0 -1009
- package/src/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +0 -636
- package/src/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.tsx +0 -38
- package/src/components/core/form/fields/relations/widgets/helpers/useRelationEntityHandler.ts +0 -64
- package/src/components/core/form/fields/solidFields.module.css +0 -7
- package/src/components/core/form/fields/widgets/SolidAiInteractionMessageFieldFormWidget.tsx +0 -135
- package/src/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.tsx +0 -144
- package/src/components/core/form/fields/widgets/SolidIconEditWidget.tsx +0 -265
- package/src/components/core/form/fields/widgets/SolidIconViewWidget.tsx +0 -32
- package/src/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.tsx +0 -50
- package/src/components/core/form/fields/widgets/SolidS3FileViewerWidget.tsx +0 -222
- package/src/components/core/form/fields/widgets/SolidShortTextFieldAvatarWidget.tsx +0 -70
- package/src/components/core/form/solidFormViewShimmerLoading.module.css +0 -4
- package/src/components/core/form/widgets/CustomHtml.tsx +0 -20
- package/src/components/core/kanban/KanbanBoard.tsx +0 -116
- package/src/components/core/kanban/KanbanCard.tsx +0 -280
- package/src/components/core/kanban/KanbanColumn.tsx +0 -138
- package/src/components/core/kanban/KanbanUserViewLayout.tsx +0 -73
- package/src/components/core/kanban/SolidKanbanView.tsx +0 -866
- package/src/components/core/kanban/SolidKanbanViewConfigure.tsx +0 -152
- package/src/components/core/kanban/SolidKanbanViewFields.tsx +0 -164
- package/src/components/core/kanban/SolidManyToOneFilterElement.tsx +0 -59
- package/src/components/core/kanban/SolidSelectionDynamicFilterElement.tsx +0 -50
- package/src/components/core/kanban/SolidSelectionStaticFilterElement.tsx +0 -32
- package/src/components/core/kanban/SolidVarInputsFilterElement.tsx +0 -184
- package/src/components/core/kanban/kanban-fields/SolidBigintKanbanField.tsx +0 -9
- package/src/components/core/kanban/kanban-fields/SolidBooleanKanbanField.tsx +0 -16
- package/src/components/core/kanban/kanban-fields/SolidComputedKanbanField.tsx +0 -23
- package/src/components/core/kanban/kanban-fields/SolidDateKanbanField.tsx +0 -14
- package/src/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.tsx +0 -13
- package/src/components/core/kanban/kanban-fields/SolidDecimalKanbanField.tsx +0 -9
- package/src/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.tsx +0 -12
- package/src/components/core/kanban/kanban-fields/SolidFloatKanbanField.tsx +0 -9
- package/src/components/core/kanban/kanban-fields/SolidIdKanbanField.tsx +0 -14
- package/src/components/core/kanban/kanban-fields/SolidIntKanbanField.tsx +0 -20
- package/src/components/core/kanban/kanban-fields/SolidLongTextKanbanField.tsx +0 -9
- package/src/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.tsx +0 -140
- package/src/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.tsx +0 -164
- package/src/components/core/kanban/kanban-fields/SolidRelationKanbanField.tsx +0 -13
- package/src/components/core/kanban/kanban-fields/SolidRichTextKanbanField.tsx +0 -9
- package/src/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.tsx +0 -14
- package/src/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.tsx +0 -14
- package/src/components/core/kanban/kanban-fields/SolidShortTextKanbanField.tsx +0 -121
- package/src/components/core/kanban/kanban-fields/SolidTimeKanbanField.tsx +0 -12
- package/src/components/core/kanban/kanban-fields/SolidUuidKanbanField.tsx +0 -13
- package/src/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.tsx +0 -16
- package/src/components/core/list/ListViewRowActionPopup.tsx +0 -40
- package/src/components/core/list/SolidColumnSelector/SolidListColumnSelector.module.css +0 -12
- package/src/components/core/list/SolidColumnSelector/SolidListColumnSelector.tsx +0 -233
- package/src/components/core/list/SolidEmptyListViewPlaceholder.tsx +0 -115
- package/src/components/core/list/SolidListView.tsx +0 -2009
- package/src/components/core/list/SolidListViewColumn.tsx +0 -165
- package/src/components/core/list/SolidListViewConfigure.tsx +0 -342
- package/src/components/core/list/SolidListViewHeaderButton.tsx +0 -32
- package/src/components/core/list/SolidListViewHeaderContextMenuButton.tsx +0 -32
- package/src/components/core/list/SolidListViewRowButtonContextMenu.tsx +0 -40
- package/src/components/core/list/SolidListViewShimmerLoading.tsx +0 -78
- package/src/components/core/list/SolidListViewWrapper.module.css +0 -49
- package/src/components/core/list/SolidListingHeader.tsx +0 -41
- package/src/components/core/list/SolidManyToOneFilterElement.tsx +0 -60
- package/src/components/core/list/SolidSelectionDynamicFilterElement.tsx +0 -50
- package/src/components/core/list/SolidSelectionStaticFilterElement.tsx +0 -32
- package/src/components/core/list/SolidTableRowCell.tsx +0 -35
- package/src/components/core/list/SolidVarInputsFilterElement.tsx +0 -184
- package/src/components/core/list/columns/SolidBigintColumn.tsx +0 -9
- package/src/components/core/list/columns/SolidBooleanColumn.tsx +0 -94
- package/src/components/core/list/columns/SolidComputedColumn.tsx +0 -27
- package/src/components/core/list/columns/SolidDateColumn.tsx +0 -90
- package/src/components/core/list/columns/SolidDatetimeColumn.tsx +0 -79
- package/src/components/core/list/columns/SolidDecimalColumn.tsx +0 -9
- package/src/components/core/list/columns/SolidExternalIdColumn.tsx +0 -80
- package/src/components/core/list/columns/SolidFloatColumn.tsx +0 -9
- package/src/components/core/list/columns/SolidIdColumn.tsx +0 -79
- package/src/components/core/list/columns/SolidIntColumn.tsx +0 -87
- package/src/components/core/list/columns/SolidLongTextColumn.tsx +0 -9
- package/src/components/core/list/columns/SolidMediaMultipleColumn.tsx +0 -301
- package/src/components/core/list/columns/SolidMediaSingleColumn.tsx +0 -170
- package/src/components/core/list/columns/SolidRelationColumn.tsx +0 -21
- package/src/components/core/list/columns/SolidRichTextColumn.tsx +0 -9
- package/src/components/core/list/columns/SolidSelectionDynamicColumn.tsx +0 -80
- package/src/components/core/list/columns/SolidSelectionStaticColumn.tsx +0 -81
- package/src/components/core/list/columns/SolidShortTextColumn.tsx +0 -160
- package/src/components/core/list/columns/SolidTimeColumn.tsx +0 -78
- package/src/components/core/list/columns/SolidUuidColumn.tsx +0 -79
- package/src/components/core/list/columns/relations/SolidRelationManyToManyColumn.tsx +0 -106
- package/src/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +0 -117
- package/src/components/core/list/columns/relations/SolidRelationOneToManyColumn.tsx +0 -110
- package/src/components/core/list/widgets/SolidManyToManyRelationAvatarListWidget.tsx +0 -30
- package/src/components/core/list/widgets/SolidManyToOneRelationAvatarListWidget.tsx +0 -30
- package/src/components/core/list/widgets/SolidShortTextAvatarWidget.tsx +0 -70
- package/src/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.tsx +0 -21
- package/src/components/core/locales/SolidChatterLocaleTabView.tsx +0 -91
- package/src/components/core/locales/SolidLocale.tsx +0 -127
- package/src/components/core/locales/solid-locale.css +0 -36
- package/src/components/core/model/CreateModel.tsx +0 -536
- package/src/components/core/model/FieldMetaData.tsx +0 -262
- package/src/components/core/model/FieldMetaDataForm.tsx +0 -3553
- package/src/components/core/model/FieldSelector.tsx +0 -62
- package/src/components/core/model/ModelListViewData.tsx +0 -384
- package/src/components/core/model/ModelMetaData.tsx +0 -949
- package/src/components/core/module/CreateModule.tsx +0 -613
- package/src/components/core/module/ModuleListViewData.tsx +0 -431
- package/src/components/core/solid-ai/SolidAiMainWrapper.tsx +0 -8
- package/src/components/core/solid-ai/SolidXAIIcon.tsx +0 -37
- package/src/components/core/users/CreateUser.tsx +0 -468
- package/src/components/core/users/CreateUserRole.tsx +0 -213
- package/src/components/core/users/UserListView.tsx +0 -376
- package/src/components/layout/AdminLayout.tsx +0 -55
- package/src/components/layout/AdminSidebar.tsx +0 -64
- package/src/components/layout/AppConfig.tsx +0 -104
- package/src/components/layout/AppSidebar.tsx +0 -216
- package/src/components/layout/ButtonLoader.tsx +0 -7
- package/src/components/layout/CustomPagination.tsx +0 -55
- package/src/components/layout/DashboardHeader.tsx +0 -89
- package/src/components/layout/FilterMenu.tsx +0 -122
- package/src/components/layout/Footer.tsx +0 -13
- package/src/components/layout/GlobalSearch.tsx +0 -36
- package/src/components/layout/Header.tsx +0 -8
- package/src/components/layout/Layout.tsx +0 -205
- package/src/components/layout/ListingHeader.tsx +0 -205
- package/src/components/layout/Loader.tsx +0 -16
- package/src/components/layout/UserSidebar.tsx +0 -52
- package/src/components/layout/context/layoutcontext.tsx +0 -52
- package/src/components/layout/navbar-one.tsx +0 -239
- package/src/components/layout/navbar-two-menu.tsx +0 -71
- package/src/components/layout/navbar-two.tsx +0 -37
- package/src/components/layout/user-profile-menu.tsx +0 -212
- package/src/components/layout/user-profile.tsx +0 -7
- package/src/components/modelsComponents/filterIcon.tsx +0 -9
- package/src/constants/error-messages.ts +0 -238
- package/src/declarations.d.ts +0 -22
- package/src/helpers/AppTitle.tsx +0 -12
- package/src/helpers/ToastContainer.tsx +0 -94
- package/src/helpers/autoCompleteVirtualScroll.ts +0 -41
- package/src/helpers/countries.tsx +0 -260
- package/src/helpers/downloadFileWithProgress.ts +0 -86
- package/src/helpers/downloadMediaFile.tsx +0 -22
- package/src/helpers/eventBus.ts +0 -40
- package/src/helpers/getAcceptedFileTypes.tsx +0 -22
- package/src/helpers/getRandomColors.tsx +0 -68
- package/src/helpers/helpers.ts +0 -61
- package/src/helpers/hydrateRelationRules.ts +0 -122
- package/src/helpers/logger.ts +0 -33
- package/src/helpers/permissions.ts +0 -7
- package/src/helpers/registry.ts +0 -337
- package/src/helpers/resendOtpHelper.tsx +0 -5
- package/src/helpers/revalidate.ts +0 -8
- package/src/helpers/rolesHelper.ts +0 -4
- package/src/helpers/routePaths.ts +0 -25
- package/src/helpers/showToast.ts +0 -13
- package/src/helpers/solidIcons.tsx +0 -1831
- package/src/helpers/updatePasswordField.ts +0 -42
- package/src/hooks/usePathname.ts +0 -6
- package/src/hooks/useRouter.ts +0 -35
- package/src/hooks/useSearchParams.ts +0 -10
- package/src/hooks/useSession.ts +0 -52
- package/src/http/solidHttp.ts +0 -63
- package/src/index.ts +0 -460
- package/src/layouts/AdminLayoutWrapper.tsx +0 -10
- package/src/layouts/AuthLayoutWrapper.tsx +0 -10
- package/src/redux/api/aiInteractionApi.ts +0 -59
- package/src/redux/api/authApi.ts +0 -131
- package/src/redux/api/dashboardApi.ts +0 -56
- package/src/redux/api/dashboardQuestionApi.ts +0 -17
- package/src/redux/api/exportTemplateApi.tsx +0 -59
- package/src/redux/api/fetchBaseQuery.tsx +0 -65
- package/src/redux/api/fieldApi.ts +0 -86
- package/src/redux/api/importTransactionApi.tsx +0 -69
- package/src/redux/api/mediaApi.ts +0 -55
- package/src/redux/api/mediaStorageProviderApi.ts +0 -55
- package/src/redux/api/modelApi.ts +0 -80
- package/src/redux/api/moduleApi.ts +0 -72
- package/src/redux/api/permissionApi.ts +0 -32
- package/src/redux/api/pincodeApi.tsx +0 -56
- package/src/redux/api/roleApi.ts +0 -58
- package/src/redux/api/solidActionApi.ts +0 -66
- package/src/redux/api/solidChatterMessageApi.ts +0 -25
- package/src/redux/api/solidEntityApi.tsx +0 -164
- package/src/redux/api/solidMenuApi.ts +0 -71
- package/src/redux/api/solidServiceApi.ts +0 -31
- package/src/redux/api/solidSettingsApi.tsx +0 -83
- package/src/redux/api/solidViewApi.ts +0 -73
- package/src/redux/api/stateApi.tsx +0 -56
- package/src/redux/api/testApi.ts +0 -21
- package/src/redux/api/userApi.ts +0 -135
- package/src/redux/features/authSlice.ts +0 -19
- package/src/redux/features/dataViewSlice.ts +0 -26
- package/src/redux/features/navbarSlice.ts +0 -21
- package/src/redux/features/popupSlice.ts +0 -37
- package/src/redux/features/themeSlice.ts +0 -17
- package/src/redux/features/userSlice.ts +0 -28
- package/src/redux/hooks/useSolidPopup.ts +0 -20
- package/src/redux/store/StoreProvider.tsx +0 -52
- package/src/redux/store/createSolidStore.ts +0 -55
- package/src/redux/store/defaultStoreConfig.ts +0 -62
- package/src/resources/fonts/SF-Pro-Display-Black.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Bold.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Heavy.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Light.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Medium.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Regular.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Semibold.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Thin.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Ultralight.otf +0 -0
- package/src/resources/globals.css +0 -3597
- package/src/resources/images/AvatarDemo.png +0 -0
- package/src/resources/images/Background.svg +0 -3
- package/src/resources/images/Footerbg.png +0 -0
- package/src/resources/images/LoginBanner.png +0 -0
- package/src/resources/images/Navigation/Level.svg +0 -5
- package/src/resources/images/Navigation/Presure.svg +0 -7
- package/src/resources/images/Navigation/SolidSettinsIcon.svg +0 -1
- package/src/resources/images/Navigation/Temperature.svg +0 -13
- package/src/resources/images/Profile/Avatar.png +0 -0
- package/src/resources/images/SolidXLogo.svg +0 -21
- package/src/resources/images/activity.svg +0 -3
- package/src/resources/images/app-builder.png +0 -0
- package/src/resources/images/auth/solid-left-layout-bg.png +0 -0
- package/src/resources/images/auth/solid-login-light.png +0 -0
- package/src/resources/images/auth/solid-right-layout-bg.png +0 -0
- package/src/resources/images/clog-wheel.png +0 -0
- package/src/resources/images/dark-mode.png +0 -0
- package/src/resources/images/dashboard/Ellipse 1.svg +0 -10
- package/src/resources/images/dashboard/Rectangle 17.svg +0 -10
- package/src/resources/images/dashboard/Rectangle 25.svg +0 -11
- package/src/resources/images/dashboard/image 5.svg +0 -9
- package/src/resources/images/eye-icon.png +0 -0
- package/src/resources/images/fb.svg +0 -3
- package/src/resources/images/fileReader/image-jpg.png +0 -0
- package/src/resources/images/fileTypes/File.png +0 -0
- package/src/resources/images/fileTypes/Mp3.png +0 -0
- package/src/resources/images/fileTypes/Mp4.png +0 -0
- package/src/resources/images/filter-icon.png +0 -0
- package/src/resources/images/form/user.png +0 -0
- package/src/resources/images/iam.png +0 -0
- package/src/resources/images/icons/icon-activity.svg +0 -3
- package/src/resources/images/icons/icon-calender.svg +0 -3
- package/src/resources/images/icons/icon-graph.svg +0 -3
- package/src/resources/images/icons/icon-kanban.svg +0 -3
- package/src/resources/images/icons/icon-list.svg +0 -3
- package/src/resources/images/icons/icon-users.svg +0 -3
- package/src/resources/images/icons/jump-to-icon.png +0 -0
- package/src/resources/images/insta.svg +0 -3
- package/src/resources/images/layout/images/comfortable.png +0 -0
- package/src/resources/images/layout/images/compact.png +0 -0
- package/src/resources/images/layout/images/cozy.png +0 -0
- package/src/resources/images/layout/images/kanban.png +0 -0
- package/src/resources/images/li.svg +0 -3
- package/src/resources/images/loginhero.png +0 -0
- package/src/resources/images/logo.png +0 -0
- package/src/resources/images/mail-icon.png +0 -0
- package/src/resources/images/menu/app-builder.svg +0 -19
- package/src/resources/images/menu/iam.svg +0 -14
- package/src/resources/images/menu/logicloop-black.svg +0 -28
- package/src/resources/images/menu/logicloop-blue.svg +0 -32
- package/src/resources/images/menu/logicloop-white.svg +0 -32
- package/src/resources/images/menu/queues.svg +0 -14
- package/src/resources/images/menu/radix.svg +0 -9
- package/src/resources/images/menu/rl-lead-middleware.svg +0 -19
- package/src/resources/images/menu/solid-address-master.svg +0 -10
- package/src/resources/images/menu/srmd-tracker-black.svg +0 -16
- package/src/resources/images/menu/srmd-tracker-original.svg +0 -32
- package/src/resources/images/menu/srmd-tracker-white.svg +0 -17
- package/src/resources/images/menu/srmd-tracker.svg +0 -16
- package/src/resources/images/menu-icon.png +0 -0
- package/src/resources/images/menu-toggle.png +0 -0
- package/src/resources/images/password-icon.png +0 -0
- package/src/resources/images/profile.png +0 -0
- package/src/resources/images/radix-logo-white.png +0 -0
- package/src/resources/images/radix-logo.png +0 -0
- package/src/resources/images/search-icon.png +0 -0
- package/src/resources/images/signupBanner.png +0 -0
- package/src/resources/images/tw.svg +0 -3
- package/src/resources/images/user-icon.png +0 -0
- package/src/resources/solid-primereact.css +0 -2986
- package/src/resources/solid-responsive.css +0 -791
- package/src/resources/stylesheets/_config.scss +0 -54
- package/src/resources/stylesheets/_content.scss +0 -95
- package/src/resources/stylesheets/_footer.scss +0 -10
- package/src/resources/stylesheets/_main.scss +0 -49
- package/src/resources/stylesheets/_menu.scss +0 -183
- package/src/resources/stylesheets/_mixins.scss +0 -13
- package/src/resources/stylesheets/_responsive.scss +0 -101
- package/src/resources/stylesheets/_topbar.scss +0 -152
- package/src/resources/stylesheets/_typography.scss +0 -65
- package/src/resources/stylesheets/_utils.scss +0 -29
- package/src/resources/stylesheets/_variables.scss +0 -3
- package/src/resources/stylesheets/layout.scss +0 -11
- package/src/resources/themes/solid-dark-purple/theme.css +0 -6208
- package/src/resources/themes/solid-light-purple/solid-login-light.png +0 -0
- package/src/resources/themes/solid-light-purple/theme.css +0 -6263
- package/src/routes/AppEventListener.tsx +0 -28
- package/src/routes/guards/AuthGuard.tsx +0 -17
- package/src/routes/pages/ErrorPage.tsx +0 -6
- package/src/routes/pages/NotFoundPage.tsx +0 -5
- package/src/routes/pages/admin/AdminPage.tsx +0 -5
- package/src/routes/pages/admin/core/FormPage.tsx +0 -7
- package/src/routes/pages/admin/core/KanbanPage.tsx +0 -10
- package/src/routes/pages/admin/core/ListPage.tsx +0 -10
- package/src/routes/pages/admin/core/ModuleHomePage.tsx +0 -7
- package/src/routes/pages/admin/core/SettingsPage.tsx +0 -5
- package/src/routes/pages/auth/ConfirmForgotPasswordPage.tsx +0 -5
- package/src/routes/pages/auth/ForgotPasswordPage.tsx +0 -5
- package/src/routes/pages/auth/InitiateForgotPasswordPage.tsx +0 -5
- package/src/routes/pages/auth/InitiateForgotPasswordThankYouPage.tsx +0 -5
- package/src/routes/pages/auth/InitiateGoogleOauthPage.tsx +0 -5
- package/src/routes/pages/auth/InitiateLoginPage.tsx +0 -5
- package/src/routes/pages/auth/InitiateRegisterPage.tsx +0 -5
- package/src/routes/pages/auth/LoginPage.tsx +0 -10
- package/src/routes/pages/auth/RegisterPage.tsx +0 -5
- package/src/routes/pages/auth/ResetPasswordPage.tsx +0 -5
- package/src/routes/pages/auth/SsoPage.tsx +0 -79
- package/src/routes/solidRoutes.tsx +0 -89
- package/src/routes/types.ts +0 -34
- package/src/styles.ts +0 -4
- package/src/types/css-modules.d.ts +0 -4
- package/src/types/handlebars.d.ts +0 -4
- package/src/types/index.d.ts +0 -76
- package/src/types/layout.d.ts +0 -94
- package/src/types/next-auth.d.ts +0 -0
- package/src/types/next.d.ts +0 -46
- package/src/types/solid-core.d.ts +0 -319
|
@@ -1,1215 +0,0 @@
|
|
|
1
|
-
import { useFormik } from 'formik';
|
|
2
|
-
import { Button } from 'primereact/button';
|
|
3
|
-
import { InputText } from 'primereact/inputtext';
|
|
4
|
-
import { Toast } from 'primereact/toast';
|
|
5
|
-
import { useCallback, useEffect, useRef, useState } from 'react'
|
|
6
|
-
import { CancelButton } from './CancelButton';
|
|
7
|
-
import { InputSwitch } from 'primereact/inputswitch';
|
|
8
|
-
import { RadioButton } from 'primereact/radiobutton';
|
|
9
|
-
import { usePathname } from "../../hooks/usePathname";
|
|
10
|
-
import { InputTextarea } from 'primereact/inputtextarea';
|
|
11
|
-
import SolidLogo from '../../resources/images/SolidXLogo.svg'
|
|
12
|
-
import AuthScreenRightBackgroundImage from '../../resources/images/auth/solid-left-layout-bg.png';
|
|
13
|
-
import AuthScreenLeftBackgroundImage from '../../resources/images/auth/solid-right-layout-bg.png';
|
|
14
|
-
import AuthScreenCenterBackgroundImage from '../../resources/images/auth/solid-login-light.png';
|
|
15
|
-
import { useDropzone } from 'react-dropzone';
|
|
16
|
-
import { Divider } from 'primereact/divider';
|
|
17
|
-
import { SettingDropzoneActivePlaceholder } from './SolidSettings/SettingDropzoneActivePlaceholder';
|
|
18
|
-
import { SolidUploadedImage } from './SolidSettings/SolidUploadedImage';
|
|
19
|
-
import { SettingsImageRemoveButton } from './SolidSettings/SettingsImageRemoveButton';
|
|
20
|
-
import { Dropdown } from 'primereact/dropdown';
|
|
21
|
-
import { OpenAiProviderComponent } from './SolidSettings/LlmSettings/OpenAiProviderComponent';
|
|
22
|
-
import { AnthropicProviderComponent } from './SolidSettings/LlmSettings/AnthropicProviderComponent';
|
|
23
|
-
import { useDispatch, useSelector } from 'react-redux';
|
|
24
|
-
import { handleError } from '../../helpers/ToastContainer';
|
|
25
|
-
import { ERROR_MESSAGES } from '../../constants/error-messages';
|
|
26
|
-
import { useBulkUpdateSolidSettingsMutation, useLazyGetSolidSettingsQuery } from '../../redux/api/solidSettingsApi';
|
|
27
|
-
import { env } from "../../adapters/env";
|
|
28
|
-
import showToast from "../../helpers/showToast";
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
export const GeneralSettings = () => {
|
|
32
|
-
const [appLogoPreview, setAppLogoPreview] = useState<string | null>(null);
|
|
33
|
-
const [companyLogoPreview, setCompanyLogoPreview] = useState<string | null>(null);
|
|
34
|
-
const [authScreenRightBackgroundImagePreview, setAuthScreenRightBackgroundImagePreview] = useState<string | null>(null);
|
|
35
|
-
const [authScreenLeftBackgroundImagePreview, setAuthScreenLeftBackgroundImagePreview] = useState<string | null>(null);
|
|
36
|
-
const [authScreenCenterBackgroundImagePreview, setAuthScreenCenterBackgroundImagePreview] = useState<string | null>(null);
|
|
37
|
-
const dispatch = useDispatch()
|
|
38
|
-
|
|
39
|
-
const [trigger, { data: solidSettingsData }] = useLazyGetSolidSettingsQuery();
|
|
40
|
-
|
|
41
|
-
useEffect(() => {
|
|
42
|
-
trigger("") // Fetch settings on mount
|
|
43
|
-
}, [trigger])
|
|
44
|
-
const pathname = usePathname();
|
|
45
|
-
const [bulkUpdateSolidSettings] = useBulkUpdateSolidSettingsMutation();
|
|
46
|
-
const toast = useRef<Toast>(null);
|
|
47
|
-
|
|
48
|
-
const initialValues = {
|
|
49
|
-
appLogo: solidSettingsData?.data?.appLogo ?? null,
|
|
50
|
-
companylogo: solidSettingsData?.data?.companylogo ?? null,
|
|
51
|
-
passwordlessRegistrationValidateWhat: solidSettingsData?.data?.passwordlessRegistrationValidateWhat ?? "email",
|
|
52
|
-
allowPublicRegistration: solidSettingsData?.data?.allowPublicRegistration ?? false,
|
|
53
|
-
passwordBasedAuth: solidSettingsData?.data?.passwordBasedAuth ?? false,
|
|
54
|
-
passwordLessAuth: solidSettingsData?.data?.passwordLessAuth ?? false,
|
|
55
|
-
activateUserOnRegistration: solidSettingsData?.data?.activateUserOnRegistration ?? false,
|
|
56
|
-
iamGoogleOAuthEnabled: solidSettingsData?.data?.iamGoogleOAuthEnabled ?? false,
|
|
57
|
-
// shouldQueueEmails: solidSettingsData?.data?.shouldQueueEmails ?? false,
|
|
58
|
-
// shouldQueueSms: solidSettingsData?.data?.shouldQueueSms ?? false,
|
|
59
|
-
authPagesTheme: solidSettingsData?.data?.authPagesTheme ?? "light",
|
|
60
|
-
authPagesLayout: solidSettingsData?.data?.authPagesLayout ?? "center",
|
|
61
|
-
defaultRole: solidSettingsData?.data?.defaultRole ?? "Admin",
|
|
62
|
-
appLogoPosition: solidSettingsData?.data?.appLogoPosition ?? "in_form_view",
|
|
63
|
-
showAuthContent: solidSettingsData?.data?.showAuthContent ?? false,
|
|
64
|
-
appTitle: solidSettingsData?.data?.appTitle ?? "SolidX",
|
|
65
|
-
appSubtitle: solidSettingsData?.data?.appSubtitle ?? "Welcome To",
|
|
66
|
-
appDescription: solidSettingsData?.data?.appDescription ?? "appDescription",
|
|
67
|
-
showLegalLinks: solidSettingsData?.data?.showLegalLinks ?? false,
|
|
68
|
-
appTnc: solidSettingsData?.data?.appTnc ?? null,
|
|
69
|
-
appPrivacyPolicy: solidSettingsData?.data?.appPrivacyPolicy ?? null,
|
|
70
|
-
enableDarkMode: solidSettingsData?.data?.enableDarkMode ?? false,
|
|
71
|
-
copyright: solidSettingsData?.data?.copyright ?? null,
|
|
72
|
-
forceChangePasswordOnFirstLogin: solidSettingsData?.data?.forceChangePasswordOnFirstLogin ?? false,
|
|
73
|
-
contactSupportEmail: solidSettingsData?.data?.contactSupportEmail ?? null,
|
|
74
|
-
contactSupportDisplayName: solidSettingsData?.data?.contactSupportDisplayName ?? null,
|
|
75
|
-
contactSupportIcon: solidSettingsData?.data?.contactSupportIcon ?? null,
|
|
76
|
-
authScreenRightBackgroundImage: solidSettingsData?.data?.authScreenRightBackgroundImage ?? null,
|
|
77
|
-
authScreenLeftBackgroundImage: solidSettingsData?.data?.authScreenLeftBackgroundImage ?? null,
|
|
78
|
-
authScreenCenterBackgroundImage: solidSettingsData?.data?.authScreenCenterBackgroundImage ?? null,
|
|
79
|
-
solidXGenAiCodeBuilderConfig: solidSettingsData?.data?.solidXGenAiCodeBuilderConfig ?? {
|
|
80
|
-
defaultProvider: "",
|
|
81
|
-
availableProviders: []
|
|
82
|
-
}
|
|
83
|
-
// llmProvider: solidSettingsData?.data?.llmProvider ?? null,
|
|
84
|
-
// llModelName: solidSettingsData?.data?.llModelName ?? null,
|
|
85
|
-
// llmProviderApiKey: solidSettingsData?.data?.llmProviderApiKey ?? null,
|
|
86
|
-
// llmProviderBaseURL: solidSettingsData?.data?.llmProviderBaseURL ?? null,
|
|
87
|
-
// llmModelIdentifier: solidSettingsData?.data?.llmModelIdentifier ?? null
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
};
|
|
91
|
-
const formik = useFormik({
|
|
92
|
-
initialValues: initialValues,
|
|
93
|
-
enableReinitialize: true,
|
|
94
|
-
onSubmit: async (values) => {
|
|
95
|
-
try {
|
|
96
|
-
|
|
97
|
-
const profiles = values.solidXGenAiCodeBuilderConfig.availableProviders;
|
|
98
|
-
console.log("profiles", profiles);
|
|
99
|
-
// ✅ Only set defaultProvider if it's empty AND there is at least one profile
|
|
100
|
-
if (!values.solidXGenAiCodeBuilderConfig.defaultProvider && profiles && profiles.length > 0) {
|
|
101
|
-
values.solidXGenAiCodeBuilderConfig.defaultProvider = profiles[0].provider;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
const updatedSettingsArray: Array<{ key: string; value: string; type: string }> = [];
|
|
105
|
-
const currentSettings = solidSettingsData || {};
|
|
106
|
-
|
|
107
|
-
const formData = new FormData();
|
|
108
|
-
|
|
109
|
-
// Compare changed fields
|
|
110
|
-
Object.entries(values).forEach(([key, value]) => {
|
|
111
|
-
const currentValue = currentSettings[key];
|
|
112
|
-
|
|
113
|
-
const normalizedCurrent = currentValue ?? "";
|
|
114
|
-
const normalizedValue = value ?? "";
|
|
115
|
-
|
|
116
|
-
if (normalizedCurrent !== normalizedValue) {
|
|
117
|
-
// If file, append to formData and use placeholder value in JSON
|
|
118
|
-
if (value instanceof File) {
|
|
119
|
-
formData.append(key, value);
|
|
120
|
-
updatedSettingsArray.push({
|
|
121
|
-
key,
|
|
122
|
-
value: "",
|
|
123
|
-
type: "system",
|
|
124
|
-
});
|
|
125
|
-
} else {
|
|
126
|
-
updatedSettingsArray.push({
|
|
127
|
-
key,
|
|
128
|
-
value: typeof value === "string" ? value : JSON.stringify(value),
|
|
129
|
-
type: "system",
|
|
130
|
-
});
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
});
|
|
134
|
-
|
|
135
|
-
if (updatedSettingsArray.length === 0) {
|
|
136
|
-
showToast(toast, "success", "No Changes", "No settings were updated");
|
|
137
|
-
return;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// Append settings array to formData
|
|
141
|
-
formData.append("settings", JSON.stringify(updatedSettingsArray));
|
|
142
|
-
|
|
143
|
-
// Call API
|
|
144
|
-
const response = await bulkUpdateSolidSettings({ data: formData }).unwrap();
|
|
145
|
-
|
|
146
|
-
if (response.statusCode === 200) {
|
|
147
|
-
showToast(toast, "success", "Updated", "Settings updated");
|
|
148
|
-
trigger("")
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
} catch (error: any) {
|
|
152
|
-
console.log("Error updating settings:", error);
|
|
153
|
-
showToast(toast, "error", ERROR_MESSAGES.FAILED, error?.data?.message || ERROR_MESSAGES.SOMETHING_WRONG);
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
});
|
|
157
|
-
|
|
158
|
-
const showError = async () => {
|
|
159
|
-
const errors = await formik.validateForm();
|
|
160
|
-
const errorMessages = Object.values(errors);
|
|
161
|
-
|
|
162
|
-
if (errorMessages.length > 0 && toast.current) {
|
|
163
|
-
handleError(errorMessages)
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
useEffect(() => {
|
|
167
|
-
|
|
168
|
-
}, [pathname])
|
|
169
|
-
|
|
170
|
-
const positionMap: Record<'left' | 'center' | 'right', string> = {
|
|
171
|
-
left: 'The form will appear on the left side of the screen, while the banner will be positioned on the right side',
|
|
172
|
-
center: 'The form will be centered in the middle of the screen for balanced alignment',
|
|
173
|
-
right: 'The form will appear on the right side of the screen, and the banner will be positioned on the left side'
|
|
174
|
-
};
|
|
175
|
-
|
|
176
|
-
const onAppLogoDrop = useCallback(
|
|
177
|
-
(acceptedFiles: File[]) => {
|
|
178
|
-
const file = acceptedFiles[0];
|
|
179
|
-
if (file) {
|
|
180
|
-
if (file.size > 2 * 1024 * 1024) {
|
|
181
|
-
toast.current?.show({
|
|
182
|
-
severity: "error",
|
|
183
|
-
summary: "File too large",
|
|
184
|
-
detail: "Maximum file size is 2MB",
|
|
185
|
-
sticky: true
|
|
186
|
-
});
|
|
187
|
-
return;
|
|
188
|
-
}
|
|
189
|
-
formik.setFieldValue("appLogo", file);
|
|
190
|
-
setAppLogoPreview(URL.createObjectURL(file));
|
|
191
|
-
}
|
|
192
|
-
},
|
|
193
|
-
[formik]
|
|
194
|
-
);
|
|
195
|
-
|
|
196
|
-
const onCompanyLogoDrop = useCallback((acceptedFiles: File[]) => {
|
|
197
|
-
const file = acceptedFiles[0];
|
|
198
|
-
if (file) {
|
|
199
|
-
if (file.size > 2 * 1024 * 1024) {
|
|
200
|
-
toast.current?.show({
|
|
201
|
-
severity: "error",
|
|
202
|
-
summary: "File too large",
|
|
203
|
-
detail: "Maximum file size is 2MB",
|
|
204
|
-
sticky: true
|
|
205
|
-
});
|
|
206
|
-
return;
|
|
207
|
-
}
|
|
208
|
-
formik.setFieldValue("companylogo", file);
|
|
209
|
-
setCompanyLogoPreview(URL.createObjectURL(file));
|
|
210
|
-
}
|
|
211
|
-
}, [formik]);
|
|
212
|
-
|
|
213
|
-
const {
|
|
214
|
-
getRootProps: getAppLogoRootProps,
|
|
215
|
-
getInputProps: getAppLogoInputProps,
|
|
216
|
-
isDragActive: isAppLogoDragActive
|
|
217
|
-
} = useDropzone({
|
|
218
|
-
accept: {
|
|
219
|
-
'image/png': ['.png'],
|
|
220
|
-
'image/jpeg': ['.jpeg', '.jpg'],
|
|
221
|
-
'image/svg+xml': ['.svg'],
|
|
222
|
-
'image/webp': ['.webp']
|
|
223
|
-
},
|
|
224
|
-
multiple: false,
|
|
225
|
-
onDrop: onAppLogoDrop
|
|
226
|
-
});
|
|
227
|
-
const {
|
|
228
|
-
getRootProps: getCompanyLogoRootProps,
|
|
229
|
-
getInputProps: getCompanyLogoInputProps,
|
|
230
|
-
isDragActive: isCompanyLogoDragActive
|
|
231
|
-
} = useDropzone({
|
|
232
|
-
accept: {
|
|
233
|
-
'image/png': ['.png'],
|
|
234
|
-
'image/jpeg': ['.jpeg', '.jpg'],
|
|
235
|
-
'image/svg+xml': ['.svg'],
|
|
236
|
-
'image/webp': ['.webp']
|
|
237
|
-
},
|
|
238
|
-
multiple: false,
|
|
239
|
-
onDrop: onCompanyLogoDrop
|
|
240
|
-
});
|
|
241
|
-
|
|
242
|
-
const removeAppLogo = () => {
|
|
243
|
-
formik.setFieldValue("appLogo", null);
|
|
244
|
-
if (appLogoPreview) {
|
|
245
|
-
URL.revokeObjectURL(appLogoPreview);
|
|
246
|
-
setAppLogoPreview(null);
|
|
247
|
-
}
|
|
248
|
-
};
|
|
249
|
-
|
|
250
|
-
const removeCompanyLogo = () => {
|
|
251
|
-
formik.setFieldValue("companylogo", null);
|
|
252
|
-
if (companyLogoPreview) {
|
|
253
|
-
URL.revokeObjectURL(companyLogoPreview);
|
|
254
|
-
setCompanyLogoPreview(null);
|
|
255
|
-
}
|
|
256
|
-
};
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
const onAuthScreenRightBackgroundImageDrop = useCallback(
|
|
260
|
-
(acceptedFiles: File[]) => {
|
|
261
|
-
const file = acceptedFiles[0];
|
|
262
|
-
if (file) {
|
|
263
|
-
if (file.size > 2 * 1024 * 1024) {
|
|
264
|
-
toast.current?.show({
|
|
265
|
-
severity: "error",
|
|
266
|
-
summary: ERROR_MESSAGES.FILE_LARGE,
|
|
267
|
-
detail: ERROR_MESSAGES.MAX_FILE_SIZE,
|
|
268
|
-
sticky: true
|
|
269
|
-
});
|
|
270
|
-
return;
|
|
271
|
-
}
|
|
272
|
-
formik.setFieldValue("authScreenRightBackgroundImage", file);
|
|
273
|
-
setAuthScreenRightBackgroundImagePreview(URL.createObjectURL(file));
|
|
274
|
-
}
|
|
275
|
-
},
|
|
276
|
-
[formik]
|
|
277
|
-
);
|
|
278
|
-
|
|
279
|
-
const onAuthScreenLeftBackgroundImageDrop = useCallback((acceptedFiles: File[]) => {
|
|
280
|
-
const file = acceptedFiles[0];
|
|
281
|
-
if (file) {
|
|
282
|
-
if (file.size > 2 * 1024 * 1024) {
|
|
283
|
-
toast.current?.show({
|
|
284
|
-
severity: "error",
|
|
285
|
-
summary: ERROR_MESSAGES.FILE_LARGE,
|
|
286
|
-
detail: ERROR_MESSAGES.MAX_FILE_SIZE,
|
|
287
|
-
sticky: true,
|
|
288
|
-
});
|
|
289
|
-
return;
|
|
290
|
-
}
|
|
291
|
-
formik.setFieldValue("authScreenLeftBackgroundImage", file);
|
|
292
|
-
setAuthScreenLeftBackgroundImagePreview(URL.createObjectURL(file));
|
|
293
|
-
}
|
|
294
|
-
}, [formik]);
|
|
295
|
-
|
|
296
|
-
const onAuthScreenCenterBackgroundImageDrop = useCallback((acceptedFiles: File[]) => {
|
|
297
|
-
const file = acceptedFiles[0];
|
|
298
|
-
if (file) {
|
|
299
|
-
if (file.size > 2 * 1024 * 1024) {
|
|
300
|
-
toast.current?.show({
|
|
301
|
-
severity: "error",
|
|
302
|
-
summary: ERROR_MESSAGES.FILE_LARGE,
|
|
303
|
-
detail: ERROR_MESSAGES.MAX_FILE_SIZE,
|
|
304
|
-
sticky: true,
|
|
305
|
-
});
|
|
306
|
-
return;
|
|
307
|
-
}
|
|
308
|
-
formik.setFieldValue("authScreenCenterBackgroundImage", file);
|
|
309
|
-
setAuthScreenCenterBackgroundImagePreview(URL.createObjectURL(file));
|
|
310
|
-
}
|
|
311
|
-
}, [formik]);
|
|
312
|
-
|
|
313
|
-
const {
|
|
314
|
-
getRootProps: getAuthScreenRightBackgroundImageRootProps,
|
|
315
|
-
getInputProps: getAuthScreenRightBackgroundImageInputProps,
|
|
316
|
-
isDragActive: isAuthScreenRightBackgroundImageDragActive
|
|
317
|
-
} = useDropzone({
|
|
318
|
-
accept: {
|
|
319
|
-
'image/png': ['.png'],
|
|
320
|
-
'image/jpeg': ['.jpeg', '.jpg'],
|
|
321
|
-
'image/svg+xml': ['.svg'],
|
|
322
|
-
'image/webp': ['.webp']
|
|
323
|
-
},
|
|
324
|
-
multiple: false,
|
|
325
|
-
onDrop: onAuthScreenRightBackgroundImageDrop
|
|
326
|
-
});
|
|
327
|
-
|
|
328
|
-
const {
|
|
329
|
-
getRootProps: getAuthScreenLeftBackgroundImageRootProps,
|
|
330
|
-
getInputProps: getAuthScreenLeftBackgroundImageInputProps,
|
|
331
|
-
isDragActive: isAuthScreenLeftBackgroundImageDragActive
|
|
332
|
-
} = useDropzone({
|
|
333
|
-
accept: {
|
|
334
|
-
'image/png': ['.png'],
|
|
335
|
-
'image/jpeg': ['.jpeg', '.jpg'],
|
|
336
|
-
'image/svg+xml': ['.svg'],
|
|
337
|
-
'image/webp': ['.webp']
|
|
338
|
-
},
|
|
339
|
-
multiple: false,
|
|
340
|
-
onDrop: onAuthScreenLeftBackgroundImageDrop
|
|
341
|
-
});
|
|
342
|
-
|
|
343
|
-
const {
|
|
344
|
-
getRootProps: getAuthScreenCenterBackgroundImageRootProps,
|
|
345
|
-
getInputProps: getAuthScreenCenterBackgroundImageInputProps,
|
|
346
|
-
isDragActive: isAuthScreenCenterBackgroundImageDragActive
|
|
347
|
-
} = useDropzone({
|
|
348
|
-
accept: {
|
|
349
|
-
'image/png': ['.png'],
|
|
350
|
-
'image/jpeg': ['.jpeg', '.jpg'],
|
|
351
|
-
'image/svg+xml': ['.svg'],
|
|
352
|
-
'image/webp': ['.webp']
|
|
353
|
-
},
|
|
354
|
-
multiple: false,
|
|
355
|
-
onDrop: onAuthScreenCenterBackgroundImageDrop
|
|
356
|
-
});
|
|
357
|
-
|
|
358
|
-
const removeAuthScreenRightBackgroundImage = () => {
|
|
359
|
-
formik.setFieldValue("authScreenRightBackgroundImage", null);
|
|
360
|
-
if (authScreenRightBackgroundImagePreview) {
|
|
361
|
-
URL.revokeObjectURL(authScreenRightBackgroundImagePreview);
|
|
362
|
-
setAuthScreenRightBackgroundImagePreview(null);
|
|
363
|
-
}
|
|
364
|
-
};
|
|
365
|
-
|
|
366
|
-
const removeAuthScreenLeftBackgroundImage = () => {
|
|
367
|
-
formik.setFieldValue("authScreenLeftBackgroundImage", null);
|
|
368
|
-
if (authScreenLeftBackgroundImagePreview) {
|
|
369
|
-
URL.revokeObjectURL(authScreenLeftBackgroundImagePreview);
|
|
370
|
-
setAuthScreenLeftBackgroundImagePreview(null);
|
|
371
|
-
}
|
|
372
|
-
};
|
|
373
|
-
|
|
374
|
-
const removeAuthScreenCenterBackgroundImage = () => {
|
|
375
|
-
formik.setFieldValue("authScreenCenterBackgroundImage", null);
|
|
376
|
-
if (authScreenCenterBackgroundImagePreview) {
|
|
377
|
-
URL.revokeObjectURL(authScreenCenterBackgroundImagePreview);
|
|
378
|
-
setAuthScreenCenterBackgroundImagePreview(null);
|
|
379
|
-
}
|
|
380
|
-
};
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
// const [currentProfile, setcurrentProfile] = useState<string>("");
|
|
385
|
-
|
|
386
|
-
const handleProviderSelect = (value: string) => {
|
|
387
|
-
// 🔄 Add profile if doesn't exist
|
|
388
|
-
const profiles = formik.values.solidXGenAiCodeBuilderConfig.availableProviders;
|
|
389
|
-
const exists = profiles.some((p: any) => p.provider === value);
|
|
390
|
-
|
|
391
|
-
const newProfiles = exists
|
|
392
|
-
? profiles
|
|
393
|
-
: [
|
|
394
|
-
...profiles,
|
|
395
|
-
{
|
|
396
|
-
id: Date.now().toString(),
|
|
397
|
-
provider: ""
|
|
398
|
-
},
|
|
399
|
-
];
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
formik.setFieldValue("solidXGenAiCodeBuilderConfig.defaultProvider", value);
|
|
403
|
-
formik.setFieldValue("solidXGenAiCodeBuilderConfig.availableProviders", newProfiles);
|
|
404
|
-
};
|
|
405
|
-
|
|
406
|
-
const handleProfileUpdate = (key: string, value: string) => {
|
|
407
|
-
const config = formik.values.solidXGenAiCodeBuilderConfig ?? {
|
|
408
|
-
availableProviders: [],
|
|
409
|
-
defaultProvider: "",
|
|
410
|
-
};
|
|
411
|
-
|
|
412
|
-
const profiles = config.availableProviders ?? [];
|
|
413
|
-
const defaultProvider = config.defaultProvider;
|
|
414
|
-
|
|
415
|
-
let updatedProfiles: any[];
|
|
416
|
-
|
|
417
|
-
// ✅ If profile exists → update it immutably
|
|
418
|
-
if (profiles.some((p: any) => p.provider === defaultProvider)) {
|
|
419
|
-
updatedProfiles = profiles.map((p: any) =>
|
|
420
|
-
p.provider === defaultProvider ? { ...p, [key]: value } : p
|
|
421
|
-
);
|
|
422
|
-
} else {
|
|
423
|
-
// ✅ If profile doesn't exist → create it and set this key
|
|
424
|
-
updatedProfiles = [
|
|
425
|
-
...profiles,
|
|
426
|
-
{
|
|
427
|
-
id: Date.now().toString(),
|
|
428
|
-
provider: defaultProvider,
|
|
429
|
-
[key]: value,
|
|
430
|
-
},
|
|
431
|
-
];
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
// ✅ New array reference → Formik dirty check will pass
|
|
435
|
-
formik.setFieldValue(
|
|
436
|
-
"solidXGenAiCodeBuilderConfig.availableProviders",
|
|
437
|
-
updatedProfiles
|
|
438
|
-
);
|
|
439
|
-
};
|
|
440
|
-
|
|
441
|
-
const currentProfile =
|
|
442
|
-
(formik.values.solidXGenAiCodeBuilderConfig.availableProviders ?? []).find(
|
|
443
|
-
(p: any) => p.provider === formik.values.solidXGenAiCodeBuilderConfig.defaultProvider
|
|
444
|
-
) || null;
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
return (
|
|
448
|
-
<div className="page-parent-wrapper">
|
|
449
|
-
<Toast ref={toast} />
|
|
450
|
-
<div className="solid-form-wrapper">
|
|
451
|
-
<div className="solid-form-section">
|
|
452
|
-
<form onSubmit={formik.handleSubmit}>
|
|
453
|
-
<div className="page-header secondary-border-bottom">
|
|
454
|
-
<div className="form-wrapper-title ">Settings</div>
|
|
455
|
-
<div className="gap-3 flex">
|
|
456
|
-
{formik.dirty &&
|
|
457
|
-
<Button label="Save" size="small" onClick={() => showError()} type="submit" />
|
|
458
|
-
}
|
|
459
|
-
<CancelButton />
|
|
460
|
-
</div>
|
|
461
|
-
</div>
|
|
462
|
-
<div className="px-4 py-3 md:p-4 solid-form-content">
|
|
463
|
-
{pathname.includes("app-settings") &&
|
|
464
|
-
<>
|
|
465
|
-
<div className='formgrid grid'>
|
|
466
|
-
<div className='col-12 lg:col-10 xl:col-8'>
|
|
467
|
-
<div className="formgrid grid">
|
|
468
|
-
<div className="col-12 md:col-6">
|
|
469
|
-
<p className='font-bold ' style={{ fontSize: 16, color: 'var(--solid-setting-title)' }}>App Logo </p>
|
|
470
|
-
<div>
|
|
471
|
-
<div {...getAppLogoRootProps()} className="solid-dropzone-wrapper" style={{ borderRadius: 8 }}>
|
|
472
|
-
<input {...getAppLogoInputProps()} />
|
|
473
|
-
{/* {isAppLogoDragActive && */}
|
|
474
|
-
<SettingDropzoneActivePlaceholder />
|
|
475
|
-
{/* } */}
|
|
476
|
-
</div>
|
|
477
|
-
<div className="mt-2">
|
|
478
|
-
{(() => {
|
|
479
|
-
const logoSrc = (SolidLogo as any).src || SolidLogo;
|
|
480
|
-
|
|
481
|
-
let src = appLogoPreview
|
|
482
|
-
? appLogoPreview
|
|
483
|
-
: formik.values.appLogo
|
|
484
|
-
? formik.values.appLogo
|
|
485
|
-
: logoSrc
|
|
486
|
-
|
|
487
|
-
const isBlobOrAbsolute = src?.startsWith("blob:") || src?.startsWith("http");
|
|
488
|
-
|
|
489
|
-
if (!isBlobOrAbsolute && !src.startsWith("/")) {
|
|
490
|
-
src = `${env("API_URL")}/${src}`;
|
|
491
|
-
}
|
|
492
|
-
return (
|
|
493
|
-
<SolidUploadedImage src={src} className='solid-app-logo' />
|
|
494
|
-
);
|
|
495
|
-
})()}
|
|
496
|
-
</div>
|
|
497
|
-
{formik.values.appLogo && (
|
|
498
|
-
<SettingsImageRemoveButton onClick={removeAppLogo} />
|
|
499
|
-
)}
|
|
500
|
-
</div>
|
|
501
|
-
</div>
|
|
502
|
-
<div className="col-12 md:col-6">
|
|
503
|
-
<p className='font-bold ' style={{ fontSize: 16, color: 'var(--solid-setting-title)' }}>Company Logo </p>
|
|
504
|
-
<div>
|
|
505
|
-
<div {...getCompanyLogoRootProps()} className="solid-dropzone-wrapper" style={{ borderRadius: 8 }}>
|
|
506
|
-
<input {...getCompanyLogoInputProps()} />
|
|
507
|
-
{/* {isCompanyLogoDragActive && */}
|
|
508
|
-
<SettingDropzoneActivePlaceholder />
|
|
509
|
-
{/* } */}
|
|
510
|
-
</div>
|
|
511
|
-
<div className="mt-2">
|
|
512
|
-
{(() => {
|
|
513
|
-
const logoSrc = (SolidLogo as any).src || SolidLogo;
|
|
514
|
-
|
|
515
|
-
let src = companyLogoPreview
|
|
516
|
-
? companyLogoPreview
|
|
517
|
-
: formik.values.companylogo
|
|
518
|
-
? formik.values.companylogo
|
|
519
|
-
: logoSrc
|
|
520
|
-
|
|
521
|
-
const isBlobOrAbsolute = src?.startsWith("blob:") || src?.startsWith("http");
|
|
522
|
-
|
|
523
|
-
if (!isBlobOrAbsolute && !src.startsWith("/")) {
|
|
524
|
-
src = `${env("API_URL")}/${src}`;
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
return (
|
|
528
|
-
<SolidUploadedImage src={src} className='solid-compony-logo' />
|
|
529
|
-
);
|
|
530
|
-
})()}
|
|
531
|
-
</div>
|
|
532
|
-
{formik.values.companylogo && (
|
|
533
|
-
<SettingsImageRemoveButton onClick={removeCompanyLogo} />
|
|
534
|
-
)}
|
|
535
|
-
</div>
|
|
536
|
-
</div>
|
|
537
|
-
</div>
|
|
538
|
-
</div>
|
|
539
|
-
</div>
|
|
540
|
-
<p className='font-bold mt-4' style={{ fontSize: 16, color: 'var(--solid-setting-title)' }}>App Logo Position</p>
|
|
541
|
-
<div className='formgrid grid'>
|
|
542
|
-
<div className='col-12 lg:col-10 xl:col-8'>
|
|
543
|
-
<div className="flex align-items-center gap-3">
|
|
544
|
-
<div className="flex align-items-center">
|
|
545
|
-
<RadioButton
|
|
546
|
-
inputId="appLogoPosition-in_form_view"
|
|
547
|
-
name="appLogoPosition"
|
|
548
|
-
value="in_form_view"
|
|
549
|
-
checked={formik.values.appLogoPosition === "in_form_view"}
|
|
550
|
-
onChange={(e) => formik.setFieldValue("appLogoPosition", e.value)}
|
|
551
|
-
/>
|
|
552
|
-
<label htmlFor="appLogoPosition-in_form_view" className="ml-2">In Form View</label>
|
|
553
|
-
</div>
|
|
554
|
-
<div className="flex align-items-center">
|
|
555
|
-
<RadioButton
|
|
556
|
-
inputId="appLogoPosition-in_image_view"
|
|
557
|
-
name="appLogoPosition"
|
|
558
|
-
value="in_image_view"
|
|
559
|
-
checked={formik.values.appLogoPosition === "in_image_view"}
|
|
560
|
-
onChange={(e) => formik.setFieldValue("appLogoPosition", e.value)}
|
|
561
|
-
/>
|
|
562
|
-
<label htmlFor="appLogoPosition-in_image_view" className="ml-2">In Image View</label>
|
|
563
|
-
</div>
|
|
564
|
-
</div>
|
|
565
|
-
</div>
|
|
566
|
-
</div>
|
|
567
|
-
<div className='mt-4' style={{ borderBottom: '1px dashed #D8E2EA' }}></div>
|
|
568
|
-
<p className='font-bold mt-4' style={{ fontSize: 16, color: 'var(--solid-setting-title)' }}>Title & Description Details </p>
|
|
569
|
-
<div className='formgrid grid'>
|
|
570
|
-
<div className='col-12 lg:col-10 xl:col-8'>
|
|
571
|
-
<div className="formgrid grid">
|
|
572
|
-
<div className="col-12 md:col-6">
|
|
573
|
-
<div className="formgrid grid align-items-center">
|
|
574
|
-
<div className="col-10 sm:col-9 lg:col-5 pb-2 md:pb-0">
|
|
575
|
-
<label className="form-field-label">Show Details on Authentication Screen</label>
|
|
576
|
-
</div>
|
|
577
|
-
<div className="col-2 sm:col-3 lg:col-7">
|
|
578
|
-
<InputSwitch
|
|
579
|
-
name="showAuthContent"
|
|
580
|
-
checked={formik.values.showAuthContent}
|
|
581
|
-
onChange={(e) => formik.setFieldValue("showAuthContent", e.value)}
|
|
582
|
-
/>
|
|
583
|
-
</div>
|
|
584
|
-
</div>
|
|
585
|
-
</div>
|
|
586
|
-
<div className="col-12 md:col-6">
|
|
587
|
-
<div className="formgrid grid align-items-center">
|
|
588
|
-
<div className="col-12 md:col-5 pb-2 md:pb-0">
|
|
589
|
-
<label className="form-field-label">App Title</label>
|
|
590
|
-
</div>
|
|
591
|
-
<div className="col-12 md:col-7">
|
|
592
|
-
<InputText
|
|
593
|
-
type="text"
|
|
594
|
-
id="appTitle"
|
|
595
|
-
name="appTitle"
|
|
596
|
-
onChange={formik.handleChange}
|
|
597
|
-
value={formik.values.appTitle}
|
|
598
|
-
className='w-full'
|
|
599
|
-
/>
|
|
600
|
-
</div>
|
|
601
|
-
</div>
|
|
602
|
-
</div>
|
|
603
|
-
<div className="col-12 md:col-6 mt-4">
|
|
604
|
-
<div className="formgrid grid align-items-center">
|
|
605
|
-
<div className="col-12 md:col-5 pb-2 md:pb-0">
|
|
606
|
-
<label className="form-field-label">App Subtitle</label>
|
|
607
|
-
</div>
|
|
608
|
-
<div className="col-12 md:col-7">
|
|
609
|
-
<InputText
|
|
610
|
-
type="text"
|
|
611
|
-
id="appSubtitle"
|
|
612
|
-
name="appSubtitle"
|
|
613
|
-
onChange={formik.handleChange}
|
|
614
|
-
value={formik.values.appSubtitle}
|
|
615
|
-
className='w-full'
|
|
616
|
-
/>
|
|
617
|
-
</div>
|
|
618
|
-
</div>
|
|
619
|
-
</div>
|
|
620
|
-
<div className="col-12 md:col-6 mt-4">
|
|
621
|
-
<div className="formgrid grid align-items-start">
|
|
622
|
-
<div className="col-12 md:col-5 pb-2 md:pb-0">
|
|
623
|
-
<label className="form-field-label">Description</label>
|
|
624
|
-
</div>
|
|
625
|
-
<div className="col-12 md:col-7">
|
|
626
|
-
<InputTextarea
|
|
627
|
-
rows={3}
|
|
628
|
-
id="appDescription"
|
|
629
|
-
name="appDescription"
|
|
630
|
-
onChange={formik.handleChange}
|
|
631
|
-
value={formik.values.appDescription}
|
|
632
|
-
className='w-full'
|
|
633
|
-
/>
|
|
634
|
-
</div>
|
|
635
|
-
</div>
|
|
636
|
-
</div>
|
|
637
|
-
<div className="col-12 md:col-6 mt-4">
|
|
638
|
-
<div className="formgrid grid align-items-start">
|
|
639
|
-
<div className="col-12 md:col-5 pb-2 md:pb-0">
|
|
640
|
-
<label className="form-field-label">Copyright</label>
|
|
641
|
-
</div>
|
|
642
|
-
<div className="col-12 md:col-7">
|
|
643
|
-
<InputTextarea
|
|
644
|
-
rows={3}
|
|
645
|
-
id="copyright"
|
|
646
|
-
name="copyright"
|
|
647
|
-
onChange={formik.handleChange}
|
|
648
|
-
value={formik.values.copyright}
|
|
649
|
-
className='w-full'
|
|
650
|
-
/>
|
|
651
|
-
</div>
|
|
652
|
-
</div>
|
|
653
|
-
</div>
|
|
654
|
-
</div>
|
|
655
|
-
</div>
|
|
656
|
-
</div>
|
|
657
|
-
<div className='mt-4' style={{ borderBottom: '1px dashed #D8E2EA' }}></div>
|
|
658
|
-
|
|
659
|
-
<p className='font-bold mt-4' style={{ fontSize: 16, color: 'var(--solid-setting-title)' }}>Legal Links</p>
|
|
660
|
-
<div className='formgrid grid'>
|
|
661
|
-
<div className='col-12 lg:col-10 xl:col-8'>
|
|
662
|
-
<div className="formgrid grid">
|
|
663
|
-
<div className="col-12 md:col-6">
|
|
664
|
-
<div className="formgrid grid align-items-center">
|
|
665
|
-
<div className="col-10 sm:col-9 lg:col-5">
|
|
666
|
-
<label className="form-field-label">Show Legal Links</label>
|
|
667
|
-
</div>
|
|
668
|
-
<div className="col-2 sm:col-3 lg:col-7">
|
|
669
|
-
<InputSwitch
|
|
670
|
-
name="showLegalLinks"
|
|
671
|
-
checked={formik.values.showLegalLinks}
|
|
672
|
-
onChange={(e) => formik.setFieldValue("showLegalLinks", e.value)}
|
|
673
|
-
/>
|
|
674
|
-
</div>
|
|
675
|
-
</div>
|
|
676
|
-
</div>
|
|
677
|
-
<div className="col-12 md:col-6">
|
|
678
|
-
<div className="formgrid grid align-items-center">
|
|
679
|
-
<div className="col-12 md:col-5 py-2 md:py-0">
|
|
680
|
-
<label className="form-field-label">Terms and Conditions Link</label>
|
|
681
|
-
</div>
|
|
682
|
-
<div className="col-12 md:col-7">
|
|
683
|
-
<InputText
|
|
684
|
-
type="text"
|
|
685
|
-
id="appTnc"
|
|
686
|
-
name="appTnc"
|
|
687
|
-
onChange={formik.handleChange}
|
|
688
|
-
value={formik.values.appTnc}
|
|
689
|
-
className='w-full'
|
|
690
|
-
/>
|
|
691
|
-
</div>
|
|
692
|
-
</div>
|
|
693
|
-
</div>
|
|
694
|
-
<div className="col-12 md:col-6 mt-3">
|
|
695
|
-
<div className="formgrid grid align-items-center">
|
|
696
|
-
<div className="col-12 md:col-5 pb-2 md:pb-0">
|
|
697
|
-
<label className="form-field-label">Privacy Policy Link</label>
|
|
698
|
-
</div>
|
|
699
|
-
<div className="col-12 md:col-7">
|
|
700
|
-
<InputText
|
|
701
|
-
type="text"
|
|
702
|
-
id="appPrivacyPolicy"
|
|
703
|
-
name="appPrivacyPolicy"
|
|
704
|
-
onChange={formik.handleChange}
|
|
705
|
-
value={formik.values.appPrivacyPolicy}
|
|
706
|
-
className='w-full'
|
|
707
|
-
/>
|
|
708
|
-
</div>
|
|
709
|
-
</div>
|
|
710
|
-
</div>
|
|
711
|
-
</div>
|
|
712
|
-
</div>
|
|
713
|
-
</div>
|
|
714
|
-
<div className='mt-4' style={{ borderBottom: '1px dashed #D8E2EA' }}></div>
|
|
715
|
-
<p className='font-bold mt-4' style={{ fontSize: 16, color: 'var(--solid-setting-title)' }}>Theme</p>
|
|
716
|
-
<div className='formgrid grid'>
|
|
717
|
-
<div className='col-12 lg:col-10 xl:col-8'>
|
|
718
|
-
<div className="formgrid grid">
|
|
719
|
-
<div className="col-12 md:col-6">
|
|
720
|
-
<div className="formgrid grid align-items-center">
|
|
721
|
-
<div className="col-10 sm:col-10 lg:col-5">
|
|
722
|
-
<label className="form-field-label">Enable Dark Mode</label>
|
|
723
|
-
</div>
|
|
724
|
-
<div className="col-2 sm:col-3 lg:col-7">
|
|
725
|
-
<InputSwitch
|
|
726
|
-
name="enableDarkMode"
|
|
727
|
-
checked={formik.values.enableDarkMode}
|
|
728
|
-
onChange={(e) => formik.setFieldValue("enableDarkMode", e.value)}
|
|
729
|
-
/>
|
|
730
|
-
</div>
|
|
731
|
-
</div>
|
|
732
|
-
</div>
|
|
733
|
-
</div>
|
|
734
|
-
</div>
|
|
735
|
-
</div>
|
|
736
|
-
</>
|
|
737
|
-
}
|
|
738
|
-
{pathname.includes("authentication-settings") &&
|
|
739
|
-
<>
|
|
740
|
-
<p className='font-bold' style={{ fontSize: 16, color: 'var(--solid-setting-title)' }}>User Authentication </p>
|
|
741
|
-
<div className='formgrid grid'>
|
|
742
|
-
<div className='col-12 lg:col-10 xl:col-8'>
|
|
743
|
-
<div className="formgrid grid">
|
|
744
|
-
<div className="col-12">
|
|
745
|
-
<div className="formgrid grid align-items-center">
|
|
746
|
-
<div className="col-10 sm:col-9 lg:col-5">
|
|
747
|
-
<label className="form-field-label">Public Registration</label>
|
|
748
|
-
</div>
|
|
749
|
-
<div className="col-2 sm:col-3 lg:col-7">
|
|
750
|
-
<InputSwitch
|
|
751
|
-
name="allowPublicRegistration"
|
|
752
|
-
checked={formik.values.allowPublicRegistration}
|
|
753
|
-
onChange={(e) => formik.setFieldValue("allowPublicRegistration", e.value)}
|
|
754
|
-
/>
|
|
755
|
-
</div>
|
|
756
|
-
</div>
|
|
757
|
-
</div>
|
|
758
|
-
<div className="col-12 mt-3">
|
|
759
|
-
<div className="formgrid grid align-items-center">
|
|
760
|
-
<div className="col-10 sm:col-9 lg:col-5">
|
|
761
|
-
<label className="form-field-label">Password Based Authentication</label>
|
|
762
|
-
</div>
|
|
763
|
-
<div className="col-2 sm:col-3 lg:col-7">
|
|
764
|
-
<InputSwitch
|
|
765
|
-
name="passwordBasedAuth"
|
|
766
|
-
checked={formik.values.passwordBasedAuth}
|
|
767
|
-
onChange={(e) => formik.setFieldValue("passwordBasedAuth", e.value)}
|
|
768
|
-
/>
|
|
769
|
-
</div>
|
|
770
|
-
</div>
|
|
771
|
-
</div>
|
|
772
|
-
<div className="col-12 mt-3">
|
|
773
|
-
<div className="formgrid grid align-items-center">
|
|
774
|
-
<div className="col-10 sm:col-9 lg:col-5">
|
|
775
|
-
<label className="form-field-label">Password Less Authentication</label>
|
|
776
|
-
</div>
|
|
777
|
-
<div className="col-2 sm:col-3 lg:col-7">
|
|
778
|
-
<InputSwitch
|
|
779
|
-
name="passwordLessAuth"
|
|
780
|
-
checked={formik.values.passwordLessAuth}
|
|
781
|
-
onChange={(e) => formik.setFieldValue("passwordLessAuth", e.value)}
|
|
782
|
-
/>
|
|
783
|
-
</div>
|
|
784
|
-
</div>
|
|
785
|
-
</div>
|
|
786
|
-
<div className="col-12 mt-3">
|
|
787
|
-
<div className="formgrid grid align-items-center">
|
|
788
|
-
<div className="col-10 sm:col-9 lg:col-5">
|
|
789
|
-
<label className="form-field-label">Auto Activate User on Registration </label>
|
|
790
|
-
</div>
|
|
791
|
-
<div className="col-2 sm:col-3 lg:col-7">
|
|
792
|
-
<InputSwitch
|
|
793
|
-
name="activateUserOnRegistration"
|
|
794
|
-
checked={formik.values.activateUserOnRegistration}
|
|
795
|
-
onChange={(e) => formik.setFieldValue("activateUserOnRegistration", e.value)}
|
|
796
|
-
/>
|
|
797
|
-
</div>
|
|
798
|
-
</div>
|
|
799
|
-
</div>
|
|
800
|
-
<div className="col-12 mt-3">
|
|
801
|
-
<div className="formgrid grid align-items-center">
|
|
802
|
-
<div className="col-10 sm:col-9 lg:col-5">
|
|
803
|
-
<label className="form-field-label">Allow Login/ Signup with Google </label>
|
|
804
|
-
</div>
|
|
805
|
-
<div className="col-2 sm:col-3 lg:col-7">
|
|
806
|
-
<InputSwitch
|
|
807
|
-
name="iamGoogleOAuthEnabled"
|
|
808
|
-
checked={formik.values.iamGoogleOAuthEnabled}
|
|
809
|
-
onChange={(e) => formik.setFieldValue("iamGoogleOAuthEnabled", e.value)}
|
|
810
|
-
/>
|
|
811
|
-
</div>
|
|
812
|
-
</div>
|
|
813
|
-
</div>
|
|
814
|
-
<div className="col-12 mt-3">
|
|
815
|
-
<div className="formgrid grid align-items-center">
|
|
816
|
-
<div className="col-10 sm:col-9 lg:col-5">
|
|
817
|
-
<label className="form-field-label">Force Password change on first Login </label>
|
|
818
|
-
</div>
|
|
819
|
-
<div className="col-2 sm:col-3 lg:col-7">
|
|
820
|
-
<InputSwitch
|
|
821
|
-
name="forceChangePasswordOnFirstLogin"
|
|
822
|
-
checked={formik.values.forceChangePasswordOnFirstLogin}
|
|
823
|
-
onChange={(e) => formik.setFieldValue("forceChangePasswordOnFirstLogin", e.value)}
|
|
824
|
-
/>
|
|
825
|
-
</div>
|
|
826
|
-
</div>
|
|
827
|
-
</div>
|
|
828
|
-
{formik.values.passwordLessAuth === true &&
|
|
829
|
-
<div className="col-12 mt-3">
|
|
830
|
-
<div className="formgrid grid align-items-center">
|
|
831
|
-
<div className="col-12 sm:col-12 lg:col-5 xl:col-5">
|
|
832
|
-
<label className="form-field-label">Password Less Authentication Method</label>
|
|
833
|
-
</div>
|
|
834
|
-
<div className='col-12 sm:col-12 lg:col-6 xl:col-6'>
|
|
835
|
-
<div className="flex align-items-center gap-3 mt-3 lg:mt-0">
|
|
836
|
-
<div className="flex align-items-center">
|
|
837
|
-
<RadioButton
|
|
838
|
-
inputId="passwordlessRegistrationValidateWhat-email"
|
|
839
|
-
name="passwordlessRegistrationValidateWhat"
|
|
840
|
-
value="email"
|
|
841
|
-
checked={formik.values.passwordlessRegistrationValidateWhat === "email"}
|
|
842
|
-
onChange={(e) => formik.setFieldValue("passwordlessRegistrationValidateWhat", e.value)}
|
|
843
|
-
/>
|
|
844
|
-
<label htmlFor="passwordlessRegistrationValidateWhat-email" className="ml-2">Email</label>
|
|
845
|
-
</div>
|
|
846
|
-
<div className="flex align-items-center">
|
|
847
|
-
<RadioButton
|
|
848
|
-
inputId="passwordlessRegistrationValidateWhat-mobile"
|
|
849
|
-
name="passwordlessRegistrationValidateWhat"
|
|
850
|
-
value="mobile"
|
|
851
|
-
checked={formik.values.passwordlessRegistrationValidateWhat === "mobile"}
|
|
852
|
-
onChange={(e) => formik.setFieldValue("passwordlessRegistrationValidateWhat", e.value)}
|
|
853
|
-
/>
|
|
854
|
-
<label htmlFor="passwordlessRegistrationValidateWhat-mobile" className="ml-2">Mobile</label>
|
|
855
|
-
</div>
|
|
856
|
-
<div className="flex align-items-center">
|
|
857
|
-
<RadioButton
|
|
858
|
-
inputId="passwordlessRegistrationValidateWhat-transactional"
|
|
859
|
-
name="passwordlessRegistrationValidateWhat"
|
|
860
|
-
value="transactional"
|
|
861
|
-
checked={formik.values.passwordlessRegistrationValidateWhat === "transactional"}
|
|
862
|
-
onChange={(e) => formik.setFieldValue("passwordlessRegistrationValidateWhat", e.value)}
|
|
863
|
-
/>
|
|
864
|
-
<label htmlFor="passwordlessRegistrationValidateWhat-transactional" className="ml-2">Transactional</label>
|
|
865
|
-
</div>
|
|
866
|
-
</div>
|
|
867
|
-
</div>
|
|
868
|
-
</div>
|
|
869
|
-
{formik.values.passwordlessRegistrationValidateWhat === "transactional" &&
|
|
870
|
-
<p className="mt-3 text-sm font-bold">Note : In this method, you can pass the authentication method from the ui with possible values being either email or mobile. You can also pass both the values here</p>
|
|
871
|
-
}
|
|
872
|
-
</div>
|
|
873
|
-
}
|
|
874
|
-
</div>
|
|
875
|
-
</div>
|
|
876
|
-
</div>
|
|
877
|
-
<div className='mt-4' style={{ borderBottom: '1px dashed #D8E2EA' }}></div>
|
|
878
|
-
<p className='font-bold mt-4' style={{ fontSize: 16, color: 'var(--solid-setting-title)' }}>Authentication Screen Layout</p>
|
|
879
|
-
<div className='formgrid grid'>
|
|
880
|
-
<div className='col-12 lg:col-10 xl:col-8'>
|
|
881
|
-
<div className="flex align-items-center gap-3">
|
|
882
|
-
<div className="flex align-items-center">
|
|
883
|
-
<RadioButton
|
|
884
|
-
inputId="authPagesLayout-left"
|
|
885
|
-
name="authPagesLayout"
|
|
886
|
-
value="left"
|
|
887
|
-
checked={formik.values.authPagesLayout === "left"}
|
|
888
|
-
onChange={(e) => formik.setFieldValue("authPagesLayout", e.value)}
|
|
889
|
-
/>
|
|
890
|
-
<label htmlFor="authPagesLayout-left" className="ml-2">Left</label>
|
|
891
|
-
</div>
|
|
892
|
-
<div className="flex align-items-center">
|
|
893
|
-
<RadioButton
|
|
894
|
-
inputId="authPagesLayout-center"
|
|
895
|
-
name="authPagesLayout"
|
|
896
|
-
value="center"
|
|
897
|
-
checked={formik.values.authPagesLayout === "center"}
|
|
898
|
-
onChange={(e) => formik.setFieldValue("authPagesLayout", e.value)}
|
|
899
|
-
/>
|
|
900
|
-
<label htmlFor="authPagesLayout-center" className="ml-2">Center</label>
|
|
901
|
-
</div>
|
|
902
|
-
<div className="flex align-items-center">
|
|
903
|
-
<RadioButton
|
|
904
|
-
inputId="authPagesLayout-right"
|
|
905
|
-
name="authPagesLayout"
|
|
906
|
-
value="right"
|
|
907
|
-
checked={formik.values.authPagesLayout === "right"}
|
|
908
|
-
onChange={(e) => formik.setFieldValue("authPagesLayout", e.value)}
|
|
909
|
-
/>
|
|
910
|
-
<label htmlFor="authPagesLayout-right" className="ml-2">Right</label>
|
|
911
|
-
</div>
|
|
912
|
-
</div>
|
|
913
|
-
<p className="mt-3 text-sm font-bold">Note : {positionMap[formik.values.authPagesLayout as 'left' | 'center' | 'right']}</p>
|
|
914
|
-
</div>
|
|
915
|
-
</div>
|
|
916
|
-
{formik.values.authPagesLayout === "center" && <></>}
|
|
917
|
-
<div className='formgrid grid'>
|
|
918
|
-
<div className='col-12 lg:col-10 xl:col-8'>
|
|
919
|
-
<div className="formgrid grid">
|
|
920
|
-
<div className="col-12 md:col-8 lg:col-6">
|
|
921
|
-
<p className='font-bold ' style={{ fontSize: 16, color: 'var(--solid-setting-title)' }}>{formik.values.authPagesLayout === "center" ? "Background" : "Banner"} Image</p>
|
|
922
|
-
{formik.values.authPagesLayout === "left" &&
|
|
923
|
-
<div>
|
|
924
|
-
<div {...getAuthScreenLeftBackgroundImageRootProps()} className="solid-dropzone-wrapper" style={{ borderRadius: 8 }}>
|
|
925
|
-
<input {...getAuthScreenLeftBackgroundImageInputProps()} />
|
|
926
|
-
{/* {isAuthScreenLeftBackgroundImageDragActive && */}
|
|
927
|
-
<SettingDropzoneActivePlaceholder note={"Recommended: 724×724px | Aspect ratio: 1:1"} />
|
|
928
|
-
{/* } */}
|
|
929
|
-
</div>
|
|
930
|
-
<div className="mt-2">
|
|
931
|
-
{(() => {
|
|
932
|
-
const logoSrc = (AuthScreenLeftBackgroundImage as any).src || AuthScreenLeftBackgroundImage;
|
|
933
|
-
|
|
934
|
-
let src = authScreenLeftBackgroundImagePreview
|
|
935
|
-
? authScreenLeftBackgroundImagePreview
|
|
936
|
-
: formik.values.authScreenLeftBackgroundImage
|
|
937
|
-
? formik.values.authScreenLeftBackgroundImage
|
|
938
|
-
: logoSrc
|
|
939
|
-
|
|
940
|
-
const isBlobOrAbsolute = src?.startsWith("blob:") || src?.startsWith("http");
|
|
941
|
-
|
|
942
|
-
if (!isBlobOrAbsolute && !src.startsWith("/")) {
|
|
943
|
-
src = `${env("API_URL")}/${src}`;
|
|
944
|
-
}
|
|
945
|
-
return (
|
|
946
|
-
<SolidUploadedImage src={src} height={400} width={400} maxHeight={400} />
|
|
947
|
-
);
|
|
948
|
-
})()}
|
|
949
|
-
</div>
|
|
950
|
-
{formik.values.authScreenLeftBackgroundImage && (
|
|
951
|
-
<SettingsImageRemoveButton onClick={removeAuthScreenLeftBackgroundImage} />
|
|
952
|
-
)}
|
|
953
|
-
</div>
|
|
954
|
-
}
|
|
955
|
-
{formik.values.authPagesLayout === "right" &&
|
|
956
|
-
<div>
|
|
957
|
-
<div {...getAuthScreenRightBackgroundImageRootProps()} className="solid-dropzone-wrapper" style={{ borderRadius: 8 }}>
|
|
958
|
-
<input {...getAuthScreenRightBackgroundImageInputProps()} />
|
|
959
|
-
{/* {isAuthScreenRightBackgroundImageDragActive && */}
|
|
960
|
-
<SettingDropzoneActivePlaceholder note={"Recommended: 724×724px | Aspect ratio: 1:1"} />
|
|
961
|
-
{/* } */}
|
|
962
|
-
</div>
|
|
963
|
-
<div className="mt-2">
|
|
964
|
-
{(() => {
|
|
965
|
-
const logoSrc = (AuthScreenRightBackgroundImage as any).src || AuthScreenRightBackgroundImage;
|
|
966
|
-
|
|
967
|
-
let src = authScreenRightBackgroundImagePreview
|
|
968
|
-
? authScreenRightBackgroundImagePreview
|
|
969
|
-
: formik.values.authScreenRightBackgroundImage
|
|
970
|
-
? formik.values.authScreenRightBackgroundImage
|
|
971
|
-
: logoSrc
|
|
972
|
-
|
|
973
|
-
const isBlobOrAbsolute = src?.startsWith("blob:") || src?.startsWith("http");
|
|
974
|
-
|
|
975
|
-
if (!isBlobOrAbsolute && !src.startsWith("/")) {
|
|
976
|
-
src = `${env("API_URL")}/${src}`;
|
|
977
|
-
}
|
|
978
|
-
return (
|
|
979
|
-
<SolidUploadedImage src={src} height={400} width={400} maxHeight={400} />
|
|
980
|
-
);
|
|
981
|
-
})()}
|
|
982
|
-
</div>
|
|
983
|
-
{formik.values.authScreenRightBackgroundImage && (
|
|
984
|
-
<SettingsImageRemoveButton onClick={removeAuthScreenRightBackgroundImage} />
|
|
985
|
-
)}
|
|
986
|
-
</div>
|
|
987
|
-
}
|
|
988
|
-
{formik.values.authPagesLayout === "center" &&
|
|
989
|
-
<div>
|
|
990
|
-
<div {...getAuthScreenCenterBackgroundImageRootProps()} className="solid-dropzone-wrapper" style={{ borderRadius: 8 }}>
|
|
991
|
-
<input {...getAuthScreenCenterBackgroundImageInputProps()} />
|
|
992
|
-
<SettingDropzoneActivePlaceholder note={"Recommended: 1440px × 724px | Aspect ratio: 2:1"} />
|
|
993
|
-
</div>
|
|
994
|
-
<div className="mt-2">
|
|
995
|
-
{(() => {
|
|
996
|
-
const logoSrc = (AuthScreenCenterBackgroundImage as any).src || AuthScreenCenterBackgroundImage;
|
|
997
|
-
|
|
998
|
-
let src = authScreenCenterBackgroundImagePreview
|
|
999
|
-
? authScreenCenterBackgroundImagePreview
|
|
1000
|
-
: formik.values.authScreenCenterBackgroundImage
|
|
1001
|
-
? formik.values.authScreenCenterBackgroundImage
|
|
1002
|
-
: logoSrc
|
|
1003
|
-
|
|
1004
|
-
const isBlobOrAbsolute = src?.startsWith("blob:") || src?.startsWith("http");
|
|
1005
|
-
|
|
1006
|
-
if (!isBlobOrAbsolute && !src.startsWith("/")) {
|
|
1007
|
-
src = `${env("API_URL")}/${src}`;
|
|
1008
|
-
}
|
|
1009
|
-
return (
|
|
1010
|
-
<SolidUploadedImage src={src} height={300} width={600} maxHeight={300} />
|
|
1011
|
-
);
|
|
1012
|
-
})()}
|
|
1013
|
-
</div>
|
|
1014
|
-
{formik.values.authScreenCenterBackgroundImage && (
|
|
1015
|
-
<SettingsImageRemoveButton onClick={removeAuthScreenCenterBackgroundImage} />
|
|
1016
|
-
)}
|
|
1017
|
-
</div>
|
|
1018
|
-
}
|
|
1019
|
-
</div>
|
|
1020
|
-
</div>
|
|
1021
|
-
</div>
|
|
1022
|
-
</div>
|
|
1023
|
-
<div className='mt-2 lg:mt-4' style={{ borderBottom: '1px dashed #D8E2EA' }}></div>
|
|
1024
|
-
{solidSettingsData?.data?.enableDarkMode === true &&
|
|
1025
|
-
<>
|
|
1026
|
-
<p className='font-bold mt-3 lg:mt-4' style={{ fontSize: 16, color: 'var(--solid-setting-title)' }}>Authentication Screen Theme</p>
|
|
1027
|
-
<div className='formgrid grid'>
|
|
1028
|
-
<div className='col-12 lg:col-10 xl:col-8'>
|
|
1029
|
-
<div className="flex align-items-center gap-3">
|
|
1030
|
-
<div className="flex align-items-center">
|
|
1031
|
-
<RadioButton
|
|
1032
|
-
inputId="theme-light"
|
|
1033
|
-
name="authPagesTheme"
|
|
1034
|
-
value="light"
|
|
1035
|
-
checked={formik.values.authPagesTheme === "light"}
|
|
1036
|
-
onChange={(e) => formik.setFieldValue("authPagesTheme", e.value)}
|
|
1037
|
-
/>
|
|
1038
|
-
<label htmlFor="theme-light" className="ml-2">Solid Light</label>
|
|
1039
|
-
</div>
|
|
1040
|
-
<div className="flex align-items-center">
|
|
1041
|
-
<RadioButton
|
|
1042
|
-
inputId="theme-dark"
|
|
1043
|
-
name="authPagesTheme"
|
|
1044
|
-
value="dark"
|
|
1045
|
-
checked={formik.values.authPagesTheme === "dark"}
|
|
1046
|
-
onChange={(e) => formik.setFieldValue("authPagesTheme", e.value)}
|
|
1047
|
-
/>
|
|
1048
|
-
<label htmlFor="theme-dark" className="ml-2">Solid Dark</label>
|
|
1049
|
-
</div>
|
|
1050
|
-
</div>
|
|
1051
|
-
</div>
|
|
1052
|
-
</div>
|
|
1053
|
-
</>
|
|
1054
|
-
}
|
|
1055
|
-
</>
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
{pathname.includes("misc-settings") &&
|
|
1059
|
-
<>
|
|
1060
|
-
{/*
|
|
1061
|
-
<p className='font-bold' style={{ fontSize: 16, color: 'var(--solid-setting-title)' }}>Misc Details</p>
|
|
1062
|
-
<div className='formgrid grid'>
|
|
1063
|
-
<div className='col-12 lg:col-10 xl:col-8'>
|
|
1064
|
-
<div className="formgrid grid">
|
|
1065
|
-
<div className="col-12 md:col-6 pb-3 md:pb-0">
|
|
1066
|
-
<div className="formgrid grid align-items-center">
|
|
1067
|
-
<div className="col-10 sm:col-9 lg:col-5 ">
|
|
1068
|
-
<label className="form-field-label">Use queue for sending emails</label>
|
|
1069
|
-
</div>
|
|
1070
|
-
<div className="col-2 sm:col-3 lg:col-7">
|
|
1071
|
-
<InputSwitch
|
|
1072
|
-
name="shouldQueueEmails"
|
|
1073
|
-
checked={formik.values.shouldQueueEmails}
|
|
1074
|
-
onChange={(e) => formik.setFieldValue("shouldQueueEmails", e.value)}
|
|
1075
|
-
/>
|
|
1076
|
-
</div>
|
|
1077
|
-
</div>
|
|
1078
|
-
</div>
|
|
1079
|
-
<div className="col-12 md:col-5 pb-2">
|
|
1080
|
-
<div className="formgrid grid align-items-center">
|
|
1081
|
-
<div className="col-10 sm:col-9 lg:col-5">
|
|
1082
|
-
<label className="form-field-label">Use queue for sending SMS</label>
|
|
1083
|
-
</div>
|
|
1084
|
-
<div className="col-2 sm:col-3 lg:col-7">
|
|
1085
|
-
<InputSwitch
|
|
1086
|
-
name="shouldQueueSms"
|
|
1087
|
-
checked={formik.values.shouldQueueSms}
|
|
1088
|
-
onChange={(e) => formik.setFieldValue("shouldQueueSms", e.value)}
|
|
1089
|
-
/>
|
|
1090
|
-
</div>
|
|
1091
|
-
</div>
|
|
1092
|
-
</div>
|
|
1093
|
-
</div>
|
|
1094
|
-
</div>
|
|
1095
|
-
</div>
|
|
1096
|
-
<Divider />
|
|
1097
|
-
*/}
|
|
1098
|
-
<p className='font-bold' style={{ fontSize: 16, color: 'var(--solid-setting-title)' }}>Contact Support</p>
|
|
1099
|
-
<div className='formgrid grid'>
|
|
1100
|
-
<div className="col-12 lg:col-10 xl:col-8">
|
|
1101
|
-
<div className='formgrid grid'>
|
|
1102
|
-
<div className="col-12 md:col-6 pb-3 md:pb-0">
|
|
1103
|
-
<div className="formgrid grid align-items-center">
|
|
1104
|
-
<div className="col-12 md:col-5 pb-2 md:pb-0">
|
|
1105
|
-
<label className="form-field-label">Contact Support Email</label>
|
|
1106
|
-
</div>
|
|
1107
|
-
<div className="col-12 md:col-7">
|
|
1108
|
-
<InputText
|
|
1109
|
-
type="text"
|
|
1110
|
-
id="contactSupportEmail"
|
|
1111
|
-
name="contactSupportEmail"
|
|
1112
|
-
onChange={formik.handleChange}
|
|
1113
|
-
value={formik.values.contactSupportEmail}
|
|
1114
|
-
className='w-full'
|
|
1115
|
-
/>
|
|
1116
|
-
</div>
|
|
1117
|
-
</div>
|
|
1118
|
-
</div>
|
|
1119
|
-
<div className="col-12 md:col-6">
|
|
1120
|
-
<div className="formgrid grid align-items-center">
|
|
1121
|
-
<div className="col-12 md:col-5 pb-2 md:pb-0">
|
|
1122
|
-
<label className="form-field-label">Display Name</label>
|
|
1123
|
-
</div>
|
|
1124
|
-
<div className="col-12 md:col-7">
|
|
1125
|
-
<InputText
|
|
1126
|
-
type="text"
|
|
1127
|
-
id="contactSupportDisplayName"
|
|
1128
|
-
name="contactSupportDisplayName"
|
|
1129
|
-
onChange={formik.handleChange}
|
|
1130
|
-
value={formik.values.contactSupportDisplayName}
|
|
1131
|
-
className='w-full'
|
|
1132
|
-
/>
|
|
1133
|
-
</div>
|
|
1134
|
-
</div>
|
|
1135
|
-
</div>
|
|
1136
|
-
</div>
|
|
1137
|
-
</div>
|
|
1138
|
-
</div>
|
|
1139
|
-
</>
|
|
1140
|
-
}
|
|
1141
|
-
{pathname.includes("ai-settings") &&
|
|
1142
|
-
<>
|
|
1143
|
-
<p className='font-bold' style={{ fontSize: 16, color: 'var(--solid-setting-title)' }}>Ai Details</p>
|
|
1144
|
-
<div className='formgrid grid'>
|
|
1145
|
-
<div className='col-12 lg:col-10 xl:col-8'>
|
|
1146
|
-
<div className="formgrid grid">
|
|
1147
|
-
<div className="col-12 md:col-10 lg:col-6 mt-3 md:mt-4">
|
|
1148
|
-
<div className="formgrid grid align-items-center">
|
|
1149
|
-
<div className="col-12 md:col-3 pb-2 md:pb-0">
|
|
1150
|
-
<label className="form-field-label">Default Provider</label>
|
|
1151
|
-
</div>
|
|
1152
|
-
<div className="col-12 md:col-9">
|
|
1153
|
-
<Dropdown
|
|
1154
|
-
className='w-full'
|
|
1155
|
-
value={formik.values.solidXGenAiCodeBuilderConfig.defaultProvider}
|
|
1156
|
-
options={[
|
|
1157
|
-
{ label: "OpenAI", value: "openai" },
|
|
1158
|
-
{ label: "Anthropic", value: "anthropic" },
|
|
1159
|
-
]}
|
|
1160
|
-
onChange={(e) => handleProviderSelect(e.value)}
|
|
1161
|
-
placeholder="Select Provider"
|
|
1162
|
-
/>
|
|
1163
|
-
</div>
|
|
1164
|
-
</div>
|
|
1165
|
-
</div>
|
|
1166
|
-
{/* <div className="col-6 mt-4">
|
|
1167
|
-
<div className="formgrid grid align-items-center">
|
|
1168
|
-
<div className="col-5">
|
|
1169
|
-
<label className="form-field-label">Model Name</label>
|
|
1170
|
-
</div>
|
|
1171
|
-
<div className="col-7">
|
|
1172
|
-
<InputText
|
|
1173
|
-
type="text"
|
|
1174
|
-
id="llModelName"
|
|
1175
|
-
name="llModelName"
|
|
1176
|
-
onChange={formik.handleChange}
|
|
1177
|
-
value={formik.values.llModelName}
|
|
1178
|
-
className='w-full'
|
|
1179
|
-
/>
|
|
1180
|
-
</div>
|
|
1181
|
-
</div>
|
|
1182
|
-
</div> */}
|
|
1183
|
-
</div>
|
|
1184
|
-
</div>
|
|
1185
|
-
</div>
|
|
1186
|
-
<Divider />
|
|
1187
|
-
<div className='grid'>
|
|
1188
|
-
<div className='col-12 md:col-6'>
|
|
1189
|
-
{formik.values.solidXGenAiCodeBuilderConfig.defaultProvider && (
|
|
1190
|
-
<>
|
|
1191
|
-
{formik.values.solidXGenAiCodeBuilderConfig.defaultProvider === "openai" && (
|
|
1192
|
-
<OpenAiProviderComponent
|
|
1193
|
-
profile={currentProfile}
|
|
1194
|
-
onUpdate={handleProfileUpdate}
|
|
1195
|
-
/>
|
|
1196
|
-
)}
|
|
1197
|
-
{formik.values.solidXGenAiCodeBuilderConfig.defaultProvider === "anthropic" && (
|
|
1198
|
-
<AnthropicProviderComponent
|
|
1199
|
-
profile={currentProfile}
|
|
1200
|
-
onUpdate={handleProfileUpdate}
|
|
1201
|
-
/>
|
|
1202
|
-
)}
|
|
1203
|
-
</>
|
|
1204
|
-
)}
|
|
1205
|
-
</div>
|
|
1206
|
-
</div>
|
|
1207
|
-
</>
|
|
1208
|
-
}
|
|
1209
|
-
</div>
|
|
1210
|
-
</form>
|
|
1211
|
-
</div>
|
|
1212
|
-
</div>
|
|
1213
|
-
</div>
|
|
1214
|
-
)
|
|
1215
|
-
}
|