fastapi-rtk 2.9.0 → 2.9.2
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/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/MantineObjectInput.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineTableControl/MantineTableControl.cjs +6 -11
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Array/ExpandPanelRenderer.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Array/MantineArrayLayout.cjs +3 -5
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/utils/layout.cjs +2 -2
- package/dist/.bundled/jsonforms/esm/_virtual/index10.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/MantineObjectInput.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineTableControl/MantineTableControl.mjs +7 -12
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Array/ExpandPanelRenderer.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Array/MantineArrayLayout.mjs +3 -5
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/utils/layout.mjs +2 -2
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/index.cjs +1 -1
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/applicator/index.cjs +1 -1
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/core/index.cjs +1 -1
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/format/index.cjs +1 -1
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/validation/index.cjs +1 -1
- package/dist/.external/cjs/html-parse-stringify@3.0.1/html-parse-stringify/dist/html-parse-stringify.module.cjs +59 -0
- package/dist/.external/cjs/lodash@4.17.23/lodash/_cloneBuffer.cjs +1 -1
- package/dist/.external/cjs/lodash@4.17.23/lodash/_freeGlobal.cjs +1 -1
- package/dist/.external/cjs/lodash@4.17.23/lodash/_nodeUtil.cjs +1 -1
- package/dist/.external/cjs/lodash@4.17.23/lodash/isBuffer.cjs +1 -1
- package/dist/.external/cjs/lodash@4.17.23/lodash/lodash.cjs +2 -2
- package/dist/.external/cjs/mantine-react-table@2.0.0-beta.9_patch_hash_b9fcaf5fc0698f1949127d6bfb1f154a5bd28d0d1fe_7b4bd73d03bc0c4b3e9706b344be0f5a/mantine-react-table/locales/de/index.cjs +1 -1
- package/dist/.external/cjs/mantine-react-table@2.0.0-beta.9_patch_hash_b9fcaf5fc0698f1949127d6bfb1f154a5bd28d0d1fe_7b4bd73d03bc0c4b3e9706b344be0f5a/mantine-react-table/locales/en/index.cjs +1 -1
- package/dist/.external/cjs/react-i18next@15.7.4_i18next@25.8.0_typescript@5.9.3__react-dom@19.2.3_react@19.2.3__react@19.2.3_typescript@5.9.3/react-i18next/dist/es/I18nextProvider.cjs +3 -3
- package/dist/.external/cjs/react-i18next@15.7.4_i18next@25.8.0_typescript@5.9.3__react-dom@19.2.3_react@19.2.3__react@19.2.3_typescript@5.9.3/react-i18next/dist/es/Trans.cjs +48 -0
- package/dist/.external/cjs/react-i18next@15.7.4_i18next@25.8.0_typescript@5.9.3__react-dom@19.2.3_react@19.2.3__react@19.2.3_typescript@5.9.3/react-i18next/dist/es/TransWithoutContext.cjs +331 -0
- package/dist/.external/cjs/react-i18next@15.7.4_i18next@25.8.0_typescript@5.9.3__react-dom@19.2.3_react@19.2.3__react@19.2.3_typescript@5.9.3/react-i18next/dist/es/Translation.cjs +15 -0
- package/dist/.external/cjs/react-i18next@15.7.4_i18next@25.8.0_typescript@5.9.3__react-dom@19.2.3_react@19.2.3__react@19.2.3_typescript@5.9.3/react-i18next/dist/es/context.cjs +32 -2
- package/dist/.external/cjs/react-i18next@15.7.4_i18next@25.8.0_typescript@5.9.3__react-dom@19.2.3_react@19.2.3__react@19.2.3_typescript@5.9.3/react-i18next/dist/es/index.cjs +42 -0
- package/dist/.external/cjs/react-i18next@15.7.4_i18next@25.8.0_typescript@5.9.3__react-dom@19.2.3_react@19.2.3__react@19.2.3_typescript@5.9.3/react-i18next/dist/es/useSSR.cjs +32 -0
- package/dist/.external/cjs/react-i18next@15.7.4_i18next@25.8.0_typescript@5.9.3__react-dom@19.2.3_react@19.2.3__react@19.2.3_typescript@5.9.3/react-i18next/dist/es/useTranslation.cjs +9 -9
- package/dist/.external/cjs/react-i18next@15.7.4_i18next@25.8.0_typescript@5.9.3__react-dom@19.2.3_react@19.2.3__react@19.2.3_typescript@5.9.3/react-i18next/dist/es/utils.cjs +2 -0
- package/dist/.external/cjs/react-i18next@15.7.4_i18next@25.8.0_typescript@5.9.3__react-dom@19.2.3_react@19.2.3__react@19.2.3_typescript@5.9.3/react-i18next/dist/es/withSSR.cjs +23 -0
- package/dist/.external/cjs/react-i18next@15.7.4_i18next@25.8.0_typescript@5.9.3__react-dom@19.2.3_react@19.2.3__react@19.2.3_typescript@5.9.3/react-i18next/dist/es/withTranslation.cjs +35 -0
- package/dist/.external/cjs/toposort@2.0.2/toposort/index.cjs +1 -1
- package/dist/.external/cjs/void-elements@3.1.0/void-elements/index.cjs +26 -0
- package/dist/.external/cjs/yup@1.7.1/yup/index.esm.cjs +3 -3
- package/dist/.external/cjs/zustand@5.0.10_@types_react@19.2.9_react@19.2.3/zustand/esm/index.cjs +7 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/index.mjs +1 -1
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/applicator/index.mjs +1 -1
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/core/index.mjs +1 -1
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/format/index.mjs +1 -1
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/validation/index.mjs +1 -1
- package/dist/.external/esm/html-parse-stringify@3.0.1/html-parse-stringify/dist/html-parse-stringify.module.mjs +60 -0
- package/dist/.external/esm/lodash@4.17.23/lodash/_cloneBuffer.mjs +1 -1
- package/dist/.external/esm/lodash@4.17.23/lodash/_freeGlobal.mjs +1 -1
- package/dist/.external/esm/lodash@4.17.23/lodash/_nodeUtil.mjs +1 -1
- package/dist/.external/esm/lodash@4.17.23/lodash/isBuffer.mjs +1 -1
- package/dist/.external/esm/lodash@4.17.23/lodash/lodash.mjs +2 -2
- package/dist/.external/esm/mantine-react-table@2.0.0-beta.9_patch_hash_b9fcaf5fc0698f1949127d6bfb1f154a5bd28d0d1fe_7b4bd73d03bc0c4b3e9706b344be0f5a/mantine-react-table/locales/de/index.mjs +1 -1
- package/dist/.external/esm/mantine-react-table@2.0.0-beta.9_patch_hash_b9fcaf5fc0698f1949127d6bfb1f154a5bd28d0d1fe_7b4bd73d03bc0c4b3e9706b344be0f5a/mantine-react-table/locales/en/index.mjs +1 -1
- package/dist/.external/esm/react-i18next@15.7.4_i18next@25.8.0_typescript@5.9.3__react-dom@19.2.3_react@19.2.3__react@19.2.3_typescript@5.9.3/react-i18next/dist/es/Trans.mjs +49 -0
- package/dist/.external/esm/react-i18next@15.7.4_i18next@25.8.0_typescript@5.9.3__react-dom@19.2.3_react@19.2.3__react@19.2.3_typescript@5.9.3/react-i18next/dist/es/TransWithoutContext.mjs +331 -0
- package/dist/.external/esm/react-i18next@15.7.4_i18next@25.8.0_typescript@5.9.3__react-dom@19.2.3_react@19.2.3__react@19.2.3_typescript@5.9.3/react-i18next/dist/es/Translation.mjs +15 -0
- package/dist/.external/esm/react-i18next@15.7.4_i18next@25.8.0_typescript@5.9.3__react-dom@19.2.3_react@19.2.3__react@19.2.3_typescript@5.9.3/react-i18next/dist/es/context.mjs +32 -1
- package/dist/.external/esm/react-i18next@15.7.4_i18next@25.8.0_typescript@5.9.3__react-dom@19.2.3_react@19.2.3__react@19.2.3_typescript@5.9.3/react-i18next/dist/es/index.mjs +42 -0
- package/dist/.external/esm/react-i18next@15.7.4_i18next@25.8.0_typescript@5.9.3__react-dom@19.2.3_react@19.2.3__react@19.2.3_typescript@5.9.3/react-i18next/dist/es/useSSR.mjs +32 -0
- package/dist/.external/esm/react-i18next@15.7.4_i18next@25.8.0_typescript@5.9.3__react-dom@19.2.3_react@19.2.3__react@19.2.3_typescript@5.9.3/react-i18next/dist/es/utils.mjs +2 -0
- package/dist/.external/esm/react-i18next@15.7.4_i18next@25.8.0_typescript@5.9.3__react-dom@19.2.3_react@19.2.3__react@19.2.3_typescript@5.9.3/react-i18next/dist/es/withSSR.mjs +23 -0
- package/dist/.external/esm/react-i18next@15.7.4_i18next@25.8.0_typescript@5.9.3__react-dom@19.2.3_react@19.2.3__react@19.2.3_typescript@5.9.3/react-i18next/dist/es/withTranslation.mjs +35 -0
- package/dist/.external/esm/toposort@2.0.2/toposort/index.mjs +1 -1
- package/dist/.external/esm/void-elements@3.1.0/void-elements/index.mjs +26 -0
- package/dist/.external/esm/yup@1.7.1/yup/index.esm.mjs +3 -3
- package/dist/.external/esm/zustand@5.0.10_@types_react@19.2.9_react@19.2.3/zustand/esm/index.mjs +7 -0
- package/dist/.external/esm/zustand@5.0.10_@types_react@19.2.9_react@19.2.3/zustand/esm/react.mjs +5 -5
- package/dist/api/cjs/ApiProvider/hooks/useProvideApi.cjs +9 -7
- package/dist/api/cjs/ApiProvider/hooks/useProvideForm.cjs +2 -2
- package/dist/api/cjs/ApiProvider/hooks/utils/useStreamingData.cjs +2 -2
- package/dist/api/cjs/Provider/Contexts/LangContext.cjs +2 -4
- package/dist/api/cjs/Provider/Provider.cjs +4 -3
- package/dist/api/cjs/Provider/hooks/useProvideAuth.cjs +4 -3
- package/dist/api/cjs/Provider/hooks/useProvideInfo.cjs +2 -2
- package/dist/api/cjs/Provider/hooks/useProvideLang.cjs +9 -7
- package/dist/api/cjs/index.cjs +2 -0
- package/dist/api/esm/ApiProvider/hooks/useProvideApi.mjs +3 -1
- package/dist/api/esm/ApiProvider/hooks/useProvideForm.mjs +2 -2
- package/dist/api/esm/ApiProvider/hooks/utils/useStreamingData.mjs +1 -1
- package/dist/api/esm/Provider/Contexts/LangContext.mjs +3 -5
- package/dist/api/esm/Provider/Provider.mjs +2 -1
- package/dist/api/esm/Provider/hooks/useProvideAuth.mjs +2 -1
- package/dist/api/esm/Provider/hooks/useProvideInfo.mjs +1 -1
- package/dist/api/esm/Provider/hooks/useProvideLang.mjs +10 -8
- package/dist/api/esm/index.mjs +2 -0
- package/dist/api/lib/ApiProvider/hooks/types.d.ts +1 -1
- package/dist/api/lib/ApiProvider/hooks/useProvideForm.d.ts +2 -1
- package/dist/api/lib/ApiProvider/hooks/utils/useStreamingData.d.ts +26 -26
- package/dist/api/lib/ApiProvider/types.d.ts +1 -1
- package/dist/api/lib/Provider/hooks/useProvideAuth.d.ts +3 -3
- package/dist/api/lib/Provider/hooks/useProvideInfo.d.ts +1 -1
- package/dist/api/lib/Provider/types.d.ts +1 -1
- package/dist/api/lib/adapters/types.d.ts +10 -0
- package/dist/api/lib/hooks/auth/types.d.ts +1 -1
- package/dist/api/lib/index.d.ts +1 -0
- package/dist/constants/cjs/index.cjs +0 -5
- package/dist/constants/esm/index.mjs +0 -5
- package/dist/constants/lib/index.d.ts +1 -6
- package/dist/{jsonforms → contexts}/cjs/_virtual/_commonjsHelpers.cjs +0 -2
- package/dist/contexts/cjs/_virtual/index.cjs +6 -0
- package/dist/contexts/cjs/index.cjs +2 -0
- package/dist/contexts/esm/_virtual/_commonjsHelpers.mjs +6 -0
- package/dist/contexts/esm/_virtual/index.mjs +7 -0
- package/dist/contexts/esm/index.mjs +2 -0
- package/dist/contexts/lib/index.d.ts +1 -0
- package/dist/core/cjs/Dialogs/EditDialog.cjs +1 -2
- package/dist/core/cjs/Tables/NextGenDataGrid/components/OptimizedMRT_RowSelectColumn/zustand.cjs +2 -2
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useOptimizations.cjs +1 -2
- package/dist/core/cjs/_virtual/_commonjsHelpers.cjs +0 -2
- package/dist/core/cjs/_virtual/index.cjs +25 -3
- package/dist/core/cjs/_virtual/index2.cjs +25 -3
- package/dist/core/cjs/_virtual/index3.cjs +3 -5
- package/dist/core/cjs/_virtual/index4.cjs +2 -2
- package/dist/core/cjs/_virtual/index5.cjs +5 -0
- package/dist/core/cjs/_virtual/index6.cjs +5 -0
- package/dist/core/cjs/_virtual/index7.cjs +6 -0
- package/dist/core/cjs/_virtual/{isBuffer.cjs → index8.cjs} +2 -2
- package/dist/core/cjs/adapters/web/index.cjs +4 -1
- package/dist/core/cjs/adapters/web/webLocalizationAdapter.cjs +13 -0
- package/dist/core/cjs/index.cjs +10 -5
- package/dist/core/esm/Dialogs/EditDialog.mjs +2 -3
- package/dist/core/esm/Tables/NextGenDataGrid/components/OptimizedMRT_RowSelectColumn/zustand.mjs +2 -2
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useOptimizations.mjs +2 -3
- package/dist/core/esm/_virtual/_commonjsHelpers.mjs +0 -2
- package/dist/core/esm/_virtual/index.mjs +25 -3
- package/dist/core/esm/_virtual/index2.mjs +25 -3
- package/dist/core/esm/_virtual/index3.mjs +2 -5
- package/dist/core/esm/_virtual/index4.mjs +2 -2
- package/dist/core/esm/_virtual/index5.mjs +5 -0
- package/dist/core/esm/_virtual/index6.mjs +5 -0
- package/dist/core/esm/_virtual/index7.mjs +7 -0
- package/dist/core/esm/_virtual/index8.mjs +4 -0
- package/dist/core/esm/adapters/web/index.mjs +4 -1
- package/dist/core/esm/adapters/web/webLocalizationAdapter.mjs +13 -0
- package/dist/core/esm/index.mjs +3 -4
- package/dist/core/lib/Tables/NextGenDataGrid/components/OptimizedMRT_RowSelectColumn/zustand.d.ts +3 -3
- package/dist/core/lib/Tables/NextGenDataGrid/types.d.ts +2 -2
- package/dist/core/lib/adapters/web/index.d.ts +2 -1
- package/dist/core/lib/adapters/web/webLocalizationAdapter.d.ts +2 -0
- package/dist/core/lib/index.d.ts +2 -2
- package/dist/jsonforms/cjs/MantineInputs/MantineObjectInput.cjs +2 -2
- package/dist/jsonforms/cjs/complex/MantineTableControl/MantineTableControl.cjs +6 -11
- package/dist/jsonforms/cjs/layouts/Array/ExpandPanelRenderer.cjs +2 -2
- package/dist/jsonforms/cjs/layouts/Array/MantineArrayLayout.cjs +3 -5
- package/dist/jsonforms/cjs/utils/layout.cjs +2 -2
- package/dist/jsonforms/esm/MantineInputs/MantineObjectInput.mjs +2 -2
- package/dist/jsonforms/esm/complex/MantineTableControl/MantineTableControl.mjs +7 -12
- package/dist/jsonforms/esm/layouts/Array/ExpandPanelRenderer.mjs +2 -2
- package/dist/jsonforms/esm/layouts/Array/MantineArrayLayout.mjs +3 -5
- package/dist/jsonforms/esm/utils/layout.mjs +2 -2
- package/dist/utils/cjs/_virtual/_commonjsHelpers.cjs +4 -0
- package/dist/utils/cjs/_virtual/lodash.cjs +6 -3
- package/dist/utils/cjs/index.cjs +2 -0
- package/dist/utils/esm/_virtual/_commonjsHelpers.mjs +5 -1
- package/dist/utils/esm/_virtual/lodash.mjs +3 -0
- package/dist/utils/esm/index.mjs +2 -0
- package/dist/utils/lib/index.d.ts +2 -0
- package/dist/zustand/cjs/index.cjs +2 -0
- package/dist/zustand/esm/index.mjs +3 -1
- package/dist/zustand/lib/index.d.ts +1 -0
- package/package.json +3 -2
- package/dist/.bundled/jsonforms/cjs/_virtual/lodash.cjs +0 -5
- package/dist/.bundled/jsonforms/cjs/_virtual/lodash2.cjs +0 -4
- package/dist/.bundled/jsonforms/cjs/_virtual/map.cjs +0 -6
- package/dist/.bundled/jsonforms/cjs/_virtual/union.cjs +0 -6
- package/dist/.bundled/jsonforms/esm/_virtual/lodash.mjs +0 -5
- package/dist/.bundled/jsonforms/esm/_virtual/lodash2.mjs +0 -4
- package/dist/.bundled/jsonforms/esm/_virtual/map.mjs +0 -7
- package/dist/.bundled/jsonforms/esm/_virtual/union.mjs +0 -7
- package/dist/.external/cjs/lodash@4.17.23/lodash/_arrayIncludesWith.cjs +0 -20
- package/dist/.external/cjs/lodash@4.17.23/lodash/_baseMap.cjs +0 -21
- package/dist/.external/cjs/lodash@4.17.23/lodash/_baseUniq.cjs +0 -59
- package/dist/.external/cjs/lodash@4.17.23/lodash/_createSet.cjs +0 -19
- package/dist/.external/cjs/lodash@4.17.23/lodash/map.cjs +0 -20
- package/dist/.external/cjs/lodash@4.17.23/lodash/union.cjs +0 -19
- package/dist/.external/esm/lodash@4.17.23/lodash/_arrayIncludesWith.mjs +0 -20
- package/dist/.external/esm/lodash@4.17.23/lodash/_baseMap.mjs +0 -21
- package/dist/.external/esm/lodash@4.17.23/lodash/_baseUniq.mjs +0 -59
- package/dist/.external/esm/lodash@4.17.23/lodash/_createSet.mjs +0 -19
- package/dist/.external/esm/lodash@4.17.23/lodash/map.mjs +0 -20
- package/dist/.external/esm/lodash@4.17.23/lodash/union.mjs +0 -19
- package/dist/constants/cjs/_virtual/index.cjs +0 -27
- package/dist/constants/cjs/_virtual/index2.cjs +0 -27
- package/dist/constants/cjs/_virtual/index3.cjs +0 -4
- package/dist/constants/cjs/_virtual/index4.cjs +0 -4
- package/dist/constants/esm/_virtual/index.mjs +0 -27
- package/dist/constants/esm/_virtual/index2.mjs +0 -27
- package/dist/constants/esm/_virtual/index3.mjs +0 -4
- package/dist/constants/esm/_virtual/index4.mjs +0 -4
- package/dist/core/cjs/_virtual/_nodeUtil.cjs +0 -4
- package/dist/core/cjs/_virtual/isEqual.cjs +0 -6
- package/dist/core/cjs/_virtual/lodash.cjs +0 -5
- package/dist/core/cjs/_virtual/lodash2.cjs +0 -4
- package/dist/core/esm/_virtual/_nodeUtil.mjs +0 -4
- package/dist/core/esm/_virtual/isBuffer.mjs +0 -4
- package/dist/core/esm/_virtual/isEqual.mjs +0 -7
- package/dist/core/esm/_virtual/lodash.mjs +0 -5
- package/dist/core/esm/_virtual/lodash2.mjs +0 -4
- package/dist/jsonforms/cjs/_virtual/_cloneBuffer.cjs +0 -4
- package/dist/jsonforms/cjs/_virtual/_nodeUtil.cjs +0 -4
- package/dist/jsonforms/cjs/_virtual/isBuffer.cjs +0 -4
- package/dist/jsonforms/cjs/_virtual/isEmpty.cjs +0 -6
- package/dist/jsonforms/cjs/_virtual/lodash.cjs +0 -5
- package/dist/jsonforms/cjs/_virtual/lodash2.cjs +0 -4
- package/dist/jsonforms/cjs/_virtual/map.cjs +0 -6
- package/dist/jsonforms/cjs/_virtual/merge.cjs +0 -6
- package/dist/jsonforms/cjs/_virtual/range.cjs +0 -6
- package/dist/jsonforms/cjs/_virtual/startCase.cjs +0 -6
- package/dist/jsonforms/cjs/_virtual/union.cjs +0 -6
- package/dist/jsonforms/esm/_virtual/_cloneBuffer.mjs +0 -4
- package/dist/jsonforms/esm/_virtual/_commonjsHelpers.mjs +0 -8
- package/dist/jsonforms/esm/_virtual/_nodeUtil.mjs +0 -4
- package/dist/jsonforms/esm/_virtual/isBuffer.mjs +0 -4
- package/dist/jsonforms/esm/_virtual/isEmpty.mjs +0 -7
- package/dist/jsonforms/esm/_virtual/lodash.mjs +0 -5
- package/dist/jsonforms/esm/_virtual/lodash2.mjs +0 -4
- package/dist/jsonforms/esm/_virtual/map.mjs +0 -7
- package/dist/jsonforms/esm/_virtual/merge.mjs +0 -7
- package/dist/jsonforms/esm/_virtual/range.mjs +0 -7
- package/dist/jsonforms/esm/_virtual/startCase.mjs +0 -7
- package/dist/jsonforms/esm/_virtual/union.mjs +0 -7
package/dist/core/cjs/index.cjs
CHANGED
|
@@ -30,14 +30,13 @@ const ApiProvider = require("./Wrappers/ApiProvider/ApiProvider.cjs");
|
|
|
30
30
|
const InfiniteScroll = require("./Wrappers/InfiniteScroll/InfiniteScroll.cjs");
|
|
31
31
|
const LazyLoadWrapper = require("./Wrappers/LazyLoadWrapper/LazyLoadWrapper.cjs");
|
|
32
32
|
const Provider = require("./Wrappers/Provider/Provider.cjs");
|
|
33
|
-
const index
|
|
33
|
+
const index = require("./adapters/web/index.cjs");
|
|
34
34
|
const _bundledJsonforms = require("fastapi-rtk/.bundled-jsonforms");
|
|
35
35
|
const apiTypes = require("fastapi-rtk/api-types");
|
|
36
36
|
const constants = require("fastapi-rtk/constants");
|
|
37
37
|
const hooks = require("fastapi-rtk/hooks");
|
|
38
38
|
const utils = require("fastapi-rtk/utils");
|
|
39
39
|
const zustand = require("fastapi-rtk/zustand");
|
|
40
|
-
const index = require("../../.external/cjs/@tanstack_react-query@5.90.20_react@19.2.3/@tanstack/react-query/build/modern/index.cjs");
|
|
41
40
|
const index_esm = require("../../.external/cjs/mantine-react-table@2.0.0-beta.9_patch_hash_b9fcaf5fc0698f1949127d6bfb1f154a5bd28d0d1fe_7b4bd73d03bc0c4b3e9706b344be0f5a/mantine-react-table/dist/index.esm.cjs");
|
|
42
41
|
exports.Actions = Actions.Actions;
|
|
43
42
|
exports.Add = Add.Add;
|
|
@@ -118,6 +117,14 @@ Object.defineProperty(exports, "postBulk", {
|
|
|
118
117
|
enumerable: true,
|
|
119
118
|
get: () => api.postBulk
|
|
120
119
|
});
|
|
120
|
+
Object.defineProperty(exports, "reactQuery", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: () => api.rq
|
|
123
|
+
});
|
|
124
|
+
Object.defineProperty(exports, "rq", {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
get: () => api.rq
|
|
127
|
+
});
|
|
121
128
|
Object.defineProperty(exports, "updateItem", {
|
|
122
129
|
enumerable: true,
|
|
123
130
|
get: () => api.updateItem
|
|
@@ -172,9 +179,7 @@ exports.ApiProvider = ApiProvider.ApiProvider;
|
|
|
172
179
|
exports.InfiniteScroll = InfiniteScroll.InfiniteScroll;
|
|
173
180
|
exports.LazyLoadWrapper = LazyLoadWrapper.LazyLoadWrapper;
|
|
174
181
|
exports.Provider = Provider.Provider;
|
|
175
|
-
exports.webAdapters = index
|
|
176
|
-
exports.reactQuery = index;
|
|
177
|
-
exports.rq = index;
|
|
182
|
+
exports.webAdapters = index.webAdapters;
|
|
178
183
|
exports.mantineReactTable = index_esm;
|
|
179
184
|
exports.mrt = index_esm;
|
|
180
185
|
Object.keys(_bundledJsonforms).forEach((k) => {
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { JsonFormsWithCustomizer } from "fastapi-rtk/.bundled-jsonforms";
|
|
3
3
|
import { DEBOUNCE_LOADING_DELAY, initialState, VIEW_MODE } from "fastapi-rtk/constants";
|
|
4
|
-
import { deepMerge, getItemId } from "fastapi-rtk/utils";
|
|
4
|
+
import { deepMerge, ld, getItemId } from "fastapi-rtk/utils";
|
|
5
5
|
import { useProps, Stack } from "@mantine/core";
|
|
6
6
|
import { useForm } from "@mantine/form";
|
|
7
7
|
import { useDebouncedState } from "@mantine/hooks";
|
|
8
|
-
import { l as lodashExports } from "../_virtual/lodash.mjs";
|
|
9
8
|
import { yupResolver } from "../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@9.1.0_react@19.2.3__yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.mjs";
|
|
10
9
|
import { useMemo, useRef, useEffect, useCallback } from "react";
|
|
11
10
|
import { convertToFormInputs as convertToFormInputs$1 } from "../ActionIcons/utils/convertToFormInputs.mjs";
|
|
@@ -70,7 +69,7 @@ function EditDialog(props) {
|
|
|
70
69
|
resetError();
|
|
71
70
|
const new_data = Object.entries(getState().data).reduce(
|
|
72
71
|
(acc, [key, value]) => {
|
|
73
|
-
if (
|
|
72
|
+
if (ld.isEqual(value, initialStateRef.current.data[key])) {
|
|
74
73
|
return acc;
|
|
75
74
|
}
|
|
76
75
|
acc[key] = value;
|
package/dist/core/esm/Tables/NextGenDataGrid/components/OptimizedMRT_RowSelectColumn/zustand.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const selectionStoreFactory = () => create((set, get) => ({
|
|
1
|
+
import { zs } from "fastapi-rtk/zustand";
|
|
2
|
+
const selectionStoreFactory = () => zs.create((set, get) => ({
|
|
3
3
|
rowSelection: {},
|
|
4
4
|
refs: /* @__PURE__ */ new Set(),
|
|
5
5
|
getSelectedRows: () => Object.keys(get().rowSelection),
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { useWatchRef, FastAPIRTKLogger } from "fastapi-rtk/utils";
|
|
2
|
-
import isEqual from "../../../_virtual/isEqual.mjs";
|
|
1
|
+
import { useWatchRef, FastAPIRTKLogger, ld } from "fastapi-rtk/utils";
|
|
3
2
|
import { useMemo, useEffect } from "react";
|
|
4
3
|
import { getOptimizedMRT_RowSelectColumnDef } from "../components/OptimizedMRT_RowSelectColumn/getOptimizedMRT_RowSelectColumnDef.mjs";
|
|
5
4
|
import { useSelectionStore } from "../components/OptimizedMRT_RowSelectColumn/zustand.mjs";
|
|
@@ -26,7 +25,7 @@ const useTableOptimizations = (table, onSelectCheckbox, bulkActions, optimizatio
|
|
|
26
25
|
`internalValue:`,
|
|
27
26
|
internalValue
|
|
28
27
|
);
|
|
29
|
-
if (isEqual(internalValue, value)) {
|
|
28
|
+
if (ld.isEqual(internalValue, value)) {
|
|
30
29
|
FastAPIRTKLogger.debug("[useTableOptimizations] No change in selection, skipping update.");
|
|
31
30
|
return;
|
|
32
31
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
2
1
|
function getDefaultExportFromCjs(x) {
|
|
3
2
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
4
3
|
}
|
|
5
4
|
export {
|
|
6
|
-
commonjsGlobal,
|
|
7
5
|
getDefaultExportFromCjs
|
|
8
6
|
};
|
|
@@ -1,5 +1,27 @@
|
|
|
1
|
-
import { __require as
|
|
2
|
-
|
|
1
|
+
import { __require as requireDe } from "../../../.external/esm/mantine-react-table@2.0.0-beta.9_patch_hash_b9fcaf5fc0698f1949127d6bfb1f154a5bd28d0d1fe_7b4bd73d03bc0c4b3e9706b344be0f5a/mantine-react-table/locales/de/index.mjs";
|
|
2
|
+
function _mergeNamespaces(n, m) {
|
|
3
|
+
for (var i = 0; i < m.length; i++) {
|
|
4
|
+
const e = m[i];
|
|
5
|
+
if (typeof e !== "string" && !Array.isArray(e)) {
|
|
6
|
+
for (const k in e) {
|
|
7
|
+
if (k !== "default" && !(k in n)) {
|
|
8
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
9
|
+
if (d) {
|
|
10
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: () => e[k]
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
20
|
+
}
|
|
21
|
+
var deExports = /* @__PURE__ */ requireDe();
|
|
22
|
+
const index = /* @__PURE__ */ _mergeNamespaces({
|
|
23
|
+
__proto__: null
|
|
24
|
+
}, [deExports]);
|
|
3
25
|
export {
|
|
4
|
-
|
|
26
|
+
index as i
|
|
5
27
|
};
|
|
@@ -1,5 +1,27 @@
|
|
|
1
|
-
import { __require as
|
|
2
|
-
|
|
1
|
+
import { __require as requireEn } from "../../../.external/esm/mantine-react-table@2.0.0-beta.9_patch_hash_b9fcaf5fc0698f1949127d6bfb1f154a5bd28d0d1fe_7b4bd73d03bc0c4b3e9706b344be0f5a/mantine-react-table/locales/en/index.mjs";
|
|
2
|
+
function _mergeNamespaces(n, m) {
|
|
3
|
+
for (var i = 0; i < m.length; i++) {
|
|
4
|
+
const e = m[i];
|
|
5
|
+
if (typeof e !== "string" && !Array.isArray(e)) {
|
|
6
|
+
for (const k in e) {
|
|
7
|
+
if (k !== "default" && !(k in n)) {
|
|
8
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
9
|
+
if (d) {
|
|
10
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: () => e[k]
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
20
|
+
}
|
|
21
|
+
var enExports = /* @__PURE__ */ requireEn();
|
|
22
|
+
const index = /* @__PURE__ */ _mergeNamespaces({
|
|
23
|
+
__proto__: null
|
|
24
|
+
}, [enExports]);
|
|
3
25
|
export {
|
|
4
|
-
|
|
26
|
+
index as i
|
|
5
27
|
};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { __require as requireToposort } from "../../../.external/esm/toposort@2.0.2/toposort/index.mjs";
|
|
3
|
-
var toposortExports = requireToposort();
|
|
4
|
-
const toposort = /* @__PURE__ */ getDefaultExportFromCjs(toposortExports);
|
|
1
|
+
var de = {};
|
|
5
2
|
export {
|
|
6
|
-
|
|
3
|
+
de as __exports
|
|
7
4
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { getDefaultExportFromCjs } from "./_commonjsHelpers.mjs";
|
|
2
|
+
import { __require as requireToposort } from "../../../.external/esm/toposort@2.0.2/toposort/index.mjs";
|
|
3
|
+
var toposortExports = requireToposort();
|
|
4
|
+
const toposort = /* @__PURE__ */ getDefaultExportFromCjs(toposortExports);
|
|
5
|
+
export {
|
|
6
|
+
toposort as default
|
|
7
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { cookieTransport } from "./cookieTransport.mjs";
|
|
2
2
|
import { webFileDownloadAdapter } from "./webFileDownloadAdapter.mjs";
|
|
3
3
|
import { webFormDataAdapter } from "./webFormDataAdapter.mjs";
|
|
4
|
+
import { webLocalizationAdapter } from "./webLocalizationAdapter.mjs";
|
|
4
5
|
import { webNetworkAdapter } from "./webNetworkAdapter.mjs";
|
|
5
6
|
import { webOAuthOpener } from "./webOAuthOpener.mjs";
|
|
6
7
|
import { webStorageAdapter } from "./webStorageAdapter.mjs";
|
|
@@ -10,13 +11,15 @@ const webAdapters = {
|
|
|
10
11
|
authTransport: cookieTransport,
|
|
11
12
|
fileDownload: webFileDownloadAdapter,
|
|
12
13
|
oauthOpener: webOAuthOpener,
|
|
13
|
-
formData: webFormDataAdapter
|
|
14
|
+
formData: webFormDataAdapter,
|
|
15
|
+
localization: webLocalizationAdapter
|
|
14
16
|
};
|
|
15
17
|
export {
|
|
16
18
|
cookieTransport,
|
|
17
19
|
webAdapters,
|
|
18
20
|
webFileDownloadAdapter,
|
|
19
21
|
webFormDataAdapter,
|
|
22
|
+
webLocalizationAdapter,
|
|
20
23
|
webNetworkAdapter,
|
|
21
24
|
webOAuthOpener,
|
|
22
25
|
webStorageAdapter
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const webLocalizationAdapter = {
|
|
2
|
+
loaders: {
|
|
3
|
+
de: () => import("../../_virtual/index.mjs").then((n) => n.i).then(
|
|
4
|
+
(mod) => mod.MRT_Localization_DE
|
|
5
|
+
),
|
|
6
|
+
en: () => import("../../_virtual/index2.mjs").then((n) => n.i).then(
|
|
7
|
+
(mod) => mod.MRT_Localization_EN
|
|
8
|
+
)
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
webLocalizationAdapter
|
|
13
|
+
};
|
package/dist/core/esm/index.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import { TabsDisplay, ViewDialog } from "./Dialogs/ViewDialog.mjs";
|
|
|
13
13
|
import { useApi, useLang, useTranslation } from "fastapi-rtk/contexts";
|
|
14
14
|
import { useBulkActions } from "./hooks/api/useBulkActions.mjs";
|
|
15
15
|
import { useForms } from "./hooks/api/useForms.mjs";
|
|
16
|
-
import { buildRequest, convertToFormData, createFetchParams, createItem, deleteItem, downloadItems, formCreateItem, formUpdateItem, getInfo, getItem, getItems, parseResponse, postBulk, updateItem, uploadItems, useAdapters, useAuth, useInfo, withApiProvider, withProvider } from "fastapi-rtk/api";
|
|
16
|
+
import { buildRequest, convertToFormData, createFetchParams, createItem, deleteItem, downloadItems, formCreateItem, formUpdateItem, getInfo, getItem, getItems, parseResponse, postBulk, rq, rq as rq2, updateItem, uploadItems, useAdapters, useAuth, useInfo, withApiProvider, withProvider } from "fastapi-rtk/api";
|
|
17
17
|
import { DateTimePicker, TimePicker } from "fastapi-rtk/components";
|
|
18
18
|
import { UserMenu } from "./Menu/UserMenu/UserMenu.mjs";
|
|
19
19
|
import { Filter } from "./Tables/DataGrid/Toolbar/Filter/Filter.mjs";
|
|
@@ -35,7 +35,6 @@ export * from "fastapi-rtk/constants";
|
|
|
35
35
|
export * from "fastapi-rtk/hooks";
|
|
36
36
|
export * from "fastapi-rtk/utils";
|
|
37
37
|
export * from "fastapi-rtk/zustand";
|
|
38
|
-
import * as index from "../../.external/esm/@tanstack_react-query@5.90.20_react@19.2.3/@tanstack/react-query/build/modern/index.mjs";
|
|
39
38
|
import * as index_esm from "../../.external/esm/mantine-react-table@2.0.0-beta.9_patch_hash_b9fcaf5fc0698f1949127d6bfb1f154a5bd28d0d1fe_7b4bd73d03bc0c4b3e9706b344be0f5a/mantine-react-table/dist/index.esm.mjs";
|
|
40
39
|
export {
|
|
41
40
|
Actions,
|
|
@@ -85,8 +84,8 @@ export {
|
|
|
85
84
|
overlayProps,
|
|
86
85
|
parseResponse,
|
|
87
86
|
postBulk,
|
|
88
|
-
|
|
89
|
-
|
|
87
|
+
rq as reactQuery,
|
|
88
|
+
rq2 as rq,
|
|
90
89
|
updateItem,
|
|
91
90
|
uploadItems,
|
|
92
91
|
useAdapters,
|
package/dist/core/lib/Tables/NextGenDataGrid/components/OptimizedMRT_RowSelectColumn/zustand.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { zs } from 'fastapi-rtk/zustand';
|
|
2
2
|
import { SelectionStore } from './types';
|
|
3
|
-
export declare const selectionStoreFactory: () => UseBoundStore<StoreApi<SelectionStore>>;
|
|
4
|
-
export declare const useSelectionStore: <Selected>(store: UseBoundStore<StoreApi<SelectionStore>>, selector: (state: SelectionStore) => Selected) => Selected;
|
|
3
|
+
export declare const selectionStoreFactory: () => zs.UseBoundStore<zs.StoreApi<SelectionStore>>;
|
|
4
|
+
export declare const useSelectionStore: <Selected>(store: zs.UseBoundStore<zs.StoreApi<SelectionStore>>, selector: (state: SelectionStore) => Selected) => Selected;
|
|
@@ -2,7 +2,7 @@ import { ApiContextValue } from 'fastapi-rtk/contexts';
|
|
|
2
2
|
import { ActionIconProps, BoxProps, FlexProps, GroupProps, HighlightProps, StackProps, TooltipProps } from '@mantine/core';
|
|
3
3
|
import { MRT_Cell, MRT_Column, MRT_ColumnDef, MRT_DefinedTableOptions, MRT_Row, MRT_RowData, MRT_TableInstance, MRT_TableOptions } from '../../../../.external/lib/mantine-react-table';
|
|
4
4
|
import { ReactNode, RefObject } from 'react';
|
|
5
|
-
import {
|
|
5
|
+
import { zs } from 'fastapi-rtk/zustand';
|
|
6
6
|
import { DeleteProps } from '../../ActionIcons/Delete/types';
|
|
7
7
|
import { EditProps } from '../../ActionIcons/Edit/types';
|
|
8
8
|
import { ViewProps } from '../../ActionIcons/View/types';
|
|
@@ -14,7 +14,7 @@ import { SelectionStore } from './components/OptimizedMRT_RowSelectColumn/types'
|
|
|
14
14
|
import { OnClickEntry, Optimizations } from './hooks/types';
|
|
15
15
|
export interface NextGenTableRefs {
|
|
16
16
|
/** Zustand store backing the optimized row selection column. */
|
|
17
|
-
selectionStoreRef: RefObject<UseBoundStore<StoreApi<SelectionStore>>>;
|
|
17
|
+
selectionStoreRef: RefObject<zs.UseBoundStore<zs.StoreApi<SelectionStore>>>;
|
|
18
18
|
/** The defined table options, kept current for the optimized selection column. */
|
|
19
19
|
optionsRef: RefObject<MRT_DefinedTableOptions<MRT_RowData>>;
|
|
20
20
|
/** The active optimization flags for the grid. */
|
|
@@ -2,8 +2,9 @@ import { Adapters } from 'fastapi-rtk/api';
|
|
|
2
2
|
import { cookieTransport } from './cookieTransport';
|
|
3
3
|
import { webFileDownloadAdapter } from './webFileDownloadAdapter';
|
|
4
4
|
import { webFormDataAdapter } from './webFormDataAdapter';
|
|
5
|
+
import { webLocalizationAdapter } from './webLocalizationAdapter';
|
|
5
6
|
import { webNetworkAdapter } from './webNetworkAdapter';
|
|
6
7
|
import { webOAuthOpener } from './webOAuthOpener';
|
|
7
8
|
import { webStorageAdapter } from './webStorageAdapter';
|
|
8
9
|
export declare const webAdapters: Adapters;
|
|
9
|
-
export { cookieTransport, webFileDownloadAdapter, webFormDataAdapter, webNetworkAdapter, webOAuthOpener, webStorageAdapter, };
|
|
10
|
+
export { cookieTransport, webFileDownloadAdapter, webFormDataAdapter, webLocalizationAdapter, webNetworkAdapter, webOAuthOpener, webStorageAdapter, };
|
package/dist/core/lib/index.d.ts
CHANGED
|
@@ -27,8 +27,8 @@ export { Provider, withProvider } from './Wrappers/Provider/Provider';
|
|
|
27
27
|
export { createFetchParams, parseResponse, convertToFormData, getItems, getItem, createItem, updateItem, deleteItem, getInfo, formCreateItem, formUpdateItem, uploadItems, downloadItems, postBulk, buildRequest, useAdapters, } from 'fastapi-rtk/api';
|
|
28
28
|
export { webAdapters } from './adapters/web';
|
|
29
29
|
export * from './sub-packages-exporter';
|
|
30
|
-
export
|
|
30
|
+
export { rq } from 'fastapi-rtk/api';
|
|
31
31
|
export * as mrt from '../../.external/lib/mantine-react-table';
|
|
32
|
-
export
|
|
32
|
+
export { rq as reactQuery } from 'fastapi-rtk/api';
|
|
33
33
|
export * as mantineReactTable from '../../.external/lib/mantine-react-table';
|
|
34
34
|
export { useTranslation } from './hooks/lang/useLang';
|
|
@@ -4,7 +4,7 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const core = require("@jsonforms/core");
|
|
5
5
|
const react = require("@jsonforms/react");
|
|
6
6
|
const core$1 = require("@mantine/core");
|
|
7
|
-
const
|
|
7
|
+
const utils = require("fastapi-rtk/utils");
|
|
8
8
|
const React = require("react");
|
|
9
9
|
const useContextProps = require("../hooks/useContextProps.cjs");
|
|
10
10
|
function MantineObjectInput(props) {
|
|
@@ -16,7 +16,7 @@ function MantineObjectInput(props) {
|
|
|
16
16
|
schema,
|
|
17
17
|
uischema.scope,
|
|
18
18
|
path,
|
|
19
|
-
() =>
|
|
19
|
+
() => utils.ld.isEmpty(path) ? core.Generate.uiSchema(schema, "VerticalLayout", void 0, rootSchema) : {
|
|
20
20
|
...core.Generate.uiSchema(schema, "Group", void 0, rootSchema),
|
|
21
21
|
label
|
|
22
22
|
},
|
|
@@ -5,11 +5,6 @@ const utils = require("fastapi-rtk/utils");
|
|
|
5
5
|
const core$1 = require("@jsonforms/core");
|
|
6
6
|
const react = require("@jsonforms/react");
|
|
7
7
|
const core = require("@mantine/core");
|
|
8
|
-
const isEmpty = require("../../_virtual/isEmpty.cjs");
|
|
9
|
-
const merge = require("../../_virtual/merge.cjs");
|
|
10
|
-
const range = require("../../_virtual/range.cjs");
|
|
11
|
-
const startCase = require("../../_virtual/startCase.cjs");
|
|
12
|
-
const union = require("../../_virtual/union.cjs");
|
|
13
8
|
const React = require("react");
|
|
14
9
|
const useArrayHeaderErrors = require("../../hooks/useArrayHeaderErrors.cjs");
|
|
15
10
|
const useContextProps = require("../../hooks/useContextProps.cjs");
|
|
@@ -42,7 +37,7 @@ const generateCells = (Cell, schema, rowPath, enabled, cells) => {
|
|
|
42
37
|
const props = {
|
|
43
38
|
propName: prop,
|
|
44
39
|
schema,
|
|
45
|
-
title: ((_b = (_a = schema.properties) == null ? void 0 : _a[prop]) == null ? void 0 : _b.title) ?? startCase(prop),
|
|
40
|
+
title: ((_b = (_a = schema.properties) == null ? void 0 : _a[prop]) == null ? void 0 : _b.title) ?? utils.ld.startCase(prop),
|
|
46
41
|
rowPath,
|
|
47
42
|
cellPath,
|
|
48
43
|
enabled,
|
|
@@ -99,7 +94,7 @@ const ctxToNonEmptyCellProps = (ctx, ownProps) => {
|
|
|
99
94
|
var _a;
|
|
100
95
|
const path = ownProps.rowPath + (isValidObjectSchema(ownProps.schema) ? "." + ownProps.propName : "");
|
|
101
96
|
const errors = core$1.formatErrorMessage(
|
|
102
|
-
union(
|
|
97
|
+
utils.ld.union(
|
|
103
98
|
core$1.errorsAt(
|
|
104
99
|
path,
|
|
105
100
|
ownProps.schema,
|
|
@@ -207,7 +202,7 @@ const NonEmptyCellComponent = React.memo(function NonEmptyCellComponent2(props)
|
|
|
207
202
|
const NonEmptyCell = (ownProps) => {
|
|
208
203
|
const ctx = react.useJsonForms();
|
|
209
204
|
const emptyCellProps = ctxToNonEmptyCellProps(ctx, ownProps);
|
|
210
|
-
const isValid = isEmpty(emptyCellProps.errors);
|
|
205
|
+
const isValid = utils.ld.isEmpty(emptyCellProps.errors);
|
|
211
206
|
return /* @__PURE__ */ jsxRuntime.jsx(NonEmptyCellComponent, { ...emptyCellProps, isValid });
|
|
212
207
|
};
|
|
213
208
|
const NonEmptyRowComponent = (props) => {
|
|
@@ -260,8 +255,8 @@ const TableRows = (props) => {
|
|
|
260
255
|
if (isEmptyTable) {
|
|
261
256
|
return /* @__PURE__ */ jsxRuntime.jsx(EmptyTable, { numColumns: getValidColumnProps(schema).length + 1, translations, path });
|
|
262
257
|
}
|
|
263
|
-
const appliedUiSchemaOptions = merge({}, config, uischema.options);
|
|
264
|
-
return range(data).map((index) => {
|
|
258
|
+
const appliedUiSchemaOptions = utils.ld.merge({}, config, uischema.options);
|
|
259
|
+
return utils.ld.range(data).map((index) => {
|
|
265
260
|
const childPath = core$1.Paths.compose(path, `${index}`);
|
|
266
261
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
267
262
|
NonEmptyRow,
|
|
@@ -302,7 +297,7 @@ const MantineTableControl = React.memo(function MantineTableControl2(props) {
|
|
|
302
297
|
config,
|
|
303
298
|
addItem
|
|
304
299
|
} = props;
|
|
305
|
-
const appliedUiSchemaOptions = merge({}, config, uischema.options);
|
|
300
|
+
const appliedUiSchemaOptions = utils.ld.merge({}, config, uischema.options);
|
|
306
301
|
const doDisableAdd = disableAdd || appliedUiSchemaOptions.disableAdd;
|
|
307
302
|
const doDisableRemove = disableRemove || appliedUiSchemaOptions.disableRemove;
|
|
308
303
|
const isObjectSchema = isValidObjectSchema(schema);
|
|
@@ -4,7 +4,7 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const core = require("@jsonforms/core");
|
|
5
5
|
const react = require("@jsonforms/react");
|
|
6
6
|
const core$1 = require("@mantine/core");
|
|
7
|
-
const
|
|
7
|
+
const utils = require("fastapi-rtk/utils");
|
|
8
8
|
const React = require("react");
|
|
9
9
|
const useContextProps = require("../../hooks/useContextProps.cjs");
|
|
10
10
|
const useNavigationComponent = require("../../hooks/useNavigationComponent.cjs");
|
|
@@ -37,7 +37,7 @@ const Component = (props) => {
|
|
|
37
37
|
() => core.findUISchema(uischemas ?? [], schema, uischema.scope, path, void 0, controlElement, rootSchema),
|
|
38
38
|
[uischemas, schema, path, uischema, rootSchema, controlElement]
|
|
39
39
|
);
|
|
40
|
-
const appliedUiSchemaOptions = merge({}, config, uischema.options);
|
|
40
|
+
const appliedUiSchemaOptions = utils.ld.merge({}, config, uischema.options);
|
|
41
41
|
const showSortButtons = appliedUiSchemaOptions.showSortButtons || appliedUiSchemaOptions.showArrayLayoutSortButtons;
|
|
42
42
|
const NavigationComponent = useNavigationComponent.useNavigationComponent({
|
|
43
43
|
componentName: "Array",
|
|
@@ -5,9 +5,7 @@ const useArrayHeaderErrors = require("../../hooks/useArrayHeaderErrors.cjs");
|
|
|
5
5
|
const useContextProps = require("../../hooks/useContextProps.cjs");
|
|
6
6
|
const core = require("@jsonforms/core");
|
|
7
7
|
const core$1 = require("@mantine/core");
|
|
8
|
-
const
|
|
9
|
-
const merge = require("../../_virtual/merge.cjs");
|
|
10
|
-
const range = require("../../_virtual/range.cjs");
|
|
8
|
+
const utils = require("fastapi-rtk/utils");
|
|
11
9
|
const React = require("react");
|
|
12
10
|
const ArrayToolbar = require("./ArrayToolbar.cjs");
|
|
13
11
|
const ExpandPanelRenderer = require("./ExpandPanelRenderer.cjs");
|
|
@@ -31,7 +29,7 @@ const Component = (props) => {
|
|
|
31
29
|
disableRemove,
|
|
32
30
|
translations
|
|
33
31
|
} = props;
|
|
34
|
-
const appliedUiSchemaOptions = merge({}, config, props.uischema.options);
|
|
32
|
+
const appliedUiSchemaOptions = utils.ld.merge({}, config, props.uischema.options);
|
|
35
33
|
const doDisableAdd = disableAdd || appliedUiSchemaOptions.disableAdd;
|
|
36
34
|
const doDisableRemove = disableRemove || appliedUiSchemaOptions.disableRemove;
|
|
37
35
|
const innerCreateDefaultValue = React.useCallback(() => core.createDefaultValue(props.schema, props.rootSchema), [props.schema]);
|
|
@@ -41,7 +39,7 @@ const Component = (props) => {
|
|
|
41
39
|
`${path}.Accordion`,
|
|
42
40
|
{
|
|
43
41
|
variant: "separated",
|
|
44
|
-
children: map(range(data), (index) => {
|
|
42
|
+
children: utils.ld.map(utils.ld.range(data), (index) => {
|
|
45
43
|
const childPath = core.Paths.compose(path, `${index}`);
|
|
46
44
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
47
45
|
ExpandPanelRenderer.ExpandPanelRenderer,
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const react = require("@jsonforms/react");
|
|
5
5
|
const core = require("@mantine/core");
|
|
6
|
-
const
|
|
6
|
+
const utils = require("fastapi-rtk/utils");
|
|
7
7
|
const React = require("react");
|
|
8
8
|
const renderLayoutElements = (elements, schema, path, enabled, direction, renderers, cells) => {
|
|
9
9
|
return elements.map((child, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -21,7 +21,7 @@ const renderLayoutElements = (elements, schema, path, enabled, direction, render
|
|
|
21
21
|
};
|
|
22
22
|
const MantineLayoutRendererComponent = (props) => {
|
|
23
23
|
const { visible, elements, schema, path, enabled, direction, renderers, cells, ...rest } = props;
|
|
24
|
-
if (isEmpty(elements) || !visible) {
|
|
24
|
+
if (utils.ld.isEmpty(elements) || !visible) {
|
|
25
25
|
return null;
|
|
26
26
|
} else {
|
|
27
27
|
const Wrapper = direction === "row" ? core.Group : core.Stack;
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { findUISchema, Generate } from "@jsonforms/core";
|
|
3
3
|
import { JsonFormsDispatch } from "@jsonforms/react";
|
|
4
4
|
import { Box } from "@mantine/core";
|
|
5
|
-
import {
|
|
5
|
+
import { ld } from "fastapi-rtk/utils";
|
|
6
6
|
import { useMemo } from "react";
|
|
7
7
|
import { useContextProps } from "../hooks/useContextProps.mjs";
|
|
8
8
|
function MantineObjectInput(props) {
|
|
@@ -14,7 +14,7 @@ function MantineObjectInput(props) {
|
|
|
14
14
|
schema,
|
|
15
15
|
uischema.scope,
|
|
16
16
|
path,
|
|
17
|
-
() =>
|
|
17
|
+
() => ld.isEmpty(path) ? Generate.uiSchema(schema, "VerticalLayout", void 0, rootSchema) : {
|
|
18
18
|
...Generate.uiSchema(schema, "Group", void 0, rootSchema),
|
|
19
19
|
label
|
|
20
20
|
},
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { deepMerge } from "fastapi-rtk/utils";
|
|
2
|
+
import { deepMerge, ld } from "fastapi-rtk/utils";
|
|
3
3
|
import { encode, Resolve, Paths, formatErrorMessage, errorsAt } from "@jsonforms/core";
|
|
4
4
|
import { DispatchCell, useJsonForms } from "@jsonforms/react";
|
|
5
5
|
import { Table, useProps, MantineThemeProvider, Text } from "@mantine/core";
|
|
6
|
-
import isEmpty from "../../_virtual/isEmpty.mjs";
|
|
7
|
-
import merge from "../../_virtual/merge.mjs";
|
|
8
|
-
import range from "../../_virtual/range.mjs";
|
|
9
|
-
import startCase from "../../_virtual/startCase.mjs";
|
|
10
|
-
import union from "../../_virtual/union.mjs";
|
|
11
6
|
import React, { useMemo, memo } from "react";
|
|
12
7
|
import { useArrayHeaderErrors } from "../../hooks/useArrayHeaderErrors.mjs";
|
|
13
8
|
import { useContextProps } from "../../hooks/useContextProps.mjs";
|
|
@@ -40,7 +35,7 @@ const generateCells = (Cell, schema, rowPath, enabled, cells) => {
|
|
|
40
35
|
const props = {
|
|
41
36
|
propName: prop,
|
|
42
37
|
schema,
|
|
43
|
-
title: ((_b = (_a = schema.properties) == null ? void 0 : _a[prop]) == null ? void 0 : _b.title) ?? startCase(prop),
|
|
38
|
+
title: ((_b = (_a = schema.properties) == null ? void 0 : _a[prop]) == null ? void 0 : _b.title) ?? ld.startCase(prop),
|
|
44
39
|
rowPath,
|
|
45
40
|
cellPath,
|
|
46
41
|
enabled,
|
|
@@ -97,7 +92,7 @@ const ctxToNonEmptyCellProps = (ctx, ownProps) => {
|
|
|
97
92
|
var _a;
|
|
98
93
|
const path = ownProps.rowPath + (isValidObjectSchema(ownProps.schema) ? "." + ownProps.propName : "");
|
|
99
94
|
const errors = formatErrorMessage(
|
|
100
|
-
union(
|
|
95
|
+
ld.union(
|
|
101
96
|
errorsAt(
|
|
102
97
|
path,
|
|
103
98
|
ownProps.schema,
|
|
@@ -205,7 +200,7 @@ const NonEmptyCellComponent = React.memo(function NonEmptyCellComponent2(props)
|
|
|
205
200
|
const NonEmptyCell = (ownProps) => {
|
|
206
201
|
const ctx = useJsonForms();
|
|
207
202
|
const emptyCellProps = ctxToNonEmptyCellProps(ctx, ownProps);
|
|
208
|
-
const isValid = isEmpty(emptyCellProps.errors);
|
|
203
|
+
const isValid = ld.isEmpty(emptyCellProps.errors);
|
|
209
204
|
return /* @__PURE__ */ jsx(NonEmptyCellComponent, { ...emptyCellProps, isValid });
|
|
210
205
|
};
|
|
211
206
|
const NonEmptyRowComponent = (props) => {
|
|
@@ -258,8 +253,8 @@ const TableRows = (props) => {
|
|
|
258
253
|
if (isEmptyTable) {
|
|
259
254
|
return /* @__PURE__ */ jsx(EmptyTable, { numColumns: getValidColumnProps(schema).length + 1, translations, path });
|
|
260
255
|
}
|
|
261
|
-
const appliedUiSchemaOptions = merge({}, config, uischema.options);
|
|
262
|
-
return range(data).map((index) => {
|
|
256
|
+
const appliedUiSchemaOptions = ld.merge({}, config, uischema.options);
|
|
257
|
+
return ld.range(data).map((index) => {
|
|
263
258
|
const childPath = Paths.compose(path, `${index}`);
|
|
264
259
|
return /* @__PURE__ */ jsx(
|
|
265
260
|
NonEmptyRow,
|
|
@@ -300,7 +295,7 @@ const MantineTableControl = memo(function MantineTableControl2(props) {
|
|
|
300
295
|
config,
|
|
301
296
|
addItem
|
|
302
297
|
} = props;
|
|
303
|
-
const appliedUiSchemaOptions = merge({}, config, uischema.options);
|
|
298
|
+
const appliedUiSchemaOptions = ld.merge({}, config, uischema.options);
|
|
304
299
|
const doDisableAdd = disableAdd || appliedUiSchemaOptions.disableAdd;
|
|
305
300
|
const doDisableRemove = disableRemove || appliedUiSchemaOptions.disableRemove;
|
|
306
301
|
const isObjectSchema = isValidObjectSchema(schema);
|
|
@@ -2,7 +2,7 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import { createId, removeId, findUISchema, Paths, computeChildLabel, update, moveDown, moveUp } from "@jsonforms/core";
|
|
3
3
|
import { JsonFormsDispatch, withJsonFormsContext } from "@jsonforms/react";
|
|
4
4
|
import { Avatar, Stack, Group, Accordion, Center } from "@mantine/core";
|
|
5
|
-
import
|
|
5
|
+
import { ld } from "fastapi-rtk/utils";
|
|
6
6
|
import React, { useState, useEffect, useMemo, useCallback } from "react";
|
|
7
7
|
import { useContextProps } from "../../hooks/useContextProps.mjs";
|
|
8
8
|
import { useNavigationComponent } from "../../hooks/useNavigationComponent.mjs";
|
|
@@ -35,7 +35,7 @@ const Component = (props) => {
|
|
|
35
35
|
() => findUISchema(uischemas ?? [], schema, uischema.scope, path, void 0, controlElement, rootSchema),
|
|
36
36
|
[uischemas, schema, path, uischema, rootSchema, controlElement]
|
|
37
37
|
);
|
|
38
|
-
const appliedUiSchemaOptions = merge({}, config, uischema.options);
|
|
38
|
+
const appliedUiSchemaOptions = ld.merge({}, config, uischema.options);
|
|
39
39
|
const showSortButtons = appliedUiSchemaOptions.showSortButtons || appliedUiSchemaOptions.showArrayLayoutSortButtons;
|
|
40
40
|
const NavigationComponent = useNavigationComponent({
|
|
41
41
|
componentName: "Array",
|
|
@@ -3,9 +3,7 @@ import { useArrayHeaderErrors } from "../../hooks/useArrayHeaderErrors.mjs";
|
|
|
3
3
|
import { useContextProps } from "../../hooks/useContextProps.mjs";
|
|
4
4
|
import { createDefaultValue, Paths, computeLabel } from "@jsonforms/core";
|
|
5
5
|
import { Accordion, Text, Stack } from "@mantine/core";
|
|
6
|
-
import
|
|
7
|
-
import merge from "../../_virtual/merge.mjs";
|
|
8
|
-
import range from "../../_virtual/range.mjs";
|
|
6
|
+
import { ld } from "fastapi-rtk/utils";
|
|
9
7
|
import { memo, useCallback } from "react";
|
|
10
8
|
import { ArrayLayoutToolbar } from "./ArrayToolbar.mjs";
|
|
11
9
|
import { ExpandPanelRenderer } from "./ExpandPanelRenderer.mjs";
|
|
@@ -29,7 +27,7 @@ const Component = (props) => {
|
|
|
29
27
|
disableRemove,
|
|
30
28
|
translations
|
|
31
29
|
} = props;
|
|
32
|
-
const appliedUiSchemaOptions = merge({}, config, props.uischema.options);
|
|
30
|
+
const appliedUiSchemaOptions = ld.merge({}, config, props.uischema.options);
|
|
33
31
|
const doDisableAdd = disableAdd || appliedUiSchemaOptions.disableAdd;
|
|
34
32
|
const doDisableRemove = disableRemove || appliedUiSchemaOptions.disableRemove;
|
|
35
33
|
const innerCreateDefaultValue = useCallback(() => createDefaultValue(props.schema, props.rootSchema), [props.schema]);
|
|
@@ -39,7 +37,7 @@ const Component = (props) => {
|
|
|
39
37
|
`${path}.Accordion`,
|
|
40
38
|
{
|
|
41
39
|
variant: "separated",
|
|
42
|
-
children: map(range(data), (index) => {
|
|
40
|
+
children: ld.map(ld.range(data), (index) => {
|
|
43
41
|
const childPath = Paths.compose(path, `${index}`);
|
|
44
42
|
return /* @__PURE__ */ jsx(
|
|
45
43
|
ExpandPanelRenderer,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { JsonFormsDispatch } from "@jsonforms/react";
|
|
3
3
|
import { Group, Stack } from "@mantine/core";
|
|
4
|
-
import
|
|
4
|
+
import { ld } from "fastapi-rtk/utils";
|
|
5
5
|
import React from "react";
|
|
6
6
|
const renderLayoutElements = (elements, schema, path, enabled, direction, renderers, cells) => {
|
|
7
7
|
return elements.map((child, index) => /* @__PURE__ */ jsx(
|
|
@@ -19,7 +19,7 @@ const renderLayoutElements = (elements, schema, path, enabled, direction, render
|
|
|
19
19
|
};
|
|
20
20
|
const MantineLayoutRendererComponent = (props) => {
|
|
21
21
|
const { visible, elements, schema, path, enabled, direction, renderers, cells, ...rest } = props;
|
|
22
|
-
if (isEmpty(elements) || !visible) {
|
|
22
|
+
if (ld.isEmpty(elements) || !visible) {
|
|
23
23
|
return null;
|
|
24
24
|
} else {
|
|
25
25
|
const Wrapper = direction === "row" ? Group : Stack;
|