@solidxai/core-ui 0.1.12-beta.5 → 0.1.12-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/auth/AuthLayout.d.ts.map +1 -1
- package/dist/components/auth/AuthLayout.js +5 -2
- package/dist/components/auth/AuthLayout.js.map +1 -1
- package/dist/components/auth/AuthLayout.tsx +6 -2
- package/dist/components/auth/SolidOTPVerify.d.ts +3 -0
- package/dist/components/auth/SolidOTPVerify.d.ts.map +1 -0
- package/dist/components/auth/SolidOTPVerify.js +67 -0
- package/dist/components/auth/SolidOTPVerify.js.map +1 -0
- package/dist/components/auth/SolidOTPVerify.tsx +133 -0
- package/dist/components/common/AuthBanner.d.ts +3 -0
- package/dist/components/common/AuthBanner.d.ts.map +1 -0
- package/dist/components/common/AuthBanner.js +15 -0
- package/dist/components/common/AuthBanner.js.map +1 -0
- package/dist/components/common/AuthBanner.tsx +41 -0
- package/dist/components/common/SingleSelectAutoCompleteField.d.ts +2 -0
- package/dist/components/common/SingleSelectAutoCompleteField.d.ts.map +1 -0
- package/dist/components/common/SingleSelectAutoCompleteField.js +92 -0
- package/dist/components/common/SingleSelectAutoCompleteField.js.map +1 -0
- package/dist/components/common/SingleSelectAutoCompleteField.tsx +73 -0
- package/dist/components/common/SolidExportStepper.d.ts +12 -0
- package/dist/components/common/SolidExportStepper.d.ts.map +1 -0
- package/dist/components/common/SolidExportStepper.js +30 -0
- package/dist/components/common/SolidExportStepper.js.map +1 -0
- package/dist/components/common/SolidExportStepper.tsx +135 -0
- package/dist/components/core/card/CardGrid.d.ts +1 -1
- package/dist/components/core/card/CardGrid.d.ts.map +1 -1
- package/dist/components/core/card/CardGrid.js +2 -2
- package/dist/components/core/card/CardGrid.js.map +1 -1
- package/dist/components/core/card/CardGrid.tsx +4 -0
- package/dist/components/core/card/CardItem.d.ts +2 -0
- package/dist/components/core/card/CardItem.d.ts.map +1 -1
- package/dist/components/core/card/CardItem.js +7 -2
- package/dist/components/core/card/CardItem.js.map +1 -1
- package/dist/components/core/card/CardItem.tsx +30 -8
- package/dist/components/core/card/SolidCardView.d.ts.map +1 -1
- package/dist/components/core/card/SolidCardView.js +87 -21
- package/dist/components/core/card/SolidCardView.js.map +1 -1
- package/dist/components/core/card/SolidCardView.tsx +96 -40
- package/dist/components/core/card/SolidCardViewConfigure.d.ts +1 -1
- package/dist/components/core/card/SolidCardViewConfigure.d.ts.map +1 -1
- package/dist/components/core/card/SolidCardViewConfigure.js +9 -7
- package/dist/components/core/card/SolidCardViewConfigure.js.map +1 -1
- package/dist/components/core/card/SolidCardViewConfigure.tsx +14 -1
- package/dist/components/core/common/LoadDynamicJsxComponent.d.ts +2 -0
- package/dist/components/core/common/LoadDynamicJsxComponent.d.ts.map +1 -0
- package/dist/components/core/common/LoadDynamicJsxComponent.js +50 -0
- package/dist/components/core/common/LoadDynamicJsxComponent.js.map +1 -0
- package/dist/components/core/common/LoadDynamicJsxComponent.tsx +70 -0
- package/dist/components/core/common/SolidGenericImport/SolidImportWrapper.d.ts +2 -0
- package/dist/components/core/common/SolidGenericImport/SolidImportWrapper.d.ts.map +1 -0
- package/dist/components/core/common/SolidGenericImport/SolidImportWrapper.js +16 -0
- package/dist/components/core/common/SolidGenericImport/SolidImportWrapper.js.map +1 -0
- package/dist/components/core/common/SolidGenericImport/SolidImportWrapper.tsx +29 -0
- package/dist/components/core/common/SolidGlobalSearchElement.js +1 -1
- package/dist/components/core/common/SolidGlobalSearchElement.js.map +1 -1
- package/dist/components/core/common/SolidGlobalSearchElement.tsx +1 -1
- package/dist/components/core/dashboard/DashboardFilter.d.ts +13 -0
- package/dist/components/core/dashboard/DashboardFilter.d.ts.map +1 -0
- package/dist/components/core/dashboard/DashboardFilter.js +299 -0
- package/dist/components/core/dashboard/DashboardFilter.js.map +1 -0
- package/dist/components/core/dashboard/DashboardFilter.tsx +348 -0
- package/dist/components/core/dashboard/PrimeDataTableWrapper.d.ts +3 -0
- package/dist/components/core/dashboard/PrimeDataTableWrapper.d.ts.map +1 -0
- package/dist/components/core/dashboard/PrimeDataTableWrapper.js +21 -0
- package/dist/components/core/dashboard/PrimeDataTableWrapper.js.map +1 -0
- package/dist/components/core/dashboard/PrimeDataTableWrapper.tsx +40 -0
- package/dist/components/core/dashboard/SolidDashboard.d.ts +28 -0
- package/dist/components/core/dashboard/SolidDashboard.d.ts.map +1 -0
- package/dist/components/core/dashboard/SolidDashboard.js +183 -0
- package/dist/components/core/dashboard/SolidDashboard.js.map +1 -0
- package/dist/components/core/dashboard/SolidDashboard.module.css +83 -0
- package/dist/components/core/dashboard/SolidDashboard.tsx +263 -0
- package/dist/components/core/dashboard/SolidDashboardBody.d.ts +24 -0
- package/dist/components/core/dashboard/SolidDashboardBody.d.ts.map +1 -0
- package/dist/components/core/dashboard/SolidDashboardBody.js +162 -0
- package/dist/components/core/dashboard/SolidDashboardBody.js.map +1 -0
- package/dist/components/core/dashboard/SolidDashboardBody.tsx +168 -0
- package/dist/components/core/dashboard/SolidDashboardFilterRequired.d.ts +2 -0
- package/dist/components/core/dashboard/SolidDashboardFilterRequired.d.ts.map +1 -0
- package/dist/components/core/dashboard/SolidDashboardFilterRequired.js +11 -0
- package/dist/components/core/dashboard/SolidDashboardFilterRequired.js.map +1 -0
- package/dist/components/core/dashboard/SolidDashboardFilterRequired.tsx +28 -0
- package/dist/components/core/dashboard/SolidDashboardHeader.d.ts +3 -0
- package/dist/components/core/dashboard/SolidDashboardHeader.d.ts.map +1 -0
- package/dist/components/core/dashboard/SolidDashboardHeader.js +6 -0
- package/dist/components/core/dashboard/SolidDashboardHeader.js.map +1 -0
- package/dist/components/core/dashboard/SolidDashboardHeader.tsx +10 -0
- package/dist/components/core/dashboard/SolidDashboardLoading.d.ts +2 -0
- package/dist/components/core/dashboard/SolidDashboardLoading.d.ts.map +1 -0
- package/dist/components/core/dashboard/SolidDashboardLoading.js +10 -0
- package/dist/components/core/dashboard/SolidDashboardLoading.js.map +1 -0
- package/dist/components/core/dashboard/SolidDashboardLoading.tsx +61 -0
- package/dist/components/core/dashboard/SolidDashboardNotAvailable.d.ts +3 -0
- package/dist/components/core/dashboard/SolidDashboardNotAvailable.d.ts.map +1 -0
- package/dist/components/core/dashboard/SolidDashboardNotAvailable.js +12 -0
- package/dist/components/core/dashboard/SolidDashboardNotAvailable.js.map +1 -0
- package/dist/components/core/dashboard/SolidDashboardNotAvailable.tsx +32 -0
- package/dist/components/core/dashboard/SolidDashboardRenderError.d.ts +2 -0
- package/dist/components/core/dashboard/SolidDashboardRenderError.d.ts.map +1 -0
- package/dist/components/core/dashboard/SolidDashboardRenderError.js +11 -0
- package/dist/components/core/dashboard/SolidDashboardRenderError.js.map +1 -0
- package/dist/components/core/dashboard/SolidDashboardRenderError.tsx +28 -0
- package/dist/components/core/dashboard/SolidDashboardVariable.d.ts +19 -0
- package/dist/components/core/dashboard/SolidDashboardVariable.d.ts.map +1 -0
- package/dist/components/core/dashboard/SolidDashboardVariable.js +171 -0
- package/dist/components/core/dashboard/SolidDashboardVariable.js.map +1 -0
- package/dist/components/core/dashboard/SolidDashboardVariable.tsx +259 -0
- package/dist/components/core/dashboard/SolidQuestionRenderer.d.ts +9 -0
- package/dist/components/core/dashboard/SolidQuestionRenderer.d.ts.map +1 -0
- package/dist/components/core/dashboard/SolidQuestionRenderer.js +42 -0
- package/dist/components/core/dashboard/SolidQuestionRenderer.js.map +1 -0
- package/dist/components/core/dashboard/SolidQuestionRenderer.tsx +99 -0
- package/dist/components/core/dashboard/chart-renderers/ChartJsRenderer.d.ts +9 -0
- package/dist/components/core/dashboard/chart-renderers/ChartJsRenderer.d.ts.map +1 -0
- package/dist/components/core/dashboard/chart-renderers/ChartJsRenderer.js +35 -0
- package/dist/components/core/dashboard/chart-renderers/ChartJsRenderer.js.map +1 -0
- package/dist/components/core/dashboard/chart-renderers/ChartJsRenderer.tsx +48 -0
- package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.d.ts +7 -0
- package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.d.ts.map +1 -0
- package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.js +22 -0
- package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.js.map +1 -0
- package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.tsx +51 -0
- package/dist/components/core/dashboard/chart-renderers/init-chartjs.d.ts +2 -0
- package/dist/components/core/dashboard/chart-renderers/init-chartjs.d.ts.map +1 -0
- package/dist/components/core/dashboard/chart-renderers/init-chartjs.js +4 -0
- package/dist/components/core/dashboard/chart-renderers/init-chartjs.js.map +1 -0
- package/dist/components/core/dashboard/chart-renderers/init-chartjs.ts +25 -0
- package/dist/components/core/dashboard/dashboard-utils.d.ts +2 -0
- package/dist/components/core/dashboard/dashboard-utils.d.ts.map +1 -0
- package/dist/components/core/dashboard/dashboard-utils.js +38 -0
- package/dist/components/core/dashboard/dashboard-utils.js.map +1 -0
- package/dist/components/core/dashboard/dashboard-utils.ts +39 -0
- package/dist/components/core/extension/solid-core/dashboard/dashboardFormViewChangeHandler.d.ts +10 -0
- package/dist/components/core/extension/solid-core/dashboard/dashboardFormViewChangeHandler.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/dashboard/dashboardFormViewChangeHandler.js +16 -0
- package/dist/components/core/extension/solid-core/dashboard/dashboardFormViewChangeHandler.js.map +1 -0
- package/dist/components/core/extension/solid-core/dashboard/dashboardFormViewChangeHandler.ts +19 -0
- package/dist/components/core/extension/solid-core/dashboard/dashboardQuestionFieldChangeHandler.d.ts +8 -0
- package/dist/components/core/extension/solid-core/dashboard/dashboardQuestionFieldChangeHandler.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/dashboard/dashboardQuestionFieldChangeHandler.js +64 -0
- package/dist/components/core/extension/solid-core/dashboard/dashboardQuestionFieldChangeHandler.js.map +1 -0
- package/dist/components/core/extension/solid-core/dashboard/dashboardQuestionFieldChangeHandler.ts +30 -0
- package/dist/components/core/extension/solid-core/dashboard/dashboardQuestionOnFormLoadHandler.d.ts +8 -0
- package/dist/components/core/extension/solid-core/dashboard/dashboardQuestionOnFormLoadHandler.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/dashboard/dashboardQuestionOnFormLoadHandler.js +62 -0
- package/dist/components/core/extension/solid-core/dashboard/dashboardQuestionOnFormLoadHandler.js.map +1 -0
- package/dist/components/core/extension/solid-core/dashboard/dashboardQuestionOnFormLoadHandler.ts +29 -0
- package/dist/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.d.ts +4 -0
- package/dist/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.js +23 -0
- package/dist/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.js.map +1 -0
- package/dist/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.tsx +36 -0
- package/dist/components/core/form/SolidFormView.js +1 -1
- package/dist/components/core/form/SolidFormView.js.map +1 -1
- package/dist/components/core/form/SolidFormView.tsx +1 -1
- package/dist/components/core/form/fields/relations/RolesGroupedByModuleWidget.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/RolesGroupedByModuleWidget.js +11 -1
- package/dist/components/core/form/fields/relations/RolesGroupedByModuleWidget.js.map +1 -1
- package/dist/components/core/form/fields/relations/RolesGroupedByModuleWidget.tsx +26 -19
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js +13 -5
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +16 -9
- 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/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/kanban/KanbanBoard.d.ts +1 -1
- package/dist/components/core/kanban/KanbanBoard.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanBoard.js +2 -2
- package/dist/components/core/kanban/KanbanBoard.js.map +1 -1
- package/dist/components/core/kanban/KanbanBoard.tsx +3 -1
- package/dist/components/core/kanban/KanbanCard.d.ts +2 -0
- package/dist/components/core/kanban/KanbanCard.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanCard.js +10 -5
- package/dist/components/core/kanban/KanbanCard.js.map +1 -1
- package/dist/components/core/kanban/KanbanCard.tsx +28 -12
- package/dist/components/core/kanban/KanbanColumn.d.ts +3 -1
- package/dist/components/core/kanban/KanbanColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanColumn.js +2 -2
- package/dist/components/core/kanban/KanbanColumn.js.map +1 -1
- package/dist/components/core/kanban/KanbanColumn.tsx +4 -2
- package/dist/components/core/kanban/SolidKanbanView.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidKanbanView.js +154 -25
- package/dist/components/core/kanban/SolidKanbanView.js.map +1 -1
- package/dist/components/core/kanban/SolidKanbanView.tsx +129 -16
- 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 +13 -10
- package/dist/components/core/kanban/SolidKanbanViewConfigure.js.map +1 -1
- package/dist/components/core/kanban/SolidKanbanViewConfigure.tsx +18 -3
- package/dist/components/core/kanban/SolidKanbanViewFields.d.ts +12 -0
- package/dist/components/core/kanban/SolidKanbanViewFields.d.ts.map +1 -0
- package/dist/components/core/kanban/SolidKanbanViewFields.js +145 -0
- package/dist/components/core/kanban/SolidKanbanViewFields.js.map +1 -0
- package/dist/components/core/kanban/SolidKanbanViewFields.tsx +164 -0
- package/dist/components/core/kanban/SolidManyToOneFilterElement.d.ts +2 -0
- package/dist/components/core/kanban/SolidManyToOneFilterElement.d.ts.map +1 -0
- package/dist/components/core/kanban/SolidManyToOneFilterElement.js +87 -0
- package/dist/components/core/kanban/SolidManyToOneFilterElement.js.map +1 -0
- package/dist/components/core/kanban/SolidManyToOneFilterElement.tsx +59 -0
- package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.d.ts +2 -0
- package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.d.ts.map +1 -0
- package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.js +73 -0
- package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.js.map +1 -0
- package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.tsx +50 -0
- package/dist/components/core/kanban/SolidSelectionStaticFilterElement.d.ts +2 -0
- package/dist/components/core/kanban/SolidSelectionStaticFilterElement.d.ts.map +1 -0
- package/dist/components/core/kanban/SolidSelectionStaticFilterElement.js +20 -0
- package/dist/components/core/kanban/SolidSelectionStaticFilterElement.js.map +1 -0
- package/dist/components/core/kanban/SolidSelectionStaticFilterElement.tsx +32 -0
- package/dist/components/core/kanban/SolidVarInputsFilterElement.d.ts +12 -0
- package/dist/components/core/kanban/SolidVarInputsFilterElement.d.ts.map +1 -0
- package/dist/components/core/kanban/SolidVarInputsFilterElement.js +81 -0
- package/dist/components/core/kanban/SolidVarInputsFilterElement.js.map +1 -0
- package/dist/components/core/kanban/SolidVarInputsFilterElement.tsx +184 -0
- package/dist/components/core/kanban/kanban-fields/SolidBigintKanbanField.d.ts +4 -0
- package/dist/components/core/kanban/kanban-fields/SolidBigintKanbanField.d.ts.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidBigintKanbanField.js +7 -0
- package/dist/components/core/kanban/kanban-fields/SolidBigintKanbanField.js.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidBigintKanbanField.tsx +9 -0
- package/dist/components/core/kanban/kanban-fields/SolidBooleanKanbanField.d.ts +4 -0
- package/dist/components/core/kanban/kanban-fields/SolidBooleanKanbanField.d.ts.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidBooleanKanbanField.js +8 -0
- package/dist/components/core/kanban/kanban-fields/SolidBooleanKanbanField.js.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidBooleanKanbanField.tsx +16 -0
- package/dist/components/core/kanban/kanban-fields/SolidComputedKanbanField.d.ts +4 -0
- package/dist/components/core/kanban/kanban-fields/SolidComputedKanbanField.d.ts.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidComputedKanbanField.js +21 -0
- package/dist/components/core/kanban/kanban-fields/SolidComputedKanbanField.js.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidComputedKanbanField.tsx +23 -0
- package/dist/components/core/kanban/kanban-fields/SolidDateKanbanField.d.ts +4 -0
- package/dist/components/core/kanban/kanban-fields/SolidDateKanbanField.d.ts.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidDateKanbanField.js +8 -0
- package/dist/components/core/kanban/kanban-fields/SolidDateKanbanField.js.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidDateKanbanField.tsx +14 -0
- package/dist/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.d.ts +4 -0
- package/dist/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.d.ts.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.js +8 -0
- package/dist/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.js.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.tsx +13 -0
- package/dist/components/core/kanban/kanban-fields/SolidDecimalKanbanField.d.ts +4 -0
- package/dist/components/core/kanban/kanban-fields/SolidDecimalKanbanField.d.ts.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidDecimalKanbanField.js +7 -0
- package/dist/components/core/kanban/kanban-fields/SolidDecimalKanbanField.js.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidDecimalKanbanField.tsx +9 -0
- package/dist/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.d.ts +4 -0
- package/dist/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.d.ts.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.js +8 -0
- package/dist/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.js.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.tsx +12 -0
- package/dist/components/core/kanban/kanban-fields/SolidFloatKanbanField.d.ts +4 -0
- package/dist/components/core/kanban/kanban-fields/SolidFloatKanbanField.d.ts.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidFloatKanbanField.js +7 -0
- package/dist/components/core/kanban/kanban-fields/SolidFloatKanbanField.js.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidFloatKanbanField.tsx +9 -0
- package/dist/components/core/kanban/kanban-fields/SolidIdKanbanField.d.ts +4 -0
- package/dist/components/core/kanban/kanban-fields/SolidIdKanbanField.d.ts.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidIdKanbanField.js +8 -0
- package/dist/components/core/kanban/kanban-fields/SolidIdKanbanField.js.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidIdKanbanField.tsx +14 -0
- package/dist/components/core/kanban/kanban-fields/SolidIntKanbanField.d.ts +4 -0
- package/dist/components/core/kanban/kanban-fields/SolidIntKanbanField.d.ts.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidIntKanbanField.js +16 -0
- package/dist/components/core/kanban/kanban-fields/SolidIntKanbanField.js.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidIntKanbanField.tsx +20 -0
- package/dist/components/core/kanban/kanban-fields/SolidLongTextKanbanField.d.ts +4 -0
- package/dist/components/core/kanban/kanban-fields/SolidLongTextKanbanField.d.ts.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidLongTextKanbanField.js +7 -0
- package/dist/components/core/kanban/kanban-fields/SolidLongTextKanbanField.js.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidLongTextKanbanField.tsx +9 -0
- package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.d.ts +4 -0
- package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.d.ts.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.js +56 -0
- package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.js.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.tsx +140 -0
- package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.d.ts +4 -0
- package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.d.ts.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.js +42 -0
- package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.js.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.tsx +164 -0
- package/dist/components/core/kanban/kanban-fields/SolidRelationKanbanField.d.ts +4 -0
- package/dist/components/core/kanban/kanban-fields/SolidRelationKanbanField.d.ts.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidRelationKanbanField.js +11 -0
- package/dist/components/core/kanban/kanban-fields/SolidRelationKanbanField.js.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidRelationKanbanField.tsx +13 -0
- package/dist/components/core/kanban/kanban-fields/SolidRichTextKanbanField.d.ts +4 -0
- package/dist/components/core/kanban/kanban-fields/SolidRichTextKanbanField.d.ts.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidRichTextKanbanField.js +7 -0
- package/dist/components/core/kanban/kanban-fields/SolidRichTextKanbanField.js.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidRichTextKanbanField.tsx +9 -0
- package/dist/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.d.ts +4 -0
- package/dist/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.d.ts.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.js +8 -0
- package/dist/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.js.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.tsx +14 -0
- package/dist/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.d.ts +4 -0
- package/dist/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.d.ts.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.js +8 -0
- package/dist/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.js.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.tsx +14 -0
- package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.d.ts +4 -0
- package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.d.ts.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.js +37 -0
- package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.js.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.tsx +121 -0
- package/dist/components/core/kanban/kanban-fields/SolidTimeKanbanField.d.ts +4 -0
- package/dist/components/core/kanban/kanban-fields/SolidTimeKanbanField.d.ts.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidTimeKanbanField.js +8 -0
- package/dist/components/core/kanban/kanban-fields/SolidTimeKanbanField.js.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidTimeKanbanField.tsx +12 -0
- package/dist/components/core/kanban/kanban-fields/SolidUuidKanbanField.d.ts +4 -0
- package/dist/components/core/kanban/kanban-fields/SolidUuidKanbanField.d.ts.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidUuidKanbanField.js +8 -0
- package/dist/components/core/kanban/kanban-fields/SolidUuidKanbanField.js.map +1 -0
- package/dist/components/core/kanban/kanban-fields/SolidUuidKanbanField.tsx +13 -0
- package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.d.ts +4 -0
- package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.d.ts.map +1 -0
- package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.js +7 -0
- package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.js.map +1 -0
- package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.tsx +16 -0
- package/dist/components/core/list/SolidDataTable.d.ts.map +1 -1
- package/dist/components/core/list/SolidDataTable.js +1 -1
- package/dist/components/core/list/SolidDataTable.js.map +1 -1
- package/dist/components/core/list/SolidDataTable.tsx +1 -0
- package/dist/components/core/list/SolidListView.d.ts.map +1 -1
- package/dist/components/core/list/SolidListView.js +6 -1
- package/dist/components/core/list/SolidListView.js.map +1 -1
- package/dist/components/core/list/SolidListView.tsx +6 -1
- package/dist/components/core/list/SolidListViewRowButtonContextMenu.d.ts +2 -0
- package/dist/components/core/list/SolidListViewRowButtonContextMenu.d.ts.map +1 -0
- package/dist/components/core/list/SolidListViewRowButtonContextMenu.js +39 -0
- package/dist/components/core/list/SolidListViewRowButtonContextMenu.js.map +1 -0
- package/dist/components/core/list/SolidListViewRowButtonContextMenu.tsx +40 -0
- package/dist/components/core/list/SolidVarInputsFilterElement.d.ts +12 -0
- package/dist/components/core/list/SolidVarInputsFilterElement.d.ts.map +1 -0
- package/dist/components/core/list/SolidVarInputsFilterElement.js +81 -0
- package/dist/components/core/list/SolidVarInputsFilterElement.js.map +1 -0
- package/dist/components/core/list/SolidVarInputsFilterElement.tsx +184 -0
- 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/model/FieldMetaDataForm.d.ts +1 -1
- package/dist/components/core/model/FieldMetaDataForm.d.ts.map +1 -1
- package/dist/components/core/model/FieldMetaDataForm.js +119 -102
- package/dist/components/core/model/FieldMetaDataForm.js.map +1 -1
- package/dist/components/core/model/FieldMetaDataForm.tsx +82 -39
- 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 +25 -6
- package/dist/components/core/model/FieldSelector.js.map +1 -1
- package/dist/components/core/model/FieldSelector.tsx +50 -5
- package/dist/components/core/tree/SolidTreeTable.d.ts +2 -1
- package/dist/components/core/tree/SolidTreeTable.d.ts.map +1 -1
- package/dist/components/core/tree/SolidTreeTable.js +2 -2
- package/dist/components/core/tree/SolidTreeTable.js.map +1 -1
- package/dist/components/core/tree/SolidTreeTable.tsx +3 -1
- package/dist/components/core/tree/SolidTreeView.d.ts.map +1 -1
- package/dist/components/core/tree/SolidTreeView.js +38 -15
- package/dist/components/core/tree/SolidTreeView.js.map +1 -1
- package/dist/components/core/tree/SolidTreeView.tsx +48 -23
- package/dist/components/core/users/CreateUser.d.ts.map +1 -1
- package/dist/components/core/users/CreateUser.js +45 -32
- package/dist/components/core/users/CreateUser.js.map +1 -1
- package/dist/components/core/users/CreateUser.tsx +15 -4
- package/dist/components/layout/DashboardHeader.d.ts +3 -0
- package/dist/components/layout/DashboardHeader.d.ts.map +1 -0
- package/dist/components/layout/DashboardHeader.js +20 -0
- package/dist/components/layout/DashboardHeader.js.map +1 -0
- package/dist/components/layout/DashboardHeader.tsx +94 -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 +12 -4
- package/dist/components/shad-cn-ui/SolidSelect.js.map +1 -1
- package/dist/components/shad-cn-ui/SolidSelect.tsx +13 -1
- package/dist/helpers/# no such endpoints exist, need to calle +3 -0
- package/dist/helpers/ToastContainer.d.ts +4 -0
- package/dist/helpers/ToastContainer.d.ts.map +1 -0
- package/dist/helpers/ToastContainer.js +49 -0
- package/dist/helpers/ToastContainer.js.map +1 -0
- package/dist/helpers/ToastContainer.tsx +94 -0
- package/dist/helpers/showToast.d.ts +5 -0
- package/dist/helpers/showToast.d.ts.map +1 -0
- package/dist/helpers/showToast.js +17 -0
- package/dist/helpers/showToast.js.map +1 -0
- package/dist/helpers/showToast.ts +13 -0
- package/dist/helpers/studioSandbox.d.ts +31 -0
- package/dist/helpers/studioSandbox.d.ts.map +1 -0
- package/dist/helpers/studioSandbox.js +104 -0
- package/dist/helpers/studioSandbox.js.map +1 -0
- package/dist/helpers/studioSandbox.ts +117 -0
- package/dist/nextAuth/authProviders.d.ts +4 -0
- package/dist/nextAuth/authProviders.d.ts.map +1 -0
- package/dist/nextAuth/authProviders.js +198 -0
- package/dist/nextAuth/authProviders.js.map +1 -0
- package/dist/nextAuth/authProviders.tsx +232 -0
- package/dist/nextAuth/handleLogout.d.ts +2 -0
- package/dist/nextAuth/handleLogout.d.ts.map +1 -0
- package/dist/nextAuth/handleLogout.js +36 -0
- package/dist/nextAuth/handleLogout.js.map +1 -0
- package/dist/nextAuth/handleLogout.tsx +39 -0
- package/dist/nextAuth/refreshAccessToken.d.ts +2 -0
- package/dist/nextAuth/refreshAccessToken.d.ts.map +1 -0
- package/dist/nextAuth/refreshAccessToken.js +24 -0
- package/dist/nextAuth/refreshAccessToken.js.map +1 -0
- package/dist/nextAuth/refreshAccessToken.tsx +28 -0
- package/dist/redux/api/dashboardApi.d.ts +23 -0
- package/dist/redux/api/dashboardApi.d.ts.map +1 -0
- package/dist/redux/api/dashboardApi.js +35 -0
- package/dist/redux/api/dashboardApi.js.map +1 -0
- package/dist/redux/api/dashboardApi.ts +56 -0
- package/dist/redux/api/dashboardLayoutApi.d.ts +24 -0
- package/dist/redux/api/dashboardLayoutApi.d.ts.map +1 -0
- package/dist/redux/api/dashboardLayoutApi.js +34 -0
- package/dist/redux/api/dashboardLayoutApi.js.map +1 -0
- package/dist/redux/api/dashboardLayoutApi.ts +55 -0
- package/dist/redux/api/dashboardQuestionApi.d.ts +5 -0
- package/dist/redux/api/dashboardQuestionApi.d.ts.map +1 -0
- package/dist/redux/api/dashboardQuestionApi.js +18 -0
- package/dist/redux/api/dashboardQuestionApi.js.map +1 -0
- package/dist/redux/api/dashboardQuestionApi.ts +17 -0
- package/dist/redux/api/datasourceIntrospectionApi.d.ts +1 -0
- package/dist/redux/api/datasourceIntrospectionApi.d.ts.map +1 -1
- package/dist/redux/api/datasourceIntrospectionApi.js.map +1 -1
- package/dist/redux/api/datasourceIntrospectionApi.ts +1 -0
- package/dist/redux/features/settingsSlice.d.ts +20 -0
- package/dist/redux/features/settingsSlice.d.ts.map +1 -0
- package/dist/redux/features/settingsSlice.js +39 -0
- package/dist/redux/features/settingsSlice.js.map +1 -0
- package/dist/redux/features/settingsSlice.ts +60 -0
- package/dist/redux/store/defaultStoreConfig.d.ts +5 -5
- package/dist/resources/images/Footerbg.png +0 -0
- package/dist/resources/images/LoginBanner.png +0 -0
- package/dist/resources/images/dashboard/Ellipse 1.svg +10 -0
- package/dist/resources/images/dashboard/Rectangle 17.svg +10 -0
- package/dist/resources/images/dashboard/Rectangle 25.svg +11 -0
- package/dist/resources/images/dashboard/image 5.svg +9 -0
- package/dist/resources/images/loginhero.png +0 -0
- package/dist/resources/images/logo.png +0 -0
- package/dist/resources/images/radix-logo-white.png +0 -0
- package/dist/resources/images/radix-logo.png +0 -0
- package/dist/resources/images/signupBanner.png +0 -0
- package/dist/resources/shadcn-base.css +16 -70
- package/dist/resources/solid-custom.css +55 -0
- package/dist/resources/solid-responsive.css +4 -4
- package/dist/resources/solid-tailwind-generated.css +1 -1
- package/dist/routes/pages/admin/core/DatasourceIntrospectionPage.css +12 -0
- package/dist/routes/pages/admin/core/DatasourceIntrospectionPage.d.ts.map +1 -1
- package/dist/routes/pages/admin/core/DatasourceIntrospectionPage.js +160 -59
- package/dist/routes/pages/admin/core/DatasourceIntrospectionPage.js.map +1 -1
- package/dist/routes/pages/admin/core/DatasourceIntrospectionPage.tsx +293 -41
- package/package.json +1 -1
- package/dist/helpers/modulePackageResumeState.d.ts +0 -6
- package/dist/helpers/modulePackageResumeState.d.ts.map +0 -1
- package/dist/helpers/modulePackageResumeState.js +0 -46
- package/dist/helpers/modulePackageResumeState.js.map +0 -1
- package/dist/helpers/modulePackageResumeState.ts +0 -57
|
@@ -17,6 +17,7 @@ import { useNavigate, useParams } from "react-router-dom";
|
|
|
17
17
|
import { showToast } from "../../../../redux/features/toastSlice";
|
|
18
18
|
import { SolidJsonEditor } from "../../../../components/core/json/SolidJsonEditor";
|
|
19
19
|
import { Column, SolidDataTable } from "../../../../components/core/list/SolidDataTable";
|
|
20
|
+
import FieldMetaDataForm from "../../../../components/core/model/FieldMetaDataForm";
|
|
20
21
|
import { waitForBackendAvailability } from "../../../../helpers/waitForBackendAvailability";
|
|
21
22
|
import {
|
|
22
23
|
SolidButton,
|
|
@@ -88,6 +89,7 @@ type DrawerColumnDraft = {
|
|
|
88
89
|
include: boolean;
|
|
89
90
|
matched: boolean;
|
|
90
91
|
isPrimaryKey: boolean;
|
|
92
|
+
fieldConfig: Record<string, any> | null;
|
|
91
93
|
};
|
|
92
94
|
|
|
93
95
|
type DrawerDraft = {
|
|
@@ -345,6 +347,7 @@ function buildDrawerDraft(
|
|
|
345
347
|
include: column.handledBySuperclass ? false : Boolean(matchingField) || !selectedTable.mapped,
|
|
346
348
|
matched: Boolean(matchingField),
|
|
347
349
|
isPrimaryKey: Boolean(matchingField?.isPrimaryKey) || column.isPrimaryKey || (column.isAutoGenerated && column.fieldName === "id"),
|
|
350
|
+
fieldConfig: matchingField ? sanitizeExistingFieldPayload(matchingField) : null,
|
|
348
351
|
};
|
|
349
352
|
});
|
|
350
353
|
|
|
@@ -479,6 +482,7 @@ function buildMappingRequest(
|
|
|
479
482
|
include: column.include,
|
|
480
483
|
matched: column.matched,
|
|
481
484
|
isPrimaryKey: column.isPrimaryKey,
|
|
485
|
+
fieldConfig: column.fieldConfig,
|
|
482
486
|
})),
|
|
483
487
|
};
|
|
484
488
|
}
|
|
@@ -667,6 +671,7 @@ export function DatasourceIntrospectionPage() {
|
|
|
667
671
|
const [metadataJsonValidationError, setMetadataJsonValidationError] = useState<string | null>(null);
|
|
668
672
|
const [metadataJsonResetToken, setMetadataJsonResetToken] = useState("initial");
|
|
669
673
|
const [drawerBootstrapping, setDrawerBootstrapping] = useState(false);
|
|
674
|
+
const [fieldConfigColumnName, setFieldConfigColumnName] = useState<string | null>(null);
|
|
670
675
|
const [sessionSettings, setSessionSettings] = useState<SessionSettings>({
|
|
671
676
|
relationInferenceEnabled: false,
|
|
672
677
|
prioritizeUnmappedTables: true,
|
|
@@ -699,6 +704,17 @@ export function DatasourceIntrospectionPage() {
|
|
|
699
704
|
const isSavingMapping = isApplyMappingLoading;
|
|
700
705
|
const isCreatingMigrationArtifacts = isCreateMigrationArtifactsLoading;
|
|
701
706
|
|
|
707
|
+
const showFieldDraftToaster = (message: any, severity: any) => {
|
|
708
|
+
const errorMessages = Object.values(message ?? {});
|
|
709
|
+
if (!errorMessages.length) return;
|
|
710
|
+
dispatch(showToast({
|
|
711
|
+
severity,
|
|
712
|
+
summary: "Datasource introspection",
|
|
713
|
+
detail: errorMessages.map(String).join(", "),
|
|
714
|
+
life: 3000,
|
|
715
|
+
}));
|
|
716
|
+
};
|
|
717
|
+
|
|
702
718
|
useEffect(() => {
|
|
703
719
|
if (!bootstrap) return;
|
|
704
720
|
if (selectedDatasource) return;
|
|
@@ -711,6 +727,7 @@ export function DatasourceIntrospectionPage() {
|
|
|
711
727
|
setSelectedRows([]);
|
|
712
728
|
setWorkspaceTableKey("");
|
|
713
729
|
setDrawerDraft(null);
|
|
730
|
+
setFieldConfigColumnName(null);
|
|
714
731
|
setTableSearch("");
|
|
715
732
|
setWorkspaceStep("configure");
|
|
716
733
|
setMappingPreview(null);
|
|
@@ -795,6 +812,58 @@ export function DatasourceIntrospectionPage() {
|
|
|
795
812
|
|
|
796
813
|
const mappedModelData = mappedModelResponse?.data;
|
|
797
814
|
const selectedDatasourceRecord = bootstrap?.datasources?.find((datasource) => datasource.name === selectedDatasource) ?? null;
|
|
815
|
+
const activeFieldConfigColumn = drawerDraft?.columns.find((column) => column.columnName === fieldConfigColumnName) ?? null;
|
|
816
|
+
const activeFieldConfigMetaData = useMemo(() => {
|
|
817
|
+
if (!drawerDraft || !activeFieldConfigColumn) {
|
|
818
|
+
return null;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
const configured = activeFieldConfigColumn.fieldConfig ?? {};
|
|
822
|
+
const suggestedMax =
|
|
823
|
+
activeFieldConfigColumn.characterMaximumLength && ["shortText", "longText"].includes(activeFieldConfigColumn.solidFieldType)
|
|
824
|
+
? activeFieldConfigColumn.characterMaximumLength
|
|
825
|
+
: configured.max;
|
|
826
|
+
|
|
827
|
+
return {
|
|
828
|
+
...configured,
|
|
829
|
+
...(activeFieldConfigColumn.fieldId ? { id: activeFieldConfigColumn.fieldId } : {}),
|
|
830
|
+
name: activeFieldConfigColumn.fieldName,
|
|
831
|
+
displayName: activeFieldConfigColumn.displayName,
|
|
832
|
+
description: configured.description ?? activeFieldConfigColumn.displayName,
|
|
833
|
+
type: activeFieldConfigColumn.solidFieldType,
|
|
834
|
+
ormType: activeFieldConfigColumn.ormType,
|
|
835
|
+
columnName: activeFieldConfigColumn.columnName,
|
|
836
|
+
defaultValue: configured.defaultValue ?? activeFieldConfigColumn.defaultValue ?? undefined,
|
|
837
|
+
required: configured.required ?? (!activeFieldConfigColumn.nullable || activeFieldConfigColumn.isPrimaryKey),
|
|
838
|
+
unique: configured.unique ?? false,
|
|
839
|
+
encrypt: configured.encrypt ?? false,
|
|
840
|
+
index: configured.index ?? false,
|
|
841
|
+
max: suggestedMax ?? undefined,
|
|
842
|
+
min: configured.min ?? undefined,
|
|
843
|
+
private: configured.private ?? false,
|
|
844
|
+
isSystem: false,
|
|
845
|
+
isPrimaryKey: activeFieldConfigColumn.isPrimaryKey,
|
|
846
|
+
isUserKey: drawerDraft.userKeyField === activeFieldConfigColumn.fieldName,
|
|
847
|
+
enableAuditTracking: configured.enableAuditTracking ?? drawerDraft.enableAuditTracking,
|
|
848
|
+
isMultiSelect: configured.isMultiSelect ?? false,
|
|
849
|
+
length: configured.length ?? activeFieldConfigColumn.characterMaximumLength ?? undefined,
|
|
850
|
+
};
|
|
851
|
+
}, [activeFieldConfigColumn, drawerDraft]);
|
|
852
|
+
const fieldDraftAllFields = useMemo(() => {
|
|
853
|
+
if (!drawerDraft || !activeFieldConfigColumn) {
|
|
854
|
+
return [];
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
return drawerDraft.columns
|
|
858
|
+
.filter((column) => column.columnName !== activeFieldConfigColumn.columnName)
|
|
859
|
+
.map((column) => ({
|
|
860
|
+
id: column.fieldId ?? undefined,
|
|
861
|
+
name: column.fieldName,
|
|
862
|
+
displayName: column.displayName,
|
|
863
|
+
type: column.solidFieldType,
|
|
864
|
+
columnName: column.columnName,
|
|
865
|
+
}));
|
|
866
|
+
}, [activeFieldConfigColumn, drawerDraft]);
|
|
798
867
|
const drawerLoadingError = selectedTable?.mapped ? (tableDetailError || mappedModelError) : tableDetailError;
|
|
799
868
|
const isDrawerBlockingLoading = Boolean(
|
|
800
869
|
selectedTable
|
|
@@ -810,6 +879,7 @@ export function DatasourceIntrospectionPage() {
|
|
|
810
879
|
useEffect(() => {
|
|
811
880
|
if (!isWorkspaceMode) {
|
|
812
881
|
setDrawerDraft(null);
|
|
882
|
+
setFieldConfigColumnName(null);
|
|
813
883
|
return;
|
|
814
884
|
}
|
|
815
885
|
|
|
@@ -818,6 +888,7 @@ export function DatasourceIntrospectionPage() {
|
|
|
818
888
|
}
|
|
819
889
|
|
|
820
890
|
setDrawerDraft(null);
|
|
891
|
+
setFieldConfigColumnName(null);
|
|
821
892
|
setDrawerTab("general-info");
|
|
822
893
|
setWorkspaceStep("configure");
|
|
823
894
|
setMappingPreview(null);
|
|
@@ -1013,6 +1084,7 @@ export function DatasourceIntrospectionPage() {
|
|
|
1013
1084
|
|
|
1014
1085
|
setWorkspaceTableKey("");
|
|
1015
1086
|
setDrawerDraft(null);
|
|
1087
|
+
setFieldConfigColumnName(null);
|
|
1016
1088
|
setWorkspaceStep("configure");
|
|
1017
1089
|
setDrawerTab("general-info");
|
|
1018
1090
|
setMappingPreview(null);
|
|
@@ -1064,12 +1136,24 @@ export function DatasourceIntrospectionPage() {
|
|
|
1064
1136
|
|
|
1065
1137
|
const previousSuggestedLabel = startCase(column.fieldName);
|
|
1066
1138
|
const nextNormalizedFieldName = camelCase(nextFieldName);
|
|
1139
|
+
const nextFieldConfig = column.fieldConfig
|
|
1140
|
+
? {
|
|
1141
|
+
...column.fieldConfig,
|
|
1142
|
+
name: nextNormalizedFieldName,
|
|
1143
|
+
displayName: !column.displayName.trim() || column.displayName === previousSuggestedLabel
|
|
1144
|
+
? startCase(nextNormalizedFieldName)
|
|
1145
|
+
: column.displayName,
|
|
1146
|
+
isUserKey: current.userKeyField === column.fieldName,
|
|
1147
|
+
isPrimaryKey: column.isPrimaryKey,
|
|
1148
|
+
}
|
|
1149
|
+
: column.fieldConfig;
|
|
1067
1150
|
return {
|
|
1068
1151
|
...column,
|
|
1069
1152
|
fieldName: nextNormalizedFieldName,
|
|
1070
1153
|
displayName: !column.displayName.trim() || column.displayName === previousSuggestedLabel
|
|
1071
1154
|
? startCase(nextNormalizedFieldName)
|
|
1072
1155
|
: column.displayName,
|
|
1156
|
+
fieldConfig: nextFieldConfig,
|
|
1073
1157
|
};
|
|
1074
1158
|
}),
|
|
1075
1159
|
userKeyField: current.userKeyField === current.columns.find((column) => column.columnName === columnName)?.fieldName
|
|
@@ -1083,7 +1167,16 @@ export function DatasourceIntrospectionPage() {
|
|
|
1083
1167
|
...current,
|
|
1084
1168
|
columns: current.columns.map((column) => (
|
|
1085
1169
|
column.columnName === columnName
|
|
1086
|
-
? {
|
|
1170
|
+
? {
|
|
1171
|
+
...column,
|
|
1172
|
+
displayName: nextDisplayName,
|
|
1173
|
+
fieldConfig: column.fieldConfig
|
|
1174
|
+
? {
|
|
1175
|
+
...column.fieldConfig,
|
|
1176
|
+
displayName: nextDisplayName,
|
|
1177
|
+
}
|
|
1178
|
+
: column.fieldConfig,
|
|
1179
|
+
}
|
|
1087
1180
|
: column
|
|
1088
1181
|
)),
|
|
1089
1182
|
}));
|
|
@@ -1100,11 +1193,85 @@ export function DatasourceIntrospectionPage() {
|
|
|
1100
1193
|
...column,
|
|
1101
1194
|
solidFieldType: nextSolidFieldType,
|
|
1102
1195
|
ormType: getDefaultOrmTypeForSolidFieldType(current.dataSourceType, nextSolidFieldType),
|
|
1196
|
+
fieldConfig: column.fieldConfig
|
|
1197
|
+
? {
|
|
1198
|
+
...column.fieldConfig,
|
|
1199
|
+
type: nextSolidFieldType,
|
|
1200
|
+
ormType: getDefaultOrmTypeForSolidFieldType(current.dataSourceType, nextSolidFieldType),
|
|
1201
|
+
}
|
|
1202
|
+
: column.fieldConfig,
|
|
1103
1203
|
};
|
|
1104
1204
|
}),
|
|
1105
1205
|
}));
|
|
1106
1206
|
};
|
|
1107
1207
|
|
|
1208
|
+
const openFieldConfigEditor = (columnName: string) => {
|
|
1209
|
+
setFieldConfigColumnName(columnName);
|
|
1210
|
+
};
|
|
1211
|
+
|
|
1212
|
+
const applyFieldConfigDraft = (columnName: string, nextFieldConfig: Record<string, any>) => {
|
|
1213
|
+
const sanitized = sanitizeExistingFieldPayload(nextFieldConfig);
|
|
1214
|
+
updateDrawerDraft((current) => {
|
|
1215
|
+
const currentColumn = current.columns.find((column) => column.columnName === columnName);
|
|
1216
|
+
if (!currentColumn) {
|
|
1217
|
+
return current;
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
const nextFieldName = typeof sanitized.name === "string" && sanitized.name.trim()
|
|
1221
|
+
? sanitized.name.trim()
|
|
1222
|
+
: currentColumn.fieldName;
|
|
1223
|
+
const nextDisplayName = typeof sanitized.displayName === "string" && sanitized.displayName.trim()
|
|
1224
|
+
? sanitized.displayName.trim()
|
|
1225
|
+
: currentColumn.displayName;
|
|
1226
|
+
const nextSolidFieldType = typeof sanitized.type === "string" && sanitized.type.trim()
|
|
1227
|
+
? sanitized.type.trim()
|
|
1228
|
+
: currentColumn.solidFieldType;
|
|
1229
|
+
const nextOrmType = typeof sanitized.ormType === "string" && sanitized.ormType.trim()
|
|
1230
|
+
? sanitized.ormType.trim()
|
|
1231
|
+
: getDefaultOrmTypeForSolidFieldType(current.dataSourceType, nextSolidFieldType);
|
|
1232
|
+
const nextUserKeyField = current.userKeyField === currentColumn.fieldName
|
|
1233
|
+
? nextFieldName
|
|
1234
|
+
: current.userKeyField;
|
|
1235
|
+
|
|
1236
|
+
return {
|
|
1237
|
+
...current,
|
|
1238
|
+
userKeyField: nextUserKeyField,
|
|
1239
|
+
columns: current.columns.map((column) => {
|
|
1240
|
+
if (column.columnName !== columnName) {
|
|
1241
|
+
return column.fieldConfig
|
|
1242
|
+
? {
|
|
1243
|
+
...column,
|
|
1244
|
+
fieldConfig: {
|
|
1245
|
+
...column.fieldConfig,
|
|
1246
|
+
isUserKey: column.fieldName === nextUserKeyField,
|
|
1247
|
+
},
|
|
1248
|
+
}
|
|
1249
|
+
: column;
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
return {
|
|
1253
|
+
...column,
|
|
1254
|
+
fieldName: nextFieldName,
|
|
1255
|
+
displayName: nextDisplayName,
|
|
1256
|
+
solidFieldType: nextSolidFieldType,
|
|
1257
|
+
ormType: nextOrmType,
|
|
1258
|
+
fieldConfig: {
|
|
1259
|
+
...sanitized,
|
|
1260
|
+
name: nextFieldName,
|
|
1261
|
+
displayName: nextDisplayName,
|
|
1262
|
+
type: nextSolidFieldType,
|
|
1263
|
+
ormType: nextOrmType,
|
|
1264
|
+
columnName: column.columnName,
|
|
1265
|
+
isPrimaryKey: column.isPrimaryKey,
|
|
1266
|
+
isUserKey: nextUserKeyField === nextFieldName,
|
|
1267
|
+
},
|
|
1268
|
+
};
|
|
1269
|
+
}),
|
|
1270
|
+
};
|
|
1271
|
+
});
|
|
1272
|
+
setFieldConfigColumnName(null);
|
|
1273
|
+
};
|
|
1274
|
+
|
|
1108
1275
|
const updateLegacyTableType = (legacyTableType: "none" | "existing_id" | "generated_id") => {
|
|
1109
1276
|
updateDrawerDraft((current) => {
|
|
1110
1277
|
const renamedUserKeyColumns = new Map<string, string>();
|
|
@@ -1141,6 +1308,14 @@ export function DatasourceIntrospectionPage() {
|
|
|
1141
1308
|
superclassFieldName: nextSuperclassFieldName,
|
|
1142
1309
|
include: nextInclude,
|
|
1143
1310
|
isPrimaryKey: nextIsPrimaryKey,
|
|
1311
|
+
fieldConfig: column.fieldConfig
|
|
1312
|
+
? {
|
|
1313
|
+
...column.fieldConfig,
|
|
1314
|
+
name: nextFieldName,
|
|
1315
|
+
displayName: nextDisplayName,
|
|
1316
|
+
isPrimaryKey: nextIsPrimaryKey,
|
|
1317
|
+
}
|
|
1318
|
+
: column.fieldConfig,
|
|
1144
1319
|
};
|
|
1145
1320
|
});
|
|
1146
1321
|
|
|
@@ -1169,11 +1344,19 @@ export function DatasourceIntrospectionPage() {
|
|
|
1169
1344
|
updateDrawerDraft((current) => ({
|
|
1170
1345
|
...current,
|
|
1171
1346
|
userKeyField: fieldName,
|
|
1172
|
-
columns: current.columns.map((column) =>
|
|
1173
|
-
column.fieldName === fieldName
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1347
|
+
columns: current.columns.map((column) => {
|
|
1348
|
+
const isUserKey = column.fieldName === fieldName;
|
|
1349
|
+
return {
|
|
1350
|
+
...column,
|
|
1351
|
+
include: isUserKey ? (column.handledBySuperclass ? false : true) : column.include,
|
|
1352
|
+
fieldConfig: column.fieldConfig
|
|
1353
|
+
? {
|
|
1354
|
+
...column.fieldConfig,
|
|
1355
|
+
isUserKey,
|
|
1356
|
+
}
|
|
1357
|
+
: column.fieldConfig,
|
|
1358
|
+
};
|
|
1359
|
+
}),
|
|
1177
1360
|
}));
|
|
1178
1361
|
};
|
|
1179
1362
|
|
|
@@ -1431,13 +1614,14 @@ export function DatasourceIntrospectionPage() {
|
|
|
1431
1614
|
setRunMigrationCompleted(true);
|
|
1432
1615
|
dispatch(showToast({
|
|
1433
1616
|
severity: "success",
|
|
1434
|
-
summary: "Migration complete",
|
|
1435
|
-
detail: response.message || `
|
|
1617
|
+
summary: "Migration workflow complete",
|
|
1618
|
+
detail: response.message || `Migration, build, and seed ran successfully for datasource "${selectedDatasource}".`,
|
|
1436
1619
|
}));
|
|
1437
1620
|
|
|
1438
1621
|
await refetchTables();
|
|
1439
1622
|
await refetchBootstrap();
|
|
1440
1623
|
} catch (error: any) {
|
|
1624
|
+
setRunMigrationOutput(readQueryError(error));
|
|
1441
1625
|
dispatch(showToast({
|
|
1442
1626
|
severity: "error",
|
|
1443
1627
|
summary: "Run migration failed",
|
|
@@ -1742,21 +1926,34 @@ export function DatasourceIntrospectionPage() {
|
|
|
1742
1926
|
<span className={`sdix-status-badge ${statusClassName}`}>{statusText}</span>
|
|
1743
1927
|
</span>
|
|
1744
1928
|
<span className="sdix-column-action">
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1929
|
+
<div className="sdix-column-action-stack">
|
|
1930
|
+
{!column.handledBySuperclass && (column.include || column.matched) ? (
|
|
1931
|
+
<SolidButton
|
|
1932
|
+
size="small"
|
|
1933
|
+
variant="outline"
|
|
1934
|
+
className="sdix-column-action-icon"
|
|
1935
|
+
onClick={() => openFieldConfigEditor(column.columnName)}
|
|
1936
|
+
aria-label={`Configure ${column.fieldName || column.columnName} field`}
|
|
1937
|
+
>
|
|
1938
|
+
<Cog size={14} />
|
|
1939
|
+
</SolidButton>
|
|
1940
|
+
) : null}
|
|
1941
|
+
{column.handledBySuperclass ? (
|
|
1942
|
+
<SolidButton size="small" variant="outline" disabled className="sdix-column-action-chip sdix-column-action-chip--managed">
|
|
1943
|
+
Managed
|
|
1944
|
+
</SolidButton>
|
|
1945
|
+
) : column.isPrimaryKey ? (
|
|
1946
|
+
<SolidButton size="small" variant="outline" disabled className="sdix-column-action-chip sdix-column-action-chip--required">
|
|
1947
|
+
Required
|
|
1948
|
+
</SolidButton>
|
|
1949
|
+
) : column.matched ? (
|
|
1950
|
+
<SolidButton size="small" variant="outline" onClick={() => setColumnIncluded(column.columnName, false)}>
|
|
1951
|
+
Remove mapping
|
|
1952
|
+
</SolidButton>
|
|
1953
|
+
) : (
|
|
1954
|
+
<span className="sdix-column-placeholder">-</span>
|
|
1955
|
+
)}
|
|
1956
|
+
</div>
|
|
1760
1957
|
</span>
|
|
1761
1958
|
</div>
|
|
1762
1959
|
);
|
|
@@ -1885,21 +2082,27 @@ export function DatasourceIntrospectionPage() {
|
|
|
1885
2082
|
|
|
1886
2083
|
const runMigrationPanel = (
|
|
1887
2084
|
<div className="sdix-stage-panel">
|
|
1888
|
-
|
|
1889
|
-
<
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
<div className="sdix-stage-panel__body">
|
|
1894
|
-
<div className="sdix-stage-panel__card">
|
|
1895
|
-
<div className="sdix-stage-panel__card-title">Command</div>
|
|
1896
|
-
<pre className="sdix-stage-panel__command"><code>{`npx @solidxai/solidctl@latest migration -d ${selectedDatasource} run`}</code></pre>
|
|
2085
|
+
{!runMigrationCompleted ? (
|
|
2086
|
+
<div className="sdix-stage-panel__header">
|
|
2087
|
+
<span className="sdix-stage-panel__eyebrow">Step 5</span>
|
|
2088
|
+
<h3>Run migration, build, and seed</h3>
|
|
2089
|
+
<p>With the datasource file updated and module code generated, SolidX can now run the TypeORM migration for the selected datasource, rebuild the project, and reseed the mapped module metadata.</p>
|
|
1897
2090
|
</div>
|
|
2091
|
+
) : null}
|
|
2092
|
+
<div className="sdix-stage-panel__body">
|
|
2093
|
+
{!runMigrationCompleted ? (
|
|
2094
|
+
<div className="sdix-stage-panel__card">
|
|
2095
|
+
<div className="sdix-stage-panel__card-title">Commands</div>
|
|
2096
|
+
<pre className="sdix-stage-panel__command"><code>{`npx @solidxai/solidctl@latest migration -d ${selectedDatasource} run
|
|
2097
|
+
npx @solidxai/solidctl@latest build
|
|
2098
|
+
npx @solidxai/solidctl@latest seed --modules-to-seed ${bootstrap?.module?.name || ""}`}</code></pre>
|
|
2099
|
+
</div>
|
|
2100
|
+
) : null}
|
|
1898
2101
|
{runMigrationCompleted ? (
|
|
1899
2102
|
<div className="sdix-empty-state is-inline sdix-stage-progress">
|
|
1900
2103
|
<Check size={24} />
|
|
1901
|
-
<h3>Migration finished</h3>
|
|
1902
|
-
<p>Review the output below. When you are satisfied, click Finish to return to the model list.</p>
|
|
2104
|
+
<h3>Migration workflow finished</h3>
|
|
2105
|
+
<p>Review the command output below. When you are satisfied, click Finish to return to the model list.</p>
|
|
1903
2106
|
</div>
|
|
1904
2107
|
) : null}
|
|
1905
2108
|
{runMigrationOutput ? (
|
|
@@ -1969,18 +2172,18 @@ export function DatasourceIntrospectionPage() {
|
|
|
1969
2172
|
case "run-migration":
|
|
1970
2173
|
return runMigrationCompleted ? (
|
|
1971
2174
|
<span>
|
|
1972
|
-
The
|
|
2175
|
+
The migration, build, and seed workflow has completed for
|
|
1973
2176
|
{" "}
|
|
1974
2177
|
<strong>{selectedDatasource}</strong>
|
|
1975
2178
|
. Review the output below and click Finish when you are ready to return to the model list.
|
|
1976
2179
|
</span>
|
|
1977
2180
|
) : (
|
|
1978
2181
|
<span>
|
|
1979
|
-
Run the
|
|
2182
|
+
Run the migration, build, and seed workflow for
|
|
1980
2183
|
{" "}
|
|
1981
2184
|
<strong>{selectedDatasource}</strong>
|
|
1982
2185
|
{" "}
|
|
1983
|
-
to apply the SolidX system columns on the legacy table.
|
|
2186
|
+
to apply the SolidX system columns on the legacy table and refresh the module metadata state.
|
|
1984
2187
|
</span>
|
|
1985
2188
|
);
|
|
1986
2189
|
case "configure":
|
|
@@ -2279,7 +2482,7 @@ export function DatasourceIntrospectionPage() {
|
|
|
2279
2482
|
loading={isPreviewMappingLoading}
|
|
2280
2483
|
onClick={() => void reviewMappingJson()}
|
|
2281
2484
|
>
|
|
2282
|
-
Review Mapping
|
|
2485
|
+
Review Mapping
|
|
2283
2486
|
</SolidButton>
|
|
2284
2487
|
) : null}
|
|
2285
2488
|
{workspaceStep === "review-json" ? (
|
|
@@ -2288,7 +2491,7 @@ export function DatasourceIntrospectionPage() {
|
|
|
2288
2491
|
Back
|
|
2289
2492
|
</SolidButton>
|
|
2290
2493
|
<SolidButton size="small" leftIcon={<Save size={14} />} loading={isSavingMapping} onClick={() => void persistMappingArtifacts()}>
|
|
2291
|
-
|
|
2494
|
+
Continue
|
|
2292
2495
|
</SolidButton>
|
|
2293
2496
|
</>
|
|
2294
2497
|
) : null}
|
|
@@ -2312,7 +2515,7 @@ export function DatasourceIntrospectionPage() {
|
|
|
2312
2515
|
Back
|
|
2313
2516
|
</SolidButton>
|
|
2314
2517
|
<SolidButton size="small" leftIcon={<Save size={14} />} loading={isCreatingMigrationArtifacts} onClick={() => void handleCreateMigrationArtifacts()}>
|
|
2315
|
-
|
|
2518
|
+
Continue
|
|
2316
2519
|
</SolidButton>
|
|
2317
2520
|
</>
|
|
2318
2521
|
) : null}
|
|
@@ -2331,7 +2534,7 @@ export function DatasourceIntrospectionPage() {
|
|
|
2331
2534
|
Back
|
|
2332
2535
|
</SolidButton>
|
|
2333
2536
|
<SolidButton size="small" leftIcon={<Database size={14} />} loading={isRunMigrationLoading} onClick={() => void handleRunMigration()}>
|
|
2334
|
-
|
|
2537
|
+
Continue
|
|
2335
2538
|
</SolidButton>
|
|
2336
2539
|
</>
|
|
2337
2540
|
)
|
|
@@ -2344,6 +2547,55 @@ export function DatasourceIntrospectionPage() {
|
|
|
2344
2547
|
</div>
|
|
2345
2548
|
)}
|
|
2346
2549
|
|
|
2550
|
+
<SolidDialog
|
|
2551
|
+
open={Boolean(activeFieldConfigColumn)}
|
|
2552
|
+
onOpenChange={(open) => {
|
|
2553
|
+
if (!open) {
|
|
2554
|
+
setFieldConfigColumnName(null);
|
|
2555
|
+
}
|
|
2556
|
+
}}
|
|
2557
|
+
style={{ width: "min(1080px, calc(100vw - 48px))" }}
|
|
2558
|
+
>
|
|
2559
|
+
<SolidDialogHeader>
|
|
2560
|
+
<div>
|
|
2561
|
+
<SolidDialogTitle>Field configuration</SolidDialogTitle>
|
|
2562
|
+
<SolidDialogDescription>
|
|
2563
|
+
Reuse the standard field form here to fine-tune the mapped SolidX field before saving the introspection draft.
|
|
2564
|
+
</SolidDialogDescription>
|
|
2565
|
+
</div>
|
|
2566
|
+
<SolidDialogClose />
|
|
2567
|
+
</SolidDialogHeader>
|
|
2568
|
+
<SolidDialogSeparator />
|
|
2569
|
+
<SolidDialogBody>
|
|
2570
|
+
{activeFieldConfigColumn && activeFieldConfigMetaData && drawerDraft ? (
|
|
2571
|
+
<FieldMetaDataForm
|
|
2572
|
+
modelMetaData={{
|
|
2573
|
+
singularName: drawerDraft.singularName,
|
|
2574
|
+
pluralName: drawerDraft.pluralName,
|
|
2575
|
+
}}
|
|
2576
|
+
fieldMetaData={activeFieldConfigMetaData}
|
|
2577
|
+
setFieldMetaData={() => undefined}
|
|
2578
|
+
setVisiblePopup={() => undefined}
|
|
2579
|
+
setIsDirty={() => undefined}
|
|
2580
|
+
allFields={fieldDraftAllFields}
|
|
2581
|
+
deleteModelFunction={() => undefined}
|
|
2582
|
+
params={params}
|
|
2583
|
+
setIsRequiredPopUp={() => undefined}
|
|
2584
|
+
showToaster={showFieldDraftToaster}
|
|
2585
|
+
onDraftSubmit={(nextFieldConfig: Record<string, any>) => applyFieldConfigDraft(activeFieldConfigColumn.columnName, nextFieldConfig)}
|
|
2586
|
+
onClose={() => setFieldConfigColumnName(null)}
|
|
2587
|
+
availableFieldTypes={scalarFieldTypeOptions.map((option) => option.value)}
|
|
2588
|
+
forceShowTypeSelector
|
|
2589
|
+
selectorRequireContinue
|
|
2590
|
+
selectorContinueLabel="Next"
|
|
2591
|
+
selectorInitialFieldType={activeFieldConfigColumn.solidFieldType}
|
|
2592
|
+
disableIdentityEditingForExisting={false}
|
|
2593
|
+
submitLabel="Save field config"
|
|
2594
|
+
/>
|
|
2595
|
+
) : null}
|
|
2596
|
+
</SolidDialogBody>
|
|
2597
|
+
</SolidDialog>
|
|
2598
|
+
|
|
2347
2599
|
<SolidDialog
|
|
2348
2600
|
open={settingsOpen}
|
|
2349
2601
|
onOpenChange={setSettingsOpen}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solidxai/core-ui",
|
|
3
|
-
"version": "0.1.12-beta.
|
|
3
|
+
"version": "0.1.12-beta.7",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build:tailwind": "tailwindcss -i ./src/resources/solid-tailwind.css -o ./src/resources/solid-tailwind-generated.css -c ./tailwind.config.js --minify",
|
|
6
6
|
"prebuild": "npm run build:tailwind && npm run copy-resources && npm run copy-styles",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare function getPendingModulePackageResumeTransactionKey(): string | null;
|
|
2
|
-
export declare function setPendingModulePackageResumeTransactionKey(transactionKey: string | null | undefined): void;
|
|
3
|
-
export declare function clearPendingModulePackageResumeTransactionKey(expectedTransactionKey?: string | null): void;
|
|
4
|
-
export declare function getLastOpenedModulePackageResumeTransactionKey(): string | null;
|
|
5
|
-
export declare function setLastOpenedModulePackageResumeTransactionKey(transactionKey: string | null | undefined): void;
|
|
6
|
-
//# sourceMappingURL=modulePackageResumeState.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"modulePackageResumeState.d.ts","sourceRoot":"","sources":["../../src/helpers/modulePackageResumeState.ts"],"names":[],"mappings":"AAOA,wBAAgB,2CAA2C,IAAI,MAAM,GAAG,IAAI,CAM3E;AAED,wBAAgB,2CAA2C,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,QAYpG;AAED,wBAAgB,6CAA6C,CAAC,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,QAanG;AAED,wBAAgB,8CAA8C,IAAI,MAAM,GAAG,IAAI,CAE9E;AAED,wBAAgB,8CAA8C,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,QAQvG"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
var PENDING_MODULE_PACKAGE_RESUME_KEY = "solidx.modulePackage.pendingResume";
|
|
2
|
-
var lastOpenedModulePackageResumeTransactionKey = null;
|
|
3
|
-
function canUseSessionStorage() {
|
|
4
|
-
return typeof window !== "undefined" && typeof window.sessionStorage !== "undefined";
|
|
5
|
-
}
|
|
6
|
-
export function getPendingModulePackageResumeTransactionKey() {
|
|
7
|
-
if (!canUseSessionStorage()) {
|
|
8
|
-
return null;
|
|
9
|
-
}
|
|
10
|
-
return window.sessionStorage.getItem(PENDING_MODULE_PACKAGE_RESUME_KEY);
|
|
11
|
-
}
|
|
12
|
-
export function setPendingModulePackageResumeTransactionKey(transactionKey) {
|
|
13
|
-
if (!canUseSessionStorage()) {
|
|
14
|
-
return;
|
|
15
|
-
}
|
|
16
|
-
var normalizedKey = String(transactionKey || "").trim();
|
|
17
|
-
if (!normalizedKey) {
|
|
18
|
-
window.sessionStorage.removeItem(PENDING_MODULE_PACKAGE_RESUME_KEY);
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
window.sessionStorage.setItem(PENDING_MODULE_PACKAGE_RESUME_KEY, normalizedKey);
|
|
22
|
-
}
|
|
23
|
-
export function clearPendingModulePackageResumeTransactionKey(expectedTransactionKey) {
|
|
24
|
-
if (!canUseSessionStorage()) {
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
if (expectedTransactionKey) {
|
|
28
|
-
var currentKey = window.sessionStorage.getItem(PENDING_MODULE_PACKAGE_RESUME_KEY);
|
|
29
|
-
if (currentKey && currentKey !== expectedTransactionKey) {
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
window.sessionStorage.removeItem(PENDING_MODULE_PACKAGE_RESUME_KEY);
|
|
34
|
-
}
|
|
35
|
-
export function getLastOpenedModulePackageResumeTransactionKey() {
|
|
36
|
-
return lastOpenedModulePackageResumeTransactionKey;
|
|
37
|
-
}
|
|
38
|
-
export function setLastOpenedModulePackageResumeTransactionKey(transactionKey) {
|
|
39
|
-
var normalizedKey = String(transactionKey || "").trim();
|
|
40
|
-
if (!normalizedKey) {
|
|
41
|
-
lastOpenedModulePackageResumeTransactionKey = null;
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
lastOpenedModulePackageResumeTransactionKey = normalizedKey;
|
|
45
|
-
}
|
|
46
|
-
//# sourceMappingURL=modulePackageResumeState.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"modulePackageResumeState.js","sourceRoot":"","sources":["../../src/helpers/modulePackageResumeState.ts"],"names":[],"mappings":"AAAA,IAAM,iCAAiC,GAAG,oCAAoC,CAAC;AAC/E,IAAI,2CAA2C,GAAkB,IAAI,CAAC;AAEtE,SAAS,oBAAoB;IAC3B,OAAO,OAAO,MAAM,KAAK,WAAW,IAAI,OAAO,MAAM,CAAC,cAAc,KAAK,WAAW,CAAC;AACvF,CAAC;AAED,MAAM,UAAU,2CAA2C;IACzD,IAAI,CAAC,oBAAoB,EAAE,EAAE;QAC3B,OAAO,IAAI,CAAC;KACb;IAED,OAAO,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,iCAAiC,CAAC,CAAC;AAC1E,CAAC;AAED,MAAM,UAAU,2CAA2C,CAAC,cAAyC;IACnG,IAAI,CAAC,oBAAoB,EAAE,EAAE;QAC3B,OAAO;KACR;IAED,IAAM,aAAa,GAAG,MAAM,CAAC,cAAc,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IAC1D,IAAI,CAAC,aAAa,EAAE;QAClB,MAAM,CAAC,cAAc,CAAC,UAAU,CAAC,iCAAiC,CAAC,CAAC;QACpE,OAAO;KACR;IAED,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,iCAAiC,EAAE,aAAa,CAAC,CAAC;AAClF,CAAC;AAED,MAAM,UAAU,6CAA6C,CAAC,sBAAsC;IAClG,IAAI,CAAC,oBAAoB,EAAE,EAAE;QAC3B,OAAO;KACR;IAED,IAAI,sBAAsB,EAAE;QAC1B,IAAM,UAAU,GAAG,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,iCAAiC,CAAC,CAAC;QACpF,IAAI,UAAU,IAAI,UAAU,KAAK,sBAAsB,EAAE;YACvD,OAAO;SACR;KACF;IAED,MAAM,CAAC,cAAc,CAAC,UAAU,CAAC,iCAAiC,CAAC,CAAC;AACtE,CAAC;AAED,MAAM,UAAU,8CAA8C;IAC5D,OAAO,2CAA2C,CAAC;AACrD,CAAC;AAED,MAAM,UAAU,8CAA8C,CAAC,cAAyC;IACtG,IAAM,aAAa,GAAG,MAAM,CAAC,cAAc,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IAC1D,IAAI,CAAC,aAAa,EAAE;QAClB,2CAA2C,GAAG,IAAI,CAAC;QACnD,OAAO;KACR;IAED,2CAA2C,GAAG,aAAa,CAAC;AAC9D,CAAC","sourcesContent":["const PENDING_MODULE_PACKAGE_RESUME_KEY = \"solidx.modulePackage.pendingResume\";\nlet lastOpenedModulePackageResumeTransactionKey: string | null = null;\n\nfunction canUseSessionStorage() {\n return typeof window !== \"undefined\" && typeof window.sessionStorage !== \"undefined\";\n}\n\nexport function getPendingModulePackageResumeTransactionKey(): string | null {\n if (!canUseSessionStorage()) {\n return null;\n }\n\n return window.sessionStorage.getItem(PENDING_MODULE_PACKAGE_RESUME_KEY);\n}\n\nexport function setPendingModulePackageResumeTransactionKey(transactionKey: string | null | undefined) {\n if (!canUseSessionStorage()) {\n return;\n }\n\n const normalizedKey = String(transactionKey || \"\").trim();\n if (!normalizedKey) {\n window.sessionStorage.removeItem(PENDING_MODULE_PACKAGE_RESUME_KEY);\n return;\n }\n\n window.sessionStorage.setItem(PENDING_MODULE_PACKAGE_RESUME_KEY, normalizedKey);\n}\n\nexport function clearPendingModulePackageResumeTransactionKey(expectedTransactionKey?: string | null) {\n if (!canUseSessionStorage()) {\n return;\n }\n\n if (expectedTransactionKey) {\n const currentKey = window.sessionStorage.getItem(PENDING_MODULE_PACKAGE_RESUME_KEY);\n if (currentKey && currentKey !== expectedTransactionKey) {\n return;\n }\n }\n\n window.sessionStorage.removeItem(PENDING_MODULE_PACKAGE_RESUME_KEY);\n}\n\nexport function getLastOpenedModulePackageResumeTransactionKey(): string | null {\n return lastOpenedModulePackageResumeTransactionKey;\n}\n\nexport function setLastOpenedModulePackageResumeTransactionKey(transactionKey: string | null | undefined) {\n const normalizedKey = String(transactionKey || \"\").trim();\n if (!normalizedKey) {\n lastOpenedModulePackageResumeTransactionKey = null;\n return;\n }\n\n lastOpenedModulePackageResumeTransactionKey = normalizedKey;\n}\n"]}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
const PENDING_MODULE_PACKAGE_RESUME_KEY = "solidx.modulePackage.pendingResume";
|
|
2
|
-
let lastOpenedModulePackageResumeTransactionKey: string | null = null;
|
|
3
|
-
|
|
4
|
-
function canUseSessionStorage() {
|
|
5
|
-
return typeof window !== "undefined" && typeof window.sessionStorage !== "undefined";
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export function getPendingModulePackageResumeTransactionKey(): string | null {
|
|
9
|
-
if (!canUseSessionStorage()) {
|
|
10
|
-
return null;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
return window.sessionStorage.getItem(PENDING_MODULE_PACKAGE_RESUME_KEY);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export function setPendingModulePackageResumeTransactionKey(transactionKey: string | null | undefined) {
|
|
17
|
-
if (!canUseSessionStorage()) {
|
|
18
|
-
return;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
const normalizedKey = String(transactionKey || "").trim();
|
|
22
|
-
if (!normalizedKey) {
|
|
23
|
-
window.sessionStorage.removeItem(PENDING_MODULE_PACKAGE_RESUME_KEY);
|
|
24
|
-
return;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
window.sessionStorage.setItem(PENDING_MODULE_PACKAGE_RESUME_KEY, normalizedKey);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export function clearPendingModulePackageResumeTransactionKey(expectedTransactionKey?: string | null) {
|
|
31
|
-
if (!canUseSessionStorage()) {
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
if (expectedTransactionKey) {
|
|
36
|
-
const currentKey = window.sessionStorage.getItem(PENDING_MODULE_PACKAGE_RESUME_KEY);
|
|
37
|
-
if (currentKey && currentKey !== expectedTransactionKey) {
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
window.sessionStorage.removeItem(PENDING_MODULE_PACKAGE_RESUME_KEY);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function getLastOpenedModulePackageResumeTransactionKey(): string | null {
|
|
46
|
-
return lastOpenedModulePackageResumeTransactionKey;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function setLastOpenedModulePackageResumeTransactionKey(transactionKey: string | null | undefined) {
|
|
50
|
-
const normalizedKey = String(transactionKey || "").trim();
|
|
51
|
-
if (!normalizedKey) {
|
|
52
|
-
lastOpenedModulePackageResumeTransactionKey = null;
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
lastOpenedModulePackageResumeTransactionKey = normalizedKey;
|
|
57
|
-
}
|