@solidxai/core-ui 0.1.0 → 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 +1 -1
- package/dist/components/auth/SolidLogin.js.map +1 -1
- package/dist/components/auth/SolidLogin.tsx +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.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormView.js +4 -2
- package/dist/components/core/form/SolidFormView.js.map +1 -1
- package/dist/components/core/form/SolidFormView.tsx +6 -4
- 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.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidBooleanField.js +10 -1
- package/dist/components/core/form/fields/SolidBooleanField.js.map +1 -1
- package/dist/components/core/form/fields/SolidBooleanField.tsx +12 -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 +134 -118
- package/dist/components/core/list/SolidListView.js.map +1 -1
- package/dist/components/core/list/SolidListView.tsx +204 -121
- 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.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidBooleanColumn.js +8 -1
- package/dist/components/core/list/columns/SolidBooleanColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidBooleanColumn.tsx +9 -2
- 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 -1867
- 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 -434
- 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 -87
- 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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SsoPage.js","sourceRoot":"","sources":["../../../../src/routes/pages/auth/SsoPage.tsx"],"names":[],"mappings":";;;;;;;;;;;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AS,EAAC,MAAM,EAAC,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,aAC/C,SAAS,IAAI,iDAAiD,EAC9D,KAAK,IAAI,UAAG,KAAK,4BAAyB,IACzC,IACC,GACH,CACP,CAAC;AACJ,CAAC","sourcesContent":["import { useEffect, useState } from \"react\";\nimport { Card } from \"primereact/card\";\nimport { ProgressSpinner } from \"primereact/progressspinner\";\nimport { useRouter } from \"../../../hooks/useRouter\";\nimport { useSearchParams } from \"../../../hooks/useSearchParams\";\nimport { signIn } from \"../../../adapters/auth/signIn\";\n\nexport function SsoPage() {\n const router = useRouter();\n const searchParams = useSearchParams();\n const [error, setError] = useState<string | null>(null);\n const [success, setSuccess] = useState(false);\n const [isLoading, setIsLoading] = useState(true);\n\n useEffect(() => {\n const fn = async () => {\n const email = \"\";\n const password = \"\";\n const accessToken = searchParams.get(\"accessToken\");\n const response = await signIn(\"credentials\", {\n redirect: false,\n email,\n password,\n accessToken,\n });\n\n if (response?.error) {\n setIsLoading(false);\n setError(response.error);\n } else {\n setIsLoading(false);\n setSuccess(true);\n router.push(\"/admin\");\n }\n };\n\n fn();\n }, [router, searchParams]);\n\n return (\n <div className=\"card flex justify-content-center align-items-center\" style={{ height: \"80vh\" }}>\n <Card\n className=\"custom-card md:w-25rem\"\n style={{\n boxShadow:\n \"rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px\",\n }}\n >\n <div\n style={{\n position: \"relative\",\n display: \"flex\",\n justifyContent: \"center\",\n zIndex: 1,\n }}\n >\n {isLoading ? (\n <>\n <ProgressSpinner style={{ width: \"50px\", height: \"50px\" }} />\n <style>{`\n .p-progress-spinner circle {\n stroke: blue !important;\n }\n `}</style>\n </>\n ) : success ? (\n <i className=\"pi pi-check\" style={{ color: \"green\", fontSize: \"30px\", fontWeight: \"700\" }}></i>\n ) : (\n <i className=\"pi pi-times\" style={{ color: \"red\", fontSize: \"30px\", fontWeight: \"700\" }}></i>\n )}\n </div>\n <p className=\"m-20\" style={{ textAlign: \"center\" }}>\n {isLoading && `Please wait while we authenticate your profile.`}\n {error && `${error} Your not authenticated`}\n </p>\n </Card>\n </div>\n );\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solidRoutes.js","sourceRoot":"","sources":["../../src/routes/solidRoutes.tsx"],"names":[],"mappings":";;;;;;;;;;AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AACrF,OAAO,EAAE,kCAAkC,EAAE,MAAM,iDAAiD,CAAC;AACrG,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCA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YAAY,EAAE,KAAC,iBAAiB,KAAG,CAAC,EAAE,QAAQ,EAAE,YAAY,EAAE;QAC9E;YACE,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,KAAC,SAAS,KAAG,CAAC;YACzC,QAAQ,EAAE;gBACR;oBACE,OAAO,EAAE,IAAI,CAAC,aAAa,EAAE,KAAC,kBAAkB,KAAG,CAAC;oBACpD,QAAQ,EAAE,aAAa;iBACxB;aACF;SACF;OACE,WAAW;QACd,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,KAAC,QAAQ,IAAC,EAAE,EAAC,aAAa,EAAC,OAAO,SAAG,EAAE;QAC7D,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,KAAC,QAAQ,IAAC,EAAE,EAAC,YAAY,EAAC,OAAO,SAAG,EAAE;cAC5D;AACJ,CAAC","sourcesContent":["import type { RouteObject } from \"react-router-dom\";\nimport { Navigate } from \"react-router-dom\";\nimport { AuthGuard } from \"./guards/AuthGuard\";\nimport { AdminLayoutWrapper } from \"../layouts/AdminLayoutWrapper\";\nimport { AuthLayoutWrapper } from \"../layouts/AuthLayoutWrapper\";\nimport { ErrorPage } from \"./pages/ErrorPage\";\nimport { NotFoundPage } from \"./pages/NotFoundPage\";\nimport { AdminPage } from \"./pages/admin/AdminPage\";\nimport { ModuleHomePage } from \"./pages/admin/core/ModuleHomePage\";\nimport { ListPage } from \"./pages/admin/core/ListPage\";\nimport { KanbanPage } from \"./pages/admin/core/KanbanPage\";\nimport { FormPage } from \"./pages/admin/core/FormPage\";\nimport { SettingsPage } from \"./pages/admin/core/SettingsPage\";\nimport { LoginPage } from \"./pages/auth/LoginPage\";\nimport { RegisterPage } from \"./pages/auth/RegisterPage\";\nimport { ForgotPasswordPage } from \"./pages/auth/ForgotPasswordPage\";\nimport { InitiateForgotPasswordPage } from \"./pages/auth/InitiateForgotPasswordPage\";\nimport { InitiateForgotPasswordThankYouPage } from \"./pages/auth/InitiateForgotPasswordThankYouPage\";\nimport { ConfirmForgotPasswordPage } from \"./pages/auth/ConfirmForgotPasswordPage\";\nimport { ResetPasswordPage } from \"./pages/auth/ResetPasswordPage\";\nimport { InitiateLoginPage } from \"./pages/auth/InitiateLoginPage\";\nimport { InitiateRegisterPage } from \"./pages/auth/InitiateRegisterPage\";\nimport { InitiateGoogleOauthPage } from \"./pages/auth/InitiateGoogleOauthPage\";\nimport { SsoPage } from \"./pages/auth/SsoPage\";\nimport type { SolidRoutesOptions, SolidRouteKey } from \"./types\";\n\nexport function getSolidRoutes(options: SolidRoutesOptions = {}): RouteObject[] {\n const {\n extraAuthRoutes = [],\n extraAdminRoutes = [],\n extraRoutes = [],\n elementOverrides = {},\n } = options;\n\n const pick = (key: SolidRouteKey, fallback: JSX.Element) =>\n (elementOverrides[key] as JSX.Element) || fallback;\n\n const authChildren: RouteObject[] = [\n // Password based login, Passwordless login initiate otp\n { path: \"/auth/login\", element: pick(\"login\", <LoginPage />) },\n // Password based registration, Passwordless registration initiate otp\n { path: \"/auth/register\", element: pick(\"register\", <RegisterPage />) },\n // Passwordless login confirm otp\n { path: \"/auth/initiate-login\", element: pick(\"initiateLogin\", <InitiateLoginPage />) },\n // Passwordless registration confirm otp\n { path: \"/auth/initiate-register\", element: pick(\"initiateRegister\", <InitiateRegisterPage />) },\n\n // Forgot password flow\n { path: \"/auth/forgot-password\", element: pick(\"forgotPassword\", <ForgotPasswordPage />) },\n { path: \"/auth/initiate-forgot-password\", element: pick(\"initiateForgotPassword\", <InitiateForgotPasswordPage />) },\n { path: \"/auth/initiate-forgot-password-thank-you\", element: pick(\"initiateForgotPasswordThankYou\", <InitiateForgotPasswordThankYouPage />) },\n { path: \"/auth/confirm-forgot-password\", element: pick(\"confirmForgotPassword\", <ConfirmForgotPasswordPage />) },\n \n // ??? not used ???\n { path: \"/auth/reset-password\", element: pick(\"resetPassword\", <ResetPasswordPage />) },\n\n { path: \"/auth/initiate-google-oauth\", element: pick(\"initiateGoogleOauth\", <InitiateGoogleOauthPage />) },\n { path: \"/auth/sso\", element: pick(\"sso\", <SsoPage />) },\n ...extraAuthRoutes,\n ];\n\n const adminChildren: RouteObject[] = [\n { path: \"/admin\", element: pick(\"admin\", <AdminPage />) },\n { path: \"/admin/core/:moduleName/home\", element: pick(\"moduleHome\", <ModuleHomePage />) },\n { path: \"/admin/core/:moduleName/:modelName/list\", element: pick(\"list\", <ListPage />) },\n { path: \"/admin/core/:moduleName/:modelName/kanban\", element: pick(\"kanban\", <KanbanPage />) },\n { path: \"/admin/core/:moduleName/:modelName/form/:id\", element: pick(\"form\", <FormPage />) },\n { path: \"/admin/core/:moduleName/settings/:settings\", element: pick(\"settings\", <SettingsPage />) },\n ...extraAdminRoutes,\n ];\n\n return [\n { path: \"/error\", element: pick(\"error\", <ErrorPage />) },\n { path: \"/not-found\", element: pick(\"notFound\", <NotFoundPage />) },\n { element: pick(\"authLayout\", <AuthLayoutWrapper />), children: authChildren },\n {\n element: pick(\"authGuard\", <AuthGuard />),\n children: [\n {\n element: pick(\"adminLayout\", <AdminLayoutWrapper />),\n children: adminChildren,\n },\n ],\n },\n ...extraRoutes,\n { path: \"/\", element: <Navigate to=\"/auth/login\" replace /> },\n { path: \"*\", element: <Navigate to=\"/not-found\" replace /> },\n ];\n}\n"]}
|
package/dist/routes/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/routes/types.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/routes/types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ReactNode } from \"react\";\nimport type { RouteObject } from \"react-router-dom\";\n\nexport type SolidRouteKey =\n | \"error\"\n | \"notFound\"\n | \"login\"\n | \"register\"\n | \"forgotPassword\"\n | \"initiateForgotPassword\"\n | \"initiateForgotPasswordThankYou\"\n | \"confirmForgotPassword\"\n | \"resetPassword\"\n | \"otpVerify\"\n | \"initiateLogin\"\n | \"initiateRegister\"\n | \"initiateGoogleOauth\"\n | \"sso\"\n | \"admin\"\n | \"moduleHome\"\n | \"list\"\n | \"kanban\"\n | \"form\"\n | \"settings\"\n | \"authLayout\"\n | \"adminLayout\"\n | \"authGuard\";\n\nexport type SolidRoutesOptions = {\n extraAuthRoutes?: RouteObject[];\n extraAdminRoutes?: RouteObject[];\n extraRoutes?: RouteObject[];\n elementOverrides?: Partial<Record<SolidRouteKey, ReactNode>>;\n};\n"]}
|
package/dist/styles.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../src/styles.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAC;AACjC,OAAO,qCAAqC,CAAC;AAC7C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,kCAAkC,CAAC"}
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../src/styles.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAC;AACjC,OAAO,qCAAqC,CAAC;AAC7C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,kCAAkC,CAAC","sourcesContent":["import \"./resources/globals.css\";\nimport \"./resources/stylesheets/layout.scss\";\nimport \"./resources/solid-responsive.css\";\nimport \"./resources/solid-primereact.css\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solidxai/core-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"prebuild": "npm run copy-resources && npm run copy-styles",
|
|
6
6
|
"build": "tsc -p tsconfig.json && tsc-alias -p tsconfig.json",
|
|
7
7
|
"clean": "rm -rf dist",
|
|
8
8
|
"prepare": "npm run build",
|
|
9
9
|
"copy-resources": "copyfiles -u 1 \"src/resources/**/*\" dist",
|
|
10
|
-
"copy-styles": "copyfiles -u 1 \"src/**/*\" dist/"
|
|
10
|
+
"copy-styles": "copyfiles -u 1 \"src/**/*\" dist/",
|
|
11
|
+
"prepack": "npm run build"
|
|
11
12
|
},
|
|
12
13
|
"keywords": [],
|
|
13
14
|
"author": "",
|
|
@@ -124,13 +125,14 @@
|
|
|
124
125
|
"react-syntax-highlighter": "^15.6.6",
|
|
125
126
|
"react-transition-group": "^4.4.5",
|
|
126
127
|
"tsc-alias": "^1.8.10",
|
|
127
|
-
"typescript": "5.2.2"
|
|
128
|
+
"typescript": "5.2.2",
|
|
129
|
+
"@playwright/test": "^1.50.0"
|
|
128
130
|
},
|
|
129
131
|
"files": [
|
|
130
132
|
"dist/**/*",
|
|
131
|
-
"src/**/*",
|
|
132
133
|
"types/**/*",
|
|
133
134
|
"README.md",
|
|
134
|
-
"LICENSE"
|
|
135
|
+
"LICENSE",
|
|
136
|
+
"dist-tests/**"
|
|
135
137
|
]
|
|
136
138
|
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { loadSession, saveSession, clearSession } from "./storage";
|
|
2
|
-
import { refreshAccessToken } from "./refreshAccessToken";
|
|
3
|
-
import { eventBus, AppEvents } from "../../helpers/eventBus";
|
|
4
|
-
import type { Session } from "./types";
|
|
5
|
-
import { signOut } from "./signOut";
|
|
6
|
-
|
|
7
|
-
// NOTE: Single-flight refresh prevents a burst of concurrent requests from
|
|
8
|
-
// triggering multiple refresh calls and racing to update the session.
|
|
9
|
-
let refreshPromise: Promise<any> | null = null;
|
|
10
|
-
|
|
11
|
-
export async function getSession(): Promise<Session> {
|
|
12
|
-
const session = loadSession();
|
|
13
|
-
if (!session?.user?.accessToken) return null;
|
|
14
|
-
|
|
15
|
-
const expiresAt = session.user.accessTokenExpires;
|
|
16
|
-
const bufferMs = 60_000;
|
|
17
|
-
if (expiresAt && Date.now() >= expiresAt - bufferMs) {
|
|
18
|
-
if (!refreshPromise) {
|
|
19
|
-
refreshPromise = refreshAccessToken({ refreshToken: session.user.refreshToken }).finally(() => {
|
|
20
|
-
refreshPromise = null;
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
const refreshed = await refreshPromise;
|
|
25
|
-
// NOTE: On refresh failure, clear storage and stop; do not persist a broken session,
|
|
26
|
-
// which can otherwise cause repeated refresh attempts and redirect loops.
|
|
27
|
-
if ((refreshed as any)?.error || !(refreshed as any)?.accessToken) {
|
|
28
|
-
clearSession();
|
|
29
|
-
await signOut({ callbackUrl: "/auth/login" });
|
|
30
|
-
return null;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
const nextSession: Session = {
|
|
34
|
-
...session,
|
|
35
|
-
user: {
|
|
36
|
-
...session.user,
|
|
37
|
-
accessToken: (refreshed as any).accessToken,
|
|
38
|
-
refreshToken: (refreshed as any).refreshToken ?? session.user.refreshToken,
|
|
39
|
-
accessTokenExpires: (refreshed as any).accessTokenExpires,
|
|
40
|
-
},
|
|
41
|
-
error: null,
|
|
42
|
-
};
|
|
43
|
-
saveSession(nextSession);
|
|
44
|
-
eventBus.emit(AppEvents.SessionUpdated, nextSession);
|
|
45
|
-
return nextSession;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
return session;
|
|
49
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ERROR_MESSAGES } from "../../constants/error-messages";
|
|
2
|
-
import { getSession, signOut } from "./index";
|
|
3
|
-
import { solidPost } from "../../http/solidHttp";
|
|
4
|
-
|
|
5
|
-
export async function handleLogout({ toast }: any) {
|
|
6
|
-
const session = await getSession();
|
|
7
|
-
const refreshToken = session?.user?.refreshToken;
|
|
8
|
-
try {
|
|
9
|
-
const response = await solidPost(
|
|
10
|
-
"/iam/logout",
|
|
11
|
-
{
|
|
12
|
-
refreshToken: refreshToken, // Pass refresh token in body
|
|
13
|
-
}
|
|
14
|
-
);
|
|
15
|
-
console.log("logout response", response);
|
|
16
|
-
|
|
17
|
-
if (response?.data?.statusCode === 200) {
|
|
18
|
-
await signOut({ callbackUrl: '/auth/login' });
|
|
19
|
-
} else {
|
|
20
|
-
toast?.current?.show({
|
|
21
|
-
severity: 'error',
|
|
22
|
-
summary: ERROR_MESSAGES.LOGOUT_FAILED,
|
|
23
|
-
detail: `${response?.data?.data?.status}`,
|
|
24
|
-
life: 3000,
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
} catch (error) {
|
|
28
|
-
const err = error as any;
|
|
29
|
-
const message =
|
|
30
|
-
err.response?.data?.data?.message || err.message || ERROR_MESSAGES.LOGOUT_FAILED;
|
|
31
|
-
|
|
32
|
-
toast?.current?.show({
|
|
33
|
-
severity: 'error',
|
|
34
|
-
summary: ERROR_MESSAGES.LOGOUT_FAILED,
|
|
35
|
-
detail: message,
|
|
36
|
-
life: 3000,
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { SessionProvider } from "./sessionProvider";
|
|
2
|
-
export { getSession } from "./getSession";
|
|
3
|
-
export { signIn } from "./signIn";
|
|
4
|
-
export { signInWithOtp } from "./signInWithOtp";
|
|
5
|
-
export { signInWithOAuthAccessCode } from "./signInWithOAuthAccessCode";
|
|
6
|
-
export { signOut } from "./signOut";
|
|
7
|
-
export { loadSession, saveSession, clearSession } from "./storage";
|
|
8
|
-
export { refreshAccessToken } from "./refreshAccessToken";
|
|
9
|
-
export { handleLogout } from "./handleLogout";
|
|
10
|
-
export type { Session } from "./types";
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import axios from "axios";
|
|
2
|
-
import { ERROR_MESSAGES } from "../../constants/error-messages";
|
|
3
|
-
import { jwtDecode } from "jwt-decode";
|
|
4
|
-
import { env } from "../env";
|
|
5
|
-
|
|
6
|
-
// NOTE: Use a dedicated Axios instance with no interceptors to avoid recursion.
|
|
7
|
-
// solidAxios injects getSession() in its interceptor, which can trigger a refresh loop
|
|
8
|
-
// when refreshAccessToken itself uses solidAxios.
|
|
9
|
-
const refreshAxios = axios.create({
|
|
10
|
-
baseURL: `${env("NEXT_PUBLIC_BACKEND_API_URL")}/api`,
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
export async function refreshAccessToken(token: any) {
|
|
14
|
-
try {
|
|
15
|
-
const response = await refreshAxios.post("/iam/refresh-tokens", {
|
|
16
|
-
refreshToken: token.refreshToken,
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
const { accessToken, refreshToken } = response.data.data;
|
|
20
|
-
const { exp: accessTokenExpires } = jwtDecode<{ exp: number }>(accessToken);
|
|
21
|
-
|
|
22
|
-
return {
|
|
23
|
-
...token,
|
|
24
|
-
accessToken,
|
|
25
|
-
refreshToken,
|
|
26
|
-
accessTokenExpires: accessTokenExpires * 1000, // Convert seconds to milliseconds
|
|
27
|
-
};
|
|
28
|
-
} catch (error: any) {
|
|
29
|
-
console.error(ERROR_MESSAGES.FAILED_REFRESH_TOKEN, error.message || error.response?.data);
|
|
30
|
-
return {
|
|
31
|
-
error: "RefreshAccessTokenError",
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { jwtDecode } from "jwt-decode";
|
|
2
|
-
import { env } from "../env";
|
|
3
|
-
import { saveSession } from "./storage";
|
|
4
|
-
import { eventBus, AppEvents } from "../../helpers/eventBus";
|
|
5
|
-
import { solidPost } from "../..//http/solidHttp";
|
|
6
|
-
|
|
7
|
-
type SignInResponse = {
|
|
8
|
-
ok: boolean;
|
|
9
|
-
error: string | null;
|
|
10
|
-
status: number;
|
|
11
|
-
url: string | null;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export async function signIn(provider: string, options: any = {}): Promise<SignInResponse> {
|
|
15
|
-
if (provider !== "credentials") {
|
|
16
|
-
return { ok: false, error: `Unsupported provider: ${provider}`, status: 400, url: null };
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
const { identifier, password } = options;
|
|
20
|
-
const apiUrl = env("API_URL");
|
|
21
|
-
|
|
22
|
-
if (!apiUrl) {
|
|
23
|
-
return { ok: false, error: "API_URL is not configured", status: 500, url: null };
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
try {
|
|
27
|
-
const response = await solidPost(
|
|
28
|
-
`${apiUrl}/api/iam/authenticate`,
|
|
29
|
-
{
|
|
30
|
-
username: identifier,
|
|
31
|
-
email: identifier.includes('@') ? identifier : null,
|
|
32
|
-
password,
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
headers: {
|
|
36
|
-
accept: "*/*",
|
|
37
|
-
"Content-Type": "application/json",
|
|
38
|
-
},
|
|
39
|
-
}
|
|
40
|
-
);
|
|
41
|
-
|
|
42
|
-
const accessToken = response?.data?.data?.accessToken;
|
|
43
|
-
const refreshToken = response?.data?.data?.refreshToken;
|
|
44
|
-
const user = response?.data?.data?.user || {};
|
|
45
|
-
|
|
46
|
-
if (!accessToken || !refreshToken) {
|
|
47
|
-
return { ok: false, error: "Missing tokens in response", status: response.status || 500, url: null };
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
const decoded = jwtDecode<{ exp?: number }>(accessToken);
|
|
51
|
-
const accessTokenExpires = decoded.exp ? decoded.exp * 1000 : undefined;
|
|
52
|
-
|
|
53
|
-
const session = {
|
|
54
|
-
user: {
|
|
55
|
-
...user,
|
|
56
|
-
accessToken,
|
|
57
|
-
refreshToken,
|
|
58
|
-
accessTokenExpires,
|
|
59
|
-
},
|
|
60
|
-
error: null,
|
|
61
|
-
};
|
|
62
|
-
saveSession(session);
|
|
63
|
-
eventBus.emit(AppEvents.SessionUpdated, session);
|
|
64
|
-
|
|
65
|
-
return { ok: true, error: null, status: response.status || 200, url: null };
|
|
66
|
-
} catch (error: any) {
|
|
67
|
-
const message = error?.response?.data?.message || error?.response?.data?.data?.message || error?.message || "Login failed";
|
|
68
|
-
return { ok: false, error: message, status: error?.response?.status || 500, url: null };
|
|
69
|
-
}
|
|
70
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { jwtDecode } from "jwt-decode";
|
|
2
|
-
import { env } from "../env";
|
|
3
|
-
import { saveSession } from "./storage";
|
|
4
|
-
import { eventBus, AppEvents } from "../../helpers/eventBus";
|
|
5
|
-
import { solidGet } from "../..//http/solidHttp";
|
|
6
|
-
|
|
7
|
-
type SignInResponse = {
|
|
8
|
-
ok: boolean;
|
|
9
|
-
error: string | null;
|
|
10
|
-
status: number;
|
|
11
|
-
url: string | null;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
type SignInWithOAuthAccessCodeOptions = {
|
|
15
|
-
accessCode: string;
|
|
16
|
-
userAgent?: string;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
export async function signInWithOAuthAccessCode(options: SignInWithOAuthAccessCodeOptions): Promise<SignInResponse> {
|
|
20
|
-
const { accessCode, userAgent } = options;
|
|
21
|
-
const apiUrl = env("API_URL");
|
|
22
|
-
|
|
23
|
-
if (!apiUrl) {
|
|
24
|
-
return { ok: false, error: "API_URL is not configured", status: 500, url: null };
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
try {
|
|
28
|
-
const headers: Record<string, string> = {
|
|
29
|
-
accept: "*/*",
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
if (userAgent) {
|
|
33
|
-
headers["User-Agent"] = userAgent;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
const response = await solidGet(
|
|
37
|
-
`${apiUrl}/api/iam/google/authenticate?accessCode=${encodeURIComponent(accessCode)}`,
|
|
38
|
-
{
|
|
39
|
-
headers,
|
|
40
|
-
}
|
|
41
|
-
);
|
|
42
|
-
|
|
43
|
-
if (response?.data?.statusCode && response?.data?.statusCode !== 200) {
|
|
44
|
-
const message = response?.data?.error || response?.data?.message || "Login failed";
|
|
45
|
-
return { ok: false, error: message, status: response?.data?.statusCode || response.status || 400, url: null };
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
const accessToken = response?.data?.data?.accessToken;
|
|
49
|
-
const refreshToken = response?.data?.data?.refreshToken;
|
|
50
|
-
const user = response?.data?.data?.user || {};
|
|
51
|
-
|
|
52
|
-
if (!accessToken || !refreshToken) {
|
|
53
|
-
return { ok: false, error: "Missing tokens in response", status: response.status || 500, url: null };
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
const decoded = jwtDecode<{ exp?: number }>(accessToken);
|
|
57
|
-
const accessTokenExpires = decoded.exp ? decoded.exp * 1000 : undefined;
|
|
58
|
-
|
|
59
|
-
const session = {
|
|
60
|
-
user: {
|
|
61
|
-
...user,
|
|
62
|
-
accessToken,
|
|
63
|
-
refreshToken,
|
|
64
|
-
accessTokenExpires,
|
|
65
|
-
},
|
|
66
|
-
error: null,
|
|
67
|
-
};
|
|
68
|
-
saveSession(session);
|
|
69
|
-
eventBus.emit(AppEvents.SessionUpdated, session);
|
|
70
|
-
|
|
71
|
-
return { ok: true, error: null, status: response.status || 200, url: null };
|
|
72
|
-
} catch (error: any) {
|
|
73
|
-
const message =
|
|
74
|
-
error?.response?.data?.message ||
|
|
75
|
-
error?.response?.data?.data?.message ||
|
|
76
|
-
error?.message ||
|
|
77
|
-
"Login failed";
|
|
78
|
-
return { ok: false, error: message, status: error?.response?.status || 500, url: null };
|
|
79
|
-
}
|
|
80
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { jwtDecode } from "jwt-decode";
|
|
2
|
-
import { env } from "../env";
|
|
3
|
-
import { saveSession } from "./storage";
|
|
4
|
-
import { eventBus, AppEvents } from "../../helpers/eventBus";
|
|
5
|
-
import { solidPost } from "../..//http/solidHttp";
|
|
6
|
-
|
|
7
|
-
type SignInResponse = {
|
|
8
|
-
ok: boolean;
|
|
9
|
-
error: string | null;
|
|
10
|
-
status: number;
|
|
11
|
-
url: string | null;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
type SignInWithOtpOptions = {
|
|
15
|
-
type: string;
|
|
16
|
-
identifier: string;
|
|
17
|
-
otp: string;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export async function signInWithOtp(options: SignInWithOtpOptions): Promise<SignInResponse> {
|
|
21
|
-
const { type, identifier, otp } = options;
|
|
22
|
-
const apiUrl = env("API_URL");
|
|
23
|
-
|
|
24
|
-
if (!apiUrl) {
|
|
25
|
-
return { ok: false, error: "API_URL is not configured", status: 500, url: null };
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
try {
|
|
29
|
-
const response = await solidPost(
|
|
30
|
-
`${apiUrl}/api/iam/otp/login/confirm`,
|
|
31
|
-
{
|
|
32
|
-
type,
|
|
33
|
-
identifier,
|
|
34
|
-
otp,
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
headers: {
|
|
38
|
-
accept: "*/*",
|
|
39
|
-
"Content-Type": "application/json",
|
|
40
|
-
},
|
|
41
|
-
}
|
|
42
|
-
);
|
|
43
|
-
|
|
44
|
-
if (response?.data?.statusCode && response?.data?.statusCode !== 200) {
|
|
45
|
-
const message = response?.data?.error || response?.data?.message || "Invalid OTP";
|
|
46
|
-
return { ok: false, error: message, status: response?.data?.statusCode || response.status || 400, url: null };
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
const accessToken = response?.data?.data?.accessToken;
|
|
50
|
-
const refreshToken = response?.data?.data?.refreshToken;
|
|
51
|
-
const user = response?.data?.data?.user || {};
|
|
52
|
-
|
|
53
|
-
if (!accessToken || !refreshToken) {
|
|
54
|
-
return { ok: false, error: "Missing tokens in response", status: response.status || 500, url: null };
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
const decoded = jwtDecode<{ exp?: number }>(accessToken);
|
|
58
|
-
const accessTokenExpires = decoded.exp ? decoded.exp * 1000 : undefined;
|
|
59
|
-
|
|
60
|
-
const session = {
|
|
61
|
-
user: {
|
|
62
|
-
...user,
|
|
63
|
-
accessToken,
|
|
64
|
-
refreshToken,
|
|
65
|
-
accessTokenExpires,
|
|
66
|
-
},
|
|
67
|
-
error: null,
|
|
68
|
-
};
|
|
69
|
-
saveSession(session);
|
|
70
|
-
eventBus.emit(AppEvents.SessionUpdated, session);
|
|
71
|
-
|
|
72
|
-
return { ok: true, error: null, status: response.status || 200, url: null };
|
|
73
|
-
} catch (error: any) {
|
|
74
|
-
const message = error?.response?.data?.message || error?.response?.data?.data?.message || error?.message || "Login failed";
|
|
75
|
-
return { ok: false, error: message, status: error?.response?.status || 500, url: null };
|
|
76
|
-
}
|
|
77
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { clearSession } from "./storage";
|
|
2
|
-
import { eventBus, AppEvents } from "../../helpers/eventBus";
|
|
3
|
-
|
|
4
|
-
type SignOutOptions = {
|
|
5
|
-
callbackUrl?: string;
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export async function signOut(options: SignOutOptions = {}) {
|
|
9
|
-
clearSession();
|
|
10
|
-
eventBus.emit(AppEvents.SessionCleared);
|
|
11
|
-
if (options.callbackUrl && typeof window !== "undefined") {
|
|
12
|
-
window.location.href = options.callbackUrl;
|
|
13
|
-
}
|
|
14
|
-
return;
|
|
15
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { Session } from "./types";
|
|
2
|
-
|
|
3
|
-
const STORAGE_KEY = "solidx.session";
|
|
4
|
-
|
|
5
|
-
export function saveSession(session: Session) {
|
|
6
|
-
if (typeof window === "undefined") return;
|
|
7
|
-
if (!session) {
|
|
8
|
-
window.localStorage.removeItem(STORAGE_KEY);
|
|
9
|
-
return;
|
|
10
|
-
}
|
|
11
|
-
window.localStorage.setItem(STORAGE_KEY, JSON.stringify(session));
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export function loadSession(): Session {
|
|
15
|
-
if (typeof window === "undefined") return null;
|
|
16
|
-
const raw = window.localStorage.getItem(STORAGE_KEY);
|
|
17
|
-
if (!raw) return null;
|
|
18
|
-
try {
|
|
19
|
-
return JSON.parse(raw) as Session;
|
|
20
|
-
} catch {
|
|
21
|
-
return null;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export function clearSession() {
|
|
26
|
-
if (typeof window === "undefined") return;
|
|
27
|
-
window.localStorage.removeItem(STORAGE_KEY);
|
|
28
|
-
}
|
package/src/adapters/env.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export function env(key: string, fallback = ""): string {
|
|
2
|
-
const candidates: string[] = [];
|
|
3
|
-
|
|
4
|
-
if (key.startsWith("NEXT_PUBLIC_")) {
|
|
5
|
-
candidates.push(`VITE_${key.slice("NEXT_PUBLIC_".length)}`, key);
|
|
6
|
-
} else if (key.startsWith("VITE_")) {
|
|
7
|
-
candidates.push(key, `NEXT_PUBLIC_${key.slice("VITE_".length)}`);
|
|
8
|
-
} else {
|
|
9
|
-
candidates.push(`VITE_${key}`, `NEXT_PUBLIC_${key}`, key);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
const metaEnv = typeof import.meta !== "undefined" ? (import.meta as any).env : undefined;
|
|
13
|
-
if (metaEnv) {
|
|
14
|
-
for (const candidate of candidates) {
|
|
15
|
-
const value = metaEnv[candidate];
|
|
16
|
-
if (typeof value === "string") return value;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
const maybeProcess = (globalThis as { process?: { env?: Record<string, string | undefined> } }).process;
|
|
21
|
-
if (maybeProcess?.env) {
|
|
22
|
-
for (const candidate of candidates) {
|
|
23
|
-
const value = maybeProcess.env[candidate];
|
|
24
|
-
if (typeof value === "string") return value;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
return fallback;
|
|
29
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
export const DevDocs = () => {
|
|
4
|
-
return (
|
|
5
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none">
|
|
6
|
-
<path d="M6.66667 28C5.93333 28 5.30556 27.7389 4.78333 27.2167C4.26111 26.6944 4 26.0667 4 25.3333V6.66667C4 5.93333 4.26111 5.30556 4.78333 4.78333C5.30556 4.26111 5.93333 4 6.66667 4H25.3333C26.0667 4 26.6944 4.26111 27.2167 4.78333C27.7389 5.30556 28 5.93333 28 6.66667V25.3333C28 26.0667 27.7389 26.6944 27.2167 27.2167C26.6944 27.7389 26.0667 28 25.3333 28H6.66667ZM6.66667 6.66667V25.3333H25.3333V6.66667H22.6667V16L19.3333 14L16 16V6.66667H6.66667Z" fill="white" />
|
|
7
|
-
</svg>
|
|
8
|
-
)
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
export const DocsSvg = () => {
|
|
4
|
-
return (
|
|
5
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none">
|
|
6
|
-
<path d="M6.66667 25.3333V6.66667V12.6333V12V25.3333ZM9.33333 17.3333H16.7C16.7444 16.8444 16.8556 16.3778 17.0333 15.9333C17.2111 15.4889 17.4333 15.0667 17.7 14.6667H9.33333V17.3333ZM9.33333 22.6667H14.5667C14.9444 22.2222 15.3778 21.8611 15.8667 21.5833C16.3556 21.3056 16.8667 21.0778 17.4 20.9C17.3111 20.7667 17.2333 20.6222 17.1667 20.4667C17.1 20.3111 17.0444 20.1556 17 20H9.33333V22.6667ZM9.33333 12H22.6667V9.33333H9.33333V12ZM6.66667 28C5.93333 28 5.30556 27.7389 4.78333 27.2167C4.26111 26.6944 4 26.0667 4 25.3333V6.66667C4 5.93333 4.26111 5.30556 4.78333 4.78333C5.30556 4.26111 5.93333 4 6.66667 4H25.3333C26.0667 4 26.6944 4.26111 27.2167 4.78333C27.7389 5.30556 28 5.93333 28 6.66667V15.2667C27.6889 14.6889 27.3111 14.1778 26.8667 13.7333C26.4222 13.2889 25.9111 12.9222 25.3333 12.6333V6.66667H6.66667V25.3333H13.4C13.3778 25.4667 13.3611 25.6 13.35 25.7333C13.3389 25.8667 13.3333 26 13.3333 26.1333V28H6.66667ZM22.6667 21.3333C21.7333 21.3333 20.9444 21.0111 20.3 20.3667C19.6556 19.7222 19.3333 18.9333 19.3333 18C19.3333 17.0667 19.6556 16.2778 20.3 15.6333C20.9444 14.9889 21.7333 14.6667 22.6667 14.6667C23.6 14.6667 24.3889 14.9889 25.0333 15.6333C25.6778 16.2778 26 17.0667 26 18C26 18.9333 25.6778 19.7222 25.0333 20.3667C24.3889 21.0111 23.6 21.3333 22.6667 21.3333ZM16 28V26.1333C16 25.6 16.1389 25.1056 16.4167 24.65C16.6944 24.1944 17.0889 23.8667 17.6 23.6667C18.4 23.3333 19.2278 23.0833 20.0833 22.9167C20.9389 22.75 21.8 22.6667 22.6667 22.6667C23.5333 22.6667 24.3944 22.75 25.25 22.9167C26.1056 23.0833 26.9333 23.3333 27.7333 23.6667C28.2444 23.8667 28.6389 24.1944 28.9167 24.65C29.1944 25.1056 29.3333 25.6 29.3333 26.1333V28H16Z" fill="white" />
|
|
7
|
-
</svg>
|
|
8
|
-
)
|
|
9
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
interface MediaProps {
|
|
3
|
-
size?: any
|
|
4
|
-
}
|
|
5
|
-
export const ExcelSvg = (props: MediaProps) => {
|
|
6
|
-
const { size } = props;
|
|
7
|
-
return (
|
|
8
|
-
<svg width={size ? size : 80} height={size ? size : 80} viewBox="0 0 80 80" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
9
|
-
<path d="M15 10.4147V10.4146C14.9999 5.29959 19.6888 1 25.3892 1H53.5858L77 24.4142V69.5852C77 74.7288 72.5287 78.9999 66.8806 78.9999H25.1406C19.47 78.9999 15 74.7276 15 69.5852V10.4147Z" fill="white" stroke="#DBDBDB" strokeWidth="2" />
|
|
10
|
-
<path d="M54.0513 16.32V0L78 24H62.0342C54.8496 24 53.7187 18.88 54.0513 16.32Z" fill="#D4D4D8" />
|
|
11
|
-
<rect x="2" y="38" width="51" height="30" rx="6" fill="#079455" />
|
|
12
|
-
<path d="M13.7955 46.9091L16.4354 51.3707H16.5376L19.1903 46.9091H22.3161L18.321 53.4545L22.4055 60H19.2223L16.5376 55.532H16.4354L13.7507 60H10.5803L14.6776 53.4545L10.657 46.9091H13.7955ZM24.0675 60V46.9091H26.8352V57.718H32.4474V60H24.0675ZM41.3819 50.674C41.3308 50.1584 41.1113 49.7578 40.7235 49.4723C40.3358 49.1868 39.8095 49.044 39.1447 49.044C38.693 49.044 38.3116 49.108 38.0005 49.2358C37.6895 49.3594 37.4508 49.532 37.2846 49.7536C37.1227 49.9751 37.0417 50.2266 37.0417 50.5078C37.0332 50.7422 37.0822 50.9467 37.1887 51.1214C37.2995 51.2962 37.4508 51.4474 37.6426 51.5753C37.8343 51.6989 38.0559 51.8075 38.3074 51.9013C38.5588 51.9908 38.8272 52.0675 39.1127 52.1314L40.2889 52.4126C40.8599 52.5405 41.3841 52.7109 41.8613 52.924C42.3386 53.1371 42.752 53.3991 43.1014 53.7102C43.4508 54.0213 43.7214 54.3878 43.9132 54.8097C44.1092 55.2315 44.2093 55.7152 44.2136 56.2607C44.2093 57.0618 44.0048 57.7564 43.6 58.3445C43.1994 58.9283 42.6199 59.3821 41.8613 59.706C41.1071 60.0256 40.1973 60.1854 39.1319 60.1854C38.0751 60.1854 37.1547 60.0234 36.3706 59.6996C35.5907 59.3757 34.9814 58.8963 34.5424 58.2614C34.1078 57.6222 33.8798 56.8317 33.8585 55.8899H36.5368C36.5666 56.3288 36.6923 56.6953 36.9139 56.9893C37.1397 57.2791 37.4402 57.4986 37.8152 57.6477C38.1944 57.7926 38.6227 57.8651 39.1 57.8651C39.5687 57.8651 39.9757 57.7969 40.3208 57.6605C40.6703 57.5241 40.9409 57.3345 41.1326 57.0916C41.3244 56.8487 41.4203 56.5696 41.4203 56.2543C41.4203 55.9602 41.3329 55.7131 41.1582 55.5128C40.9877 55.3125 40.7363 55.142 40.4039 55.0014C40.0758 54.8608 39.6731 54.733 39.1958 54.6179L37.7704 54.2599C36.6667 53.9915 35.7953 53.5717 35.1561 53.0007C34.5169 52.4297 34.1994 51.6605 34.2037 50.6932C34.1994 49.9006 34.4103 49.2081 34.8365 48.6158C35.2669 48.0234 35.8571 47.5611 36.6071 47.2287C37.3571 46.8963 38.2093 46.7301 39.1639 46.7301C40.1355 46.7301 40.9835 46.8963 41.7079 47.2287C42.4366 47.5611 43.0034 48.0234 43.4082 48.6158C43.813 49.2081 44.0218 49.8942 44.0346 50.674H41.3819Z" fill="white" />
|
|
13
|
-
</svg>
|
|
14
|
-
)
|
|
15
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
export const FieldSvg = () => {
|
|
4
|
-
return (
|
|
5
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none">
|
|
6
|
-
<path d="M4 29.3333V2.66667L6 4.66667L8 2.66667L10 4.66667L12 2.66667L14 4.66667L16 2.66667L18 4.66667L20 2.66667L22 4.66667L24 2.66667L26 4.66667L28 2.66667V29.3333L26 27.3333L24 29.3333L22 27.3333L20 29.3333L18 27.3333L16 29.3333L14 27.3333L12 29.3333L10 27.3333L8 29.3333L6 27.3333L4 29.3333ZM8 22.6667H24V20H8V22.6667ZM8 17.3333H24V14.6667H8V17.3333ZM8 12H24V9.33333H8V12ZM6.66667 25.4667H25.3333V6.53333H6.66667V25.4667Z" />
|
|
7
|
-
</svg>
|
|
8
|
-
)
|
|
9
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as React from "react"
|
|
2
|
-
const FileSvg = (props: React.SVGProps<SVGSVGElement>) => (
|
|
3
|
-
<svg
|
|
4
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
5
|
-
width={64}
|
|
6
|
-
height={64}
|
|
7
|
-
fill="none"
|
|
8
|
-
{...props}
|
|
9
|
-
className="solid-file-reader"
|
|
10
|
-
>
|
|
11
|
-
<path
|
|
12
|
-
fill="#F9F0FF"
|
|
13
|
-
d="M36.03 25.291a2 2 0 0 1-2-2V6.271H16a6 6 0 0 0-6 6v40.08a6 6 0 0 0 6 6h31.06a6.01 6.01 0 0 0 6-6v-27.06H36.03Z"
|
|
14
|
-
/>
|
|
15
|
-
<path fill="#722ED1" d="M51.88 21.291 38.03 7.441v13.85h13.85Z" />
|
|
16
|
-
</svg>
|
|
17
|
-
)
|
|
18
|
-
export default FileSvg
|