@solidxai/core-ui 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/auth/getSession.js.map +1 -1
- package/dist/adapters/auth/handleLogout.js.map +1 -1
- package/dist/adapters/auth/index.js.map +1 -1
- package/dist/adapters/auth/refreshAccessToken.js.map +1 -1
- package/dist/adapters/auth/sessionProvider.js.map +1 -1
- package/dist/adapters/auth/signIn.js.map +1 -1
- package/dist/adapters/auth/signInWithOAuthAccessCode.js.map +1 -1
- package/dist/adapters/auth/signInWithOtp.js.map +1 -1
- package/dist/adapters/auth/signOut.js.map +1 -1
- package/dist/adapters/auth/storage.js.map +1 -1
- package/dist/adapters/auth/types.js.map +1 -1
- package/dist/adapters/env.js.map +1 -1
- package/dist/components/Svg/DevDocs.js.map +1 -1
- package/dist/components/Svg/DocsSvg.js.map +1 -1
- package/dist/components/Svg/ExcelSvg.js.map +1 -1
- package/dist/components/Svg/FieldSvg.js.map +1 -1
- package/dist/components/Svg/FileSvg.js.map +1 -1
- package/dist/components/Svg/HomePageModuleSvg.js.map +1 -1
- package/dist/components/Svg/ModelSvg.js.map +1 -1
- package/dist/components/Svg/ModuleSvg.js.map +1 -1
- package/dist/components/Svg/PDFSvg.js.map +1 -1
- package/dist/components/Svg/RightArrowSvg.js.map +1 -1
- package/dist/components/Svg/SettingsSvg.js.map +1 -1
- package/dist/components/auth/AuthLayout.js.map +1 -1
- package/dist/components/auth/ForgotPasswordThankYou.js.map +1 -1
- package/dist/components/auth/GoogleAuthChecking.js.map +1 -1
- package/dist/components/auth/SolidChangeForcePassword.js.map +1 -1
- package/dist/components/auth/SolidForgotPassword.js.map +1 -1
- package/dist/components/auth/SolidInitialLoginOtp.js.map +1 -1
- package/dist/components/auth/SolidInitiateRegisterOtp.js.map +1 -1
- package/dist/components/auth/SolidLogin.js.map +1 -1
- package/dist/components/auth/SolidRegister.js.map +1 -1
- package/dist/components/auth/SolidResetPassword.js.map +1 -1
- package/dist/components/common/AutoCompleteField.js.map +1 -1
- package/dist/components/common/BackButton.js.map +1 -1
- package/dist/components/common/CancelButton.js.map +1 -1
- package/dist/components/common/CodeEditor.js.map +1 -1
- package/dist/components/common/CreateButton.js.map +1 -1
- package/dist/components/common/DownloadProgressToast.js.map +1 -1
- package/dist/components/common/DropzonePlaceholder.js.map +1 -1
- package/dist/components/common/DropzoneUpload.js.map +1 -1
- package/dist/components/common/FileReaderExt.js.map +1 -1
- package/dist/components/common/GeneralSettings.js.map +1 -1
- package/dist/components/common/HeaderDynamicTitles.js.map +1 -1
- package/dist/components/common/Image.js.map +1 -1
- package/dist/components/common/Link.js.map +1 -1
- package/dist/components/common/MarkdownViewer.js.map +1 -1
- package/dist/components/common/MultipleSelectAutoCompleteField.js.map +1 -1
- package/dist/components/common/NotFound.js.map +1 -1
- package/dist/components/common/SingleSelectAutoCompleteField.js.map +1 -1
- package/dist/components/common/SocialMediaLogin.js.map +1 -1
- package/dist/components/common/SolidAdmin.d.ts.map +1 -1
- package/dist/components/common/SolidAdmin.js +3 -3
- package/dist/components/common/SolidAdmin.js.map +1 -1
- package/dist/components/common/SolidAdmin.tsx +186 -10
- package/dist/components/common/SolidBreadcrumb.js.map +1 -1
- package/dist/components/common/SolidErrorPage.d.ts.map +1 -1
- package/dist/components/common/SolidErrorPage.js +3 -2
- package/dist/components/common/SolidErrorPage.js.map +1 -1
- package/dist/components/common/SolidErrorPage.tsx +31 -14
- package/dist/components/common/SolidExport.js.map +1 -1
- package/dist/components/common/SolidExportStepper.js.map +1 -1
- package/dist/components/common/SolidFieldTooltip.js.map +1 -1
- package/dist/components/common/SolidFormHeader.js.map +1 -1
- package/dist/components/common/SolidFormStepper.js.map +1 -1
- package/dist/components/common/SolidModuleHome.js.map +1 -1
- package/dist/components/common/SolidNotFoundPage.d.ts.map +1 -1
- package/dist/components/common/SolidNotFoundPage.js +2 -2
- package/dist/components/common/SolidNotFoundPage.js.map +1 -1
- package/dist/components/common/SolidNotFoundPage.tsx +23 -14
- package/dist/components/common/SolidPopupContainer.js.map +1 -1
- package/dist/components/common/SolidSettings/LlmSettings/AnthropicProviderComponent.js.map +1 -1
- package/dist/components/common/SolidSettings/LlmSettings/OpenAiProviderComponent.js.map +1 -1
- package/dist/components/common/SolidSettings/SettingDropzoneActivePlaceholder.js.map +1 -1
- package/dist/components/common/SolidSettings/SettingsImageRemoveButton.js.map +1 -1
- package/dist/components/common/SolidSettings/SolidUploadedImage.js.map +1 -1
- package/dist/components/common/SolidThemeLink.js.map +1 -1
- package/dist/components/common/SolidThemeProvider.js.map +1 -1
- package/dist/components/common/StepperArrows/ActiveArrowStep.js.map +1 -1
- package/dist/components/common/StepperArrows/ActiveBeforeStepArrow.js.map +1 -1
- package/dist/components/common/StepperArrows/InactiveStepArrow.js.map +1 -1
- package/dist/components/common/error.js.map +1 -1
- package/dist/components/common/useHandleFormCustomButtonClick.js.map +1 -1
- package/dist/components/common/useHandleListCustomButtonClick.js.map +1 -1
- package/dist/components/core/chatter/SolidChatter.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterAuditMessage.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterCustomMessage.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterDateDivider.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterHeader.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterMessageBox.js.map +1 -1
- package/dist/components/core/chatter/SolidMessageComposer.js.map +1 -1
- package/dist/components/core/common/AvatarWidget.js.map +1 -1
- package/dist/components/core/common/DateFieldViewComponent.js.map +1 -1
- package/dist/components/core/common/FilterComponent.js.map +1 -1
- package/dist/components/core/common/PDFViewer.js.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.js.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidChangePassword.js.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidNotifications.js.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidPersonalInfo.js.map +1 -1
- package/dist/components/core/common/SolidCreateButton.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/DocumentSvg.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidGenericImport.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportDropzone.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportInstructions.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportStepper.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportTransaction.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportTransactionStatus.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportWrapper.js.map +1 -1
- package/dist/components/core/common/SolidGlobalSearchElement.d.ts.map +1 -1
- package/dist/components/core/common/SolidGlobalSearchElement.js +116 -55
- package/dist/components/core/common/SolidGlobalSearchElement.js.map +1 -1
- package/dist/components/core/common/SolidGlobalSearchElement.tsx +117 -30
- package/dist/components/core/common/SolidImageViewer.d.ts +10 -0
- package/dist/components/core/common/SolidImageViewer.d.ts.map +1 -0
- package/dist/components/core/common/SolidImageViewer.js +59 -0
- package/dist/components/core/common/SolidImageViewer.js.map +1 -0
- package/dist/components/core/common/SolidImageViewer.tsx +84 -0
- package/dist/components/core/common/SolidLayoutViews.js.map +1 -1
- package/dist/components/core/common/SolidListViewOptions.js.map +1 -1
- package/dist/components/core/common/SolidLoaders/SolidCircularLoader.js.map +1 -1
- package/dist/components/core/common/SolidPasswordHelperText.js.map +1 -1
- package/dist/components/core/common/SolidSaveCustomFilterForm.js.map +1 -1
- package/dist/components/core/common/SolidSearchBox.js.map +1 -1
- package/dist/components/core/common/SolidViewLayoutManager.js.map +1 -1
- package/dist/components/core/common/SolidXAiIframe.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboard.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardBody.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardFilterRequired.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardHeader.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardLoading.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardNotAvailable.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardRenderError.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardVariable.js.map +1 -1
- package/dist/components/core/dashboard/SolidQuestionRenderer.js.map +1 -1
- package/dist/components/core/dashboard/chart-renderers/ChartJsRenderer.js.map +1 -1
- package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.js.map +1 -1
- package/dist/components/core/dashboard/chart-renderers/init-chartjs.js.map +1 -1
- package/dist/components/core/dashboard/dashboard-utils.js.map +1 -1
- package/dist/components/core/extension/solid-core/CustomIcon/StatusIcon.js.map +1 -1
- package/dist/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.js.map +1 -1
- package/dist/components/core/extension/solid-core/emailTemplate/emailFormTypeChangeHandler.js.map +1 -1
- package/dist/components/core/extension/solid-core/emailTemplate/emailFormTypeLoad.js.map +1 -1
- package/dist/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.js.map +1 -1
- package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.js.map +1 -1
- package/dist/components/core/extension/solid-core/moduleMetadata/list/DeleteModuleRowAction.js.map +1 -1
- package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.js.map +1 -1
- package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.js.map +1 -1
- package/dist/components/core/field/FieldListViewData.js.map +1 -1
- package/dist/components/core/filter/SolidBooleanFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidFilterFields.js.map +1 -1
- package/dist/components/core/filter/SolidManyToManyFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidManyToOneFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidVarInputsFilterElement.js.map +1 -1
- package/dist/components/core/filter/fields/SolidBigintField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidBooleanField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidComputedField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidDateField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidDatetimeField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidDecimalField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidExternalIdField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidFloatField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidIdField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidIntField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidLongTextField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidMediaMultipleField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidMediaSingleField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidRelationField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidRichTextField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidSelectionDynamicField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidSelectionStaticField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidShortTextField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidTimeField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidUuidField.js.map +1 -1
- package/dist/components/core/filter/fields/relations/SolidRelationManyToManyField.js.map +1 -1
- package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.js.map +1 -1
- package/dist/components/core/form/SolidFormActionHeader.js.map +1 -1
- package/dist/components/core/form/SolidFormFieldRender.js.map +1 -1
- package/dist/components/core/form/SolidFormFieldRenderExtension.js.map +1 -1
- package/dist/components/core/form/SolidFormFooter.js.map +1 -1
- package/dist/components/core/form/SolidFormLayouts.js.map +1 -1
- package/dist/components/core/form/SolidFormUserViewLayout.js.map +1 -1
- package/dist/components/core/form/SolidFormView.js.map +1 -1
- package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.js.map +1 -1
- package/dist/components/core/form/SolidFormViewNormalHeaderButton.js.map +1 -1
- package/dist/components/core/form/SolidFormViewShimmerLoading.js.map +1 -1
- package/dist/components/core/form/fields/ISolidField.js.map +1 -1
- package/dist/components/core/form/fields/SolidBooleanField.js.map +1 -1
- package/dist/components/core/form/fields/SolidDateField.js.map +1 -1
- package/dist/components/core/form/fields/SolidDateTimeField.js.map +1 -1
- package/dist/components/core/form/fields/SolidDecimalField.js.map +1 -1
- package/dist/components/core/form/fields/SolidEmailField.js.map +1 -1
- package/dist/components/core/form/fields/SolidIntegerField.js.map +1 -1
- package/dist/components/core/form/fields/SolidJsonField.js.map +1 -1
- package/dist/components/core/form/fields/SolidLongTextField.js.map +1 -1
- package/dist/components/core/form/fields/SolidMediaMultipleField.js.map +1 -1
- package/dist/components/core/form/fields/SolidMediaSingleField.js.map +1 -1
- package/dist/components/core/form/fields/SolidPasswordField.js.map +1 -1
- package/dist/components/core/form/fields/SolidRelationField.js.map +1 -1
- package/dist/components/core/form/fields/SolidRichTextField.js.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionDynamicField.js.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionStaticField.js.map +1 -1
- package/dist/components/core/form/fields/SolidShortTextField.js.map +1 -1
- package/dist/components/core/form/fields/SolidTimeField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js +150 -72
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +157 -46
- package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.js.map +1 -1
- package/dist/components/core/form/fields/relations/widgets/helpers/useRelationEntityHandler.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidAiInteractionMessageFieldFormWidget.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidIconEditWidget.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidIconViewWidget.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.d.ts.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.js +80 -79
- package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.tsx +92 -85
- 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 +137 -119
- package/dist/components/core/list/SolidListView.js.map +1 -1
- package/dist/components/core/list/SolidListView.tsx +207 -122
- package/dist/components/core/list/SolidListViewColumn.js.map +1 -1
- package/dist/components/core/list/SolidListViewConfigure.js.map +1 -1
- package/dist/components/core/list/SolidListViewHeaderButton.js.map +1 -1
- package/dist/components/core/list/SolidListViewHeaderContextMenuButton.js.map +1 -1
- package/dist/components/core/list/SolidListViewRowButtonContextMenu.js.map +1 -1
- package/dist/components/core/list/SolidListViewShimmerLoading.js.map +1 -1
- package/dist/components/core/list/SolidListingHeader.js.map +1 -1
- package/dist/components/core/list/SolidManyToOneFilterElement.js.map +1 -1
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.js.map +1 -1
- package/dist/components/core/list/SolidSelectionStaticFilterElement.js.map +1 -1
- package/dist/components/core/list/SolidTableRowCell.js.map +1 -1
- package/dist/components/core/list/SolidVarInputsFilterElement.js.map +1 -1
- package/dist/components/core/list/columns/SolidBigintColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidBooleanColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidComputedColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidDateColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidDatetimeColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidDecimalColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidExternalIdColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidFloatColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidIdColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidIntColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidLongTextColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.js +16 -17
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.tsx +46 -44
- package/dist/components/core/list/columns/SolidMediaSingleColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidMediaSingleColumn.js +6 -4
- package/dist/components/core/list/columns/SolidMediaSingleColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidMediaSingleColumn.tsx +7 -5
- 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/fetchS3Url.d.ts +19 -0
- package/dist/helpers/fetchS3Url.d.ts.map +1 -0
- package/dist/helpers/fetchS3Url.js +60 -0
- package/dist/helpers/fetchS3Url.js.map +1 -0
- package/dist/helpers/fetchS3Url.ts +33 -0
- 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 +7 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.ts +9 -3
- 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 +17 -2
- package/dist/routes/pages/admin/core/ListPage.js.map +1 -1
- package/dist/routes/pages/admin/core/ListPage.tsx +22 -2
- package/dist/routes/pages/admin/core/ModuleHomePage.js.map +1 -1
- package/dist/routes/pages/admin/core/SettingsPage.js.map +1 -1
- package/dist/routes/pages/auth/ConfirmForgotPasswordPage.js.map +1 -1
- package/dist/routes/pages/auth/ForgotPasswordPage.js.map +1 -1
- package/dist/routes/pages/auth/InitiateForgotPasswordPage.js.map +1 -1
- package/dist/routes/pages/auth/InitiateForgotPasswordThankYouPage.js.map +1 -1
- package/dist/routes/pages/auth/InitiateGoogleOauthPage.js.map +1 -1
- package/dist/routes/pages/auth/InitiateLoginPage.js.map +1 -1
- package/dist/routes/pages/auth/InitiateRegisterPage.js.map +1 -1
- package/dist/routes/pages/auth/LoginPage.js.map +1 -1
- package/dist/routes/pages/auth/RegisterPage.js.map +1 -1
- package/dist/routes/pages/auth/ResetPasswordPage.js.map +1 -1
- package/dist/routes/pages/auth/SsoPage.js.map +1 -1
- package/dist/routes/solidRoutes.js.map +1 -1
- package/dist/routes/types.js.map +1 -1
- package/dist/styles.js.map +1 -1
- package/package.json +7 -5
- package/src/adapters/auth/getSession.ts +0 -49
- package/src/adapters/auth/handleLogout.ts +0 -39
- package/src/adapters/auth/index.ts +0 -10
- package/src/adapters/auth/refreshAccessToken.ts +0 -34
- package/src/adapters/auth/sessionProvider.tsx +0 -5
- package/src/adapters/auth/signIn.ts +0 -70
- package/src/adapters/auth/signInWithOAuthAccessCode.ts +0 -80
- package/src/adapters/auth/signInWithOtp.ts +0 -77
- package/src/adapters/auth/signOut.ts +0 -15
- package/src/adapters/auth/storage.ts +0 -28
- package/src/adapters/auth/types.ts +0 -9
- package/src/adapters/env.ts +0 -29
- package/src/components/Svg/DevDocs.tsx +0 -9
- package/src/components/Svg/DocsSvg.tsx +0 -9
- package/src/components/Svg/ExcelSvg.tsx +0 -15
- package/src/components/Svg/FieldSvg.tsx +0 -9
- package/src/components/Svg/FileSvg.tsx +0 -18
- package/src/components/Svg/HomePageModuleSvg.tsx +0 -179
- package/src/components/Svg/ModelSvg.tsx +0 -9
- package/src/components/Svg/ModuleSvg.tsx +0 -9
- package/src/components/Svg/PDFSvg.tsx +0 -15
- package/src/components/Svg/RightArrowSvg.tsx +0 -9
- package/src/components/Svg/SettingsSvg.tsx +0 -9
- package/src/components/auth/AuthLayout.tsx +0 -226
- package/src/components/auth/ForgotPasswordThankYou.tsx +0 -31
- package/src/components/auth/GoogleAuthChecking.tsx +0 -60
- package/src/components/auth/SolidChangeForcePassword.tsx +0 -213
- package/src/components/auth/SolidForgotPassword.tsx +0 -116
- package/src/components/auth/SolidInitialLoginOtp.tsx +0 -231
- package/src/components/auth/SolidInitiateRegisterOtp.tsx +0 -208
- package/src/components/auth/SolidLogin.tsx +0 -418
- package/src/components/auth/SolidRegister.tsx +0 -442
- package/src/components/auth/SolidResetPassword.tsx +0 -186
- package/src/components/common/AuthBanner.tsx +0 -41
- package/src/components/common/AutoCompleteField.tsx +0 -79
- package/src/components/common/BackButton.tsx +0 -73
- package/src/components/common/CancelButton.tsx +0 -62
- package/src/components/common/CodeEditor.tsx +0 -38
- package/src/components/common/CreateButton.tsx +0 -18
- package/src/components/common/DownloadProgressToast.tsx +0 -55
- package/src/components/common/DropzonePlaceholder.tsx +0 -31
- package/src/components/common/DropzoneUpload.tsx +0 -11
- package/src/components/common/FileReaderExt.tsx +0 -20
- package/src/components/common/GeneralSettings.tsx +0 -1215
- package/src/components/common/HeaderDynamicTitles.tsx +0 -13
- package/src/components/common/Image.tsx +0 -13
- package/src/components/common/Link.tsx +0 -13
- package/src/components/common/MarkdownViewer.tsx +0 -84
- package/src/components/common/MultipleSelectAutoCompleteField.tsx +0 -64
- package/src/components/common/NotFound.tsx +0 -22
- package/src/components/common/SingleSelectAutoCompleteField.tsx +0 -73
- package/src/components/common/SocialMediaLogin.tsx +0 -55
- package/src/components/common/SolidAdmin.tsx +0 -29
- package/src/components/common/SolidBreadcrumb.tsx +0 -130
- package/src/components/common/SolidErrorPage.tsx +0 -37
- package/src/components/common/SolidExport.tsx +0 -563
- package/src/components/common/SolidExportStepper.tsx +0 -135
- package/src/components/common/SolidFieldTooltip.tsx +0 -23
- package/src/components/common/SolidFormHeader.tsx +0 -25
- package/src/components/common/SolidFormStepper.tsx +0 -336
- package/src/components/common/SolidModuleHome.tsx +0 -128
- package/src/components/common/SolidNotFoundPage.tsx +0 -37
- package/src/components/common/SolidPopupContainer.tsx +0 -37
- package/src/components/common/SolidSettings/LlmSettings/AnthropicProviderComponent.tsx +0 -45
- package/src/components/common/SolidSettings/LlmSettings/OpenAiProviderComponent.tsx +0 -45
- package/src/components/common/SolidSettings/SettingDropzoneActivePlaceholder.tsx +0 -20
- package/src/components/common/SolidSettings/SettingsImageRemoveButton.tsx +0 -15
- package/src/components/common/SolidSettings/SolidUploadedImage.tsx +0 -16
- package/src/components/common/SolidThemeLink.tsx +0 -6
- package/src/components/common/SolidThemeProvider.tsx +0 -44
- package/src/components/common/StepperArrows/ActiveArrowStep.tsx +0 -18
- package/src/components/common/StepperArrows/ActiveBeforeStepArrow.tsx +0 -18
- package/src/components/common/StepperArrows/InactiveStepArrow.tsx +0 -19
- package/src/components/common/error.tsx +0 -30
- package/src/components/common/solid-export.css +0 -85
- package/src/components/common/solidModuleHome.module.css +0 -135
- package/src/components/common/useHandleFormCustomButtonClick.ts +0 -40
- package/src/components/common/useHandleListCustomButtonClick.ts +0 -40
- package/src/components/core/chatter/SolidChatter.tsx +0 -248
- package/src/components/core/chatter/SolidChatterAuditMessage.tsx +0 -35
- package/src/components/core/chatter/SolidChatterCustomMessage.tsx +0 -46
- package/src/components/core/chatter/SolidChatterDateDivider.tsx +0 -16
- package/src/components/core/chatter/SolidChatterHeader.tsx +0 -218
- package/src/components/core/chatter/SolidChatterMessageBox.tsx +0 -163
- package/src/components/core/chatter/SolidMessageComposer.tsx +0 -146
- package/src/components/core/chatter/chatter.module.css +0 -74
- package/src/components/core/common/AvatarWidget.tsx +0 -55
- package/src/components/core/common/DateFieldViewComponent.tsx +0 -36
- package/src/components/core/common/FilterComponent.tsx +0 -457
- package/src/components/core/common/PDFViewer.tsx +0 -117
- package/src/components/core/common/SolidAccountSettings/SolidAccountSettings.module.css +0 -59
- package/src/components/core/common/SolidAccountSettings/SolidAccountSettings.tsx +0 -89
- package/src/components/core/common/SolidAccountSettings/SolidChangePassword.tsx +0 -179
- package/src/components/core/common/SolidAccountSettings/SolidNotifications.tsx +0 -129
- package/src/components/core/common/SolidAccountSettings/SolidPersonalInfo.tsx +0 -304
- package/src/components/core/common/SolidCreateButton.tsx +0 -59
- package/src/components/core/common/SolidGenericImport/DocumentSvg.tsx +0 -15
- package/src/components/core/common/SolidGenericImport/SolidGenericImport.tsx +0 -64
- package/src/components/core/common/SolidGenericImport/SolidImport.module.css +0 -40
- package/src/components/core/common/SolidGenericImport/SolidImportDropzone.tsx +0 -116
- package/src/components/core/common/SolidGenericImport/SolidImportInstructions.tsx +0 -123
- package/src/components/core/common/SolidGenericImport/SolidImportStepper.tsx +0 -217
- package/src/components/core/common/SolidGenericImport/SolidImportTransaction.tsx +0 -196
- package/src/components/core/common/SolidGenericImport/SolidImportTransactionStatus.tsx +0 -157
- package/src/components/core/common/SolidGenericImport/SolidImportWrapper.tsx +0 -29
- package/src/components/core/common/SolidGlobalSearchElement.tsx +0 -1488
- package/src/components/core/common/SolidLayoutViews.tsx +0 -87
- package/src/components/core/common/SolidListViewOptions.tsx +0 -31
- package/src/components/core/common/SolidLoaders/SolidCircularLoader.tsx +0 -7
- package/src/components/core/common/SolidLoaders/SolidLoaders.module.css +0 -20
- package/src/components/core/common/SolidPasswordHelperText.tsx +0 -33
- package/src/components/core/common/SolidSaveCustomFilterForm.tsx +0 -75
- package/src/components/core/common/SolidSearchBox.tsx +0 -17
- package/src/components/core/common/SolidViewLayoutManager.ts +0 -421
- package/src/components/core/common/SolidXAiIframe.tsx +0 -77
- package/src/components/core/dashboard/SolidDashboard.module.css +0 -79
- package/src/components/core/dashboard/SolidDashboard.tsx +0 -332
- package/src/components/core/dashboard/SolidDashboardBody.tsx +0 -117
- package/src/components/core/dashboard/SolidDashboardFilterRequired.tsx +0 -28
- package/src/components/core/dashboard/SolidDashboardHeader.tsx +0 -10
- package/src/components/core/dashboard/SolidDashboardLoading.tsx +0 -55
- package/src/components/core/dashboard/SolidDashboardNotAvailable.tsx +0 -32
- package/src/components/core/dashboard/SolidDashboardRenderError.tsx +0 -29
- package/src/components/core/dashboard/SolidDashboardVariable.tsx +0 -256
- package/src/components/core/dashboard/SolidQuestionRenderer.tsx +0 -78
- package/src/components/core/dashboard/chart-renderers/ChartJsRenderer.tsx +0 -18
- package/src/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.tsx +0 -54
- package/src/components/core/dashboard/chart-renderers/init-chartjs.ts +0 -25
- package/src/components/core/dashboard/dashboard-utils.ts +0 -39
- package/src/components/core/extension/solid-core/CustomIcon/StatusIcon.tsx +0 -17
- package/src/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.tsx +0 -36
- package/src/components/core/extension/solid-core/emailTemplate/emailFormTypeChangeHandler.ts +0 -18
- package/src/components/core/extension/solid-core/emailTemplate/emailFormTypeLoad.ts +0 -18
- package/src/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.tsx +0 -105
- package/src/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.tsx +0 -205
- package/src/components/core/extension/solid-core/moduleMetadata/list/DeleteModuleRowAction.tsx +0 -131
- package/src/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.tsx +0 -201
- package/src/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.tsx +0 -131
- package/src/components/core/field/FieldListViewData.tsx +0 -313
- package/src/components/core/filter/SolidBooleanFilterElement.tsx +0 -30
- package/src/components/core/filter/SolidFilterFields.tsx +0 -131
- package/src/components/core/filter/SolidManyToManyFilterElement.tsx +0 -64
- package/src/components/core/filter/SolidManyToOneFilterElement.tsx +0 -61
- package/src/components/core/filter/SolidSelectionDynamicFilterElement.tsx +0 -50
- package/src/components/core/filter/SolidSelectionStaticFilterElement.tsx +0 -32
- package/src/components/core/filter/SolidVarInputsFilterElement.tsx +0 -209
- package/src/components/core/filter/fields/SolidBigintField.tsx +0 -9
- package/src/components/core/filter/fields/SolidBooleanField.tsx +0 -68
- package/src/components/core/filter/fields/SolidComputedField.tsx +0 -23
- package/src/components/core/filter/fields/SolidDateField.tsx +0 -63
- package/src/components/core/filter/fields/SolidDatetimeField.tsx +0 -54
- package/src/components/core/filter/fields/SolidDecimalField.tsx +0 -9
- package/src/components/core/filter/fields/SolidExternalIdField.tsx +0 -52
- package/src/components/core/filter/fields/SolidFloatField.tsx +0 -9
- package/src/components/core/filter/fields/SolidIdField.tsx +0 -46
- package/src/components/core/filter/fields/SolidIntField.tsx +0 -61
- package/src/components/core/filter/fields/SolidLongTextField.tsx +0 -9
- package/src/components/core/filter/fields/SolidMediaMultipleField.tsx +0 -60
- package/src/components/core/filter/fields/SolidMediaSingleField.tsx +0 -62
- package/src/components/core/filter/fields/SolidRelationField.tsx +0 -17
- package/src/components/core/filter/fields/SolidRichTextField.tsx +0 -9
- package/src/components/core/filter/fields/SolidSelectionDynamicField.tsx +0 -52
- package/src/components/core/filter/fields/SolidSelectionStaticField.tsx +0 -54
- package/src/components/core/filter/fields/SolidShortTextField.tsx +0 -60
- package/src/components/core/filter/fields/SolidTimeField.tsx +0 -48
- package/src/components/core/filter/fields/SolidUuidField.tsx +0 -51
- package/src/components/core/filter/fields/relations/SolidRelationManyToManyField.tsx +0 -62
- package/src/components/core/filter/fields/relations/SolidRelationManyToOneField.tsx +0 -84
- package/src/components/core/form/SolidFormActionHeader.tsx +0 -516
- package/src/components/core/form/SolidFormFieldRender.tsx +0 -53
- package/src/components/core/form/SolidFormFieldRenderExtension.tsx +0 -26
- package/src/components/core/form/SolidFormFooter.tsx +0 -164
- package/src/components/core/form/SolidFormLayouts.tsx +0 -104
- package/src/components/core/form/SolidFormUserViewLayout.tsx +0 -75
- package/src/components/core/form/SolidFormView.tsx +0 -1869
- package/src/components/core/form/SolidFormViewContextMenuHeaderButton.tsx +0 -53
- package/src/components/core/form/SolidFormViewNormalHeaderButton.tsx +0 -53
- package/src/components/core/form/SolidFormViewShimmerLoading.tsx +0 -109
- package/src/components/core/form/fields/ISolidField.tsx +0 -72
- package/src/components/core/form/fields/SolidBooleanField.tsx +0 -445
- package/src/components/core/form/fields/SolidDateField.tsx +0 -247
- package/src/components/core/form/fields/SolidDateTimeField.tsx +0 -229
- package/src/components/core/form/fields/SolidDecimalField.tsx +0 -171
- package/src/components/core/form/fields/SolidEmailField.tsx +0 -176
- package/src/components/core/form/fields/SolidIntegerField.tsx +0 -282
- package/src/components/core/form/fields/SolidJsonField.tsx +0 -185
- package/src/components/core/form/fields/SolidLongTextField.tsx +0 -618
- package/src/components/core/form/fields/SolidMediaMultipleField.tsx +0 -662
- package/src/components/core/form/fields/SolidMediaSingleField.tsx +0 -546
- package/src/components/core/form/fields/SolidPasswordField.tsx +0 -391
- package/src/components/core/form/fields/SolidRelationField.tsx +0 -56
- package/src/components/core/form/fields/SolidRichTextField.tsx +0 -188
- package/src/components/core/form/fields/SolidSelectionDynamicField.tsx +0 -340
- package/src/components/core/form/fields/SolidSelectionStaticField.tsx +0 -462
- package/src/components/core/form/fields/SolidShortTextField.tsx +0 -399
- package/src/components/core/form/fields/SolidTimeField.tsx +0 -245
- package/src/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +0 -453
- package/src/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +0 -1009
- package/src/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +0 -636
- package/src/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.tsx +0 -38
- package/src/components/core/form/fields/relations/widgets/helpers/useRelationEntityHandler.ts +0 -64
- package/src/components/core/form/fields/solidFields.module.css +0 -7
- package/src/components/core/form/fields/widgets/SolidAiInteractionMessageFieldFormWidget.tsx +0 -135
- package/src/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.tsx +0 -144
- package/src/components/core/form/fields/widgets/SolidIconEditWidget.tsx +0 -265
- package/src/components/core/form/fields/widgets/SolidIconViewWidget.tsx +0 -32
- package/src/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.tsx +0 -50
- package/src/components/core/form/fields/widgets/SolidS3FileViewerWidget.tsx +0 -222
- package/src/components/core/form/fields/widgets/SolidShortTextFieldAvatarWidget.tsx +0 -70
- package/src/components/core/form/solidFormViewShimmerLoading.module.css +0 -4
- package/src/components/core/form/widgets/CustomHtml.tsx +0 -20
- package/src/components/core/kanban/KanbanBoard.tsx +0 -116
- package/src/components/core/kanban/KanbanCard.tsx +0 -280
- package/src/components/core/kanban/KanbanColumn.tsx +0 -138
- package/src/components/core/kanban/KanbanUserViewLayout.tsx +0 -73
- package/src/components/core/kanban/SolidKanbanView.tsx +0 -866
- package/src/components/core/kanban/SolidKanbanViewConfigure.tsx +0 -152
- package/src/components/core/kanban/SolidKanbanViewFields.tsx +0 -164
- package/src/components/core/kanban/SolidManyToOneFilterElement.tsx +0 -59
- package/src/components/core/kanban/SolidSelectionDynamicFilterElement.tsx +0 -50
- package/src/components/core/kanban/SolidSelectionStaticFilterElement.tsx +0 -32
- package/src/components/core/kanban/SolidVarInputsFilterElement.tsx +0 -184
- package/src/components/core/kanban/kanban-fields/SolidBigintKanbanField.tsx +0 -9
- package/src/components/core/kanban/kanban-fields/SolidBooleanKanbanField.tsx +0 -16
- package/src/components/core/kanban/kanban-fields/SolidComputedKanbanField.tsx +0 -23
- package/src/components/core/kanban/kanban-fields/SolidDateKanbanField.tsx +0 -14
- package/src/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.tsx +0 -13
- package/src/components/core/kanban/kanban-fields/SolidDecimalKanbanField.tsx +0 -9
- package/src/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.tsx +0 -12
- package/src/components/core/kanban/kanban-fields/SolidFloatKanbanField.tsx +0 -9
- package/src/components/core/kanban/kanban-fields/SolidIdKanbanField.tsx +0 -14
- package/src/components/core/kanban/kanban-fields/SolidIntKanbanField.tsx +0 -20
- package/src/components/core/kanban/kanban-fields/SolidLongTextKanbanField.tsx +0 -9
- package/src/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.tsx +0 -140
- package/src/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.tsx +0 -164
- package/src/components/core/kanban/kanban-fields/SolidRelationKanbanField.tsx +0 -13
- package/src/components/core/kanban/kanban-fields/SolidRichTextKanbanField.tsx +0 -9
- package/src/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.tsx +0 -14
- package/src/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.tsx +0 -14
- package/src/components/core/kanban/kanban-fields/SolidShortTextKanbanField.tsx +0 -121
- package/src/components/core/kanban/kanban-fields/SolidTimeKanbanField.tsx +0 -12
- package/src/components/core/kanban/kanban-fields/SolidUuidKanbanField.tsx +0 -13
- package/src/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.tsx +0 -16
- package/src/components/core/list/ListViewRowActionPopup.tsx +0 -40
- package/src/components/core/list/SolidColumnSelector/SolidListColumnSelector.module.css +0 -12
- package/src/components/core/list/SolidColumnSelector/SolidListColumnSelector.tsx +0 -233
- package/src/components/core/list/SolidEmptyListViewPlaceholder.tsx +0 -115
- package/src/components/core/list/SolidListView.tsx +0 -2009
- package/src/components/core/list/SolidListViewColumn.tsx +0 -165
- package/src/components/core/list/SolidListViewConfigure.tsx +0 -342
- package/src/components/core/list/SolidListViewHeaderButton.tsx +0 -32
- package/src/components/core/list/SolidListViewHeaderContextMenuButton.tsx +0 -32
- package/src/components/core/list/SolidListViewRowButtonContextMenu.tsx +0 -40
- package/src/components/core/list/SolidListViewShimmerLoading.tsx +0 -78
- package/src/components/core/list/SolidListViewWrapper.module.css +0 -49
- package/src/components/core/list/SolidListingHeader.tsx +0 -41
- package/src/components/core/list/SolidManyToOneFilterElement.tsx +0 -60
- package/src/components/core/list/SolidSelectionDynamicFilterElement.tsx +0 -50
- package/src/components/core/list/SolidSelectionStaticFilterElement.tsx +0 -32
- package/src/components/core/list/SolidTableRowCell.tsx +0 -35
- package/src/components/core/list/SolidVarInputsFilterElement.tsx +0 -184
- package/src/components/core/list/columns/SolidBigintColumn.tsx +0 -9
- package/src/components/core/list/columns/SolidBooleanColumn.tsx +0 -94
- package/src/components/core/list/columns/SolidComputedColumn.tsx +0 -27
- package/src/components/core/list/columns/SolidDateColumn.tsx +0 -90
- package/src/components/core/list/columns/SolidDatetimeColumn.tsx +0 -79
- package/src/components/core/list/columns/SolidDecimalColumn.tsx +0 -9
- package/src/components/core/list/columns/SolidExternalIdColumn.tsx +0 -80
- package/src/components/core/list/columns/SolidFloatColumn.tsx +0 -9
- package/src/components/core/list/columns/SolidIdColumn.tsx +0 -79
- package/src/components/core/list/columns/SolidIntColumn.tsx +0 -87
- package/src/components/core/list/columns/SolidLongTextColumn.tsx +0 -9
- package/src/components/core/list/columns/SolidMediaMultipleColumn.tsx +0 -301
- package/src/components/core/list/columns/SolidMediaSingleColumn.tsx +0 -170
- package/src/components/core/list/columns/SolidRelationColumn.tsx +0 -21
- package/src/components/core/list/columns/SolidRichTextColumn.tsx +0 -9
- package/src/components/core/list/columns/SolidSelectionDynamicColumn.tsx +0 -80
- package/src/components/core/list/columns/SolidSelectionStaticColumn.tsx +0 -81
- package/src/components/core/list/columns/SolidShortTextColumn.tsx +0 -160
- package/src/components/core/list/columns/SolidTimeColumn.tsx +0 -78
- package/src/components/core/list/columns/SolidUuidColumn.tsx +0 -79
- package/src/components/core/list/columns/relations/SolidRelationManyToManyColumn.tsx +0 -106
- package/src/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +0 -117
- package/src/components/core/list/columns/relations/SolidRelationOneToManyColumn.tsx +0 -110
- package/src/components/core/list/widgets/SolidManyToManyRelationAvatarListWidget.tsx +0 -30
- package/src/components/core/list/widgets/SolidManyToOneRelationAvatarListWidget.tsx +0 -30
- package/src/components/core/list/widgets/SolidShortTextAvatarWidget.tsx +0 -70
- package/src/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.tsx +0 -21
- package/src/components/core/locales/SolidChatterLocaleTabView.tsx +0 -91
- package/src/components/core/locales/SolidLocale.tsx +0 -127
- package/src/components/core/locales/solid-locale.css +0 -36
- package/src/components/core/model/CreateModel.tsx +0 -536
- package/src/components/core/model/FieldMetaData.tsx +0 -262
- package/src/components/core/model/FieldMetaDataForm.tsx +0 -3553
- package/src/components/core/model/FieldSelector.tsx +0 -62
- package/src/components/core/model/ModelListViewData.tsx +0 -384
- package/src/components/core/model/ModelMetaData.tsx +0 -949
- package/src/components/core/module/CreateModule.tsx +0 -613
- package/src/components/core/module/ModuleListViewData.tsx +0 -431
- package/src/components/core/solid-ai/SolidAiMainWrapper.tsx +0 -8
- package/src/components/core/solid-ai/SolidXAIIcon.tsx +0 -37
- package/src/components/core/users/CreateUser.tsx +0 -468
- package/src/components/core/users/CreateUserRole.tsx +0 -213
- package/src/components/core/users/UserListView.tsx +0 -376
- package/src/components/layout/AdminLayout.tsx +0 -55
- package/src/components/layout/AdminSidebar.tsx +0 -64
- package/src/components/layout/AppConfig.tsx +0 -104
- package/src/components/layout/AppSidebar.tsx +0 -216
- package/src/components/layout/ButtonLoader.tsx +0 -7
- package/src/components/layout/CustomPagination.tsx +0 -55
- package/src/components/layout/DashboardHeader.tsx +0 -89
- package/src/components/layout/FilterMenu.tsx +0 -122
- package/src/components/layout/Footer.tsx +0 -13
- package/src/components/layout/GlobalSearch.tsx +0 -36
- package/src/components/layout/Header.tsx +0 -8
- package/src/components/layout/Layout.tsx +0 -205
- package/src/components/layout/ListingHeader.tsx +0 -205
- package/src/components/layout/Loader.tsx +0 -16
- package/src/components/layout/UserSidebar.tsx +0 -52
- package/src/components/layout/context/layoutcontext.tsx +0 -52
- package/src/components/layout/navbar-one.tsx +0 -239
- package/src/components/layout/navbar-two-menu.tsx +0 -71
- package/src/components/layout/navbar-two.tsx +0 -37
- package/src/components/layout/user-profile-menu.tsx +0 -212
- package/src/components/layout/user-profile.tsx +0 -7
- package/src/components/modelsComponents/filterIcon.tsx +0 -9
- package/src/constants/error-messages.ts +0 -238
- package/src/declarations.d.ts +0 -22
- package/src/helpers/AppTitle.tsx +0 -12
- package/src/helpers/ToastContainer.tsx +0 -94
- package/src/helpers/autoCompleteVirtualScroll.ts +0 -41
- package/src/helpers/countries.tsx +0 -260
- package/src/helpers/downloadFileWithProgress.ts +0 -86
- package/src/helpers/downloadMediaFile.tsx +0 -22
- package/src/helpers/eventBus.ts +0 -40
- package/src/helpers/getAcceptedFileTypes.tsx +0 -22
- package/src/helpers/getRandomColors.tsx +0 -68
- package/src/helpers/helpers.ts +0 -61
- package/src/helpers/hydrateRelationRules.ts +0 -122
- package/src/helpers/logger.ts +0 -33
- package/src/helpers/permissions.ts +0 -7
- package/src/helpers/registry.ts +0 -337
- package/src/helpers/resendOtpHelper.tsx +0 -5
- package/src/helpers/revalidate.ts +0 -8
- package/src/helpers/rolesHelper.ts +0 -4
- package/src/helpers/routePaths.ts +0 -25
- package/src/helpers/showToast.ts +0 -13
- package/src/helpers/solidIcons.tsx +0 -1831
- package/src/helpers/updatePasswordField.ts +0 -42
- package/src/hooks/usePathname.ts +0 -6
- package/src/hooks/useRouter.ts +0 -35
- package/src/hooks/useSearchParams.ts +0 -10
- package/src/hooks/useSession.ts +0 -52
- package/src/http/solidHttp.ts +0 -63
- package/src/index.ts +0 -460
- package/src/layouts/AdminLayoutWrapper.tsx +0 -10
- package/src/layouts/AuthLayoutWrapper.tsx +0 -10
- package/src/redux/api/aiInteractionApi.ts +0 -59
- package/src/redux/api/authApi.ts +0 -131
- package/src/redux/api/dashboardApi.ts +0 -56
- package/src/redux/api/dashboardQuestionApi.ts +0 -17
- package/src/redux/api/exportTemplateApi.tsx +0 -59
- package/src/redux/api/fetchBaseQuery.tsx +0 -65
- package/src/redux/api/fieldApi.ts +0 -86
- package/src/redux/api/importTransactionApi.tsx +0 -69
- package/src/redux/api/mediaApi.ts +0 -55
- package/src/redux/api/mediaStorageProviderApi.ts +0 -55
- package/src/redux/api/modelApi.ts +0 -80
- package/src/redux/api/moduleApi.ts +0 -72
- package/src/redux/api/permissionApi.ts +0 -32
- package/src/redux/api/pincodeApi.tsx +0 -56
- package/src/redux/api/roleApi.ts +0 -58
- package/src/redux/api/solidActionApi.ts +0 -66
- package/src/redux/api/solidChatterMessageApi.ts +0 -25
- package/src/redux/api/solidEntityApi.tsx +0 -164
- package/src/redux/api/solidMenuApi.ts +0 -71
- package/src/redux/api/solidServiceApi.ts +0 -31
- package/src/redux/api/solidSettingsApi.tsx +0 -83
- package/src/redux/api/solidViewApi.ts +0 -73
- package/src/redux/api/stateApi.tsx +0 -56
- package/src/redux/api/testApi.ts +0 -21
- package/src/redux/api/userApi.ts +0 -135
- package/src/redux/features/authSlice.ts +0 -19
- package/src/redux/features/dataViewSlice.ts +0 -26
- package/src/redux/features/navbarSlice.ts +0 -21
- package/src/redux/features/popupSlice.ts +0 -37
- package/src/redux/features/themeSlice.ts +0 -17
- package/src/redux/features/userSlice.ts +0 -28
- package/src/redux/hooks/useSolidPopup.ts +0 -20
- package/src/redux/store/StoreProvider.tsx +0 -52
- package/src/redux/store/createSolidStore.ts +0 -55
- package/src/redux/store/defaultStoreConfig.ts +0 -62
- package/src/resources/fonts/SF-Pro-Display-Black.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Bold.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Heavy.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Light.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Medium.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Regular.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Semibold.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Thin.otf +0 -0
- package/src/resources/fonts/SF-Pro-Display-Ultralight.otf +0 -0
- package/src/resources/globals.css +0 -3597
- package/src/resources/images/AvatarDemo.png +0 -0
- package/src/resources/images/Background.svg +0 -3
- package/src/resources/images/Footerbg.png +0 -0
- package/src/resources/images/LoginBanner.png +0 -0
- package/src/resources/images/Navigation/Level.svg +0 -5
- package/src/resources/images/Navigation/Presure.svg +0 -7
- package/src/resources/images/Navigation/SolidSettinsIcon.svg +0 -1
- package/src/resources/images/Navigation/Temperature.svg +0 -13
- package/src/resources/images/Profile/Avatar.png +0 -0
- package/src/resources/images/SolidXLogo.svg +0 -21
- package/src/resources/images/activity.svg +0 -3
- package/src/resources/images/app-builder.png +0 -0
- package/src/resources/images/auth/solid-left-layout-bg.png +0 -0
- package/src/resources/images/auth/solid-login-light.png +0 -0
- package/src/resources/images/auth/solid-right-layout-bg.png +0 -0
- package/src/resources/images/clog-wheel.png +0 -0
- package/src/resources/images/dark-mode.png +0 -0
- package/src/resources/images/dashboard/Ellipse 1.svg +0 -10
- package/src/resources/images/dashboard/Rectangle 17.svg +0 -10
- package/src/resources/images/dashboard/Rectangle 25.svg +0 -11
- package/src/resources/images/dashboard/image 5.svg +0 -9
- package/src/resources/images/eye-icon.png +0 -0
- package/src/resources/images/fb.svg +0 -3
- package/src/resources/images/fileReader/image-jpg.png +0 -0
- package/src/resources/images/fileTypes/File.png +0 -0
- package/src/resources/images/fileTypes/Mp3.png +0 -0
- package/src/resources/images/fileTypes/Mp4.png +0 -0
- package/src/resources/images/filter-icon.png +0 -0
- package/src/resources/images/form/user.png +0 -0
- package/src/resources/images/iam.png +0 -0
- package/src/resources/images/icons/icon-activity.svg +0 -3
- package/src/resources/images/icons/icon-calender.svg +0 -3
- package/src/resources/images/icons/icon-graph.svg +0 -3
- package/src/resources/images/icons/icon-kanban.svg +0 -3
- package/src/resources/images/icons/icon-list.svg +0 -3
- package/src/resources/images/icons/icon-users.svg +0 -3
- package/src/resources/images/icons/jump-to-icon.png +0 -0
- package/src/resources/images/insta.svg +0 -3
- package/src/resources/images/layout/images/comfortable.png +0 -0
- package/src/resources/images/layout/images/compact.png +0 -0
- package/src/resources/images/layout/images/cozy.png +0 -0
- package/src/resources/images/layout/images/kanban.png +0 -0
- package/src/resources/images/li.svg +0 -3
- package/src/resources/images/loginhero.png +0 -0
- package/src/resources/images/logo.png +0 -0
- package/src/resources/images/mail-icon.png +0 -0
- package/src/resources/images/menu/app-builder.svg +0 -19
- package/src/resources/images/menu/iam.svg +0 -14
- package/src/resources/images/menu/logicloop-black.svg +0 -28
- package/src/resources/images/menu/logicloop-blue.svg +0 -32
- package/src/resources/images/menu/logicloop-white.svg +0 -32
- package/src/resources/images/menu/queues.svg +0 -14
- package/src/resources/images/menu/radix.svg +0 -9
- package/src/resources/images/menu/rl-lead-middleware.svg +0 -19
- package/src/resources/images/menu/solid-address-master.svg +0 -10
- package/src/resources/images/menu/srmd-tracker-black.svg +0 -16
- package/src/resources/images/menu/srmd-tracker-original.svg +0 -32
- package/src/resources/images/menu/srmd-tracker-white.svg +0 -17
- package/src/resources/images/menu/srmd-tracker.svg +0 -16
- package/src/resources/images/menu-icon.png +0 -0
- package/src/resources/images/menu-toggle.png +0 -0
- package/src/resources/images/password-icon.png +0 -0
- package/src/resources/images/profile.png +0 -0
- package/src/resources/images/radix-logo-white.png +0 -0
- package/src/resources/images/radix-logo.png +0 -0
- package/src/resources/images/search-icon.png +0 -0
- package/src/resources/images/signupBanner.png +0 -0
- package/src/resources/images/tw.svg +0 -3
- package/src/resources/images/user-icon.png +0 -0
- package/src/resources/solid-primereact.css +0 -2986
- package/src/resources/solid-responsive.css +0 -791
- package/src/resources/stylesheets/_config.scss +0 -54
- package/src/resources/stylesheets/_content.scss +0 -95
- package/src/resources/stylesheets/_footer.scss +0 -10
- package/src/resources/stylesheets/_main.scss +0 -49
- package/src/resources/stylesheets/_menu.scss +0 -183
- package/src/resources/stylesheets/_mixins.scss +0 -13
- package/src/resources/stylesheets/_responsive.scss +0 -101
- package/src/resources/stylesheets/_topbar.scss +0 -152
- package/src/resources/stylesheets/_typography.scss +0 -65
- package/src/resources/stylesheets/_utils.scss +0 -29
- package/src/resources/stylesheets/_variables.scss +0 -3
- package/src/resources/stylesheets/layout.scss +0 -11
- package/src/resources/themes/solid-dark-purple/theme.css +0 -6208
- package/src/resources/themes/solid-light-purple/solid-login-light.png +0 -0
- package/src/resources/themes/solid-light-purple/theme.css +0 -6263
- package/src/routes/AppEventListener.tsx +0 -28
- package/src/routes/guards/AuthGuard.tsx +0 -17
- package/src/routes/pages/ErrorPage.tsx +0 -6
- package/src/routes/pages/NotFoundPage.tsx +0 -5
- package/src/routes/pages/admin/AdminPage.tsx +0 -5
- package/src/routes/pages/admin/core/FormPage.tsx +0 -7
- package/src/routes/pages/admin/core/KanbanPage.tsx +0 -10
- package/src/routes/pages/admin/core/ListPage.tsx +0 -10
- package/src/routes/pages/admin/core/ModuleHomePage.tsx +0 -7
- package/src/routes/pages/admin/core/SettingsPage.tsx +0 -5
- package/src/routes/pages/auth/ConfirmForgotPasswordPage.tsx +0 -5
- package/src/routes/pages/auth/ForgotPasswordPage.tsx +0 -5
- package/src/routes/pages/auth/InitiateForgotPasswordPage.tsx +0 -5
- package/src/routes/pages/auth/InitiateForgotPasswordThankYouPage.tsx +0 -5
- package/src/routes/pages/auth/InitiateGoogleOauthPage.tsx +0 -5
- package/src/routes/pages/auth/InitiateLoginPage.tsx +0 -5
- package/src/routes/pages/auth/InitiateRegisterPage.tsx +0 -5
- package/src/routes/pages/auth/LoginPage.tsx +0 -10
- package/src/routes/pages/auth/RegisterPage.tsx +0 -5
- package/src/routes/pages/auth/ResetPasswordPage.tsx +0 -5
- package/src/routes/pages/auth/SsoPage.tsx +0 -79
- package/src/routes/solidRoutes.tsx +0 -89
- package/src/routes/types.ts +0 -34
- package/src/styles.ts +0 -4
- package/src/types/css-modules.d.ts +0 -4
- package/src/types/handlebars.d.ts +0 -4
- package/src/types/index.d.ts +0 -76
- package/src/types/layout.d.ts +0 -94
- package/src/types/next-auth.d.ts +0 -0
- package/src/types/next.d.ts +0 -46
- package/src/types/solid-core.d.ts +0 -319
|
@@ -1,563 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
import { useFormik } from "formik";
|
|
3
|
-
import './solid-export.css';
|
|
4
|
-
import { Button } from "primereact/button";
|
|
5
|
-
import { Toast } from "primereact/toast";
|
|
6
|
-
import React, { useEffect, useRef, useState } from "react";
|
|
7
|
-
import { createSolidEntityApi } from "../../redux/api/solidEntityApi";
|
|
8
|
-
import { Dropdown } from "primereact/dropdown";
|
|
9
|
-
import { Dialog } from "primereact/dialog";
|
|
10
|
-
import { InputText } from "primereact/inputtext";
|
|
11
|
-
import { useCreateExportTemplateMutation, useDeleteExportTemplateMutation, useGetExportTemplatesQuery } from "../../redux/api/exportTemplateApi";
|
|
12
|
-
import { downloadFileWithProgress } from '../../helpers/downloadFileWithProgress';
|
|
13
|
-
import { DownloadProgressToast } from "./DownloadProgressToast";
|
|
14
|
-
import { Checkbox } from "primereact/checkbox";
|
|
15
|
-
import { ERROR_MESSAGES } from "../../constants/error-messages";
|
|
16
|
-
interface FieldMetadata {
|
|
17
|
-
displayName: string;
|
|
18
|
-
type: string;
|
|
19
|
-
}
|
|
20
|
-
interface FilterColumns {
|
|
21
|
-
name: string;
|
|
22
|
-
key: string;
|
|
23
|
-
}
|
|
24
|
-
// Define the template option type
|
|
25
|
-
interface TemplateOption {
|
|
26
|
-
name: string;
|
|
27
|
-
code: string;
|
|
28
|
-
fields: string[];
|
|
29
|
-
templateFormat: string;
|
|
30
|
-
}
|
|
31
|
-
interface FormatOption {
|
|
32
|
-
name: string;
|
|
33
|
-
code: string;
|
|
34
|
-
icon?: JSX.Element;
|
|
35
|
-
}
|
|
36
|
-
interface Question {
|
|
37
|
-
key: string;
|
|
38
|
-
name: string;
|
|
39
|
-
}
|
|
40
|
-
export const SolidExport = ({ listViewMetaData, filters }: any) => {
|
|
41
|
-
const toast = useRef<Toast>(null);
|
|
42
|
-
const entityApi = createSolidEntityApi("userViewMetadata");
|
|
43
|
-
const { useUpsertSolidEntityMutation } = entityApi;
|
|
44
|
-
|
|
45
|
-
const [upsertUserView] = useUpsertSolidEntityMutation();
|
|
46
|
-
|
|
47
|
-
if (!listViewMetaData?.data) return null;
|
|
48
|
-
|
|
49
|
-
const solidView = listViewMetaData.data.solidView;
|
|
50
|
-
const solidFieldsMetadata = listViewMetaData.data.solidFieldsMetadata as Record<
|
|
51
|
-
string,
|
|
52
|
-
FieldMetadata
|
|
53
|
-
>;
|
|
54
|
-
if (!solidView || !solidFieldsMetadata) return null;
|
|
55
|
-
|
|
56
|
-
const checkedFieldNames = new Set(
|
|
57
|
-
solidView.layout.children.map((col: { attrs: { name: string } }) => col.attrs.name)
|
|
58
|
-
);
|
|
59
|
-
|
|
60
|
-
// const allColumns: FilterColumns[] = Object.entries(solidFieldsMetadata).map(
|
|
61
|
-
// ([key, field]) => ({
|
|
62
|
-
// name: field.displayName,
|
|
63
|
-
// key,
|
|
64
|
-
// })
|
|
65
|
-
// );
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
const excludedTypes = new Set(['mediaSingle', 'mediaMultiple']);
|
|
69
|
-
const allColumns: FilterColumns[] = Object.entries(solidFieldsMetadata)
|
|
70
|
-
.filter(([, field]) => !excludedTypes.has(field.type))
|
|
71
|
-
.map(([key, field]) => ({
|
|
72
|
-
name: field.displayName,
|
|
73
|
-
key,
|
|
74
|
-
}));
|
|
75
|
-
|
|
76
|
-
const [createExportTemplate] = useCreateExportTemplateMutation();
|
|
77
|
-
const [deleteExportTemplate] = useDeleteExportTemplateMutation();
|
|
78
|
-
const { data: templatesData } = useGetExportTemplatesQuery({});
|
|
79
|
-
const formik = useFormik({
|
|
80
|
-
initialValues: {
|
|
81
|
-
selectedColumns: allColumns.filter((col) => checkedFieldNames.has(col.key)),
|
|
82
|
-
},
|
|
83
|
-
onSubmit: (values) => {
|
|
84
|
-
// console.log("Selected columns:", values.selectedColumns);
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
|
|
88
|
-
const { selectedColumns } = formik.values;
|
|
89
|
-
|
|
90
|
-
const availableColumns = allColumns.filter(
|
|
91
|
-
(col) => !selectedColumns.some((selected) => selected.key === col.key)
|
|
92
|
-
);
|
|
93
|
-
const moveToSelected = (col: FilterColumns) => {
|
|
94
|
-
formik.setFieldValue("selectedColumns", [...selectedColumns, col]);
|
|
95
|
-
};
|
|
96
|
-
const moveToAvailable = (col: FilterColumns) => {
|
|
97
|
-
formik.setFieldValue("selectedColumns", selectedColumns.filter((c) => c.key !== col.key));
|
|
98
|
-
};
|
|
99
|
-
|
|
100
|
-
const [selectedTemplate, setSelectedTemplate] = useState<TemplateOption | null>(null);
|
|
101
|
-
const [selectedFormat, setSelectedFormat] = useState<FormatOption | null>({
|
|
102
|
-
name: "CSV",
|
|
103
|
-
code: "csv",
|
|
104
|
-
icon: (
|
|
105
|
-
<svg fill="#000000" width="16" height="16" viewBox="0 0 318.188 318.188" xmlns="http://www.w3.org/2000/svg"
|
|
106
|
-
xmlnsXlink="http://www.w3.org/1999/xlink">
|
|
107
|
-
<g>
|
|
108
|
-
<g>
|
|
109
|
-
<g>
|
|
110
|
-
<rect x="182.882" y="155.008" width="33.713" height="15" />
|
|
111
|
-
<rect x="101.592" y="132.689" width="33.713" height="15" />
|
|
112
|
-
<rect x="182.882" y="132.689" width="33.713" height="15" />
|
|
113
|
-
<rect x="182.882" y="88.053" width="33.713" height="15" />
|
|
114
|
-
<rect x="182.882" y="110.371" width="33.713" height="15" />
|
|
115
|
-
<rect x="101.592" y="155.008" width="33.713" height="15" />
|
|
116
|
-
<polygon points="112.09,123.663 112.09,123.662 118.286,113.621 124.548,123.662 134.588,123.662 123.647,107.909 133.82,91.54 123.911,91.54 118.33,101.472 112.53,91.54 102.906,91.54 112.925,107.228 102.269,123.663" />
|
|
117
|
-
<path d="M201.02,249.514c-0.339,1.27-0.73,3.015-1.174,5.236c-0.445,2.222-0.741,4.073-0.889,5.555 c-0.127-2.053-0.847-5.691-2.158-10.918l-6.316-23.519h-14.092l15.139,46.401h14.759l15.202-46.401h-14.027L201.02,249.514z" />
|
|
118
|
-
<rect x="142.457" y="110.371" width="33.713" height="15" />
|
|
119
|
-
<rect x="142.457" y="88.053" width="33.713" height="15" />
|
|
120
|
-
<path d="M283.149,52.723L232.624,2.197C231.218,0.79,229.311,0,227.321,0H40.342c-4.142,0-7.5,3.358-7.5,7.5v303.188 c0,4.142,3.358,7.5,7.5,7.5h237.504c4.142,0,7.5-3.358,7.5-7.5V58.025C285.346,56.036,284.556,54.129,283.149,52.723z M234.821,25.606l24.918,24.919h-24.918V25.606z M47.842,15h171.979v10.263H47.842V15z M47.842,303.188V40.263h171.979v17.763 c0,4.143,3.358,7.5,7.5,7.5h43.024v237.662H47.842z" />
|
|
121
|
-
<rect x="142.457" y="132.689" width="33.713" height="15" />
|
|
122
|
-
<path d="M122.372,235.484c1.969,0,3.809,0.275,5.523,0.826c1.713,0.55,3.428,1.227,5.141,2.031l3.841-9.871 c-4.57-2.18-9.362-3.27-14.378-3.27c-4.591,0-8.585,0.98-11.98,2.937c-3.396,1.957-5.999,4.755-7.808,8.395 c-1.81,3.64-2.714,7.86-2.714,12.663c0,7.682,1.867,13.553,5.602,17.615c3.734,4.063,9.104,6.094,16.107,6.094 c4.888,0,9.268-0.857,13.14-2.57v-10.602c-1.947,0.805-3.883,1.492-5.808,2.063c-1.926,0.571-3.915,0.857-5.967,0.857 c-6.793,0-10.188-4.464-10.188-13.393c0-4.295,0.836-7.665,2.507-10.109C117.062,236.707,119.39,235.484,122.372,235.484z" />
|
|
123
|
-
<path d="M163.57,244.594c-4.169-1.904-6.724-3.216-7.665-3.936c-0.942-0.719-1.412-1.533-1.412-2.443 c-0.002-0.847,0.368-1.556,1.11-2.127c0.74-0.571,1.925-0.857,3.555-0.857c3.152,0,6.897,0.995,11.234,2.984l3.841-9.681 c-4.994-2.222-9.892-3.333-14.694-3.333c-5.439,0-9.713,1.196-12.822,3.587c-3.111,2.392-4.666,5.724-4.666,9.997 c0,2.285,0.365,4.264,1.095,5.936s1.851,3.152,3.364,4.443s3.782,2.624,6.809,3.999c3.343,1.503,5.4,2.497,6.173,2.983 c0.771,0.486,1.333,0.968,1.682,1.444c0.35,0.476,0.524,1.031,0.524,1.666c0,1.016-0.435,1.847-1.302,2.491 c-0.868,0.647-2.233,0.969-4.095,0.969c-2.158,0-4.527-0.344-7.109-1.032c-2.581-0.687-5.067-1.645-7.458-2.872v11.172 c2.264,1.079,4.443,1.836,6.538,2.27c2.095,0.434,4.687,0.65,7.775,0.65c3.703,0,6.93-0.619,9.681-1.856 c2.75-1.238,4.856-2.973,6.315-5.205c1.461-2.232,2.191-4.787,2.191-7.665c0-3.131-0.777-5.729-2.333-7.792 C170.346,248.323,167.569,246.393,163.57,244.594z" />
|
|
124
|
-
<rect x="142.457" y="155.008" width="33.713" height="15" />
|
|
125
|
-
</g>
|
|
126
|
-
</g>
|
|
127
|
-
</g>
|
|
128
|
-
</svg>
|
|
129
|
-
),
|
|
130
|
-
});
|
|
131
|
-
const [templateOptions, setTemplateOptions] = useState<TemplateOption[]>([]);
|
|
132
|
-
//loading hardcode format
|
|
133
|
-
const [formatOptions, setFormatOptions] = useState<FormatOption[]>([
|
|
134
|
-
{
|
|
135
|
-
name: "CSV",
|
|
136
|
-
code: "csv",
|
|
137
|
-
icon: (
|
|
138
|
-
<svg fill="#000000" width="16" height="16" viewBox="0 0 318.188 318.188" xmlns="http://www.w3.org/2000/svg"
|
|
139
|
-
xmlnsXlink="http://www.w3.org/1999/xlink">
|
|
140
|
-
<g>
|
|
141
|
-
<g>
|
|
142
|
-
<g>
|
|
143
|
-
<rect x="182.882" y="155.008" width="33.713" height="15" />
|
|
144
|
-
<rect x="101.592" y="132.689" width="33.713" height="15" />
|
|
145
|
-
<rect x="182.882" y="132.689" width="33.713" height="15" />
|
|
146
|
-
<rect x="182.882" y="88.053" width="33.713" height="15" />
|
|
147
|
-
<rect x="182.882" y="110.371" width="33.713" height="15" />
|
|
148
|
-
<rect x="101.592" y="155.008" width="33.713" height="15" />
|
|
149
|
-
<polygon points="112.09,123.663 112.09,123.662 118.286,113.621 124.548,123.662 134.588,123.662 123.647,107.909 133.82,91.54 123.911,91.54 118.33,101.472 112.53,91.54 102.906,91.54 112.925,107.228 102.269,123.663" />
|
|
150
|
-
<path d="M201.02,249.514c-0.339,1.27-0.73,3.015-1.174,5.236c-0.445,2.222-0.741,4.073-0.889,5.555 c-0.127-2.053-0.847-5.691-2.158-10.918l-6.316-23.519h-14.092l15.139,46.401h14.759l15.202-46.401h-14.027L201.02,249.514z" />
|
|
151
|
-
<rect x="142.457" y="110.371" width="33.713" height="15" />
|
|
152
|
-
<rect x="142.457" y="88.053" width="33.713" height="15" />
|
|
153
|
-
<path d="M283.149,52.723L232.624,2.197C231.218,0.79,229.311,0,227.321,0H40.342c-4.142,0-7.5,3.358-7.5,7.5v303.188 c0,4.142,3.358,7.5,7.5,7.5h237.504c4.142,0,7.5-3.358,7.5-7.5V58.025C285.346,56.036,284.556,54.129,283.149,52.723z M234.821,25.606l24.918,24.919h-24.918V25.606z M47.842,15h171.979v10.263H47.842V15z M47.842,303.188V40.263h171.979v17.763 c0,4.143,3.358,7.5,7.5,7.5h43.024v237.662H47.842z" />
|
|
154
|
-
<rect x="142.457" y="132.689" width="33.713" height="15" />
|
|
155
|
-
<path d="M122.372,235.484c1.969,0,3.809,0.275,5.523,0.826c1.713,0.55,3.428,1.227,5.141,2.031l3.841-9.871 c-4.57-2.18-9.362-3.27-14.378-3.27c-4.591,0-8.585,0.98-11.98,2.937c-3.396,1.957-5.999,4.755-7.808,8.395 c-1.81,3.64-2.714,7.86-2.714,12.663c0,7.682,1.867,13.553,5.602,17.615c3.734,4.063,9.104,6.094,16.107,6.094 c4.888,0,9.268-0.857,13.14-2.57v-10.602c-1.947,0.805-3.883,1.492-5.808,2.063c-1.926,0.571-3.915,0.857-5.967,0.857 c-6.793,0-10.188-4.464-10.188-13.393c0-4.295,0.836-7.665,2.507-10.109C117.062,236.707,119.39,235.484,122.372,235.484z" />
|
|
156
|
-
<path d="M163.57,244.594c-4.169-1.904-6.724-3.216-7.665-3.936c-0.942-0.719-1.412-1.533-1.412-2.443 c-0.002-0.847,0.368-1.556,1.11-2.127c0.74-0.571,1.925-0.857,3.555-0.857c3.152,0,6.897,0.995,11.234,2.984l3.841-9.681 c-4.994-2.222-9.892-3.333-14.694-3.333c-5.439,0-9.713,1.196-12.822,3.587c-3.111,2.392-4.666,5.724-4.666,9.997 c0,2.285,0.365,4.264,1.095,5.936s1.851,3.152,3.364,4.443s3.782,2.624,6.809,3.999c3.343,1.503,5.4,2.497,6.173,2.983 c0.771,0.486,1.333,0.968,1.682,1.444c0.35,0.476,0.524,1.031,0.524,1.666c0,1.016-0.435,1.847-1.302,2.491 c-0.868,0.647-2.233,0.969-4.095,0.969c-2.158,0-4.527-0.344-7.109-1.032c-2.581-0.687-5.067-1.645-7.458-2.872v11.172 c2.264,1.079,4.443,1.836,6.538,2.27c2.095,0.434,4.687,0.65,7.775,0.65c3.703,0,6.93-0.619,9.681-1.856 c2.75-1.238,4.856-2.973,6.315-5.205c1.461-2.232,2.191-4.787,2.191-7.665c0-3.131-0.777-5.729-2.333-7.792 C170.346,248.323,167.569,246.393,163.57,244.594z" />
|
|
157
|
-
<rect x="142.457" y="155.008" width="33.713" height="15" />
|
|
158
|
-
</g>
|
|
159
|
-
</g>
|
|
160
|
-
</g>
|
|
161
|
-
</svg>
|
|
162
|
-
),
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
name: "Excel",
|
|
166
|
-
code: "excel",
|
|
167
|
-
icon: (
|
|
168
|
-
<svg version="1.1" id="Layer_1" x="0px" y="0px"
|
|
169
|
-
fill="#000000" viewBox="0 0 512 512" width="16" height="16">
|
|
170
|
-
<g>
|
|
171
|
-
<g>
|
|
172
|
-
<g>
|
|
173
|
-
<path d="M447.168,134.56c-0.535-1.288-1.318-2.459-2.304-3.445l-128-128c-2.003-1.988-4.709-3.107-7.531-3.115H74.667
|
|
174
|
-
C68.776,0,64,4.776,64,10.667v490.667C64,507.224,68.776,512,74.667,512h362.667c5.891,0,10.667-4.776,10.667-10.667V138.667
|
|
175
|
-
C447.997,137.256,447.714,135.86,447.168,134.56z M320,36.416L411.584,128H320V36.416z M426.667,490.667H85.333V21.333h213.333
|
|
176
|
-
v117.333c0,5.891,4.776,10.667,10.667,10.667h117.333V490.667z"/>
|
|
177
|
-
<path d="M128,181.333v256c0,5.891,4.776,10.667,10.667,10.667h234.667c5.891,0,10.667-4.776,10.667-10.667v-256
|
|
178
|
-
c0-5.891-4.776-10.667-10.667-10.667H138.667C132.776,170.667,128,175.442,128,181.333z M320,192h42.667v42.667H320V192z
|
|
179
|
-
M320,256h42.667v42.667H320V256z M320,320h42.667v42.667H320V320z M320,384h42.667v42.667H320V384z M213.333,192h85.333v42.667
|
|
180
|
-
h-85.333V192z M213.333,256h85.333v42.667h-85.333V256z M213.333,320h85.333v42.667h-85.333V320z M213.333,384h85.333v42.667
|
|
181
|
-
h-85.333V384z M149.333,192H192v42.667h-42.667V192z M149.333,256H192v42.667h-42.667V256z M149.333,320H192v42.667h-42.667V320z
|
|
182
|
-
M149.333,384H192v42.667h-42.667V384z"/>
|
|
183
|
-
</g>
|
|
184
|
-
</g>
|
|
185
|
-
</g>
|
|
186
|
-
</svg>
|
|
187
|
-
),
|
|
188
|
-
},
|
|
189
|
-
]);
|
|
190
|
-
|
|
191
|
-
const [isDialogVisible, setIsDialogVisible] = useState(false);
|
|
192
|
-
const [newTemplateName, setNewTemplateName] = useState("");
|
|
193
|
-
const steps = [
|
|
194
|
-
{ label: 'Export', value: 'export' },
|
|
195
|
-
{ label: 'Summary', value: 'summary' },
|
|
196
|
-
];
|
|
197
|
-
const [currentStepValue, setCurrentStepValue] = useState('export');
|
|
198
|
-
|
|
199
|
-
useEffect(() => {
|
|
200
|
-
if (templatesData?.records && templatesData.records.length > 0) {
|
|
201
|
-
const templates = templatesData.records.map((template: any) => ({
|
|
202
|
-
name: template.templateName,
|
|
203
|
-
code: template.id,
|
|
204
|
-
fields: template.fields,
|
|
205
|
-
templateFormat: template.templateFormat
|
|
206
|
-
}));
|
|
207
|
-
setTemplateOptions([...templates]);
|
|
208
|
-
}
|
|
209
|
-
}, [templatesData]);
|
|
210
|
-
|
|
211
|
-
const handleAddTemplate = async () => {
|
|
212
|
-
setIsDialogVisible(false);
|
|
213
|
-
const tname = newTemplateName.trim();
|
|
214
|
-
if ((selectedTemplate?.name || tname) && selectedFormat) {
|
|
215
|
-
setNewTemplateName("");
|
|
216
|
-
setIsDialogVisible(false);
|
|
217
|
-
let customSelectedFields = selectedColumns.map((col) => col.key);
|
|
218
|
-
const fieldsData = JSON.stringify(customSelectedFields)
|
|
219
|
-
const exportData = {
|
|
220
|
-
templateName: tname || selectedTemplate?.name || "",
|
|
221
|
-
templateFormat: selectedFormat?.code || "",
|
|
222
|
-
notifyOnEmail: true,
|
|
223
|
-
fields: fieldsData,
|
|
224
|
-
modelMetadataId: solidView?.model?.id,
|
|
225
|
-
};
|
|
226
|
-
|
|
227
|
-
try {
|
|
228
|
-
const response = await createExportTemplate(exportData).unwrap();
|
|
229
|
-
toast?.current?.show({
|
|
230
|
-
severity: "success",
|
|
231
|
-
summary: "Template Added",
|
|
232
|
-
detail: "Template Saved",
|
|
233
|
-
});
|
|
234
|
-
let newAddedTemplate: TemplateOption = {
|
|
235
|
-
name: selectedTemplate?.name || "",
|
|
236
|
-
code: response.data.id,
|
|
237
|
-
fields: customSelectedFields,
|
|
238
|
-
templateFormat: selectedFormat?.code || "",
|
|
239
|
-
};
|
|
240
|
-
setTemplateOptions((prev) => [...prev, newAddedTemplate]);
|
|
241
|
-
// ✅ Select the newly added template
|
|
242
|
-
setSelectedTemplate(newAddedTemplate);
|
|
243
|
-
// ✅ Re-assign the selected format from options list
|
|
244
|
-
setSelectedFormat(formatOptions.find((format) => format.code === selectedFormat?.code) || null);
|
|
245
|
-
} catch (err) {
|
|
246
|
-
console.error(ERROR_MESSAGES.TEMPLATE_FAILED, err);
|
|
247
|
-
}
|
|
248
|
-
} else {
|
|
249
|
-
toast?.current?.show({
|
|
250
|
-
severity: "error",
|
|
251
|
-
summary: ERROR_MESSAGES.TEMPLATE_FAILED,
|
|
252
|
-
detail: ERROR_MESSAGES.TEMPLATE_FAILED,
|
|
253
|
-
});
|
|
254
|
-
}
|
|
255
|
-
};
|
|
256
|
-
|
|
257
|
-
const panelFooterTemplate = () => (
|
|
258
|
-
<div className="p-1">
|
|
259
|
-
<Button
|
|
260
|
-
label="Add New Template"
|
|
261
|
-
icon="pi pi-plus"
|
|
262
|
-
className="p-button"
|
|
263
|
-
onClick={() => setIsDialogVisible(true)}
|
|
264
|
-
/>
|
|
265
|
-
</div>
|
|
266
|
-
);
|
|
267
|
-
|
|
268
|
-
const [progress, setProgress] = useState(0);
|
|
269
|
-
const [showProgress, setShowProgress] = useState(false);
|
|
270
|
-
const [message, setMessage] = useState("");
|
|
271
|
-
const [messageDescription, setMessageDescription] = useState("");
|
|
272
|
-
const [status, setStatus] = useState("In Progress");
|
|
273
|
-
const [checkApplyFilter, setCheckedApplyFilter] = useState(false);
|
|
274
|
-
const downloadHandlers = {
|
|
275
|
-
onProgress: (value: number) => {
|
|
276
|
-
setProgress(value);
|
|
277
|
-
},
|
|
278
|
-
onStatusChange: (statusType: "In Progress" | "success" | "error", msg: string, submsg: string) => {
|
|
279
|
-
setStatus(statusType);
|
|
280
|
-
setMessage(msg);
|
|
281
|
-
setMessageDescription(submsg);
|
|
282
|
-
setShowProgress(true);
|
|
283
|
-
},
|
|
284
|
-
};
|
|
285
|
-
const handleDownload = async () => {
|
|
286
|
-
const id = selectedTemplate?.code ? selectedTemplate?.code : null;
|
|
287
|
-
const tname = newTemplateName?.trim() || selectedTemplate?.name || null;
|
|
288
|
-
let customSelectedFields = selectedColumns.map((col) => col.key);
|
|
289
|
-
const fieldsData = JSON.stringify(customSelectedFields)
|
|
290
|
-
const exportData = {
|
|
291
|
-
id: id,
|
|
292
|
-
templateName: tname,
|
|
293
|
-
templateFormat: selectedFormat?.code || "",
|
|
294
|
-
notifyOnEmail: true,
|
|
295
|
-
fields: fieldsData,
|
|
296
|
-
modelMetadataId: solidView?.model?.id,
|
|
297
|
-
};
|
|
298
|
-
// setNewTemplateName("");
|
|
299
|
-
setIsDialogVisible(false);
|
|
300
|
-
try {
|
|
301
|
-
await downloadFileWithProgress(`/export-template/startExport/sync`, downloadHandlers, filters, checkApplyFilter, exportData);
|
|
302
|
-
} catch (err) {
|
|
303
|
-
console.error(ERROR_MESSAGES.DOWNLOAD_FAILED, err);
|
|
304
|
-
}
|
|
305
|
-
};
|
|
306
|
-
|
|
307
|
-
const handleTemplateChange = (e: any) => {
|
|
308
|
-
const selected = templateOptions.find((option) => option.code === e.value.code);
|
|
309
|
-
setSelectedTemplate(selected || null);
|
|
310
|
-
if (selected) {
|
|
311
|
-
let fields: string[] = [];
|
|
312
|
-
if (typeof selected.fields === "string") {
|
|
313
|
-
try {
|
|
314
|
-
fields = JSON.parse(selected.fields);
|
|
315
|
-
} catch (error) {
|
|
316
|
-
console.error(ERROR_MESSAGES.PARSED_FIELD, error);
|
|
317
|
-
}
|
|
318
|
-
} else if (Array.isArray(selected.fields)) {
|
|
319
|
-
fields = selected.fields;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
const selectedFields = fields.map((field) => ({
|
|
323
|
-
key: field,
|
|
324
|
-
name: solidFieldsMetadata[field]?.displayName || field,
|
|
325
|
-
}));
|
|
326
|
-
|
|
327
|
-
formik.setFieldValue("selectedColumns", selectedFields);
|
|
328
|
-
setSelectedTemplate(selected);
|
|
329
|
-
const format = formatOptions.find(f => f.code === selected.templateFormat);
|
|
330
|
-
setSelectedFormat(format || null);
|
|
331
|
-
} else {
|
|
332
|
-
setSelectedTemplate(null);
|
|
333
|
-
}
|
|
334
|
-
};
|
|
335
|
-
const renderSourceItem = (item: Question) => (
|
|
336
|
-
<div key={item.key} className="flex justify-content-start align-items-center border-top-1 w-full p-1 SolidCustomPicklistItemWrapper SolidCustomPicklistSourceItem">
|
|
337
|
-
<div className="flex items-center gap-2">
|
|
338
|
-
<svg onClick={() => moveToSelected(item)} width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
339
|
-
<g opacity="0.4">
|
|
340
|
-
<rect x="0.5" y="0.5" width="15" height="15" rx="3.5" fill="white" stroke="#D9D9D9" />
|
|
341
|
-
<path d="M7.42857 8.57143H4V7.42857H7.42857V4H8.57143V7.42857H12V8.57143H8.57143V12H7.42857V8.57143Z" fill="#4B4D52" />
|
|
342
|
-
</g>
|
|
343
|
-
</svg>
|
|
344
|
-
<label htmlFor={item.key} className="text-sm font-semibold ml-2">
|
|
345
|
-
{item.name}
|
|
346
|
-
</label>
|
|
347
|
-
</div>
|
|
348
|
-
</div>
|
|
349
|
-
);
|
|
350
|
-
|
|
351
|
-
const renderTargetItem = (item: Question) => (
|
|
352
|
-
<div key={item.key} className="flex justify-content-start align-items-center border-top-1 w-full p-1 pr-2 gap-2 SolidCustomPicklistItemWrapper">
|
|
353
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
354
|
-
<path d="M7.46672 11.7331C7.46672 12.0997 7.33616 12.4136 7.07505 12.6747C6.81394 12.9359 6.50005 13.0664 6.13338 13.0664C5.76672 13.0664 5.45283 12.9359 5.19172 12.6747C4.9306 12.4136 4.80005 12.0997 4.80005 11.7331C4.80005 11.3664 4.9306 11.0525 5.19172 10.7914C5.45283 10.5303 5.76672 10.3997 6.13338 10.3997C6.50005 10.3997 6.81394 10.5303 7.07505 10.7914C7.33616 11.0525 7.46672 11.3664 7.46672 11.7331ZM7.46672 7.73307C7.46672 8.09974 7.33616 8.41363 7.07505 8.67474C6.81394 8.93585 6.50005 9.06641 6.13338 9.06641C5.76672 9.06641 5.45283 8.93585 5.19172 8.67474C4.9306 8.41363 4.80005 8.09974 4.80005 7.73307C4.80005 7.36641 4.9306 7.05252 5.19172 6.79141C5.45283 6.5303 5.76672 6.39974 6.13338 6.39974C6.50005 6.39974 6.81394 6.5303 7.07505 6.79141C7.33616 7.05252 7.46672 7.36641 7.46672 7.73307ZM7.46672 3.73307C7.46672 4.09974 7.33616 4.41363 7.07505 4.67474C6.81394 4.93585 6.50005 5.06641 6.13338 5.06641C5.76672 5.06641 5.45283 4.93585 5.19172 4.67474C4.9306 4.41363 4.80005 4.09974 4.80005 3.73307C4.80005 3.36641 4.9306 3.05252 5.19172 2.79141C5.45283 2.5303 5.76672 2.39974 6.13338 2.39974C6.50005 2.39974 6.81394 2.5303 7.07505 2.79141C7.33616 3.05252 7.46672 3.36641 7.46672 3.73307Z" fill="black" fill-opacity="0.25" />
|
|
355
|
-
<path d="M11.7333 11.7331C11.7333 12.0997 11.6028 12.4136 11.3417 12.6747C11.0805 12.9359 10.7667 13.0664 10.4 13.0664C10.0333 13.0664 9.71943 12.9359 9.45832 12.6747C9.19721 12.4136 9.06665 12.0997 9.06665 11.7331C9.06665 11.3664 9.19721 11.0525 9.45832 10.7914C9.71943 10.5303 10.0333 10.3997 10.4 10.3997C10.7667 10.3997 11.0805 10.5303 11.3417 10.7914C11.6028 11.0525 11.7333 11.3664 11.7333 11.7331ZM11.7333 7.73307C11.7333 8.09974 11.6028 8.41363 11.3417 8.67474C11.0805 8.93585 10.7667 9.06641 10.4 9.06641C10.0333 9.06641 9.71943 8.93585 9.45832 8.67474C9.19721 8.41363 9.06665 8.09974 9.06665 7.73307C9.06665 7.36641 9.19721 7.05252 9.45832 6.79141C9.71943 6.5303 10.0333 6.39974 10.4 6.39974C10.7667 6.39974 11.0805 6.5303 11.3417 6.79141C11.6028 7.05252 11.7333 7.36641 11.7333 7.73307ZM11.7333 3.73307C11.7333 4.09974 11.6028 4.41363 11.3417 4.67474C11.0805 4.93585 10.7667 5.06641 10.4 5.06641C10.0333 5.06641 9.71943 4.93585 9.45832 4.67474C9.19721 4.41363 9.06665 4.09974 9.06665 3.73307C9.06665 3.36641 9.19721 3.05252 9.45832 2.79141C9.71943 2.5303 10.0333 2.39974 10.4 2.39974C10.7667 2.39974 11.0805 2.5303 11.3417 2.79141C11.6028 3.05252 11.7333 3.36641 11.7333 3.73307Z" fill="black" fill-opacity="0.25" />
|
|
356
|
-
</svg>
|
|
357
|
-
<span className="text-sm font-semibold flex-1 ">{item.name}</span>
|
|
358
|
-
<svg width="16" height="16" onClick={() => moveToAvailable(item)} cursor='pointer' viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
359
|
-
<rect width="16" height="16" rx="8" fill="#F0F0F0" />
|
|
360
|
-
<path d="M5.6 11L5 10.4L7.4 8L5 5.6L5.6 5L8 7.4L10.4 5L11 5.6L8.6 8L11 10.4L10.4 11L8 8.6L5.6 11Z" fill="#4B4D52" />
|
|
361
|
-
</svg>
|
|
362
|
-
</div>
|
|
363
|
-
);
|
|
364
|
-
const maxVisibleRows = Math.max(availableColumns.length, selectedColumns.length);
|
|
365
|
-
const renderEmptyRow = (index: number) => (
|
|
366
|
-
<div key={`empty-${index}`} className="SolidCustomPicklistItemWrapper" />
|
|
367
|
-
);
|
|
368
|
-
// Dialog footer (Save and Cancel buttons)
|
|
369
|
-
const dialogFooter = (
|
|
370
|
-
<div>
|
|
371
|
-
<Button
|
|
372
|
-
label="Save"
|
|
373
|
-
className="p-button rounded"
|
|
374
|
-
onClick={() => handleAddTemplate()}
|
|
375
|
-
disabled={!newTemplateName.trim()}
|
|
376
|
-
/>
|
|
377
|
-
<Button
|
|
378
|
-
label="Cancel"
|
|
379
|
-
className="ExportCancelButton"
|
|
380
|
-
onClick={() => {
|
|
381
|
-
setNewTemplateName("");
|
|
382
|
-
setIsDialogVisible(false);
|
|
383
|
-
}}
|
|
384
|
-
/>
|
|
385
|
-
</div>
|
|
386
|
-
);
|
|
387
|
-
const handleDeleteTemplate = async (id: string) => {
|
|
388
|
-
const response = await deleteExportTemplate(id).unwrap();
|
|
389
|
-
setTemplateOptions((prev) => prev.filter((template) => template.code !== id));
|
|
390
|
-
toast?.current?.show({
|
|
391
|
-
severity: "success",
|
|
392
|
-
summary: "Template Deleted",
|
|
393
|
-
detail: "Template Deleted",
|
|
394
|
-
});
|
|
395
|
-
};
|
|
396
|
-
const itemTemplate = (option: TemplateOption) => {
|
|
397
|
-
return (
|
|
398
|
-
<div className="flex align-items-center justify-content-between w-full py-1">
|
|
399
|
-
<span className="ExportDropdownText">{option.name}</span>
|
|
400
|
-
<svg width="16px" height="16px" viewBox="0 0 24 24" fill="none" style={{ right: 0 }} className="ExportDropdownIcon" onClick={(e) => {
|
|
401
|
-
e.stopPropagation(); // Prevent triggering selection
|
|
402
|
-
handleDeleteTemplate(option.code);
|
|
403
|
-
}}
|
|
404
|
-
xmlns="http://www.w3.org/2000/svg">
|
|
405
|
-
<path d="M7 4a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2h4a1 1 0 1 1 0 2h-1.069l-.867 12.142A2 2 0 0 1 17.069 22H6.93a2 2 0 0 1-1.995-1.858L4.07 8H3a1 1 0 0 1 0-2h4V4zm2 2h6V4H9v2zM6.074 8l.857 12H17.07l.857-12H6.074zM10 10a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0v-6a1 1 0 0 1 1-1zm4 0a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0v-6a1 1 0 0 1 1-1z"
|
|
406
|
-
fill="#ff3d32" /></svg>
|
|
407
|
-
</div>
|
|
408
|
-
);
|
|
409
|
-
};
|
|
410
|
-
|
|
411
|
-
return (
|
|
412
|
-
<>
|
|
413
|
-
<Toast ref={toast} />
|
|
414
|
-
{/*<div className="flex align-items-center justify-content-between m-0 p-0">
|
|
415
|
-
<SolidExportStepper
|
|
416
|
-
solidFormViewWorkflowData={steps}
|
|
417
|
-
activeValue={currentStepValue}
|
|
418
|
-
setActiveValue={setCurrentStepValue} />
|
|
419
|
-
</div> */}
|
|
420
|
-
<div className="p-0">
|
|
421
|
-
{currentStepValue === 'export' &&
|
|
422
|
-
<>
|
|
423
|
-
<div className="SolidExportControls mx-2 gap-2">
|
|
424
|
-
<div className="flex align-items-center">
|
|
425
|
-
<Checkbox inputId="applyFilters" onChange={e => setCheckedApplyFilter(!!e.checked)} checked={checkApplyFilter} />
|
|
426
|
-
<label htmlFor="applyFilters" className="ml-2"> Apply Filters</label>
|
|
427
|
-
</div>
|
|
428
|
-
<Dropdown
|
|
429
|
-
value={selectedFormat}
|
|
430
|
-
onChange={(e) => setSelectedFormat(e.value)}
|
|
431
|
-
options={formatOptions}
|
|
432
|
-
optionLabel="name"
|
|
433
|
-
placeholder="Format ."
|
|
434
|
-
className="p-dropdown p-outlined"
|
|
435
|
-
|
|
436
|
-
// 👇 Render icon + text for dropdown list options
|
|
437
|
-
itemTemplate={(option) => {
|
|
438
|
-
const isSelected = selectedFormat?.code === option.code;
|
|
439
|
-
const iconColor = isSelected ? "#722ED1" : "#000000"; // Blue for selected
|
|
440
|
-
return (
|
|
441
|
-
<div className="flex items-center gap-2 ">
|
|
442
|
-
{React.cloneElement(option.icon, { fill: iconColor })}
|
|
443
|
-
<span>{option.name}</span>
|
|
444
|
-
</div>
|
|
445
|
-
);
|
|
446
|
-
}}
|
|
447
|
-
|
|
448
|
-
// 👇 Render icon + text for selected value display
|
|
449
|
-
valueTemplate={(option) => {
|
|
450
|
-
if (!option) return "Format .";
|
|
451
|
-
return (
|
|
452
|
-
<div className="flex items-center gap-2 h-1rem">
|
|
453
|
-
{React.cloneElement(option.icon, { fill: "#722ED1" })}
|
|
454
|
-
<span>{option.name}</span>
|
|
455
|
-
</div>
|
|
456
|
-
);
|
|
457
|
-
}}
|
|
458
|
-
/>
|
|
459
|
-
<Dropdown
|
|
460
|
-
value={selectedTemplate}
|
|
461
|
-
onChange={(e) => handleTemplateChange(e)}
|
|
462
|
-
options={templateOptions}
|
|
463
|
-
optionLabel="name"
|
|
464
|
-
placeholder="Template "
|
|
465
|
-
className="p-dropdown hidden md:flex"
|
|
466
|
-
itemTemplate={itemTemplate}
|
|
467
|
-
panelFooterTemplate={panelFooterTemplate}
|
|
468
|
-
/>
|
|
469
|
-
|
|
470
|
-
<Button
|
|
471
|
-
className="p-button hidden md:flex"
|
|
472
|
-
label="Export"
|
|
473
|
-
disabled={!selectedFormat}
|
|
474
|
-
onClick={() => handleDownload()}
|
|
475
|
-
/>
|
|
476
|
-
<Button
|
|
477
|
-
className="p-button md:hidden"
|
|
478
|
-
label="Export"
|
|
479
|
-
disabled={!selectedFormat}
|
|
480
|
-
onClick={() => handleDownload()}
|
|
481
|
-
size="small"
|
|
482
|
-
/>
|
|
483
|
-
</div>
|
|
484
|
-
<div className="col-12 sm:col-6 p-0 ">
|
|
485
|
-
<Dropdown
|
|
486
|
-
value={selectedTemplate}
|
|
487
|
-
onChange={(e) => handleTemplateChange(e)}
|
|
488
|
-
options={templateOptions}
|
|
489
|
-
optionLabel="name"
|
|
490
|
-
placeholder="Template"
|
|
491
|
-
className="p-dropdown md:hidden w-full mt-2 p-inputtext-sm"
|
|
492
|
-
itemTemplate={itemTemplate}
|
|
493
|
-
panelFooterTemplate={panelFooterTemplate}
|
|
494
|
-
/>
|
|
495
|
-
</div>
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
<Dialog
|
|
499
|
-
header="Save Export Template"
|
|
500
|
-
className="solid-confirm-dialog"
|
|
501
|
-
visible={isDialogVisible}
|
|
502
|
-
style={{ width: "20rem", right: "0" }}
|
|
503
|
-
footer={dialogFooter}
|
|
504
|
-
onHide={() => {
|
|
505
|
-
setNewTemplateName("");
|
|
506
|
-
setIsDialogVisible(false);
|
|
507
|
-
}}
|
|
508
|
-
>
|
|
509
|
-
<label htmlFor="templateName" className="text-color-secondary">Title</label>
|
|
510
|
-
<InputText
|
|
511
|
-
id="templateName"
|
|
512
|
-
name="templateName"
|
|
513
|
-
value={newTemplateName}
|
|
514
|
-
onChange={(e) => setNewTemplateName(e.target.value)}
|
|
515
|
-
placeholder="Enter template name"
|
|
516
|
-
className="w-full"
|
|
517
|
-
autoFocus
|
|
518
|
-
/>
|
|
519
|
-
</Dialog>
|
|
520
|
-
<div className="SolidCustomPicklist mt-2">
|
|
521
|
-
<div className="flex">
|
|
522
|
-
{/* All Questions */}
|
|
523
|
-
<div className="w-6">
|
|
524
|
-
<div className="text-sm font-semibold SolidCustomPicklistSourceHeader" style={{ padding: '12px 16px', background: '#F3FAFF' }}>Available Fields</div>
|
|
525
|
-
<div>
|
|
526
|
-
{availableColumns.map(renderSourceItem)}
|
|
527
|
-
{Array.from({ length: maxVisibleRows - availableColumns.length }).map((_, i) =>
|
|
528
|
-
renderEmptyRow(i)
|
|
529
|
-
)}
|
|
530
|
-
</div>
|
|
531
|
-
</div>
|
|
532
|
-
|
|
533
|
-
{/* Selected Questions */}
|
|
534
|
-
<div className="w-6">
|
|
535
|
-
<div className="text-sm font-semibold" style={{ padding: '12px 16px', background: '#F3FAFF' }} >Selected Fields</div>
|
|
536
|
-
<div>
|
|
537
|
-
{selectedColumns.map(renderTargetItem)}
|
|
538
|
-
{Array.from({ length: maxVisibleRows - selectedColumns.length }).map((_, i) =>
|
|
539
|
-
renderEmptyRow(i)
|
|
540
|
-
)}
|
|
541
|
-
</div>
|
|
542
|
-
</div>
|
|
543
|
-
</div>
|
|
544
|
-
</div>
|
|
545
|
-
</>
|
|
546
|
-
}
|
|
547
|
-
{/* {currentStepValue === 'summary' && (
|
|
548
|
-
<p className="m-0">
|
|
549
|
-
Relations and Media Fields are not supported for Export.
|
|
550
|
-
</p>
|
|
551
|
-
)} */}
|
|
552
|
-
</div>
|
|
553
|
-
<DownloadProgressToast
|
|
554
|
-
visible={showProgress}
|
|
555
|
-
progress={progress}
|
|
556
|
-
message={message}
|
|
557
|
-
submessage={messageDescription}
|
|
558
|
-
status={status}
|
|
559
|
-
onClose={() => setShowProgress(false)}
|
|
560
|
-
/>
|
|
561
|
-
</>
|
|
562
|
-
);
|
|
563
|
-
};
|