@solidstarters/solid-core-ui 1.1.210 → 1.1.211
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Svg/DevDocs.d.ts.map +1 -1
- package/dist/components/Svg/DevDocs.js +1 -1
- package/dist/components/Svg/DevDocs.js.map +1 -1
- package/dist/components/Svg/DocsSvg.d.ts.map +1 -1
- package/dist/components/Svg/DocsSvg.js +1 -1
- package/dist/components/Svg/DocsSvg.js.map +1 -1
- package/dist/components/Svg/ExcelSvg.d.ts.map +1 -1
- package/dist/components/Svg/ExcelSvg.js +3 -3
- package/dist/components/Svg/ExcelSvg.js.map +1 -1
- package/dist/components/Svg/FieldSvg.d.ts.map +1 -1
- package/dist/components/Svg/FieldSvg.js +1 -1
- package/dist/components/Svg/FieldSvg.js.map +1 -1
- package/dist/components/Svg/FileSvg.d.ts +2 -2
- package/dist/components/Svg/FileSvg.d.ts.map +1 -1
- package/dist/components/Svg/FileSvg.js +1 -12
- package/dist/components/Svg/FileSvg.js.map +1 -1
- package/dist/components/Svg/HomePageModuleSvg.d.ts.map +1 -1
- package/dist/components/Svg/HomePageModuleSvg.js +2 -2
- package/dist/components/Svg/HomePageModuleSvg.js.map +1 -1
- package/dist/components/Svg/ModelSvg.d.ts.map +1 -1
- package/dist/components/Svg/ModelSvg.js +1 -1
- package/dist/components/Svg/ModelSvg.js.map +1 -1
- package/dist/components/Svg/ModuleSvg.d.ts.map +1 -1
- package/dist/components/Svg/ModuleSvg.js +1 -1
- package/dist/components/Svg/ModuleSvg.js.map +1 -1
- package/dist/components/Svg/PDFSvg.d.ts.map +1 -1
- package/dist/components/Svg/PDFSvg.js +3 -3
- package/dist/components/Svg/PDFSvg.js.map +1 -1
- package/dist/components/Svg/RightArrowSvg.d.ts.map +1 -1
- package/dist/components/Svg/RightArrowSvg.js +1 -1
- package/dist/components/Svg/RightArrowSvg.js.map +1 -1
- package/dist/components/Svg/SettingsSvg.d.ts.map +1 -1
- package/dist/components/Svg/SettingsSvg.js +1 -1
- package/dist/components/Svg/SettingsSvg.js.map +1 -1
- package/dist/components/auth/AuthLayout.d.ts.map +1 -1
- package/dist/components/auth/AuthLayout.js +67 -74
- package/dist/components/auth/AuthLayout.js.map +1 -1
- package/dist/components/auth/ForgotPasswordThankYou.d.ts.map +1 -1
- package/dist/components/auth/ForgotPasswordThankYou.js +11 -12
- package/dist/components/auth/ForgotPasswordThankYou.js.map +1 -1
- package/dist/components/auth/GoogleAuthChecking.d.ts.map +1 -1
- package/dist/components/auth/GoogleAuthChecking.js +36 -90
- package/dist/components/auth/GoogleAuthChecking.js.map +1 -1
- package/dist/components/auth/SolidChangeForcePassword.d.ts.map +1 -1
- package/dist/components/auth/SolidChangeForcePassword.js +56 -112
- package/dist/components/auth/SolidChangeForcePassword.js.map +1 -1
- package/dist/components/auth/SolidForgotPassword.d.ts.map +1 -1
- package/dist/components/auth/SolidForgotPassword.js +47 -104
- package/dist/components/auth/SolidForgotPassword.js.map +1 -1
- package/dist/components/auth/SolidInitialLoginOtp.d.ts.map +1 -1
- package/dist/components/auth/SolidInitialLoginOtp.js +121 -194
- package/dist/components/auth/SolidInitialLoginOtp.js.map +1 -1
- package/dist/components/auth/SolidInitiateRegisterOtp.d.ts.map +1 -1
- package/dist/components/auth/SolidInitiateRegisterOtp.js +95 -166
- package/dist/components/auth/SolidInitiateRegisterOtp.js.map +1 -1
- package/dist/components/auth/SolidLogin.d.ts.map +1 -1
- package/dist/components/auth/SolidLogin.js +114 -187
- package/dist/components/auth/SolidLogin.js.map +1 -1
- package/dist/components/auth/SolidOTPVerify.d.ts.map +1 -1
- package/dist/components/auth/SolidOTPVerify.js +42 -98
- package/dist/components/auth/SolidOTPVerify.js.map +1 -1
- package/dist/components/auth/SolidRegister.d.ts.map +1 -1
- package/dist/components/auth/SolidRegister.js +123 -198
- package/dist/components/auth/SolidRegister.js.map +1 -1
- package/dist/components/auth/SolidResetPassword.d.ts.map +1 -1
- package/dist/components/auth/SolidResetPassword.js +54 -110
- package/dist/components/auth/SolidResetPassword.js.map +1 -1
- package/dist/components/common/AuthBanner.d.ts.map +1 -1
- package/dist/components/common/AuthBanner.js +1 -1
- package/dist/components/common/AuthBanner.js.map +1 -1
- package/dist/components/common/AutoCompleteField.d.ts.map +1 -1
- package/dist/components/common/AutoCompleteField.js +16 -63
- package/dist/components/common/AutoCompleteField.js.map +1 -1
- package/dist/components/common/BackButton.d.ts.map +1 -1
- package/dist/components/common/BackButton.js +20 -13
- package/dist/components/common/BackButton.js.map +1 -1
- package/dist/components/common/CancelButton.d.ts.map +1 -1
- package/dist/components/common/CancelButton.js +12 -12
- package/dist/components/common/CancelButton.js.map +1 -1
- package/dist/components/common/CodeEditor.d.ts.map +1 -1
- package/dist/components/common/CodeEditor.js +4 -5
- package/dist/components/common/CodeEditor.js.map +1 -1
- package/dist/components/common/CreateButton.d.ts.map +1 -1
- package/dist/components/common/CreateButton.js +5 -5
- package/dist/components/common/CreateButton.js.map +1 -1
- package/dist/components/common/DownloadProgressToast.d.ts.map +1 -1
- package/dist/components/common/DownloadProgressToast.js +3 -4
- package/dist/components/common/DownloadProgressToast.js.map +1 -1
- package/dist/components/common/DropzonePlaceholder.d.ts.map +1 -1
- package/dist/components/common/DropzonePlaceholder.js +4 -5
- package/dist/components/common/DropzonePlaceholder.js.map +1 -1
- package/dist/components/common/DropzoneUpload.d.ts.map +1 -1
- package/dist/components/common/DropzoneUpload.js +1 -1
- package/dist/components/common/DropzoneUpload.js.map +1 -1
- package/dist/components/common/FileReaderExt.d.ts.map +1 -1
- package/dist/components/common/FileReaderExt.js +3 -4
- package/dist/components/common/FileReaderExt.js.map +1 -1
- package/dist/components/common/GeneralSettings.d.ts.map +1 -1
- package/dist/components/common/GeneralSettings.js +216 -286
- package/dist/components/common/GeneralSettings.js.map +1 -1
- package/dist/components/common/HeaderDynamicTitles.d.ts.map +1 -1
- package/dist/components/common/HeaderDynamicTitles.js +3 -3
- package/dist/components/common/HeaderDynamicTitles.js.map +1 -1
- package/dist/components/common/MarkdownViewer.d.ts.map +1 -1
- package/dist/components/common/MarkdownViewer.js +13 -40
- package/dist/components/common/MarkdownViewer.js.map +1 -1
- package/dist/components/common/MultipleSelectAutoCompleteField.d.ts.map +1 -1
- package/dist/components/common/MultipleSelectAutoCompleteField.js +11 -56
- package/dist/components/common/MultipleSelectAutoCompleteField.js.map +1 -1
- package/dist/components/common/NotFound.d.ts.map +1 -1
- package/dist/components/common/NotFound.js +1 -1
- package/dist/components/common/NotFound.js.map +1 -1
- package/dist/components/common/SingleSelectAutoCompleteField.d.ts.map +1 -1
- package/dist/components/common/SingleSelectAutoCompleteField.js +9 -54
- package/dist/components/common/SingleSelectAutoCompleteField.js.map +1 -1
- package/dist/components/common/SocialMediaLogin.d.ts.map +1 -1
- package/dist/components/common/SocialMediaLogin.js +4 -4
- 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 +1 -1
- package/dist/components/common/SolidAdmin.js.map +1 -1
- package/dist/components/common/SolidBreadcrumb.d.ts.map +1 -1
- package/dist/components/common/SolidBreadcrumb.js +54 -53
- package/dist/components/common/SolidBreadcrumb.js.map +1 -1
- package/dist/components/common/SolidExport.d.ts.map +1 -1
- package/dist/components/common/SolidExport.js +151 -245
- package/dist/components/common/SolidExport.js.map +1 -1
- package/dist/components/common/SolidExportStepper.d.ts.map +1 -1
- package/dist/components/common/SolidExportStepper.js +17 -19
- package/dist/components/common/SolidExportStepper.js.map +1 -1
- package/dist/components/common/SolidFieldTooltip.d.ts.map +1 -1
- package/dist/components/common/SolidFieldTooltip.js +7 -9
- package/dist/components/common/SolidFieldTooltip.js.map +1 -1
- package/dist/components/common/SolidFormHeader.d.ts.map +1 -1
- package/dist/components/common/SolidFormHeader.js +4 -16
- package/dist/components/common/SolidFormHeader.js.map +1 -1
- package/dist/components/common/SolidFormStepper.d.ts.map +1 -1
- package/dist/components/common/SolidFormStepper.js +110 -177
- package/dist/components/common/SolidFormStepper.js.map +1 -1
- package/dist/components/common/SolidModuleHome.d.ts.map +1 -1
- package/dist/components/common/SolidModuleHome.js +9 -11
- package/dist/components/common/SolidModuleHome.js.map +1 -1
- package/dist/components/common/SolidPopupContainer.d.ts.map +1 -1
- package/dist/components/common/SolidPopupContainer.js +5 -16
- package/dist/components/common/SolidPopupContainer.js.map +1 -1
- package/dist/components/common/SolidSettings/LlmSettings/AnthropicProviderComponent.d.ts.map +1 -1
- package/dist/components/common/SolidSettings/LlmSettings/AnthropicProviderComponent.js +2 -3
- package/dist/components/common/SolidSettings/LlmSettings/AnthropicProviderComponent.js.map +1 -1
- package/dist/components/common/SolidSettings/LlmSettings/OpenAiProviderComponent.d.ts.map +1 -1
- package/dist/components/common/SolidSettings/LlmSettings/OpenAiProviderComponent.js +2 -3
- package/dist/components/common/SolidSettings/LlmSettings/OpenAiProviderComponent.js.map +1 -1
- package/dist/components/common/SolidSettings/SettingDropzoneActivePlaceholder.d.ts.map +1 -1
- package/dist/components/common/SolidSettings/SettingDropzoneActivePlaceholder.js +1 -2
- package/dist/components/common/SolidSettings/SettingDropzoneActivePlaceholder.js.map +1 -1
- package/dist/components/common/SolidSettings/SettingsImageRemoveButton.d.ts.map +1 -1
- package/dist/components/common/SolidSettings/SettingsImageRemoveButton.js +1 -2
- package/dist/components/common/SolidSettings/SettingsImageRemoveButton.js.map +1 -1
- package/dist/components/common/SolidSettings/SolidUploadedImage.d.ts.map +1 -1
- package/dist/components/common/SolidSettings/SolidUploadedImage.js +1 -2
- package/dist/components/common/SolidSettings/SolidUploadedImage.js.map +1 -1
- package/dist/components/common/SolidThemeLink.d.ts.map +1 -1
- package/dist/components/common/SolidThemeLink.js +2 -2
- package/dist/components/common/SolidThemeLink.js.map +1 -1
- package/dist/components/common/SolidThemeProvider.d.ts.map +1 -1
- package/dist/components/common/SolidThemeProvider.js +17 -17
- package/dist/components/common/SolidThemeProvider.js.map +1 -1
- package/dist/components/common/StepperArrows/ActiveArrowStep.d.ts.map +1 -1
- package/dist/components/common/StepperArrows/ActiveArrowStep.js +2 -2
- package/dist/components/common/StepperArrows/ActiveArrowStep.js.map +1 -1
- package/dist/components/common/StepperArrows/ActiveBeforeStepArrow.d.ts.map +1 -1
- package/dist/components/common/StepperArrows/ActiveBeforeStepArrow.js +2 -2
- package/dist/components/common/StepperArrows/ActiveBeforeStepArrow.js.map +1 -1
- package/dist/components/common/StepperArrows/InactiveStepArrow.d.ts.map +1 -1
- package/dist/components/common/StepperArrows/InactiveStepArrow.js +2 -2
- package/dist/components/common/StepperArrows/InactiveStepArrow.js.map +1 -1
- package/dist/components/common/error.d.ts.map +1 -1
- package/dist/components/common/error.js +2 -3
- package/dist/components/common/error.js.map +1 -1
- package/dist/components/common/useHandleFormCustomButtonClick.d.ts.map +1 -1
- package/dist/components/common/useHandleFormCustomButtonClick.js +7 -18
- package/dist/components/common/useHandleFormCustomButtonClick.js.map +1 -1
- package/dist/components/common/useHandleListCustomButtonClick.d.ts.map +1 -1
- package/dist/components/common/useHandleListCustomButtonClick.js +7 -18
- package/dist/components/common/useHandleListCustomButtonClick.js.map +1 -1
- package/dist/components/core/chatter/SolidChatter.d.ts.map +1 -1
- package/dist/components/core/chatter/SolidChatter.js +99 -148
- package/dist/components/core/chatter/SolidChatter.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterAuditMessage.d.ts.map +1 -1
- package/dist/components/core/chatter/SolidChatterAuditMessage.js +2 -3
- package/dist/components/core/chatter/SolidChatterAuditMessage.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterCustomMessage.d.ts.map +1 -1
- package/dist/components/core/chatter/SolidChatterCustomMessage.js +6 -7
- package/dist/components/core/chatter/SolidChatterCustomMessage.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterDateDivider.d.ts.map +1 -1
- package/dist/components/core/chatter/SolidChatterDateDivider.js +2 -3
- package/dist/components/core/chatter/SolidChatterDateDivider.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterHeader.d.ts.map +1 -1
- package/dist/components/core/chatter/SolidChatterHeader.js +33 -88
- package/dist/components/core/chatter/SolidChatterHeader.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterMessageBox.d.ts.map +1 -1
- package/dist/components/core/chatter/SolidChatterMessageBox.js +15 -15
- package/dist/components/core/chatter/SolidChatterMessageBox.js.map +1 -1
- package/dist/components/core/chatter/SolidMessageComposer.d.ts.map +1 -1
- package/dist/components/core/chatter/SolidMessageComposer.js +35 -94
- package/dist/components/core/chatter/SolidMessageComposer.js.map +1 -1
- package/dist/components/core/common/AvatarWidget.d.ts.map +1 -1
- package/dist/components/core/common/AvatarWidget.js +12 -13
- package/dist/components/core/common/AvatarWidget.js.map +1 -1
- package/dist/components/core/common/DateFieldViewComponent.d.ts.map +1 -1
- package/dist/components/core/common/DateFieldViewComponent.js +2 -3
- package/dist/components/core/common/DateFieldViewComponent.js.map +1 -1
- package/dist/components/core/common/FilterComponent.d.ts.map +1 -1
- package/dist/components/core/common/FilterComponent.js +63 -82
- package/dist/components/core/common/FilterComponent.js.map +1 -1
- package/dist/components/core/common/LoadDynamicJsxComponent.d.ts.map +1 -1
- package/dist/components/core/common/LoadDynamicJsxComponent.js +14 -19
- package/dist/components/core/common/LoadDynamicJsxComponent.js.map +1 -1
- package/dist/components/core/common/PDFViewer.d.ts.map +1 -1
- package/dist/components/core/common/PDFViewer.js +20 -68
- package/dist/components/core/common/PDFViewer.js.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.d.ts.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.js +13 -13
- package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.js.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidChangePassword.d.ts.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidChangePassword.js +52 -115
- package/dist/components/core/common/SolidAccountSettings/SolidChangePassword.js.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidNotifications.d.ts.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidNotifications.js +70 -118
- package/dist/components/core/common/SolidAccountSettings/SolidNotifications.js.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidPersonalInfo.d.ts.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidPersonalInfo.js +104 -190
- package/dist/components/core/common/SolidAccountSettings/SolidPersonalInfo.js.map +1 -1
- package/dist/components/core/common/SolidCreateButton.d.ts.map +1 -1
- package/dist/components/core/common/SolidCreateButton.js +7 -9
- package/dist/components/core/common/SolidCreateButton.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/DocumentSvg.d.ts.map +1 -1
- package/dist/components/core/common/SolidGenericImport/DocumentSvg.js +2 -2
- package/dist/components/core/common/SolidGenericImport/DocumentSvg.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidGenericImport.d.ts.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidGenericImport.js +6 -8
- package/dist/components/core/common/SolidGenericImport/SolidGenericImport.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportDropzone.d.ts.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportDropzone.js +45 -102
- package/dist/components/core/common/SolidGenericImport/SolidImportDropzone.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportInstructions.d.ts.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportInstructions.js +50 -108
- package/dist/components/core/common/SolidGenericImport/SolidImportInstructions.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportStepper.d.ts.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportStepper.js +46 -58
- package/dist/components/core/common/SolidGenericImport/SolidImportStepper.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportTransaction.d.ts.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportTransaction.js +72 -132
- package/dist/components/core/common/SolidGenericImport/SolidImportTransaction.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportTransactionStatus.d.ts.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportTransactionStatus.js +49 -107
- package/dist/components/core/common/SolidGenericImport/SolidImportTransactionStatus.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportWrapper.d.ts.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportWrapper.js +4 -6
- 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 +465 -609
- package/dist/components/core/common/SolidGlobalSearchElement.js.map +1 -1
- package/dist/components/core/common/SolidLayoutViews.d.ts.map +1 -1
- package/dist/components/core/common/SolidLayoutViews.js +3 -4
- package/dist/components/core/common/SolidLayoutViews.js.map +1 -1
- package/dist/components/core/common/SolidListViewOptions.d.ts.map +1 -1
- package/dist/components/core/common/SolidListViewOptions.js +4 -4
- package/dist/components/core/common/SolidListViewOptions.js.map +1 -1
- package/dist/components/core/common/SolidLoaders/SolidCircularLoader.d.ts.map +1 -1
- package/dist/components/core/common/SolidLoaders/SolidCircularLoader.js +1 -1
- package/dist/components/core/common/SolidLoaders/SolidCircularLoader.js.map +1 -1
- package/dist/components/core/common/SolidPasswordHelperText.d.ts.map +1 -1
- package/dist/components/core/common/SolidPasswordHelperText.js +3 -5
- package/dist/components/core/common/SolidPasswordHelperText.js.map +1 -1
- package/dist/components/core/common/SolidSaveCustomFilterForm.d.ts.map +1 -1
- package/dist/components/core/common/SolidSaveCustomFilterForm.js +11 -23
- package/dist/components/core/common/SolidSaveCustomFilterForm.js.map +1 -1
- package/dist/components/core/common/SolidSearchBox.d.ts.map +1 -1
- package/dist/components/core/common/SolidSearchBox.js +5 -6
- package/dist/components/core/common/SolidSearchBox.js.map +1 -1
- package/dist/components/core/common/SolidViewLayoutManager.d.ts +3 -1
- package/dist/components/core/common/SolidViewLayoutManager.d.ts.map +1 -1
- package/dist/components/core/common/SolidViewLayoutManager.js +116 -111
- package/dist/components/core/common/SolidViewLayoutManager.js.map +1 -1
- package/dist/components/core/common/SolidXAiIframe.d.ts.map +1 -1
- package/dist/components/core/common/SolidXAiIframe.js +21 -68
- package/dist/components/core/common/SolidXAiIframe.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboard.d.ts.map +1 -1
- package/dist/components/core/dashboard/SolidDashboard.js +61 -145
- package/dist/components/core/dashboard/SolidDashboard.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardBody.d.ts.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardBody.js +18 -38
- package/dist/components/core/dashboard/SolidDashboardBody.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardFilterRequired.d.ts.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardFilterRequired.js +1 -1
- package/dist/components/core/dashboard/SolidDashboardFilterRequired.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardHeader.d.ts.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardHeader.js +1 -1
- package/dist/components/core/dashboard/SolidDashboardHeader.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardLoading.d.ts.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardLoading.js +1 -1
- package/dist/components/core/dashboard/SolidDashboardLoading.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardNotAvailable.d.ts.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardNotAvailable.js +1 -1
- package/dist/components/core/dashboard/SolidDashboardNotAvailable.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardRenderError.d.ts.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardRenderError.js +1 -1
- package/dist/components/core/dashboard/SolidDashboardRenderError.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardVariable.d.ts.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardVariable.js +54 -71
- package/dist/components/core/dashboard/SolidDashboardVariable.js.map +1 -1
- package/dist/components/core/dashboard/SolidQuestionRenderer.d.ts.map +1 -1
- package/dist/components/core/dashboard/SolidQuestionRenderer.js +9 -11
- package/dist/components/core/dashboard/SolidQuestionRenderer.js.map +1 -1
- package/dist/components/core/dashboard/chart-renderers/ChartJsRenderer.d.ts.map +1 -1
- package/dist/components/core/dashboard/chart-renderers/ChartJsRenderer.js +1 -2
- package/dist/components/core/dashboard/chart-renderers/ChartJsRenderer.js.map +1 -1
- package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.d.ts.map +1 -1
- package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.js +10 -12
- package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.js.map +1 -1
- package/dist/components/core/dashboard/chart-renderers/init-chartjs.d.ts.map +1 -1
- package/dist/components/core/dashboard/chart-renderers/init-chartjs.js.map +1 -1
- package/dist/components/core/dashboard/dashboard-utils.d.ts.map +1 -1
- package/dist/components/core/dashboard/dashboard-utils.js +1 -1
- package/dist/components/core/dashboard/dashboard-utils.js.map +1 -1
- package/dist/components/core/extension/solid-core/CustomIcon/StatusIcon.d.ts.map +1 -1
- package/dist/components/core/extension/solid-core/CustomIcon/StatusIcon.js +2 -3
- package/dist/components/core/extension/solid-core/CustomIcon/StatusIcon.js.map +1 -1
- package/dist/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.d.ts.map +1 -1
- package/dist/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.js +8 -9
- package/dist/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.js.map +1 -1
- package/dist/components/core/extension/solid-core/emailTemplate/emailFormTypeChangeHandler.d.ts.map +1 -1
- package/dist/components/core/extension/solid-core/emailTemplate/emailFormTypeChangeHandler.js +5 -5
- package/dist/components/core/extension/solid-core/emailTemplate/emailFormTypeChangeHandler.js.map +1 -1
- package/dist/components/core/extension/solid-core/emailTemplate/emailFormTypeLoad.d.ts.map +1 -1
- package/dist/components/core/extension/solid-core/emailTemplate/emailFormTypeLoad.js +6 -6
- package/dist/components/core/extension/solid-core/emailTemplate/emailFormTypeLoad.js.map +1 -1
- package/dist/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.d.ts.map +1 -1
- package/dist/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.js +46 -99
- package/dist/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.js.map +1 -1
- package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.d.ts.map +1 -1
- package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.js +60 -139
- package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.js.map +1 -1
- package/dist/components/core/extension/solid-core/moduleMetadata/list/DeleteModuleRowAction.d.ts.map +1 -1
- package/dist/components/core/extension/solid-core/moduleMetadata/list/DeleteModuleRowAction.js +50 -102
- package/dist/components/core/extension/solid-core/moduleMetadata/list/DeleteModuleRowAction.js.map +1 -1
- package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.d.ts.map +1 -1
- package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.js +66 -151
- package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.js.map +1 -1
- package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.d.ts.map +1 -1
- package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.js +32 -57
- package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.js.map +1 -1
- package/dist/components/core/field/FieldListViewData.d.ts.map +1 -1
- package/dist/components/core/field/FieldListViewData.js +93 -130
- package/dist/components/core/field/FieldListViewData.js.map +1 -1
- package/dist/components/core/filter/SolidBooleanFilterElement.d.ts.map +1 -1
- package/dist/components/core/filter/SolidBooleanFilterElement.js +6 -7
- package/dist/components/core/filter/SolidBooleanFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidFilterFields.d.ts.map +1 -1
- package/dist/components/core/filter/SolidFilterFields.js +22 -23
- package/dist/components/core/filter/SolidFilterFields.js.map +1 -1
- package/dist/components/core/filter/SolidManyToManyFilterElement.d.ts.map +1 -1
- package/dist/components/core/filter/SolidManyToManyFilterElement.js +25 -73
- package/dist/components/core/filter/SolidManyToManyFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidManyToOneFilterElement.d.ts.map +1 -1
- package/dist/components/core/filter/SolidManyToOneFilterElement.js +32 -78
- package/dist/components/core/filter/SolidManyToOneFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.d.ts.map +1 -1
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.js +21 -64
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.d.ts.map +1 -1
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.js +6 -7
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidVarInputsFilterElement.d.ts.map +1 -1
- package/dist/components/core/filter/SolidVarInputsFilterElement.js +18 -30
- package/dist/components/core/filter/SolidVarInputsFilterElement.js.map +1 -1
- package/dist/components/core/filter/fields/SolidBigintField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidBigintField.js +2 -3
- package/dist/components/core/filter/fields/SolidBigintField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidBooleanField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidBooleanField.js +8 -9
- package/dist/components/core/filter/fields/SolidBooleanField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidComputedField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidComputedField.js +5 -6
- package/dist/components/core/filter/fields/SolidComputedField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidDateField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidDateField.js +7 -8
- package/dist/components/core/filter/fields/SolidDateField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidDatetimeField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidDatetimeField.js +7 -8
- package/dist/components/core/filter/fields/SolidDatetimeField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidDecimalField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidDecimalField.js +2 -3
- package/dist/components/core/filter/fields/SolidDecimalField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidExternalIdField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidExternalIdField.js +7 -8
- package/dist/components/core/filter/fields/SolidExternalIdField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidFloatField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidFloatField.js +2 -3
- package/dist/components/core/filter/fields/SolidFloatField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidIdField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidIdField.js +7 -8
- package/dist/components/core/filter/fields/SolidIdField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidIntField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidIntField.js +5 -6
- package/dist/components/core/filter/fields/SolidIntField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidLongTextField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidLongTextField.js +2 -3
- package/dist/components/core/filter/fields/SolidLongTextField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidMediaMultipleField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidMediaMultipleField.js +7 -8
- package/dist/components/core/filter/fields/SolidMediaMultipleField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidMediaSingleField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidMediaSingleField.js +7 -8
- package/dist/components/core/filter/fields/SolidMediaSingleField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidRelationField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidRelationField.js +3 -4
- package/dist/components/core/filter/fields/SolidRelationField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidRichTextField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidRichTextField.js +2 -3
- package/dist/components/core/filter/fields/SolidRichTextField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidSelectionDynamicField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidSelectionDynamicField.js +7 -8
- package/dist/components/core/filter/fields/SolidSelectionDynamicField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidSelectionStaticField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidSelectionStaticField.js +7 -8
- package/dist/components/core/filter/fields/SolidSelectionStaticField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidShortTextField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidShortTextField.js +7 -8
- package/dist/components/core/filter/fields/SolidShortTextField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidTimeField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidTimeField.js +6 -7
- package/dist/components/core/filter/fields/SolidTimeField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidUuidField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidUuidField.js +7 -8
- package/dist/components/core/filter/fields/SolidUuidField.js.map +1 -1
- package/dist/components/core/filter/fields/relations/SolidRelationManyToManyField.d.ts +1 -1
- package/dist/components/core/filter/fields/relations/SolidRelationManyToManyField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/relations/SolidRelationManyToManyField.js +8 -9
- package/dist/components/core/filter/fields/relations/SolidRelationManyToManyField.js.map +1 -1
- package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.d.ts +1 -1
- package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.js +8 -9
- package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.js.map +1 -1
- package/dist/components/core/form/SolidFormActionHeader.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormActionHeader.js +64 -74
- package/dist/components/core/form/SolidFormActionHeader.js.map +1 -1
- package/dist/components/core/form/SolidFormFieldRender.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormFieldRender.js +9 -11
- package/dist/components/core/form/SolidFormFieldRender.js.map +1 -1
- package/dist/components/core/form/SolidFormFieldRenderExtension.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormFieldRenderExtension.js +4 -16
- package/dist/components/core/form/SolidFormFieldRenderExtension.js.map +1 -1
- package/dist/components/core/form/SolidFormFooter.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormFooter.js +49 -103
- package/dist/components/core/form/SolidFormFooter.js.map +1 -1
- package/dist/components/core/form/SolidFormLayouts.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormLayouts.js +18 -30
- package/dist/components/core/form/SolidFormLayouts.js.map +1 -1
- package/dist/components/core/form/SolidFormUserViewLayout.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormUserViewLayout.js +37 -94
- package/dist/components/core/form/SolidFormUserViewLayout.js.map +1 -1
- package/dist/components/core/form/SolidFormView.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormView.js +735 -760
- package/dist/components/core/form/SolidFormView.js.map +1 -1
- package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.js +9 -11
- package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.js.map +1 -1
- package/dist/components/core/form/SolidFormViewNormalHeaderButton.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormViewNormalHeaderButton.js +9 -11
- package/dist/components/core/form/SolidFormViewNormalHeaderButton.js.map +1 -1
- package/dist/components/core/form/SolidFormViewShimmerLoading.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormViewShimmerLoading.js +1 -1
- package/dist/components/core/form/SolidFormViewShimmerLoading.js.map +1 -1
- package/dist/components/core/form/fields/ISolidField.d.ts.map +1 -1
- package/dist/components/core/form/fields/ISolidField.js.map +1 -1
- package/dist/components/core/form/fields/SolidBooleanField.d.ts +2 -2
- package/dist/components/core/form/fields/SolidBooleanField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidBooleanField.js +112 -143
- package/dist/components/core/form/fields/SolidBooleanField.js.map +1 -1
- package/dist/components/core/form/fields/SolidDateField.d.ts +2 -2
- package/dist/components/core/form/fields/SolidDateField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidDateField.js +75 -98
- package/dist/components/core/form/fields/SolidDateField.js.map +1 -1
- package/dist/components/core/form/fields/SolidDateTimeField.d.ts +2 -2
- package/dist/components/core/form/fields/SolidDateTimeField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidDateTimeField.js +67 -89
- package/dist/components/core/form/fields/SolidDateTimeField.js.map +1 -1
- package/dist/components/core/form/fields/SolidDecimalField.d.ts +2 -2
- package/dist/components/core/form/fields/SolidDecimalField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidDecimalField.js +51 -71
- package/dist/components/core/form/fields/SolidDecimalField.js.map +1 -1
- package/dist/components/core/form/fields/SolidEmailField.d.ts +2 -2
- package/dist/components/core/form/fields/SolidEmailField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidEmailField.js +50 -68
- package/dist/components/core/form/fields/SolidEmailField.js.map +1 -1
- package/dist/components/core/form/fields/SolidIntegerField.d.ts +2 -2
- package/dist/components/core/form/fields/SolidIntegerField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidIntegerField.js +91 -103
- package/dist/components/core/form/fields/SolidIntegerField.js.map +1 -1
- package/dist/components/core/form/fields/SolidJsonField.d.ts +2 -2
- package/dist/components/core/form/fields/SolidJsonField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidJsonField.js +54 -74
- package/dist/components/core/form/fields/SolidJsonField.js.map +1 -1
- package/dist/components/core/form/fields/SolidLongTextField.d.ts +2 -2
- package/dist/components/core/form/fields/SolidLongTextField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidLongTextField.js +128 -177
- package/dist/components/core/form/fields/SolidLongTextField.js.map +1 -1
- package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts +2 -2
- package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidMediaMultipleField.js +150 -185
- package/dist/components/core/form/fields/SolidMediaMultipleField.js.map +1 -1
- package/dist/components/core/form/fields/SolidMediaSingleField.d.ts +2 -2
- package/dist/components/core/form/fields/SolidMediaSingleField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidMediaSingleField.js +117 -143
- package/dist/components/core/form/fields/SolidMediaSingleField.js.map +1 -1
- package/dist/components/core/form/fields/SolidPasswordField.d.ts +2 -2
- package/dist/components/core/form/fields/SolidPasswordField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidPasswordField.js +117 -188
- package/dist/components/core/form/fields/SolidPasswordField.js.map +1 -1
- package/dist/components/core/form/fields/SolidRelationField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidRelationField.js +16 -19
- package/dist/components/core/form/fields/SolidRelationField.js.map +1 -1
- package/dist/components/core/form/fields/SolidRichTextField.d.ts +2 -2
- package/dist/components/core/form/fields/SolidRichTextField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidRichTextField.js +50 -69
- package/dist/components/core/form/fields/SolidRichTextField.js.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionDynamicField.d.ts +2 -2
- package/dist/components/core/form/fields/SolidSelectionDynamicField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionDynamicField.js +120 -197
- package/dist/components/core/form/fields/SolidSelectionDynamicField.js.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionStaticField.d.ts +2 -2
- package/dist/components/core/form/fields/SolidSelectionStaticField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionStaticField.js +129 -160
- package/dist/components/core/form/fields/SolidSelectionStaticField.js.map +1 -1
- package/dist/components/core/form/fields/SolidShortTextField.d.ts +2 -2
- package/dist/components/core/form/fields/SolidShortTextField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidShortTextField.js +104 -132
- package/dist/components/core/form/fields/SolidShortTextField.js.map +1 -1
- package/dist/components/core/form/fields/SolidTimeField.d.ts +2 -2
- package/dist/components/core/form/fields/SolidTimeField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidTimeField.js +64 -84
- package/dist/components/core/form/fields/SolidTimeField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts +2 -2
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js +155 -225
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.d.ts +2 -2
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js +570 -653
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.d.ts +2 -2
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js +224 -318
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js.map +1 -1
- package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.js +10 -23
- package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.js.map +1 -1
- package/dist/components/core/form/fields/relations/widgets/helpers/useRelationEntityHandler.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/widgets/helpers/useRelationEntityHandler.js +40 -92
- package/dist/components/core/form/fields/relations/widgets/helpers/useRelationEntityHandler.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidAiInteractionMessageFieldFormWidget.d.ts.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidAiInteractionMessageFieldFormWidget.js +23 -30
- package/dist/components/core/form/fields/widgets/SolidAiInteractionMessageFieldFormWidget.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.d.ts.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.js +25 -27
- package/dist/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidIconEditWidget.d.ts.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidIconEditWidget.js +35 -55
- package/dist/components/core/form/fields/widgets/SolidIconEditWidget.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidIconViewWidget.d.ts.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidIconViewWidget.js +8 -10
- package/dist/components/core/form/fields/widgets/SolidIconViewWidget.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.d.ts.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.js +13 -16
- 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 -147
- package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidShortTextFieldAvatarWidget.d.ts.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidShortTextFieldAvatarWidget.js +16 -18
- package/dist/components/core/form/fields/widgets/SolidShortTextFieldAvatarWidget.js.map +1 -1
- package/dist/components/core/form/widgets/CustomHtml.d.ts.map +1 -1
- package/dist/components/core/form/widgets/CustomHtml.js +6 -6
- package/dist/components/core/form/widgets/CustomHtml.js.map +1 -1
- package/dist/components/core/kanban/KanbanBoard.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanBoard.js +15 -28
- package/dist/components/core/kanban/KanbanBoard.js.map +1 -1
- package/dist/components/core/kanban/KanbanCard.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanCard.js +49 -68
- package/dist/components/core/kanban/KanbanCard.js.map +1 -1
- package/dist/components/core/kanban/KanbanColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanColumn.js +6 -18
- package/dist/components/core/kanban/KanbanColumn.js.map +1 -1
- package/dist/components/core/kanban/KanbanUserViewLayout.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanUserViewLayout.js +37 -94
- 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 +392 -495
- package/dist/components/core/kanban/SolidKanbanView.js.map +1 -1
- package/dist/components/core/kanban/SolidKanbanViewConfigure.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidKanbanViewConfigure.js +24 -27
- package/dist/components/core/kanban/SolidKanbanViewConfigure.js.map +1 -1
- package/dist/components/core/kanban/SolidKanbanViewFields.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidKanbanViewFields.js +22 -23
- package/dist/components/core/kanban/SolidKanbanViewFields.js.map +1 -1
- package/dist/components/core/kanban/SolidManyToOneFilterElement.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidManyToOneFilterElement.js +32 -78
- package/dist/components/core/kanban/SolidManyToOneFilterElement.js.map +1 -1
- package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.js +21 -64
- package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.js.map +1 -1
- package/dist/components/core/kanban/SolidSelectionStaticFilterElement.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidSelectionStaticFilterElement.js +6 -7
- package/dist/components/core/kanban/SolidSelectionStaticFilterElement.js.map +1 -1
- package/dist/components/core/kanban/SolidVarInputsFilterElement.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidVarInputsFilterElement.js +18 -30
- package/dist/components/core/kanban/SolidVarInputsFilterElement.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidBigintKanbanField.d.ts.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidBigintKanbanField.js +2 -3
- package/dist/components/core/kanban/kanban-fields/SolidBigintKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidBooleanKanbanField.d.ts.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidBooleanKanbanField.js +2 -4
- package/dist/components/core/kanban/kanban-fields/SolidBooleanKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidComputedKanbanField.d.ts.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidComputedKanbanField.js +5 -6
- package/dist/components/core/kanban/kanban-fields/SolidComputedKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidDateKanbanField.d.ts.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidDateKanbanField.js +2 -4
- package/dist/components/core/kanban/kanban-fields/SolidDateKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.d.ts.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.js +2 -4
- package/dist/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidDecimalKanbanField.d.ts.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidDecimalKanbanField.js +2 -3
- package/dist/components/core/kanban/kanban-fields/SolidDecimalKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.d.ts.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.js +2 -4
- package/dist/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidFloatKanbanField.d.ts.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidFloatKanbanField.js +2 -3
- package/dist/components/core/kanban/kanban-fields/SolidFloatKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidIdKanbanField.d.ts.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidIdKanbanField.js +2 -4
- package/dist/components/core/kanban/kanban-fields/SolidIdKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidIntKanbanField.d.ts.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidIntKanbanField.js +7 -9
- package/dist/components/core/kanban/kanban-fields/SolidIntKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidLongTextKanbanField.d.ts.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidLongTextKanbanField.js +2 -3
- package/dist/components/core/kanban/kanban-fields/SolidLongTextKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.d.ts.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.js +20 -22
- package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.d.ts.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.js +13 -15
- package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidRelationKanbanField.d.ts.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidRelationKanbanField.js +2 -3
- package/dist/components/core/kanban/kanban-fields/SolidRelationKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidRichTextKanbanField.d.ts.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidRichTextKanbanField.js +2 -3
- package/dist/components/core/kanban/kanban-fields/SolidRichTextKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.d.ts.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.js +2 -4
- package/dist/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.d.ts.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.js +2 -4
- package/dist/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.d.ts.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.js +13 -15
- package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidTimeKanbanField.d.ts.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidTimeKanbanField.js +2 -4
- package/dist/components/core/kanban/kanban-fields/SolidTimeKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidUuidKanbanField.d.ts.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidUuidKanbanField.js +2 -4
- package/dist/components/core/kanban/kanban-fields/SolidUuidKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.d.ts +1 -1
- package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.d.ts.map +1 -1
- package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.js +1 -2
- package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.js.map +1 -1
- package/dist/components/core/list/ListViewRowActionPopup.d.ts.map +1 -1
- package/dist/components/core/list/ListViewRowActionPopup.js +7 -20
- package/dist/components/core/list/ListViewRowActionPopup.js.map +1 -1
- package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.d.ts.map +1 -1
- package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.js +97 -164
- package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.js.map +1 -1
- package/dist/components/core/list/SolidEmptyListViewPlaceholder.d.ts.map +1 -1
- package/dist/components/core/list/SolidEmptyListViewPlaceholder.js +20 -23
- package/dist/components/core/list/SolidEmptyListViewPlaceholder.js.map +1 -1
- package/dist/components/core/list/SolidListView.d.ts.map +1 -1
- package/dist/components/core/list/SolidListView.js +591 -711
- package/dist/components/core/list/SolidListView.js.map +1 -1
- package/dist/components/core/list/SolidListViewColumn.d.ts.map +1 -1
- package/dist/components/core/list/SolidListViewColumn.js +23 -24
- package/dist/components/core/list/SolidListViewColumn.js.map +1 -1
- package/dist/components/core/list/SolidListViewConfigure.d.ts.map +1 -1
- package/dist/components/core/list/SolidListViewConfigure.js +52 -51
- package/dist/components/core/list/SolidListViewConfigure.js.map +1 -1
- package/dist/components/core/list/SolidListViewHeaderButton.d.ts.map +1 -1
- package/dist/components/core/list/SolidListViewHeaderButton.js +7 -9
- package/dist/components/core/list/SolidListViewHeaderButton.js.map +1 -1
- package/dist/components/core/list/SolidListViewHeaderContextMenuButton.d.ts.map +1 -1
- package/dist/components/core/list/SolidListViewHeaderContextMenuButton.js +6 -8
- package/dist/components/core/list/SolidListViewHeaderContextMenuButton.js.map +1 -1
- package/dist/components/core/list/SolidListViewRowButtonContextMenu.d.ts.map +1 -1
- package/dist/components/core/list/SolidListViewRowButtonContextMenu.js +8 -21
- package/dist/components/core/list/SolidListViewRowButtonContextMenu.js.map +1 -1
- package/dist/components/core/list/SolidListViewShimmerLoading.d.ts.map +1 -1
- package/dist/components/core/list/SolidListViewShimmerLoading.js +3 -3
- package/dist/components/core/list/SolidListViewShimmerLoading.js.map +1 -1
- package/dist/components/core/list/SolidListingHeader.d.ts.map +1 -1
- package/dist/components/core/list/SolidListingHeader.js +4 -4
- package/dist/components/core/list/SolidListingHeader.js.map +1 -1
- package/dist/components/core/list/SolidManyToOneFilterElement.d.ts.map +1 -1
- package/dist/components/core/list/SolidManyToOneFilterElement.js +33 -78
- package/dist/components/core/list/SolidManyToOneFilterElement.js.map +1 -1
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.d.ts.map +1 -1
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.js +21 -64
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.js.map +1 -1
- package/dist/components/core/list/SolidSelectionStaticFilterElement.d.ts.map +1 -1
- package/dist/components/core/list/SolidSelectionStaticFilterElement.js +6 -7
- package/dist/components/core/list/SolidSelectionStaticFilterElement.js.map +1 -1
- package/dist/components/core/list/SolidTableRowCell.d.ts.map +1 -1
- package/dist/components/core/list/SolidTableRowCell.js +6 -7
- package/dist/components/core/list/SolidTableRowCell.js.map +1 -1
- package/dist/components/core/list/SolidVarInputsFilterElement.d.ts.map +1 -1
- package/dist/components/core/list/SolidVarInputsFilterElement.js +18 -30
- package/dist/components/core/list/SolidVarInputsFilterElement.js.map +1 -1
- package/dist/components/core/list/columns/SolidBigintColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidBigintColumn.js +2 -3
- package/dist/components/core/list/columns/SolidBigintColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidBooleanColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidBooleanColumn.js +25 -41
- package/dist/components/core/list/columns/SolidBooleanColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidComputedColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidComputedColumn.js +6 -7
- package/dist/components/core/list/columns/SolidComputedColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidDateColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidDateColumn.js +22 -35
- package/dist/components/core/list/columns/SolidDateColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidDatetimeColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidDatetimeColumn.js +21 -34
- package/dist/components/core/list/columns/SolidDatetimeColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidDecimalColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidDecimalColumn.js +2 -3
- package/dist/components/core/list/columns/SolidDecimalColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidExternalIdColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidExternalIdColumn.js +21 -34
- package/dist/components/core/list/columns/SolidExternalIdColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidFloatColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidFloatColumn.js +2 -3
- package/dist/components/core/list/columns/SolidFloatColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidIdColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidIdColumn.js +21 -34
- package/dist/components/core/list/columns/SolidIdColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidIntColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidIntColumn.js +22 -35
- package/dist/components/core/list/columns/SolidIntColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidLongTextColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidLongTextColumn.js +2 -3
- 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 +60 -83
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidMediaSingleColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidMediaSingleColumn.js +31 -48
- package/dist/components/core/list/columns/SolidMediaSingleColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidRelationColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidRelationColumn.js +4 -5
- package/dist/components/core/list/columns/SolidRelationColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidRichTextColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidRichTextColumn.js +2 -3
- package/dist/components/core/list/columns/SolidRichTextColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.js +21 -34
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.js +21 -34
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidShortTextColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidShortTextColumn.js +35 -50
- package/dist/components/core/list/columns/SolidShortTextColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidTimeColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidTimeColumn.js +21 -34
- package/dist/components/core/list/columns/SolidTimeColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidUuidColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidUuidColumn.js +21 -34
- package/dist/components/core/list/columns/SolidUuidColumn.js.map +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.d.ts +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.js +24 -39
- package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.js.map +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.d.ts +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js +30 -46
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js.map +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.d.ts +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.js +24 -39
- package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.js.map +1 -1
- package/dist/components/core/list/widgets/SolidManyToManyRelationAvatarListWidget.d.ts.map +1 -1
- package/dist/components/core/list/widgets/SolidManyToManyRelationAvatarListWidget.js +6 -8
- package/dist/components/core/list/widgets/SolidManyToManyRelationAvatarListWidget.js.map +1 -1
- package/dist/components/core/list/widgets/SolidManyToOneRelationAvatarListWidget.d.ts.map +1 -1
- package/dist/components/core/list/widgets/SolidManyToOneRelationAvatarListWidget.js +6 -10
- package/dist/components/core/list/widgets/SolidManyToOneRelationAvatarListWidget.js.map +1 -1
- package/dist/components/core/list/widgets/SolidShortTextAvatarWidget.d.ts.map +1 -1
- package/dist/components/core/list/widgets/SolidShortTextAvatarWidget.js +14 -16
- package/dist/components/core/list/widgets/SolidShortTextAvatarWidget.js.map +1 -1
- package/dist/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.d.ts.map +1 -1
- package/dist/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.js +2 -3
- package/dist/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.js.map +1 -1
- package/dist/components/core/locales/SolidChatterLocaleTabView.d.ts.map +1 -1
- package/dist/components/core/locales/SolidChatterLocaleTabView.js +4 -6
- package/dist/components/core/locales/SolidChatterLocaleTabView.js.map +1 -1
- package/dist/components/core/locales/SolidLocale.d.ts.map +1 -1
- package/dist/components/core/locales/SolidLocale.js +24 -26
- package/dist/components/core/locales/SolidLocale.js.map +1 -1
- package/dist/components/core/model/CreateModel.d.ts.map +1 -1
- package/dist/components/core/model/CreateModel.js +137 -221
- package/dist/components/core/model/CreateModel.js.map +1 -1
- package/dist/components/core/model/FieldMetaData.d.ts.map +1 -1
- package/dist/components/core/model/FieldMetaData.js +40 -83
- package/dist/components/core/model/FieldMetaData.js.map +1 -1
- package/dist/components/core/model/FieldMetaDataForm.d.ts.map +1 -1
- package/dist/components/core/model/FieldMetaDataForm.js +800 -914
- package/dist/components/core/model/FieldMetaDataForm.js.map +1 -1
- package/dist/components/core/model/FieldSelector.d.ts.map +1 -1
- package/dist/components/core/model/FieldSelector.js +5 -6
- package/dist/components/core/model/FieldSelector.js.map +1 -1
- package/dist/components/core/model/ModelListViewData.d.ts.map +1 -1
- package/dist/components/core/model/ModelListViewData.js +101 -138
- package/dist/components/core/model/ModelListViewData.js.map +1 -1
- package/dist/components/core/model/ModelMetaData.d.ts.map +1 -1
- package/dist/components/core/model/ModelMetaData.js +190 -269
- package/dist/components/core/model/ModelMetaData.js.map +1 -1
- package/dist/components/core/module/CreateModule.d.ts.map +1 -1
- package/dist/components/core/module/CreateModule.js +142 -218
- package/dist/components/core/module/CreateModule.js.map +1 -1
- package/dist/components/core/module/ModuleListViewData.d.ts.map +1 -1
- package/dist/components/core/module/ModuleListViewData.js +109 -153
- package/dist/components/core/module/ModuleListViewData.js.map +1 -1
- package/dist/components/core/solid-ai/SolidAiMainWrapper.d.ts.map +1 -1
- package/dist/components/core/solid-ai/SolidAiMainWrapper.js +1 -2
- package/dist/components/core/solid-ai/SolidAiMainWrapper.js.map +1 -1
- package/dist/components/core/solid-ai/SolidXAIIcon.d.ts.map +1 -1
- package/dist/components/core/solid-ai/SolidXAIIcon.js +2 -3
- package/dist/components/core/solid-ai/SolidXAIIcon.js.map +1 -1
- package/dist/components/core/users/CreateUser.d.ts.map +1 -1
- package/dist/components/core/users/CreateUser.js +76 -138
- package/dist/components/core/users/CreateUser.js.map +1 -1
- package/dist/components/core/users/CreateUserRole.d.ts.map +1 -1
- package/dist/components/core/users/CreateUserRole.js +66 -127
- package/dist/components/core/users/CreateUserRole.js.map +1 -1
- package/dist/components/core/users/UserListView.d.ts.map +1 -1
- package/dist/components/core/users/UserListView.js +100 -139
- package/dist/components/core/users/UserListView.js.map +1 -1
- package/dist/components/layout/AdminLayout.d.ts.map +1 -1
- package/dist/components/layout/AdminLayout.js +9 -11
- package/dist/components/layout/AdminLayout.js.map +1 -1
- package/dist/components/layout/AdminSidebar.d.ts.map +1 -1
- package/dist/components/layout/AdminSidebar.js +6 -6
- package/dist/components/layout/AdminSidebar.js.map +1 -1
- package/dist/components/layout/AppConfig.d.ts.map +1 -1
- package/dist/components/layout/AppConfig.js +22 -33
- package/dist/components/layout/AppConfig.js.map +1 -1
- package/dist/components/layout/AppSidebar.d.ts.map +1 -1
- package/dist/components/layout/AppSidebar.js +35 -44
- package/dist/components/layout/AppSidebar.js.map +1 -1
- package/dist/components/layout/ButtonLoader.d.ts.map +1 -1
- package/dist/components/layout/ButtonLoader.js +1 -1
- package/dist/components/layout/ButtonLoader.js.map +1 -1
- package/dist/components/layout/CustomPagination.d.ts.map +1 -1
- package/dist/components/layout/CustomPagination.js.map +1 -1
- package/dist/components/layout/DashboardHeader.d.ts.map +1 -1
- package/dist/components/layout/DashboardHeader.js +5 -5
- package/dist/components/layout/DashboardHeader.js.map +1 -1
- package/dist/components/layout/FilterMenu.d.ts.map +1 -1
- package/dist/components/layout/FilterMenu.js +22 -22
- package/dist/components/layout/FilterMenu.js.map +1 -1
- package/dist/components/layout/Footer.d.ts.map +1 -1
- package/dist/components/layout/Footer.js +1 -1
- package/dist/components/layout/Footer.js.map +1 -1
- package/dist/components/layout/GlobalSearch.d.ts.map +1 -1
- package/dist/components/layout/GlobalSearch.js +5 -5
- package/dist/components/layout/GlobalSearch.js.map +1 -1
- package/dist/components/layout/Header.d.ts.map +1 -1
- package/dist/components/layout/Header.js +1 -1
- package/dist/components/layout/Header.js.map +1 -1
- package/dist/components/layout/Layout.d.ts.map +1 -1
- package/dist/components/layout/Layout.js +62 -102
- package/dist/components/layout/Layout.js.map +1 -1
- package/dist/components/layout/ListingHeader.d.ts.map +1 -1
- package/dist/components/layout/ListingHeader.js +19 -19
- package/dist/components/layout/ListingHeader.js.map +1 -1
- package/dist/components/layout/Loader.d.ts.map +1 -1
- package/dist/components/layout/Loader.js +1 -1
- package/dist/components/layout/Loader.js.map +1 -1
- package/dist/components/layout/UserSidebar.d.ts.map +1 -1
- package/dist/components/layout/UserSidebar.js +6 -6
- package/dist/components/layout/UserSidebar.js.map +1 -1
- package/dist/components/layout/context/layoutcontext.d.ts.map +1 -1
- package/dist/components/layout/context/layoutcontext.js +19 -31
- 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 +25 -26
- package/dist/components/layout/navbar-one.js.map +1 -1
- package/dist/components/layout/navbar-two-menu.d.ts.map +1 -1
- package/dist/components/layout/navbar-two-menu.js +21 -26
- package/dist/components/layout/navbar-two-menu.js.map +1 -1
- package/dist/components/layout/navbar-two.d.ts.map +1 -1
- package/dist/components/layout/navbar-two.js +5 -5
- package/dist/components/layout/navbar-two.js.map +1 -1
- package/dist/components/layout/user-profile-menu.d.ts.map +1 -1
- package/dist/components/layout/user-profile-menu.js +49 -60
- package/dist/components/layout/user-profile-menu.js.map +1 -1
- package/dist/components/layout/user-profile.d.ts.map +1 -1
- package/dist/components/layout/user-profile.js +1 -1
- package/dist/components/layout/user-profile.js.map +1 -1
- package/dist/components/modelsComponents/filterIcon.d.ts.map +1 -1
- package/dist/components/modelsComponents/filterIcon.js +1 -1
- package/dist/components/modelsComponents/filterIcon.js.map +1 -1
- package/dist/constants/error-messages.d.ts.map +1 -1
- package/dist/constants/error-messages.js +31 -78
- package/dist/constants/error-messages.js.map +1 -1
- package/dist/helpers/AppTitle.d.ts.map +1 -1
- package/dist/helpers/AppTitle.js +3 -5
- package/dist/helpers/AppTitle.js.map +1 -1
- package/dist/helpers/ToastContainer.d.ts.map +1 -1
- package/dist/helpers/ToastContainer.js +10 -12
- package/dist/helpers/ToastContainer.js.map +1 -1
- package/dist/helpers/autoCompleteVirtualScroll.d.ts.map +1 -1
- package/dist/helpers/autoCompleteVirtualScroll.js +4 -5
- package/dist/helpers/autoCompleteVirtualScroll.js.map +1 -1
- package/dist/helpers/countries.d.ts.map +1 -1
- package/dist/helpers/countries.js +1 -1
- package/dist/helpers/countries.js.map +1 -1
- package/dist/helpers/downloadFileWithProgress.d.ts.map +1 -1
- package/dist/helpers/downloadFileWithProgress.js +69 -147
- package/dist/helpers/downloadFileWithProgress.js.map +1 -1
- package/dist/helpers/downloadMediaFile.d.ts.map +1 -1
- package/dist/helpers/downloadMediaFile.js +16 -64
- package/dist/helpers/downloadMediaFile.js.map +1 -1
- package/dist/helpers/getAcceptedFileTypes.d.ts.map +1 -1
- package/dist/helpers/getAcceptedFileTypes.js +4 -4
- package/dist/helpers/getAcceptedFileTypes.js.map +1 -1
- package/dist/helpers/getRandomColors.d.ts.map +1 -1
- package/dist/helpers/getRandomColors.js +20 -20
- package/dist/helpers/getRandomColors.js.map +1 -1
- package/dist/helpers/helpers.d.ts.map +1 -1
- package/dist/helpers/helpers.js +14 -14
- package/dist/helpers/helpers.js.map +1 -1
- package/dist/helpers/hydrateRelationRules.d.ts.map +1 -1
- package/dist/helpers/hydrateRelationRules.js +74 -138
- package/dist/helpers/hydrateRelationRules.js.map +1 -1
- package/dist/helpers/permissions.d.ts.map +1 -1
- package/dist/helpers/permissions.js +2 -2
- package/dist/helpers/permissions.js.map +1 -1
- package/dist/helpers/registry.d.ts.map +1 -1
- package/dist/helpers/registry.js +8 -12
- package/dist/helpers/registry.js.map +1 -1
- package/dist/helpers/resendOtpHelper.d.ts.map +1 -1
- package/dist/helpers/resendOtpHelper.js +4 -4
- package/dist/helpers/resendOtpHelper.js.map +1 -1
- package/dist/helpers/revalidate.d.ts.map +1 -1
- package/dist/helpers/revalidate.js +2 -45
- package/dist/helpers/revalidate.js.map +1 -1
- package/dist/helpers/rolesHelper.d.ts.map +1 -1
- package/dist/helpers/rolesHelper.js +5 -7
- package/dist/helpers/rolesHelper.js.map +1 -1
- package/dist/helpers/solidIcons.d.ts.map +1 -1
- package/dist/helpers/solidIcons.js +1 -1
- package/dist/helpers/solidIcons.js.map +1 -1
- package/dist/helpers/updatePasswordField.d.ts.map +1 -1
- package/dist/helpers/updatePasswordField.js +19 -71
- package/dist/helpers/updatePasswordField.js.map +1 -1
- package/dist/index.d.ts +6 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -145
- package/dist/index.js.map +1 -1
- package/dist/nextAuth/authProviders.d.ts.map +1 -1
- package/dist/nextAuth/authProviders.js +164 -211
- package/dist/nextAuth/authProviders.js.map +1 -1
- package/dist/nextAuth/handleLogout.d.ts.map +1 -1
- package/dist/nextAuth/handleLogout.js +30 -84
- package/dist/nextAuth/handleLogout.js.map +1 -1
- package/dist/nextAuth/refreshAccessToken.d.ts.map +1 -1
- package/dist/nextAuth/refreshAccessToken.js +19 -72
- package/dist/nextAuth/refreshAccessToken.js.map +1 -1
- package/dist/redux/api/aiInteractionApi.d.ts.map +1 -1
- package/dist/redux/api/aiInteractionApi.js +10 -10
- package/dist/redux/api/aiInteractionApi.js.map +1 -1
- package/dist/redux/api/authApi.d.ts.map +1 -1
- package/dist/redux/api/authApi.js +33 -37
- package/dist/redux/api/authApi.js.map +1 -1
- package/dist/redux/api/dashboardApi.d.ts.map +1 -1
- package/dist/redux/api/dashboardApi.js +8 -8
- package/dist/redux/api/dashboardApi.js.map +1 -1
- package/dist/redux/api/dashboardQuestionApi.d.ts.map +1 -1
- package/dist/redux/api/dashboardQuestionApi.js +5 -8
- package/dist/redux/api/dashboardQuestionApi.js.map +1 -1
- package/dist/redux/api/exportTemplateApi.d.ts.map +1 -1
- package/dist/redux/api/exportTemplateApi.js +21 -27
- package/dist/redux/api/exportTemplateApi.js.map +1 -1
- package/dist/redux/api/fetchBaseQuery.d.ts.map +1 -1
- package/dist/redux/api/fetchBaseQuery.js +10 -54
- package/dist/redux/api/fetchBaseQuery.js.map +1 -1
- package/dist/redux/api/fieldApi.d.ts.map +1 -1
- package/dist/redux/api/fieldApi.js +18 -18
- package/dist/redux/api/fieldApi.js.map +1 -1
- package/dist/redux/api/importTransactionApi.d.ts.map +1 -1
- package/dist/redux/api/importTransactionApi.js +25 -37
- package/dist/redux/api/importTransactionApi.js.map +1 -1
- package/dist/redux/api/mediaApi.d.ts.map +1 -1
- package/dist/redux/api/mediaApi.js +21 -24
- package/dist/redux/api/mediaApi.js.map +1 -1
- package/dist/redux/api/mediaStorageProviderApi.d.ts.map +1 -1
- package/dist/redux/api/mediaStorageProviderApi.js +21 -24
- package/dist/redux/api/mediaStorageProviderApi.js.map +1 -1
- package/dist/redux/api/modelApi.d.ts.map +1 -1
- package/dist/redux/api/modelApi.js +28 -31
- package/dist/redux/api/modelApi.js.map +1 -1
- package/dist/redux/api/moduleApi.d.ts.map +1 -1
- package/dist/redux/api/moduleApi.js +28 -31
- package/dist/redux/api/moduleApi.js.map +1 -1
- package/dist/redux/api/permissionApi.d.ts.map +1 -1
- package/dist/redux/api/permissionApi.js +8 -8
- package/dist/redux/api/permissionApi.js.map +1 -1
- package/dist/redux/api/pincodeApi.d.ts.map +1 -1
- package/dist/redux/api/pincodeApi.js +16 -16
- package/dist/redux/api/pincodeApi.js.map +1 -1
- package/dist/redux/api/roleApi.d.ts.map +1 -1
- package/dist/redux/api/roleApi.js +21 -24
- package/dist/redux/api/roleApi.js.map +1 -1
- package/dist/redux/api/solidActionApi.d.ts.map +1 -1
- package/dist/redux/api/solidActionApi.js +22 -25
- package/dist/redux/api/solidActionApi.js.map +1 -1
- package/dist/redux/api/solidChatterMessageApi.d.ts.map +1 -1
- package/dist/redux/api/solidChatterMessageApi.js +7 -8
- package/dist/redux/api/solidChatterMessageApi.js.map +1 -1
- package/dist/redux/api/solidEntityApi.d.ts.map +1 -1
- package/dist/redux/api/solidEntityApi.js +73 -99
- package/dist/redux/api/solidEntityApi.js.map +1 -1
- package/dist/redux/api/solidMenuApi.d.ts.map +1 -1
- package/dist/redux/api/solidMenuApi.js +23 -26
- package/dist/redux/api/solidMenuApi.js.map +1 -1
- package/dist/redux/api/solidServiceApi.d.ts.map +1 -1
- package/dist/redux/api/solidServiceApi.js +8 -8
- package/dist/redux/api/solidServiceApi.js.map +1 -1
- package/dist/redux/api/solidSettingsApi.d.ts.map +1 -1
- package/dist/redux/api/solidSettingsApi.js +27 -36
- package/dist/redux/api/solidSettingsApi.js.map +1 -1
- package/dist/redux/api/solidViewApi.d.ts.map +1 -1
- package/dist/redux/api/solidViewApi.js +24 -27
- package/dist/redux/api/solidViewApi.js.map +1 -1
- package/dist/redux/api/stateApi.d.ts.map +1 -1
- package/dist/redux/api/stateApi.js +16 -16
- package/dist/redux/api/stateApi.js.map +1 -1
- package/dist/redux/api/testApi.d.ts.map +1 -1
- package/dist/redux/api/testApi.js +6 -6
- package/dist/redux/api/testApi.js.map +1 -1
- package/dist/redux/api/userApi.d.ts.map +1 -1
- package/dist/redux/api/userApi.js +45 -49
- package/dist/redux/api/userApi.js.map +1 -1
- package/dist/redux/features/authSlice.d.ts.map +1 -1
- package/dist/redux/features/authSlice.js +4 -5
- package/dist/redux/features/authSlice.js.map +1 -1
- package/dist/redux/features/dataViewSlice.d.ts.map +1 -1
- package/dist/redux/features/dataViewSlice.js +6 -7
- package/dist/redux/features/dataViewSlice.js.map +1 -1
- package/dist/redux/features/navbarSlice.d.ts.map +1 -1
- package/dist/redux/features/navbarSlice.js +5 -6
- package/dist/redux/features/navbarSlice.js.map +1 -1
- package/dist/redux/features/popupSlice.d.ts.map +1 -1
- package/dist/redux/features/popupSlice.js +6 -7
- package/dist/redux/features/popupSlice.js.map +1 -1
- package/dist/redux/features/settingsSlice.d.ts +20 -0
- package/dist/redux/features/settingsSlice.d.ts.map +1 -0
- package/dist/redux/features/settingsSlice.js +39 -0
- package/dist/redux/features/settingsSlice.js.map +1 -0
- package/dist/redux/features/themeSlice.d.ts.map +1 -1
- package/dist/redux/features/themeSlice.js +3 -3
- package/dist/redux/features/themeSlice.js.map +1 -1
- package/dist/redux/features/userSlice.d.ts.map +1 -1
- package/dist/redux/features/userSlice.js +6 -7
- package/dist/redux/features/userSlice.js.map +1 -1
- package/dist/redux/hooks/useSolidPopup.d.ts.map +1 -1
- package/dist/redux/hooks/useSolidPopup.js +5 -5
- package/dist/redux/hooks/useSolidPopup.js.map +1 -1
- package/dist/redux/store/defaultStoreConfig.d.ts +1 -0
- package/dist/redux/store/defaultStoreConfig.d.ts.map +1 -1
- package/dist/redux/store/defaultStoreConfig.js +4 -3
- package/dist/redux/store/defaultStoreConfig.js.map +1 -1
- package/dist/styles.d.ts +5 -0
- package/dist/styles.d.ts.map +1 -0
- package/dist/styles.js +5 -0
- package/dist/styles.js.map +1 -0
- package/package.json +11 -5
- package/src/components/Svg/DevDocs.tsx +9 -0
- package/src/components/Svg/DocsSvg.tsx +9 -0
- package/src/components/Svg/ExcelSvg.tsx +15 -0
- package/src/components/Svg/FieldSvg.tsx +9 -0
- package/src/components/Svg/FileSvg.tsx +18 -0
- package/src/components/Svg/HomePageModuleSvg.tsx +179 -0
- package/src/components/Svg/ModelSvg.tsx +9 -0
- package/src/components/Svg/ModuleSvg.tsx +9 -0
- package/src/components/Svg/PDFSvg.tsx +15 -0
- package/src/components/Svg/RightArrowSvg.tsx +9 -0
- package/src/components/Svg/SettingsSvg.tsx +9 -0
- package/src/components/auth/AuthLayout.tsx +237 -0
- package/src/components/auth/ForgotPasswordThankYou.tsx +35 -0
- package/src/components/auth/GoogleAuthChecking.tsx +63 -0
- package/src/components/auth/SolidChangeForcePassword.tsx +222 -0
- package/src/components/auth/SolidForgotPassword.tsx +127 -0
- package/src/components/auth/SolidInitialLoginOtp.tsx +273 -0
- package/src/components/auth/SolidInitiateRegisterOtp.tsx +220 -0
- package/src/components/auth/SolidLogin.tsx +418 -0
- package/src/components/auth/SolidOTPVerify.tsx +135 -0
- package/src/components/auth/SolidRegister.tsx +456 -0
- package/src/components/auth/SolidResetPassword.tsx +196 -0
- package/src/components/common/AuthBanner.tsx +41 -0
- package/src/components/common/AutoCompleteField.tsx +79 -0
- package/src/components/common/BackButton.tsx +72 -0
- package/src/components/common/CancelButton.tsx +61 -0
- package/src/components/common/CodeEditor.tsx +38 -0
- package/src/components/common/CreateButton.tsx +17 -0
- package/src/components/common/DownloadProgressToast.tsx +55 -0
- package/src/components/common/DropzonePlaceholder.tsx +31 -0
- package/src/components/common/DropzoneUpload.tsx +11 -0
- package/src/components/common/FileReaderExt.tsx +20 -0
- package/src/components/common/GeneralSettings.tsx +1233 -0
- package/src/components/common/HeaderDynamicTitles.tsx +13 -0
- package/src/components/common/MarkdownViewer.tsx +84 -0
- package/src/components/common/MultipleSelectAutoCompleteField.tsx +64 -0
- package/src/components/common/NotFound.tsx +22 -0
- package/src/components/common/SingleSelectAutoCompleteField.tsx +73 -0
- package/src/components/common/SocialMediaLogin.tsx +53 -0
- package/src/components/common/SolidAdmin.tsx +6 -0
- package/src/components/common/SolidBreadcrumb.tsx +129 -0
- package/src/components/common/SolidExport.tsx +563 -0
- package/src/components/common/SolidExportStepper.tsx +135 -0
- package/src/components/common/SolidFieldTooltip.tsx +23 -0
- package/src/components/common/SolidFormHeader.tsx +25 -0
- package/src/components/common/SolidFormStepper.tsx +350 -0
- package/src/components/common/SolidModuleHome.tsx +128 -0
- package/src/components/common/SolidPopupContainer.tsx +37 -0
- package/src/components/common/SolidSettings/LlmSettings/AnthropicProviderComponent.tsx +45 -0
- package/src/components/common/SolidSettings/LlmSettings/OpenAiProviderComponent.tsx +45 -0
- package/src/components/common/SolidSettings/SettingDropzoneActivePlaceholder.tsx +20 -0
- package/src/components/common/SolidSettings/SettingsImageRemoveButton.tsx +15 -0
- package/src/components/common/SolidSettings/SolidUploadedImage.tsx +16 -0
- package/src/components/common/SolidThemeLink.tsx +6 -0
- package/src/components/common/SolidThemeProvider.tsx +46 -0
- package/src/components/common/StepperArrows/ActiveArrowStep.tsx +18 -0
- package/src/components/common/StepperArrows/ActiveBeforeStepArrow.tsx +18 -0
- package/src/components/common/StepperArrows/InactiveStepArrow.tsx +19 -0
- package/src/components/common/error.tsx +30 -0
- package/src/components/common/useHandleFormCustomButtonClick.ts +40 -0
- package/src/components/common/useHandleListCustomButtonClick.ts +42 -0
- package/src/components/core/chatter/SolidChatter.tsx +246 -0
- package/src/components/core/chatter/SolidChatterAuditMessage.tsx +35 -0
- package/src/components/core/chatter/SolidChatterCustomMessage.tsx +46 -0
- package/src/components/core/chatter/SolidChatterDateDivider.tsx +16 -0
- package/src/components/core/chatter/SolidChatterHeader.tsx +218 -0
- package/src/components/core/chatter/SolidChatterMessageBox.tsx +163 -0
- package/src/components/core/chatter/SolidMessageComposer.tsx +146 -0
- package/src/components/core/common/AvatarWidget.tsx +55 -0
- package/src/components/core/common/DateFieldViewComponent.tsx +36 -0
- package/src/components/core/common/FilterComponent.tsx +458 -0
- package/src/components/core/common/LoadDynamicJsxComponent.tsx +70 -0
- package/src/components/core/common/PDFViewer.tsx +117 -0
- package/src/components/core/common/SolidAccountSettings/SolidAccountSettings.tsx +91 -0
- package/src/components/core/common/SolidAccountSettings/SolidChangePassword.tsx +188 -0
- package/src/components/core/common/SolidAccountSettings/SolidNotifications.tsx +140 -0
- package/src/components/core/common/SolidAccountSettings/SolidPersonalInfo.tsx +311 -0
- package/src/components/core/common/SolidCreateButton.tsx +48 -0
- package/src/components/core/common/SolidGenericImport/DocumentSvg.tsx +15 -0
- package/src/components/core/common/SolidGenericImport/SolidGenericImport.tsx +64 -0
- package/src/components/core/common/SolidGenericImport/SolidImportDropzone.tsx +125 -0
- package/src/components/core/common/SolidGenericImport/SolidImportInstructions.tsx +122 -0
- package/src/components/core/common/SolidGenericImport/SolidImportStepper.tsx +217 -0
- package/src/components/core/common/SolidGenericImport/SolidImportTransaction.tsx +205 -0
- package/src/components/core/common/SolidGenericImport/SolidImportTransactionStatus.tsx +158 -0
- package/src/components/core/common/SolidGenericImport/SolidImportWrapper.tsx +29 -0
- package/src/components/core/common/SolidGlobalSearchElement.tsx +1470 -0
- package/src/components/core/common/SolidLayoutViews.tsx +87 -0
- package/src/components/core/common/SolidListViewOptions.tsx +31 -0
- package/src/components/core/common/SolidLoaders/SolidCircularLoader.tsx +7 -0
- package/src/components/core/common/SolidPasswordHelperText.tsx +34 -0
- package/src/components/core/common/SolidSaveCustomFilterForm.tsx +75 -0
- package/src/components/core/common/SolidSearchBox.tsx +17 -0
- package/src/components/core/common/SolidViewLayoutManager.ts +421 -0
- package/src/components/core/common/SolidXAiIframe.tsx +77 -0
- package/src/components/core/dashboard/SolidDashboard.tsx +329 -0
- package/src/components/core/dashboard/SolidDashboardBody.tsx +117 -0
- package/src/components/core/dashboard/SolidDashboardFilterRequired.tsx +28 -0
- package/src/components/core/dashboard/SolidDashboardHeader.tsx +10 -0
- package/src/components/core/dashboard/SolidDashboardLoading.tsx +55 -0
- package/src/components/core/dashboard/SolidDashboardNotAvailable.tsx +32 -0
- package/src/components/core/dashboard/SolidDashboardRenderError.tsx +29 -0
- package/src/components/core/dashboard/SolidDashboardVariable.tsx +256 -0
- package/src/components/core/dashboard/SolidQuestionRenderer.tsx +78 -0
- package/src/components/core/dashboard/chart-renderers/ChartJsRenderer.tsx +18 -0
- package/src/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.tsx +54 -0
- package/src/components/core/dashboard/chart-renderers/init-chartjs.ts +25 -0
- package/src/components/core/dashboard/dashboard-utils.ts +39 -0
- package/src/components/core/extension/solid-core/CustomIcon/StatusIcon.tsx +17 -0
- package/src/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.tsx +36 -0
- package/src/components/core/extension/solid-core/emailTemplate/emailFormTypeChangeHandler.ts +18 -0
- package/src/components/core/extension/solid-core/emailTemplate/emailFormTypeLoad.ts +18 -0
- package/src/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.tsx +114 -0
- package/src/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.tsx +213 -0
- package/src/components/core/extension/solid-core/moduleMetadata/list/DeleteModuleRowAction.tsx +138 -0
- package/src/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.tsx +209 -0
- package/src/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.tsx +131 -0
- package/src/components/core/field/FieldListViewData.tsx +313 -0
- package/src/components/core/filter/SolidBooleanFilterElement.tsx +30 -0
- package/src/components/core/filter/SolidFilterFields.tsx +131 -0
- package/src/components/core/filter/SolidManyToManyFilterElement.tsx +64 -0
- package/src/components/core/filter/SolidManyToOneFilterElement.tsx +61 -0
- package/src/components/core/filter/SolidSelectionDynamicFilterElement.tsx +50 -0
- package/src/components/core/filter/SolidSelectionStaticFilterElement.tsx +32 -0
- package/src/components/core/filter/SolidVarInputsFilterElement.tsx +209 -0
- package/src/components/core/filter/fields/SolidBigintField.tsx +9 -0
- package/src/components/core/filter/fields/SolidBooleanField.tsx +68 -0
- package/src/components/core/filter/fields/SolidComputedField.tsx +23 -0
- package/src/components/core/filter/fields/SolidDateField.tsx +63 -0
- package/src/components/core/filter/fields/SolidDatetimeField.tsx +54 -0
- package/src/components/core/filter/fields/SolidDecimalField.tsx +9 -0
- package/src/components/core/filter/fields/SolidExternalIdField.tsx +52 -0
- package/src/components/core/filter/fields/SolidFloatField.tsx +9 -0
- package/src/components/core/filter/fields/SolidIdField.tsx +46 -0
- package/src/components/core/filter/fields/SolidIntField.tsx +61 -0
- package/src/components/core/filter/fields/SolidLongTextField.tsx +9 -0
- package/src/components/core/filter/fields/SolidMediaMultipleField.tsx +60 -0
- package/src/components/core/filter/fields/SolidMediaSingleField.tsx +62 -0
- package/src/components/core/filter/fields/SolidRelationField.tsx +17 -0
- package/src/components/core/filter/fields/SolidRichTextField.tsx +9 -0
- package/src/components/core/filter/fields/SolidSelectionDynamicField.tsx +52 -0
- package/src/components/core/filter/fields/SolidSelectionStaticField.tsx +54 -0
- package/src/components/core/filter/fields/SolidShortTextField.tsx +60 -0
- package/src/components/core/filter/fields/SolidTimeField.tsx +48 -0
- package/src/components/core/filter/fields/SolidUuidField.tsx +51 -0
- package/src/components/core/filter/fields/relations/SolidRelationManyToManyField.tsx +62 -0
- package/src/components/core/filter/fields/relations/SolidRelationManyToOneField.tsx +84 -0
- package/src/components/core/form/SolidFormActionHeader.tsx +497 -0
- package/src/components/core/form/SolidFormFieldRender.tsx +53 -0
- package/src/components/core/form/SolidFormFieldRenderExtension.tsx +26 -0
- package/src/components/core/form/SolidFormFooter.tsx +162 -0
- package/src/components/core/form/SolidFormLayouts.tsx +104 -0
- package/src/components/core/form/SolidFormUserViewLayout.tsx +84 -0
- package/src/components/core/form/SolidFormView.tsx +1853 -0
- package/src/components/core/form/SolidFormViewContextMenuHeaderButton.tsx +52 -0
- package/src/components/core/form/SolidFormViewNormalHeaderButton.tsx +52 -0
- package/src/components/core/form/SolidFormViewShimmerLoading.tsx +109 -0
- package/src/components/core/form/fields/ISolidField.tsx +71 -0
- package/src/components/core/form/fields/SolidBooleanField.tsx +434 -0
- package/src/components/core/form/fields/SolidDateField.tsx +247 -0
- package/src/components/core/form/fields/SolidDateTimeField.tsx +229 -0
- package/src/components/core/form/fields/SolidDecimalField.tsx +171 -0
- package/src/components/core/form/fields/SolidEmailField.tsx +176 -0
- package/src/components/core/form/fields/SolidIntegerField.tsx +282 -0
- package/src/components/core/form/fields/SolidJsonField.tsx +185 -0
- package/src/components/core/form/fields/SolidLongTextField.tsx +618 -0
- package/src/components/core/form/fields/SolidMediaMultipleField.tsx +663 -0
- package/src/components/core/form/fields/SolidMediaSingleField.tsx +547 -0
- package/src/components/core/form/fields/SolidPasswordField.tsx +390 -0
- package/src/components/core/form/fields/SolidRelationField.tsx +56 -0
- package/src/components/core/form/fields/SolidRichTextField.tsx +188 -0
- package/src/components/core/form/fields/SolidSelectionDynamicField.tsx +340 -0
- package/src/components/core/form/fields/SolidSelectionStaticField.tsx +462 -0
- package/src/components/core/form/fields/SolidShortTextField.tsx +399 -0
- package/src/components/core/form/fields/SolidTimeField.tsx +245 -0
- package/src/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +453 -0
- package/src/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +979 -0
- package/src/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +627 -0
- package/src/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.tsx +38 -0
- package/src/components/core/form/fields/relations/widgets/helpers/useRelationEntityHandler.ts +64 -0
- package/src/components/core/form/fields/widgets/SolidAiInteractionMessageFieldFormWidget.tsx +135 -0
- package/src/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.tsx +144 -0
- package/src/components/core/form/fields/widgets/SolidIconEditWidget.tsx +265 -0
- package/src/components/core/form/fields/widgets/SolidIconViewWidget.tsx +32 -0
- package/src/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.tsx +50 -0
- package/src/components/core/form/fields/widgets/SolidS3FileViewerWidget.tsx +222 -0
- package/src/components/core/form/fields/widgets/SolidShortTextFieldAvatarWidget.tsx +70 -0
- package/src/components/core/form/widgets/CustomHtml.tsx +20 -0
- package/src/components/core/kanban/KanbanBoard.tsx +150 -0
- package/src/components/core/kanban/KanbanCard.tsx +279 -0
- package/src/components/core/kanban/KanbanColumn.tsx +139 -0
- package/src/components/core/kanban/KanbanUserViewLayout.tsx +84 -0
- package/src/components/core/kanban/SolidKanbanView.tsx +894 -0
- package/src/components/core/kanban/SolidKanbanViewConfigure.tsx +154 -0
- package/src/components/core/kanban/SolidKanbanViewFields.tsx +164 -0
- package/src/components/core/kanban/SolidManyToOneFilterElement.tsx +59 -0
- package/src/components/core/kanban/SolidSelectionDynamicFilterElement.tsx +50 -0
- package/src/components/core/kanban/SolidSelectionStaticFilterElement.tsx +32 -0
- package/src/components/core/kanban/SolidVarInputsFilterElement.tsx +184 -0
- package/src/components/core/kanban/kanban-fields/SolidBigintKanbanField.tsx +9 -0
- package/src/components/core/kanban/kanban-fields/SolidBooleanKanbanField.tsx +16 -0
- package/src/components/core/kanban/kanban-fields/SolidComputedKanbanField.tsx +23 -0
- package/src/components/core/kanban/kanban-fields/SolidDateKanbanField.tsx +14 -0
- package/src/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.tsx +13 -0
- package/src/components/core/kanban/kanban-fields/SolidDecimalKanbanField.tsx +9 -0
- package/src/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.tsx +12 -0
- package/src/components/core/kanban/kanban-fields/SolidFloatKanbanField.tsx +9 -0
- package/src/components/core/kanban/kanban-fields/SolidIdKanbanField.tsx +14 -0
- package/src/components/core/kanban/kanban-fields/SolidIntKanbanField.tsx +20 -0
- package/src/components/core/kanban/kanban-fields/SolidLongTextKanbanField.tsx +9 -0
- package/src/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.tsx +140 -0
- package/src/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.tsx +164 -0
- package/src/components/core/kanban/kanban-fields/SolidRelationKanbanField.tsx +13 -0
- package/src/components/core/kanban/kanban-fields/SolidRichTextKanbanField.tsx +9 -0
- package/src/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.tsx +14 -0
- package/src/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.tsx +14 -0
- package/src/components/core/kanban/kanban-fields/SolidShortTextKanbanField.tsx +121 -0
- package/src/components/core/kanban/kanban-fields/SolidTimeKanbanField.tsx +12 -0
- package/src/components/core/kanban/kanban-fields/SolidUuidKanbanField.tsx +13 -0
- package/src/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.tsx +16 -0
- package/src/components/core/list/ListViewRowActionPopup.tsx +41 -0
- package/src/components/core/list/SolidColumnSelector/SolidListColumnSelector.tsx +242 -0
- package/src/components/core/list/SolidEmptyListViewPlaceholder.tsx +111 -0
- package/src/components/core/list/SolidListView.tsx +2004 -0
- package/src/components/core/list/SolidListViewColumn.tsx +165 -0
- package/src/components/core/list/SolidListViewConfigure.tsx +339 -0
- package/src/components/core/list/SolidListViewHeaderButton.tsx +31 -0
- package/src/components/core/list/SolidListViewHeaderContextMenuButton.tsx +30 -0
- package/src/components/core/list/SolidListViewRowButtonContextMenu.tsx +41 -0
- package/src/components/core/list/SolidListViewShimmerLoading.tsx +78 -0
- package/src/components/core/list/SolidListingHeader.tsx +42 -0
- package/src/components/core/list/SolidManyToOneFilterElement.tsx +60 -0
- package/src/components/core/list/SolidSelectionDynamicFilterElement.tsx +50 -0
- package/src/components/core/list/SolidSelectionStaticFilterElement.tsx +32 -0
- package/src/components/core/list/SolidTableRowCell.tsx +35 -0
- package/src/components/core/list/SolidVarInputsFilterElement.tsx +184 -0
- package/src/components/core/list/columns/SolidBigintColumn.tsx +9 -0
- package/src/components/core/list/columns/SolidBooleanColumn.tsx +90 -0
- package/src/components/core/list/columns/SolidComputedColumn.tsx +27 -0
- package/src/components/core/list/columns/SolidDateColumn.tsx +90 -0
- package/src/components/core/list/columns/SolidDatetimeColumn.tsx +79 -0
- package/src/components/core/list/columns/SolidDecimalColumn.tsx +9 -0
- package/src/components/core/list/columns/SolidExternalIdColumn.tsx +80 -0
- package/src/components/core/list/columns/SolidFloatColumn.tsx +9 -0
- package/src/components/core/list/columns/SolidIdColumn.tsx +79 -0
- package/src/components/core/list/columns/SolidIntColumn.tsx +87 -0
- package/src/components/core/list/columns/SolidLongTextColumn.tsx +9 -0
- package/src/components/core/list/columns/SolidMediaMultipleColumn.tsx +301 -0
- package/src/components/core/list/columns/SolidMediaSingleColumn.tsx +170 -0
- package/src/components/core/list/columns/SolidRelationColumn.tsx +21 -0
- package/src/components/core/list/columns/SolidRichTextColumn.tsx +9 -0
- package/src/components/core/list/columns/SolidSelectionDynamicColumn.tsx +80 -0
- package/src/components/core/list/columns/SolidSelectionStaticColumn.tsx +81 -0
- package/src/components/core/list/columns/SolidShortTextColumn.tsx +160 -0
- package/src/components/core/list/columns/SolidTimeColumn.tsx +78 -0
- package/src/components/core/list/columns/SolidUuidColumn.tsx +79 -0
- package/src/components/core/list/columns/relations/SolidRelationManyToManyColumn.tsx +106 -0
- package/src/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +117 -0
- package/src/components/core/list/columns/relations/SolidRelationOneToManyColumn.tsx +110 -0
- package/src/components/core/list/widgets/SolidManyToManyRelationAvatarListWidget.tsx +30 -0
- package/src/components/core/list/widgets/SolidManyToOneRelationAvatarListWidget.tsx +30 -0
- package/src/components/core/list/widgets/SolidShortTextAvatarWidget.tsx +70 -0
- package/src/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.tsx +21 -0
- package/src/components/core/locales/SolidChatterLocaleTabView.tsx +91 -0
- package/src/components/core/locales/SolidLocale.tsx +127 -0
- package/src/components/core/model/CreateModel.tsx +495 -0
- package/src/components/core/model/FieldMetaData.tsx +263 -0
- package/src/components/core/model/FieldMetaDataForm.tsx +3509 -0
- package/src/components/core/model/FieldSelector.tsx +62 -0
- package/src/components/core/model/ModelListViewData.tsx +384 -0
- package/src/components/core/model/ModelMetaData.tsx +921 -0
- package/src/components/core/module/CreateModule.tsx +617 -0
- package/src/components/core/module/ModuleListViewData.tsx +431 -0
- package/src/components/core/solid-ai/SolidAiMainWrapper.tsx +8 -0
- package/src/components/core/solid-ai/SolidXAIIcon.tsx +37 -0
- package/src/components/core/users/CreateUser.tsx +467 -0
- package/src/components/core/users/CreateUserRole.tsx +212 -0
- package/src/components/core/users/UserListView.tsx +376 -0
- package/src/components/layout/AdminLayout.tsx +57 -0
- package/src/components/layout/AdminSidebar.tsx +65 -0
- package/src/components/layout/AppConfig.tsx +104 -0
- package/src/components/layout/AppSidebar.tsx +232 -0
- package/src/components/layout/ButtonLoader.tsx +7 -0
- package/src/components/layout/CustomPagination.tsx +55 -0
- package/src/components/layout/DashboardHeader.tsx +89 -0
- package/src/components/layout/FilterMenu.tsx +122 -0
- package/src/components/layout/Footer.tsx +13 -0
- package/src/components/layout/GlobalSearch.tsx +37 -0
- package/src/components/layout/Header.tsx +8 -0
- package/src/components/layout/Layout.tsx +211 -0
- package/src/components/layout/ListingHeader.tsx +204 -0
- package/src/components/layout/Loader.tsx +16 -0
- package/src/components/layout/UserSidebar.tsx +53 -0
- package/src/components/layout/context/layoutcontext.tsx +52 -0
- package/src/components/layout/navbar-one.tsx +258 -0
- package/src/components/layout/navbar-two-menu.tsx +72 -0
- package/src/components/layout/navbar-two.tsx +37 -0
- package/src/components/layout/user-profile-menu.tsx +213 -0
- package/src/components/layout/user-profile.tsx +7 -0
- package/src/components/modelsComponents/filterIcon.tsx +9 -0
- package/src/constants/error-messages.ts +238 -0
- package/src/helpers/AppTitle.tsx +12 -0
- package/src/helpers/ToastContainer.tsx +94 -0
- package/src/helpers/autoCompleteVirtualScroll.ts +41 -0
- package/src/helpers/countries.tsx +260 -0
- package/src/helpers/downloadFileWithProgress.ts +91 -0
- package/src/helpers/downloadMediaFile.tsx +21 -0
- package/src/helpers/getAcceptedFileTypes.tsx +22 -0
- package/src/helpers/getRandomColors.tsx +68 -0
- package/src/helpers/helpers.ts +61 -0
- package/src/helpers/hydrateRelationRules.ts +120 -0
- package/src/helpers/permissions.ts +7 -0
- package/src/helpers/registry.ts +337 -0
- package/src/helpers/resendOtpHelper.tsx +5 -0
- package/src/helpers/revalidate.ts +7 -0
- package/src/helpers/rolesHelper.ts +17 -0
- package/src/helpers/solidIcons.tsx +1831 -0
- package/src/helpers/updatePasswordField.ts +41 -0
- package/src/index.ts +422 -0
- package/src/nextAuth/authProviders.tsx +231 -0
- package/src/nextAuth/handleLogout.tsx +39 -0
- package/src/nextAuth/refreshAccessToken.tsx +28 -0
- package/src/redux/api/aiInteractionApi.ts +59 -0
- package/src/redux/api/authApi.ts +131 -0
- package/src/redux/api/dashboardApi.ts +56 -0
- package/src/redux/api/dashboardQuestionApi.ts +17 -0
- package/src/redux/api/exportTemplateApi.tsx +59 -0
- package/src/redux/api/fetchBaseQuery.tsx +98 -0
- package/src/redux/api/fieldApi.ts +86 -0
- package/src/redux/api/importTransactionApi.tsx +69 -0
- package/src/redux/api/mediaApi.ts +55 -0
- package/src/redux/api/mediaStorageProviderApi.ts +55 -0
- package/src/redux/api/modelApi.ts +80 -0
- package/src/redux/api/moduleApi.ts +72 -0
- package/src/redux/api/permissionApi.ts +32 -0
- package/src/redux/api/pincodeApi.tsx +56 -0
- package/src/redux/api/roleApi.ts +58 -0
- package/src/redux/api/solidActionApi.ts +66 -0
- package/src/redux/api/solidChatterMessageApi.ts +25 -0
- package/src/redux/api/solidEntityApi.tsx +164 -0
- package/src/redux/api/solidMenuApi.ts +71 -0
- package/src/redux/api/solidServiceApi.ts +31 -0
- package/src/redux/api/solidSettingsApi.tsx +69 -0
- package/src/redux/api/solidViewApi.ts +73 -0
- package/src/redux/api/stateApi.tsx +56 -0
- package/src/redux/api/testApi.ts +21 -0
- package/src/redux/api/userApi.ts +135 -0
- package/src/redux/features/authSlice.ts +19 -0
- package/src/redux/features/dataViewSlice.ts +26 -0
- package/src/redux/features/navbarSlice.ts +21 -0
- package/src/redux/features/popupSlice.ts +37 -0
- package/src/redux/features/settingsSlice.ts +60 -0
- package/src/redux/features/themeSlice.ts +17 -0
- package/src/redux/features/userSlice.ts +28 -0
- package/src/redux/hooks/useSolidPopup.ts +20 -0
- package/src/redux/store/defaultStoreConfig.ts +64 -0
- package/src/styles.ts +4 -0
- package/src/types/index.d.ts +10 -2
- package/src/types/next.d.ts +1 -1
- package/dist/components/CustomFooter/CustomFooter.d.ts +0 -2
- package/dist/components/CustomFooter/CustomFooter.d.ts.map +0 -1
- package/dist/components/CustomFooter/CustomFooter.js +0 -162
- package/dist/components/CustomFooter/CustomFooter.js.map +0 -1
- package/dist/components/CustomFooter/FooterForm.d.ts +0 -2
- package/dist/components/CustomFooter/FooterForm.d.ts.map +0 -1
- package/dist/components/CustomFooter/FooterForm.js +0 -8
- package/dist/components/CustomFooter/FooterForm.js.map +0 -1
- package/dist/components/CustomHeader/CallIcon.d.ts +0 -2
- package/dist/components/CustomHeader/CallIcon.d.ts.map +0 -1
- package/dist/components/CustomHeader/CallIcon.js +0 -6
- package/dist/components/CustomHeader/CallIcon.js.map +0 -1
- package/dist/components/CustomHeader/CustomDropdown.d.ts +0 -21
- package/dist/components/CustomHeader/CustomDropdown.d.ts.map +0 -1
- package/dist/components/CustomHeader/CustomDropdown.js +0 -38
- package/dist/components/CustomHeader/CustomDropdown.js.map +0 -1
- package/dist/components/CustomHeader/CustomHeader.d.ts +0 -2
- package/dist/components/CustomHeader/CustomHeader.d.ts.map +0 -1
- package/dist/components/CustomHeader/CustomHeader.js +0 -18
- package/dist/components/CustomHeader/CustomHeader.js.map +0 -1
- package/dist/components/CustomHeader/EmailIcon.d.ts +0 -2
- package/dist/components/CustomHeader/EmailIcon.d.ts.map +0 -1
- package/dist/components/CustomHeader/EmailIcon.js +0 -6
- package/dist/components/CustomHeader/EmailIcon.js.map +0 -1
- package/dist/components/CustomHeader/HeaderCart.d.ts +0 -2
- package/dist/components/CustomHeader/HeaderCart.d.ts.map +0 -1
- package/dist/components/CustomHeader/HeaderCart.js +0 -7
- package/dist/components/CustomHeader/HeaderCart.js.map +0 -1
- package/dist/components/CustomHeader/productNavData.d.ts +0 -3
- package/dist/components/CustomHeader/productNavData.d.ts.map +0 -1
- package/dist/components/CustomHeader/productNavData.js +0 -178
- package/dist/components/CustomHeader/productNavData.js.map +0 -1
- package/dist/components/FormView/DetailsViews.d.ts +0 -2
- package/dist/components/FormView/DetailsViews.d.ts.map +0 -1
- package/dist/components/FormView/DetailsViews.js +0 -23
- package/dist/components/FormView/DetailsViews.js.map +0 -1
- package/dist/components/FormView/OrderAddressDetails.d.ts +0 -2
- package/dist/components/FormView/OrderAddressDetails.d.ts.map +0 -1
- package/dist/components/FormView/OrderAddressDetails.js +0 -31
- package/dist/components/FormView/OrderAddressDetails.js.map +0 -1
- package/dist/components/FormView/OrderPaymentDetails.d.ts +0 -2
- package/dist/components/FormView/OrderPaymentDetails.d.ts.map +0 -1
- package/dist/components/FormView/OrderPaymentDetails.js +0 -6
- package/dist/components/FormView/OrderPaymentDetails.js.map +0 -1
- package/dist/components/FormView/OrderTableDetails.d.ts +0 -2
- package/dist/components/FormView/OrderTableDetails.d.ts.map +0 -1
- package/dist/components/FormView/OrderTableDetails.js +0 -22
- package/dist/components/FormView/OrderTableDetails.js.map +0 -1
- package/dist/components/FormView/OrderedProductDetail.d.ts +0 -2
- package/dist/components/FormView/OrderedProductDetail.d.ts.map +0 -1
- package/dist/components/FormView/OrderedProductDetail.js +0 -6
- package/dist/components/FormView/OrderedProductDetail.js.map +0 -1
- package/dist/components/Tag/CustomTag.d.ts +0 -8
- package/dist/components/Tag/CustomTag.d.ts.map +0 -1
- package/dist/components/Tag/CustomTag.js +0 -34
- package/dist/components/Tag/CustomTag.js.map +0 -1
- package/dist/components/auth/Login.d.ts +0 -3
- package/dist/components/auth/Login.d.ts.map +0 -1
- package/dist/components/auth/Login.js +0 -117
- package/dist/components/auth/Login.js.map +0 -1
- package/dist/components/auth/Register.d.ts +0 -3
- package/dist/components/auth/Register.d.ts.map +0 -1
- package/dist/components/auth/Register.js +0 -173
- package/dist/components/auth/Register.js.map +0 -1
- package/dist/components/common/SolidExport.module.css +0 -66
- package/dist/components/core/dashboard/SolidDashboardVariableFilter.d.ts +0 -18
- package/dist/components/core/dashboard/SolidDashboardVariableFilter.d.ts.map +0 -1
- package/dist/components/core/dashboard/SolidDashboardVariableFilter.js +0 -57
- package/dist/components/core/dashboard/SolidDashboardVariableFilter.js.map +0 -1
- package/dist/components/core/dashboard/SolidDashboardVariableFilterDialog.d.ts +0 -10
- package/dist/components/core/dashboard/SolidDashboardVariableFilterDialog.d.ts.map +0 -1
- package/dist/components/core/dashboard/SolidDashboardVariableFilterDialog.js +0 -14
- package/dist/components/core/dashboard/SolidDashboardVariableFilterDialog.js.map +0 -1
- package/dist/components/core/dashboard/SolidDashboardVariableFilterWrapper.d.ts +0 -15
- package/dist/components/core/dashboard/SolidDashboardVariableFilterWrapper.d.ts.map +0 -1
- package/dist/components/core/dashboard/SolidDashboardVariableFilterWrapper.js +0 -121
- package/dist/components/core/dashboard/SolidDashboardVariableFilterWrapper.js.map +0 -1
- package/dist/components/core/dashboard/SolidDashboardVariableVarInputsFilterElement.d.ts +0 -7
- package/dist/components/core/dashboard/SolidDashboardVariableVarInputsFilterElement.d.ts.map +0 -1
- package/dist/components/core/dashboard/SolidDashboardVariableVarInputsFilterElement.js +0 -68
- package/dist/components/core/dashboard/SolidDashboardVariableVarInputsFilterElement.js.map +0 -1
- package/dist/components/core/dashboard/chart-renderers/BarChartRenderer.d.ts +0 -5
- package/dist/components/core/dashboard/chart-renderers/BarChartRenderer.d.ts.map +0 -1
- package/dist/components/core/dashboard/chart-renderers/BarChartRenderer.js +0 -33
- package/dist/components/core/dashboard/chart-renderers/BarChartRenderer.js.map +0 -1
- package/dist/components/core/dashboard/chart-renderers/LineChartRenderer.d.ts +0 -5
- package/dist/components/core/dashboard/chart-renderers/LineChartRenderer.d.ts.map +0 -1
- package/dist/components/core/dashboard/chart-renderers/LineChartRenderer.js +0 -33
- package/dist/components/core/dashboard/chart-renderers/LineChartRenderer.js.map +0 -1
- package/dist/components/core/dashboard/chart-renderers/PieChartRenderer.d.ts +0 -5
- package/dist/components/core/dashboard/chart-renderers/PieChartRenderer.d.ts.map +0 -1
- package/dist/components/core/dashboard/chart-renderers/PieChartRenderer.js +0 -32
- package/dist/components/core/dashboard/chart-renderers/PieChartRenderer.js.map +0 -1
- package/dist/components/core/dashboard/chart-renderers/PrimeReactMeterGroupRenderer.d.ts +0 -5
- package/dist/components/core/dashboard/chart-renderers/PrimeReactMeterGroupRenderer.d.ts.map +0 -1
- package/dist/components/core/dashboard/chart-renderers/PrimeReactMeterGroupRenderer.js +0 -39
- package/dist/components/core/dashboard/chart-renderers/PrimeReactMeterGroupRenderer.js.map +0 -1
- package/dist/components/core/dashboard/solid-dashboard.css +0 -3
- package/dist/components/core/dashboard/variable-filters/SolidDashboardSelectionDynamicFilterElement.d.ts +0 -2
- package/dist/components/core/dashboard/variable-filters/SolidDashboardSelectionDynamicFilterElement.d.ts.map +0 -1
- package/dist/components/core/dashboard/variable-filters/SolidDashboardSelectionDynamicFilterElement.js +0 -75
- package/dist/components/core/dashboard/variable-filters/SolidDashboardSelectionDynamicFilterElement.js.map +0 -1
- package/dist/components/core/dashboard/variable-filters/SolidDashboardVariableDate.d.ts +0 -9
- package/dist/components/core/dashboard/variable-filters/SolidDashboardVariableDate.d.ts.map +0 -1
- package/dist/components/core/dashboard/variable-filters/SolidDashboardVariableDate.js +0 -35
- package/dist/components/core/dashboard/variable-filters/SolidDashboardVariableDate.js.map +0 -1
- package/dist/components/core/dashboard/variable-filters/SolidDashboardVariableSelectionDynamic.d.ts +0 -4
- package/dist/components/core/dashboard/variable-filters/SolidDashboardVariableSelectionDynamic.d.ts.map +0 -1
- package/dist/components/core/dashboard/variable-filters/SolidDashboardVariableSelectionDynamic.js +0 -30
- package/dist/components/core/dashboard/variable-filters/SolidDashboardVariableSelectionDynamic.js.map +0 -1
- package/dist/components/core/dashboard/variable-filters/SolidDashboardVariableSelectionStatic.d.ts +0 -7
- package/dist/components/core/dashboard/variable-filters/SolidDashboardVariableSelectionStatic.d.ts.map +0 -1
- package/dist/components/core/dashboard/variable-filters/SolidDashboardVariableSelectionStatic.js +0 -32
- package/dist/components/core/dashboard/variable-filters/SolidDashboardVariableSelectionStatic.js.map +0 -1
- package/dist/components/core/extension/solid-core/question/BarChartWidget.d.ts +0 -4
- package/dist/components/core/extension/solid-core/question/BarChartWidget.d.ts.map +0 -1
- package/dist/components/core/extension/solid-core/question/BarChartWidget.js +0 -19
- package/dist/components/core/extension/solid-core/question/BarChartWidget.js.map +0 -1
- package/dist/components/core/extension/solid-core/question/ChartFormPreviewWidget.d.ts +0 -4
- package/dist/components/core/extension/solid-core/question/ChartFormPreviewWidget.d.ts.map +0 -1
- package/dist/components/core/extension/solid-core/question/ChartFormPreviewWidget.js +0 -24
- package/dist/components/core/extension/solid-core/question/ChartFormPreviewWidget.js.map +0 -1
- package/dist/components/core/extension/solid-core/question/ChartWidget.d.ts +0 -4
- package/dist/components/core/extension/solid-core/question/ChartWidget.d.ts.map +0 -1
- package/dist/components/core/extension/solid-core/question/ChartWidget.js +0 -25
- package/dist/components/core/extension/solid-core/question/ChartWidget.js.map +0 -1
- package/dist/components/core/filter/fields/SolidManyToManyFilterElement.d.ts +0 -2
- package/dist/components/core/filter/fields/SolidManyToManyFilterElement.d.ts.map +0 -1
- package/dist/components/core/filter/fields/SolidManyToManyFilterElement.js +0 -89
- package/dist/components/core/filter/fields/SolidManyToManyFilterElement.js.map +0 -1
- package/dist/components/core/list/SolidListColumnSelector.d.ts +0 -2
- package/dist/components/core/list/SolidListColumnSelector.d.ts.map +0 -1
- package/dist/components/core/list/SolidListColumnSelector.js +0 -172
- package/dist/components/core/list/SolidListColumnSelector.js.map +0 -1
- package/dist/components/core/list/widgets/SolidRelationAvatarWidget.d.ts +0 -4
- package/dist/components/core/list/widgets/SolidRelationAvatarWidget.d.ts.map +0 -1
- package/dist/components/core/list/widgets/SolidRelationAvatarWidget.js +0 -61
- package/dist/components/core/list/widgets/SolidRelationAvatarWidget.js.map +0 -1
- package/dist/components/core/locales/SolidLocale.module.css +0 -35
- package/dist/components/core/solid-ai/SolidXAI.module.css +0 -100
- package/dist/components/core/solid-ai/SolidXAIEmptyPlaceholder.d.ts +0 -2
- package/dist/components/core/solid-ai/SolidXAIEmptyPlaceholder.d.ts.map +0 -1
- package/dist/components/core/solid-ai/SolidXAIEmptyPlaceholder.js +0 -7
- package/dist/components/core/solid-ai/SolidXAIEmptyPlaceholder.js.map +0 -1
- package/dist/components/core/solid-ai/SolidXAIInputBox.d.ts +0 -8
- package/dist/components/core/solid-ai/SolidXAIInputBox.d.ts.map +0 -1
- package/dist/components/core/solid-ai/SolidXAIInputBox.js +0 -112
- package/dist/components/core/solid-ai/SolidXAIInputBox.js.map +0 -1
- package/dist/components/core/solid-ai/SolidXAIModule.d.ts +0 -2
- package/dist/components/core/solid-ai/SolidXAIModule.d.ts.map +0 -1
- package/dist/components/core/solid-ai/SolidXAIModule.js +0 -138
- package/dist/components/core/solid-ai/SolidXAIModule.js.map +0 -1
- package/dist/components/core/solid-ai/SolidXAIModuleHeader.d.ts +0 -2
- package/dist/components/core/solid-ai/SolidXAIModuleHeader.d.ts.map +0 -1
- package/dist/components/core/solid-ai/SolidXAIModuleHeader.js +0 -8
- package/dist/components/core/solid-ai/SolidXAIModuleHeader.js.map +0 -1
- package/dist/components/core/solid-ai/SolidXAIResponse.d.ts +0 -5
- package/dist/components/core/solid-ai/SolidXAIResponse.d.ts.map +0 -1
- package/dist/components/core/solid-ai/SolidXAIResponse.js +0 -28
- package/dist/components/core/solid-ai/SolidXAIResponse.js.map +0 -1
- package/dist/components/core/solid-ai/SolidXAIThinking.d.ts +0 -2
- package/dist/components/core/solid-ai/SolidXAIThinking.d.ts.map +0 -1
- package/dist/components/core/solid-ai/SolidXAIThinking.js +0 -9
- package/dist/components/core/solid-ai/SolidXAIThinking.js.map +0 -1
- package/dist/components/core/solid-ai/SolidXAIThreadWrapper.d.ts +0 -9
- package/dist/components/core/solid-ai/SolidXAIThreadWrapper.d.ts.map +0 -1
- package/dist/components/core/solid-ai/SolidXAIThreadWrapper.js +0 -242
- package/dist/components/core/solid-ai/SolidXAIThreadWrapper.js.map +0 -1
- package/dist/components/core/solid-ai/SolidXAiJsonDisplay.d.ts +0 -7
- package/dist/components/core/solid-ai/SolidXAiJsonDisplay.d.ts.map +0 -1
- package/dist/components/core/solid-ai/SolidXAiJsonDisplay.js +0 -348
- package/dist/components/core/solid-ai/SolidXAiJsonDisplay.js.map +0 -1
- package/dist/components/core/solid-ai/SolidXAiMarkdownDisplay.d.ts +0 -7
- package/dist/components/core/solid-ai/SolidXAiMarkdownDisplay.d.ts.map +0 -1
- package/dist/components/core/solid-ai/SolidXAiMarkdownDisplay.js +0 -35
- package/dist/components/core/solid-ai/SolidXAiMarkdownDisplay.js.map +0 -1
- package/dist/components/core/solid-ai/SolidXAiPlainTextDisplay.d.ts +0 -7
- package/dist/components/core/solid-ai/SolidXAiPlainTextDisplay.d.ts.map +0 -1
- package/dist/components/core/solid-ai/SolidXAiPlainTextDisplay.js +0 -15
- package/dist/components/core/solid-ai/SolidXAiPlainTextDisplay.js.map +0 -1
- package/dist/components/core/solid-ai/SolidXAiStatusErrorDisplay.d.ts +0 -7
- package/dist/components/core/solid-ai/SolidXAiStatusErrorDisplay.d.ts.map +0 -1
- package/dist/components/core/solid-ai/SolidXAiStatusErrorDisplay.js +0 -7
- package/dist/components/core/solid-ai/SolidXAiStatusErrorDisplay.js.map +0 -1
- package/dist/components/core/solid-ai/SolidXUserPrompt.d.ts +0 -5
- package/dist/components/core/solid-ai/SolidXUserPrompt.d.ts.map +0 -1
- package/dist/components/core/solid-ai/SolidXUserPrompt.js +0 -11
- package/dist/components/core/solid-ai/SolidXUserPrompt.js.map +0 -1
- package/dist/components/tables/DemoData.d.ts +0 -23
- package/dist/components/tables/DemoData.d.ts.map +0 -1
- package/dist/components/tables/DemoData.js +0 -317
- package/dist/components/tables/DemoData.js.map +0 -1
- package/dist/components/tables/DynamicTable.d.ts +0 -6
- package/dist/components/tables/DynamicTable.d.ts.map +0 -1
- package/dist/components/tables/DynamicTable.js +0 -24
- package/dist/components/tables/DynamicTable.js.map +0 -1
- package/dist/components/tables/ListViewTable.d.ts +0 -12
- package/dist/components/tables/ListViewTable.d.ts.map +0 -1
- package/dist/components/tables/ListViewTable.js +0 -120
- package/dist/components/tables/ListViewTable.js.map +0 -1
- package/dist/declarations.d.ts +0 -22
- package/dist/helpers/authHeader.d.ts +0 -7
- package/dist/helpers/authHeader.d.ts.map +0 -1
- package/dist/helpers/authHeader.js +0 -18
- package/dist/helpers/authHeader.js.map +0 -1
- package/dist/helpers/menu.d.ts +0 -35
- package/dist/helpers/menu.d.ts.map +0 -1
- package/dist/helpers/menu.js +0 -668
- package/dist/helpers/menu.js.map +0 -1
- package/dist/helpers/security-headers.d.ts +0 -32
- package/dist/helpers/security-headers.d.ts.map +0 -1
- package/dist/helpers/security-headers.js +0 -150
- package/dist/helpers/security-headers.js.map +0 -1
- package/dist/redux/api/articleApi.d.ts +0 -19
- package/dist/redux/api/articleApi.d.ts.map +0 -1
- package/dist/redux/api/articleApi.js +0 -57
- package/dist/redux/api/articleApi.js.map +0 -1
- package/dist/redux/api/automationApi.d.ts +0 -19
- package/dist/redux/api/automationApi.d.ts.map +0 -1
- package/dist/redux/api/automationApi.js +0 -57
- package/dist/redux/api/automationApi.js.map +0 -1
- package/dist/redux/api/categoryApi.d.ts +0 -10
- package/dist/redux/api/categoryApi.d.ts.map +0 -1
- package/dist/redux/api/categoryApi.js +0 -48
- package/dist/redux/api/categoryApi.js.map +0 -1
- package/dist/redux/api/cityApi.d.ts +0 -36
- package/dist/redux/api/cityApi.d.ts.map +0 -1
- package/dist/redux/api/cityApi.js +0 -54
- package/dist/redux/api/cityApi.js.map +0 -1
- package/dist/redux/api/cmsBannerImageApi.d.ts +0 -19
- package/dist/redux/api/cmsBannerImageApi.d.ts.map +0 -1
- package/dist/redux/api/cmsBannerImageApi.js +0 -57
- package/dist/redux/api/cmsBannerImageApi.js.map +0 -1
- package/dist/redux/api/countryApi.d.ts +0 -39
- package/dist/redux/api/countryApi.d.ts.map +0 -1
- package/dist/redux/api/countryApi.js +0 -57
- package/dist/redux/api/countryApi.js.map +0 -1
- package/dist/redux/api/menuApi.d.ts +0 -19
- package/dist/redux/api/menuApi.d.ts.map +0 -1
- package/dist/redux/api/menuApi.js +0 -57
- package/dist/redux/api/menuApi.js.map +0 -1
- package/dist/redux/api/menuItemsApi.d.ts +0 -19
- package/dist/redux/api/menuItemsApi.d.ts.map +0 -1
- package/dist/redux/api/menuItemsApi.js +0 -58
- package/dist/redux/api/menuItemsApi.js.map +0 -1
- package/dist/redux/api/orderAttributeApi.d.ts +0 -8
- package/dist/redux/api/orderAttributeApi.d.ts.map +0 -1
- package/dist/redux/api/orderAttributeApi.js +0 -39
- package/dist/redux/api/orderAttributeApi.js.map +0 -1
- package/dist/redux/api/productData.d.ts +0 -51
- package/dist/redux/api/productData.d.ts.map +0 -1
- package/dist/redux/api/productData.js +0 -78
- package/dist/redux/api/productData.js.map +0 -1
- package/dist/redux/api/questionApi.d.ts +0 -5
- package/dist/redux/api/questionApi.d.ts.map +0 -1
- package/dist/redux/api/questionApi.js +0 -18
- package/dist/redux/api/questionApi.js.map +0 -1
- package/dist/redux/api/radixExtraModelAttributeApi.d.ts +0 -8
- package/dist/redux/api/radixExtraModelAttributeApi.d.ts.map +0 -1
- package/dist/redux/api/radixExtraModelAttributeApi.js +0 -39
- package/dist/redux/api/radixExtraModelAttributeApi.js.map +0 -1
- package/dist/redux/api/radixModelMetadataApi.d.ts +0 -20
- package/dist/redux/api/radixModelMetadataApi.d.ts.map +0 -1
- package/dist/redux/api/radixModelMetadataApi.js +0 -64
- package/dist/redux/api/radixModelMetadataApi.js.map +0 -1
- package/dist/redux/api/radixModelsApi.d.ts +0 -13
- package/dist/redux/api/radixModelsApi.d.ts.map +0 -1
- package/dist/redux/api/radixModelsApi.js +0 -67
- package/dist/redux/api/radixModelsApi.js.map +0 -1
- package/dist/redux/api/ratingApi.d.ts +0 -19
- package/dist/redux/api/ratingApi.d.ts.map +0 -1
- package/dist/redux/api/ratingApi.js +0 -57
- package/dist/redux/api/ratingApi.js.map +0 -1
- package/dist/redux/api/reviewApi.d.ts +0 -19
- package/dist/redux/api/reviewApi.d.ts.map +0 -1
- package/dist/redux/api/reviewApi.js +0 -57
- package/dist/redux/api/reviewApi.js.map +0 -1
- package/dist/redux/api/tagApi.d.ts +0 -19
- package/dist/redux/api/tagApi.d.ts.map +0 -1
- package/dist/redux/api/tagApi.js +0 -57
- package/dist/redux/api/tagApi.js.map +0 -1
- package/dist/redux/api/tagGroupApi.d.ts +0 -19
- package/dist/redux/api/tagGroupApi.d.ts.map +0 -1
- package/dist/redux/api/tagGroupApi.js +0 -57
- package/dist/redux/api/tagGroupApi.js.map +0 -1
- package/dist/resources/images/Navigation/settings.png +0 -0
- package/dist/resources/images/SS-Logo.png +0 -0
- package/dist/types/handlebars.d.ts +0 -4
- package/dist/types/index.d.ts +0 -68
- package/dist/types/layout.d.ts +0 -94
- package/dist/types/next-auth.d.ts +0 -0
- package/dist/types/next.d.ts +0 -46
- package/dist/types/solid-core.d.ts +0 -320
- package/publish.js +0 -19
- package/tsconfig.json +0 -38
|
@@ -1,60 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
14
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
15
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
16
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
17
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
18
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
19
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
20
|
-
});
|
|
21
|
-
};
|
|
22
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
|
-
function step(op) {
|
|
27
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
28
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
29
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
30
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
31
|
-
switch (op[0]) {
|
|
32
|
-
case 0: case 1: t = op; break;
|
|
33
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
34
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
35
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
36
|
-
default:
|
|
37
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
38
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
39
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
40
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
41
|
-
if (t[2]) _.ops.pop();
|
|
42
|
-
_.trys.pop(); continue;
|
|
43
|
-
}
|
|
44
|
-
op = body.call(thisArg, _);
|
|
45
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
46
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
50
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
51
|
-
if (ar || !(i in from)) {
|
|
52
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
53
|
-
ar[i] = from[i];
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
57
|
-
};
|
|
58
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
59
3
|
import React, { forwardRef, useEffect, useImperativeHandle, useRef, useState } from "react";
|
|
60
4
|
import { Dialog } from "primereact/dialog";
|
|
@@ -70,40 +14,37 @@ import { useSelector } from "react-redux";
|
|
|
70
14
|
import { SolidSaveCustomFilterForm } from "./SolidSaveCustomFilterForm";
|
|
71
15
|
import { ERROR_MESSAGES } from "../../../constants/error-messages";
|
|
72
16
|
import { hydrateRelationRules } from "../../../helpers/hydrateRelationRules";
|
|
73
|
-
|
|
17
|
+
const getRandomInt = (min, max) => {
|
|
74
18
|
return Math.floor(Math.random() * (max - min + 1)) + min;
|
|
75
19
|
};
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
var node = nodes_1[_i];
|
|
81
|
-
if ((node === null || node === void 0 ? void 0 : node.type) === "field") {
|
|
20
|
+
const extractFields = (nodes = []) => {
|
|
21
|
+
const result = [];
|
|
22
|
+
for (const node of nodes) {
|
|
23
|
+
if (node?.type === "field") {
|
|
82
24
|
result.push(node);
|
|
83
25
|
}
|
|
84
|
-
if (Array.isArray(node
|
|
85
|
-
result.push
|
|
26
|
+
if (Array.isArray(node?.children)) {
|
|
27
|
+
result.push(...extractFields(node.children));
|
|
86
28
|
}
|
|
87
29
|
}
|
|
88
30
|
return result;
|
|
89
31
|
};
|
|
90
|
-
|
|
91
|
-
if (parentRule === void 0) { parentRule = null; }
|
|
32
|
+
const transformFiltersToRules = (filter, parentRule = null) => {
|
|
92
33
|
if (!filter || typeof filter !== "object" || Object.keys(filter).length === 0) {
|
|
93
34
|
throw new Error("Invalid filter: expected a non-null object with properties");
|
|
94
35
|
}
|
|
95
36
|
if (!filter || typeof filter !== "object") {
|
|
96
37
|
throw new Error("Invalid filter: expected a non-null object");
|
|
97
38
|
}
|
|
98
|
-
|
|
39
|
+
const currentId = idCounter++;
|
|
99
40
|
if (filter["$or"]) {
|
|
100
41
|
return {
|
|
101
42
|
id: currentId,
|
|
102
43
|
type: FilterRuleType.RULE_GROUP,
|
|
103
44
|
matchOperator: FilterOperator.OR,
|
|
104
|
-
parentRule
|
|
45
|
+
parentRule,
|
|
105
46
|
children: filter["$or"]
|
|
106
|
-
.filter(
|
|
47
|
+
.filter((sub) => {
|
|
107
48
|
// Filter out null, undefined, empty strings, and empty objects
|
|
108
49
|
if (sub == null)
|
|
109
50
|
return false;
|
|
@@ -113,7 +54,7 @@ var transformFiltersToRules = function (filter, parentRule) {
|
|
|
113
54
|
return false;
|
|
114
55
|
return true;
|
|
115
56
|
})
|
|
116
|
-
.map(
|
|
57
|
+
.map((subFilter) => transformFiltersToRules(subFilter, currentId))
|
|
117
58
|
};
|
|
118
59
|
}
|
|
119
60
|
if (filter["$and"]) {
|
|
@@ -121,9 +62,9 @@ var transformFiltersToRules = function (filter, parentRule) {
|
|
|
121
62
|
id: currentId,
|
|
122
63
|
type: FilterRuleType.RULE_GROUP,
|
|
123
64
|
matchOperator: FilterOperator.AND,
|
|
124
|
-
parentRule
|
|
65
|
+
parentRule,
|
|
125
66
|
children: filter["$and"]
|
|
126
|
-
.filter(
|
|
67
|
+
.filter((sub) => {
|
|
127
68
|
// Filter out null, undefined, empty strings, and empty objects
|
|
128
69
|
if (sub == null)
|
|
129
70
|
return false;
|
|
@@ -133,100 +74,95 @@ var transformFiltersToRules = function (filter, parentRule) {
|
|
|
133
74
|
return false;
|
|
134
75
|
return true;
|
|
135
76
|
})
|
|
136
|
-
.map(
|
|
77
|
+
.map((subFilter) => transformFiltersToRules(subFilter, currentId))
|
|
137
78
|
};
|
|
138
79
|
}
|
|
139
80
|
// Handle single rule condition
|
|
140
|
-
for (
|
|
141
|
-
|
|
81
|
+
for (const fieldName in filter) {
|
|
82
|
+
const condition = filter[fieldName];
|
|
142
83
|
if (!condition || typeof condition !== "object") {
|
|
143
|
-
throw new Error(
|
|
84
|
+
throw new Error(`Invalid condition for field '${fieldName}'`);
|
|
144
85
|
}
|
|
145
86
|
// CASE 1: relation filter → unwrap first
|
|
146
|
-
if (
|
|
147
|
-
for (
|
|
148
|
-
|
|
149
|
-
|
|
87
|
+
if (condition?.id && typeof condition?.id === "object") {
|
|
88
|
+
for (const matchMode in condition.id) {
|
|
89
|
+
const rawValue = condition.id[matchMode];
|
|
90
|
+
const mathcModeValue = matchMode;
|
|
150
91
|
return {
|
|
151
92
|
id: currentId,
|
|
152
93
|
type: FilterRuleType.RULE,
|
|
153
|
-
fieldName
|
|
94
|
+
fieldName,
|
|
154
95
|
matchMode: mathcModeValue,
|
|
155
96
|
value: Array.isArray(rawValue) ? rawValue : [rawValue],
|
|
156
|
-
parentRule
|
|
97
|
+
parentRule,
|
|
157
98
|
children: []
|
|
158
99
|
};
|
|
159
100
|
}
|
|
160
101
|
}
|
|
161
102
|
// CASE 2: normal field → loop stays
|
|
162
|
-
for (
|
|
163
|
-
|
|
164
|
-
|
|
103
|
+
for (const matchMode in condition) {
|
|
104
|
+
const rawValue = condition[matchMode];
|
|
105
|
+
const mathcModeValue = matchMode;
|
|
165
106
|
return {
|
|
166
107
|
id: currentId,
|
|
167
108
|
type: FilterRuleType.RULE,
|
|
168
|
-
fieldName
|
|
109
|
+
fieldName,
|
|
169
110
|
matchMode: mathcModeValue,
|
|
170
111
|
value: Array.isArray(rawValue) ? rawValue : [rawValue],
|
|
171
|
-
parentRule
|
|
112
|
+
parentRule,
|
|
172
113
|
children: []
|
|
173
114
|
};
|
|
174
115
|
}
|
|
175
116
|
}
|
|
176
117
|
throw new Error(ERROR_MESSAGES.INVALID_FILTER_STRUCTURE);
|
|
177
118
|
};
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
119
|
+
let idCounter = 1;
|
|
120
|
+
const generateId = () => Date.now() + Math.floor(Math.random() * 1000);
|
|
121
|
+
const transformRulesToFilters = (input, viewData) => {
|
|
181
122
|
// Helper function to process individual rules
|
|
182
|
-
|
|
183
|
-
var _a, _b, _c, _d;
|
|
184
|
-
var _e, _f;
|
|
123
|
+
const processRule = (rule) => {
|
|
185
124
|
if (rule.value !== undefined && rule.value !== null) {
|
|
186
125
|
// Ensure rule.value is always an array
|
|
187
|
-
|
|
126
|
+
let values = typeof rule.value[0] === "object" ? rule.value.map((i) => i?.value ? i?.value : i) : rule?.value;
|
|
188
127
|
if (rule.matchMode !== '$in' && rule.matchMode !== '$notIn' && rule.matchMode !== '$between' && rule.matchMode !== '$null' && rule.matchMode !== '$notNull') {
|
|
189
128
|
values = values[0];
|
|
190
129
|
}
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
130
|
+
const fieldMeta = viewData?.data?.solidFieldsMetadata?.[rule.fieldName];
|
|
131
|
+
const isManyToMany = fieldMeta?.type === 'relation' && fieldMeta?.relationType === 'many-to-many';
|
|
132
|
+
let transformedRule;
|
|
194
133
|
if (isManyToMany) {
|
|
195
134
|
// For many-to-many relations, always use array format for $in/$notIn
|
|
196
|
-
transformedRule =
|
|
197
|
-
|
|
198
|
-
id:
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
_a);
|
|
135
|
+
transformedRule = {
|
|
136
|
+
[rule.fieldName]: {
|
|
137
|
+
id: {
|
|
138
|
+
[rule.matchMode]: values // Keep as array
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
};
|
|
204
142
|
}
|
|
205
143
|
else {
|
|
206
144
|
// Rule transformation
|
|
207
|
-
transformedRule =
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
_c);
|
|
145
|
+
transformedRule = {
|
|
146
|
+
[rule.fieldName]: {
|
|
147
|
+
[rule.matchMode]: values // Assuming `value` is always an array with `value` and `label`
|
|
148
|
+
}
|
|
149
|
+
};
|
|
213
150
|
}
|
|
214
|
-
|
|
151
|
+
let processedFields;
|
|
215
152
|
if (rule.children && rule.children.length > 0) {
|
|
216
|
-
processedFields = rule.children.map(
|
|
153
|
+
processedFields = rule.children.map((child) => processRuleGroup(child)).filter((child) => child != null);
|
|
217
154
|
;
|
|
218
155
|
}
|
|
219
156
|
if (processedFields) {
|
|
220
|
-
return
|
|
157
|
+
return { ...transformedRule, processedFields };
|
|
221
158
|
}
|
|
222
|
-
return
|
|
159
|
+
return { ...transformedRule };
|
|
223
160
|
}
|
|
224
161
|
};
|
|
225
162
|
// Helper function to process rule groups
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
var children = ruleGroup.children.map(function (child) {
|
|
163
|
+
const processRuleGroup = (ruleGroup) => {
|
|
164
|
+
const operator = ruleGroup.matchOperator === 'or' ? '$or' : '$and';
|
|
165
|
+
const children = ruleGroup.children.map((child) => {
|
|
230
166
|
if (child.type === 'rule') {
|
|
231
167
|
// Process the rule
|
|
232
168
|
return processRule(child);
|
|
@@ -235,7 +171,7 @@ var transformRulesToFilters = function (input, viewData) {
|
|
|
235
171
|
// Process the rule group recursively
|
|
236
172
|
return processRuleGroup(child);
|
|
237
173
|
}
|
|
238
|
-
}).filter(
|
|
174
|
+
}).filter((child) => child != null);
|
|
239
175
|
// If no valid children, return null
|
|
240
176
|
// if (children.length === 0) {
|
|
241
177
|
// return null;
|
|
@@ -244,31 +180,30 @@ var transformRulesToFilters = function (input, viewData) {
|
|
|
244
180
|
// if (children.length === 1) {
|
|
245
181
|
// return children[0];
|
|
246
182
|
// }
|
|
247
|
-
return
|
|
248
|
-
|
|
249
|
-
|
|
183
|
+
return {
|
|
184
|
+
[operator]: children
|
|
185
|
+
};
|
|
250
186
|
};
|
|
251
187
|
// Start processing the root rule group
|
|
252
|
-
|
|
188
|
+
const filterObject = processRuleGroup(input);
|
|
253
189
|
if (!filterObject) {
|
|
254
190
|
return {};
|
|
255
191
|
}
|
|
256
192
|
function liftProcessedFields(filters) {
|
|
257
193
|
if (!filters || typeof filters !== 'object')
|
|
258
194
|
return filters;
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
for (
|
|
262
|
-
var obj = arr_1[_i];
|
|
195
|
+
const processArray = (arr) => {
|
|
196
|
+
let newArr = [];
|
|
197
|
+
for (let obj of arr) {
|
|
263
198
|
if (obj && obj.processedFields) {
|
|
264
|
-
|
|
199
|
+
let processed = processArray(obj.processedFields); // Recursively process nested processedFields
|
|
265
200
|
delete obj.processedFields;
|
|
266
|
-
newArr.push
|
|
201
|
+
newArr.push(obj, ...processed);
|
|
267
202
|
}
|
|
268
203
|
else {
|
|
269
204
|
newArr.push(obj);
|
|
270
205
|
}
|
|
271
|
-
for (
|
|
206
|
+
for (let key in obj) {
|
|
272
207
|
if (Array.isArray(obj[key])) {
|
|
273
208
|
obj[key] = processArray(obj[key]);
|
|
274
209
|
}
|
|
@@ -276,7 +211,7 @@ var transformRulesToFilters = function (input, viewData) {
|
|
|
276
211
|
}
|
|
277
212
|
return newArr;
|
|
278
213
|
};
|
|
279
|
-
for (
|
|
214
|
+
for (let key in filters) {
|
|
280
215
|
if (Array.isArray(filters[key])) {
|
|
281
216
|
filters[key] = processArray(filters[key]);
|
|
282
217
|
}
|
|
@@ -287,31 +222,24 @@ var transformRulesToFilters = function (input, viewData) {
|
|
|
287
222
|
};
|
|
288
223
|
// Build nested condition for relation fields
|
|
289
224
|
function buildNestedCondition(path, operatorKey, value) {
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
return keys.reduceRight(function (acc, key) {
|
|
294
|
-
var _a;
|
|
295
|
-
return (_a = {}, _a[key] = acc, _a);
|
|
296
|
-
}, leaf);
|
|
225
|
+
const keys = path.split(".").filter(Boolean);
|
|
226
|
+
const leaf = { [operatorKey]: value };
|
|
227
|
+
return keys.reduceRight((acc, key) => ({ [key]: acc }), leaf);
|
|
297
228
|
}
|
|
298
|
-
|
|
229
|
+
const tranformSearchToFilters = (input) => {
|
|
299
230
|
if (!input || !input.$and)
|
|
300
231
|
return input;
|
|
301
|
-
|
|
302
|
-
input.$and.forEach(
|
|
303
|
-
|
|
304
|
-
var _c, _d;
|
|
305
|
-
var fieldName = _a.fieldName, value = _a.value, searchField = _a.searchField, matchMode = _a.matchMode;
|
|
306
|
-
var val = Array.isArray(value) && value.length === 1 ? value[0] : value;
|
|
232
|
+
const grouped = {};
|
|
233
|
+
input.$and.forEach(({ fieldName, value, searchField, matchMode }) => {
|
|
234
|
+
const val = Array.isArray(value) && value.length === 1 ? value[0] : value;
|
|
307
235
|
if (!grouped[fieldName]) {
|
|
308
236
|
grouped[fieldName] = { values: [], searchField: searchField || "", matchMode: matchMode || "$containsi" };
|
|
309
237
|
}
|
|
310
238
|
if (Array.isArray(val)) {
|
|
311
|
-
|
|
239
|
+
grouped[fieldName]?.values.push(...val);
|
|
312
240
|
}
|
|
313
241
|
else {
|
|
314
|
-
|
|
242
|
+
grouped[fieldName]?.values.push(val);
|
|
315
243
|
}
|
|
316
244
|
});
|
|
317
245
|
// return {
|
|
@@ -321,11 +249,9 @@ var tranformSearchToFilters = function (input) {
|
|
|
321
249
|
// }
|
|
322
250
|
// }))
|
|
323
251
|
// };
|
|
324
|
-
|
|
325
|
-
Object.entries(grouped).forEach(
|
|
326
|
-
|
|
327
|
-
var fieldName = _a[0], value = _a[1];
|
|
328
|
-
var isNested = value.searchField ? value.searchField.includes(".") : false;
|
|
252
|
+
const andFilters = [];
|
|
253
|
+
Object.entries(grouped).forEach(([fieldName, value]) => {
|
|
254
|
+
const isNested = value.searchField ? value.searchField.includes(".") : false;
|
|
329
255
|
if (isNested) {
|
|
330
256
|
// NESTED: use $eq and expand dot-notation into nested objects
|
|
331
257
|
if (value.values.length === 1) {
|
|
@@ -333,26 +259,23 @@ var tranformSearchToFilters = function (input) {
|
|
|
333
259
|
}
|
|
334
260
|
else {
|
|
335
261
|
andFilters.push({
|
|
336
|
-
$or: value.values.map(
|
|
262
|
+
$or: value.values.map(v => buildNestedCondition(value.searchField, value.matchMode, v)),
|
|
337
263
|
});
|
|
338
264
|
}
|
|
339
265
|
}
|
|
340
266
|
else {
|
|
341
267
|
if (value.values.length === 1) {
|
|
342
|
-
andFilters.push(
|
|
343
|
-
|
|
268
|
+
andFilters.push({
|
|
269
|
+
[fieldName]: {
|
|
344
270
|
$containsi: value.values[0]
|
|
345
|
-
}
|
|
346
|
-
|
|
271
|
+
}
|
|
272
|
+
});
|
|
347
273
|
}
|
|
348
274
|
else {
|
|
349
275
|
andFilters.push({
|
|
350
|
-
$or: value.values.map(
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
_a[fieldName] = { $containsi: v },
|
|
354
|
-
_a);
|
|
355
|
-
})
|
|
276
|
+
$or: value.values.map((v) => ({
|
|
277
|
+
[fieldName]: { $containsi: v }
|
|
278
|
+
}))
|
|
356
279
|
});
|
|
357
280
|
}
|
|
358
281
|
}
|
|
@@ -361,8 +284,8 @@ var tranformSearchToFilters = function (input) {
|
|
|
361
284
|
$and: andFilters
|
|
362
285
|
};
|
|
363
286
|
};
|
|
364
|
-
export
|
|
365
|
-
|
|
287
|
+
export const mergeSearchAndCustomFilters = (transformedFilter, newFilter, transformedFilterName, newFilterName) => {
|
|
288
|
+
const filters = {};
|
|
366
289
|
// Add only non-null filters
|
|
367
290
|
if (transformedFilter && Object.keys(transformedFilter).length > 0) {
|
|
368
291
|
filters[transformedFilterName] = transformedFilter;
|
|
@@ -373,8 +296,8 @@ export var mergeSearchAndCustomFilters = function (transformedFilter, newFilter,
|
|
|
373
296
|
// Return the combined filters object
|
|
374
297
|
return filters;
|
|
375
298
|
};
|
|
376
|
-
export
|
|
377
|
-
|
|
299
|
+
export const mergeAllDiffFilters = (customFilter, searchFilter, savedFilter, preDefinedFilter) => {
|
|
300
|
+
const filters = {};
|
|
378
301
|
// Add only non-null filters
|
|
379
302
|
if (customFilter && Object.keys(customFilter).length > 0) {
|
|
380
303
|
filters["custom_filter_predicate"] = customFilter;
|
|
@@ -391,32 +314,30 @@ export var mergeAllDiffFilters = function (customFilter, searchFilter, savedFilt
|
|
|
391
314
|
// Return the combined filters object
|
|
392
315
|
return filters;
|
|
393
316
|
};
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
return (_jsxs("div", { className: "flex align-items-center justify-content-between gap-2", children: [_jsxs("div", { children: [_jsx(Button, { text: true, size: "small", className: "text-base py-1 w-full", severity: Number(activeSavedFilter) == savedfilter.id ? "secondary" : "contrast", onClick: function () { return applySavedFilter(savedfilter); }, children: savedfilter.name }), (savedfilter === null || savedfilter === void 0 ? void 0 : savedfilter.description) && _jsx("p", { className: "text-xs pl-3", children: savedfilter === null || savedfilter === void 0 ? void 0 : savedfilter.description })] }), _jsxs("div", { className: "flex align-items-center gap-2", children: [_jsx(Button, { icon: "pi pi-pencil", style: { fontSize: 10 }, severity: "secondary", outlined: true, size: "small", onClick: function () { return openSavedCustomFilter(savedfilter); } }), _jsx(Button, { icon: "pi pi-trash", style: { fontSize: 10 }, severity: "secondary", outlined: true, size: "small", onClick: function () {
|
|
317
|
+
const SavedFilterList = ({ savedfilter, activeSavedFilter, applySavedFilter, openSavedCustomFilter, setSavedFilterTobeDeleted, setIsDeleteSQDialogVisible }) => {
|
|
318
|
+
return (_jsxs("div", { className: "flex align-items-center justify-content-between gap-2", children: [_jsxs("div", { children: [_jsx(Button, { text: true, size: "small", className: "text-base py-1 w-full", severity: Number(activeSavedFilter) == savedfilter.id ? "secondary" : "contrast", onClick: () => applySavedFilter(savedfilter), children: savedfilter.name }), savedfilter?.description && _jsx("p", { className: "text-xs pl-3", children: savedfilter?.description })] }), _jsxs("div", { className: "flex align-items-center gap-2", children: [_jsx(Button, { icon: "pi pi-pencil", style: { fontSize: 10 }, severity: "secondary", outlined: true, size: "small", onClick: () => openSavedCustomFilter(savedfilter) }), _jsx(Button, { icon: "pi pi-trash", style: { fontSize: 10 }, severity: "secondary", outlined: true, size: "small", onClick: () => {
|
|
397
319
|
setSavedFilterTobeDeleted(savedfilter.id),
|
|
398
320
|
setIsDeleteSQDialogVisible(true);
|
|
399
321
|
} })] })] }));
|
|
400
322
|
};
|
|
401
|
-
|
|
323
|
+
const replacePlaceholders = (obj, searchValue) => {
|
|
402
324
|
if (typeof obj === 'string') {
|
|
403
325
|
return obj.replace(/\{\{search\}\}/g, searchValue);
|
|
404
326
|
}
|
|
405
327
|
if (Array.isArray(obj)) {
|
|
406
|
-
return obj.map(
|
|
328
|
+
return obj.map(item => replacePlaceholders(item, searchValue));
|
|
407
329
|
}
|
|
408
330
|
if (obj && typeof obj === 'object') {
|
|
409
|
-
|
|
410
|
-
for (
|
|
331
|
+
const newObj = {};
|
|
332
|
+
for (const key in obj) {
|
|
411
333
|
newObj[key] = replacePlaceholders(obj[key], searchValue);
|
|
412
334
|
}
|
|
413
335
|
return newObj;
|
|
414
336
|
}
|
|
415
337
|
return obj;
|
|
416
338
|
};
|
|
417
|
-
export
|
|
418
|
-
|
|
419
|
-
var defaultState = [
|
|
339
|
+
export const SolidGlobalSearchElement = forwardRef(({ viewData, handleApplyCustomFilter, filters, clearFilter, showSaveFilterPopup, setShowSaveFilterPopup }, ref) => {
|
|
340
|
+
const defaultState = [
|
|
420
341
|
{
|
|
421
342
|
id: 1,
|
|
422
343
|
type: FilterRuleType.RULE_GROUP,
|
|
@@ -444,199 +365,177 @@ export var SolidGlobalSearchElement = forwardRef(function (_a, ref) {
|
|
|
444
365
|
]
|
|
445
366
|
}
|
|
446
367
|
];
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
368
|
+
const [initialState, setInitialState] = useState(defaultState);
|
|
369
|
+
const pathname = usePathname();
|
|
370
|
+
const searchParams = useSearchParams(); // Converts the query params to a string
|
|
371
|
+
const activeSavedFilter = searchParams?.get("savedQuery");
|
|
372
|
+
const router = useRouter();
|
|
373
|
+
const chipsRef = useRef(null);
|
|
453
374
|
// filterRules is used to maintian the ui of custom filter
|
|
454
375
|
// customFilter is used to maintian the transformed filter object of custom filter
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
376
|
+
const [filterRules, setFilterRules] = useState(initialState);
|
|
377
|
+
const [customFilter, setCustomFilter] = useState(null);
|
|
378
|
+
const [fields, setFields] = useState([]);
|
|
379
|
+
const [searchableFields, setSearchableFields] = useState([]);
|
|
459
380
|
// used to show the list of predefined searches
|
|
460
|
-
|
|
381
|
+
const [predefinedSearches, setPredefinedSearches] = useState([]);
|
|
461
382
|
// used to open / close the custom fitler popup
|
|
462
|
-
|
|
383
|
+
const [showGlobalSearchElement, setShowGlobalSearchElement] = useState(false);
|
|
463
384
|
// searchChips maintain the ui to display searched query
|
|
464
385
|
// searchFilter maintain the transformed filter of the searched query
|
|
465
|
-
|
|
466
|
-
|
|
386
|
+
const [searchChips, setSearchChips] = useState([]);
|
|
387
|
+
const [searchFilter, setSearchFilter] = useState(null);
|
|
467
388
|
// predefinedSearchChip maintain the ui to display predefined searches query
|
|
468
|
-
|
|
389
|
+
const [predefinedSearchChip, setPredefinedSearchChip] = useState(null);
|
|
469
390
|
// state to maintain the text typed in the search input box
|
|
470
|
-
|
|
391
|
+
const [inputValue, setInputValue] = useState("");
|
|
471
392
|
// flag to prevent un necessary re renders
|
|
472
|
-
|
|
393
|
+
const [hasSearched, setHasSearched] = useState(false);
|
|
473
394
|
// currentSavedFilterData is used to save the whole object of saved filter
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
useEffect(
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
$
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
savedFilter = _k.sent();
|
|
534
|
-
if (savedFilter) {
|
|
535
|
-
console.log("savedFilter", savedFilter);
|
|
536
|
-
setSavedFilters(savedFilter === null || savedFilter === void 0 ? void 0 : savedFilter.records);
|
|
537
|
-
setSavedFiltersLoaded(true);
|
|
538
|
-
}
|
|
539
|
-
return [2 /*return*/];
|
|
540
|
-
}
|
|
541
|
-
});
|
|
542
|
-
}); };
|
|
395
|
+
const [currentSavedFilterData, setCurrentSavedFilterData] = useState();
|
|
396
|
+
const [currentSavedFilterQuery, setCurrentSavedFilterQuery] = useState();
|
|
397
|
+
const [currentSavedFilterRules, setCurrentSavedFilterRules] = useState();
|
|
398
|
+
const [showSavedFilterComponent, setShowSavedFilterComponent] = useState(false);
|
|
399
|
+
const [savedFilterTobeDeleted, setSavedFilterTobeDeleted] = useState();
|
|
400
|
+
const [isDeleteSQDialogVisible, setIsDeleteSQDialogVisible] = useState(false);
|
|
401
|
+
const [savedFilterQueryString, setSavedFilterQueryString] = useState();
|
|
402
|
+
const [showOverlay, setShowOverlay] = useState(false);
|
|
403
|
+
const overlayRef = useRef(null);
|
|
404
|
+
const { user } = useSelector((state) => state.auth);
|
|
405
|
+
const [refreshKey, setRefreshKey] = useState(0);
|
|
406
|
+
const [predefinedSearchBaseFilter, setPredefinedSearchBaseFilter] = useState(null);
|
|
407
|
+
const [savedFilters, setSavedFilters] = useState([]);
|
|
408
|
+
const [savedFiltersLoaded, setSavedFiltersLoaded] = useState(false);
|
|
409
|
+
const entityApi = createSolidEntityApi("savedFilters");
|
|
410
|
+
const { useCreateSolidEntityMutation, useDeleteSolidEntityMutation, useGetSolidEntityByIdQuery, useUpdateSolidEntityMutation, useLazyGetSolidEntitiesQuery } = entityApi;
|
|
411
|
+
const [createEntity, { isSuccess: isEntityCreateSuccess, isError: isEntityCreateError, error: entityCreateError },] = useCreateSolidEntityMutation();
|
|
412
|
+
const [updateEntity, { isSuccess: isEntityUpdateSuceess, isError: isEntityUpdateError, error: entityUpdateError },] = useUpdateSolidEntityMutation();
|
|
413
|
+
const [deleteEntity, { isSuccess: isEntityDeleteSuceess, isError: isEntityDeleteError, error: entityDeleteError },] = useDeleteSolidEntityMutation();
|
|
414
|
+
const [triggerGetSolidEntities, { data: solidEntityListViewData, isLoading: isSavedFilterLoading, error }] = useLazyGetSolidEntitiesQuery();
|
|
415
|
+
const [savedFilterFetchDataRefreshKey, setSavedFilterFetchDataRefreshKey] = useState(0);
|
|
416
|
+
useEffect(() => {
|
|
417
|
+
const fn = async () => {
|
|
418
|
+
setSavedFiltersLoaded(false);
|
|
419
|
+
const filters = {
|
|
420
|
+
$or: [
|
|
421
|
+
{
|
|
422
|
+
$and: [
|
|
423
|
+
{ model: { $in: [viewData?.data?.solidView?.model?.id] } },
|
|
424
|
+
{ view: { $in: [viewData?.solidView?.id] } },
|
|
425
|
+
{ user: { $in: [user?.user?.id] } },
|
|
426
|
+
{ isPrivate: { $eq: true } }
|
|
427
|
+
]
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
$and: [
|
|
431
|
+
{ model: { $in: [viewData?.data?.solidView?.model?.id] } },
|
|
432
|
+
{ view: { $in: [viewData?.solidView?.id] } },
|
|
433
|
+
{ isPrivate: { $eq: false } }
|
|
434
|
+
]
|
|
435
|
+
}
|
|
436
|
+
]
|
|
437
|
+
};
|
|
438
|
+
const queryData = {
|
|
439
|
+
offset: 0,
|
|
440
|
+
limit: 10,
|
|
441
|
+
filters: filters,
|
|
442
|
+
populate: ["model", "view", "user"],
|
|
443
|
+
sort: ["id:desc"],
|
|
444
|
+
};
|
|
445
|
+
const queryString = qs.stringify(queryData, { encodeValuesOnly: true });
|
|
446
|
+
setSavedFilterQueryString(queryString);
|
|
447
|
+
const savedFilter = await triggerGetSolidEntities(queryString).unwrap();
|
|
448
|
+
if (savedFilter) {
|
|
449
|
+
console.log("savedFilter", savedFilter);
|
|
450
|
+
setSavedFilters(savedFilter?.records);
|
|
451
|
+
setSavedFiltersLoaded(true);
|
|
452
|
+
}
|
|
453
|
+
};
|
|
543
454
|
fn();
|
|
544
455
|
}, [activeSavedFilter, savedFilterFetchDataRefreshKey]);
|
|
545
|
-
useImperativeHandle(ref,
|
|
546
|
-
clearFilter:
|
|
456
|
+
useImperativeHandle(ref, () => ({
|
|
457
|
+
clearFilter: () => {
|
|
547
458
|
setFilterRules(initialState);
|
|
548
459
|
}
|
|
549
|
-
})
|
|
550
|
-
useEffect(
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
finalSavedFilter = filterJson;
|
|
570
|
-
setCurrentSavedFilterQuery(finalSavedFilter);
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
else {
|
|
575
|
-
setCurrentSavedFilterData(null);
|
|
576
|
-
setCurrentSavedFilterQuery(null);
|
|
577
|
-
}
|
|
578
|
-
if (queryObject) {
|
|
579
|
-
if (queryObject) {
|
|
580
|
-
searchChips = (queryObject === null || queryObject === void 0 ? void 0 : queryObject.search_predicate) || null;
|
|
581
|
-
customChips = (queryObject === null || queryObject === void 0 ? void 0 : queryObject.custom_filter_predicate) || null;
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
if (searchChips) {
|
|
585
|
-
formattedChips = searchChips === null || searchChips === void 0 ? void 0 : searchChips.$and.map(function (chip, key) {
|
|
586
|
-
var _a;
|
|
587
|
-
var chipKey = Object.keys(chip)[0]; // Get the key, e.g., "displayName"
|
|
588
|
-
var chipValue = (_a = chip[chipKey]) === null || _a === void 0 ? void 0 : _a.$containsi; // Get the value of "$containsi"
|
|
589
|
-
var chipdata = {
|
|
590
|
-
columnName: chipKey,
|
|
591
|
-
value: chipValue
|
|
592
|
-
};
|
|
593
|
-
return chipdata;
|
|
594
|
-
});
|
|
595
|
-
setSearchChips(formattedChips);
|
|
596
|
-
setSearchFilter(searchChips);
|
|
460
|
+
}));
|
|
461
|
+
useEffect(() => {
|
|
462
|
+
const fn = async () => {
|
|
463
|
+
let searchChips;
|
|
464
|
+
let customChips;
|
|
465
|
+
let parsedSearchParams = searchParams;
|
|
466
|
+
if (savedFiltersLoaded) {
|
|
467
|
+
if (activeSavedFilter && savedFilters.length === 0)
|
|
468
|
+
return;
|
|
469
|
+
const queryObject = queryStringToQueryObject();
|
|
470
|
+
// const savedQuery = parsedSearchParams?.get("savedQuery");
|
|
471
|
+
if (activeSavedFilter) {
|
|
472
|
+
const currentSavedFilterId = Number(activeSavedFilter);
|
|
473
|
+
const currentSavedFilterData = savedFilters.find((savedFilter) => savedFilter.id === currentSavedFilterId);
|
|
474
|
+
setCurrentSavedFilterData(currentSavedFilterData);
|
|
475
|
+
if (currentSavedFilterData) {
|
|
476
|
+
const filterJson = JSON.parse(currentSavedFilterData?.filterQueryJson);
|
|
477
|
+
if (filterJson) {
|
|
478
|
+
let finalSavedFilter = filterJson;
|
|
479
|
+
setCurrentSavedFilterQuery(finalSavedFilter);
|
|
597
480
|
}
|
|
598
|
-
|
|
599
|
-
setCustomFilter(customChips);
|
|
600
|
-
rules = transformFiltersToRules(customChips);
|
|
601
|
-
return [4 /*yield*/, hydrateRelationRules([rules], viewData)];
|
|
602
|
-
case 1:
|
|
603
|
-
hydratedRules = _a.sent();
|
|
604
|
-
setFilterRules(hydratedRules);
|
|
605
|
-
_a.label = 2;
|
|
606
|
-
case 2:
|
|
607
|
-
setHasSearched(true);
|
|
608
|
-
setRefreshKey(function (prev) { return prev + 1; });
|
|
609
|
-
_a.label = 3;
|
|
610
|
-
case 3: return [2 /*return*/];
|
|
481
|
+
}
|
|
611
482
|
}
|
|
612
|
-
|
|
613
|
-
|
|
483
|
+
else {
|
|
484
|
+
setCurrentSavedFilterData(null);
|
|
485
|
+
setCurrentSavedFilterQuery(null);
|
|
486
|
+
}
|
|
487
|
+
if (queryObject) {
|
|
488
|
+
if (queryObject) {
|
|
489
|
+
searchChips = queryObject?.search_predicate || null;
|
|
490
|
+
customChips = queryObject?.custom_filter_predicate || null;
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
if (searchChips) {
|
|
494
|
+
const formattedChips = searchChips?.$and.map((chip, key) => {
|
|
495
|
+
const chipKey = Object.keys(chip)[0]; // Get the key, e.g., "displayName"
|
|
496
|
+
const chipValue = chip[chipKey]?.$containsi; // Get the value of "$containsi"
|
|
497
|
+
const chipdata = {
|
|
498
|
+
columnName: chipKey,
|
|
499
|
+
value: chipValue
|
|
500
|
+
};
|
|
501
|
+
return chipdata;
|
|
502
|
+
});
|
|
503
|
+
setSearchChips(formattedChips);
|
|
504
|
+
setSearchFilter(searchChips);
|
|
505
|
+
}
|
|
506
|
+
if (customChips && Object.keys(customChips).length !== 0) {
|
|
507
|
+
setCustomFilter(customChips);
|
|
508
|
+
const rules = transformFiltersToRules(customChips);
|
|
509
|
+
const hydratedRules = await hydrateRelationRules([rules], viewData);
|
|
510
|
+
setFilterRules(hydratedRules);
|
|
511
|
+
}
|
|
512
|
+
setHasSearched(true);
|
|
513
|
+
setRefreshKey((prev) => prev + 1);
|
|
514
|
+
}
|
|
515
|
+
};
|
|
614
516
|
fn();
|
|
615
517
|
}, [activeSavedFilter, savedFilters, savedFiltersLoaded]);
|
|
616
|
-
useEffect(
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
var fieldsData = (_b = viewData === null || viewData === void 0 ? void 0 : viewData.data) === null || _b === void 0 ? void 0 : _b.solidFieldsMetadata;
|
|
518
|
+
useEffect(() => {
|
|
519
|
+
if (viewData?.data?.solidFieldsMetadata) {
|
|
520
|
+
let fieldsData = viewData?.data?.solidFieldsMetadata;
|
|
620
521
|
// console.log(`fiels data while rendering solid global search element: `);
|
|
621
522
|
// console.log(fieldsData);
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
var key = _a[0], value = _a[1];
|
|
627
|
-
var viewFieldElement = fieldElements_1.find(function (f) { var _a; return ((_a = f === null || f === void 0 ? void 0 : f.attrs) === null || _a === void 0 ? void 0 : _a.name) === key; });
|
|
523
|
+
const layoutChildren = viewData?.data?.solidView?.layout?.children ?? [];
|
|
524
|
+
const fieldElements = extractFields(layoutChildren);
|
|
525
|
+
const fieldsList = Object.entries(fieldsData ?? {}).map(([key, value]) => {
|
|
526
|
+
const viewFieldElement = fieldElements.find((f) => f?.attrs?.name === key);
|
|
628
527
|
return {
|
|
629
528
|
name: value.displayName,
|
|
630
529
|
value: key,
|
|
631
530
|
type: value.type,
|
|
632
531
|
ormType: value.ormType,
|
|
633
|
-
matchMode:
|
|
634
|
-
searchField:
|
|
635
|
-
isSearchable:
|
|
532
|
+
matchMode: viewFieldElement?.attrs?.searchMatchMode,
|
|
533
|
+
searchField: viewFieldElement?.attrs?.searchField ?? null,
|
|
534
|
+
isSearchable: viewFieldElement?.attrs?.isSearchable ?? false,
|
|
636
535
|
};
|
|
637
536
|
});
|
|
638
537
|
setFields(fieldsList);
|
|
639
|
-
|
|
538
|
+
const searchableFieldsList = fieldsList.filter((field) => {
|
|
640
539
|
if (!field.isSearchable)
|
|
641
540
|
return false;
|
|
642
541
|
switch (field.type) {
|
|
@@ -657,63 +556,63 @@ export var SolidGlobalSearchElement = forwardRef(function (_a, ref) {
|
|
|
657
556
|
});
|
|
658
557
|
// console.log("searchableFieldsList", searchableFieldsList);
|
|
659
558
|
// Optionally map to a minimal structure if needed for UI
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
matchMode: field.matchMode
|
|
667
|
-
});
|
|
668
|
-
});
|
|
559
|
+
let finalSearchableFieldsList = searchableFieldsList.map((field) => ({
|
|
560
|
+
fieldName: field.value,
|
|
561
|
+
displayName: field.name,
|
|
562
|
+
searchField: field.searchField ?? "",
|
|
563
|
+
matchMode: field.matchMode
|
|
564
|
+
}));
|
|
669
565
|
// console.log("finalSearchableFieldsList", finalSearchableFieldsList);
|
|
670
566
|
setSearchableFields(finalSearchableFieldsList);
|
|
671
|
-
|
|
567
|
+
const predefinedSearchesList = viewData?.data?.solidView?.layout?.attrs?.predefinedSearches || [];
|
|
672
568
|
setPredefinedSearches(predefinedSearchesList);
|
|
673
569
|
}
|
|
674
570
|
// used to open the
|
|
675
571
|
}, []);
|
|
676
|
-
useEffect(
|
|
572
|
+
useEffect(() => {
|
|
677
573
|
if (chipsRef.current) {
|
|
678
|
-
|
|
574
|
+
const inputElement = chipsRef.current.querySelector("input");
|
|
679
575
|
if (inputElement) {
|
|
680
|
-
inputElement.addEventListener("input",
|
|
576
|
+
inputElement.addEventListener("input", (e) => {
|
|
681
577
|
setInputValue(e.target.value);
|
|
682
578
|
});
|
|
683
579
|
}
|
|
684
580
|
}
|
|
685
581
|
}, []);
|
|
686
|
-
|
|
687
|
-
if (inputValue
|
|
688
|
-
|
|
582
|
+
const handleAddChip = (columnName) => {
|
|
583
|
+
if (inputValue?.trim()) {
|
|
584
|
+
const fallbackField = searchableFields[0]; // guaranteed object
|
|
689
585
|
if (!fallbackField)
|
|
690
586
|
return;
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
587
|
+
// Support comma-separated values: split, trim and add as separate chips
|
|
588
|
+
const values = inputValue.split(",").map(v => v.trim()).filter(v => v !== "");
|
|
589
|
+
const fieldName = columnName || fallbackField.fieldName;
|
|
590
|
+
const chipsToAdd = values.map(v => ({
|
|
591
|
+
columnName: fieldName,
|
|
592
|
+
value: v,
|
|
694
593
|
columnDisplayName: fallbackField.displayName,
|
|
695
594
|
searchField: fallbackField.searchField,
|
|
696
595
|
matchMode: fallbackField.matchMode
|
|
697
|
-
};
|
|
698
|
-
setSearchChips(
|
|
596
|
+
}));
|
|
597
|
+
setSearchChips((prev) => [...prev, ...chipsToAdd]);
|
|
699
598
|
setInputValue("");
|
|
700
599
|
setHasSearched(true);
|
|
701
|
-
setRefreshKey(
|
|
600
|
+
setRefreshKey((prev) => prev + 1);
|
|
702
601
|
}
|
|
703
602
|
};
|
|
704
|
-
|
|
603
|
+
const clearCustomFilter = () => {
|
|
705
604
|
// handleApplyCustomFilter(finalFilter)
|
|
706
605
|
setFilterRules(initialState);
|
|
707
606
|
setCustomFilter(null);
|
|
708
607
|
// setPredefinedSearchChip(null)
|
|
709
608
|
// setPredefinedSearchBaseFilter(null)
|
|
710
609
|
setHasSearched(true);
|
|
711
|
-
setRefreshKey(
|
|
610
|
+
setRefreshKey((prev) => prev + 1);
|
|
712
611
|
};
|
|
713
|
-
|
|
714
|
-
|
|
612
|
+
const transformCustomFilterRules = (filterRules) => {
|
|
613
|
+
const transformedFilter = transformRulesToFilters(filterRules[0], viewData);
|
|
715
614
|
// If there's a predefined search, merge it with the new custom filter
|
|
716
|
-
|
|
615
|
+
let finalCustomFilter = transformedFilter;
|
|
717
616
|
// if (predefinedSearchChip && predefinedSearchBaseFilter) {
|
|
718
617
|
// // Combine predefined filter with new custom filter
|
|
719
618
|
// finalCustomFilter = {
|
|
@@ -724,12 +623,12 @@ export var SolidGlobalSearchElement = forwardRef(function (_a, ref) {
|
|
|
724
623
|
// handleApplyCustomFilter(finalFilter);
|
|
725
624
|
setShowGlobalSearchElement(false);
|
|
726
625
|
setHasSearched(true);
|
|
727
|
-
setRefreshKey(
|
|
626
|
+
setRefreshKey((prev) => prev + 1);
|
|
728
627
|
};
|
|
729
|
-
|
|
730
|
-
|
|
628
|
+
const transformSavedFilterRules = (filterRules) => {
|
|
629
|
+
const transformedFilter = transformRulesToFilters(filterRules[0], viewData);
|
|
731
630
|
// If there's a predefined search, merge it with the new custom filter
|
|
732
|
-
|
|
631
|
+
let finalCustomFilter = transformedFilter;
|
|
733
632
|
// if (predefinedSearchChip && predefinedSearchBaseFilter) {
|
|
734
633
|
// // Combine predefined filter with new custom filter
|
|
735
634
|
// finalCustomFilter = {
|
|
@@ -740,184 +639,150 @@ export var SolidGlobalSearchElement = forwardRef(function (_a, ref) {
|
|
|
740
639
|
// handleApplyCustomFilter(finalFilter);
|
|
741
640
|
setShowSavedFilterComponent(false);
|
|
742
641
|
setHasSearched(true);
|
|
743
|
-
setRefreshKey(
|
|
642
|
+
setRefreshKey((prev) => prev + 1);
|
|
744
643
|
};
|
|
745
|
-
useEffect(
|
|
644
|
+
useEffect(() => {
|
|
746
645
|
if (refreshKey > 0) {
|
|
747
646
|
console.log("refres", refreshKey);
|
|
748
647
|
console.log("hasSearched", hasSearched);
|
|
749
|
-
|
|
750
|
-
$and: searchChips.map(
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
searchField: (_a = chip.searchField) !== null && _a !== void 0 ? _a : "",
|
|
757
|
-
});
|
|
758
|
-
})
|
|
648
|
+
const formattedChips = {
|
|
649
|
+
$and: searchChips.map((chip) => ({
|
|
650
|
+
fieldName: chip.columnName,
|
|
651
|
+
matchMode: chip.matchMode,
|
|
652
|
+
value: [chip.value],
|
|
653
|
+
searchField: chip.searchField ?? "",
|
|
654
|
+
}))
|
|
759
655
|
};
|
|
760
|
-
|
|
656
|
+
const finalSearchFilter = tranformSearchToFilters(formattedChips);
|
|
761
657
|
setSearchFilter(finalSearchFilter);
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
658
|
+
let finalSavedFilter = currentSavedFilterQuery;
|
|
659
|
+
const finalPredefinedFilter = predefinedSearchBaseFilter;
|
|
660
|
+
const finalCustomFilter = customFilter;
|
|
765
661
|
console.log("finalCustomFilter", finalCustomFilter);
|
|
766
662
|
console.log("finalPredefinedFilter", finalPredefinedFilter);
|
|
767
663
|
console.log("finalSavedFilter", finalSavedFilter);
|
|
768
664
|
console.log("finalSearchFilter", finalSearchFilter);
|
|
769
|
-
|
|
665
|
+
const finalFilter = mergeAllDiffFilters(finalCustomFilter, finalSearchFilter, finalSavedFilter, finalPredefinedFilter);
|
|
770
666
|
handleApplyCustomFilter(finalFilter);
|
|
771
667
|
// }
|
|
772
668
|
}
|
|
773
669
|
}, [refreshKey]);
|
|
774
670
|
// Handle predefined search selection
|
|
775
|
-
|
|
671
|
+
const hasCustomFilterChanged = () => {
|
|
776
672
|
if (!predefinedSearchChip || !customFilter || !predefinedSearchBaseFilter) {
|
|
777
673
|
return false;
|
|
778
674
|
}
|
|
779
675
|
// Deep comparison to check if filter has changed
|
|
780
676
|
return JSON.stringify(customFilter) !== JSON.stringify(predefinedSearchBaseFilter);
|
|
781
677
|
};
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
filterJson = JSON.parse(currentSavedFilterData_2 === null || currentSavedFilterData_2 === void 0 ? void 0 : currentSavedFilterData_2.filterQueryJson);
|
|
811
|
-
if (!filterJson) return [3 /*break*/, 2];
|
|
812
|
-
finalSavedFilter = filterJson;
|
|
678
|
+
const openSavedCustomFilter = async (savedfilter) => {
|
|
679
|
+
//Open custom filter popup
|
|
680
|
+
// router.push(`?savedQuery=${savedfilter.id}`);
|
|
681
|
+
// setShowGlobalSearchElement(true);
|
|
682
|
+
// // dont refetch the data yet
|
|
683
|
+
// const customFilter = JSON.parse(savedfilter.filterQueryJson);
|
|
684
|
+
// setCustomFilter(customFilter ? customFilter : null);
|
|
685
|
+
// if (customFilter) {
|
|
686
|
+
// const formatedCustomChips: FilterRule = transformFiltersToRules(customFilter ? customFilter : null);
|
|
687
|
+
// setFilterRules(formatedCustomChips ? [formatedCustomChips] : initialState);
|
|
688
|
+
// }
|
|
689
|
+
setSearchChips([]);
|
|
690
|
+
setSearchFilter(null);
|
|
691
|
+
setFilterRules(initialState);
|
|
692
|
+
setCustomFilter(null);
|
|
693
|
+
setPredefinedSearchChip(null);
|
|
694
|
+
setPredefinedSearchBaseFilter(null);
|
|
695
|
+
// push the savedQuery=1 in url
|
|
696
|
+
if (savedfilter?.id) {
|
|
697
|
+
const savedfilterId = savedfilter.id;
|
|
698
|
+
// router.push(`?savedQuery=${savedfilter.id}`);
|
|
699
|
+
setShowOverlay(false);
|
|
700
|
+
const currentSavedFilterData = savedFilters.find((savedFilter) => savedFilter.id === savedfilterId);
|
|
701
|
+
setCurrentSavedFilterData(currentSavedFilterData);
|
|
702
|
+
if (currentSavedFilterData) {
|
|
703
|
+
const filterJson = JSON.parse(currentSavedFilterData?.filterQueryJson);
|
|
704
|
+
if (filterJson) {
|
|
705
|
+
let finalSavedFilter = filterJson;
|
|
813
706
|
setCurrentSavedFilterQuery(finalSavedFilter);
|
|
814
|
-
rules = transformFiltersToRules(finalSavedFilter ? finalSavedFilter : null);
|
|
815
|
-
|
|
816
|
-
case 1:
|
|
817
|
-
hydratedRules = _a.sent();
|
|
707
|
+
const rules = transformFiltersToRules(finalSavedFilter ? finalSavedFilter : null);
|
|
708
|
+
const hydratedRules = await hydrateRelationRules([rules], viewData);
|
|
818
709
|
setCurrentSavedFilterRules(hydratedRules ? hydratedRules : initialState);
|
|
819
710
|
setShowSavedFilterComponent(true);
|
|
820
|
-
|
|
821
|
-
case 2: return [3 /*break*/, 4];
|
|
822
|
-
case 3:
|
|
823
|
-
console.error(ERROR_MESSAGES.SAVE_FILTER_UNDEFINED_NULL);
|
|
824
|
-
_a.label = 4;
|
|
825
|
-
case 4: return [2 /*return*/];
|
|
711
|
+
}
|
|
826
712
|
}
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
713
|
+
}
|
|
714
|
+
else {
|
|
715
|
+
console.error(ERROR_MESSAGES.SAVE_FILTER_UNDEFINED_NULL);
|
|
716
|
+
}
|
|
717
|
+
};
|
|
718
|
+
const deleteSavedFilter = async () => {
|
|
719
|
+
// delte the saved filter with id
|
|
720
|
+
await deleteEntity(savedFilterTobeDeleted);
|
|
721
|
+
// triggerGetSolidEntities(savedFilterQueryString);
|
|
722
|
+
let parsedSearchParams = searchParams;
|
|
723
|
+
const savedQuery = parsedSearchParams?.get("savedQuery");
|
|
724
|
+
if (savedFilterTobeDeleted == savedQuery) {
|
|
725
|
+
const urlParams = new URLSearchParams(window.location.search);
|
|
726
|
+
urlParams.delete("savedQuery");
|
|
727
|
+
router.push(`?${urlParams.toString()}`);
|
|
728
|
+
}
|
|
729
|
+
setIsDeleteSQDialogVisible(false);
|
|
730
|
+
setTimeout(() => {
|
|
731
|
+
setSavedFilterFetchDataRefreshKey(prev => prev + 1);
|
|
732
|
+
}, 500);
|
|
733
|
+
};
|
|
734
|
+
const handleSaveFilter = async (formValues) => {
|
|
735
|
+
setShowSaveFilterPopup(false);
|
|
736
|
+
try {
|
|
737
|
+
if (formValues.id) {
|
|
738
|
+
const filterJson = currentSavedFilterQuery;
|
|
739
|
+
const formData = new FormData();
|
|
740
|
+
formData.append("name", formValues.name);
|
|
741
|
+
formData.append("filterQueryJson", JSON.stringify(filterJson, null, 2));
|
|
742
|
+
formData.append("modelId", viewData?.data?.solidView?.model?.id);
|
|
743
|
+
formData.append("viewId", viewData?.data?.solidView?.id);
|
|
744
|
+
formData.append("isPrivate", formValues.isPrivate);
|
|
745
|
+
formData.append("userId", user?.user?.id);
|
|
746
|
+
await updateEntity({ id: +formValues.id, data: formData }).unwrap();
|
|
747
|
+
setSearchChips([]);
|
|
748
|
+
setSearchFilter(null);
|
|
749
|
+
setFilterRules(initialState);
|
|
750
|
+
setCustomFilter(null);
|
|
751
|
+
setPredefinedSearchChip(null);
|
|
752
|
+
const currentPageUrl = window.location.pathname; // Get the current page URL
|
|
753
|
+
localStorage.removeItem(currentPageUrl); // Store in local storage with the URL as the key
|
|
754
|
+
setPredefinedSearchBaseFilter(null);
|
|
755
|
+
setTimeout(() => {
|
|
756
|
+
router.push(`?savedQuery=${formValues.id}`);
|
|
757
|
+
}, 500);
|
|
851
758
|
}
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
return [4 /*yield*/, updateEntity({ id: +formValues.id, data: formData }).unwrap()];
|
|
874
|
-
case 2:
|
|
875
|
-
_o.sent();
|
|
876
|
-
setSearchChips([]);
|
|
877
|
-
setSearchFilter(null);
|
|
878
|
-
setFilterRules(initialState);
|
|
879
|
-
setCustomFilter(null);
|
|
880
|
-
setPredefinedSearchChip(null);
|
|
881
|
-
currentPageUrl = window.location.pathname;
|
|
882
|
-
localStorage.removeItem(currentPageUrl); // Store in local storage with the URL as the key
|
|
883
|
-
setPredefinedSearchBaseFilter(null);
|
|
884
|
-
setTimeout(function () {
|
|
885
|
-
router.push("?savedQuery=".concat(formValues.id));
|
|
886
|
-
}, 500);
|
|
887
|
-
return [3 /*break*/, 5];
|
|
888
|
-
case 3:
|
|
889
|
-
filterJson = customFilter;
|
|
890
|
-
formData = new FormData();
|
|
891
|
-
formData.append("name", formValues.name);
|
|
892
|
-
formData.append("filterQueryJson", JSON.stringify(filterJson, null, 2));
|
|
893
|
-
formData.append("modelId", (_j = (_h = (_g = viewData === null || viewData === void 0 ? void 0 : viewData.data) === null || _g === void 0 ? void 0 : _g.solidView) === null || _h === void 0 ? void 0 : _h.model) === null || _j === void 0 ? void 0 : _j.id);
|
|
894
|
-
formData.append("viewId", (_l = (_k = viewData === null || viewData === void 0 ? void 0 : viewData.data) === null || _k === void 0 ? void 0 : _k.solidView) === null || _l === void 0 ? void 0 : _l.id);
|
|
895
|
-
formData.append("isPrivate", formValues.isPrivate);
|
|
896
|
-
formData.append("userId", (_m = user === null || user === void 0 ? void 0 : user.user) === null || _m === void 0 ? void 0 : _m.id);
|
|
897
|
-
return [4 /*yield*/, createEntity(formData).unwrap()];
|
|
898
|
-
case 4:
|
|
899
|
-
result_1 = _o.sent();
|
|
900
|
-
setSearchChips([]);
|
|
901
|
-
setSearchFilter(null);
|
|
902
|
-
setFilterRules(initialState);
|
|
903
|
-
setCustomFilter(null);
|
|
904
|
-
setPredefinedSearchChip(null);
|
|
905
|
-
setPredefinedSearchBaseFilter(null);
|
|
906
|
-
currentPageUrl = window.location.pathname;
|
|
907
|
-
localStorage.removeItem(currentPageUrl); // Store in local storage with the URL as the key
|
|
908
|
-
setTimeout(function () {
|
|
909
|
-
router.push("?savedQuery=".concat(result_1.data.id));
|
|
910
|
-
}, 500);
|
|
911
|
-
_o.label = 5;
|
|
912
|
-
case 5: return [3 /*break*/, 7];
|
|
913
|
-
case 6:
|
|
914
|
-
error_1 = _o.sent();
|
|
915
|
-
return [3 /*break*/, 7];
|
|
916
|
-
case 7: return [2 /*return*/];
|
|
759
|
+
else {
|
|
760
|
+
const filterJson = customFilter;
|
|
761
|
+
const formData = new FormData();
|
|
762
|
+
formData.append("name", formValues.name);
|
|
763
|
+
formData.append("filterQueryJson", JSON.stringify(filterJson, null, 2));
|
|
764
|
+
formData.append("modelId", viewData?.data?.solidView?.model?.id);
|
|
765
|
+
formData.append("viewId", viewData?.data?.solidView?.id);
|
|
766
|
+
formData.append("isPrivate", formValues.isPrivate);
|
|
767
|
+
formData.append("userId", user?.user?.id);
|
|
768
|
+
const result = await createEntity(formData).unwrap();
|
|
769
|
+
setSearchChips([]);
|
|
770
|
+
setSearchFilter(null);
|
|
771
|
+
setFilterRules(initialState);
|
|
772
|
+
setCustomFilter(null);
|
|
773
|
+
setPredefinedSearchChip(null);
|
|
774
|
+
setPredefinedSearchBaseFilter(null);
|
|
775
|
+
const currentPageUrl = window.location.pathname; // Get the current page URL
|
|
776
|
+
localStorage.removeItem(currentPageUrl); // Store in local storage with the URL as the key
|
|
777
|
+
setTimeout(() => {
|
|
778
|
+
router.push(`?savedQuery=${result.data.id}`);
|
|
779
|
+
}, 500);
|
|
917
780
|
}
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
|
|
781
|
+
}
|
|
782
|
+
catch (error) {
|
|
783
|
+
}
|
|
784
|
+
};
|
|
785
|
+
useEffect(() => {
|
|
921
786
|
// Explicitly type the event as a MouseEvent
|
|
922
787
|
function handleClickOutside(event) {
|
|
923
788
|
if (overlayRef.current && !overlayRef.current.contains(event.target)) {
|
|
@@ -927,81 +792,73 @@ export var SolidGlobalSearchElement = forwardRef(function (_a, ref) {
|
|
|
927
792
|
if (showOverlay) {
|
|
928
793
|
document.addEventListener("mousedown", handleClickOutside);
|
|
929
794
|
}
|
|
930
|
-
return
|
|
795
|
+
return () => {
|
|
931
796
|
document.removeEventListener("mousedown", handleClickOutside);
|
|
932
797
|
};
|
|
933
798
|
}, [showOverlay]);
|
|
934
|
-
|
|
935
|
-
var _a, _b, _c, _d;
|
|
799
|
+
const CustomChip = () => {
|
|
936
800
|
console.log("customFilter", customFilter);
|
|
937
|
-
|
|
938
|
-
|
|
801
|
+
const ruleCount = customFilter?.$or?.length ??
|
|
802
|
+
customFilter?.$and?.length ??
|
|
803
|
+
Object.keys(customFilter || {}).length;
|
|
804
|
+
return (_jsx("li", { children: _jsxs("div", { className: "custom-filter-chip-type", children: [_jsxs("div", { className: "flex align-items-center gap-2 text-base", children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", onClick: () => {
|
|
939
805
|
setShowGlobalSearchElement(true);
|
|
940
806
|
}, children: [_jsx("rect", { width: "20", height: "20", rx: "4", fill: "#722ED1" }), _jsx("path", { d: "M8.66667 15V13.3333H11.3333V15H8.66667ZM6 10.8333V9.16667H14V10.8333H6ZM4 6.66667V5H16V6.66667H4Z", fill: "white" })] }), _jsxs("span", { children: [_jsx("strong", { children: ruleCount }), " rules applied"] })] }), _jsx("a", { onClick: clearCustomFilter, style: { cursor: "pointer" }, children: _jsx("i", { className: "pi pi-times ml-1" }) })] }) }));
|
|
941
807
|
};
|
|
942
808
|
//saved filter related code start
|
|
943
|
-
|
|
809
|
+
const applySavedFilter = (savedfilter) => {
|
|
944
810
|
setSearchChips([]);
|
|
945
811
|
setSearchFilter(null);
|
|
946
812
|
setFilterRules(initialState);
|
|
947
813
|
setCustomFilter(null);
|
|
948
814
|
setPredefinedSearchChip(null);
|
|
949
815
|
setPredefinedSearchBaseFilter(null);
|
|
950
|
-
|
|
816
|
+
const currentPageUrl = window.location.pathname; // Get the current page URL
|
|
951
817
|
localStorage.removeItem(currentPageUrl); // Store in local storage with the URL as the key
|
|
952
818
|
// push the savedQuery=1 in url
|
|
953
|
-
if (savedfilter
|
|
954
|
-
router.push(
|
|
819
|
+
if (savedfilter?.id) {
|
|
820
|
+
router.push(`?savedQuery=${savedfilter.id}`);
|
|
955
821
|
setShowOverlay(false);
|
|
956
822
|
}
|
|
957
823
|
else {
|
|
958
824
|
console.error(ERROR_MESSAGES.SAVE_FILTER_UNDEFINED_NULL);
|
|
959
825
|
}
|
|
960
826
|
};
|
|
961
|
-
|
|
962
|
-
|
|
827
|
+
const removeSavedFilter = () => {
|
|
828
|
+
const params = new URLSearchParams(searchParams.toString());
|
|
963
829
|
setCurrentSavedFilterData(null);
|
|
964
830
|
setCurrentSavedFilterQuery(null);
|
|
965
831
|
if (params.has("savedQuery")) {
|
|
966
832
|
params.delete("savedQuery");
|
|
967
|
-
|
|
968
|
-
?
|
|
833
|
+
const newUrl = params.toString()
|
|
834
|
+
? `${pathname}?${params.toString()}`
|
|
969
835
|
: pathname;
|
|
970
836
|
router.push(newUrl);
|
|
971
837
|
}
|
|
972
838
|
};
|
|
973
|
-
|
|
974
|
-
return (_jsx("li", { children: _jsxs("div", { className: "custom-filter-chip-type", children: [_jsxs("div", { className: "flex align-items-center gap-2 text-base", children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", onClick:
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
case 1:
|
|
984
|
-
hydratedRules = _a.sent();
|
|
985
|
-
setCurrentSavedFilterRules(hydratedRules ? hydratedRules : initialState);
|
|
986
|
-
setShowSavedFilterComponent(true);
|
|
987
|
-
_a.label = 2;
|
|
988
|
-
case 2: return [2 /*return*/];
|
|
989
|
-
}
|
|
990
|
-
});
|
|
991
|
-
}); };
|
|
839
|
+
const SavedFiltersChip = () => {
|
|
840
|
+
return (_jsx("li", { children: _jsxs("div", { className: "custom-filter-chip-type", children: [_jsxs("div", { className: "flex align-items-center gap-2 text-base", children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", onClick: () => {
|
|
841
|
+
const fn = async () => {
|
|
842
|
+
if (currentSavedFilterQuery) {
|
|
843
|
+
const rules = transformFiltersToRules(currentSavedFilterQuery ? currentSavedFilterQuery : null);
|
|
844
|
+
const hydratedRules = await hydrateRelationRules([rules], viewData);
|
|
845
|
+
setCurrentSavedFilterRules(hydratedRules ? hydratedRules : initialState);
|
|
846
|
+
setShowSavedFilterComponent(true);
|
|
847
|
+
}
|
|
848
|
+
};
|
|
992
849
|
fn();
|
|
993
|
-
}, children: [_jsx("rect", { width: "20", height: "20", rx: "4", fill: "#722ED1" }), _jsx("path", { d: "M8.66667 15V13.3333H11.3333V15H8.66667ZM6 10.8333V9.16667H14V10.8333H6ZM4 6.66667V5H16V6.66667H4Z", fill: "white" })] }), _jsx("span", { children: _jsx("strong", { children: currentSavedFilterData
|
|
850
|
+
}, children: [_jsx("rect", { width: "20", height: "20", rx: "4", fill: "#722ED1" }), _jsx("path", { d: "M8.66667 15V13.3333H11.3333V15H8.66667ZM6 10.8333V9.16667H14V10.8333H6ZM4 6.66667V5H16V6.66667H4Z", fill: "white" })] }), _jsx("span", { children: _jsx("strong", { children: currentSavedFilterData?.name }) })] }), _jsx("a", { onClick: removeSavedFilter, style: { cursor: "pointer" }, children: _jsx("i", { className: "pi pi-times ml-1" }) })] }) }));
|
|
994
851
|
};
|
|
995
852
|
//saved filter related code end
|
|
996
853
|
// search related code start
|
|
997
|
-
|
|
998
|
-
|
|
854
|
+
const handleRemoveChipGroup = (columnName) => {
|
|
855
|
+
const updatedChips = searchChips.filter(chip => chip.columnName !== columnName);
|
|
999
856
|
setSearchChips(updatedChips);
|
|
1000
857
|
setHasSearched(true);
|
|
1001
|
-
setRefreshKey(
|
|
858
|
+
setRefreshKey((prev) => prev + 1);
|
|
1002
859
|
};
|
|
1003
|
-
|
|
1004
|
-
|
|
860
|
+
const groupedSearchChips = searchChips.reduce((acc, chip) => {
|
|
861
|
+
const key = chip.columnName;
|
|
1005
862
|
if (!key)
|
|
1006
863
|
return acc; // skip if undefined
|
|
1007
864
|
if (!acc[key]) {
|
|
@@ -1010,15 +867,15 @@ export var SolidGlobalSearchElement = forwardRef(function (_a, ref) {
|
|
|
1010
867
|
acc[key].push(chip.value);
|
|
1011
868
|
return acc;
|
|
1012
869
|
}, {});
|
|
1013
|
-
|
|
1014
|
-
if (e.key === "Enter" &&
|
|
870
|
+
const handleKeyDown = (e) => {
|
|
871
|
+
if (e.key === "Enter" && inputValue?.trim()) {
|
|
1015
872
|
handleAddChip();
|
|
1016
873
|
e.preventDefault();
|
|
1017
874
|
setShowOverlay(false);
|
|
1018
875
|
}
|
|
1019
876
|
else if (e.key === "Backspace" && inputValue === "") {
|
|
1020
877
|
if (searchChips.length > 0) {
|
|
1021
|
-
setSearchChips(
|
|
878
|
+
setSearchChips((prev) => prev.slice(0, -1));
|
|
1022
879
|
}
|
|
1023
880
|
else if (customFilter) {
|
|
1024
881
|
setCustomFilter(null);
|
|
@@ -1035,28 +892,27 @@ export var SolidGlobalSearchElement = forwardRef(function (_a, ref) {
|
|
|
1035
892
|
clearCustomFilter();
|
|
1036
893
|
}
|
|
1037
894
|
setHasSearched(true);
|
|
1038
|
-
setRefreshKey(
|
|
895
|
+
setRefreshKey((prev) => prev + 1);
|
|
1039
896
|
}
|
|
1040
897
|
};
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
}) })); };
|
|
898
|
+
const SearchChip = () => (_jsx(_Fragment, { children: Object.entries(groupedSearchChips).map(([column, values]) => {
|
|
899
|
+
const fieldMeta = searchableFields.find(f => f.fieldName === column);
|
|
900
|
+
const columnDisplayName = fieldMeta?.displayName || column;
|
|
901
|
+
return (_jsx("li", { children: _jsxs("div", { className: "search-filter-chip-type", children: [_jsx("div", { children: columnDisplayName }), values.map((value, index) => (_jsxs(React.Fragment, { children: [_jsx("span", { className: "custom-chip-value", children: value }, index), index < values.length - 1 &&
|
|
902
|
+
_jsx("span", { className: "custom-chip-or", children: "or" })] }))), _jsx("i", { className: "pi pi-times ml-1", style: { cursor: "pointer" }, onClick: () => handleRemoveChipGroup(column) })] }) }, column));
|
|
903
|
+
}) }));
|
|
1048
904
|
// search related code end
|
|
1049
905
|
// predefinedfilter related code start
|
|
1050
|
-
|
|
1051
|
-
if (!
|
|
906
|
+
const handlePredefinedSearch = (predefinedSearch) => {
|
|
907
|
+
if (!inputValue?.trim())
|
|
1052
908
|
return;
|
|
1053
|
-
if (!
|
|
909
|
+
if (!predefinedSearch?.filters) {
|
|
1054
910
|
console.error('Invalid predefined search: missing filters', predefinedSearch);
|
|
1055
911
|
return;
|
|
1056
912
|
}
|
|
1057
913
|
try {
|
|
1058
914
|
// Replace {{search}} placeholders with actual search value
|
|
1059
|
-
|
|
915
|
+
const processedFilter = replacePlaceholders(predefinedSearch.filters, inputValue.trim());
|
|
1060
916
|
// Clear all existing filters and searches
|
|
1061
917
|
// setSearchChips([]);
|
|
1062
918
|
// setSearchFilter(null);
|
|
@@ -1077,66 +933,66 @@ export var SolidGlobalSearchElement = forwardRef(function (_a, ref) {
|
|
|
1077
933
|
setInputValue("");
|
|
1078
934
|
setShowOverlay(false);
|
|
1079
935
|
setHasSearched(true);
|
|
1080
|
-
setRefreshKey(
|
|
936
|
+
setRefreshKey((prev) => prev + 1);
|
|
1081
937
|
}
|
|
1082
938
|
catch (error) {
|
|
1083
939
|
console.error('Error applying predefined search:', error);
|
|
1084
940
|
// Optionally show user-friendly error message
|
|
1085
941
|
}
|
|
1086
942
|
};
|
|
1087
|
-
|
|
943
|
+
const removePredefinedSearchChip = () => {
|
|
1088
944
|
setPredefinedSearchChip(null);
|
|
1089
945
|
setPredefinedSearchBaseFilter(null);
|
|
1090
946
|
setCustomFilter(null);
|
|
1091
947
|
// handleApplyCustomFilter(finalFilter);
|
|
1092
948
|
setHasSearched(true);
|
|
1093
|
-
setRefreshKey(
|
|
949
|
+
setRefreshKey((prev) => prev + 1);
|
|
1094
950
|
};
|
|
1095
|
-
|
|
951
|
+
const PredefinedSearchChip = () => (_jsx("li", { children: _jsxs("div", { className: "search-filter-chip-type", children: [_jsxs("div", { className: "flex align-items-center gap-2", children: [_jsxs("strong", { children: [predefinedSearchChip?.name, ":"] }), _jsx("span", { className: "custom-chip-value", children: predefinedSearchChip?.value })] }), _jsx("i", { className: "pi pi-times ml-1", style: { cursor: "pointer" }, onClick: removePredefinedSearchChip })] }) }));
|
|
1096
952
|
// predefinedfilter related code end
|
|
1097
|
-
return (_jsx(_Fragment, { children: _jsxs("div", { className: "flex justify-content-center solid-custom-filter-wrapper relative", children: [_jsx("div", { className: "solid-global-search-element", children: _jsxs("ul", { className: "", children: [currentSavedFilterData && _jsx(SavedFiltersChip, {}), predefinedSearchChip && _jsx(PredefinedSearchChip, {}), customFilter && _jsx(CustomChip, {}), _jsx(SearchChip, {}), _jsx("li", { ref: chipsRef, children: _jsxs("div", { className: "relative solid-global-search-element-wrapper", children: [_jsx(InputText, { value: inputValue || "", placeholder: "Search...", onChange:
|
|
953
|
+
return (_jsx(_Fragment, { children: _jsxs("div", { className: "flex justify-content-center solid-custom-filter-wrapper relative", children: [_jsx("div", { className: "solid-global-search-element", children: _jsxs("ul", { className: "", children: [currentSavedFilterData && _jsx(SavedFiltersChip, {}), predefinedSearchChip && _jsx(PredefinedSearchChip, {}), customFilter && _jsx(CustomChip, {}), _jsx(SearchChip, {}), _jsx("li", { ref: chipsRef, children: _jsxs("div", { className: "relative solid-global-search-element-wrapper", children: [_jsx(InputText, { value: inputValue || "", placeholder: "Search...", onChange: (e) => {
|
|
1098
954
|
setInputValue(e.target.value);
|
|
1099
955
|
setShowOverlay(true);
|
|
1100
|
-
}, onFocus:
|
|
1101
|
-
if (inputValue
|
|
956
|
+
}, onFocus: () => {
|
|
957
|
+
if (inputValue?.trim())
|
|
1102
958
|
setShowOverlay(true);
|
|
1103
|
-
}, onBlur:
|
|
959
|
+
}, onBlur: () => {
|
|
1104
960
|
// Delay so you can click buttons inside overlay
|
|
1105
|
-
setTimeout(
|
|
1106
|
-
}, onKeyDown: handleKeyDown }), _jsx(Button, { icon: "pi pi-search", style: { fontSize: 10 }, severity: "secondary", outlined: true, size: "small", onClick:
|
|
961
|
+
setTimeout(() => setShowOverlay(false), 150);
|
|
962
|
+
}, onKeyDown: handleKeyDown }), _jsx(Button, { icon: "pi pi-search", style: { fontSize: 10 }, severity: "secondary", outlined: true, size: "small", onClick: () => setShowOverlay(true), className: "custom-filter-button" })] }) })] }) }), showOverlay && (_jsxs("div", { ref: overlayRef, className: "absolute w-full z-5 surface-0 border-round border-1 border-300 shadow-2 solid-search-overlay-pannel", style: { top: 35 }, children: [inputValue ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: "custom-filter-search-options px-3 py-2 flex flex-column", children: [_jsx("h6", { className: "my-1 font-bold", children: "Search By Fields" }), searchableFields.map((value, index) => {
|
|
1107
963
|
// console.log("value", value);
|
|
1108
964
|
return (_jsxs(Button, { className: "p-2 flex gap-1 text-color",
|
|
1109
965
|
// onClick={() => handleAddChip(value)}
|
|
1110
|
-
onMouseDown:
|
|
966
|
+
onMouseDown: (e) => {
|
|
1111
967
|
// Prevent focus loss from input
|
|
1112
968
|
e.preventDefault();
|
|
1113
|
-
|
|
969
|
+
const currentValue = inputValue?.trim();
|
|
1114
970
|
if (currentValue) {
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
971
|
+
const values = currentValue.split(",").map((v) => v.trim()).filter((v) => v !== "");
|
|
972
|
+
const chipsToAdd = values.map(v => ({
|
|
973
|
+
columnName: value.fieldName,
|
|
974
|
+
value: v,
|
|
975
|
+
columnDisplayName: value.displayName,
|
|
976
|
+
searchField: value.searchField,
|
|
977
|
+
matchMode: value.matchMode
|
|
978
|
+
}));
|
|
979
|
+
setSearchChips((prev) => [...prev, ...chipsToAdd]);
|
|
1122
980
|
setInputValue("");
|
|
1123
981
|
setHasSearched(true);
|
|
1124
|
-
setRefreshKey(
|
|
982
|
+
setRefreshKey((prev) => prev + 1);
|
|
1125
983
|
setShowOverlay(false);
|
|
1126
984
|
}
|
|
1127
985
|
}, text: true, severity: "secondary", size: "small", children: ["Search ", _jsx("strong", { children: value.displayName }), " for: ", _jsx("span", { className: "font-bold text-color", children: inputValue })] }, index));
|
|
1128
|
-
})] }), predefinedSearches && predefinedSearches.length > 0 && (_jsxs(_Fragment, { children: [_jsx(Divider, { className: "m-0" }), _jsxs("div", { className: "custom-filter-search-options px-3 py-2 flex flex-column", children: [_jsx("h6", { className: "my-1 font-bold", children: "Predefined Searches" }), predefinedSearches.map(
|
|
986
|
+
})] }), predefinedSearches && predefinedSearches.length > 0 && (_jsxs(_Fragment, { children: [_jsx(Divider, { className: "m-0" }), _jsxs("div", { className: "custom-filter-search-options px-3 py-2 flex flex-column", children: [_jsx("h6", { className: "my-1 font-bold", children: "Predefined Searches" }), predefinedSearches.map((predefinedSearch, index) => (_jsxs(Button, { className: "p-2 flex flex-column align-items-start gap-1 text-color", onMouseDown: (e) => {
|
|
1129
987
|
e.preventDefault();
|
|
1130
988
|
handlePredefinedSearch(predefinedSearch);
|
|
1131
|
-
}, text: true, severity: "secondary", size: "small", children: [_jsxs("div", { className: "flex gap-1 align-items-center", children: [_jsxs("strong", { children: [predefinedSearch.name, ":"] }), _jsx("span", { className: "font-bold text-color", children: inputValue })] }), _jsx("div", { className: "text-xs", children: predefinedSearch.description })] }, index))
|
|
989
|
+
}, text: true, severity: "secondary", size: "small", children: [_jsxs("div", { className: "flex gap-1 align-items-center", children: [_jsxs("strong", { children: [predefinedSearch.name, ":"] }), _jsx("span", { className: "font-bold text-color", children: inputValue })] }), _jsx("div", { className: "text-xs", children: predefinedSearch.description })] }, index)))] })] }))] })) :
|
|
1132
990
|
_jsxs(_Fragment, { children: [_jsx("div", { className: "p-3 text-base", children: "Search Here..." }), _jsx(Divider, { className: "m-0" })] }), savedFilters.length > 0 &&
|
|
1133
|
-
_jsxs(_Fragment, { children: [_jsxs("div", { className: "p-3", children: [_jsx("p", { className: "font-medium", children: "Saved Filters" }), _jsx("div", { className: "flex flex-column gap-2", children: savedFilters.map(
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
return;
|
|
1137
|
-
_jsx(FilterComponent, { viewData: viewData, fields: fields, filterRules:
|
|
1138
|
-
return;
|
|
1139
|
-
_jsx(FilterComponent, { viewData: viewData, fields: fields, filterRules: currentSavedFilterRules, setFilterRules: setCurrentSavedFilterRules, transformFilterRules: transformSavedFilterRules, closeDialog: function () { return setShowSavedFilterComponent(false); } }) })] }), _jsx(Dialog, { header: "Save Custom Filter", className: "solid-custom-filter-dialog", visible: showSaveFilterPopup, style: { width: 500 }, onHide: function () { if (!showSaveFilterPopup)
|
|
1140
|
-
return; setShowSaveFilterPopup(false); }, children: _jsx(SolidSaveCustomFilterForm, { currentSavedFilterData: currentSavedFilterData, handleSaveFilter: handleSaveFilter, closeDialog: setShowSaveFilterPopup }) }), _jsx(Dialog, { visible: isDeleteSQDialogVisible, header: "Confirm Delete", modal: true, className: "solid-confirm-dialog", footer: function () { return (_jsxs("div", { className: "flex justify-content-center", children: [_jsx(Button, { label: "Yes", icon: "pi pi-check", className: 'small-button', severity: "danger", autoFocus: true, onClick: deleteSavedFilter }), _jsx(Button, { label: "No", icon: "pi pi-times", className: 'small-button', onClick: function () { return setIsDeleteSQDialogVisible(false); } })] })); }, onHide: function () { return setIsDeleteSQDialogVisible(false); }, children: _jsxs("p", { children: ["Are you sure you want to delete the ", currentSavedFilterData === null || currentSavedFilterData === void 0 ? void 0 : currentSavedFilterData.name, " saved query?"] }) })] }) }));
|
|
991
|
+
_jsxs(_Fragment, { children: [_jsxs("div", { className: "p-3", children: [_jsx("p", { className: "font-medium", children: "Saved Filters" }), _jsx("div", { className: "flex flex-column gap-2", children: savedFilters.map((savedfilter) => _jsx(SavedFilterList, { savedfilter: savedfilter, activeSavedFilter: activeSavedFilter, applySavedFilter: applySavedFilter, openSavedCustomFilter: openSavedCustomFilter, setSavedFilterTobeDeleted: setSavedFilterTobeDeleted, setIsDeleteSQDialogVisible: setIsDeleteSQDialogVisible })) })] }), _jsx(Divider, { className: "m-0" })] }), _jsx("div", { className: "px-2 py-1", children: _jsx(Button, { text: true, size: "small", label: "Custom Filter", iconPos: "left", icon: 'pi pi-plus', onClick: () => setShowGlobalSearchElement(true), className: "font-bold" }) })] })), _jsxs(Dialog, { header: false, className: "solid-global-search-filter", showHeader: false, visible: showGlobalSearchElement, style: { width: '65vw' }, breakpoints: { '1024px': '75vw', '991px': '90vw', '767px': '94w', '250px': '96vw' }, onHide: () => { if (!showGlobalSearchElement)
|
|
992
|
+
return; setShowGlobalSearchElement(false); }, children: [_jsxs("div", { className: "flex align-items-center justify-content-between px-3", children: [_jsx("h5", { className: "solid-custom-title m-0", children: "Add Custom Filter" }), _jsx(Button, { icon: "pi pi-times", rounded: true, text: true, "aria-label": "Cancel", type: "reset", size: "small", onClick: () => setShowGlobalSearchElement(false) })] }), _jsx(Divider, { className: "m-0" }), _jsx("div", { className: "p-3 lg:p-4", children: fields.length > 0 &&
|
|
993
|
+
_jsx(FilterComponent, { viewData: viewData, fields: fields, filterRules: filterRules, setFilterRules: setFilterRules, transformFilterRules: transformCustomFilterRules, closeDialog: () => setShowGlobalSearchElement(false) }) })] }), _jsxs(Dialog, { header: false, className: "solid-global-search-filter", showHeader: false, visible: showSavedFilterComponent, style: { width: '65vw' }, breakpoints: { '1024px': '75vw', '991px': '90vw', '767px': '94w', '250px': '96vw' }, onHide: () => { if (!showSavedFilterComponent)
|
|
994
|
+
return; setShowSavedFilterComponent(false); }, children: [_jsxs("div", { className: "flex align-items-center justify-content-between px-3", children: [_jsx("h5", { className: "solid-custom-title m-0", children: "Saved Filter" }), _jsx(Button, { icon: "pi pi-times", rounded: true, text: true, "aria-label": "Cancel", type: "reset", size: "small", onClick: () => setShowSavedFilterComponent(false) })] }), _jsx(Divider, { className: "m-0" }), _jsx("div", { className: "p-3 lg:p-4", children: fields.length > 0 &&
|
|
995
|
+
_jsx(FilterComponent, { viewData: viewData, fields: fields, filterRules: currentSavedFilterRules, setFilterRules: setCurrentSavedFilterRules, transformFilterRules: transformSavedFilterRules, closeDialog: () => setShowSavedFilterComponent(false) }) })] }), _jsx(Dialog, { header: "Save Custom Filter", className: "solid-custom-filter-dialog", visible: showSaveFilterPopup, style: { width: 500 }, onHide: () => { if (!showSaveFilterPopup)
|
|
996
|
+
return; setShowSaveFilterPopup(false); }, children: _jsx(SolidSaveCustomFilterForm, { currentSavedFilterData: currentSavedFilterData, handleSaveFilter: handleSaveFilter, closeDialog: setShowSaveFilterPopup }) }), _jsx(Dialog, { visible: isDeleteSQDialogVisible, header: "Confirm Delete", modal: true, className: "solid-confirm-dialog", footer: () => (_jsxs("div", { className: "flex justify-content-center", children: [_jsx(Button, { label: "Yes", icon: "pi pi-check", className: 'small-button', severity: "danger", autoFocus: true, onClick: deleteSavedFilter }), _jsx(Button, { label: "No", icon: "pi pi-times", className: 'small-button', onClick: () => setIsDeleteSQDialogVisible(false) })] })), onHide: () => setIsDeleteSQDialogVisible(false), children: _jsxs("p", { children: ["Are you sure you want to delete the ", currentSavedFilterData?.name, " saved query?"] }) })] }) }));
|
|
1141
997
|
});
|
|
1142
998
|
//# sourceMappingURL=SolidGlobalSearchElement.js.map
|