fastapi-rtk 1.1.5 → 2.0.0
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/.bundled/jsonforms/cjs/_virtual/index10.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/_virtual/index3.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/_virtual/index4.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/_virtual/index5.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/_virtual/index6.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/_virtual/index7.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/_virtual/index8.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/_virtual/index9.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineFileInput.cjs +1 -1
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineTableControl/MantineTableControl.cjs +1 -1
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useNavigationComponent.cjs +4 -4
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useToolbarComponent.cjs +5 -5
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Array/MantineArrayLayout.cjs +6 -6
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Group/variants/GroupFieldset.cjs +4 -4
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineHotizontalLayoutRenderer.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineVerticalLayoutRenderer.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/testers/isJsonArrayControl.cjs +1 -1
- package/dist/.bundled/jsonforms/esm/_virtual/index10.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/_virtual/index3.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/_virtual/index4.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/_virtual/index5.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/_virtual/index6.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/_virtual/index7.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/_virtual/index8.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/_virtual/index9.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineFileInput.mjs +1 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineTableControl/MantineTableControl.mjs +1 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useNavigationComponent.mjs +1 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useToolbarComponent.mjs +1 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Array/MantineArrayLayout.mjs +1 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Group/variants/GroupFieldset.mjs +1 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/MantineHotizontalLayoutRenderer.mjs +1 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/MantineVerticalLayoutRenderer.mjs +1 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/testers/isJsonArrayControl.mjs +1 -1
- package/dist/.bundled/jsonforms/lib/smoke.test.d.ts +1 -0
- package/dist/.external/cjs/ajv@8.20.0/ajv/dist/compile/codegen/index.cjs +1 -1
- package/dist/.external/cjs/ajv@8.20.0/ajv/dist/compile/index.cjs +1 -1
- package/dist/.external/cjs/ajv@8.20.0/ajv/dist/compile/validate/index.cjs +1 -1
- package/dist/.external/cjs/ajv@8.20.0/ajv/dist/vocabularies/applicator/index.cjs +1 -1
- package/dist/.external/cjs/ajv@8.20.0/ajv/dist/vocabularies/core/index.cjs +1 -1
- package/dist/.external/cjs/ajv@8.20.0/ajv/dist/vocabularies/discriminator/index.cjs +1 -1
- package/dist/.external/cjs/ajv@8.20.0/ajv/dist/vocabularies/format/index.cjs +1 -1
- package/dist/.external/cjs/ajv@8.20.0/ajv/dist/vocabularies/validation/index.cjs +1 -1
- package/dist/.external/esm/ajv@8.20.0/ajv/dist/compile/codegen/index.mjs +1 -1
- package/dist/.external/esm/ajv@8.20.0/ajv/dist/compile/index.mjs +1 -1
- package/dist/.external/esm/ajv@8.20.0/ajv/dist/compile/validate/index.mjs +1 -1
- package/dist/.external/esm/ajv@8.20.0/ajv/dist/vocabularies/applicator/index.mjs +1 -1
- package/dist/.external/esm/ajv@8.20.0/ajv/dist/vocabularies/core/index.mjs +1 -1
- package/dist/.external/esm/ajv@8.20.0/ajv/dist/vocabularies/discriminator/index.mjs +1 -1
- package/dist/.external/esm/ajv@8.20.0/ajv/dist/vocabularies/format/index.mjs +1 -1
- package/dist/.external/esm/ajv@8.20.0/ajv/dist/vocabularies/validation/index.mjs +1 -1
- package/dist/.external/esm/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._2zjbhqlotlhjxtgwdmcgs6toey/mantine-react-table/dist/index.esm.mjs +3 -3
- package/dist/constants/lib/index.test.d.ts +1 -0
- package/dist/core/cjs/ActionIcons/Add/Add.cjs +3 -5
- package/dist/core/cjs/ActionIcons/Delete/Delete.cjs +16 -13
- package/dist/core/cjs/ActionIcons/Download/Download.cjs +7 -9
- package/dist/core/cjs/ActionIcons/Edit/Edit.cjs +21 -18
- package/dist/core/cjs/ActionIcons/Refresh/Refresh.cjs +15 -13
- package/dist/core/cjs/ActionIcons/Upload/Upload.cjs +9 -10
- package/dist/core/cjs/ActionIcons/View/View.cjs +21 -18
- package/dist/core/cjs/ActionIcons/utils/BaseActionIcon.cjs +15 -0
- package/dist/core/cjs/Dialogs/AddDialog.cjs +10 -8
- package/dist/core/cjs/Dialogs/DeleteDialog.cjs +9 -4
- package/dist/core/cjs/Dialogs/EditDialog.cjs +24 -9
- package/dist/core/cjs/Tables/DataGrid/Toolbar/Filter/FilterMenu.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/NextGenDataGrid.cjs +4 -4
- package/dist/core/cjs/Tables/NextGenDataGrid/components/OptimizedMRT_RowSelectColumn/getOptimizedMRT_RowSelectColumnDef.cjs +3 -3
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/AdvancedFilters.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useToolbar/basicToolbars.cjs +6 -6
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useToolbar/mrtToolbars.cjs +96 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/patch/MRT_TableContainer.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/patch/body/MRT_TableBodyRow.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/patch/head/MRT_TableHead.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/patch/toolbar/MRT_ToolbarAlertBanner.cjs +37 -30
- package/dist/core/cjs/Wrappers/ApiProvider/ApiProvider.cjs +0 -2
- package/dist/core/cjs/Wrappers/ApiProvider/hooks/useProvideApi.cjs +2 -5
- package/dist/core/cjs/Wrappers/ApiProvider/hooks/utils/useApiActions.cjs +23 -94
- package/dist/core/esm/ActionIcons/Add/Add.mjs +3 -5
- package/dist/core/esm/ActionIcons/Delete/Delete.mjs +17 -14
- package/dist/core/esm/ActionIcons/Download/Download.mjs +8 -10
- package/dist/core/esm/ActionIcons/Edit/Edit.mjs +22 -19
- package/dist/core/esm/ActionIcons/Refresh/Refresh.mjs +15 -13
- package/dist/core/esm/ActionIcons/Upload/Upload.mjs +10 -11
- package/dist/core/esm/ActionIcons/View/View.mjs +22 -19
- package/dist/core/esm/ActionIcons/utils/BaseActionIcon.mjs +15 -0
- package/dist/core/esm/Dialogs/AddDialog.mjs +10 -8
- package/dist/core/esm/Dialogs/DeleteDialog.mjs +9 -4
- package/dist/core/esm/Dialogs/EditDialog.mjs +24 -9
- package/dist/core/esm/Tables/DataGrid/Toolbar/Filter/FilterMenu.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/NextGenDataGrid.mjs +4 -4
- package/dist/core/esm/Tables/NextGenDataGrid/components/OptimizedMRT_RowSelectColumn/getOptimizedMRT_RowSelectColumnDef.mjs +3 -3
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/AdvancedFilters.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useToolbar/basicToolbars.mjs +6 -6
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useToolbar/mrtToolbars.mjs +96 -0
- package/dist/core/esm/Tables/NextGenDataGrid/patch/MRT_TableContainer.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/patch/body/MRT_TableBodyRow.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/patch/head/MRT_TableHead.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/patch/toolbar/MRT_ToolbarAlertBanner.mjs +37 -30
- package/dist/core/esm/Wrappers/ApiProvider/ApiProvider.mjs +0 -2
- package/dist/core/esm/Wrappers/ApiProvider/hooks/useProvideApi.mjs +2 -5
- package/dist/core/esm/Wrappers/ApiProvider/hooks/utils/useApiActions.mjs +23 -94
- package/dist/core/lib/ActionIcons/Actions.test.d.ts +1 -0
- package/dist/core/lib/ActionIcons/Add/Add.test.d.ts +1 -0
- package/dist/core/lib/ActionIcons/Delete/Delete.test.d.ts +1 -0
- package/dist/core/lib/ActionIcons/Download/Download.test.d.ts +1 -0
- package/dist/core/lib/ActionIcons/Edit/Edit.test.d.ts +1 -0
- package/dist/core/lib/ActionIcons/Refresh/Refresh.test.d.ts +1 -0
- package/dist/core/lib/ActionIcons/Upload/Upload.test.d.ts +1 -0
- package/dist/core/lib/ActionIcons/View/View.test.d.ts +1 -0
- package/dist/core/lib/ActionIcons/utils/BaseActionIcon.d.ts +18 -0
- package/dist/core/lib/ActionIcons/utils/BaseActionIcon.test.d.ts +1 -0
- package/dist/core/lib/Dialogs/AddDialog.test.d.ts +1 -0
- package/dist/core/lib/Dialogs/DeleteDialog.test.d.ts +1 -0
- package/dist/core/lib/Dialogs/EditDialog.test.d.ts +1 -0
- package/dist/core/lib/Dialogs/ViewDialog.test.d.ts +1 -0
- package/dist/core/lib/Inputs/DateTimePicker.test.d.ts +1 -0
- package/dist/core/lib/Inputs/TimePicker.test.d.ts +1 -0
- package/dist/core/lib/Menu/UserMenu/UserMenu.test.d.ts +1 -0
- package/dist/core/lib/Modals/CommonModal.test.d.ts +1 -0
- package/dist/core/lib/Modals/normalProps.test.d.ts +1 -0
- package/dist/core/lib/Modals/overlayProps.test.d.ts +1 -0
- package/dist/core/lib/Selectors/LanguageSelector.test.d.ts +1 -0
- package/dist/core/lib/Tables/DataGrid/DataGrid.test.d.ts +1 -0
- package/dist/core/lib/Tables/DataGrid/ErrorDialog.test.d.ts +1 -0
- package/dist/core/lib/Tables/NextGenDataGrid/FallbackWrapper.test.d.ts +1 -0
- package/dist/core/lib/Tables/NextGenDataGrid/NextGenDataGrid.test.d.ts +1 -0
- package/dist/core/lib/Tables/NextGenDataGrid/hooks/useToolbar/mrtToolbars.d.ts +5 -0
- package/dist/core/lib/Tables/NextGenDataGrid/utils.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/ApiProvider/ApiProvider.d.ts +1 -6
- package/dist/core/lib/Wrappers/ApiProvider/ApiProvider.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/ApiProvider/hooks/useProvideApi.d.ts +3 -3
- package/dist/core/lib/Wrappers/ApiProvider/hooks/useProvideApi.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/ApiProvider/hooks/useProvideBulk.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/ApiProvider/hooks/useProvideForm.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/ApiProvider/hooks/utils/useApiActions.d.ts +2 -5
- package/dist/core/lib/Wrappers/ApiProvider/hooks/utils/useApiActions.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/ApiProvider/hooks/utils/useLatest.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/ApiProvider/hooks/utils/useStreamingData.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/ApiProvider/utils/api/createItem.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/ApiProvider/utils/api/deleteItem.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/ApiProvider/utils/api/downloadItems.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/ApiProvider/utils/api/formCreateItem.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/ApiProvider/utils/api/formUpdateItem.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/ApiProvider/utils/api/getInfo.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/ApiProvider/utils/api/getItem.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/ApiProvider/utils/api/getItems.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/ApiProvider/utils/api/updateItem.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/ApiProvider/utils/api/uploadItems.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/ApiProvider/utils/bulkActions/postBulkAction.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/ApiProvider/utils/convertInfo.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/ApiProvider/utils/createQueryParams.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/ApiProvider/utils/getDefaultValues.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/ApiProvider/utils/getValidationSchema.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/InfiniteScroll/InfiniteScroll.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/LazyLoadWrapper/LazyLoadWrapper.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/Provider/Provider.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/Provider/hooks/useProvideAuth.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/Provider/hooks/useProvideInfo.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/Provider/hooks/useProvideLang.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/Provider/utils/authFetch.test.d.ts +1 -0
- package/dist/core/lib/Wrappers/Provider/utils/userCRUD.test.d.ts +1 -0
- package/dist/core/lib/hooks/api/useApi.d.ts +8 -0
- package/dist/core/lib/hooks/api/useApi.test.d.ts +1 -0
- package/dist/core/lib/hooks/api/useBulkActions.test.d.ts +1 -0
- package/dist/core/lib/hooks/api/useForms.test.d.ts +1 -0
- package/dist/core/lib/hooks/auth/useAuth.test.d.ts +1 -0
- package/dist/core/lib/hooks/auth/useInfo.test.d.ts +1 -0
- package/dist/core/lib/hooks/lang/useLang.test.d.ts +1 -0
- package/dist/core/lib/test-helpers/uiWrap.d.ts +12 -0
- package/dist/hooks/lib/useActionIcon/useActionIcon.test.d.ts +1 -0
- package/dist/hooks/lib/useCustomFetch/useCustomFetch.test.d.ts +1 -0
- package/dist/hooks/lib/useSyncValues/useSyncValues.test.d.ts +1 -0
- package/dist/hooks/lib/useTrueOnce/useTrueOnce.test.d.ts +1 -0
- package/dist/jsonforms/cjs/MantineInputs/MantineFileInput.cjs +1 -1
- package/dist/jsonforms/cjs/complex/MantineTableControl/MantineTableControl.cjs +1 -1
- package/dist/jsonforms/cjs/hooks/useNavigationComponent.cjs +4 -4
- package/dist/jsonforms/cjs/hooks/useToolbarComponent.cjs +5 -5
- package/dist/jsonforms/cjs/layouts/Array/MantineArrayLayout.cjs +6 -6
- package/dist/jsonforms/cjs/layouts/Group/variants/GroupFieldset.cjs +4 -4
- package/dist/jsonforms/cjs/layouts/MantineHotizontalLayoutRenderer.cjs +2 -2
- package/dist/jsonforms/cjs/layouts/MantineVerticalLayoutRenderer.cjs +2 -2
- package/dist/jsonforms/cjs/testers/isJsonArrayControl.cjs +1 -1
- package/dist/jsonforms/esm/MantineInputs/MantineFileInput.mjs +1 -1
- package/dist/jsonforms/esm/complex/MantineTableControl/MantineTableControl.mjs +1 -1
- package/dist/jsonforms/esm/hooks/useNavigationComponent.mjs +1 -1
- package/dist/jsonforms/esm/hooks/useToolbarComponent.mjs +1 -1
- package/dist/jsonforms/esm/layouts/Array/MantineArrayLayout.mjs +1 -1
- package/dist/jsonforms/esm/layouts/Group/variants/GroupFieldset.mjs +1 -1
- package/dist/jsonforms/esm/layouts/MantineHotizontalLayoutRenderer.mjs +1 -1
- package/dist/jsonforms/esm/layouts/MantineVerticalLayoutRenderer.mjs +1 -1
- package/dist/jsonforms/esm/testers/isJsonArrayControl.mjs +1 -1
- package/dist/jsonforms/lib/JsonFormsWithCustomizer/JsonFormsWithCustomizer.test.d.ts +1 -0
- package/dist/jsonforms/lib/MantineInputs/MantineBooleanInput.test.d.ts +1 -0
- package/dist/jsonforms/lib/MantineInputs/MantineDateInput.test.d.ts +1 -0
- package/dist/jsonforms/lib/MantineInputs/MantineDateTimeInput.test.d.ts +1 -0
- package/dist/jsonforms/lib/MantineInputs/MantineEnumArrayInput.test.d.ts +1 -0
- package/dist/jsonforms/lib/MantineInputs/MantineEnumInput.test.d.ts +1 -0
- package/dist/jsonforms/lib/MantineInputs/MantineFileInput.test.d.ts +1 -0
- package/dist/jsonforms/lib/MantineInputs/MantineImageInput.test.d.ts +1 -0
- package/dist/jsonforms/lib/MantineInputs/MantineIntegerInput.test.d.ts +1 -0
- package/dist/jsonforms/lib/MantineInputs/MantineJsonInput.test.d.ts +1 -0
- package/dist/jsonforms/lib/MantineInputs/MantineNumberInput.test.d.ts +1 -0
- package/dist/jsonforms/lib/MantineInputs/MantineObjectInput.test.d.ts +1 -0
- package/dist/jsonforms/lib/MantineInputs/MantineOneOfEnumInput.test.d.ts +1 -0
- package/dist/jsonforms/lib/MantineInputs/MantineTextInput.test.d.ts +1 -0
- package/dist/jsonforms/lib/MantineInputs/MantineTimeInput.test.d.ts +1 -0
- package/dist/jsonforms/lib/complex/MantineArrayControl/MantineArrayControl.dispatch.test.d.ts +1 -0
- package/dist/jsonforms/lib/complex/MantineArrayControl/MantineArrayControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/complex/MantineEnumArrayControl.dispatch.test.d.ts +1 -0
- package/dist/jsonforms/lib/complex/MantineEnumArrayControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/complex/MantineObjectControl.dispatch.test.d.ts +1 -0
- package/dist/jsonforms/lib/complex/MantineObjectControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/complex/MantineTableControl/MantineTableControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/controls/MantineBooleanControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/controls/MantineDateControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/controls/MantineDateTimeControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/controls/MantineEnumControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/controls/MantineFileControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/controls/MantineImageControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/controls/MantineIntegerControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/controls/MantineJsonControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/controls/MantineNumberControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/controls/MantineOneOfEnumControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/controls/MantineTextControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/controls/MantineTimeControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/hooks/useThemeCustomizer.d.ts +6 -0
- package/dist/jsonforms/lib/hooks/useThemeCustomizer.test.d.ts +1 -0
- package/dist/jsonforms/lib/labels/MantineLabelRenderer.test.d.ts +1 -0
- package/dist/jsonforms/lib/layouts/Array/MantineArrayLayoutRenderer.dispatch.test.d.ts +1 -0
- package/dist/jsonforms/lib/layouts/Array/MantineArrayLayoutRenderer.test.d.ts +1 -0
- package/dist/jsonforms/lib/layouts/Categorization/MantineCategorizationLayoutRenderer.dispatch.test.d.ts +1 -0
- package/dist/jsonforms/lib/layouts/Categorization/MantineCategorizationLayoutRenderer.test.d.ts +1 -0
- package/dist/jsonforms/lib/layouts/Group/MantineGroupLayoutRenderer.dispatch.test.d.ts +1 -0
- package/dist/jsonforms/lib/layouts/Group/MantineGroupLayoutRenderer.test.d.ts +1 -0
- package/dist/jsonforms/lib/layouts/MantineHotizontalLayoutRenderer.dispatch.test.d.ts +1 -0
- package/dist/jsonforms/lib/layouts/MantineHotizontalLayoutRenderer.test.d.ts +1 -0
- package/dist/jsonforms/lib/layouts/MantineVerticalLayoutRenderer.dispatch.test.d.ts +1 -0
- package/dist/jsonforms/lib/layouts/MantineVerticalLayoutRenderer.test.d.ts +1 -0
- package/dist/jsonforms/lib/renderers/mantineCells.test.d.ts +1 -0
- package/dist/jsonforms/lib/renderers/mantineRenderers.test.d.ts +1 -0
- package/dist/jsonforms/lib/test-helpers/inputWrap.d.ts +167 -0
- package/dist/jsonforms/lib/test-helpers/jsonFormsWrap.d.ts +9 -0
- package/dist/jsonforms/lib/testers/isEnumArrayArrayControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/testers/isEnumArrayControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/testers/isFileControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/testers/isFilesControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/testers/isImageControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/testers/isImagesControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/testers/isJsonArrayControl.d.ts +6 -2
- package/dist/jsonforms/lib/testers/isJsonArrayControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/testers/isJsonControl.test.d.ts +1 -0
- package/dist/jsonforms/lib/utils/getAbsoluteValue.test.d.ts +1 -0
- package/dist/jsonforms/lib/utils/isSchemaTypeInclude.test.d.ts +1 -0
- package/dist/jsonforms/lib/utils/layout.test.d.ts +1 -0
- package/dist/jsonforms/lib/utils/utcConverter.test.d.ts +1 -0
- package/dist/jsonforms/lib/utils/withAjvProps.test.d.ts +1 -0
- package/dist/jsonforms/lib/utils/withDebounce.test.d.ts +1 -0
- package/dist/jsonforms/lib/utils/withLabelMappingProps.test.d.ts +1 -0
- package/dist/utils/lib/FastAPIRTKLogger/FastAPIRTKLogger.test.d.ts +1 -0
- package/dist/utils/lib/Memoizer/MemoWrapper.test.d.ts +1 -0
- package/dist/utils/lib/Memoizer/RenderWrapper.test.d.ts +1 -0
- package/dist/utils/lib/convertId/convertId.test.d.ts +1 -0
- package/dist/utils/lib/convertToFormData/convertToFormData.test.d.ts +1 -0
- package/dist/utils/lib/createFetchParams/createFetchParams.test.d.ts +1 -0
- package/dist/utils/lib/createSafeContext/createSafeContext.test.d.ts +1 -0
- package/dist/utils/lib/deepMerge/deepMerge.test.d.ts +1 -0
- package/dist/utils/lib/getByPath/getByPath.test.d.ts +1 -0
- package/dist/utils/lib/getItemId/getItemId.test.d.ts +1 -0
- package/dist/utils/lib/getItemName/getItemName.test.d.ts +1 -0
- package/dist/utils/lib/getValue/getValue.test.d.ts +1 -0
- package/dist/utils/lib/getValueOrDefault/getValueOrDefault.test.d.ts +1 -0
- package/dist/utils/lib/isTruthy/isTruthy.test.d.ts +1 -0
- package/dist/utils/lib/mergeProps/mergeProps.test.d.ts +1 -0
- package/dist/utils/lib/parseFromValuesOrFunc/parseFromValuesOrFunc.test.d.ts +1 -0
- package/dist/utils/lib/parseResponse/parseResponse.test.d.ts +1 -0
- package/dist/utils/lib/parseValue/parseValue.test.d.ts +1 -0
- package/dist/utils/lib/urlJoin/urlJoin.test.d.ts +1 -0
- package/dist/utils/lib/useWatchRef/useWatchRef.test.d.ts +1 -0
- package/dist/zustand/lib/useProxy/useProxy.test.d.ts +1 -0
- package/dist/zustand/lib/utils/compareStateWithStore.test.d.ts +1 -0
- package/dist/zustand/lib/utils/createProxy.test.d.ts +1 -0
- package/package.json +24 -11
- package/dist/core/lib/Tables/NextGenDataGrid/hooks/useSize.d.ts +0 -20
- /package/dist/.external/cjs/{mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.18_yup@1.7.1 → mantine-form-yup-resolver@2.0.0_@mantine_form@9.1.1_yup@1.7.1}/mantine-form-yup-resolver/dist/esm/index.cjs +0 -0
- /package/dist/.external/esm/{mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.18_yup@1.7.1 → mantine-form-yup-resolver@2.0.0_@mantine_form@9.1.1_yup@1.7.1}/mantine-form-yup-resolver/dist/esm/index.mjs +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const
|
|
4
|
+
const useContextProps = require("../../hooks/useContextProps.cjs");
|
|
5
5
|
const core = require("@jsonforms/core");
|
|
6
|
-
const core$
|
|
6
|
+
const core$1 = require("@mantine/core");
|
|
7
7
|
const map = require("../../_virtual/map.cjs");
|
|
8
8
|
const merge = require("../../_virtual/merge.cjs");
|
|
9
9
|
const range = require("../../_virtual/range.cjs");
|
|
@@ -35,10 +35,10 @@ const Component = (props) => {
|
|
|
35
35
|
const doDisableAdd = disableAdd || appliedUiSchemaOptions.disableAdd;
|
|
36
36
|
const doDisableRemove = disableRemove || appliedUiSchemaOptions.disableRemove;
|
|
37
37
|
const innerCreateDefaultValue = React.useCallback(() => core.createDefaultValue(props.schema, props.rootSchema), [props.schema]);
|
|
38
|
-
const [Component2, _props] =
|
|
38
|
+
const [Component2, _props] = useContextProps.useContextProps("Array.Accordion", `${path}.Accordion`, {}, props, {
|
|
39
39
|
withAllProps: false
|
|
40
40
|
});
|
|
41
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(core$
|
|
41
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(core$1.Stack, { children: [
|
|
42
42
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
43
43
|
ArrayToolbar.ArrayLayoutToolbar,
|
|
44
44
|
{
|
|
@@ -53,7 +53,7 @@ const Component = (props) => {
|
|
|
53
53
|
disableAdd: doDisableAdd
|
|
54
54
|
}
|
|
55
55
|
),
|
|
56
|
-
/* @__PURE__ */ jsxRuntime.jsx(core$
|
|
56
|
+
/* @__PURE__ */ jsxRuntime.jsx(core$1.Stack, { children: data > 0 ? Component2 === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(core$1.Accordion, { variant: "separated", ..._props, children: map(range(data), (index) => {
|
|
57
57
|
const childPath = core.Paths.compose(path, `${index}`);
|
|
58
58
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
59
59
|
ExpandPanelRenderer.ExpandPanelRenderer,
|
|
@@ -76,7 +76,7 @@ const Component = (props) => {
|
|
|
76
76
|
},
|
|
77
77
|
index
|
|
78
78
|
);
|
|
79
|
-
}) }) : Component2 : /* @__PURE__ */ jsxRuntime.jsx(core$
|
|
79
|
+
}) }) : Component2 : /* @__PURE__ */ jsxRuntime.jsx(core$1.Text, { ta: "center", children: translations.noDataMessage }) })
|
|
80
80
|
] });
|
|
81
81
|
};
|
|
82
82
|
const MantineArrayLayout = React.memo(Component);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const
|
|
5
|
-
const core
|
|
4
|
+
const useContextProps = require("../../../hooks/useContextProps.cjs");
|
|
5
|
+
const core = require("@mantine/core");
|
|
6
6
|
const layout = require("../../../utils/layout.cjs");
|
|
7
7
|
const GroupFieldset = ({ label, renderers, cells, childProps, componentProps, jsonFormsProps }) => {
|
|
8
8
|
const contextPath = `Group.Fieldset.${label}`;
|
|
9
|
-
const [, _props] =
|
|
9
|
+
const [, _props] = useContextProps.useContextProps(
|
|
10
10
|
`Group.Fieldset`,
|
|
11
11
|
contextPath,
|
|
12
12
|
{ legend: label, ...componentProps },
|
|
13
13
|
jsonFormsProps,
|
|
14
14
|
{ withAllProps: false }
|
|
15
15
|
);
|
|
16
|
-
return /* @__PURE__ */ jsxRuntime.jsx(core
|
|
16
|
+
return /* @__PURE__ */ jsxRuntime.jsx(core.Fieldset, { legend: label, ..._props, children: /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, renderers, cells }) });
|
|
17
17
|
};
|
|
18
18
|
exports.GroupFieldset = GroupFieldset;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const
|
|
4
|
+
const useContextProps = require("../hooks/useContextProps.cjs");
|
|
5
5
|
const core = require("@jsonforms/core");
|
|
6
6
|
const react = require("@jsonforms/react");
|
|
7
7
|
const layout = require("../utils/layout.cjs");
|
|
@@ -10,7 +10,7 @@ const Component = (props) => {
|
|
|
10
10
|
const { schema, uischema, path, enabled, visible, renderers, cells } = props;
|
|
11
11
|
const layout$1 = uischema;
|
|
12
12
|
const childProps = { schema, path, enabled, visible, elements: layout$1.elements, direction: "row" };
|
|
13
|
-
const [Component2, _props] =
|
|
13
|
+
const [Component2, _props] = useContextProps.useContextProps(
|
|
14
14
|
"HorizontalLayout",
|
|
15
15
|
`${path}.HorizontalLayout`,
|
|
16
16
|
((_a = uischema.options) == null ? void 0 : _a.props) ?? {},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const
|
|
4
|
+
const useContextProps = require("../hooks/useContextProps.cjs");
|
|
5
5
|
const core = require("@jsonforms/core");
|
|
6
6
|
const react = require("@jsonforms/react");
|
|
7
7
|
const layout = require("../utils/layout.cjs");
|
|
@@ -10,7 +10,7 @@ const Component = (props) => {
|
|
|
10
10
|
const { schema, uischema, path, enabled, visible, renderers, cells } = props;
|
|
11
11
|
const layout$1 = uischema;
|
|
12
12
|
const childProps = { schema, path, enabled, visible, elements: layout$1.elements, direction: "column" };
|
|
13
|
-
const [Component2, _props] =
|
|
13
|
+
const [Component2, _props] = useContextProps.useContextProps(
|
|
14
14
|
"VerticalLayout",
|
|
15
15
|
`${path}.VerticalLayout`,
|
|
16
16
|
((_a = uischema.options) == null ? void 0 : _a.props) ?? {},
|
|
@@ -8,7 +8,7 @@ function isJsonArrayControl(uischema, schema) {
|
|
|
8
8
|
}
|
|
9
9
|
const resolvedSchema = core.resolveSchema(schema, uischema.scope);
|
|
10
10
|
try {
|
|
11
|
-
if (isSchemaTypeInclude.isSchemaTypeInclude(resolvedSchema.type, "array") && !Array.isArray(resolvedSchema.items) && isSchemaTypeInclude.isSchemaTypeInclude(resolvedSchema.items, "object") && !resolvedSchema.items.properties) {
|
|
11
|
+
if (isSchemaTypeInclude.isSchemaTypeInclude(resolvedSchema.type, "array") && !Array.isArray(resolvedSchema.items) && isSchemaTypeInclude.isSchemaTypeInclude(resolvedSchema.items.type, "object") && !resolvedSchema.items.properties) {
|
|
12
12
|
return true;
|
|
13
13
|
}
|
|
14
14
|
return false;
|
|
@@ -9,7 +9,7 @@ const InnerMantineFileInput = ({ contextName, componentName, children, ...props
|
|
|
9
9
|
const { value, ...commonProps } = useCommonProps(props);
|
|
10
10
|
const { path, schema, errors } = props;
|
|
11
11
|
const accept = useMemo(
|
|
12
|
-
() => (/* @__PURE__ */ new Set([...schema.contentMediaType ?? [], ...schema["x-file-types"] ?? []])).
|
|
12
|
+
() => Array.from(/* @__PURE__ */ new Set([...schema.contentMediaType ?? [], ...schema["x-file-types"] ?? []])).join(","),
|
|
13
13
|
[schema.contentMediaType, schema["x-file-types"]]
|
|
14
14
|
);
|
|
15
15
|
const fileProps = useFileProps({ value, onChange: commonProps.onChange, accept, errors });
|
|
@@ -64,7 +64,7 @@ const getValidColumnProps = (scopedSchema) => {
|
|
|
64
64
|
}
|
|
65
65
|
return [""];
|
|
66
66
|
};
|
|
67
|
-
const EmptyTable = ({ numColumns, translations }) => /* @__PURE__ */ jsx(Table.Tr, { children: /* @__PURE__ */ jsx(NoBorderTableCell, { colSpan: numColumns, children: /* @__PURE__ */ jsx(Text, {
|
|
67
|
+
const EmptyTable = ({ numColumns, translations }) => /* @__PURE__ */ jsx(Table.Tr, { children: /* @__PURE__ */ jsx(NoBorderTableCell, { colSpan: numColumns, children: /* @__PURE__ */ jsx(Text, { ta: "center", children: translations.noDataMessage }) }) });
|
|
68
68
|
const TableHeaderCell = React.memo(function TableHeaderCell2(props) {
|
|
69
69
|
const { title, rowPath, propName, index } = props;
|
|
70
70
|
const [Component, _props] = useContextProps(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { useContextProps } from "
|
|
2
|
+
import { useContextProps } from "./useContextProps.mjs";
|
|
3
3
|
import { useProps, Grid, ActionIcon } from "@mantine/core";
|
|
4
4
|
import { useMemo } from "react";
|
|
5
5
|
import ForwardRef$1 from "../_virtual/arrow-down.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useContextProps } from "
|
|
2
|
+
import { useContextProps } from "./useContextProps.mjs";
|
|
3
3
|
import { useProps, Input, ActionIcon, Flex, Tooltip, Indicator, Stack, Text } from "@mantine/core";
|
|
4
4
|
import ForwardRef$1 from "../_virtual/exclamation-circle.mjs";
|
|
5
5
|
import ForwardRef from "../_virtual/plus.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useContextProps } from "
|
|
2
|
+
import { useContextProps } from "../../hooks/useContextProps.mjs";
|
|
3
3
|
import { createDefaultValue, computeLabel, Paths } from "@jsonforms/core";
|
|
4
4
|
import { Stack, Accordion, Text } from "@mantine/core";
|
|
5
5
|
import map from "../../_virtual/map.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useContextProps } from "
|
|
2
|
+
import { useContextProps } from "../../../hooks/useContextProps.mjs";
|
|
3
3
|
import { Fieldset } from "@mantine/core";
|
|
4
4
|
import { MantineLayoutRenderer } from "../../../utils/layout.mjs";
|
|
5
5
|
const GroupFieldset = ({ label, renderers, cells, childProps, componentProps, jsonFormsProps }) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useContextProps } from "
|
|
2
|
+
import { useContextProps } from "../hooks/useContextProps.mjs";
|
|
3
3
|
import { rankWith, uiTypeIs } from "@jsonforms/core";
|
|
4
4
|
import { withJsonFormsLayoutProps } from "@jsonforms/react";
|
|
5
5
|
import { MantineLayoutRenderer } from "../utils/layout.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useContextProps } from "
|
|
2
|
+
import { useContextProps } from "../hooks/useContextProps.mjs";
|
|
3
3
|
import { rankWith, uiTypeIs } from "@jsonforms/core";
|
|
4
4
|
import { withJsonFormsLayoutProps } from "@jsonforms/react";
|
|
5
5
|
import { MantineLayoutRenderer } from "../utils/layout.mjs";
|
|
@@ -6,7 +6,7 @@ function isJsonArrayControl(uischema, schema) {
|
|
|
6
6
|
}
|
|
7
7
|
const resolvedSchema = resolveSchema(schema, uischema.scope);
|
|
8
8
|
try {
|
|
9
|
-
if (isSchemaTypeInclude(resolvedSchema.type, "array") && !Array.isArray(resolvedSchema.items) && isSchemaTypeInclude(resolvedSchema.items, "object") && !resolvedSchema.items.properties) {
|
|
9
|
+
if (isSchemaTypeInclude(resolvedSchema.type, "array") && !Array.isArray(resolvedSchema.items) && isSchemaTypeInclude(resolvedSchema.items.type, "object") && !resolvedSchema.items.properties) {
|
|
10
10
|
return true;
|
|
11
11
|
}
|
|
12
12
|
return false;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -102,6 +102,12 @@ export function useThemeCustomizer(customizer: Record<string, any>): {
|
|
|
102
102
|
lg?: string;
|
|
103
103
|
xl?: string;
|
|
104
104
|
};
|
|
105
|
+
fontWeights?: {
|
|
106
|
+
[x: string & {}]: string;
|
|
107
|
+
bold?: string;
|
|
108
|
+
regular?: string;
|
|
109
|
+
medium?: string;
|
|
110
|
+
};
|
|
105
111
|
breakpoints?: {
|
|
106
112
|
[x: string & {}]: string;
|
|
107
113
|
xs?: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/jsonforms/lib/layouts/Categorization/MantineCategorizationLayoutRenderer.test.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
export function inputWrap({ initState, theme }?: {
|
|
2
|
+
initState?: {
|
|
3
|
+
core: {
|
|
4
|
+
schema: {
|
|
5
|
+
type: string;
|
|
6
|
+
properties: {};
|
|
7
|
+
};
|
|
8
|
+
uischema: {
|
|
9
|
+
type: string;
|
|
10
|
+
elements: any[];
|
|
11
|
+
};
|
|
12
|
+
data: {};
|
|
13
|
+
};
|
|
14
|
+
renderers: any[];
|
|
15
|
+
cells: any[];
|
|
16
|
+
};
|
|
17
|
+
}): ({ children }: {
|
|
18
|
+
children: any;
|
|
19
|
+
}) => import("react").JSX.Element;
|
|
20
|
+
export function themeWithComponentOverride(name: string, component: React.ReactNode): {
|
|
21
|
+
focusRing?: "auto" | "always" | "never";
|
|
22
|
+
scale?: number;
|
|
23
|
+
fontSmoothing?: boolean;
|
|
24
|
+
white?: string;
|
|
25
|
+
black?: string;
|
|
26
|
+
colors?: {
|
|
27
|
+
[x: string & {}]: import('@mantine/core').MantineColorsTuple;
|
|
28
|
+
dark?: import('@mantine/core').MantineColorsTuple;
|
|
29
|
+
gray?: import('@mantine/core').MantineColorsTuple;
|
|
30
|
+
red?: import('@mantine/core').MantineColorsTuple;
|
|
31
|
+
pink?: import('@mantine/core').MantineColorsTuple;
|
|
32
|
+
grape?: import('@mantine/core').MantineColorsTuple;
|
|
33
|
+
violet?: import('@mantine/core').MantineColorsTuple;
|
|
34
|
+
indigo?: import('@mantine/core').MantineColorsTuple;
|
|
35
|
+
blue?: import('@mantine/core').MantineColorsTuple;
|
|
36
|
+
cyan?: import('@mantine/core').MantineColorsTuple;
|
|
37
|
+
green?: import('@mantine/core').MantineColorsTuple;
|
|
38
|
+
lime?: import('@mantine/core').MantineColorsTuple;
|
|
39
|
+
yellow?: import('@mantine/core').MantineColorsTuple;
|
|
40
|
+
orange?: import('@mantine/core').MantineColorsTuple;
|
|
41
|
+
teal?: import('@mantine/core').MantineColorsTuple;
|
|
42
|
+
};
|
|
43
|
+
primaryShade?: import('@mantine/core').MantineColorShade | {
|
|
44
|
+
light?: import('@mantine/core').MantineColorShade;
|
|
45
|
+
dark?: import('@mantine/core').MantineColorShade;
|
|
46
|
+
};
|
|
47
|
+
primaryColor?: string;
|
|
48
|
+
variantColorResolver?: import('@mantine/core').VariantColorsResolver;
|
|
49
|
+
autoContrast?: boolean;
|
|
50
|
+
luminanceThreshold?: number;
|
|
51
|
+
fontFamily?: string;
|
|
52
|
+
fontFamilyMonospace?: string;
|
|
53
|
+
headings?: {
|
|
54
|
+
fontFamily?: string;
|
|
55
|
+
fontWeight?: string;
|
|
56
|
+
textWrap?: "wrap" | "nowrap" | "balance" | "pretty" | "stable";
|
|
57
|
+
sizes?: {
|
|
58
|
+
h1?: {
|
|
59
|
+
fontSize?: string;
|
|
60
|
+
fontWeight?: string;
|
|
61
|
+
lineHeight?: string;
|
|
62
|
+
};
|
|
63
|
+
h2?: {
|
|
64
|
+
fontSize?: string;
|
|
65
|
+
fontWeight?: string;
|
|
66
|
+
lineHeight?: string;
|
|
67
|
+
};
|
|
68
|
+
h3?: {
|
|
69
|
+
fontSize?: string;
|
|
70
|
+
fontWeight?: string;
|
|
71
|
+
lineHeight?: string;
|
|
72
|
+
};
|
|
73
|
+
h4?: {
|
|
74
|
+
fontSize?: string;
|
|
75
|
+
fontWeight?: string;
|
|
76
|
+
lineHeight?: string;
|
|
77
|
+
};
|
|
78
|
+
h5?: {
|
|
79
|
+
fontSize?: string;
|
|
80
|
+
fontWeight?: string;
|
|
81
|
+
lineHeight?: string;
|
|
82
|
+
};
|
|
83
|
+
h6?: {
|
|
84
|
+
fontSize?: string;
|
|
85
|
+
fontWeight?: string;
|
|
86
|
+
lineHeight?: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
radius?: {
|
|
91
|
+
[x: string & {}]: string;
|
|
92
|
+
xs?: string;
|
|
93
|
+
sm?: string;
|
|
94
|
+
md?: string;
|
|
95
|
+
lg?: string;
|
|
96
|
+
xl?: string;
|
|
97
|
+
};
|
|
98
|
+
defaultRadius?: import('@mantine/core').MantineRadius;
|
|
99
|
+
spacing?: {
|
|
100
|
+
[x: number]: string;
|
|
101
|
+
[x: string & {}]: string;
|
|
102
|
+
xs?: string;
|
|
103
|
+
sm?: string;
|
|
104
|
+
md?: string;
|
|
105
|
+
lg?: string;
|
|
106
|
+
xl?: string;
|
|
107
|
+
};
|
|
108
|
+
fontSizes?: {
|
|
109
|
+
[x: string & {}]: string;
|
|
110
|
+
xs?: string;
|
|
111
|
+
sm?: string;
|
|
112
|
+
md?: string;
|
|
113
|
+
lg?: string;
|
|
114
|
+
xl?: string;
|
|
115
|
+
};
|
|
116
|
+
lineHeights?: {
|
|
117
|
+
[x: string & {}]: string;
|
|
118
|
+
xs?: string;
|
|
119
|
+
sm?: string;
|
|
120
|
+
md?: string;
|
|
121
|
+
lg?: string;
|
|
122
|
+
xl?: string;
|
|
123
|
+
};
|
|
124
|
+
fontWeights?: {
|
|
125
|
+
[x: string & {}]: string;
|
|
126
|
+
bold?: string;
|
|
127
|
+
regular?: string;
|
|
128
|
+
medium?: string;
|
|
129
|
+
};
|
|
130
|
+
breakpoints?: {
|
|
131
|
+
[x: string & {}]: string;
|
|
132
|
+
xs?: string;
|
|
133
|
+
sm?: string;
|
|
134
|
+
md?: string;
|
|
135
|
+
lg?: string;
|
|
136
|
+
xl?: string;
|
|
137
|
+
};
|
|
138
|
+
shadows?: {
|
|
139
|
+
[x: string & {}]: string;
|
|
140
|
+
xs?: string;
|
|
141
|
+
sm?: string;
|
|
142
|
+
md?: string;
|
|
143
|
+
lg?: string;
|
|
144
|
+
xl?: string;
|
|
145
|
+
};
|
|
146
|
+
respectReducedMotion?: boolean;
|
|
147
|
+
cursorType?: "default" | "pointer";
|
|
148
|
+
defaultGradient?: {
|
|
149
|
+
from?: string;
|
|
150
|
+
to?: string;
|
|
151
|
+
deg?: number;
|
|
152
|
+
};
|
|
153
|
+
activeClassName?: string;
|
|
154
|
+
focusClassName?: string;
|
|
155
|
+
components?: {
|
|
156
|
+
[x: string]: {
|
|
157
|
+
classNames?: any;
|
|
158
|
+
styles?: any;
|
|
159
|
+
vars?: any;
|
|
160
|
+
defaultProps?: any;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
other?: {
|
|
164
|
+
[x: string]: any;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
export function baseInputProps(overrides?: object): object;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export function buildJsonForms({ schema, uischema, data, onChange }: {
|
|
2
|
+
schema: object;
|
|
3
|
+
uischema?: object;
|
|
4
|
+
data?: any;
|
|
5
|
+
onChange?: Function;
|
|
6
|
+
}): React.ReactElement;
|
|
7
|
+
export function jsonFormsWrap({ children }: {
|
|
8
|
+
children: any;
|
|
9
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Determines if the given UI schema control is a JSON control.
|
|
2
|
+
* Determines if the given UI schema control is a JSON array control.
|
|
3
|
+
*
|
|
4
|
+
* Matches arrays whose `items` is a plain object schema with no fixed
|
|
5
|
+
* `properties` (i.e. a free-form map / dynamic-shape object), as opposed to
|
|
6
|
+
* structured object arrays (which carry `properties`).
|
|
3
7
|
*
|
|
4
8
|
* @param {Object} uischema - The UI schema to evaluate.
|
|
5
9
|
* @param {string} uischema.scope - The scope of the UI schema.
|
|
6
10
|
* @param {string} uischema.type - The type of the UI schema.
|
|
7
11
|
* @param {Object} schema - The JSON schema to resolve against.
|
|
8
|
-
* @returns {boolean} - Returns true if the control is a JSON control, otherwise false.
|
|
12
|
+
* @returns {boolean} - Returns true if the control is a JSON array control, otherwise false.
|
|
9
13
|
*/
|
|
10
14
|
export function isJsonArrayControl(uischema: {
|
|
11
15
|
scope: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|