fastapi-rtk 1.0.34 → 1.0.36
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/ajv.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/_virtual/index.cjs +1 -1
- package/dist/.bundled/jsonforms/cjs/_virtual/index10.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/_virtual/index11.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/_virtual/index12.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/complex/MantineTableControl/MantineTableControl.cjs +24 -9
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useCommonProps.cjs +7 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useContextProps.cjs +5 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useIfProps.cjs +12 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useNavigationComponent.cjs +3 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useToolbarComponent.cjs +3 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Array/MantineArrayLayout.cjs +3 -1
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Categorization/variants/CategorizationCards.cjs +3 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Categorization/variants/CategorizationStepper.cjs +3 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Categorization/variants/CategorizationTabs.cjs +4 -4
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Group/variants/GroupFieldset.cjs +1 -1
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineHotizontalLayoutRenderer.cjs +1 -1
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineVerticalLayoutRenderer.cjs +1 -1
- package/dist/.bundled/jsonforms/esm/_virtual/ajv.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/_virtual/index.mjs +1 -1
- package/dist/.bundled/jsonforms/esm/_virtual/index10.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/_virtual/index11.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/_virtual/index12.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/complex/MantineTableControl/MantineTableControl.mjs +24 -9
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useCommonProps.mjs +7 -2
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useContextProps.mjs +5 -2
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useIfProps.mjs +12 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useNavigationComponent.mjs +3 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useToolbarComponent.mjs +3 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Array/MantineArrayLayout.mjs +3 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Categorization/variants/CategorizationCards.mjs +3 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Categorization/variants/CategorizationStepper.mjs +3 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Categorization/variants/CategorizationTabs.mjs +4 -4
- 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/.external/cjs/{ajv-formats@2.1.1_ajv@8.17.1 → ajv-formats@2.1.1_ajv@8.18.0}/ajv-formats/dist/index.cjs +2 -2
- package/dist/.external/cjs/{ajv-formats@2.1.1_ajv@8.17.1 → ajv-formats@2.1.1_ajv@8.18.0}/ajv-formats/dist/limit.cjs +4 -4
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/ajv.cjs +7 -7
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/codegen/index.cjs +5 -5
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/codegen/scope.cjs +1 -1
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/errors.cjs +3 -3
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/index.cjs +7 -7
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/names.cjs +1 -1
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/ref_error.cjs +1 -1
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/resolve.cjs +1 -1
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/util.cjs +2 -2
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/validate/boolSchema.cjs +3 -3
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/validate/dataType.cjs +5 -5
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/validate/defaults.cjs +2 -2
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/validate/index.cjs +13 -13
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/validate/keyword.cjs +4 -4
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/validate/subschema.cjs +2 -2
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/core.cjs +11 -11
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/additionalItems.cjs +2 -2
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/additionalProperties.cjs +4 -4
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/allOf.cjs +1 -1
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/anyOf.cjs +1 -1
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/contains.cjs +2 -2
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/dependencies.cjs +3 -3
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/if.cjs +2 -2
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/index.cjs +17 -17
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/items.cjs +3 -3
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/items2020.cjs +4 -4
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/not.cjs +1 -1
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/oneOf.cjs +2 -2
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/patternProperties.cjs +4 -4
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/prefixItems.cjs +1 -1
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/properties.cjs +4 -4
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/propertyNames.cjs +2 -2
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/thenElse.cjs +1 -1
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/code.cjs +4 -4
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/core/index.cjs +3 -3
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/core/ref.cjs +6 -6
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/discriminator/index.cjs +6 -6
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/draft7.cjs +7 -7
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/format/format.cjs +1 -1
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/format/index.cjs +2 -2
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/validation/const.cjs +3 -3
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/validation/enum.cjs +3 -3
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/validation/index.cjs +11 -11
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/validation/limitItems.cjs +1 -1
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/validation/limitLength.cjs +3 -3
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/validation/limitNumber.cjs +1 -1
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/validation/limitProperties.cjs +1 -1
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/validation/multipleOf.cjs +1 -1
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/validation/pattern.cjs +15 -5
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/validation/required.cjs +3 -3
- package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/validation/uniqueItems.cjs +4 -4
- package/dist/.external/cjs/fast-uri@3.1.0/fast-uri/index.cjs +1 -1
- package/dist/.external/cjs/{i18next@25.8.7_typescript@5.9.3 → i18next@25.8.11_typescript@5.9.3}/i18next/dist/esm/i18next.cjs +2 -2
- package/dist/.external/cjs/json-schema-traverse@1.0.0/json-schema-traverse/index.cjs +1 -1
- package/dist/.external/esm/{ajv-formats@2.1.1_ajv@8.17.1 → ajv-formats@2.1.1_ajv@8.18.0}/ajv-formats/dist/index.mjs +2 -2
- package/dist/.external/esm/{ajv-formats@2.1.1_ajv@8.17.1 → ajv-formats@2.1.1_ajv@8.18.0}/ajv-formats/dist/limit.mjs +4 -4
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/ajv.mjs +7 -7
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/codegen/index.mjs +5 -5
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/codegen/scope.mjs +1 -1
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/errors.mjs +3 -3
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/index.mjs +7 -7
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/names.mjs +1 -1
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/ref_error.mjs +1 -1
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/resolve.mjs +1 -1
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/util.mjs +2 -2
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/validate/boolSchema.mjs +3 -3
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/validate/dataType.mjs +5 -5
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/validate/defaults.mjs +2 -2
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/validate/index.mjs +13 -13
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/validate/keyword.mjs +4 -4
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/validate/subschema.mjs +2 -2
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/core.mjs +11 -11
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/additionalItems.mjs +2 -2
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/additionalProperties.mjs +4 -4
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/allOf.mjs +1 -1
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/anyOf.mjs +1 -1
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/contains.mjs +2 -2
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/dependencies.mjs +3 -3
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/if.mjs +2 -2
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/index.mjs +17 -17
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/items.mjs +3 -3
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/items2020.mjs +4 -4
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/not.mjs +1 -1
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/oneOf.mjs +2 -2
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/patternProperties.mjs +4 -4
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/prefixItems.mjs +1 -1
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/properties.mjs +4 -4
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/propertyNames.mjs +2 -2
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/applicator/thenElse.mjs +1 -1
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/code.mjs +4 -4
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/core/index.mjs +3 -3
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/core/ref.mjs +6 -6
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/discriminator/index.mjs +6 -6
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/draft7.mjs +5 -5
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/format/format.mjs +1 -1
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/format/index.mjs +2 -2
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/validation/const.mjs +3 -3
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/validation/enum.mjs +3 -3
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/validation/index.mjs +11 -11
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/validation/limitItems.mjs +1 -1
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/validation/limitLength.mjs +3 -3
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/validation/limitNumber.mjs +1 -1
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/validation/limitProperties.mjs +1 -1
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/validation/multipleOf.mjs +1 -1
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/validation/pattern.mjs +15 -5
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/validation/required.mjs +3 -3
- package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/validation/uniqueItems.mjs +4 -4
- package/dist/.external/esm/fast-uri@3.1.0/fast-uri/index.mjs +1 -1
- package/dist/.external/esm/{i18next@25.8.7_typescript@5.9.3 → i18next@25.8.11_typescript@5.9.3}/i18next/dist/esm/i18next.mjs +2 -2
- package/dist/.external/esm/json-schema-traverse@1.0.0/json-schema-traverse/index.mjs +1 -1
- package/dist/core/cjs/ActionIcons/Add/Add.cjs +1 -1
- package/dist/core/cjs/ActionIcons/Delete/Delete.cjs +1 -1
- package/dist/core/cjs/ActionIcons/Download/Download.cjs +1 -1
- package/dist/core/cjs/ActionIcons/Edit/Edit.cjs +1 -1
- package/dist/core/cjs/ActionIcons/Refresh/Refresh.cjs +1 -1
- package/dist/core/cjs/ActionIcons/View/View.cjs +1 -1
- package/dist/core/cjs/Dialogs/AddDialog.cjs +2 -2
- package/dist/core/cjs/Dialogs/DeleteDialog.cjs +1 -1
- package/dist/core/cjs/Dialogs/EditDialog.cjs +2 -2
- package/dist/core/cjs/Modals/CommonModal.cjs +1 -1
- package/dist/core/cjs/Tables/DataGrid/ErrorDialog.cjs +1 -1
- package/dist/core/cjs/Tables/DataGrid/Toolbar/Filter/FilterMenu.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilterInput/ColumnHeaderFilterInput.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilterInput/HeaderInputs/HeaderBetweenInput.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/HeaderAdvancedFiltersMenuButton.cjs +1 -1
- package/dist/core/cjs/Wrappers/Provider/Contexts/LangContext.cjs +3 -3
- package/dist/core/cjs/Wrappers/Provider/hooks/useProvideLang.cjs +1 -1
- package/dist/core/cjs/index.cjs +1 -1
- package/dist/core/esm/ActionIcons/Add/Add.mjs +1 -1
- package/dist/core/esm/ActionIcons/Delete/Delete.mjs +1 -1
- package/dist/core/esm/ActionIcons/Download/Download.mjs +1 -1
- package/dist/core/esm/ActionIcons/Edit/Edit.mjs +1 -1
- package/dist/core/esm/ActionIcons/Refresh/Refresh.mjs +1 -1
- package/dist/core/esm/ActionIcons/View/View.mjs +1 -1
- package/dist/core/esm/Dialogs/AddDialog.mjs +2 -2
- package/dist/core/esm/Dialogs/DeleteDialog.mjs +1 -1
- package/dist/core/esm/Dialogs/EditDialog.mjs +2 -2
- package/dist/core/esm/Modals/CommonModal.mjs +1 -1
- package/dist/core/esm/Tables/DataGrid/ErrorDialog.mjs +1 -1
- package/dist/core/esm/Tables/DataGrid/Toolbar/Filter/FilterMenu.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilterInput/ColumnHeaderFilterInput.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilterInput/HeaderInputs/HeaderBetweenInput.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/HeaderAdvancedFiltersMenuButton.mjs +1 -1
- package/dist/core/esm/Wrappers/Provider/Contexts/LangContext.mjs +3 -3
- package/dist/core/esm/Wrappers/Provider/hooks/useProvideLang.mjs +1 -1
- package/dist/core/esm/index.mjs +1 -1
- package/dist/jsonforms/cjs/complex/MantineTableControl/MantineTableControl.cjs +24 -9
- package/dist/jsonforms/cjs/hooks/useCommonProps.cjs +7 -2
- package/dist/jsonforms/cjs/hooks/useContextProps.cjs +5 -2
- package/dist/jsonforms/cjs/hooks/useIfProps.cjs +12 -0
- package/dist/jsonforms/cjs/hooks/useNavigationComponent.cjs +3 -3
- package/dist/jsonforms/cjs/hooks/useToolbarComponent.cjs +3 -3
- package/dist/jsonforms/cjs/layouts/Array/MantineArrayLayout.cjs +3 -1
- package/dist/jsonforms/cjs/layouts/Categorization/variants/CategorizationCards.cjs +3 -3
- package/dist/jsonforms/cjs/layouts/Categorization/variants/CategorizationStepper.cjs +3 -3
- package/dist/jsonforms/cjs/layouts/Categorization/variants/CategorizationTabs.cjs +4 -4
- package/dist/jsonforms/cjs/layouts/Group/variants/GroupFieldset.cjs +1 -1
- package/dist/jsonforms/cjs/layouts/MantineHotizontalLayoutRenderer.cjs +1 -1
- package/dist/jsonforms/cjs/layouts/MantineVerticalLayoutRenderer.cjs +1 -1
- package/dist/jsonforms/esm/complex/MantineTableControl/MantineTableControl.mjs +24 -9
- package/dist/jsonforms/esm/hooks/useCommonProps.mjs +7 -2
- package/dist/jsonforms/esm/hooks/useContextProps.mjs +5 -2
- package/dist/jsonforms/esm/hooks/useIfProps.mjs +12 -0
- package/dist/jsonforms/esm/hooks/useNavigationComponent.mjs +3 -3
- package/dist/jsonforms/esm/hooks/useToolbarComponent.mjs +3 -3
- package/dist/jsonforms/esm/layouts/Array/MantineArrayLayout.mjs +3 -1
- package/dist/jsonforms/esm/layouts/Categorization/variants/CategorizationCards.mjs +3 -3
- package/dist/jsonforms/esm/layouts/Categorization/variants/CategorizationStepper.mjs +3 -3
- package/dist/jsonforms/esm/layouts/Categorization/variants/CategorizationTabs.mjs +4 -4
- 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/lib/hooks/useContextProps.d.ts +7 -2
- package/dist/jsonforms/lib/hooks/useIfProps.d.ts +15 -0
- package/package.json +1 -1
- /package/dist/.external/cjs/{ajv-formats@2.1.1_ajv@8.17.1 → ajv-formats@2.1.1_ajv@8.18.0}/ajv-formats/dist/formats.cjs +0 -0
- /package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/codegen/code.cjs +0 -0
- /package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/rules.cjs +0 -0
- /package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/validate/applicability.cjs +0 -0
- /package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/refs/data.json.cjs +0 -0
- /package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/refs/json-schema-draft-07.json.cjs +0 -0
- /package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/runtime/equal.cjs +0 -0
- /package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/runtime/ucs2length.cjs +0 -0
- /package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/runtime/uri.cjs +0 -0
- /package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/runtime/validation_error.cjs +0 -0
- /package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/core/id.cjs +0 -0
- /package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/discriminator/types.cjs +0 -0
- /package/dist/.external/cjs/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/metadata.cjs +0 -0
- /package/dist/.external/cjs/{mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.14_yup@1.7.1 → mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.15_yup@1.7.1}/mantine-form-yup-resolver/dist/esm/index.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.8.7_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.11_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/I18nextProvider.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.8.7_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.11_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/context.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.8.7_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.11_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/defaults.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.8.7_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.11_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/i18nInstance.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.8.7_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.11_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/initReactI18next.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.8.7_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.11_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/unescape.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.8.7_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.11_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/useTranslation.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.8.7_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.11_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/utils.cjs +0 -0
- /package/dist/.external/esm/{ajv-formats@2.1.1_ajv@8.17.1 → ajv-formats@2.1.1_ajv@8.18.0}/ajv-formats/dist/formats.mjs +0 -0
- /package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/codegen/code.mjs +0 -0
- /package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/rules.mjs +0 -0
- /package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/compile/validate/applicability.mjs +0 -0
- /package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/refs/data.json.mjs +0 -0
- /package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/refs/json-schema-draft-07.json.mjs +0 -0
- /package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/runtime/equal.mjs +0 -0
- /package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/runtime/ucs2length.mjs +0 -0
- /package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/runtime/uri.mjs +0 -0
- /package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/runtime/validation_error.mjs +0 -0
- /package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/core/id.mjs +0 -0
- /package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/discriminator/types.mjs +0 -0
- /package/dist/.external/esm/{ajv@8.17.1 → ajv@8.18.0}/ajv/dist/vocabularies/metadata.mjs +0 -0
- /package/dist/.external/esm/{mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.14_yup@1.7.1 → mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.15_yup@1.7.1}/mantine-form-yup-resolver/dist/esm/index.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.8.7_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.11_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/I18nextProvider.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.8.7_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.11_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/context.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.8.7_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.11_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/defaults.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.8.7_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.11_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/i18nInstance.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.8.7_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.11_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/initReactI18next.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.8.7_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.11_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/unescape.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.8.7_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.11_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/useTranslation.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.8.7_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.11_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/utils.mjs +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const _commonjsHelpers = require("./_commonjsHelpers.cjs");
|
|
3
|
-
const ajv = require("../../../../.external/cjs/ajv@8.
|
|
4
|
-
var ajvExports = ajv.__require();
|
|
3
|
+
const ajv = require("../../../../.external/cjs/ajv@8.18.0/ajv/dist/ajv.cjs");
|
|
4
|
+
var ajvExports = /* @__PURE__ */ ajv.__require();
|
|
5
5
|
const Ajv = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(ajvExports);
|
|
6
6
|
module.exports = Ajv;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const _commonjsHelpers = require("./_commonjsHelpers.cjs");
|
|
3
|
-
const index = require("../../../../.external/cjs/ajv-formats@2.1.1_ajv@8.
|
|
3
|
+
const index = require("../../../../.external/cjs/ajv-formats@2.1.1_ajv@8.18.0/ajv-formats/dist/index.cjs");
|
|
4
4
|
var distExports = index.__require();
|
|
5
5
|
const addFormats = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(distExports);
|
|
6
6
|
module.exports = addFormats;
|
|
@@ -74,7 +74,7 @@ const TableHeaderCell = React.memo(function TableHeaderCell2(props) {
|
|
|
74
74
|
`${rowPath}.Header.${propName}`,
|
|
75
75
|
{ title },
|
|
76
76
|
props,
|
|
77
|
-
false
|
|
77
|
+
{ withAllProps: false }
|
|
78
78
|
);
|
|
79
79
|
if (Component === void 0) {
|
|
80
80
|
return /* @__PURE__ */ jsxRuntime.jsx(core.Table.Th, { ..._props, title: void 0, children: _props == null ? void 0 : _props.title });
|
|
@@ -109,15 +109,25 @@ const NonEmptyCellComponent = React.memo(function NonEmptyCellComponent2(props)
|
|
|
109
109
|
() => path.replace(propName ? `.${propName}` : void 0, "").split(".").slice(0, -1).join("."),
|
|
110
110
|
[path, propName]
|
|
111
111
|
);
|
|
112
|
-
const
|
|
113
|
-
const
|
|
114
|
-
const
|
|
112
|
+
const index = React.useMemo(() => path.split(".").slice(-1)[0], [path]);
|
|
113
|
+
const generalRowProps = core.useProps("Table.Row", {}, {});
|
|
114
|
+
const arrayRowProps = core.useProps(originalPath, {}, {});
|
|
115
|
+
const indexedRowProps = core.useProps(`Table.Row.${index}`, {}, {});
|
|
116
|
+
const specificRowProps = core.useProps(path, {}, {});
|
|
115
117
|
const { component, props: _props } = React.useMemo(
|
|
116
|
-
() => utils.deepMerge(
|
|
117
|
-
[
|
|
118
|
+
() => utils.deepMerge(generalRowProps, arrayRowProps, indexedRowProps, specificRowProps),
|
|
119
|
+
[generalRowProps, arrayRowProps, indexedRowProps, specificRowProps]
|
|
118
120
|
);
|
|
119
121
|
const theme = useThemeCustomizer.useThemeCustomizer({ [path]: { component, props: _props } });
|
|
120
|
-
|
|
122
|
+
const [, _tdProps] = useContextProps.useContextProps("Table.Row.Td", `${originalPath}.Td`, { maw: 0 }, props, {
|
|
123
|
+
withAllProps: false
|
|
124
|
+
});
|
|
125
|
+
const [, __tdProps] = useContextProps.useContextProps(`Table.Row.${index}.Td`, `${path}.Td`, { maw: 0 }, props, {
|
|
126
|
+
withAllProps: false,
|
|
127
|
+
withComponentProps: false
|
|
128
|
+
});
|
|
129
|
+
const tdProps = React.useMemo(() => utils.deepMerge(_tdProps, __tdProps), [_tdProps, __tdProps]);
|
|
130
|
+
return /* @__PURE__ */ jsxRuntime.jsx(core.MantineThemeProvider, { theme, children: /* @__PURE__ */ jsxRuntime.jsx(NoBorderTableCell.NoBorderTableCell, { ...tdProps, children: schema.properties ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
121
131
|
jsonformsReact_esm.DispatchCell,
|
|
122
132
|
{
|
|
123
133
|
schema: jsonformsCore_esm.Resolve.schema(schema, `#/properties/${jsonformsCore_esm.encode(propName)}`, rootSchema),
|
|
@@ -155,7 +165,12 @@ const NonEmptyRowComponent = (props) => {
|
|
|
155
165
|
onDelete: () => props.openDeleteDialog(childPath, props.rowIndex),
|
|
156
166
|
...props
|
|
157
167
|
});
|
|
158
|
-
|
|
168
|
+
const [, _trProps] = useContextProps.useContextProps("Table.Row.Tr", `${props.path}.Tr`, {}, props, { withAllProps: false });
|
|
169
|
+
const [, __trProps] = useContextProps.useContextProps(`Table.Row.${props.rowIndex}.Tr`, `${childPath}.Tr`, {}, props, {
|
|
170
|
+
withAllProps: false
|
|
171
|
+
});
|
|
172
|
+
const trProps = React.useMemo(() => utils.deepMerge(_trProps, __trProps), [_trProps, __trProps]);
|
|
173
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(core.Table.Tr, { ...trProps, children: [
|
|
159
174
|
generateCells(NonEmptyCell, schema, childPath, enabled, cells),
|
|
160
175
|
NavigationComponent ? /* @__PURE__ */ jsxRuntime.jsx(NoBorderTableCell.NoBorderTableCell, { style: showSortButtons ? styles.fixedCell : styles.fixedCellSmall, children: NavigationComponent }) : null
|
|
161
176
|
] }, childPath);
|
|
@@ -230,7 +245,7 @@ const MantineTableControl = React.memo(function MantineTableControl2(props) {
|
|
|
230
245
|
const isObjectSchema = isValidObjectSchema(schema);
|
|
231
246
|
const headerCells = isObjectSchema ? generateCells(TableHeaderCell, schema, path, enabled, cells) : void 0;
|
|
232
247
|
const isEnabled = enabled && !doDisableAdd;
|
|
233
|
-
const [Component, _props] = useContextProps.useContextProps("Table", `${path}.Table`, {}, props, false);
|
|
248
|
+
const [Component, _props] = useContextProps.useContextProps("Table", `${path}.Table`, {}, props, { withAllProps: false });
|
|
234
249
|
if (!visible) {
|
|
235
250
|
return null;
|
|
236
251
|
}
|
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const core$1 = require("fastapi-rtk/core");
|
|
5
|
+
const jsonformsReact_esm = require("../../../../../../../.external/cjs/@jsonforms_react@3.7.0_@jsonforms_core@3.7.0_react@19.2.4/@jsonforms/react/lib/jsonforms-react.esm.cjs");
|
|
5
6
|
const core = require("@mantine/core");
|
|
6
7
|
const hooks = require("@mantine/hooks");
|
|
7
8
|
const React = require("react");
|
|
8
9
|
const isSchemaTypeInclude = require("../utils/isSchemaTypeInclude.cjs");
|
|
10
|
+
const useIfProps = require("./useIfProps.cjs");
|
|
9
11
|
function useCommonProps(props = {}) {
|
|
10
|
-
var _a, _b;
|
|
12
|
+
var _a, _b, _c, _d;
|
|
11
13
|
const __ = core.useProps("__", {}, {});
|
|
12
14
|
const [value, setValue] = React.useState(props.data);
|
|
13
15
|
let valueIfNull = null;
|
|
@@ -38,6 +40,8 @@ function useCommonProps(props = {}) {
|
|
|
38
40
|
onChange(props.schema.default);
|
|
39
41
|
}
|
|
40
42
|
}, [props.schema.default]);
|
|
43
|
+
const { core: core$2 } = jsonformsReact_esm.useJsonForms();
|
|
44
|
+
const ifProps = useIfProps.useIfProps((_b = (_a = props.uischema) == null ? void 0 : _a.options) == null ? void 0 : _b.ifProps, core$2);
|
|
41
45
|
return {
|
|
42
46
|
inputWrapperOrder: ["label", "input", "description", "error"],
|
|
43
47
|
label: props.label,
|
|
@@ -48,7 +52,8 @@ function useCommonProps(props = {}) {
|
|
|
48
52
|
onChange,
|
|
49
53
|
onBlur: () => debouncedCallback.flush(),
|
|
50
54
|
error: props.errors ? props.errors.split("\n").map((error) => /* @__PURE__ */ jsxRuntime.jsx("span", { style: { display: "block" }, children: error }, error)) : void 0,
|
|
51
|
-
...
|
|
55
|
+
...ifProps,
|
|
56
|
+
...(_d = (_c = props.uischema) == null ? void 0 : _c.options) == null ? void 0 : _d.props
|
|
52
57
|
};
|
|
53
58
|
}
|
|
54
59
|
exports.useCommonProps = useCommonProps;
|
|
@@ -4,7 +4,7 @@ const core = require("fastapi-rtk/core");
|
|
|
4
4
|
const utils = require("fastapi-rtk/utils");
|
|
5
5
|
const core$1 = require("@mantine/core");
|
|
6
6
|
const React = require("react");
|
|
7
|
-
function useContextProps(name, path, componentProps, jsonFormsProps, withAllProps = true) {
|
|
7
|
+
function useContextProps(name, path, componentProps, jsonFormsProps, { withAllProps = true, withComponentProps = true } = {}) {
|
|
8
8
|
const { specialKey } = core.useApi({ throwOnError: false });
|
|
9
9
|
const allProps = core$1.useProps((specialKey == null ? void 0 : specialKey.all) || "all", {}, {});
|
|
10
10
|
const _componentProps = core$1.useProps(name, {}, {});
|
|
@@ -15,7 +15,10 @@ function useContextProps(name, path, componentProps, jsonFormsProps, withAllProp
|
|
|
15
15
|
);
|
|
16
16
|
return [
|
|
17
17
|
utils.parseFromValuesOrFunc(component, { componentProps, jsonFormsProps }),
|
|
18
|
-
{
|
|
18
|
+
{
|
|
19
|
+
...withComponentProps ? componentProps : {},
|
|
20
|
+
...utils.parseFromValuesOrFunc(props, { componentProps, jsonFormsProps })
|
|
21
|
+
}
|
|
19
22
|
];
|
|
20
23
|
}
|
|
21
24
|
exports.useContextProps = useContextProps;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const React = require("react");
|
|
4
|
+
const useIfProps = (schema, core, key = "props") => React.useMemo(() => {
|
|
5
|
+
if (!schema) {
|
|
6
|
+
return;
|
|
7
|
+
}
|
|
8
|
+
const { if: condition, then: thenBranch, else: elseBranch } = schema;
|
|
9
|
+
const { ajv, data } = core;
|
|
10
|
+
return ajv.validate(condition, data) ? thenBranch == null ? void 0 : thenBranch[key] : elseBranch == null ? void 0 : elseBranch[key];
|
|
11
|
+
}, [schema, core, key]);
|
|
12
|
+
exports.useIfProps = useIfProps;
|
|
@@ -22,7 +22,7 @@ const useNavigationComponent = ({ componentName, componentIdentifier, onUp, onDo
|
|
|
22
22
|
...iconProps
|
|
23
23
|
},
|
|
24
24
|
props,
|
|
25
|
-
false
|
|
25
|
+
{ withAllProps: false }
|
|
26
26
|
);
|
|
27
27
|
const [ComponentDown, _down_props] = core$1.useContextProps(
|
|
28
28
|
`${componentName}.${componentIdentifier}.Down`,
|
|
@@ -35,7 +35,7 @@ const useNavigationComponent = ({ componentName, componentIdentifier, onUp, onDo
|
|
|
35
35
|
...iconProps
|
|
36
36
|
},
|
|
37
37
|
props,
|
|
38
|
-
false
|
|
38
|
+
{ withAllProps: false }
|
|
39
39
|
);
|
|
40
40
|
const [ComponentRemove, _remove_props] = core$1.useContextProps(
|
|
41
41
|
`${componentName}.${componentIdentifier}.Remove`,
|
|
@@ -48,7 +48,7 @@ const useNavigationComponent = ({ componentName, componentIdentifier, onUp, onDo
|
|
|
48
48
|
...iconProps
|
|
49
49
|
},
|
|
50
50
|
props,
|
|
51
|
-
false
|
|
51
|
+
{ withAllProps: false }
|
|
52
52
|
);
|
|
53
53
|
const ActionIconUp = React.useMemo(
|
|
54
54
|
() => ComponentUp === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(core.Grid.Col, { span: "content", children: /* @__PURE__ */ jsxRuntime.jsx(core.ActionIcon, { ..._up_props, children: /* @__PURE__ */ jsxRuntime.jsx(IconArrowUp, {}) }) }) : ComponentUp,
|
|
@@ -38,14 +38,14 @@ const useToolbarComponent = ({ componentName, componentIdentifier, onAdd, ...pro
|
|
|
38
38
|
`${path}.${componentIdentifier}.Label`,
|
|
39
39
|
{ value: label },
|
|
40
40
|
props,
|
|
41
|
-
false
|
|
41
|
+
{ withAllProps: false }
|
|
42
42
|
);
|
|
43
43
|
const [ComponentDescription, _description_props] = core$1.useContextProps(
|
|
44
44
|
`${componentName}.${componentIdentifier}.Description`,
|
|
45
45
|
`${path}.${componentIdentifier}.Description`,
|
|
46
46
|
{ value: description },
|
|
47
47
|
props,
|
|
48
|
-
false
|
|
48
|
+
{ withAllProps: false }
|
|
49
49
|
);
|
|
50
50
|
const [ComponentValidation, _validation_props] = core$1.useContextProps(
|
|
51
51
|
`${componentName}.${componentIdentifier}.Validation`,
|
|
@@ -55,7 +55,7 @@ const useToolbarComponent = ({ componentName, componentIdentifier, onAdd, ...pro
|
|
|
55
55
|
error: errors
|
|
56
56
|
},
|
|
57
57
|
props,
|
|
58
|
-
false
|
|
58
|
+
{ withAllProps: false }
|
|
59
59
|
);
|
|
60
60
|
const [ComponentAdd, _add_props] = core$1.useContextProps(
|
|
61
61
|
`${componentName}.${componentIdentifier}.Add`,
|
package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Array/MantineArrayLayout.cjs
CHANGED
|
@@ -35,7 +35,9 @@ const Component = (props) => {
|
|
|
35
35
|
const doDisableAdd = disableAdd || appliedUiSchemaOptions.disableAdd;
|
|
36
36
|
const doDisableRemove = disableRemove || appliedUiSchemaOptions.disableRemove;
|
|
37
37
|
const innerCreateDefaultValue = React.useCallback(() => jsonformsCore_esm.createDefaultValue(props.schema, props.rootSchema), [props.schema]);
|
|
38
|
-
const [Component2, _props] = core.useContextProps("Array.Accordion", `${path}.Accordion`, {}, props,
|
|
38
|
+
const [Component2, _props] = core.useContextProps("Array.Accordion", `${path}.Accordion`, {}, props, {
|
|
39
|
+
withAllProps: false
|
|
40
|
+
});
|
|
39
41
|
return /* @__PURE__ */ jsxRuntime.jsxs(core$1.Stack, { children: [
|
|
40
42
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41
43
|
ArrayToolbar.ArrayLayoutToolbar,
|
|
@@ -14,7 +14,7 @@ const CategorizationCardsGroup = ({ labels, jsonFormsProps, children, ...props }
|
|
|
14
14
|
`Categorization.Cards.Group.[${labels}]`,
|
|
15
15
|
{ children },
|
|
16
16
|
jsonFormsProps,
|
|
17
|
-
false
|
|
17
|
+
{ withAllProps: false }
|
|
18
18
|
);
|
|
19
19
|
const mergedProps = React.useMemo(() => utils.deepMerge(props, _props), [props, _props]);
|
|
20
20
|
return /* @__PURE__ */ jsxRuntime.jsx(core.Group, { gap: "xs", ...mergedProps, children: mergedProps.children });
|
|
@@ -25,7 +25,7 @@ const CategorizationCardsCard = ({ value, jsonFormsProps, children, ...props })
|
|
|
25
25
|
`Categorization.Cards.Card.${value}`,
|
|
26
26
|
{ value, children },
|
|
27
27
|
jsonFormsProps,
|
|
28
|
-
false
|
|
28
|
+
{ withAllProps: false }
|
|
29
29
|
);
|
|
30
30
|
const mergedProps = React.useMemo(() => utils.deepMerge(props, _props), [props, _props]);
|
|
31
31
|
return /* @__PURE__ */ jsxRuntime.jsx(core.Card, { withBorder: true, shadow: "md", p: "xs", radius: "sm", ...mergedProps, children: mergedProps.children });
|
|
@@ -55,7 +55,7 @@ const CategorizationCards = ({
|
|
|
55
55
|
...componentProps
|
|
56
56
|
},
|
|
57
57
|
jsonFormsProps,
|
|
58
|
-
false
|
|
58
|
+
{ withAllProps: false }
|
|
59
59
|
);
|
|
60
60
|
const { categories, value, onChange, groupProps, cardProps } = _props;
|
|
61
61
|
const categoryLabels = React.useMemo(
|
|
@@ -14,7 +14,7 @@ const CategorizationStepperStep = ({ label, description, jsonFormsProps, childre
|
|
|
14
14
|
`Categorization.Stepper.Step.${label}`,
|
|
15
15
|
{ label, description, children },
|
|
16
16
|
jsonFormsProps,
|
|
17
|
-
false
|
|
17
|
+
{ withAllProps: false }
|
|
18
18
|
);
|
|
19
19
|
const mergedProps = React.useMemo(() => utils.deepMerge(props, _props), [props, _props]);
|
|
20
20
|
return /* @__PURE__ */ jsxRuntime.jsx(core.Stepper.Step, { label: mergedProps.label, description: mergedProps.description, ...mergedProps, children: mergedProps.children });
|
|
@@ -25,7 +25,7 @@ const CategorizationStepperButton = ({ labels, name, onClick, jsonFormsProps, ch
|
|
|
25
25
|
`Categorization.Stepper.Button.[${labels}].${name}`,
|
|
26
26
|
{ name, onClick, children },
|
|
27
27
|
jsonFormsProps,
|
|
28
|
-
false
|
|
28
|
+
{ withAllProps: false }
|
|
29
29
|
);
|
|
30
30
|
const mergedProps = React.useMemo(() => utils.deepMerge(props, _props), [props, _props]);
|
|
31
31
|
return /* @__PURE__ */ jsxRuntime.jsx(core.Button, { ...mergedProps, children: mergedProps.children });
|
|
@@ -55,7 +55,7 @@ const CategorizationStepper = ({
|
|
|
55
55
|
...componentProps
|
|
56
56
|
},
|
|
57
57
|
jsonFormsProps,
|
|
58
|
-
false
|
|
58
|
+
{ withAllProps: false }
|
|
59
59
|
);
|
|
60
60
|
const { categories, value, onChange, stepProps, buttonProps, ...rest } = _props;
|
|
61
61
|
const categoryLabels = React.useMemo(
|
|
@@ -14,7 +14,7 @@ const CategorizationTabsList = ({ labels, jsonFormsProps, children, ...props })
|
|
|
14
14
|
`Categorization.Tabs.List.[${labels}]`,
|
|
15
15
|
{ labels, children },
|
|
16
16
|
jsonFormsProps,
|
|
17
|
-
false
|
|
17
|
+
{ withAllProps: false }
|
|
18
18
|
);
|
|
19
19
|
const mergedProps = React.useMemo(() => utils.deepMerge(props, _props), [props, _props]);
|
|
20
20
|
return /* @__PURE__ */ jsxRuntime.jsx(core.Tabs.List, { ...mergedProps, children: mergedProps.children });
|
|
@@ -25,7 +25,7 @@ const CategorizationTabsTab = ({ value, jsonFormsProps, children, ...props }) =>
|
|
|
25
25
|
`Categorization.Tabs.Tab.${value}`,
|
|
26
26
|
{ value, children },
|
|
27
27
|
jsonFormsProps,
|
|
28
|
-
false
|
|
28
|
+
{ withAllProps: false }
|
|
29
29
|
);
|
|
30
30
|
const mergedProps = React.useMemo(() => utils.deepMerge(props, _props), [props, _props]);
|
|
31
31
|
return /* @__PURE__ */ jsxRuntime.jsx(core.Tabs.Tab, { value, ...mergedProps, children: mergedProps == null ? void 0 : mergedProps.children });
|
|
@@ -36,7 +36,7 @@ const CategorizationTabsPanel = ({ value, jsonFormsProps, children, ...props })
|
|
|
36
36
|
`Categorization.Tabs.Panel.${value}`,
|
|
37
37
|
{ value, children },
|
|
38
38
|
jsonFormsProps,
|
|
39
|
-
false
|
|
39
|
+
{ withAllProps: false }
|
|
40
40
|
);
|
|
41
41
|
const mergedProps = React.useMemo(() => utils.deepMerge(props, _props), [props, _props]);
|
|
42
42
|
return /* @__PURE__ */ jsxRuntime.jsx(core.Tabs.Panel, { value, ...mergedProps, children: mergedProps == null ? void 0 : mergedProps.children });
|
|
@@ -65,7 +65,7 @@ const CategorizationTabs = ({
|
|
|
65
65
|
...componentProps
|
|
66
66
|
},
|
|
67
67
|
jsonFormsProps,
|
|
68
|
-
false
|
|
68
|
+
{ withAllProps: false }
|
|
69
69
|
);
|
|
70
70
|
const { categories, value, onChange, listProps, tabProps, panelProps, ...rest } = _props;
|
|
71
71
|
const categoryLabels = React.useMemo(
|
package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Group/variants/GroupFieldset.cjs
CHANGED
|
@@ -11,7 +11,7 @@ const GroupFieldset = ({ label, renderers, cells, childProps, componentProps, js
|
|
|
11
11
|
contextPath,
|
|
12
12
|
{ legend: label, ...componentProps },
|
|
13
13
|
jsonFormsProps,
|
|
14
|
-
false
|
|
14
|
+
{ withAllProps: false }
|
|
15
15
|
);
|
|
16
16
|
return /* @__PURE__ */ jsxRuntime.jsx(core$1.Fieldset, { legend: label, ..._props, children: /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, renderers, cells }) });
|
|
17
17
|
};
|
|
@@ -15,7 +15,7 @@ const Component = (props) => {
|
|
|
15
15
|
`${path}.HorizontalLayout`,
|
|
16
16
|
((_a = uischema.options) == null ? void 0 : _a.props) ?? {},
|
|
17
17
|
props,
|
|
18
|
-
false
|
|
18
|
+
{ withAllProps: false }
|
|
19
19
|
);
|
|
20
20
|
if (Component2 === void 0) {
|
|
21
21
|
return /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, ..._props, renderers, cells });
|
package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineVerticalLayoutRenderer.cjs
CHANGED
|
@@ -15,7 +15,7 @@ const Component = (props) => {
|
|
|
15
15
|
`${path}.VerticalLayout`,
|
|
16
16
|
((_a = uischema.options) == null ? void 0 : _a.props) ?? {},
|
|
17
17
|
props,
|
|
18
|
-
false
|
|
18
|
+
{ withAllProps: false }
|
|
19
19
|
);
|
|
20
20
|
if (Component2 === void 0) {
|
|
21
21
|
return /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, ..._props, renderers, cells });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs } from "./_commonjsHelpers.mjs";
|
|
2
|
-
import { __require as requireAjv } from "../../../../.external/esm/ajv@8.
|
|
3
|
-
var ajvExports = requireAjv();
|
|
2
|
+
import { __require as requireAjv } from "../../../../.external/esm/ajv@8.18.0/ajv/dist/ajv.mjs";
|
|
3
|
+
var ajvExports = /* @__PURE__ */ requireAjv();
|
|
4
4
|
const Ajv = /* @__PURE__ */ getDefaultExportFromCjs(ajvExports);
|
|
5
5
|
export {
|
|
6
6
|
Ajv as default
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs } from "./_commonjsHelpers.mjs";
|
|
2
|
-
import { __require as requireDist } from "../../../../.external/esm/ajv-formats@2.1.1_ajv@8.
|
|
2
|
+
import { __require as requireDist } from "../../../../.external/esm/ajv-formats@2.1.1_ajv@8.18.0/ajv-formats/dist/index.mjs";
|
|
3
3
|
var distExports = requireDist();
|
|
4
4
|
const addFormats = /* @__PURE__ */ getDefaultExportFromCjs(distExports);
|
|
5
5
|
export {
|
|
@@ -72,7 +72,7 @@ const TableHeaderCell = React.memo(function TableHeaderCell2(props) {
|
|
|
72
72
|
`${rowPath}.Header.${propName}`,
|
|
73
73
|
{ title },
|
|
74
74
|
props,
|
|
75
|
-
false
|
|
75
|
+
{ withAllProps: false }
|
|
76
76
|
);
|
|
77
77
|
if (Component === void 0) {
|
|
78
78
|
return /* @__PURE__ */ jsx(Table.Th, { ..._props, title: void 0, children: _props == null ? void 0 : _props.title });
|
|
@@ -107,15 +107,25 @@ const NonEmptyCellComponent = React.memo(function NonEmptyCellComponent2(props)
|
|
|
107
107
|
() => path.replace(propName ? `.${propName}` : void 0, "").split(".").slice(0, -1).join("."),
|
|
108
108
|
[path, propName]
|
|
109
109
|
);
|
|
110
|
-
const
|
|
111
|
-
const
|
|
112
|
-
const
|
|
110
|
+
const index = useMemo(() => path.split(".").slice(-1)[0], [path]);
|
|
111
|
+
const generalRowProps = useProps("Table.Row", {}, {});
|
|
112
|
+
const arrayRowProps = useProps(originalPath, {}, {});
|
|
113
|
+
const indexedRowProps = useProps(`Table.Row.${index}`, {}, {});
|
|
114
|
+
const specificRowProps = useProps(path, {}, {});
|
|
113
115
|
const { component, props: _props } = useMemo(
|
|
114
|
-
() => deepMerge(
|
|
115
|
-
[
|
|
116
|
+
() => deepMerge(generalRowProps, arrayRowProps, indexedRowProps, specificRowProps),
|
|
117
|
+
[generalRowProps, arrayRowProps, indexedRowProps, specificRowProps]
|
|
116
118
|
);
|
|
117
119
|
const theme = useThemeCustomizer({ [path]: { component, props: _props } });
|
|
118
|
-
|
|
120
|
+
const [, _tdProps] = useContextProps("Table.Row.Td", `${originalPath}.Td`, { maw: 0 }, props, {
|
|
121
|
+
withAllProps: false
|
|
122
|
+
});
|
|
123
|
+
const [, __tdProps] = useContextProps(`Table.Row.${index}.Td`, `${path}.Td`, { maw: 0 }, props, {
|
|
124
|
+
withAllProps: false,
|
|
125
|
+
withComponentProps: false
|
|
126
|
+
});
|
|
127
|
+
const tdProps = useMemo(() => deepMerge(_tdProps, __tdProps), [_tdProps, __tdProps]);
|
|
128
|
+
return /* @__PURE__ */ jsx(MantineThemeProvider, { theme, children: /* @__PURE__ */ jsx(NoBorderTableCell, { ...tdProps, children: schema.properties ? /* @__PURE__ */ jsx(
|
|
119
129
|
DispatchCell,
|
|
120
130
|
{
|
|
121
131
|
schema: Resolve.schema(schema, `#/properties/${encode(propName)}`, rootSchema),
|
|
@@ -153,7 +163,12 @@ const NonEmptyRowComponent = (props) => {
|
|
|
153
163
|
onDelete: () => props.openDeleteDialog(childPath, props.rowIndex),
|
|
154
164
|
...props
|
|
155
165
|
});
|
|
156
|
-
|
|
166
|
+
const [, _trProps] = useContextProps("Table.Row.Tr", `${props.path}.Tr`, {}, props, { withAllProps: false });
|
|
167
|
+
const [, __trProps] = useContextProps(`Table.Row.${props.rowIndex}.Tr`, `${childPath}.Tr`, {}, props, {
|
|
168
|
+
withAllProps: false
|
|
169
|
+
});
|
|
170
|
+
const trProps = useMemo(() => deepMerge(_trProps, __trProps), [_trProps, __trProps]);
|
|
171
|
+
return /* @__PURE__ */ jsxs(Table.Tr, { ...trProps, children: [
|
|
157
172
|
generateCells(NonEmptyCell, schema, childPath, enabled, cells),
|
|
158
173
|
NavigationComponent ? /* @__PURE__ */ jsx(NoBorderTableCell, { style: showSortButtons ? styles.fixedCell : styles.fixedCellSmall, children: NavigationComponent }) : null
|
|
159
174
|
] }, childPath);
|
|
@@ -228,7 +243,7 @@ const MantineTableControl = memo(function MantineTableControl2(props) {
|
|
|
228
243
|
const isObjectSchema = isValidObjectSchema(schema);
|
|
229
244
|
const headerCells = isObjectSchema ? generateCells(TableHeaderCell, schema, path, enabled, cells) : void 0;
|
|
230
245
|
const isEnabled = enabled && !doDisableAdd;
|
|
231
|
-
const [Component, _props] = useContextProps("Table", `${path}.Table`, {}, props, false);
|
|
246
|
+
const [Component, _props] = useContextProps("Table", `${path}.Table`, {}, props, { withAllProps: false });
|
|
232
247
|
if (!visible) {
|
|
233
248
|
return null;
|
|
234
249
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { DEBOUNCE_JSONFORMS_DELAY } from "fastapi-rtk/core";
|
|
3
|
+
import { useJsonForms } from "../../../../../../../.external/esm/@jsonforms_react@3.7.0_@jsonforms_core@3.7.0_react@19.2.4/@jsonforms/react/lib/jsonforms-react.esm.mjs";
|
|
3
4
|
import { useProps } from "@mantine/core";
|
|
4
5
|
import { useDebouncedCallback } from "@mantine/hooks";
|
|
5
6
|
import { useState, useEffect } from "react";
|
|
6
7
|
import { isSchemaTypeInclude } from "../utils/isSchemaTypeInclude.mjs";
|
|
8
|
+
import { useIfProps } from "./useIfProps.mjs";
|
|
7
9
|
function useCommonProps(props = {}) {
|
|
8
|
-
var _a, _b;
|
|
10
|
+
var _a, _b, _c, _d;
|
|
9
11
|
const __ = useProps("__", {}, {});
|
|
10
12
|
const [value, setValue] = useState(props.data);
|
|
11
13
|
let valueIfNull = null;
|
|
@@ -36,6 +38,8 @@ function useCommonProps(props = {}) {
|
|
|
36
38
|
onChange(props.schema.default);
|
|
37
39
|
}
|
|
38
40
|
}, [props.schema.default]);
|
|
41
|
+
const { core } = useJsonForms();
|
|
42
|
+
const ifProps = useIfProps((_b = (_a = props.uischema) == null ? void 0 : _a.options) == null ? void 0 : _b.ifProps, core);
|
|
39
43
|
return {
|
|
40
44
|
inputWrapperOrder: ["label", "input", "description", "error"],
|
|
41
45
|
label: props.label,
|
|
@@ -46,7 +50,8 @@ function useCommonProps(props = {}) {
|
|
|
46
50
|
onChange,
|
|
47
51
|
onBlur: () => debouncedCallback.flush(),
|
|
48
52
|
error: props.errors ? props.errors.split("\n").map((error) => /* @__PURE__ */ jsx("span", { style: { display: "block" }, children: error }, error)) : void 0,
|
|
49
|
-
...
|
|
53
|
+
...ifProps,
|
|
54
|
+
...(_d = (_c = props.uischema) == null ? void 0 : _c.options) == null ? void 0 : _d.props
|
|
50
55
|
};
|
|
51
56
|
}
|
|
52
57
|
export {
|