@solidxai/core-ui 0.1.7-beta.1 → 0.1.7-beta.11
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/README.md +215 -0
- package/dist/adapters/auth/helper.d.ts +9 -0
- package/dist/adapters/auth/helper.d.ts.map +1 -0
- package/dist/adapters/auth/helper.js +37 -0
- package/dist/adapters/auth/helper.js.map +1 -0
- package/dist/adapters/auth/helper.ts +45 -0
- package/dist/adapters/auth/signInWithOtp.d.ts.map +1 -1
- package/dist/adapters/auth/signInWithOtp.js +3 -27
- package/dist/adapters/auth/signInWithOtp.js.map +1 -1
- package/dist/adapters/auth/signInWithOtp.ts +3 -23
- package/dist/components/auth/AuthLayout.d.ts.map +1 -1
- package/dist/components/auth/AuthLayout.js +41 -26
- package/dist/components/auth/AuthLayout.js.map +1 -1
- package/dist/components/auth/AuthLayout.tsx +89 -88
- package/dist/components/auth/ForgotPasswordThankYou.d.ts.map +1 -1
- package/dist/components/auth/ForgotPasswordThankYou.js +4 -2
- package/dist/components/auth/ForgotPasswordThankYou.js.map +1 -1
- package/dist/components/auth/ForgotPasswordThankYou.tsx +14 -11
- package/dist/components/auth/GoogleAuthChecking.d.ts.map +1 -1
- package/dist/components/auth/GoogleAuthChecking.js +17 -12
- package/dist/components/auth/GoogleAuthChecking.js.map +1 -1
- package/dist/components/auth/GoogleAuthChecking.tsx +8 -5
- package/dist/components/auth/SolidChangeForcePassword.d.ts.map +1 -1
- package/dist/components/auth/SolidChangeForcePassword.js +3 -5
- package/dist/components/auth/SolidChangeForcePassword.js.map +1 -1
- package/dist/components/auth/SolidChangeForcePassword.tsx +41 -34
- package/dist/components/auth/SolidForgotPassword.d.ts.map +1 -1
- package/dist/components/auth/SolidForgotPassword.js +5 -10
- package/dist/components/auth/SolidForgotPassword.js.map +1 -1
- package/dist/components/auth/SolidForgotPassword.tsx +26 -27
- package/dist/components/auth/SolidInitialLoginOtp.d.ts.map +1 -1
- package/dist/components/auth/SolidInitialLoginOtp.js +25 -25
- package/dist/components/auth/SolidInitialLoginOtp.js.map +1 -1
- package/dist/components/auth/SolidInitialLoginOtp.tsx +55 -43
- package/dist/components/auth/SolidInitiateRegisterOtp.d.ts.map +1 -1
- package/dist/components/auth/SolidInitiateRegisterOtp.js +11 -16
- package/dist/components/auth/SolidInitiateRegisterOtp.js.map +1 -1
- package/dist/components/auth/SolidInitiateRegisterOtp.tsx +48 -42
- package/dist/components/auth/SolidLogin.d.ts.map +1 -1
- package/dist/components/auth/SolidLogin.js +36 -37
- package/dist/components/auth/SolidLogin.js.map +1 -1
- package/dist/components/auth/SolidLogin.tsx +91 -116
- package/dist/components/auth/SolidRegister.d.ts.map +1 -1
- package/dist/components/auth/SolidRegister.js +23 -25
- package/dist/components/auth/SolidRegister.js.map +1 -1
- package/dist/components/auth/SolidRegister.tsx +53 -71
- package/dist/components/auth/SolidResetPassword.d.ts.map +1 -1
- package/dist/components/auth/SolidResetPassword.js +5 -15
- package/dist/components/auth/SolidResetPassword.js.map +1 -1
- package/dist/components/auth/SolidResetPassword.tsx +15 -37
- package/dist/components/common/AutoCompleteField.d.ts.map +1 -1
- package/dist/components/common/AutoCompleteField.js +2 -2
- package/dist/components/common/AutoCompleteField.js.map +1 -1
- package/dist/components/common/AutoCompleteField.tsx +4 -6
- package/dist/components/common/BackButton.js +4 -3
- package/dist/components/common/BackButton.js.map +1 -1
- package/dist/components/common/BackButton.tsx +6 -6
- package/dist/components/common/CancelButton.d.ts.map +1 -1
- package/dist/components/common/CancelButton.js +5 -4
- package/dist/components/common/CancelButton.js.map +1 -1
- package/dist/components/common/CancelButton.tsx +10 -6
- package/dist/components/common/CreateButton.d.ts.map +1 -1
- package/dist/components/common/CreateButton.js +2 -2
- package/dist/components/common/CreateButton.js.map +1 -1
- package/dist/components/common/CreateButton.tsx +8 -2
- package/dist/components/common/DownloadProgressToast.d.ts.map +1 -1
- package/dist/components/common/DownloadProgressToast.js +3 -3
- package/dist/components/common/DownloadProgressToast.js.map +1 -1
- package/dist/components/common/DownloadProgressToast.tsx +21 -18
- package/dist/components/common/DropzonePlaceholder.d.ts.map +1 -1
- package/dist/components/common/DropzonePlaceholder.js +2 -2
- package/dist/components/common/DropzonePlaceholder.js.map +1 -1
- package/dist/components/common/DropzonePlaceholder.tsx +10 -8
- package/dist/components/common/DropzoneUpload.js +2 -2
- package/dist/components/common/DropzoneUpload.js.map +1 -1
- package/dist/components/common/DropzoneUpload.tsx +3 -3
- package/dist/components/common/GeneralSettings.d.ts.map +1 -1
- package/dist/components/common/GeneralSettings.js +107 -109
- package/dist/components/common/GeneralSettings.js.map +1 -1
- package/dist/components/common/GeneralSettings.tsx +219 -329
- package/dist/components/common/GlobalToast.d.ts +1 -1
- package/dist/components/common/GlobalToast.d.ts.map +1 -1
- package/dist/components/common/GlobalToast.js +1 -24
- package/dist/components/common/GlobalToast.js.map +1 -1
- package/dist/components/common/GlobalToast.tsx +1 -25
- package/dist/components/common/MultipleSelectAutoCompleteField.d.ts.map +1 -1
- package/dist/components/common/MultipleSelectAutoCompleteField.js +2 -2
- package/dist/components/common/MultipleSelectAutoCompleteField.js.map +1 -1
- package/dist/components/common/MultipleSelectAutoCompleteField.tsx +3 -5
- package/dist/components/common/NotFound.d.ts.map +1 -1
- package/dist/components/common/NotFound.js +3 -3
- package/dist/components/common/NotFound.js.map +1 -1
- package/dist/components/common/NotFound.tsx +8 -15
- package/dist/components/common/SocialMediaLogin.d.ts.map +1 -1
- package/dist/components/common/SocialMediaLogin.js +13 -4
- package/dist/components/common/SocialMediaLogin.js.map +1 -1
- package/dist/components/common/SocialMediaLogin.tsx +58 -45
- package/dist/components/common/SolidAdmin.d.ts.map +1 -1
- package/dist/components/common/SolidAdmin.js +10 -2
- package/dist/components/common/SolidAdmin.js.map +1 -1
- package/dist/components/common/SolidAdmin.tsx +116 -131
- package/dist/components/common/SolidBreadcrumb.d.ts.map +1 -1
- package/dist/components/common/SolidBreadcrumb.js +10 -25
- package/dist/components/common/SolidBreadcrumb.js.map +1 -1
- package/dist/components/common/SolidBreadcrumb.tsx +32 -26
- package/dist/components/common/SolidErrorPage.d.ts.map +1 -1
- package/dist/components/common/SolidErrorPage.js +4 -6
- package/dist/components/common/SolidErrorPage.js.map +1 -1
- package/dist/components/common/SolidErrorPage.tsx +11 -37
- package/dist/components/common/SolidExport.d.ts +1 -1
- package/dist/components/common/SolidExport.d.ts.map +1 -1
- package/dist/components/common/SolidExport.js +182 -221
- package/dist/components/common/SolidExport.js.map +1 -1
- package/dist/components/common/SolidExport.tsx +401 -453
- package/dist/components/common/SolidFieldTooltip.d.ts +1 -1
- package/dist/components/common/SolidFieldTooltip.d.ts.map +1 -1
- package/dist/components/common/SolidFieldTooltip.js +8 -7
- package/dist/components/common/SolidFieldTooltip.js.map +1 -1
- package/dist/components/common/SolidFieldTooltip.tsx +29 -16
- package/dist/components/common/SolidFormHeader.d.ts +1 -1
- package/dist/components/common/SolidFormHeader.d.ts.map +1 -1
- package/dist/components/common/SolidFormHeader.js +7 -5
- package/dist/components/common/SolidFormHeader.js.map +1 -1
- package/dist/components/common/SolidFormHeader.tsx +11 -6
- package/dist/components/common/SolidFormStepper.d.ts.map +1 -1
- package/dist/components/common/SolidFormStepper.js +7 -22
- package/dist/components/common/SolidFormStepper.js.map +1 -1
- package/dist/components/common/SolidFormStepper.tsx +31 -50
- package/dist/components/common/SolidHeaderRequestStatus.d.ts +6 -0
- package/dist/components/common/SolidHeaderRequestStatus.d.ts.map +1 -0
- package/dist/components/common/SolidHeaderRequestStatus.js +9 -0
- package/dist/components/common/SolidHeaderRequestStatus.js.map +1 -0
- package/dist/components/common/SolidHeaderRequestStatus.tsx +16 -0
- package/dist/components/common/SolidModuleHome.d.ts.map +1 -1
- package/dist/components/common/SolidModuleHome.js +3 -3
- package/dist/components/common/SolidModuleHome.js.map +1 -1
- package/dist/components/common/SolidModuleHome.tsx +13 -5
- package/dist/components/common/SolidNotFoundPage.d.ts.map +1 -1
- package/dist/components/common/SolidNotFoundPage.js +4 -5
- package/dist/components/common/SolidNotFoundPage.js.map +1 -1
- package/dist/components/common/SolidNotFoundPage.tsx +11 -29
- package/dist/components/common/SolidPopupContainer.d.ts.map +1 -1
- package/dist/components/common/SolidPopupContainer.js +11 -6
- package/dist/components/common/SolidPopupContainer.js.map +1 -1
- package/dist/components/common/SolidPopupContainer.tsx +28 -29
- package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.d.ts +37 -0
- package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.d.ts.map +1 -0
- package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.js +152 -0
- package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.js.map +1 -0
- package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.tsx +394 -0
- 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/AnthropicProviderComponent.tsx +28 -38
- 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/LlmSettings/OpenAiProviderComponent.tsx +28 -38
- package/dist/components/common/SolidSettings/SettingDropzoneActivePlaceholder.js +2 -2
- package/dist/components/common/SolidSettings/SettingDropzoneActivePlaceholder.js.map +1 -1
- package/dist/components/common/SolidSettings/SettingDropzoneActivePlaceholder.tsx +3 -3
- package/dist/components/common/SolidSettings/SettingsImageRemoveButton.js +2 -2
- package/dist/components/common/SolidSettings/SettingsImageRemoveButton.js.map +1 -1
- package/dist/components/common/SolidSettings/SettingsImageRemoveButton.tsx +3 -3
- package/dist/components/common/SolidToastProvider.d.ts +2 -0
- package/dist/components/common/SolidToastProvider.d.ts.map +1 -0
- package/dist/components/common/SolidToastProvider.js +45 -0
- package/dist/components/common/SolidToastProvider.js.map +1 -0
- package/dist/components/common/SolidToastProvider.tsx +39 -0
- package/dist/components/common/error.d.ts.map +1 -1
- package/dist/components/common/error.js +4 -2
- package/dist/components/common/error.js.map +1 -1
- package/dist/components/common/error.tsx +9 -15
- package/dist/components/common/solid-export.css +454 -59
- package/dist/components/core/card/CardGrid.d.ts +3 -0
- package/dist/components/core/card/CardGrid.d.ts.map +1 -0
- package/dist/components/core/card/CardGrid.js +42 -0
- package/dist/components/core/card/CardGrid.js.map +1 -0
- package/dist/components/core/card/CardGrid.tsx +83 -0
- package/dist/components/core/card/CardItem.d.ts +13 -0
- package/dist/components/core/card/CardItem.d.ts.map +1 -0
- package/dist/components/core/card/CardItem.js +21 -0
- package/dist/components/core/card/CardItem.js.map +1 -0
- package/dist/components/core/card/CardItem.tsx +91 -0
- package/dist/components/core/card/CardUserViewLayout.d.ts +2 -0
- package/dist/components/core/card/CardUserViewLayout.d.ts.map +1 -0
- package/dist/components/core/card/CardUserViewLayout.js +94 -0
- package/dist/components/core/card/CardUserViewLayout.js.map +1 -0
- package/dist/components/core/card/CardUserViewLayout.tsx +68 -0
- package/dist/components/core/card/SolidCardView.d.ts +8 -0
- package/dist/components/core/card/SolidCardView.d.ts.map +1 -0
- package/dist/components/core/card/SolidCardView.js +365 -0
- package/dist/components/core/card/SolidCardView.js.map +1 -0
- package/dist/components/core/card/SolidCardView.tsx +528 -0
- package/dist/components/core/card/SolidCardViewConfigure.d.ts +2 -0
- package/dist/components/core/card/SolidCardViewConfigure.d.ts.map +1 -0
- package/dist/components/core/card/SolidCardViewConfigure.js +122 -0
- package/dist/components/core/card/SolidCardViewConfigure.js.map +1 -0
- package/dist/components/core/card/SolidCardViewConfigure.tsx +268 -0
- package/dist/components/core/chatter/SolidChatter.d.ts +3 -1
- package/dist/components/core/chatter/SolidChatter.d.ts.map +1 -1
- package/dist/components/core/chatter/SolidChatter.js +25 -23
- package/dist/components/core/chatter/SolidChatter.js.map +1 -1
- package/dist/components/core/chatter/SolidChatter.tsx +87 -69
- package/dist/components/core/chatter/SolidChatterAuditMessage.js +1 -1
- package/dist/components/core/chatter/SolidChatterAuditMessage.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterAuditMessage.tsx +3 -3
- package/dist/components/core/chatter/SolidChatterCustomMessage.d.ts.map +1 -1
- package/dist/components/core/chatter/SolidChatterCustomMessage.js +2 -1
- package/dist/components/core/chatter/SolidChatterCustomMessage.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterCustomMessage.tsx +3 -6
- package/dist/components/core/chatter/SolidChatterDateDivider.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterDateDivider.tsx +1 -1
- package/dist/components/core/chatter/SolidChatterHeader.d.ts +3 -0
- package/dist/components/core/chatter/SolidChatterHeader.d.ts.map +1 -1
- package/dist/components/core/chatter/SolidChatterHeader.js +40 -30
- package/dist/components/core/chatter/SolidChatterHeader.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterHeader.tsx +139 -101
- package/dist/components/core/chatter/SolidChatterMessageBox.d.ts.map +1 -1
- package/dist/components/core/chatter/SolidChatterMessageBox.js +55 -21
- package/dist/components/core/chatter/SolidChatterMessageBox.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterMessageBox.tsx +124 -91
- package/dist/components/core/chatter/SolidMessageComposer.d.ts +7 -3
- package/dist/components/core/chatter/SolidMessageComposer.d.ts.map +1 -1
- package/dist/components/core/chatter/SolidMessageComposer.js +17 -7
- package/dist/components/core/chatter/SolidMessageComposer.js.map +1 -1
- package/dist/components/core/chatter/SolidMessageComposer.tsx +92 -49
- package/dist/components/core/chatter/chatter.module.css +217 -17
- package/dist/components/core/common/FilterComponent.d.ts +2 -8
- package/dist/components/core/common/FilterComponent.d.ts.map +1 -1
- package/dist/components/core/common/FilterComponent.js +27 -49
- package/dist/components/core/common/FilterComponent.js.map +1 -1
- package/dist/components/core/common/FilterComponent.tsx +69 -127
- package/dist/components/core/common/GroupingComponent.d.ts.map +1 -1
- package/dist/components/core/common/GroupingComponent.js +40 -70
- package/dist/components/core/common/GroupingComponent.js.map +1 -1
- package/dist/components/core/common/GroupingComponent.tsx +174 -251
- package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.d.ts +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.d.ts.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.js +12 -32
- package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.js.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.module.css +530 -42
- package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.tsx +71 -86
- package/dist/components/core/common/SolidAccountSettings/SolidChangePassword.d.ts.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidChangePassword.js +75 -48
- package/dist/components/core/common/SolidAccountSettings/SolidChangePassword.js.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidChangePassword.tsx +242 -172
- package/dist/components/core/common/SolidAccountSettings/SolidNotifications.d.ts.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidNotifications.js +44 -55
- package/dist/components/core/common/SolidAccountSettings/SolidNotifications.js.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidNotifications.tsx +108 -125
- package/dist/components/core/common/SolidAccountSettings/SolidPersonalInfo.d.ts.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidPersonalInfo.js +106 -87
- package/dist/components/core/common/SolidAccountSettings/SolidPersonalInfo.js.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidPersonalInfo.tsx +332 -285
- package/dist/components/core/common/SolidAccountSettings/SolidVersionInfo.d.ts.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidVersionInfo.js +12 -13
- package/dist/components/core/common/SolidAccountSettings/SolidVersionInfo.js.map +1 -1
- package/dist/components/core/common/SolidAccountSettings/SolidVersionInfo.tsx +48 -65
- package/dist/components/core/common/SolidCreateButton.d.ts.map +1 -1
- package/dist/components/core/common/SolidCreateButton.js +5 -3
- package/dist/components/core/common/SolidCreateButton.js.map +1 -1
- package/dist/components/core/common/SolidCreateButton.tsx +20 -14
- package/dist/components/core/common/SolidGenericImport/SolidGenericImport.d.ts.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidGenericImport.js +30 -11
- package/dist/components/core/common/SolidGenericImport/SolidGenericImport.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidGenericImport.tsx +91 -43
- package/dist/components/core/common/SolidGenericImport/SolidImport.module.css +697 -27
- package/dist/components/core/common/SolidGenericImport/SolidImportDropzone.d.ts.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportDropzone.js +14 -9
- package/dist/components/core/common/SolidGenericImport/SolidImportDropzone.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportDropzone.tsx +46 -24
- package/dist/components/core/common/SolidGenericImport/SolidImportInstructions.d.ts.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportInstructions.js +24 -25
- package/dist/components/core/common/SolidGenericImport/SolidImportInstructions.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportInstructions.tsx +77 -54
- package/dist/components/core/common/SolidGenericImport/SolidImportStepper.d.ts +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportStepper.d.ts.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportStepper.js +15 -125
- package/dist/components/core/common/SolidGenericImport/SolidImportStepper.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportStepper.tsx +35 -213
- package/dist/components/core/common/SolidGenericImport/SolidImportTransaction.d.ts.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportTransaction.js +16 -31
- package/dist/components/core/common/SolidGenericImport/SolidImportTransaction.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportTransaction.tsx +77 -84
- package/dist/components/core/common/SolidGenericImport/SolidImportTransactionStatus.d.ts.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportTransactionStatus.js +11 -13
- package/dist/components/core/common/SolidGenericImport/SolidImportTransactionStatus.js.map +1 -1
- package/dist/components/core/common/SolidGenericImport/SolidImportTransactionStatus.tsx +87 -52
- package/dist/components/core/common/SolidGlobalSearchElement.d.ts.map +1 -1
- package/dist/components/core/common/SolidGlobalSearchElement.js +319 -161
- package/dist/components/core/common/SolidGlobalSearchElement.js.map +1 -1
- package/dist/components/core/common/SolidGlobalSearchElement.tsx +654 -287
- package/dist/components/core/common/SolidLayoutViews.d.ts.map +1 -1
- package/dist/components/core/common/SolidLayoutViews.js +5 -8
- package/dist/components/core/common/SolidLayoutViews.js.map +1 -1
- package/dist/components/core/common/SolidLayoutViews.tsx +49 -63
- package/dist/components/core/common/SolidListViewOptions.d.ts.map +1 -1
- package/dist/components/core/common/SolidListViewOptions.js +3 -3
- package/dist/components/core/common/SolidListViewOptions.js.map +1 -1
- package/dist/components/core/common/SolidListViewOptions.tsx +7 -6
- package/dist/components/core/common/SolidSaveCustomFilterForm.d.ts.map +1 -1
- package/dist/components/core/common/SolidSaveCustomFilterForm.js +3 -3
- package/dist/components/core/common/SolidSaveCustomFilterForm.js.map +1 -1
- package/dist/components/core/common/SolidSaveCustomFilterForm.tsx +31 -28
- package/dist/components/core/common/SolidSearchBox.d.ts.map +1 -1
- package/dist/components/core/common/SolidSearchBox.js +2 -2
- package/dist/components/core/common/SolidSearchBox.js.map +1 -1
- package/dist/components/core/common/SolidSearchBox.tsx +3 -4
- package/dist/components/core/common/SolidViewLayoutManager.d.ts +17 -0
- package/dist/components/core/common/SolidViewLayoutManager.d.ts.map +1 -1
- package/dist/components/core/common/SolidViewLayoutManager.js +58 -1
- package/dist/components/core/common/SolidViewLayoutManager.js.map +1 -1
- package/dist/components/core/common/SolidViewLayoutManager.ts +43 -2
- package/dist/components/core/dashboard/DashboardFilter.d.ts.map +1 -1
- package/dist/components/core/dashboard/DashboardFilter.js +8 -14
- package/dist/components/core/dashboard/DashboardFilter.js.map +1 -1
- package/dist/components/core/dashboard/DashboardFilter.tsx +26 -34
- package/dist/components/core/dashboard/PrimeDataTableWrapper.js +2 -2
- package/dist/components/core/dashboard/PrimeDataTableWrapper.js.map +1 -1
- package/dist/components/core/dashboard/PrimeDataTableWrapper.tsx +3 -3
- package/dist/components/core/dashboard/SolidDashboard.d.ts.map +1 -1
- package/dist/components/core/dashboard/SolidDashboard.js +13 -125
- package/dist/components/core/dashboard/SolidDashboard.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboard.module.css +3 -3
- package/dist/components/core/dashboard/SolidDashboard.tsx +41 -187
- package/dist/components/core/dashboard/SolidDashboardBody.d.ts.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardBody.js +14 -14
- package/dist/components/core/dashboard/SolidDashboardBody.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardBody.tsx +6 -7
- package/dist/components/core/dashboard/SolidDashboardFilterRequired.js +2 -1
- package/dist/components/core/dashboard/SolidDashboardFilterRequired.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardFilterRequired.tsx +3 -3
- package/dist/components/core/dashboard/SolidDashboardLoading.d.ts.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardLoading.js +5 -2
- package/dist/components/core/dashboard/SolidDashboardLoading.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardLoading.tsx +20 -14
- package/dist/components/core/dashboard/SolidDashboardNotAvailable.js +2 -1
- package/dist/components/core/dashboard/SolidDashboardNotAvailable.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardNotAvailable.tsx +3 -3
- package/dist/components/core/dashboard/SolidDashboardRenderError.d.ts.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardRenderError.js +2 -1
- package/dist/components/core/dashboard/SolidDashboardRenderError.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardRenderError.tsx +3 -4
- package/dist/components/core/dashboard/SolidDashboardVariable.d.ts.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardVariable.js +9 -18
- package/dist/components/core/dashboard/SolidDashboardVariable.js.map +1 -1
- package/dist/components/core/dashboard/SolidDashboardVariable.tsx +40 -37
- package/dist/components/core/dashboard/SolidQuestionRenderer.d.ts.map +1 -1
- package/dist/components/core/dashboard/SolidQuestionRenderer.js +16 -11
- package/dist/components/core/dashboard/SolidQuestionRenderer.js.map +1 -1
- package/dist/components/core/dashboard/SolidQuestionRenderer.tsx +30 -11
- package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.d.ts.map +1 -1
- package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.js +4 -14
- package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.js.map +1 -1
- package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.tsx +24 -27
- package/dist/components/core/extension/solid-core/CustomIcon/StatusIcon.d.ts +1 -2
- 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 -2
- package/dist/components/core/extension/solid-core/CustomIcon/StatusIcon.js.map +1 -1
- package/dist/components/core/extension/solid-core/CustomIcon/StatusIcon.tsx +10 -12
- package/dist/components/core/extension/solid-core/chatterMessage/form/SolidChatterMessageCoModelEntityIdFormViewWidget.d.ts +3 -0
- package/dist/components/core/extension/solid-core/chatterMessage/form/SolidChatterMessageCoModelEntityIdFormViewWidget.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/chatterMessage/form/SolidChatterMessageCoModelEntityIdFormViewWidget.js +92 -0
- package/dist/components/core/extension/solid-core/chatterMessage/form/SolidChatterMessageCoModelEntityIdFormViewWidget.js.map +1 -0
- package/dist/components/core/extension/solid-core/chatterMessage/form/SolidChatterMessageCoModelEntityIdFormViewWidget.tsx +68 -0
- package/dist/components/core/extension/solid-core/chatterMessage/list/SolidChatterMessageCoModelEntityIdListViewWidget.d.ts +3 -0
- package/dist/components/core/extension/solid-core/chatterMessage/list/SolidChatterMessageCoModelEntityIdListViewWidget.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/chatterMessage/list/SolidChatterMessageCoModelEntityIdListViewWidget.js +87 -0
- package/dist/components/core/extension/solid-core/chatterMessage/list/SolidChatterMessageCoModelEntityIdListViewWidget.js.map +1 -0
- package/dist/components/core/extension/solid-core/chatterMessage/list/SolidChatterMessageCoModelEntityIdListViewWidget.tsx +70 -0
- package/dist/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.js +2 -2
- package/dist/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.js.map +1 -1
- package/dist/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.tsx +3 -3
- package/dist/components/core/extension/solid-core/listOfValues/form/SolidLovTypeChangeFormEditWidget.d.ts +3 -0
- package/dist/components/core/extension/solid-core/listOfValues/form/SolidLovTypeChangeFormEditWidget.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/listOfValues/form/SolidLovTypeChangeFormEditWidget.js +111 -0
- package/dist/components/core/extension/solid-core/listOfValues/form/SolidLovTypeChangeFormEditWidget.js.map +1 -0
- package/dist/components/core/extension/solid-core/listOfValues/form/SolidLovTypeChangeFormEditWidget.tsx +122 -0
- package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.d.ts +3 -0
- package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.js +69 -0
- package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.js.map +1 -0
- package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.tsx +141 -0
- 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 +3 -6
- package/dist/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.js.map +1 -1
- package/dist/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.tsx +54 -38
- 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 +74 -97
- package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.js.map +1 -1
- package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.tsx +178 -188
- 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 +33 -35
- package/dist/components/core/extension/solid-core/moduleMetadata/list/DeleteModuleRowAction.js.map +1 -1
- package/dist/components/core/extension/solid-core/moduleMetadata/list/DeleteModuleRowAction.tsx +123 -110
- 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 +70 -106
- package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.js.map +1 -1
- package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.tsx +175 -182
- package/dist/components/core/extension/solid-core/mqMessage/form/SolidMqMessageStageFormViewWIdget.d.ts +3 -0
- package/dist/components/core/extension/solid-core/mqMessage/form/SolidMqMessageStageFormViewWIdget.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/mqMessage/form/SolidMqMessageStageFormViewWIdget.js +10 -0
- package/dist/components/core/extension/solid-core/mqMessage/form/SolidMqMessageStageFormViewWIdget.js.map +1 -0
- package/dist/components/core/extension/solid-core/mqMessage/form/SolidMqMessageStageFormViewWIdget.tsx +21 -0
- package/dist/components/core/extension/solid-core/mqMessage/form/mqMessageOnFormLoadHandler.d.ts +8 -0
- package/dist/components/core/extension/solid-core/mqMessage/form/mqMessageOnFormLoadHandler.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/mqMessage/form/mqMessageOnFormLoadHandler.js +62 -0
- package/dist/components/core/extension/solid-core/mqMessage/form/mqMessageOnFormLoadHandler.js.map +1 -0
- package/dist/components/core/extension/solid-core/mqMessage/form/mqMessageOnFormLoadHandler.tsx +27 -0
- package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanCardWidget.d.ts +3 -0
- package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanCardWidget.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanCardWidget.js +128 -0
- package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanCardWidget.js.map +1 -0
- package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanCardWidget.tsx +195 -0
- package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessageStageListViewWidget.d.ts +3 -0
- package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessageStageListViewWidget.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessageStageListViewWidget.js +8 -0
- package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessageStageListViewWidget.js.map +1 -0
- package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessageStageListViewWidget.tsx +15 -0
- package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessagesSummarizeListHeaderAction.d.ts +3 -0
- package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessagesSummarizeListHeaderAction.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessagesSummarizeListHeaderAction.js +158 -0
- package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessagesSummarizeListHeaderAction.js.map +1 -0
- package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessagesSummarizeListHeaderAction.tsx +185 -0
- package/dist/components/core/extension/solid-core/mqMessage/ui/MqMessageStageBadge.d.ts +17 -0
- package/dist/components/core/extension/solid-core/mqMessage/ui/MqMessageStageBadge.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/mqMessage/ui/MqMessageStageBadge.js +52 -0
- package/dist/components/core/extension/solid-core/mqMessage/ui/MqMessageStageBadge.js.map +1 -0
- package/dist/components/core/extension/solid-core/mqMessage/ui/MqMessageStageBadge.tsx +83 -0
- package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.d.ts.map +1 -1
- package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.js +10 -18
- package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.js.map +1 -1
- package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.tsx +32 -53
- package/dist/components/core/field/FieldListViewData.d.ts.map +1 -1
- package/dist/components/core/field/FieldListViewData.js +83 -74
- package/dist/components/core/field/FieldListViewData.js.map +1 -1
- package/dist/components/core/field/FieldListViewData.tsx +120 -168
- package/dist/components/core/filter/SEARCH_FILTER_HIERARCHY.md +582 -0
- package/dist/components/core/filter/SolidBooleanFilterElement.d.ts +1 -1
- package/dist/components/core/filter/SolidBooleanFilterElement.d.ts.map +1 -1
- package/dist/components/core/filter/SolidBooleanFilterElement.js +4 -4
- package/dist/components/core/filter/SolidBooleanFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidBooleanFilterElement.tsx +7 -6
- package/dist/components/core/filter/SolidManyToManyFilterElement.d.ts +1 -1
- package/dist/components/core/filter/SolidManyToManyFilterElement.d.ts.map +1 -1
- package/dist/components/core/filter/SolidManyToManyFilterElement.js +5 -9
- package/dist/components/core/filter/SolidManyToManyFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidManyToManyFilterElement.tsx +8 -7
- package/dist/components/core/filter/SolidManyToOneFilterElement.d.ts +1 -1
- package/dist/components/core/filter/SolidManyToOneFilterElement.d.ts.map +1 -1
- package/dist/components/core/filter/SolidManyToOneFilterElement.js +4 -4
- package/dist/components/core/filter/SolidManyToOneFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidManyToOneFilterElement.tsx +7 -6
- package/dist/components/core/filter/SolidOneToManyFilterElement.d.ts +1 -1
- package/dist/components/core/filter/SolidOneToManyFilterElement.d.ts.map +1 -1
- package/dist/components/core/filter/SolidOneToManyFilterElement.js +5 -9
- package/dist/components/core/filter/SolidOneToManyFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidOneToManyFilterElement.tsx +8 -7
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.d.ts +1 -1
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.d.ts.map +1 -1
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.js +4 -4
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.tsx +7 -6
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.d.ts +1 -1
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.d.ts.map +1 -1
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.js +4 -4
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.tsx +7 -6
- package/dist/components/core/filter/SolidVarInputsFilterElement.d.ts +1 -1
- package/dist/components/core/filter/SolidVarInputsFilterElement.d.ts.map +1 -1
- package/dist/components/core/filter/SolidVarInputsFilterElement.js +109 -38
- package/dist/components/core/filter/SolidVarInputsFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidVarInputsFilterElement.tsx +215 -155
- package/dist/components/core/filter/fields/SolidBooleanField.js +3 -3
- package/dist/components/core/filter/fields/SolidBooleanField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidBooleanField.tsx +6 -6
- package/dist/components/core/filter/fields/SolidDateField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidDateField.js +3 -5
- package/dist/components/core/filter/fields/SolidDateField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidDateField.tsx +6 -8
- package/dist/components/core/filter/fields/SolidDatetimeField.js +3 -3
- package/dist/components/core/filter/fields/SolidDatetimeField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidDatetimeField.tsx +5 -5
- package/dist/components/core/filter/fields/SolidExternalIdField.js +5 -5
- package/dist/components/core/filter/fields/SolidExternalIdField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidExternalIdField.tsx +8 -8
- package/dist/components/core/filter/fields/SolidIdField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidIdField.js +11 -4
- package/dist/components/core/filter/fields/SolidIdField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidIdField.tsx +12 -5
- package/dist/components/core/filter/fields/SolidIntField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidIntField.js +3 -5
- package/dist/components/core/filter/fields/SolidIntField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidIntField.tsx +6 -8
- package/dist/components/core/filter/fields/SolidMediaMultipleField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidMediaMultipleField.js +3 -5
- package/dist/components/core/filter/fields/SolidMediaMultipleField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidMediaMultipleField.tsx +6 -8
- package/dist/components/core/filter/fields/SolidMediaSingleField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidMediaSingleField.js +3 -5
- package/dist/components/core/filter/fields/SolidMediaSingleField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidMediaSingleField.tsx +6 -8
- package/dist/components/core/filter/fields/SolidSelectionDynamicField.js +3 -3
- package/dist/components/core/filter/fields/SolidSelectionDynamicField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidSelectionDynamicField.tsx +5 -5
- package/dist/components/core/filter/fields/SolidSelectionStaticField.js +3 -3
- package/dist/components/core/filter/fields/SolidSelectionStaticField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidSelectionStaticField.tsx +5 -5
- package/dist/components/core/filter/fields/SolidShortTextField.d.ts.map +1 -1
- package/dist/components/core/filter/fields/SolidShortTextField.js +3 -5
- package/dist/components/core/filter/fields/SolidShortTextField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidShortTextField.tsx +6 -8
- package/dist/components/core/filter/fields/SolidTimeField.js +3 -3
- package/dist/components/core/filter/fields/SolidTimeField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidTimeField.tsx +5 -5
- package/dist/components/core/filter/fields/SolidUuidField.js +5 -5
- package/dist/components/core/filter/fields/SolidUuidField.js.map +1 -1
- package/dist/components/core/filter/fields/SolidUuidField.tsx +8 -8
- package/dist/components/core/filter/fields/relations/SolidRelationManyToManyField.js +2 -2
- package/dist/components/core/filter/fields/relations/SolidRelationManyToManyField.js.map +1 -1
- package/dist/components/core/filter/fields/relations/SolidRelationManyToManyField.tsx +4 -4
- package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.js +3 -3
- package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.js.map +1 -1
- package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.tsx +5 -5
- package/dist/components/core/filter/fields/relations/SolidRelationOneToManyField.js +2 -2
- package/dist/components/core/filter/fields/relations/SolidRelationOneToManyField.js.map +1 -1
- package/dist/components/core/filter/fields/relations/SolidRelationOneToManyField.tsx +4 -4
- package/dist/components/core/filter/filterMatchMode.d.ts +17 -0
- package/dist/components/core/filter/filterMatchMode.d.ts.map +1 -0
- package/dist/components/core/filter/filterMatchMode.js +16 -0
- package/dist/components/core/filter/filterMatchMode.js.map +1 -0
- package/dist/components/core/filter/filterMatchMode.ts +18 -0
- package/dist/components/core/form/SolidFormActionHeader.d.ts +1 -1
- package/dist/components/core/form/SolidFormActionHeader.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormActionHeader.js +61 -55
- package/dist/components/core/form/SolidFormActionHeader.js.map +1 -1
- package/dist/components/core/form/SolidFormActionHeader.tsx +356 -334
- package/dist/components/core/form/SolidFormFieldRender.js +2 -2
- package/dist/components/core/form/SolidFormFieldRender.js.map +1 -1
- package/dist/components/core/form/SolidFormFieldRender.tsx +2 -2
- package/dist/components/core/form/SolidFormFooter.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormFooter.js +3 -3
- package/dist/components/core/form/SolidFormFooter.js.map +1 -1
- package/dist/components/core/form/SolidFormFooter.tsx +26 -19
- package/dist/components/core/form/SolidFormUserViewLayout.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormUserViewLayout.js +3 -6
- package/dist/components/core/form/SolidFormUserViewLayout.js.map +1 -1
- package/dist/components/core/form/SolidFormUserViewLayout.tsx +9 -13
- package/dist/components/core/form/SolidFormView.d.ts +0 -3
- package/dist/components/core/form/SolidFormView.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormView.js +78 -127
- package/dist/components/core/form/SolidFormView.js.map +1 -1
- package/dist/components/core/form/SolidFormView.tsx +168 -212
- package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.d.ts +3 -1
- package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.js +22 -16
- package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.js.map +1 -1
- package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.tsx +46 -17
- package/dist/components/core/form/SolidFormViewNormalHeaderButton.d.ts +3 -1
- package/dist/components/core/form/SolidFormViewNormalHeaderButton.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormViewNormalHeaderButton.js +32 -15
- package/dist/components/core/form/SolidFormViewNormalHeaderButton.js.map +1 -1
- package/dist/components/core/form/SolidFormViewNormalHeaderButton.tsx +40 -17
- package/dist/components/core/form/SolidFormViewShimmerLoading.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormViewShimmerLoading.js +5 -2
- package/dist/components/core/form/SolidFormViewShimmerLoading.js.map +1 -1
- package/dist/components/core/form/SolidFormViewShimmerLoading.tsx +40 -37
- package/dist/components/core/form/fields/SolidBooleanField.d.ts +1 -1
- package/dist/components/core/form/fields/SolidBooleanField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidBooleanField.js +80 -69
- package/dist/components/core/form/fields/SolidBooleanField.js.map +1 -1
- package/dist/components/core/form/fields/SolidBooleanField.tsx +116 -145
- package/dist/components/core/form/fields/SolidDateField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidDateField.js +22 -49
- package/dist/components/core/form/fields/SolidDateField.js.map +1 -1
- package/dist/components/core/form/fields/SolidDateField.tsx +30 -72
- package/dist/components/core/form/fields/SolidDateTimeField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidDateTimeField.js +22 -48
- package/dist/components/core/form/fields/SolidDateTimeField.js.map +1 -1
- package/dist/components/core/form/fields/SolidDateTimeField.tsx +33 -69
- package/dist/components/core/form/fields/SolidDecimalField.d.ts +1 -1
- package/dist/components/core/form/fields/SolidDecimalField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidDecimalField.js +17 -17
- package/dist/components/core/form/fields/SolidDecimalField.js.map +1 -1
- package/dist/components/core/form/fields/SolidDecimalField.tsx +21 -24
- package/dist/components/core/form/fields/SolidEmailField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidEmailField.js +11 -15
- package/dist/components/core/form/fields/SolidEmailField.js.map +1 -1
- package/dist/components/core/form/fields/SolidEmailField.tsx +27 -33
- package/dist/components/core/form/fields/SolidIntegerField.d.ts +1 -1
- package/dist/components/core/form/fields/SolidIntegerField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidIntegerField.js +12 -9
- package/dist/components/core/form/fields/SolidIntegerField.js.map +1 -1
- package/dist/components/core/form/fields/SolidIntegerField.tsx +23 -24
- package/dist/components/core/form/fields/SolidJsonField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidJsonField.js +15 -10
- package/dist/components/core/form/fields/SolidJsonField.js.map +1 -1
- package/dist/components/core/form/fields/SolidJsonField.tsx +21 -20
- package/dist/components/core/form/fields/SolidLongTextField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidLongTextField.js +28 -44
- package/dist/components/core/form/fields/SolidLongTextField.js.map +1 -1
- package/dist/components/core/form/fields/SolidLongTextField.tsx +90 -119
- package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidMediaMultipleField.js +41 -49
- package/dist/components/core/form/fields/SolidMediaMultipleField.js.map +1 -1
- package/dist/components/core/form/fields/SolidMediaMultipleField.tsx +127 -111
- package/dist/components/core/form/fields/SolidMediaSingleField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidMediaSingleField.js +10 -23
- package/dist/components/core/form/fields/SolidMediaSingleField.js.map +1 -1
- package/dist/components/core/form/fields/SolidMediaSingleField.tsx +117 -100
- package/dist/components/core/form/fields/SolidPasswordField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidPasswordField.js +29 -32
- package/dist/components/core/form/fields/SolidPasswordField.js.map +1 -1
- package/dist/components/core/form/fields/SolidPasswordField.tsx +122 -117
- package/dist/components/core/form/fields/SolidRichTextField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidRichTextField.js +6 -8
- package/dist/components/core/form/fields/SolidRichTextField.js.map +1 -1
- package/dist/components/core/form/fields/SolidRichTextField.tsx +31 -46
- package/dist/components/core/form/fields/SolidSelectionDynamicField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionDynamicField.js +36 -24
- package/dist/components/core/form/fields/SolidSelectionDynamicField.js.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionDynamicField.tsx +56 -61
- package/dist/components/core/form/fields/SolidSelectionStaticField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionStaticField.js +60 -74
- package/dist/components/core/form/fields/SolidSelectionStaticField.js.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionStaticField.tsx +99 -167
- package/dist/components/core/form/fields/SolidShortTextField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidShortTextField.js +23 -36
- package/dist/components/core/form/fields/SolidShortTextField.js.map +1 -1
- package/dist/components/core/form/fields/SolidShortTextField.tsx +54 -119
- package/dist/components/core/form/fields/SolidTimeField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidTimeField.js +14 -14
- package/dist/components/core/form/fields/SolidTimeField.js.map +1 -1
- package/dist/components/core/form/fields/SolidTimeField.tsx +23 -26
- package/dist/components/core/form/fields/fieldEventUtils.d.ts +10 -0
- package/dist/components/core/form/fields/fieldEventUtils.d.ts.map +1 -0
- package/dist/components/core/form/fields/fieldEventUtils.js +11 -0
- package/dist/components/core/form/fields/fieldEventUtils.js.map +1 -0
- package/dist/components/core/form/fields/fieldEventUtils.ts +24 -0
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js +31 -28
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +105 -103
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js +38 -30
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +55 -40
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js +17 -19
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +40 -29
- 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 +5 -8
- package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.js.map +1 -1
- package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.tsx +20 -13
- package/dist/components/core/form/fields/solidFields.module.css +263 -1
- package/dist/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.d.ts.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.js +76 -56
- package/dist/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.tsx +106 -120
- package/dist/components/core/form/fields/widgets/SolidChatterMessageCoModelEntityIdFormViewWidget.d.ts +3 -0
- package/dist/components/core/form/fields/widgets/SolidChatterMessageCoModelEntityIdFormViewWidget.d.ts.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidChatterMessageCoModelEntityIdFormViewWidget.js +92 -0
- package/dist/components/core/form/fields/widgets/SolidChatterMessageCoModelEntityIdFormViewWidget.js.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidChatterMessageCoModelEntityIdFormViewWidget.tsx +68 -0
- package/dist/components/core/form/fields/widgets/SolidIconEditWidget.d.ts.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidIconEditWidget.js +21 -31
- package/dist/components/core/form/fields/widgets/SolidIconEditWidget.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidIconEditWidget.tsx +62 -58
- package/dist/components/core/form/fields/widgets/SolidLovTypeChangeFormEditWidget.d.ts +3 -0
- package/dist/components/core/form/fields/widgets/SolidLovTypeChangeFormEditWidget.d.ts.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidLovTypeChangeFormEditWidget.js +111 -0
- package/dist/components/core/form/fields/widgets/SolidLovTypeChangeFormEditWidget.js.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidLovTypeChangeFormEditWidget.tsx +122 -0
- package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.d.ts.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.tsx +0 -5
- package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.d.ts.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.js +9 -8
- package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.tsx +43 -33
- package/dist/components/core/form/fields/widgets/SolidShortTextFieldAvatarWidget.d.ts.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidShortTextFieldAvatarWidget.js.map +1 -1
- package/dist/components/core/form/fields/widgets/SolidShortTextFieldAvatarWidget.tsx +1 -6
- package/dist/components/core/kanban/KanbanBoard.d.ts +1 -1
- package/dist/components/core/kanban/KanbanBoard.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanBoard.js +44 -8
- package/dist/components/core/kanban/KanbanBoard.js.map +1 -1
- package/dist/components/core/kanban/KanbanBoard.tsx +63 -9
- package/dist/components/core/kanban/KanbanCard.d.ts +8 -0
- package/dist/components/core/kanban/KanbanCard.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanCard.js +22 -162
- package/dist/components/core/kanban/KanbanCard.js.map +1 -1
- package/dist/components/core/kanban/KanbanCard.tsx +67 -224
- package/dist/components/core/kanban/KanbanColumn.d.ts +4 -2
- package/dist/components/core/kanban/KanbanColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanColumn.js +8 -14
- package/dist/components/core/kanban/KanbanColumn.js.map +1 -1
- package/dist/components/core/kanban/KanbanColumn.tsx +60 -80
- package/dist/components/core/kanban/KanbanUserViewLayout.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanUserViewLayout.js +4 -7
- package/dist/components/core/kanban/KanbanUserViewLayout.js.map +1 -1
- package/dist/components/core/kanban/KanbanUserViewLayout.tsx +15 -16
- package/dist/components/core/kanban/SolidKanbanView.d.ts +0 -2
- package/dist/components/core/kanban/SolidKanbanView.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidKanbanView.js +121 -74
- package/dist/components/core/kanban/SolidKanbanView.js.map +1 -1
- package/dist/components/core/kanban/SolidKanbanView.tsx +221 -139
- package/dist/components/core/kanban/SolidKanbanViewConfigure.d.ts +1 -1
- package/dist/components/core/kanban/SolidKanbanViewConfigure.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidKanbanViewConfigure.js +111 -52
- package/dist/components/core/kanban/SolidKanbanViewConfigure.js.map +1 -1
- package/dist/components/core/kanban/SolidKanbanViewConfigure.tsx +239 -122
- package/dist/components/core/list/ListViewRowActionPopup.d.ts.map +1 -1
- package/dist/components/core/list/ListViewRowActionPopup.js +3 -2
- package/dist/components/core/list/ListViewRowActionPopup.js.map +1 -1
- package/dist/components/core/list/ListViewRowActionPopup.tsx +8 -5
- package/dist/components/core/list/PLAN.md +22 -2
- package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.d.ts +1 -1
- package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.d.ts.map +1 -1
- package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.js +3 -8
- package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.js.map +1 -1
- package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.tsx +19 -24
- package/dist/components/core/list/SolidDataTable.d.ts +1 -0
- package/dist/components/core/list/SolidDataTable.d.ts.map +1 -1
- package/dist/components/core/list/SolidDataTable.js +26 -6
- package/dist/components/core/list/SolidDataTable.js.map +1 -1
- package/dist/components/core/list/SolidDataTable.tsx +38 -7
- package/dist/components/core/list/SolidEmptyListViewPlaceholder.d.ts +1 -1
- package/dist/components/core/list/SolidEmptyListViewPlaceholder.d.ts.map +1 -1
- package/dist/components/core/list/SolidEmptyListViewPlaceholder.js +51 -30
- package/dist/components/core/list/SolidEmptyListViewPlaceholder.js.map +1 -1
- package/dist/components/core/list/SolidEmptyListViewPlaceholder.tsx +122 -90
- package/dist/components/core/list/SolidListView.d.ts +5 -12
- package/dist/components/core/list/SolidListView.d.ts.map +1 -1
- package/dist/components/core/list/SolidListView.js +363 -426
- package/dist/components/core/list/SolidListView.js.map +1 -1
- package/dist/components/core/list/SolidListView.tsx +714 -899
- package/dist/components/core/list/SolidListViewConfigure.d.ts.map +1 -1
- package/dist/components/core/list/SolidListViewConfigure.js +50 -61
- package/dist/components/core/list/SolidListViewConfigure.js.map +1 -1
- package/dist/components/core/list/SolidListViewConfigure.tsx +237 -215
- package/dist/components/core/list/SolidListViewHeaderButton.d.ts.map +1 -1
- package/dist/components/core/list/SolidListViewHeaderButton.js +6 -5
- package/dist/components/core/list/SolidListViewHeaderButton.js.map +1 -1
- package/dist/components/core/list/SolidListViewHeaderButton.tsx +9 -7
- package/dist/components/core/list/SolidListViewHeaderContextMenuButton.d.ts +1 -1
- package/dist/components/core/list/SolidListViewHeaderContextMenuButton.d.ts.map +1 -1
- package/dist/components/core/list/SolidListViewHeaderContextMenuButton.js +12 -7
- package/dist/components/core/list/SolidListViewHeaderContextMenuButton.js.map +1 -1
- package/dist/components/core/list/SolidListViewHeaderContextMenuButton.tsx +15 -13
- package/dist/components/core/list/SolidListViewRowActionMenuItem.d.ts +2 -0
- package/dist/components/core/list/SolidListViewRowActionMenuItem.d.ts.map +1 -0
- package/dist/components/core/list/SolidListViewRowActionMenuItem.js +42 -0
- package/dist/components/core/list/SolidListViewRowActionMenuItem.js.map +1 -0
- package/dist/components/core/list/SolidListViewRowActionMenuItem.tsx +43 -0
- package/dist/components/core/list/SolidListViewRowActionsMenu.d.ts +2 -0
- package/dist/components/core/list/SolidListViewRowActionsMenu.d.ts.map +1 -0
- package/dist/components/core/list/SolidListViewRowActionsMenu.js +32 -0
- package/dist/components/core/list/SolidListViewRowActionsMenu.js.map +1 -0
- package/dist/components/core/list/SolidListViewRowActionsMenu.tsx +106 -0
- package/dist/components/core/list/SolidListViewShimmerLoading.d.ts.map +1 -1
- package/dist/components/core/list/SolidListViewShimmerLoading.js +3 -4
- package/dist/components/core/list/SolidListViewShimmerLoading.js.map +1 -1
- package/dist/components/core/list/SolidListViewShimmerLoading.tsx +4 -72
- package/dist/components/core/list/SolidListViewWrapper.module.css +82 -41
- package/dist/components/core/list/SolidManyToOneFilterElement.d.ts.map +1 -1
- package/dist/components/core/list/SolidManyToOneFilterElement.js +2 -2
- package/dist/components/core/list/SolidManyToOneFilterElement.js.map +1 -1
- package/dist/components/core/list/SolidManyToOneFilterElement.tsx +5 -5
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.d.ts.map +1 -1
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.js +2 -2
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.js.map +1 -1
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.tsx +5 -4
- package/dist/components/core/list/SolidSelectionStaticFilterElement.d.ts.map +1 -1
- package/dist/components/core/list/SolidSelectionStaticFilterElement.js +2 -2
- package/dist/components/core/list/SolidSelectionStaticFilterElement.js.map +1 -1
- package/dist/components/core/list/SolidSelectionStaticFilterElement.tsx +5 -4
- package/dist/components/core/list/SolidTableRowCell.d.ts.map +1 -1
- package/dist/components/core/list/SolidTableRowCell.js +4 -3
- package/dist/components/core/list/SolidTableRowCell.js.map +1 -1
- package/dist/components/core/list/SolidTableRowCell.tsx +11 -8
- package/dist/components/core/list/columns/SolidBooleanColumn.js +2 -2
- package/dist/components/core/list/columns/SolidBooleanColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidBooleanColumn.tsx +2 -2
- package/dist/components/core/list/columns/SolidDateColumn.js +1 -1
- package/dist/components/core/list/columns/SolidDateColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidDateColumn.tsx +1 -1
- package/dist/components/core/list/columns/SolidDatetimeColumn.js +1 -1
- package/dist/components/core/list/columns/SolidDatetimeColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidDatetimeColumn.tsx +1 -1
- package/dist/components/core/list/columns/SolidExternalIdColumn.js +1 -1
- package/dist/components/core/list/columns/SolidExternalIdColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidExternalIdColumn.tsx +1 -1
- package/dist/components/core/list/columns/SolidIdColumn.js +2 -2
- package/dist/components/core/list/columns/SolidIdColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidIdColumn.tsx +3 -3
- package/dist/components/core/list/columns/SolidIntColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidIntColumn.js +2 -2
- package/dist/components/core/list/columns/SolidIntColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidIntColumn.tsx +4 -2
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.js +7 -10
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.tsx +13 -18
- package/dist/components/core/list/columns/SolidMediaSingleColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidMediaSingleColumn.js +4 -4
- package/dist/components/core/list/columns/SolidMediaSingleColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidMediaSingleColumn.tsx +4 -4
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.js +1 -1
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.tsx +1 -1
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.js +1 -1
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.tsx +1 -1
- package/dist/components/core/list/columns/SolidShortTextColumn.js +1 -1
- package/dist/components/core/list/columns/SolidShortTextColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidShortTextColumn.tsx +1 -1
- package/dist/components/core/list/columns/SolidTimeColumn.js +1 -1
- package/dist/components/core/list/columns/SolidTimeColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidTimeColumn.tsx +1 -1
- package/dist/components/core/list/columns/SolidUuidColumn.js +1 -1
- package/dist/components/core/list/columns/SolidUuidColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidUuidColumn.tsx +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.js +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.js.map +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.tsx +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js +5 -7
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js.map +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +9 -11
- package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.js +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.js.map +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.tsx +1 -1
- package/dist/components/core/list/widgets/SolidChatterMessageCoModelEntityIdListViewWidget.d.ts +3 -0
- package/dist/components/core/list/widgets/SolidChatterMessageCoModelEntityIdListViewWidget.d.ts.map +1 -0
- package/dist/components/core/list/widgets/SolidChatterMessageCoModelEntityIdListViewWidget.js +87 -0
- package/dist/components/core/list/widgets/SolidChatterMessageCoModelEntityIdListViewWidget.js.map +1 -0
- package/dist/components/core/list/widgets/SolidChatterMessageCoModelEntityIdListViewWidget.tsx +70 -0
- package/dist/components/core/list/widgets/SolidMqMessageStageListViewWidget.d.ts +3 -0
- package/dist/components/core/list/widgets/SolidMqMessageStageListViewWidget.d.ts.map +1 -0
- package/dist/components/core/list/widgets/SolidMqMessageStageListViewWidget.js +33 -0
- package/dist/components/core/list/widgets/SolidMqMessageStageListViewWidget.js.map +1 -0
- package/dist/components/core/list/widgets/SolidMqMessageStageListViewWidget.tsx +50 -0
- package/dist/components/core/list/widgets/SolidSummarizeListHeaderActionMqMessages.d.ts +3 -0
- package/dist/components/core/list/widgets/SolidSummarizeListHeaderActionMqMessages.d.ts.map +1 -0
- package/dist/components/core/list/widgets/SolidSummarizeListHeaderActionMqMessages.js +158 -0
- package/dist/components/core/list/widgets/SolidSummarizeListHeaderActionMqMessages.js.map +1 -0
- package/dist/components/core/list/widgets/SolidSummarizeListHeaderActionMqMessages.tsx +185 -0
- package/dist/components/core/locales/SolidChatterLocaleTabView.d.ts.map +1 -1
- package/dist/components/core/locales/SolidChatterLocaleTabView.js +56 -7
- package/dist/components/core/locales/SolidChatterLocaleTabView.js.map +1 -1
- package/dist/components/core/locales/SolidChatterLocaleTabView.tsx +97 -42
- package/dist/components/core/locales/SolidLocale.d.ts.map +1 -1
- package/dist/components/core/locales/SolidLocale.js +6 -10
- package/dist/components/core/locales/SolidLocale.js.map +1 -1
- package/dist/components/core/locales/SolidLocale.tsx +23 -29
- package/dist/components/core/locales/solid-locale.css +142 -23
- package/dist/components/core/model/CreateModel.d.ts.map +1 -1
- package/dist/components/core/model/CreateModel.js +58 -63
- package/dist/components/core/model/CreateModel.js.map +1 -1
- package/dist/components/core/model/CreateModel.tsx +179 -213
- package/dist/components/core/model/FieldMetaData.d.ts.map +1 -1
- package/dist/components/core/model/FieldMetaData.js +29 -40
- package/dist/components/core/model/FieldMetaData.js.map +1 -1
- package/dist/components/core/model/FieldMetaData.tsx +154 -103
- package/dist/components/core/model/FieldMetaDataForm.d.ts.map +1 -1
- package/dist/components/core/model/FieldMetaDataForm.js +521 -270
- package/dist/components/core/model/FieldMetaDataForm.js.map +1 -1
- package/dist/components/core/model/FieldMetaDataForm.tsx +1142 -956
- package/dist/components/core/model/FieldSelector.d.ts +5 -1
- package/dist/components/core/model/FieldSelector.d.ts.map +1 -1
- package/dist/components/core/model/FieldSelector.js +52 -30
- package/dist/components/core/model/FieldSelector.js.map +1 -1
- package/dist/components/core/model/FieldSelector.tsx +119 -57
- package/dist/components/core/model/ModelListViewData.d.ts.map +1 -1
- package/dist/components/core/model/ModelListViewData.js +110 -91
- package/dist/components/core/model/ModelListViewData.js.map +1 -1
- package/dist/components/core/model/ModelListViewData.tsx +172 -220
- package/dist/components/core/model/ModelMetaData.d.ts.map +1 -1
- package/dist/components/core/model/ModelMetaData.js +105 -61
- package/dist/components/core/model/ModelMetaData.js.map +1 -1
- package/dist/components/core/model/ModelMetaData.tsx +277 -457
- package/dist/components/core/module/CreateModule.d.ts +1 -1
- package/dist/components/core/module/CreateModule.d.ts.map +1 -1
- package/dist/components/core/module/CreateModule.js +33 -54
- package/dist/components/core/module/CreateModule.js.map +1 -1
- package/dist/components/core/module/CreateModule.tsx +273 -299
- package/dist/components/core/module/ModuleListViewData.d.ts.map +1 -1
- package/dist/components/core/module/ModuleListViewData.js +104 -135
- package/dist/components/core/module/ModuleListViewData.js.map +1 -1
- package/dist/components/core/module/ModuleListViewData.tsx +172 -278
- package/dist/components/core/solid-ai/SolidAiChat.d.ts.map +1 -1
- package/dist/components/core/solid-ai/SolidAiChat.js +25 -20
- package/dist/components/core/solid-ai/SolidAiChat.js.map +1 -1
- package/dist/components/core/solid-ai/SolidAiChat.tsx +80 -31
- package/dist/components/core/solid-ai/SolidAiMainWrapper.d.ts.map +1 -1
- package/dist/components/core/solid-ai/SolidAiMainWrapper.js +5 -2
- package/dist/components/core/solid-ai/SolidAiMainWrapper.js.map +1 -1
- package/dist/components/core/solid-ai/SolidAiMainWrapper.tsx +7 -2
- package/dist/components/core/tree/SolidTreeTable.d.ts +73 -0
- package/dist/components/core/tree/SolidTreeTable.d.ts.map +1 -0
- package/dist/components/core/tree/SolidTreeTable.js +275 -0
- package/dist/components/core/tree/SolidTreeTable.js.map +1 -0
- package/dist/components/core/tree/SolidTreeTable.tsx +522 -0
- package/dist/components/core/tree/SolidTreeView.d.ts.map +1 -1
- package/dist/components/core/tree/SolidTreeView.js +266 -244
- package/dist/components/core/tree/SolidTreeView.js.map +1 -1
- package/dist/components/core/tree/SolidTreeView.tsx +606 -625
- package/dist/components/core/users/ApiKeysTab/ApiKeysTab.css +38 -0
- package/dist/components/core/users/ApiKeysTab/ApiKeysTab.d.ts +8 -0
- package/dist/components/core/users/ApiKeysTab/ApiKeysTab.d.ts.map +1 -0
- package/dist/components/core/users/ApiKeysTab/ApiKeysTab.js +139 -0
- package/dist/components/core/users/ApiKeysTab/ApiKeysTab.js.map +1 -0
- package/dist/components/core/users/ApiKeysTab/ApiKeysTab.tsx +256 -0
- package/dist/components/core/users/ApiKeysTab/GenerateApiKeyModal.d.ts +9 -0
- package/dist/components/core/users/ApiKeysTab/GenerateApiKeyModal.d.ts.map +1 -0
- package/dist/components/core/users/ApiKeysTab/GenerateApiKeyModal.js +157 -0
- package/dist/components/core/users/ApiKeysTab/GenerateApiKeyModal.js.map +1 -0
- package/dist/components/core/users/ApiKeysTab/GenerateApiKeyModal.tsx +183 -0
- package/dist/components/core/users/ApiKeysTab/RevealApiKeyModal.d.ts +9 -0
- package/dist/components/core/users/ApiKeysTab/RevealApiKeyModal.d.ts.map +1 -0
- package/dist/components/core/users/ApiKeysTab/RevealApiKeyModal.js +37 -0
- package/dist/components/core/users/ApiKeysTab/RevealApiKeyModal.js.map +1 -0
- package/dist/components/core/users/ApiKeysTab/RevealApiKeyModal.tsx +111 -0
- package/dist/components/core/users/ApiKeysTab/index.d.ts +4 -0
- package/dist/components/core/users/ApiKeysTab/index.d.ts.map +1 -0
- package/dist/components/core/users/ApiKeysTab/index.js +4 -0
- package/dist/components/core/users/ApiKeysTab/index.js.map +1 -0
- package/dist/components/core/users/ApiKeysTab/index.ts +3 -0
- package/dist/components/core/users/CreateUser.d.ts.map +1 -1
- package/dist/components/core/users/CreateUser.js +147 -155
- package/dist/components/core/users/CreateUser.js.map +1 -1
- package/dist/components/core/users/CreateUser.tsx +396 -370
- package/dist/components/core/users/CreateUserRole.d.ts.map +1 -1
- package/dist/components/core/users/CreateUserRole.js +14 -21
- package/dist/components/core/users/CreateUserRole.js.map +1 -1
- package/dist/components/core/users/CreateUserRole.tsx +16 -33
- package/dist/components/core/users/UserListView.d.ts.map +1 -1
- package/dist/components/core/users/UserListView.js +95 -92
- package/dist/components/core/users/UserListView.js.map +1 -1
- package/dist/components/core/users/UserListView.tsx +286 -330
- package/dist/components/layout/AdminLayout.d.ts.map +1 -1
- package/dist/components/layout/AdminLayout.js +4 -12
- package/dist/components/layout/AdminLayout.js.map +1 -1
- package/dist/components/layout/AdminLayout.tsx +22 -31
- package/dist/components/layout/AppConfig.d.ts +2 -2
- package/dist/components/layout/AppConfig.d.ts.map +1 -1
- package/dist/components/layout/AppConfig.js +9 -47
- package/dist/components/layout/AppConfig.js.map +1 -1
- package/dist/components/layout/AppConfig.tsx +10 -98
- package/dist/components/layout/AppSidebar.d.ts.map +1 -1
- package/dist/components/layout/AppSidebar.js +215 -84
- package/dist/components/layout/AppSidebar.js.map +1 -1
- package/dist/components/layout/AppSidebar.tsx +357 -163
- package/dist/components/layout/DashboardHeader.d.ts.map +1 -1
- package/dist/components/layout/DashboardHeader.js +11 -17
- package/dist/components/layout/DashboardHeader.js.map +1 -1
- package/dist/components/layout/DashboardHeader.tsx +40 -35
- package/dist/components/layout/FilterMenu.d.ts.map +1 -1
- package/dist/components/layout/FilterMenu.js +4 -7
- package/dist/components/layout/FilterMenu.js.map +1 -1
- package/dist/components/layout/FilterMenu.tsx +22 -20
- package/dist/components/layout/GlobalSearch.d.ts.map +1 -1
- package/dist/components/layout/GlobalSearch.js +2 -6
- package/dist/components/layout/GlobalSearch.js.map +1 -1
- package/dist/components/layout/GlobalSearch.tsx +7 -13
- package/dist/components/layout/Layout.d.ts.map +1 -1
- package/dist/components/layout/Layout.js +11 -130
- package/dist/components/layout/Layout.js.map +1 -1
- package/dist/components/layout/Layout.tsx +18 -161
- package/dist/components/layout/ListingHeader.d.ts.map +1 -1
- package/dist/components/layout/ListingHeader.js +4 -8
- package/dist/components/layout/ListingHeader.js.map +1 -1
- package/dist/components/layout/ListingHeader.tsx +3 -9
- package/dist/components/layout/SolidAiStudioLayout.d.ts.map +1 -1
- package/dist/components/layout/SolidAiStudioLayout.js +130 -64
- package/dist/components/layout/SolidAiStudioLayout.js.map +1 -1
- package/dist/components/layout/SolidAiStudioLayout.tsx +141 -189
- package/dist/components/layout/UserSidebar.d.ts.map +1 -1
- package/dist/components/layout/UserSidebar.js +5 -4
- package/dist/components/layout/UserSidebar.js.map +1 -1
- package/dist/components/layout/UserSidebar.tsx +6 -5
- package/dist/components/layout/context/layoutcontext.d.ts.map +1 -1
- package/dist/components/layout/context/layoutcontext.js +31 -6
- package/dist/components/layout/context/layoutcontext.js.map +1 -1
- package/dist/components/layout/context/layoutcontext.tsx +31 -2
- package/dist/components/layout/navbar-one.d.ts.map +1 -1
- package/dist/components/layout/navbar-one.js +3 -8
- package/dist/components/layout/navbar-one.js.map +1 -1
- package/dist/components/layout/navbar-one.tsx +24 -15
- package/dist/components/layout/navbar-two-menu.d.ts.map +1 -1
- package/dist/components/layout/navbar-two-menu.js +16 -2
- package/dist/components/layout/navbar-two-menu.js.map +1 -1
- package/dist/components/layout/navbar-two-menu.tsx +50 -13
- package/dist/components/layout/user-profile-menu.d.ts.map +1 -1
- package/dist/components/layout/user-profile-menu.js +74 -59
- package/dist/components/layout/user-profile-menu.js.map +1 -1
- package/dist/components/layout/user-profile-menu.tsx +206 -143
- package/dist/components/shad-cn-ui/SolidAccordion.d.ts +7 -0
- package/dist/components/shad-cn-ui/SolidAccordion.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidAccordion.js +47 -0
- package/dist/components/shad-cn-ui/SolidAccordion.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidAccordion.tsx +41 -0
- package/dist/components/shad-cn-ui/SolidAutocomplete.d.ts +12 -1
- package/dist/components/shad-cn-ui/SolidAutocomplete.d.ts.map +1 -1
- package/dist/components/shad-cn-ui/SolidAutocomplete.js +31 -15
- package/dist/components/shad-cn-ui/SolidAutocomplete.js.map +1 -1
- package/dist/components/shad-cn-ui/SolidAutocomplete.tsx +60 -24
- package/dist/components/shad-cn-ui/SolidButton.d.ts +10 -2
- package/dist/components/shad-cn-ui/SolidButton.d.ts.map +1 -1
- package/dist/components/shad-cn-ui/SolidButton.js +18 -2
- package/dist/components/shad-cn-ui/SolidButton.js.map +1 -1
- package/dist/components/shad-cn-ui/SolidButton.tsx +54 -8
- package/dist/components/shad-cn-ui/SolidCheckbox.d.ts +7 -0
- package/dist/components/shad-cn-ui/SolidCheckbox.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidCheckbox.js +35 -0
- package/dist/components/shad-cn-ui/SolidCheckbox.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidCheckbox.tsx +19 -0
- package/dist/components/shad-cn-ui/SolidCodeEditor.d.ts +12 -0
- package/dist/components/shad-cn-ui/SolidCodeEditor.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidCodeEditor.js +19 -0
- package/dist/components/shad-cn-ui/SolidCodeEditor.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidCodeEditor.tsx +48 -0
- package/dist/components/shad-cn-ui/SolidConfirmDialog.d.ts +14 -0
- package/dist/components/shad-cn-ui/SolidConfirmDialog.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidConfirmDialog.js +8 -0
- package/dist/components/shad-cn-ui/SolidConfirmDialog.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidConfirmDialog.tsx +50 -0
- package/dist/components/shad-cn-ui/SolidDatePicker.d.ts +10 -0
- package/dist/components/shad-cn-ui/SolidDatePicker.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidDatePicker.js +66 -0
- package/dist/components/shad-cn-ui/SolidDatePicker.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidDatePicker.tsx +72 -0
- package/dist/components/shad-cn-ui/SolidDialog.d.ts +41 -0
- package/dist/components/shad-cn-ui/SolidDialog.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidDialog.js +61 -0
- package/dist/components/shad-cn-ui/SolidDialog.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidDialog.tsx +141 -0
- package/dist/components/shad-cn-ui/SolidDivider.d.ts +4 -0
- package/dist/components/shad-cn-ui/SolidDivider.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidDivider.js +6 -0
- package/dist/components/shad-cn-ui/SolidDivider.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidDivider.tsx +5 -0
- package/dist/components/shad-cn-ui/SolidDropdownMenu.d.ts +15 -0
- package/dist/components/shad-cn-ui/SolidDropdownMenu.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidDropdownMenu.js +70 -0
- package/dist/components/shad-cn-ui/SolidDropdownMenu.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidDropdownMenu.tsx +124 -0
- package/dist/components/shad-cn-ui/SolidIcon.d.ts +92 -0
- package/dist/components/shad-cn-ui/SolidIcon.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidIcon.js +149 -0
- package/dist/components/shad-cn-ui/SolidIcon.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidIcon.tsx +223 -0
- package/dist/components/shad-cn-ui/SolidInput.d.ts +1 -1
- package/dist/components/shad-cn-ui/SolidInput.d.ts.map +1 -1
- package/dist/components/shad-cn-ui/SolidInput.js +4 -3
- package/dist/components/shad-cn-ui/SolidInput.js.map +1 -1
- package/dist/components/shad-cn-ui/SolidInput.tsx +6 -4
- package/dist/components/shad-cn-ui/SolidLightbox.d.ts +19 -0
- package/dist/components/shad-cn-ui/SolidLightbox.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidLightbox.js +160 -0
- package/dist/components/shad-cn-ui/SolidLightbox.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidLightbox.tsx +281 -0
- package/dist/components/shad-cn-ui/SolidMessage.d.ts +10 -0
- package/dist/components/shad-cn-ui/SolidMessage.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidMessage.js +13 -0
- package/dist/components/shad-cn-ui/SolidMessage.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidMessage.tsx +20 -0
- package/dist/components/shad-cn-ui/SolidOtpInput.d.ts +12 -0
- package/dist/components/shad-cn-ui/SolidOtpInput.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidOtpInput.js +143 -0
- package/dist/components/shad-cn-ui/SolidOtpInput.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidOtpInput.tsx +149 -0
- package/dist/components/shad-cn-ui/SolidPanel.d.ts +11 -0
- package/dist/components/shad-cn-ui/SolidPanel.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidPanel.js +17 -0
- package/dist/components/shad-cn-ui/SolidPanel.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidPanel.tsx +36 -0
- package/dist/components/shad-cn-ui/SolidPasswordInput.d.ts +7 -0
- package/dist/components/shad-cn-ui/SolidPasswordInput.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidPasswordInput.js +39 -0
- package/dist/components/shad-cn-ui/SolidPasswordInput.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidPasswordInput.tsx +31 -0
- package/dist/components/shad-cn-ui/SolidPopover.d.ts +19 -0
- package/dist/components/shad-cn-ui/SolidPopover.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidPopover.js +110 -0
- package/dist/components/shad-cn-ui/SolidPopover.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidPopover.tsx +149 -0
- package/dist/components/shad-cn-ui/SolidProgressBar.d.ts +10 -0
- package/dist/components/shad-cn-ui/SolidProgressBar.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidProgressBar.js +14 -0
- package/dist/components/shad-cn-ui/SolidProgressBar.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidProgressBar.tsx +29 -0
- package/dist/components/shad-cn-ui/SolidRadioGroup.d.ts +17 -0
- package/dist/components/shad-cn-ui/SolidRadioGroup.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidRadioGroup.js +13 -0
- package/dist/components/shad-cn-ui/SolidRadioGroup.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidRadioGroup.tsx +50 -0
- package/dist/components/shad-cn-ui/SolidRichTextEditor.d.ts +17 -0
- package/dist/components/shad-cn-ui/SolidRichTextEditor.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidRichTextEditor.js +109 -0
- package/dist/components/shad-cn-ui/SolidRichTextEditor.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidRichTextEditor.tsx +146 -0
- package/dist/components/shad-cn-ui/SolidSegmentedControl.d.ts +17 -0
- package/dist/components/shad-cn-ui/SolidSegmentedControl.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidSegmentedControl.js +34 -0
- package/dist/components/shad-cn-ui/SolidSegmentedControl.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidSegmentedControl.tsx +60 -0
- package/dist/components/shad-cn-ui/SolidSelect.d.ts +2 -1
- package/dist/components/shad-cn-ui/SolidSelect.d.ts.map +1 -1
- package/dist/components/shad-cn-ui/SolidSelect.js +4 -3
- package/dist/components/shad-cn-ui/SolidSelect.js.map +1 -1
- package/dist/components/shad-cn-ui/SolidSelect.tsx +5 -2
- package/dist/components/shad-cn-ui/SolidSlider.d.ts +12 -0
- package/dist/components/shad-cn-ui/SolidSlider.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidSlider.js +13 -0
- package/dist/components/shad-cn-ui/SolidSlider.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidSlider.tsx +30 -0
- package/dist/components/shad-cn-ui/SolidSpinner.d.ts +8 -0
- package/dist/components/shad-cn-ui/SolidSpinner.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidSpinner.js +14 -0
- package/dist/components/shad-cn-ui/SolidSpinner.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidSpinner.tsx +21 -0
- package/dist/components/shad-cn-ui/SolidSwitch.d.ts +10 -0
- package/dist/components/shad-cn-ui/SolidSwitch.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidSwitch.js +18 -0
- package/dist/components/shad-cn-ui/SolidSwitch.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidSwitch.tsx +34 -0
- package/dist/components/shad-cn-ui/SolidTabs.d.ts +4 -1
- package/dist/components/shad-cn-ui/SolidTabs.d.ts.map +1 -1
- package/dist/components/shad-cn-ui/SolidTabs.js +6 -6
- package/dist/components/shad-cn-ui/SolidTabs.js.map +1 -1
- package/dist/components/shad-cn-ui/SolidTabs.tsx +22 -4
- package/dist/components/shad-cn-ui/SolidTag.d.ts +9 -0
- package/dist/components/shad-cn-ui/SolidTag.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidTag.js +13 -0
- package/dist/components/shad-cn-ui/SolidTag.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidTag.tsx +15 -0
- package/dist/components/shad-cn-ui/SolidTextarea.d.ts +5 -0
- package/dist/components/shad-cn-ui/SolidTextarea.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidTextarea.js +36 -0
- package/dist/components/shad-cn-ui/SolidTextarea.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidTextarea.tsx +26 -0
- package/dist/components/shad-cn-ui/SolidToast.d.ts +13 -0
- package/dist/components/shad-cn-ui/SolidToast.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidToast.js +34 -0
- package/dist/components/shad-cn-ui/SolidToast.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidToast.tsx +55 -0
- package/dist/components/shad-cn-ui/SolidTooltip.d.ts +22 -0
- package/dist/components/shad-cn-ui/SolidTooltip.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidTooltip.js +22 -0
- package/dist/components/shad-cn-ui/SolidTooltip.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidTooltip.tsx +65 -0
- package/dist/components/shad-cn-ui/index.d.ts +26 -0
- package/dist/components/shad-cn-ui/index.d.ts.map +1 -1
- package/dist/components/shad-cn-ui/index.js +26 -0
- package/dist/components/shad-cn-ui/index.js.map +1 -1
- package/dist/components/shad-cn-ui/index.ts +48 -0
- package/dist/helpers/# no such endpoints exist, need to calle +3 -0
- package/dist/helpers/mediaType.d.ts +3 -0
- package/dist/helpers/mediaType.d.ts.map +1 -0
- package/dist/helpers/mediaType.js +19 -0
- package/dist/helpers/mediaType.js.map +1 -0
- package/dist/helpers/mediaType.ts +23 -0
- package/dist/helpers/registry.d.ts +3 -4
- package/dist/helpers/registry.d.ts.map +1 -1
- package/dist/helpers/registry.js +111 -90
- package/dist/helpers/registry.js.map +1 -1
- package/dist/helpers/registry.ts +126 -91
- package/dist/helpers/routePaths.js +1 -1
- package/dist/helpers/routePaths.js.map +1 -1
- package/dist/helpers/routePaths.ts +1 -1
- package/dist/hooks/useSolidAutocompleteField.d.ts +31 -0
- package/dist/hooks/useSolidAutocompleteField.d.ts.map +1 -0
- package/dist/hooks/useSolidAutocompleteField.js +116 -0
- package/dist/hooks/useSolidAutocompleteField.js.map +1 -0
- package/dist/hooks/useSolidAutocompleteField.ts +90 -0
- package/dist/index.d.ts +18 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -5
- package/dist/index.js.map +1 -1
- package/dist/index.ts +95 -6
- package/dist/redux/api/apiKeyApi.d.ts +47 -0
- package/dist/redux/api/apiKeyApi.d.ts.map +1 -0
- package/dist/redux/api/apiKeyApi.js +47 -0
- package/dist/redux/api/apiKeyApi.js.map +1 -0
- package/dist/redux/api/apiKeyApi.ts +69 -0
- package/dist/redux/store/defaultStoreConfig.d.ts +51 -35
- package/dist/redux/store/defaultStoreConfig.d.ts.map +1 -1
- package/dist/redux/store/defaultStoreConfig.js +32 -3
- package/dist/redux/store/defaultStoreConfig.js.map +1 -1
- package/dist/redux/store/defaultStoreConfig.ts +33 -33
- package/dist/resources/globals.css +3231 -808
- package/dist/resources/images/SolidXLogo-dark.svg +29 -0
- package/dist/resources/images/SolidXLogo-light.svg +29 -0
- package/dist/resources/shadcn-base.css +3040 -865
- package/dist/resources/solid-responsive.css +42 -86
- package/dist/resources/themes/solid-dark-purple/theme.css +15 -20
- package/dist/resources/themes/solid-light-purple/theme.css +14 -19
- package/dist/routes/AppEventListener.d.ts +1 -1
- package/dist/routes/AppEventListener.d.ts.map +1 -1
- package/dist/routes/AppEventListener.js +3 -1
- package/dist/routes/AppEventListener.js.map +1 -1
- package/dist/routes/AppEventListener.tsx +7 -1
- package/dist/routes/guards/AuthGuard.d.ts +5 -1
- package/dist/routes/guards/AuthGuard.d.ts.map +1 -1
- package/dist/routes/guards/AuthGuard.js +13 -2
- package/dist/routes/guards/AuthGuard.js.map +1 -1
- package/dist/routes/guards/AuthGuard.tsx +27 -3
- package/dist/routes/guards/GuestGuard.d.ts +2 -0
- package/dist/routes/guards/GuestGuard.d.ts.map +1 -0
- package/dist/routes/guards/GuestGuard.js +18 -0
- package/dist/routes/guards/GuestGuard.js.map +1 -0
- package/dist/routes/guards/GuestGuard.tsx +20 -0
- package/dist/routes/pages/admin/core/CardPage.d.ts +2 -0
- package/dist/routes/pages/admin/core/CardPage.d.ts.map +1 -0
- package/dist/routes/pages/admin/core/CardPage.js +22 -0
- package/dist/routes/pages/admin/core/CardPage.js.map +1 -0
- package/dist/routes/pages/admin/core/CardPage.tsx +10 -0
- package/dist/routes/pages/auth/SsoPage.d.ts.map +1 -1
- package/dist/routes/pages/auth/SsoPage.js +4 -5
- package/dist/routes/pages/auth/SsoPage.js.map +1 -1
- package/dist/routes/pages/auth/SsoPage.tsx +7 -15
- package/dist/routes/pages/studio/StudioLandingPage.js +3 -3
- package/dist/routes/pages/studio/StudioLandingPage.js.map +1 -1
- package/dist/routes/pages/studio/StudioLandingPage.tsx +5 -5
- package/dist/routes/solidRoutes.d.ts.map +1 -1
- package/dist/routes/solidRoutes.js +18 -1
- package/dist/routes/solidRoutes.js.map +1 -1
- package/dist/routes/solidRoutes.tsx +19 -1
- package/dist/routes/types.d.ts +1 -1
- package/dist/routes/types.d.ts.map +1 -1
- package/dist/routes/types.js.map +1 -1
- package/dist/routes/types.ts +5 -1
- package/dist/styles.d.ts +1 -0
- package/dist/styles.d.ts.map +1 -1
- package/dist/styles.js +1 -0
- package/dist/styles.js.map +1 -1
- package/dist/styles.ts +1 -0
- package/dist/types/extension-registry.d.ts +28 -0
- package/dist/types/extension-registry.d.ts.map +1 -0
- package/dist/types/extension-registry.js +26 -0
- package/dist/types/extension-registry.js.map +1 -0
- package/dist/types/extension-registry.ts +32 -0
- package/dist/types/external.d.ts +11 -0
- package/dist/types/layout.d.ts +4 -2
- package/dist/types/solid-core.d.ts +30 -27
- package/package.json +10 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SolidShortTextColumn.js","sourceRoot":"","sources":["../../../../../src/components/core/list/columns/SolidShortTextColumn.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAGrE,IAAM,oBAAoB,GAAG,UAAC,EAA6G;;QAA3G,qBAAqB,2BAAA,EAAE,aAAa,mBAAA,EAAE,MAAM,YAAA,EAAE,eAAe,qBAAA,EAAE,eAAe,qBAAA;IAE1G,IAAM,aAAa,GAAG,MAAA,MAAA,MAAA,MAAA,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,IAAI,0CAAE,SAAS,0CAAE,MAAM,0CAAE,KAAK,0CAAE,aAAa,CAAC;IAC3F,IAAM,MAAM,GAAG,MAAA,MAAM,CAAC,KAAK,CAAC,KAAK,mCAAI,aAAa,CAAC,WAAW,CAAC;IAE/D,OAAO,CACH,KAAC,MAAM,IAEH,KAAK,EAAE,aAAa,CAAC,IAAI,EACzB,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,QAAQ,EAC/B,MAAM,EAAE;YACJ,OAAO,CAAC,cAAK,KAAK,EAAE,EAAE,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,UAAG,aAAa,OAAI,CAAC,CAAC,CAAC,MAAM,EAAE,UAAU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KAAe,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,EAA9B,GAAG,QAAA,EAAE,KAAK,QAAoB,CAAC;YACtC,SAAO,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;QACzB,CAAC,CAAC,CAAC;QAEH,IAAM,MAAM,GAAG,YAAY,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,UAAC,CAAS,IAAK,OAAA,CAAC,CAAC,IAAI,EAAE,EAAR,CAAQ,CAAC,CAAC;QAEpE,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,UAAC,CAAS,IAAK,OAAA,SAAO,CAAC,CAAC,CAAC,IAAI,CAAC,EAAf,CAAe,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KACxE;IAED,OAAO,CACH,KAAC,iBAAiB,IACd,KAAK,EAAE,YAAY,EACnB,aAAa,EAAE,aAAa,GAC9B,CACL,CAAC;AACN,CAAC,CAAC","sourcesContent":["\nimport { Column } from \"
|
|
1
|
+
{"version":3,"file":"SolidShortTextColumn.js","sourceRoot":"","sources":["../../../../../src/components/core/list/columns/SolidShortTextColumn.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAGrE,IAAM,oBAAoB,GAAG,UAAC,EAA6G;;QAA3G,qBAAqB,2BAAA,EAAE,aAAa,mBAAA,EAAE,MAAM,YAAA,EAAE,eAAe,qBAAA,EAAE,eAAe,qBAAA;IAE1G,IAAM,aAAa,GAAG,MAAA,MAAA,MAAA,MAAA,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,IAAI,0CAAE,SAAS,0CAAE,MAAM,0CAAE,KAAK,0CAAE,aAAa,CAAC;IAC3F,IAAM,MAAM,GAAG,MAAA,MAAM,CAAC,KAAK,CAAC,KA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0CAAE,MAAM,0CAAE,KAAK,0CAAE,aAAa,CAAC;IAC3F,IAAI,YAAY,GAAG,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IAE/C,IAAI,CAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,qBAAqB,KAAI,YAAY,EAAE;QACtD,IAAM,SAAO,GAA2B,EAAE,CAAC;QAE3C,aAAa,CAAC,qBAAqB,CAAC,OAAO,CAAC,UAAC,KAAa;YAChD,IAAA,KAAe,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,EAA9B,GAAG,QAAA,EAAE,KAAK,QAAoB,CAAC;YACtC,SAAO,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;QACzB,CAAC,CAAC,CAAC;QAEH,IAAM,MAAM,GAAG,YAAY,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,UAAC,CAAS,IAAK,OAAA,CAAC,CAAC,IAAI,EAAE,EAAR,CAAQ,CAAC,CAAC;QAEpE,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,UAAC,CAAS,IAAK,OAAA,SAAO,CAAC,CAAC,CAAC,IAAI,CAAC,EAAf,CAAe,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KACxE;IAED,OAAO,CACH,KAAC,iBAAiB,IACd,KAAK,EAAE,YAAY,EACnB,aAAa,EAAE,aAAa,GAC9B,CACL,CAAC;AACN,CAAC,CAAC","sourcesContent":["\nimport { Column } from \"../SolidDataTable\";\nimport { SolidListViewColumnParams } from '../SolidListViewColumn';\nimport SolidTableRowCell from '../SolidTableRowCell';\nimport { getExtensionComponent } from '../../../../helpers/registry';\nimport { SolidListFieldWidgetProps, SolidMediaListFieldWidgetProps } from '../../../../types/solid-core';\n\nconst SolidShortTextColumn = ({ solidListViewMetaData, fieldMetadata, column, setLightboxUrls, setOpenLightbox }: SolidListViewColumnParams) => {\n\n const truncateAfter = solidListViewMetaData?.data?.solidView?.layout?.attrs?.truncateAfter;\n const header = column.attrs.label ?? fieldMetadata.displayName;\n\n return (\n <Column\n key={fieldMetadata.name}\n field={fieldMetadata.name}\n sortable={column.attrs.sortable}\n header={() => {\n return (<div style={{ maxWidth: truncateAfter ? `${truncateAfter}ch` : '30ch', whiteSpace: 'nowrap', textOverflow: 'ellipsis', overflow: 'hidden' }}>{header}</div>)\n }}\n\n body={(rowData) => {\n //add this widget to render media image in image format - SolidShortTextFieldImageRenderModeWidget \n let viewWidget = column.attrs.viewWidget;\n if (!viewWidget) {\n viewWidget = 'DefaultTextListWidget';\n }\n let DynamicWidget = getExtensionComponent(viewWidget);\n const widgetProps: SolidMediaListFieldWidgetProps = {\n rowData,\n solidListViewMetaData,\n fieldMetadata,\n column,\n setLightboxUrls: setLightboxUrls,\n setOpenLightbox: setOpenLightbox\n }\n return (\n <>\n {DynamicWidget && <DynamicWidget {...widgetProps} />}\n </>\n )\n }\n }\n\n ></Column >\n );\n\n};\n\nexport default SolidShortTextColumn;\n\n\n\nexport const DefaultTextListWidget = ({ rowData, solidListViewMetaData, fieldMetadata, column }: SolidListFieldWidgetProps) => {\n const truncateAfter = solidListViewMetaData?.data?.solidView?.layout?.attrs?.truncateAfter;\n let displayValue = rowData[fieldMetadata.name];\n\n if (fieldMetadata?.selectionStaticValues && displayValue) {\n const mapping: Record<string, string> = {};\n\n fieldMetadata.selectionStaticValues.forEach((entry: string) => {\n const [val, label] = entry.split(\":\");\n mapping[val] = label;\n });\n\n const values = displayValue.split(\",\").map((v: string) => v.trim());\n\n displayValue = values.map((v: string) => mapping[v] || v).join(\", \");\n }\n\n return (\n <SolidTableRowCell\n value={displayValue}\n truncateAfter={truncateAfter}\n />\n );\n};\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { Column } from "
|
|
2
|
+
import { Column } from "../SolidDataTable";
|
|
3
3
|
import { SolidListViewColumnParams } from '../SolidListViewColumn';
|
|
4
4
|
import SolidTableRowCell from '../SolidTableRowCell';
|
|
5
5
|
import { getExtensionComponent } from '../../../../helpers/registry';
|
|
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
13
|
-
import { Column } from "
|
|
13
|
+
import { Column } from "../SolidDataTable";
|
|
14
14
|
import { getExtensionComponent } from "../../../../helpers/registry";
|
|
15
15
|
var SolidTimeColumn = function (_a) {
|
|
16
16
|
var _b, _c, _d, _e, _f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SolidTimeColumn.js","sourceRoot":"","sources":["../../../../../src/components/core/list/columns/SolidTimeColumn.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAGrE,IAAM,eAAe,GAAG,UAAC,EAA2E;;QAAzE,qBAAqB,2BAAA,EAAE,aAAa,mBAAA,EAAE,MAAM,YAAA;IACnE,IAAM,aAAa,GAAG,MAAA,MAAA,MAAA,MAAA,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,IAAI,0CAAE,SAAS,0CAAE,MAAM,0CAAE,KAAK,0CAAE,aAAa,CAAA;IAC1F,IAAM,MAAM,GAAG,MAAA,MAAM,CAAC,KAAK,CAAC,KAAK,mCAAI,aAAa,CAAC,WAAW,CAAC;IAE/D,OAAO,CACH,KAAC,MAAM,IAEH,KAAK,EAAE,aAAa,CAAC,IAAI,EACzB,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,QAAQ,EAC/B,MAAM,EAAE;YACJ,OAAO,CAAC,cAAK,KAAK,EAAE,EAAE,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,UAAG,aAAa,OAAI,CAAC,CAAC,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAG,MAAM,GAAO,CAAC,CAAA;QACxK,CAAC,EACD,IAAI,EAAE,UAAC,OAAO;YACV,IAAI,UAAU,GAAG,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC;YACzC,IAAI,CAAC,UAAU,EAAE;gBACb,UAAU,GAAG,uBAAuB,CAAC;aACxC;YACD,IAAI,aAAa,GAAG,qBAAqB,CAAC,UAAU,CAAC,CAAC;YACtD,IAAM,WAAW,GAA8B;gBAC3C,OAAO,SAAA;gBACP,qBAAqB,uBAAA;gBACrB,aAAa,eAAA;gBACb,MAAM,QAAA;aACT,CAAA;YACD,OAAO,CACH,4BACK,aAAa,IAAI,KAAC,aAAa,eAAK,WAAW,EAAI,GACrD,CACN,CAAA;QACL,CAAC,IAvBI,aAAa,CAAC,IAAI,CAyBjB,CACb,CAAC;AAEN,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC","sourcesContent":["\nimport { Column } from \"
|
|
1
|
+
{"version":3,"file":"SolidTimeColumn.js","sourceRoot":"","sources":["../../../../../src/components/core/list/columns/SolidTimeColumn.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAGrE,IAAM,eAAe,GAAG,UAAC,EAA2E;;QAAzE,qBAAqB,2BAAA,EAAE,aAAa,mBAAA,EAAE,MAAM,YAAA;IACnE,IAAM,aAAa,GAAG,MAAA,MAAA,MAAA,MAAA,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,IAAI,0CAAE,SAAS,0CAAE,MAAM,0CAAE,KAAK,0CAAE,aAAa,CAAA;IAC1F,IAAM,MAAM,GAAG,MAAA,MAAM,CAAC,KAAK,CAAC,KAAK,mCAAI,aAAa,CAAC,WAAW,CAAC;IAE/D,OAAO,CACH,KAAC,MAAM,IAEH,KAAK,EAAE,aAAa,CAAC,IAAI,EACzB,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,QAAQ,EAC/B,MAAM,EAAE;YACJ,OAAO,CAAC,cAAK,KAAK,EAAE,EAAE,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,UAAG,aAAa,OAAI,CAAC,CAAC,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAG,MAAM,GAAO,CAAC,CAAA;QACxK,CAAC,EACD,IAAI,EAAE,UAAC,OAAO;YACV,IAAI,UAAU,GAAG,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC;YACzC,IAAI,CAAC,UAAU,EAAE;gBACb,UAAU,GAAG,uBAAuB,CAAC;aACxC;YACD,IAAI,aAAa,GAAG,qBAAqB,CAAC,UAAU,CAAC,CAAC;YACtD,IAAM,WAAW,GAA8B;gBAC3C,OAAO,SAAA;gBACP,qBAAqB,uBAAA;gBACrB,aAAa,eAAA;gBACb,MAAM,QAAA;aACT,CAAA;YACD,OAAO,CACH,4BACK,aAAa,IAAI,KAAC,aAAa,eAAK,WAAW,EAAI,GACrD,CACN,CAAA;QACL,CAAC,IAvBI,aAAa,CAAC,IAAI,CAyBjB,CACb,CAAC;AAEN,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC","sourcesContent":["\nimport { Column } from \"../SolidDataTable\";\nimport { SolidListViewColumnParams } from '../SolidListViewColumn';\nimport { getExtensionComponent } from \"../../../../helpers/registry\";\nimport { SolidListFieldWidgetProps } from \"../../../../types/solid-core\";\n\nconst SolidTimeColumn = ({ solidListViewMetaData, fieldMetadata, column }: SolidListViewColumnParams) => {\n const truncateAfter = solidListViewMetaData?.data?.solidView?.layout?.attrs?.truncateAfter\n const header = column.attrs.label ?? fieldMetadata.displayName;\n\n return (\n <Column\n key={fieldMetadata.name}\n field={fieldMetadata.name}\n sortable={column.attrs.sortable}\n header={() => {\n return (<div style={{ maxWidth: truncateAfter ? `${truncateAfter}ch` : '30ch', whiteSpace: 'nowrap', textOverflow: 'ellipsis', overflow: 'hidden' }}>{header}</div>)\n }}\n body={(rowData) => {\n let viewWidget = column.attrs.viewWidget;\n if (!viewWidget) {\n viewWidget = 'DefaultTextListWidget';\n }\n let DynamicWidget = getExtensionComponent(viewWidget);\n const widgetProps: SolidListFieldWidgetProps = {\n rowData,\n solidListViewMetaData,\n fieldMetadata,\n column\n }\n return (\n <>\n {DynamicWidget && <DynamicWidget {...widgetProps} />}\n </>\n )\n }\n }\n ></Column>\n );\n\n};\n\nexport default SolidTimeColumn;"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { Column } from "
|
|
2
|
+
import { Column } from "../SolidDataTable";
|
|
3
3
|
import { SolidListViewColumnParams } from '../SolidListViewColumn';
|
|
4
4
|
import { getExtensionComponent } from "../../../../helpers/registry";
|
|
5
5
|
import { SolidListFieldWidgetProps } from "../../../../types/solid-core";
|
|
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
13
|
-
import { Column } from "
|
|
13
|
+
import { Column } from "../SolidDataTable";
|
|
14
14
|
import { getExtensionComponent } from '../../../../helpers/registry';
|
|
15
15
|
var SolidUuidColumn = function (_a) {
|
|
16
16
|
var _b, _c, _d, _e, _f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SolidUuidColumn.js","sourceRoot":"","sources":["../../../../../src/components/core/list/columns/SolidUuidColumn.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAG3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAErE,IAAM,eAAe,GAAG,UAAC,EAA2E;;QAAzE,qBAAqB,2BAAA,EAAE,aAAa,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;YACD,OAAO,CACH,4BACK,aAAa,IAAI,KAAC,aAAa,eAAK,WAAW,EAAI,GACrD,CACN,CAAA;QACL,CAAC,IAvBI,aAAa,CAAC,IAAI,CAyBjB,CACb,CAAC;AAEN,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC","sourcesContent":["\nimport { Column } from \"../SolidDataTable\";\nimport { SolidListViewColumnParams } from '../SolidListViewColumn';\nimport { SolidListFieldWidgetProps } from '../../../../types/solid-core';\nimport { getExtensionComponent } from '../../../../helpers/registry';\n\nconst SolidUuidColumn = ({ solidListViewMetaData, fieldMetadata, column }: SolidListViewColumnParams) => {\n const truncateAfter = solidListViewMetaData?.data?.solidView?.layout?.attrs?.truncateAfter\n const header = column.attrs.label ?? fieldMetadata.displayName;\n\n return (\n <Column\n key={fieldMetadata.name}\n field={fieldMetadata.name}\n sortable={column.attrs.sortable}\n header={() => {\n return (<div style={{ maxWidth: truncateAfter ? `${truncateAfter}ch` : '30ch', whiteSpace: 'nowrap', textOverflow: 'ellipsis', overflow: 'hidden' }}>{header}</div>)\n }}\n body={(rowData) => {\n let viewWidget = column.attrs.viewWidget;\n if (!viewWidget) {\n viewWidget = 'DefaultTextListWidget';\n }\n let DynamicWidget = getExtensionComponent(viewWidget);\n const widgetProps: SolidListFieldWidgetProps = {\n rowData,\n solidListViewMetaData,\n fieldMetadata,\n column\n }\n return (\n <>\n {DynamicWidget && <DynamicWidget {...widgetProps} />}\n </>\n )\n }\n }\n ></Column>\n );\n\n};\n\nexport default SolidUuidColumn;"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { Column } from "
|
|
2
|
+
import { Column } from "../SolidDataTable";
|
|
3
3
|
import { SolidListViewColumnParams } from '../SolidListViewColumn';
|
|
4
4
|
import { SolidListFieldWidgetProps } from '../../../../types/solid-core';
|
|
5
5
|
import { getExtensionComponent } from '../../../../helpers/registry';
|
|
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
-
import { Column } from "
|
|
13
|
+
import { Column } from "../../SolidDataTable";
|
|
14
14
|
import { getExtensionComponent } from '../../../../../helpers/registry';
|
|
15
15
|
var SolidRelationManyToManyColumn = function (_a) {
|
|
16
16
|
var _b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SolidRelationManyToManyColumn.js","sourceRoot":"","sources":["../../../../../../src/components/core/list/columns/relations/SolidRelationManyToManyColumn.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"SolidRelationManyToManyColumn.js","sourceRoot":"","sources":["../../../../../../src/components/core/list/columns/relations/SolidRelationManyToManyColumn.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAIxE,IAAM,6BAA6B,GAAG,UAAC,EAA2E;;QAAzE,qBAAqB,2BAAA,EAAE,aAAa,mBAAA,EAAE,MAAM,YAAA;IACjF,IAAM,MAAM,GAAG,MAAA,MAAM,CAAC,KAAK,CAAC,KAAK,mCAAI,aAAa,CAAC,WAAW,CAAC;IAE/D,OAAO,CACH,KAAC,MAAM,IAEH,KAAK,EAAE,aAAa,CAAC,IAAI,EACzB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,QAAQ,EAC/B,IAAI,EAAE,UAAC,OAAO;YACV,IAAI,UAAU,GAAG,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC;YACzC,IAAI,CAAC,UAAU,EAAE;gBACb,UAAU,GAAG,qCAAqC,CAAC;aACtD;YACD,IAAI,aAAa,GAAG,qBAAqB,CAAC,UAAU,CAAC,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AAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAG,gBAAgB,CAAC,CAAC,CAAC,GAAQ,EAC9G,eAAM,KAAK,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,YAAG,gBAAgB,CAAC,MAAM,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,YAAK,gBAAgB,CAAC,MAAM,GAAG,CAAC,CAAE,CAAC,CAAC,CAAC,EAAE,GAAQ,IAExI,GAEV,CACN,CAAA;KACJ;SACI;QACD,OAAO,gBAAa,CAAA;KACvB;AACL,CAAC,CAAC","sourcesContent":["\nimport { Column } from \"../../SolidDataTable\";\nimport { SolidListViewColumnParams } from '../../../../../components/core/list/SolidListViewColumn';\nimport { getExtensionComponent } from '../../../../../helpers/registry';\nimport { SolidListFieldWidgetProps } from '../../../../../types/solid-core';\n\n\nconst SolidRelationManyToManyColumn = ({ solidListViewMetaData, fieldMetadata, column }: SolidListViewColumnParams) => {\n const header = column.attrs.label ?? fieldMetadata.displayName;\n\n return (\n <Column\n key={fieldMetadata.name}\n field={fieldMetadata.name}\n header={header}\n sortable={column.attrs.sortable}\n body={(rowData) => {\n let viewWidget = column.attrs.viewWidget;\n if (!viewWidget) {\n viewWidget = 'DefaultRelationManyToManyListWidget';\n }\n let DynamicWidget = getExtensionComponent(viewWidget);\n const widgetProps: SolidListFieldWidgetProps = {\n rowData,\n solidListViewMetaData,\n fieldMetadata,\n column\n }\n return (\n <>\n {DynamicWidget && <DynamicWidget {...widgetProps} />}\n </>\n )\n }\n }\n filterPlaceholder={`Search by ${fieldMetadata.displayName}`}\n style={{ minWidth: \"12rem\" }}\n headerClassName=\"table-header-fs\"\n ></Column>\n );\n\n};\n\nexport default SolidRelationManyToManyColumn;\n\n\nexport const DefaultRelationManyToManyListWidget = ({ rowData, solidListViewMetaData, fieldMetadata, column }: SolidListFieldWidgetProps) => {\n const manyToManyFieldData = rowData[column.attrs.name];\n\n // This is the userkey that will be present within the rowData.\n if (manyToManyFieldData) {\n // Since this is a many-to-one field, we fetch the user key field of the associated model.\n const userKeyField = column?.attrs?.coModelFieldToDisplay ? column?.attrs?.coModelFieldToDisplay : fieldMetadata?.relationModel?.userKeyField?.name;\n const manyToManyColVal = manyToManyFieldData.map((f: any) => f[userKeyField]);\n\n // TODO: change this to use an anchor tag so that on click we open that entity form view. \n return (\n <>\n {manyToManyColVal.length > 0 &&\n <p>\n\n <span style={{ backgroundColor: '#f5f5f5', padding: '7px', borderRadius: '4px' }}>{manyToManyColVal[0]}</span>\n <span style={{ color: \"#0895CD\", fontWeight: 'bold' }}>{manyToManyColVal.length - 1 > 0 ? ` +${manyToManyColVal.length - 1}` : \"\"}</span>\n\n </p >\n }\n </>\n )\n }\n else {\n return <span></span>\n }\n};"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { Column } from "
|
|
2
|
+
import { Column } from "../../SolidDataTable";
|
|
3
3
|
import { SolidListViewColumnParams } from '../../../../../components/core/list/SolidListViewColumn';
|
|
4
4
|
import { getExtensionComponent } from '../../../../../helpers/registry';
|
|
5
5
|
import { SolidListFieldWidgetProps } from '../../../../../types/solid-core';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SolidRelationManyToOneColumn.d.ts","sourceRoot":"","sources":["../../../../../../src/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,yDAAyD,CAAC;AAEpG,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"SolidRelationManyToOneColumn.d.ts","sourceRoot":"","sources":["../../../../../../src/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,yDAAyD,CAAC;AAEpG,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAI5E,QAAA,MAAM,4BAA4B,qDAAsD,yBAAyB,4CAoChH,CAAC;AAEF,eAAe,4BAA4B,CAAC;AAG5C,eAAO,MAAM,kCAAkC,8DAA+D,yBAAyB,4CA4CtI,CAAC"}
|
|
@@ -9,12 +9,11 @@ var __assign = (this && this.__assign) || function () {
|
|
|
9
9
|
};
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
|
-
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
13
|
-
import { Column } from "
|
|
12
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { Column } from "../../SolidDataTable";
|
|
14
14
|
import { getExtensionComponent } from '../../../../../helpers/registry';
|
|
15
|
-
import { Button } from 'primereact/button';
|
|
16
|
-
import { useRouter } from "../../../../../hooks/useRouter";
|
|
17
15
|
import { kebabCase } from 'change-case';
|
|
16
|
+
import { ExternalLink } from "lucide-react";
|
|
18
17
|
var SolidRelationManyToOneColumn = function (_a) {
|
|
19
18
|
var _b;
|
|
20
19
|
var solidListViewMetaData = _a.solidListViewMetaData, fieldMetadata = _a.fieldMetadata, column = _a.column;
|
|
@@ -40,14 +39,13 @@ export default SolidRelationManyToOneColumn;
|
|
|
40
39
|
export var DefaultRelationManyToOneListWidget = function (_a) {
|
|
41
40
|
var _b, _c, _d, _e;
|
|
42
41
|
var rowData = _a.rowData, solidListViewMetaData = _a.solidListViewMetaData, fieldMetadata = _a.fieldMetadata, column = _a.column;
|
|
43
|
-
var router = useRouter();
|
|
44
42
|
var manyToOneFieldData = rowData[column.attrs.name];
|
|
45
43
|
// This is the userkey that will be present within the rowData.
|
|
46
44
|
if (manyToOneFieldData) {
|
|
47
45
|
// Since this is a many-to-one field, we fetch the user key field of the associated model.
|
|
48
46
|
var userKeyField = ((_b = column === null || column === void 0 ? void 0 : column.attrs) === null || _b === void 0 ? void 0 : _b.coModelFieldToDisplay) ? (_c = column === null || column === void 0 ? void 0 : column.attrs) === null || _c === void 0 ? void 0 : _c.coModelFieldToDisplay : (_e = (_d = fieldMetadata === null || fieldMetadata === void 0 ? void 0 : fieldMetadata.relationModel) === null || _d === void 0 ? void 0 : _d.userKeyField) === null || _e === void 0 ? void 0 : _e.name;
|
|
49
47
|
var manyToOneColVal = manyToOneFieldData[userKeyField];
|
|
50
|
-
return (
|
|
48
|
+
return (_jsxs("button", { type: "button", className: "solid-list-external-link", onClick: function () {
|
|
51
49
|
var _a, _b;
|
|
52
50
|
var pathSegments = window.location.pathname.split('/').filter(Boolean);
|
|
53
51
|
var listIndex = pathSegments.lastIndexOf('list');
|
|
@@ -63,7 +61,7 @@ export var DefaultRelationManyToOneListWidget = function (_a) {
|
|
|
63
61
|
var newPath = "/".concat(pathSegments.join('/'), "?viewMode=view");
|
|
64
62
|
// open in new tab
|
|
65
63
|
window.open(newPath, "_blank");
|
|
66
|
-
} }));
|
|
64
|
+
}, children: [_jsx("span", { className: "solid-list-external-link-text", children: manyToOneColVal }), _jsx(ExternalLink, { size: 13, strokeWidth: 2, className: "solid-list-external-link-icon" })] }));
|
|
67
65
|
}
|
|
68
66
|
else {
|
|
69
67
|
return _jsx("span", {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SolidRelationManyToOneColumn.js","sourceRoot":"","sources":["../../../../../../src/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"SolidRelationManyToOneColumn.js","sourceRoot":"","sources":["../../../../../../src/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAExE,OAAO,EAAE,SAAS,EAAE,MAAM,aA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F,YAAY,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,CAAC,GAAG,MAAM,CAAC;oBAC/C,YAAY,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,CAAC,GAAG,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,EAAE,CAAC;iBAClE;gBAED,IAAM,OAAO,GAAG,WAAI,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,mBAAgB,CAAC;gBAE3D,kBAAkB;gBAClB,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAEnC,CAAC,aAED,eAAM,SAAS,EAAC,+BAA+B,YAAE,eAAe,GAAQ,EACxE,KAAC,YAAY,IAAC,IAAI,EAAE,EAAE,EAAE,WAAW,EAAE,CAAC,EAAE,SAAS,EAAC,+BAA+B,GAAG,IAC/E,CACZ,CAAC;KACL;SACI;QACD,OAAO,gBAAa,CAAA;KACvB;AACL,CAAC,CAAC","sourcesContent":["\nimport { Column } from \"../../SolidDataTable\";\nimport { SolidListViewColumnParams } from '../../../../../components/core/list/SolidListViewColumn';\nimport { getExtensionComponent } from '../../../../../helpers/registry';\nimport { SolidListFieldWidgetProps } from '../../../../../types/solid-core';\nimport { kebabCase } from 'change-case';\nimport { ExternalLink } from \"lucide-react\";\n\nconst SolidRelationManyToOneColumn = ({ solidListViewMetaData, fieldMetadata, column }: SolidListViewColumnParams) => {\n\n const header = column.attrs.label ?? fieldMetadata.displayName;\n\n return (\n <Column\n key={fieldMetadata.name}\n field={fieldMetadata.name}\n header={header}\n // className=\"text-sm\"\n sortable={column.attrs.sortable}\n body={(rowData) => {\n let viewWidget = column.attrs.viewWidget;\n if (!viewWidget) {\n viewWidget = 'DefaultRelationManyToOneListWidget';\n }\n let DynamicWidget = getExtensionComponent(viewWidget);\n const widgetProps: SolidListFieldWidgetProps = {\n rowData,\n solidListViewMetaData,\n fieldMetadata,\n column\n }\n return (\n <>\n {DynamicWidget && <DynamicWidget {...widgetProps} />}\n </>\n )\n }\n }\n filterPlaceholder={`Search by ${fieldMetadata.displayName}`}\n style={{ minWidth: \"12rem\" }}\n headerClassName=\"table-header-fs\"\n ></Column>\n );\n\n};\n\nexport default SolidRelationManyToOneColumn;\n\n\nexport const DefaultRelationManyToOneListWidget = ({ rowData, solidListViewMetaData, fieldMetadata, column }: SolidListFieldWidgetProps) => {\n const manyToOneFieldData = rowData[column.attrs.name];\n\n // This is the userkey that will be present within the rowData.\n if (manyToOneFieldData) {\n // Since this is a many-to-one field, we fetch the user key field of the associated model.\n const userKeyField = column?.attrs?.coModelFieldToDisplay ? column?.attrs?.coModelFieldToDisplay : fieldMetadata?.relationModel?.userKeyField?.name;\n\n const manyToOneColVal = manyToOneFieldData[userKeyField];\n\n return (\n <button\n type=\"button\"\n className=\"solid-list-external-link\"\n onClick={() => {\n const pathSegments = window.location.pathname.split('/').filter(Boolean);\n\n const listIndex = pathSegments.lastIndexOf('list');\n\n if (listIndex > 0) {\n pathSegments[listIndex - 1] = kebabCase(fieldMetadata?.relationModel?.singularName);\n pathSegments[listIndex] = `form/${manyToOneFieldData?.id}`;\n }\n else if (pathSegments[pathSegments.length - 2] === \"form\") {\n pathSegments[pathSegments.length - 3] = kebabCase(fieldMetadata?.relationModel?.singularName);\n pathSegments[pathSegments.length - 2] = \"form\";\n pathSegments[pathSegments.length - 1] = manyToOneFieldData?.id;\n }\n\n const newPath = `/${pathSegments.join('/')}?viewMode=view`;\n\n // open in new tab\n window.open(newPath, \"_blank\");\n\n }}\n >\n <span className=\"solid-list-external-link-text\">{manyToOneColVal}</span>\n <ExternalLink size={13} strokeWidth={2} className=\"solid-list-external-link-icon\" />\n </button>\n );\n }\n else {\n return <span></span>\n }\n};\n"]}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import { Column } from "
|
|
2
|
+
import { Column } from "../../SolidDataTable";
|
|
3
3
|
import { SolidListViewColumnParams } from '../../../../../components/core/list/SolidListViewColumn';
|
|
4
4
|
import { getExtensionComponent } from '../../../../../helpers/registry';
|
|
5
5
|
import { SolidListFieldWidgetProps } from '../../../../../types/solid-core';
|
|
6
|
-
import { Button } from 'primereact/button';
|
|
7
|
-
import { useRouter } from "../../../../../hooks/useRouter";
|
|
8
6
|
import { kebabCase } from 'change-case';
|
|
7
|
+
import { ExternalLink } from "lucide-react";
|
|
9
8
|
|
|
10
9
|
const SolidRelationManyToOneColumn = ({ solidListViewMetaData, fieldMetadata, column }: SolidListViewColumnParams) => {
|
|
11
10
|
|
|
@@ -49,7 +48,6 @@ export default SolidRelationManyToOneColumn;
|
|
|
49
48
|
|
|
50
49
|
|
|
51
50
|
export const DefaultRelationManyToOneListWidget = ({ rowData, solidListViewMetaData, fieldMetadata, column }: SolidListFieldWidgetProps) => {
|
|
52
|
-
const router = useRouter();
|
|
53
51
|
const manyToOneFieldData = rowData[column.attrs.name];
|
|
54
52
|
|
|
55
53
|
// This is the userkey that will be present within the rowData.
|
|
@@ -60,12 +58,9 @@ export const DefaultRelationManyToOneListWidget = ({ rowData, solidListViewMetaD
|
|
|
60
58
|
const manyToOneColVal = manyToOneFieldData[userKeyField];
|
|
61
59
|
|
|
62
60
|
return (
|
|
63
|
-
<
|
|
64
|
-
|
|
65
|
-
link
|
|
66
|
-
icon="pi pi-external-link"
|
|
67
|
-
iconPos="right"
|
|
68
|
-
className="w-auto"
|
|
61
|
+
<button
|
|
62
|
+
type="button"
|
|
63
|
+
className="solid-list-external-link"
|
|
69
64
|
onClick={() => {
|
|
70
65
|
const pathSegments = window.location.pathname.split('/').filter(Boolean);
|
|
71
66
|
|
|
@@ -87,7 +82,10 @@ export const DefaultRelationManyToOneListWidget = ({ rowData, solidListViewMetaD
|
|
|
87
82
|
window.open(newPath, "_blank");
|
|
88
83
|
|
|
89
84
|
}}
|
|
90
|
-
|
|
85
|
+
>
|
|
86
|
+
<span className="solid-list-external-link-text">{manyToOneColVal}</span>
|
|
87
|
+
<ExternalLink size={13} strokeWidth={2} className="solid-list-external-link-icon" />
|
|
88
|
+
</button>
|
|
91
89
|
);
|
|
92
90
|
}
|
|
93
91
|
else {
|
|
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
-
import { Column } from "
|
|
13
|
+
import { Column } from "../../SolidDataTable";
|
|
14
14
|
import { getExtensionComponent } from '../../../../../helpers/registry';
|
|
15
15
|
var SolidRelationOneToManyColumn = function (_a) {
|
|
16
16
|
var _b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SolidRelationOneToManyColumn.js","sourceRoot":"","sources":["../../../../../../src/components/core/list/columns/relations/SolidRelationOneToManyColumn.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"SolidRelationOneToManyColumn.js","sourceRoot":"","sources":["../../../../../../src/components/core/list/columns/relations/SolidRelationOneToManyColumn.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAG9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAExE,IAAM,4BAA4B,GAAG,UAAC,EAA2E;;QAAzE,qBAAqB,2BAAA,EAAE,aAAa,mBAAA,EAAE,MAAM,YAAA;IAEhF,IAAM,MAAM,GAAG,MAAA,MAAM,CAAC,KAAK,CAAC,KAAK,mCAAI,aAAa,CAAC,WAAW,CAAC;IAE/D,OAAO,CACH,KAAC,MAAM,IAEH,KAAK,EAAE,aAAa,CAAC,IAAI,EACzB,MAAM,EAAE,MAAM;QACd,sBAAsB;QACtB,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,QAAQ,EAC/B,IAAI,EAAE,UAAC,OAAO;YACV,IAAI,UAAU,GAAG,MAAM,CAAC,KAAK,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,CAAe,CAAC,CAAC;QAE9E,0FAA0F;QAC1F,OAAO,CAEH,4BACK,gBAAgB,CAAC,MAAM,GAAG,CAAC;gBACxB,wBAEK,gBAAgB,CAAC,CAAC,CAAC,IAAI,eAAM,KAAK,EAAE,EAAE,eAAe,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAG,gBAAgB,CAAC,CAAC,CAAC,GAAQ,EACtI,eAAM,KAAK,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,YAAG,gBAAgB,CAAC,MAAM,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,YAAK,gBAAgB,CAAC,MAAM,GAAG,CAAC,CAAE,CAAC,CAAC,CAAC,EAAE,GAAQ,IAGxI,GAEV,CAEN,CAAA;KACJ;SACI;QACD,OAAO,gBAAa,CAAA;KACvB;AACL,CAAC,CAAC","sourcesContent":["\nimport { Column } from \"../../SolidDataTable\";\nimport { SolidListViewColumnParams } from '../../../../../components/core/list/SolidListViewColumn';\nimport { SolidListFieldWidgetProps } from '../../../../../types/solid-core';\nimport { getExtensionComponent } from '../../../../../helpers/registry';\n\nconst SolidRelationOneToManyColumn = ({ solidListViewMetaData, fieldMetadata, column }: SolidListViewColumnParams) => {\n\n const header = column.attrs.label ?? fieldMetadata.displayName;\n\n return (\n <Column\n key={fieldMetadata.name}\n field={fieldMetadata.name}\n header={header}\n // className=\"text-sm\"\n sortable={column.attrs.sortable}\n body={(rowData) => {\n let viewWidget = column.attrs.viewWidget;\n if (!viewWidget) {\n viewWidget = 'DefaultRelationOneToManyListWidget';\n }\n let DynamicWidget = getExtensionComponent(viewWidget);\n const widgetProps: SolidListFieldWidgetProps = {\n rowData,\n solidListViewMetaData,\n fieldMetadata,\n column\n }\n return (\n <>\n {DynamicWidget && <DynamicWidget {...widgetProps} />}\n </>\n )\n }\n }\n filterPlaceholder={`Search by ${fieldMetadata.displayName}`}\n style={{ minWidth: \"12rem\" }}\n headerClassName=\"table-header-fs\"\n ></Column>\n );\n\n};\n\nexport default SolidRelationOneToManyColumn;\n\n\n\n\nexport const DefaultRelationOneToManyListWidget = ({ rowData, solidListViewMetaData, fieldMetadata, column }: SolidListFieldWidgetProps) => {\n const manyToManyFieldData = rowData[column.attrs.name];\n\n // This is the userkey that will be present within the rowData.\n if (manyToManyFieldData) {\n // Since this is a many-to-one field, we fetch the user key field of the associated model.\n const userKeyField = column?.attrs?.coModelFieldToDisplay ? column?.attrs?.coModelFieldToDisplay : fieldMetadata?.relationModel?.userKeyField?.name;\n\n const manyToManyColVal = manyToManyFieldData.map((f: any) => f[userKeyField]);\n\n // TODO: change this to use an anchor tag so that on click we open that entity form view. \n return (\n\n <>\n {manyToManyColVal.length > 0 &&\n <p>\n\n {manyToManyColVal[0] && <span style={{ backgroundColor: '#f5f5f5', padding: '7px', borderRadius: '4px' }}>{manyToManyColVal[0]}</span>}\n <span style={{ color: \"#0895CD\", fontWeight: 'bold' }}>{manyToManyColVal.length - 1 > 0 ? ` +${manyToManyColVal.length - 1}` : \"\"}</span>\n\n\n </p >\n }\n </>\n\n )\n }\n else {\n return <span></span>\n }\n};"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { Column } from "
|
|
2
|
+
import { Column } from "../../SolidDataTable";
|
|
3
3
|
import { SolidListViewColumnParams } from '../../../../../components/core/list/SolidListViewColumn';
|
|
4
4
|
import { SolidListFieldWidgetProps } from '../../../../../types/solid-core';
|
|
5
5
|
import { getExtensionComponent } from '../../../../../helpers/registry';
|
package/dist/components/core/list/widgets/SolidChatterMessageCoModelEntityIdListViewWidget.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { SolidListFieldWidgetProps } from "../../../../types/solid-core";
|
|
2
|
+
export declare const SolidChatterMessageCoModelEntityIdListViewWidget: ({ rowData, solidListViewMetaData, fieldMetadata, column }: SolidListFieldWidgetProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=SolidChatterMessageCoModelEntityIdListViewWidget.d.ts.map
|
package/dist/components/core/list/widgets/SolidChatterMessageCoModelEntityIdListViewWidget.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidChatterMessageCoModelEntityIdListViewWidget.d.ts","sourceRoot":"","sources":["../../../../../src/components/core/list/widgets/SolidChatterMessageCoModelEntityIdListViewWidget.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAMzE,eAAO,MAAM,gDAAgD,8DAA+D,yBAAyB,4CA2DpJ,CAAC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
11
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
12
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
13
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
|
+
function step(op) {
|
|
15
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
16
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
17
|
+
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;
|
|
18
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
19
|
+
switch (op[0]) {
|
|
20
|
+
case 0: case 1: t = op; break;
|
|
21
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
22
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
23
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
24
|
+
default:
|
|
25
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
26
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
27
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
28
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
29
|
+
if (t[2]) _.ops.pop();
|
|
30
|
+
_.trys.pop(); continue;
|
|
31
|
+
}
|
|
32
|
+
op = body.call(thisArg, _);
|
|
33
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
34
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
38
|
+
import { ExternalLink } from "lucide-react";
|
|
39
|
+
import { useEffect, useState } from "react";
|
|
40
|
+
import { solidGet } from "../../../../http/solidHttp";
|
|
41
|
+
import { snakeCase } from "lodash";
|
|
42
|
+
export var SolidChatterMessageCoModelEntityIdListViewWidget = function (_a) {
|
|
43
|
+
var rowData = _a.rowData, solidListViewMetaData = _a.solidListViewMetaData, fieldMetadata = _a.fieldMetadata, column = _a.column;
|
|
44
|
+
var value = fieldMetadata && fieldMetadata.name && rowData[fieldMetadata.name] ? rowData[fieldMetadata.name] : "";
|
|
45
|
+
var _b = useState('#'), redirectUrl = _b[0], setRedirectUrl = _b[1];
|
|
46
|
+
var coModelName = rowData === null || rowData === void 0 ? void 0 : rowData.coModelName;
|
|
47
|
+
var modelDisplayName = rowData === null || rowData === void 0 ? void 0 : rowData.modelDisplayName;
|
|
48
|
+
var modelUserKey = rowData === null || rowData === void 0 ? void 0 : rowData.modelUserKey;
|
|
49
|
+
useEffect(function () {
|
|
50
|
+
if (coModelName) {
|
|
51
|
+
var fetchModel = function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
52
|
+
var qs, res, model, module_1, moduleName, modelSingularName, modelSlug, redirectUrl_1;
|
|
53
|
+
var _a, _b, _c, _d, _e;
|
|
54
|
+
return __generator(this, function (_f) {
|
|
55
|
+
switch (_f.label) {
|
|
56
|
+
case 0:
|
|
57
|
+
qs = "offset=0&limit=25&filters[$and][0][$or][0][singularName][$eq]=".concat(coModelName, "&populate[0]=module&locale=en&sort[0]=id%3Adesc");
|
|
58
|
+
return [4 /*yield*/, solidGet("/model-metadata?".concat(qs))];
|
|
59
|
+
case 1:
|
|
60
|
+
res = _f.sent();
|
|
61
|
+
if (((_c = (_b = (_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.records) === null || _c === void 0 ? void 0 : _c.length) > 0) {
|
|
62
|
+
model = (_e = (_d = res === null || res === void 0 ? void 0 : res.data) === null || _d === void 0 ? void 0 : _d.data) === null || _e === void 0 ? void 0 : _e.records[0];
|
|
63
|
+
module_1 = model === null || model === void 0 ? void 0 : model.module;
|
|
64
|
+
moduleName = module_1 === null || module_1 === void 0 ? void 0 : module_1.name;
|
|
65
|
+
modelSingularName = model === null || model === void 0 ? void 0 : model.singularName;
|
|
66
|
+
modelSlug = snakeCase(model === null || model === void 0 ? void 0 : model.singularName).replace(/_/g, '-');
|
|
67
|
+
redirectUrl_1 = "/admin/core/".concat(moduleName, "/").concat(modelSlug, "/form/").concat(value);
|
|
68
|
+
setRedirectUrl(redirectUrl_1);
|
|
69
|
+
}
|
|
70
|
+
return [2 /*return*/];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
}); };
|
|
74
|
+
fetchModel();
|
|
75
|
+
}
|
|
76
|
+
}, [coModelName, value]);
|
|
77
|
+
return (_jsx("div", { style: { textAlign: "left" }, children: _jsx("div", { className: "mt-2", children: value ? (_jsxs("a", { href: redirectUrl, target: "_blank", rel: "noopener noreferrer", style: {
|
|
78
|
+
display: 'inline-flex',
|
|
79
|
+
alignItems: 'center',
|
|
80
|
+
gap: '6px',
|
|
81
|
+
textDecoration: 'none',
|
|
82
|
+
fontSize: '12px',
|
|
83
|
+
color: '#2563eb',
|
|
84
|
+
fontWeight: 500
|
|
85
|
+
}, children: [_jsxs("span", { children: [value, " (", modelUserKey || modelDisplayName || coModelName, ")"] }), _jsx(ExternalLink, { size: 16 })] })) : (_jsx("span", { className: "text-muted", children: "\u2014" })) }) }));
|
|
86
|
+
};
|
|
87
|
+
//# sourceMappingURL=SolidChatterMessageCoModelEntityIdListViewWidget.js.map
|
package/dist/components/core/list/widgets/SolidChatterMessageCoModelEntityIdListViewWidget.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidChatterMessageCoModelEntityIdListViewWidget.js","sourceRoot":"","sources":["../../../../../src/components/core/list/widgets/SolidChatterMessageCoModelEntityIdListViewWidget.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGnC,MAAM,CAAC,IAAM,gDAAgD,GAAG,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,uBAAL,KAAK,CAAE,YAAY,CAAC;gCACxC,SAAS,GAAG,SAAS,CAAC,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;gCAC9D,gBAAc,sBAAe,UAAU,cAAI,SAAS,mBAAS,KAAK,CAAE,CAAC;gCAC3E,cAAc,CAAC,aAAW,CAAC,CAAC;6BAC/B;;;;iBACJ,CAAA;YACD,UAAU,EAAE,CAAC;SAChB;IACL,CAAC,EAAE,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC,CAAC;IAEzB,OAAO,CACH,cAAK,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,YAE7B,cAAK,SAAS,EAAC,MAAM,YAChB,KAAK,CAAC,CAAC,CAAC,CACL,aACI,IAAI,EAAE,WAAW,EACjB,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,EACzB,KAAK,EAAE;oBACH,OAAO,EAAE,aAAa;oBACtB,UAAU,EAAE,QAAQ;oBACpB,GAAG,EAAE,KAAK;oBACV,cAAc,EAAE,MAAM;oBACtB,QAAQ,EAAE,MAAM;oBAChB,KAAK,EAAE,SAAS;oBAChB,UAAU,EAAE,GAAG;iBAClB,aAED,2BAAO,KAAK,QAAI,YAAY,IAAI,gBAAgB,IAAI,WAAW,SAAS,EAExE,KAAC,YAAY,IAAC,IAAI,EAAE,EAAE,GAAI,IAC1B,CACP,CAAC,CAAC,CAAC,CACA,eAAM,SAAS,EAAC,YAAY,uBAAS,CACxC,GACC,GACJ,CACT,CAAC;AACN,CAAC,CAAC","sourcesContent":["\n\nimport { ExternalLink } from \"lucide-react\";\nimport { SolidListFieldWidgetProps } from \"../../../../types/solid-core\";\nimport { useEffect, useState } from \"react\";\nimport { solidGet } from \"../../../../http/solidHttp\";\nimport { snakeCase } from \"lodash\";\n\n\nexport const SolidChatterMessageCoModelEntityIdListViewWidget = ({ rowData, solidListViewMetaData, fieldMetadata, column }: SolidListFieldWidgetProps) => {\n\n const value = fieldMetadata && fieldMetadata.name && rowData[fieldMetadata.name] ? rowData[fieldMetadata.name] : \"\"\n\n const [redirectUrl, setRedirectUrl] = useState('#');\n\n\n const coModelName = rowData?.coModelName;\n const modelDisplayName = rowData?.modelDisplayName;\n const modelUserKey = rowData?.modelUserKey;\n\n useEffect(() => {\n if (coModelName) {\n const fetchModel = async () => {\n const qs = `offset=0&limit=25&filters[$and][0][$or][0][singularName][$eq]=${coModelName}&populate[0]=module&locale=en&sort[0]=id%3Adesc`;\n const res = await solidGet(`/model-metadata?${qs}`);\n if (res?.data?.data?.records?.length > 0) {\n const model = res?.data?.data?.records[0];\n const module = model?.module;\n const moduleName = module?.name;\n const modelSingularName = model?.singularName;\n const modelSlug = snakeCase(model?.singularName).replace(/_/g, '-');\n const redirectUrl = `/admin/core/${moduleName}/${modelSlug}/form/${value}`;\n setRedirectUrl(redirectUrl);\n }\n }\n fetchModel();\n }\n }, [coModelName, value]);\n\n return (\n <div style={{ textAlign: \"left\" }}>\n\n <div className=\"mt-2\">\n {value ? (\n <a\n href={redirectUrl}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n style={{\n display: 'inline-flex',\n alignItems: 'center',\n gap: '6px',\n textDecoration: 'none',\n fontSize: '12px',\n color: '#2563eb',\n fontWeight: 500\n }}\n >\n <span>{value} ({modelUserKey || modelDisplayName || coModelName})</span>\n\n <ExternalLink size={16} />\n </a>\n ) : (\n <span className=\"text-muted\">—</span>\n )}\n </div>\n </div>\n );\n};\n\n"]}
|
package/dist/components/core/list/widgets/SolidChatterMessageCoModelEntityIdListViewWidget.tsx
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { ExternalLink } from "lucide-react";
|
|
4
|
+
import { SolidListFieldWidgetProps } from "../../../../types/solid-core";
|
|
5
|
+
import { useEffect, useState } from "react";
|
|
6
|
+
import { solidGet } from "../../../../http/solidHttp";
|
|
7
|
+
import { snakeCase } from "lodash";
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
export const SolidChatterMessageCoModelEntityIdListViewWidget = ({ rowData, solidListViewMetaData, fieldMetadata, column }: SolidListFieldWidgetProps) => {
|
|
11
|
+
|
|
12
|
+
const value = fieldMetadata && fieldMetadata.name && rowData[fieldMetadata.name] ? rowData[fieldMetadata.name] : ""
|
|
13
|
+
|
|
14
|
+
const [redirectUrl, setRedirectUrl] = useState('#');
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
const coModelName = rowData?.coModelName;
|
|
18
|
+
const modelDisplayName = rowData?.modelDisplayName;
|
|
19
|
+
const modelUserKey = rowData?.modelUserKey;
|
|
20
|
+
|
|
21
|
+
useEffect(() => {
|
|
22
|
+
if (coModelName) {
|
|
23
|
+
const fetchModel = async () => {
|
|
24
|
+
const qs = `offset=0&limit=25&filters[$and][0][$or][0][singularName][$eq]=${coModelName}&populate[0]=module&locale=en&sort[0]=id%3Adesc`;
|
|
25
|
+
const res = await solidGet(`/model-metadata?${qs}`);
|
|
26
|
+
if (res?.data?.data?.records?.length > 0) {
|
|
27
|
+
const model = res?.data?.data?.records[0];
|
|
28
|
+
const module = model?.module;
|
|
29
|
+
const moduleName = module?.name;
|
|
30
|
+
const modelSingularName = model?.singularName;
|
|
31
|
+
const modelSlug = snakeCase(model?.singularName).replace(/_/g, '-');
|
|
32
|
+
const redirectUrl = `/admin/core/${moduleName}/${modelSlug}/form/${value}`;
|
|
33
|
+
setRedirectUrl(redirectUrl);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
fetchModel();
|
|
37
|
+
}
|
|
38
|
+
}, [coModelName, value]);
|
|
39
|
+
|
|
40
|
+
return (
|
|
41
|
+
<div style={{ textAlign: "left" }}>
|
|
42
|
+
|
|
43
|
+
<div className="mt-2">
|
|
44
|
+
{value ? (
|
|
45
|
+
<a
|
|
46
|
+
href={redirectUrl}
|
|
47
|
+
target="_blank"
|
|
48
|
+
rel="noopener noreferrer"
|
|
49
|
+
style={{
|
|
50
|
+
display: 'inline-flex',
|
|
51
|
+
alignItems: 'center',
|
|
52
|
+
gap: '6px',
|
|
53
|
+
textDecoration: 'none',
|
|
54
|
+
fontSize: '12px',
|
|
55
|
+
color: '#2563eb',
|
|
56
|
+
fontWeight: 500
|
|
57
|
+
}}
|
|
58
|
+
>
|
|
59
|
+
<span>{value} ({modelUserKey || modelDisplayName || coModelName})</span>
|
|
60
|
+
|
|
61
|
+
<ExternalLink size={16} />
|
|
62
|
+
</a>
|
|
63
|
+
) : (
|
|
64
|
+
<span className="text-muted">—</span>
|
|
65
|
+
)}
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
);
|
|
69
|
+
};
|
|
70
|
+
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { SolidListFieldWidgetProps } from "../../../../types/solid-core";
|
|
2
|
+
export declare const SolidMqMessageStageListViewWidget: ({ rowData, fieldMetadata, }: SolidListFieldWidgetProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=SolidMqMessageStageListViewWidget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidMqMessageStageListViewWidget.d.ts","sourceRoot":"","sources":["../../../../../src/components/core/list/widgets/SolidMqMessageStageListViewWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAYzE,eAAO,MAAM,iCAAiC,gCAG3C,yBAAyB,4CAkC3B,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
var STATUS_STYLES = {
|
|
14
|
+
pending: { backgroundColor: "#6b7280", color: "#fff" },
|
|
15
|
+
scheduled: { backgroundColor: "#3b82f6", color: "#fff" },
|
|
16
|
+
started: { backgroundColor: "#eab308", color: "#000" },
|
|
17
|
+
retry: { backgroundColor: "#f97316", color: "#fff" },
|
|
18
|
+
retrying: { backgroundColor: "#ea580c", color: "#fff" },
|
|
19
|
+
failed: { backgroundColor: "#ef4444", color: "#fff" },
|
|
20
|
+
succeeded: { backgroundColor: "#22c55e", color: "#fff" }, // green
|
|
21
|
+
};
|
|
22
|
+
export var SolidMqMessageStageListViewWidget = function (_a) {
|
|
23
|
+
var rowData = _a.rowData, fieldMetadata = _a.fieldMetadata;
|
|
24
|
+
var value = (fieldMetadata === null || fieldMetadata === void 0 ? void 0 : fieldMetadata.name) && rowData[fieldMetadata.name]
|
|
25
|
+
? String(rowData[fieldMetadata.name]).toLowerCase()
|
|
26
|
+
: "";
|
|
27
|
+
var style = STATUS_STYLES[value] || {
|
|
28
|
+
backgroundColor: "#9ca3af",
|
|
29
|
+
color: "#fff",
|
|
30
|
+
};
|
|
31
|
+
return (_jsx("div", { className: "mt-2", children: value ? (_jsx("span", { style: __assign(__assign({}, style), { display: "inline-flex", alignItems: "center", borderRadius: "6px", padding: "4px 10px", fontSize: "12px", fontWeight: 600, textTransform: "capitalize" }), children: value })) : (_jsx("span", { className: "text-muted", children: "\u2014" })) }));
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=SolidMqMessageStageListViewWidget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidMqMessageStageListViewWidget.js","sourceRoot":"","sources":["../../../../../src/components/core/list/widgets/SolidMqMessageStageListViewWidget.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAEA,IAAM,aAAa,GAA+D;IAC9E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Y,eAG9B,KAAK,GACH,CACV,CAAC,CAAC,CAAC,CACA,eAAM,SAAS,EAAC,YAAY,uBAAS,CACxC,GACC,CACT,CAAC;AACN,CAAC,CAAC","sourcesContent":["import { SolidListFieldWidgetProps } from \"../../../../types/solid-core\";\n\nconst STATUS_STYLES: Record<string, { backgroundColor: string; color: string }> = {\n pending: { backgroundColor: \"#6b7280\", color: \"#fff\" }, // gray\n scheduled: { backgroundColor: \"#3b82f6\", color: \"#fff\" }, // blue\n started: { backgroundColor: \"#eab308\", color: \"#000\" }, // yellow\n retry: { backgroundColor: \"#f97316\", color: \"#fff\" }, // orange\n retrying: { backgroundColor: \"#ea580c\", color: \"#fff\" }, // darker orange\n failed: { backgroundColor: \"#ef4444\", color: \"#fff\" }, // red\n succeeded: { backgroundColor: \"#22c55e\", color: \"#fff\" }, // green\n};\n\nexport const SolidMqMessageStageListViewWidget = ({\n rowData,\n fieldMetadata,\n}: SolidListFieldWidgetProps) => {\n\n const value =\n fieldMetadata?.name && rowData[fieldMetadata.name]\n ? String(rowData[fieldMetadata.name]).toLowerCase()\n : \"\";\n\n const style = STATUS_STYLES[value] || {\n backgroundColor: \"#9ca3af\",\n color: \"#fff\",\n };\n\n return (\n <div className=\"mt-2\">\n {value ? (\n <span\n style={{\n ...style,\n display: \"inline-flex\",\n alignItems: \"center\",\n borderRadius: \"6px\",\n padding: \"4px 10px\",\n fontSize: \"12px\",\n fontWeight: 600,\n textTransform: \"capitalize\",\n }}\n >\n {value}\n </span>\n ) : (\n <span className=\"text-muted\">—</span>\n )}\n </div>\n );\n};"]}
|