@refinedev/core 4.47.2 → 4.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3066 -2919
- package/README.md +116 -167
- package/dist/components/authenticated/index.d.cts +75 -0
- package/dist/components/authenticated/index.d.cts.map +1 -0
- package/dist/components/authenticated/index.d.mts +75 -0
- package/dist/components/authenticated/index.d.mts.map +1 -0
- package/dist/components/authenticated/index.d.ts +3 -3
- package/dist/components/authenticated/index.d.ts.map +1 -1
- package/dist/components/autoSaveIndicator/index.d.cts +24 -0
- package/dist/components/autoSaveIndicator/index.d.cts.map +1 -0
- package/dist/components/autoSaveIndicator/index.d.mts +24 -0
- package/dist/components/autoSaveIndicator/index.d.mts.map +1 -0
- package/dist/components/autoSaveIndicator/index.d.ts +21 -1
- package/dist/components/autoSaveIndicator/index.d.ts.map +1 -1
- package/dist/components/canAccess/index.d.cts +52 -0
- package/dist/components/canAccess/index.d.cts.map +1 -0
- package/dist/components/canAccess/index.d.mts +52 -0
- package/dist/components/canAccess/index.d.mts.map +1 -0
- package/dist/components/canAccess/index.d.ts +8 -7
- package/dist/components/canAccess/index.d.ts.map +1 -1
- package/dist/components/containers/index.d.cts +2 -0
- package/dist/components/containers/index.d.cts.map +1 -0
- package/dist/components/containers/index.d.mts +2 -0
- package/dist/components/containers/index.d.mts.map +1 -0
- package/dist/components/containers/index.d.ts +1 -1
- package/dist/components/containers/index.d.ts.map +1 -1
- package/dist/components/containers/refine/index.d.cts +11 -0
- package/dist/components/containers/refine/index.d.cts.map +1 -0
- package/dist/components/containers/refine/index.d.mts +11 -0
- package/dist/components/containers/refine/index.d.mts.map +1 -0
- package/dist/components/containers/refine/index.d.ts +1 -134
- package/dist/components/containers/refine/index.d.ts.map +1 -1
- package/dist/components/gh-banner/index.d.cts +3 -0
- package/dist/components/gh-banner/index.d.cts.map +1 -0
- package/dist/components/gh-banner/index.d.mts +3 -0
- package/dist/components/gh-banner/index.d.mts.map +1 -0
- package/dist/components/gh-banner/styles.d.cts +2 -0
- package/dist/components/gh-banner/styles.d.cts.map +1 -0
- package/dist/components/gh-banner/styles.d.mts +2 -0
- package/dist/components/gh-banner/styles.d.mts.map +1 -0
- package/dist/components/index.d.cts +10 -0
- package/dist/components/index.d.cts.map +1 -0
- package/dist/components/index.d.mts +10 -0
- package/dist/components/index.d.mts.map +1 -0
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/layoutWrapper/defaultLayout/index.d.cts +4 -0
- package/dist/components/layoutWrapper/defaultLayout/index.d.cts.map +1 -0
- package/dist/components/layoutWrapper/defaultLayout/index.d.mts +4 -0
- package/dist/components/layoutWrapper/defaultLayout/index.d.mts.map +1 -0
- package/dist/components/layoutWrapper/defaultLayout/index.d.ts +1 -1
- package/dist/components/layoutWrapper/defaultLayout/index.d.ts.map +1 -1
- package/dist/components/layoutWrapper/index.d.cts +46 -0
- package/dist/components/layoutWrapper/index.d.cts.map +1 -0
- package/dist/components/layoutWrapper/index.d.mts +46 -0
- package/dist/components/layoutWrapper/index.d.mts.map +1 -0
- package/dist/components/layoutWrapper/index.d.ts +1 -1
- package/dist/components/layoutWrapper/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/forgotPassword/index.d.cts +7 -0
- package/dist/components/pages/auth/components/forgotPassword/index.d.cts.map +1 -0
- package/dist/components/pages/auth/components/forgotPassword/index.d.mts +7 -0
- package/dist/components/pages/auth/components/forgotPassword/index.d.mts.map +1 -0
- package/dist/components/pages/auth/components/forgotPassword/index.d.ts +2 -2
- package/dist/components/pages/auth/components/forgotPassword/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/index.d.cts +5 -0
- package/dist/components/pages/auth/components/index.d.cts.map +1 -0
- package/dist/components/pages/auth/components/index.d.mts +5 -0
- package/dist/components/pages/auth/components/index.d.mts.map +1 -0
- package/dist/components/pages/auth/components/login/index.d.cts +7 -0
- package/dist/components/pages/auth/components/login/index.d.cts.map +1 -0
- package/dist/components/pages/auth/components/login/index.d.mts +7 -0
- package/dist/components/pages/auth/components/login/index.d.mts.map +1 -0
- package/dist/components/pages/auth/components/login/index.d.ts +2 -2
- package/dist/components/pages/auth/components/login/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/register/index.d.cts +7 -0
- package/dist/components/pages/auth/components/register/index.d.cts.map +1 -0
- package/dist/components/pages/auth/components/register/index.d.mts +7 -0
- package/dist/components/pages/auth/components/register/index.d.mts.map +1 -0
- package/dist/components/pages/auth/components/register/index.d.ts +2 -2
- package/dist/components/pages/auth/components/register/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/updatePassword/index.d.cts +7 -0
- package/dist/components/pages/auth/components/updatePassword/index.d.cts.map +1 -0
- package/dist/components/pages/auth/components/updatePassword/index.d.mts +7 -0
- package/dist/components/pages/auth/components/updatePassword/index.d.mts.map +1 -0
- package/dist/components/pages/auth/components/updatePassword/index.d.ts +2 -2
- package/dist/components/pages/auth/components/updatePassword/index.d.ts.map +1 -1
- package/dist/components/pages/auth/index.d.cts +12 -0
- package/dist/components/pages/auth/index.d.cts.map +1 -0
- package/dist/components/pages/auth/index.d.mts +12 -0
- package/dist/components/pages/auth/index.d.mts.map +1 -0
- package/dist/components/pages/auth/index.d.ts +4 -4
- package/dist/components/pages/auth/index.d.ts.map +1 -1
- package/dist/components/pages/auth/types.d.cts +179 -0
- package/dist/components/pages/auth/types.d.cts.map +1 -0
- package/dist/components/pages/auth/types.d.mts +179 -0
- package/dist/components/pages/auth/types.d.mts.map +1 -0
- package/dist/components/pages/auth/types.d.ts +179 -0
- package/dist/components/pages/auth/types.d.ts.map +1 -0
- package/dist/components/pages/config-error/index.d.cts +3 -0
- package/dist/components/pages/config-error/index.d.cts.map +1 -0
- package/dist/components/pages/config-error/index.d.mts +3 -0
- package/dist/components/pages/config-error/index.d.mts.map +1 -0
- package/dist/components/pages/config-error/index.d.ts.map +1 -1
- package/dist/components/pages/config-success/index.d.cts +6 -0
- package/dist/components/pages/config-success/index.d.cts.map +1 -0
- package/dist/components/pages/config-success/index.d.mts +6 -0
- package/dist/components/pages/config-success/index.d.mts.map +1 -0
- package/dist/components/pages/config-success/index.d.ts.map +1 -1
- package/dist/components/pages/error/index.d.cts +9 -0
- package/dist/components/pages/error/index.d.cts.map +1 -0
- package/dist/components/pages/error/index.d.mts +9 -0
- package/dist/components/pages/error/index.d.mts.map +1 -0
- package/dist/components/pages/index.d.cts +7 -0
- package/dist/components/pages/index.d.cts.map +1 -0
- package/dist/components/pages/index.d.mts +7 -0
- package/dist/components/pages/index.d.mts.map +1 -0
- package/dist/components/pages/login/index.d.cts +13 -0
- package/dist/components/pages/login/index.d.cts.map +1 -0
- package/dist/components/pages/login/index.d.mts +13 -0
- package/dist/components/pages/login/index.d.mts.map +1 -0
- package/dist/components/pages/login/index.d.ts.map +1 -1
- package/dist/components/pages/ready/index.d.cts +8 -0
- package/dist/components/pages/ready/index.d.cts.map +1 -0
- package/dist/components/pages/ready/index.d.mts +8 -0
- package/dist/components/pages/ready/index.d.mts.map +1 -0
- package/dist/components/pages/ready/index.d.ts.map +1 -1
- package/dist/components/pages/welcome/index.d.cts +3 -0
- package/dist/components/pages/welcome/index.d.cts.map +1 -0
- package/dist/components/pages/welcome/index.d.mts +3 -0
- package/dist/components/pages/welcome/index.d.mts.map +1 -0
- package/dist/components/routeChangeHandler/index.d.cts +3 -0
- package/dist/components/routeChangeHandler/index.d.cts.map +1 -0
- package/dist/components/routeChangeHandler/index.d.mts +3 -0
- package/dist/components/routeChangeHandler/index.d.mts.map +1 -0
- package/dist/components/telemetry/index.d.cts +3 -0
- package/dist/components/telemetry/index.d.cts.map +1 -0
- package/dist/components/telemetry/index.d.mts +3 -0
- package/dist/components/telemetry/index.d.mts.map +1 -0
- package/dist/components/telemetry/types.d.cts +16 -0
- package/dist/components/telemetry/types.d.cts.map +1 -0
- package/dist/components/telemetry/types.d.mts +16 -0
- package/dist/components/telemetry/types.d.mts.map +1 -0
- package/dist/components/telemetry/types.d.ts +16 -0
- package/dist/components/telemetry/types.d.ts.map +1 -0
- package/dist/components/undoableQueue/index.d.cts +6 -0
- package/dist/components/undoableQueue/index.d.cts.map +1 -0
- package/dist/components/undoableQueue/index.d.mts +6 -0
- package/dist/components/undoableQueue/index.d.mts.map +1 -0
- package/dist/components/undoableQueue/index.d.ts +1 -1
- package/dist/components/undoableQueue/index.d.ts.map +1 -1
- package/dist/contexts/accessControl/index.d.cts +7 -0
- package/dist/contexts/accessControl/index.d.cts.map +1 -0
- package/dist/contexts/accessControl/index.d.mts +7 -0
- package/dist/contexts/accessControl/index.d.mts.map +1 -0
- package/dist/contexts/accessControl/index.d.ts +3 -6
- package/dist/contexts/accessControl/index.d.ts.map +1 -1
- package/dist/contexts/accessControl/types.d.cts +84 -0
- package/dist/contexts/accessControl/types.d.cts.map +1 -0
- package/dist/contexts/accessControl/types.d.mts +84 -0
- package/dist/contexts/accessControl/types.d.mts.map +1 -0
- package/dist/contexts/accessControl/types.d.ts +84 -0
- package/dist/contexts/accessControl/types.d.ts.map +1 -0
- package/dist/contexts/auditLog/index.d.cts +5 -0
- package/dist/contexts/auditLog/index.d.cts.map +1 -0
- package/dist/contexts/auditLog/index.d.mts +5 -0
- package/dist/contexts/auditLog/index.d.mts.map +1 -0
- package/dist/contexts/auditLog/index.d.ts +3 -5
- package/dist/contexts/auditLog/index.d.ts.map +1 -1
- package/dist/contexts/auditLog/types.d.cts +41 -0
- package/dist/contexts/auditLog/types.d.cts.map +1 -0
- package/dist/contexts/auditLog/types.d.mts +41 -0
- package/dist/contexts/auditLog/types.d.mts.map +1 -0
- package/dist/contexts/auditLog/types.d.ts +41 -0
- package/dist/contexts/auditLog/types.d.ts.map +1 -0
- package/dist/contexts/auth/index.d.cts +18 -0
- package/dist/contexts/auth/index.d.cts.map +1 -0
- package/dist/contexts/auth/index.d.mts +18 -0
- package/dist/contexts/auth/index.d.mts.map +1 -0
- package/dist/contexts/auth/index.d.ts +5 -7
- package/dist/contexts/auth/index.d.ts.map +1 -1
- package/dist/contexts/auth/types.d.cts +101 -0
- package/dist/contexts/auth/types.d.cts.map +1 -0
- package/dist/contexts/auth/types.d.mts +101 -0
- package/dist/contexts/auth/types.d.mts.map +1 -0
- package/dist/contexts/auth/types.d.ts +101 -0
- package/dist/contexts/auth/types.d.ts.map +1 -0
- package/dist/contexts/data/index.d.cts +10 -0
- package/dist/contexts/data/index.d.cts.map +1 -0
- package/dist/contexts/data/index.d.mts +10 -0
- package/dist/contexts/data/index.d.mts.map +1 -0
- package/dist/contexts/data/index.d.ts +7 -5
- package/dist/contexts/data/index.d.ts.map +1 -1
- package/dist/contexts/data/types.d.cts +347 -0
- package/dist/contexts/data/types.d.cts.map +1 -0
- package/dist/contexts/data/types.d.mts +347 -0
- package/dist/contexts/data/types.d.mts.map +1 -0
- package/dist/contexts/data/types.d.ts +347 -0
- package/dist/contexts/data/types.d.ts.map +1 -0
- package/dist/contexts/i18n/index.d.cts +7 -0
- package/dist/contexts/i18n/index.d.cts.map +1 -0
- package/dist/contexts/i18n/index.d.mts +7 -0
- package/dist/contexts/i18n/index.d.mts.map +1 -0
- package/dist/contexts/i18n/index.d.ts +7 -0
- package/dist/contexts/i18n/index.d.ts.map +1 -0
- package/dist/contexts/i18n/types.d.cts +13 -0
- package/dist/contexts/i18n/types.d.cts.map +1 -0
- package/dist/contexts/i18n/types.d.mts +13 -0
- package/dist/contexts/i18n/types.d.mts.map +1 -0
- package/dist/contexts/i18n/types.d.ts +13 -0
- package/dist/contexts/i18n/types.d.ts.map +1 -0
- package/dist/contexts/live/index.d.cts +5 -0
- package/dist/contexts/live/index.d.cts.map +1 -0
- package/dist/contexts/live/index.d.mts +5 -0
- package/dist/contexts/live/index.d.mts.map +1 -0
- package/dist/contexts/live/index.d.ts +3 -3
- package/dist/contexts/live/index.d.ts.map +1 -1
- package/dist/contexts/live/types.d.cts +96 -0
- package/dist/contexts/live/types.d.cts.map +1 -0
- package/dist/contexts/live/types.d.mts +96 -0
- package/dist/contexts/live/types.d.mts.map +1 -0
- package/dist/contexts/live/types.d.ts +96 -0
- package/dist/contexts/live/types.d.ts.map +1 -0
- package/dist/contexts/notification/index.d.cts +7 -0
- package/dist/contexts/notification/index.d.cts.map +1 -0
- package/dist/contexts/notification/index.d.mts +7 -0
- package/dist/contexts/notification/index.d.mts.map +1 -0
- package/dist/contexts/notification/index.d.ts +3 -5
- package/dist/contexts/notification/index.d.ts.map +1 -1
- package/dist/contexts/notification/types.d.cts +27 -0
- package/dist/contexts/notification/types.d.cts.map +1 -0
- package/dist/contexts/notification/types.d.mts +27 -0
- package/dist/contexts/notification/types.d.mts.map +1 -0
- package/dist/contexts/notification/types.d.ts +27 -0
- package/dist/contexts/notification/types.d.ts.map +1 -0
- package/dist/contexts/refine/index.d.cts +6 -0
- package/dist/contexts/refine/index.d.cts.map +1 -0
- package/dist/contexts/refine/index.d.mts +6 -0
- package/dist/contexts/refine/index.d.mts.map +1 -0
- package/dist/contexts/refine/index.d.ts +1 -1
- package/dist/contexts/refine/index.d.ts.map +1 -1
- package/dist/contexts/refine/types.d.cts +313 -0
- package/dist/contexts/refine/types.d.cts.map +1 -0
- package/dist/contexts/refine/types.d.mts +313 -0
- package/dist/contexts/refine/types.d.mts.map +1 -0
- package/dist/contexts/refine/types.d.ts +313 -0
- package/dist/contexts/refine/types.d.ts.map +1 -0
- package/dist/contexts/resource/index.d.cts +7 -0
- package/dist/contexts/resource/index.d.cts.map +1 -0
- package/dist/contexts/resource/index.d.mts +7 -0
- package/dist/contexts/resource/index.d.mts.map +1 -0
- package/dist/contexts/resource/index.d.ts +1 -3
- package/dist/contexts/resource/index.d.ts.map +1 -1
- package/dist/contexts/resource/types.d.cts +168 -0
- package/dist/contexts/resource/types.d.cts.map +1 -0
- package/dist/contexts/resource/types.d.mts +168 -0
- package/dist/contexts/resource/types.d.mts.map +1 -0
- package/dist/contexts/resource/types.d.ts +168 -0
- package/dist/contexts/resource/types.d.ts.map +1 -0
- package/dist/contexts/router/index.d.cts +7 -0
- package/dist/contexts/router/index.d.cts.map +1 -0
- package/dist/contexts/router/index.d.mts +7 -0
- package/dist/contexts/router/index.d.mts.map +1 -0
- package/dist/contexts/router/index.d.ts +4 -4
- package/dist/contexts/router/index.d.ts.map +1 -1
- package/dist/contexts/router/legacy/index.d.cts +6 -0
- package/dist/contexts/router/legacy/index.d.cts.map +1 -0
- package/dist/contexts/router/legacy/index.d.mts +6 -0
- package/dist/contexts/router/legacy/index.d.mts.map +1 -0
- package/dist/contexts/router/legacy/index.d.ts +6 -0
- package/dist/contexts/router/legacy/index.d.ts.map +1 -0
- package/dist/contexts/router/legacy/types.d.cts +47 -0
- package/dist/contexts/router/legacy/types.d.cts.map +1 -0
- package/dist/contexts/router/legacy/types.d.mts +47 -0
- package/dist/contexts/router/legacy/types.d.mts.map +1 -0
- package/dist/contexts/router/legacy/types.d.ts +47 -0
- package/dist/contexts/router/legacy/types.d.ts.map +1 -0
- package/dist/contexts/router/picker/index.d.cts.map +1 -0
- package/dist/contexts/router/picker/index.d.mts +15 -0
- package/dist/contexts/router/picker/index.d.mts.map +1 -0
- package/dist/contexts/router/picker/index.d.ts +15 -0
- package/dist/contexts/router/picker/index.d.ts.map +1 -0
- package/dist/contexts/router/types.d.cts +67 -0
- package/dist/contexts/router/types.d.cts.map +1 -0
- package/dist/contexts/router/types.d.mts +67 -0
- package/dist/contexts/router/types.d.mts.map +1 -0
- package/dist/contexts/router/types.d.ts +67 -0
- package/dist/contexts/router/types.d.ts.map +1 -0
- package/dist/contexts/undoableQueue/index.d.cts +6 -0
- package/dist/contexts/undoableQueue/index.d.cts.map +1 -0
- package/dist/contexts/undoableQueue/index.d.mts +6 -0
- package/dist/contexts/undoableQueue/index.d.mts.map +1 -0
- package/dist/contexts/undoableQueue/index.d.ts +5 -2
- package/dist/contexts/undoableQueue/index.d.ts.map +1 -1
- package/dist/contexts/undoableQueue/types.d.cts +21 -0
- package/dist/contexts/undoableQueue/types.d.cts.map +1 -0
- package/dist/contexts/undoableQueue/types.d.mts +21 -0
- package/dist/contexts/undoableQueue/types.d.mts.map +1 -0
- package/dist/contexts/undoableQueue/types.d.ts +21 -0
- package/dist/contexts/undoableQueue/types.d.ts.map +1 -0
- package/dist/contexts/unsavedWarn/index.d.cts +5 -0
- package/dist/contexts/unsavedWarn/index.d.cts.map +1 -0
- package/dist/contexts/unsavedWarn/index.d.mts +5 -0
- package/dist/contexts/unsavedWarn/index.d.mts.map +1 -0
- package/dist/contexts/unsavedWarn/index.d.ts +3 -5
- package/dist/contexts/unsavedWarn/index.d.ts.map +1 -1
- package/dist/contexts/unsavedWarn/types.d.cts +5 -0
- package/dist/contexts/unsavedWarn/types.d.cts.map +1 -0
- package/dist/contexts/unsavedWarn/types.d.mts +5 -0
- package/dist/contexts/unsavedWarn/types.d.mts.map +1 -0
- package/dist/contexts/unsavedWarn/types.d.ts +5 -0
- package/dist/contexts/unsavedWarn/types.d.ts.map +1 -0
- package/dist/definitions/helpers/async-debounce/index.d.cts +18 -0
- package/dist/definitions/helpers/async-debounce/index.d.cts.map +1 -0
- package/dist/definitions/helpers/async-debounce/index.d.mts +18 -0
- package/dist/definitions/helpers/async-debounce/index.d.mts.map +1 -0
- package/dist/definitions/helpers/async-debounce/index.d.ts +18 -0
- package/dist/definitions/helpers/async-debounce/index.d.ts.map +1 -0
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.cts +4 -0
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.cts.map +1 -0
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.mts +4 -0
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.mts.map +1 -0
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.ts +3 -2
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.ts.map +1 -1
- package/dist/definitions/helpers/defer-execution/index.d.cts +9 -0
- package/dist/definitions/helpers/defer-execution/index.d.cts.map +1 -0
- package/dist/definitions/helpers/defer-execution/index.d.mts +9 -0
- package/dist/definitions/helpers/defer-execution/index.d.mts.map +1 -0
- package/dist/definitions/helpers/defer-execution/index.d.ts +9 -0
- package/dist/definitions/helpers/defer-execution/index.d.ts.map +1 -0
- package/dist/definitions/helpers/downloadInBrowser/index.d.cts +2 -0
- package/dist/definitions/helpers/downloadInBrowser/index.d.cts.map +1 -0
- package/dist/definitions/helpers/downloadInBrowser/index.d.mts +2 -0
- package/dist/definitions/helpers/downloadInBrowser/index.d.mts.map +1 -0
- package/dist/definitions/helpers/downloadInBrowser/index.d.ts.map +1 -1
- package/dist/definitions/helpers/flatten-object-keys/index.d.cts +4 -0
- package/dist/definitions/helpers/flatten-object-keys/index.d.cts.map +1 -0
- package/dist/definitions/helpers/flatten-object-keys/index.d.mts +4 -0
- package/dist/definitions/helpers/flatten-object-keys/index.d.mts.map +1 -0
- package/dist/definitions/helpers/flatten-object-keys/index.d.ts +3 -1
- package/dist/definitions/helpers/flatten-object-keys/index.d.ts.map +1 -1
- package/dist/definitions/helpers/generateDocumentTitle/index.d.cts +7 -0
- package/dist/definitions/helpers/generateDocumentTitle/index.d.cts.map +1 -0
- package/dist/definitions/helpers/generateDocumentTitle/index.d.mts +7 -0
- package/dist/definitions/helpers/generateDocumentTitle/index.d.mts.map +1 -0
- package/dist/definitions/helpers/generateDocumentTitle/index.d.ts +2 -2
- package/dist/definitions/helpers/generateDocumentTitle/index.d.ts.map +1 -1
- package/dist/definitions/helpers/handleMultiple/index.d.cts +6 -0
- package/dist/definitions/helpers/handleMultiple/index.d.cts.map +1 -0
- package/dist/definitions/helpers/handleMultiple/index.d.mts +6 -0
- package/dist/definitions/helpers/handleMultiple/index.d.mts.map +1 -0
- package/dist/definitions/helpers/handleMultiple/index.d.ts.map +1 -1
- package/dist/definitions/helpers/handlePaginationParams/index.d.cts +9 -0
- package/dist/definitions/helpers/handlePaginationParams/index.d.cts.map +1 -0
- package/dist/definitions/helpers/handlePaginationParams/index.d.mts +9 -0
- package/dist/definitions/helpers/handlePaginationParams/index.d.mts.map +1 -0
- package/dist/definitions/helpers/handlePaginationParams/index.d.ts +2 -2
- package/dist/definitions/helpers/handlePaginationParams/index.d.ts.map +1 -1
- package/dist/definitions/helpers/handleRefineOptions/index.d.cts +26 -0
- package/dist/definitions/helpers/handleRefineOptions/index.d.cts.map +1 -0
- package/dist/definitions/helpers/handleRefineOptions/index.d.mts +26 -0
- package/dist/definitions/helpers/handleRefineOptions/index.d.mts.map +1 -0
- package/dist/definitions/helpers/handleRefineOptions/index.d.ts +5 -3
- package/dist/definitions/helpers/handleRefineOptions/index.d.ts.map +1 -1
- package/dist/definitions/helpers/handleUseParams/index.d.cts +2 -0
- package/dist/definitions/helpers/handleUseParams/index.d.cts.map +1 -0
- package/dist/definitions/helpers/handleUseParams/index.d.mts +2 -0
- package/dist/definitions/helpers/handleUseParams/index.d.mts.map +1 -0
- package/dist/definitions/helpers/hasPermission/index.d.cts +2 -0
- package/dist/definitions/helpers/hasPermission/index.d.cts.map +1 -0
- package/dist/definitions/helpers/hasPermission/index.d.mts +2 -0
- package/dist/definitions/helpers/hasPermission/index.d.mts.map +1 -0
- package/dist/definitions/helpers/hasPermission/index.d.ts.map +1 -1
- package/dist/definitions/helpers/humanizeString/index.d.cts +2 -0
- package/dist/definitions/helpers/humanizeString/index.d.cts.map +1 -0
- package/dist/definitions/helpers/humanizeString/index.d.mts +2 -0
- package/dist/definitions/helpers/humanizeString/index.d.mts.map +1 -0
- package/dist/definitions/helpers/importCSVMapper/index.d.cts +3 -0
- package/dist/definitions/helpers/importCSVMapper/index.d.cts.map +1 -0
- package/dist/definitions/helpers/importCSVMapper/index.d.mts +3 -0
- package/dist/definitions/helpers/importCSVMapper/index.d.mts.map +1 -0
- package/dist/definitions/helpers/importCSVMapper/index.d.ts +1 -1
- package/dist/definitions/helpers/importCSVMapper/index.d.ts.map +1 -1
- package/dist/definitions/helpers/index.d.cts +33 -0
- package/dist/definitions/helpers/index.d.cts.map +1 -0
- package/dist/definitions/helpers/index.d.mts +33 -0
- package/dist/definitions/helpers/index.d.mts.map +1 -0
- package/dist/definitions/helpers/index.d.ts +2 -0
- package/dist/definitions/helpers/index.d.ts.map +1 -1
- package/dist/definitions/helpers/keys/index.d.cts +64 -0
- package/dist/definitions/helpers/keys/index.d.cts.map +1 -0
- package/dist/definitions/helpers/keys/index.d.mts +64 -0
- package/dist/definitions/helpers/keys/index.d.mts.map +1 -0
- package/dist/definitions/helpers/keys/index.d.ts +11 -22
- package/dist/definitions/helpers/keys/index.d.ts.map +1 -1
- package/dist/definitions/helpers/legacy-resource-transform/index.d.cts +9 -0
- package/dist/definitions/helpers/legacy-resource-transform/index.d.cts.map +1 -0
- package/dist/definitions/helpers/legacy-resource-transform/index.d.mts +9 -0
- package/dist/definitions/helpers/legacy-resource-transform/index.d.mts.map +1 -0
- package/dist/definitions/helpers/legacy-resource-transform/index.d.ts +1 -1
- package/dist/definitions/helpers/legacy-resource-transform/index.d.ts.map +1 -1
- package/dist/definitions/helpers/menu/create-resource-key.d.cts +3 -0
- package/dist/definitions/helpers/menu/create-resource-key.d.cts.map +1 -0
- package/dist/definitions/helpers/menu/create-resource-key.d.mts +3 -0
- package/dist/definitions/helpers/menu/create-resource-key.d.mts.map +1 -0
- package/dist/definitions/helpers/menu/create-resource-key.d.ts +1 -1
- package/dist/definitions/helpers/menu/create-resource-key.d.ts.map +1 -1
- package/dist/definitions/helpers/menu/create-tree.d.cts +13 -0
- package/dist/definitions/helpers/menu/create-tree.d.cts.map +1 -0
- package/dist/definitions/helpers/menu/create-tree.d.mts +13 -0
- package/dist/definitions/helpers/menu/create-tree.d.mts.map +1 -0
- package/dist/definitions/helpers/menu/create-tree.d.ts +3 -3
- package/dist/definitions/helpers/menu/create-tree.d.ts.map +1 -1
- package/dist/definitions/helpers/pick-resource/index.d.cts +8 -0
- package/dist/definitions/helpers/pick-resource/index.d.cts.map +1 -0
- package/dist/definitions/helpers/pick-resource/index.d.mts +8 -0
- package/dist/definitions/helpers/pick-resource/index.d.mts.map +1 -0
- package/dist/definitions/helpers/pick-resource/index.d.ts +1 -1
- package/dist/definitions/helpers/pick-resource/index.d.ts.map +1 -1
- package/dist/definitions/helpers/pickDataProvider/index.d.cts +6 -0
- package/dist/definitions/helpers/pickDataProvider/index.d.cts.map +1 -0
- package/dist/definitions/helpers/pickDataProvider/index.d.mts +6 -0
- package/dist/definitions/helpers/pickDataProvider/index.d.mts.map +1 -0
- package/dist/definitions/helpers/pickDataProvider/index.d.ts +1 -1
- package/dist/definitions/helpers/pickDataProvider/index.d.ts.map +1 -1
- package/dist/definitions/helpers/pickNotDeprecated/index.d.cts +2 -0
- package/dist/definitions/helpers/pickNotDeprecated/index.d.cts.map +1 -0
- package/dist/definitions/helpers/pickNotDeprecated/index.d.mts +2 -0
- package/dist/definitions/helpers/pickNotDeprecated/index.d.mts.map +1 -0
- package/dist/definitions/helpers/pickNotDeprecated/index.d.ts.map +1 -1
- package/dist/definitions/helpers/property-path-to-array/index.d.cts +2 -0
- package/dist/definitions/helpers/property-path-to-array/index.d.cts.map +1 -0
- package/dist/definitions/helpers/property-path-to-array/index.d.mts +2 -0
- package/dist/definitions/helpers/property-path-to-array/index.d.mts.map +1 -0
- package/dist/definitions/helpers/queryKeys/index.d.cts +7 -0
- package/dist/definitions/helpers/queryKeys/index.d.cts.map +1 -0
- package/dist/definitions/helpers/queryKeys/index.d.mts +7 -0
- package/dist/definitions/helpers/queryKeys/index.d.mts.map +1 -0
- package/dist/definitions/helpers/queryKeys/index.d.ts +1 -2
- package/dist/definitions/helpers/queryKeys/index.d.ts.map +1 -1
- package/dist/definitions/helpers/redirectPage/index.d.cts +11 -0
- package/dist/definitions/helpers/redirectPage/index.d.cts.map +1 -0
- package/dist/definitions/helpers/redirectPage/index.d.mts +11 -0
- package/dist/definitions/helpers/redirectPage/index.d.mts.map +1 -0
- package/dist/definitions/helpers/redirectPage/index.d.ts +4 -2
- package/dist/definitions/helpers/redirectPage/index.d.ts.map +1 -1
- package/dist/definitions/helpers/routeGenerator/index.d.cts +7 -0
- package/dist/definitions/helpers/routeGenerator/index.d.cts.map +1 -0
- package/dist/definitions/helpers/routeGenerator/index.d.mts +7 -0
- package/dist/definitions/helpers/routeGenerator/index.d.mts.map +1 -0
- package/dist/definitions/helpers/routeGenerator/index.d.ts +1 -1
- package/dist/definitions/helpers/routeGenerator/index.d.ts.map +1 -1
- package/dist/definitions/helpers/router/check-by-segments.d.cts +9 -0
- package/dist/definitions/helpers/router/check-by-segments.d.cts.map +1 -0
- package/dist/definitions/helpers/router/check-by-segments.d.mts +9 -0
- package/dist/definitions/helpers/router/check-by-segments.d.mts.map +1 -0
- package/dist/definitions/helpers/router/compose-route.d.cts +11 -0
- package/dist/definitions/helpers/router/compose-route.d.cts.map +1 -0
- package/dist/definitions/helpers/router/compose-route.d.mts +11 -0
- package/dist/definitions/helpers/router/compose-route.d.mts.map +1 -0
- package/dist/definitions/helpers/router/compose-route.d.ts +2 -1
- package/dist/definitions/helpers/router/compose-route.d.ts.map +1 -1
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.cts +16 -0
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.cts.map +1 -0
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.mts +16 -0
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.mts.map +1 -0
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.ts +3 -2
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.ts.map +1 -1
- package/dist/definitions/helpers/router/get-default-action-path.d.cts +8 -0
- package/dist/definitions/helpers/router/get-default-action-path.d.cts.map +1 -0
- package/dist/definitions/helpers/router/get-default-action-path.d.mts +8 -0
- package/dist/definitions/helpers/router/get-default-action-path.d.mts.map +1 -0
- package/dist/definitions/helpers/router/get-default-action-path.d.ts +1 -1
- package/dist/definitions/helpers/router/get-default-action-path.d.ts.map +1 -1
- package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.cts +7 -0
- package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.cts.map +1 -0
- package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.mts +7 -0
- package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.mts.map +1 -0
- package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.ts +1 -1
- package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.ts.map +1 -1
- package/dist/definitions/helpers/router/get-parent-resource.d.cts +7 -0
- package/dist/definitions/helpers/router/get-parent-resource.d.cts.map +1 -0
- package/dist/definitions/helpers/router/get-parent-resource.d.mts +7 -0
- package/dist/definitions/helpers/router/get-parent-resource.d.mts.map +1 -0
- package/dist/definitions/helpers/router/get-parent-resource.d.ts +1 -1
- package/dist/definitions/helpers/router/get-parent-resource.d.ts.map +1 -1
- package/dist/definitions/helpers/router/index.d.cts +10 -0
- package/dist/definitions/helpers/router/index.d.cts.map +1 -0
- package/dist/definitions/helpers/router/index.d.mts +10 -0
- package/dist/definitions/helpers/router/index.d.mts.map +1 -0
- package/dist/definitions/helpers/router/is-parameter.d.cts +5 -0
- package/dist/definitions/helpers/router/is-parameter.d.cts.map +1 -0
- package/dist/definitions/helpers/router/is-parameter.d.mts +5 -0
- package/dist/definitions/helpers/router/is-parameter.d.mts.map +1 -0
- package/dist/definitions/helpers/router/is-segment-counts-same.d.cts +5 -0
- package/dist/definitions/helpers/router/is-segment-counts-same.d.cts.map +1 -0
- package/dist/definitions/helpers/router/is-segment-counts-same.d.mts +5 -0
- package/dist/definitions/helpers/router/is-segment-counts-same.d.mts.map +1 -0
- package/dist/definitions/helpers/router/match-resource-from-route.d.cts +15 -0
- package/dist/definitions/helpers/router/match-resource-from-route.d.cts.map +1 -0
- package/dist/definitions/helpers/router/match-resource-from-route.d.mts +15 -0
- package/dist/definitions/helpers/router/match-resource-from-route.d.mts.map +1 -0
- package/dist/definitions/helpers/router/match-resource-from-route.d.ts +2 -1
- package/dist/definitions/helpers/router/match-resource-from-route.d.ts.map +1 -1
- package/dist/definitions/helpers/router/pick-matched-route.d.cts +8 -0
- package/dist/definitions/helpers/router/pick-matched-route.d.cts.map +1 -0
- package/dist/definitions/helpers/router/pick-matched-route.d.mts +8 -0
- package/dist/definitions/helpers/router/pick-matched-route.d.mts.map +1 -0
- package/dist/definitions/helpers/router/pick-matched-route.d.ts.map +1 -1
- package/dist/definitions/helpers/router/pick-route-params.d.cts +6 -0
- package/dist/definitions/helpers/router/pick-route-params.d.cts.map +1 -0
- package/dist/definitions/helpers/router/pick-route-params.d.mts +6 -0
- package/dist/definitions/helpers/router/pick-route-params.d.mts.map +1 -0
- package/dist/definitions/helpers/router/prepare-route-params.d.cts +8 -0
- package/dist/definitions/helpers/router/prepare-route-params.d.cts.map +1 -0
- package/dist/definitions/helpers/router/prepare-route-params.d.mts +8 -0
- package/dist/definitions/helpers/router/prepare-route-params.d.mts.map +1 -0
- package/dist/definitions/helpers/router/prepare-route-params.d.ts.map +1 -1
- package/dist/definitions/helpers/router/remove-leading-trailing-slashes.d.cts +5 -0
- package/dist/definitions/helpers/router/remove-leading-trailing-slashes.d.cts.map +1 -0
- package/dist/definitions/helpers/router/remove-leading-trailing-slashes.d.mts +5 -0
- package/dist/definitions/helpers/router/remove-leading-trailing-slashes.d.mts.map +1 -0
- package/dist/definitions/helpers/router/split-to-segments.d.cts +5 -0
- package/dist/definitions/helpers/router/split-to-segments.d.cts.map +1 -0
- package/dist/definitions/helpers/router/split-to-segments.d.mts +5 -0
- package/dist/definitions/helpers/router/split-to-segments.d.mts.map +1 -0
- package/dist/definitions/helpers/safe-translate/index.d.cts +3 -0
- package/dist/definitions/helpers/safe-translate/index.d.cts.map +1 -0
- package/dist/definitions/helpers/safe-translate/index.d.mts +3 -0
- package/dist/definitions/helpers/safe-translate/index.d.mts.map +1 -0
- package/dist/definitions/helpers/safe-translate/index.d.ts +1 -1
- package/dist/definitions/helpers/safe-translate/index.d.ts.map +1 -1
- package/dist/definitions/helpers/sanitize-resource/index.d.cts +8 -0
- package/dist/definitions/helpers/sanitize-resource/index.d.cts.map +1 -0
- package/dist/definitions/helpers/sanitize-resource/index.d.mts +8 -0
- package/dist/definitions/helpers/sanitize-resource/index.d.mts.map +1 -0
- package/dist/definitions/helpers/sanitize-resource/index.d.ts +1 -1
- package/dist/definitions/helpers/sanitize-resource/index.d.ts.map +1 -1
- package/dist/definitions/helpers/sequentialPromises/index.d.cts +5 -0
- package/dist/definitions/helpers/sequentialPromises/index.d.cts.map +1 -0
- package/dist/definitions/helpers/sequentialPromises/index.d.mts +5 -0
- package/dist/definitions/helpers/sequentialPromises/index.d.mts.map +1 -0
- package/dist/definitions/helpers/sequentialPromises/index.d.ts +2 -2
- package/dist/definitions/helpers/sequentialPromises/index.d.ts.map +1 -1
- package/dist/definitions/helpers/treeView/createTreeView/index.d.cts +6 -0
- package/dist/definitions/helpers/treeView/createTreeView/index.d.cts.map +1 -0
- package/dist/definitions/helpers/treeView/createTreeView/index.d.mts +6 -0
- package/dist/definitions/helpers/treeView/createTreeView/index.d.mts.map +1 -0
- package/dist/definitions/helpers/treeView/createTreeView/index.d.ts +1 -1
- package/dist/definitions/helpers/treeView/createTreeView/index.d.ts.map +1 -1
- package/dist/definitions/helpers/treeView/index.d.cts +2 -0
- package/dist/definitions/helpers/treeView/index.d.cts.map +1 -0
- package/dist/definitions/helpers/treeView/index.d.mts +2 -0
- package/dist/definitions/helpers/treeView/index.d.mts.map +1 -0
- package/dist/definitions/helpers/useActiveAuthProvider/index.d.cts +34 -0
- package/dist/definitions/helpers/useActiveAuthProvider/index.d.cts.map +1 -0
- package/dist/definitions/helpers/useActiveAuthProvider/index.d.mts +34 -0
- package/dist/definitions/helpers/useActiveAuthProvider/index.d.mts.map +1 -0
- package/dist/definitions/helpers/useActiveAuthProvider/index.d.ts +14 -14
- package/dist/definitions/helpers/useInfinitePagination/index.d.cts +4 -0
- package/dist/definitions/helpers/useInfinitePagination/index.d.cts.map +1 -0
- package/dist/definitions/helpers/useInfinitePagination/index.d.mts +4 -0
- package/dist/definitions/helpers/useInfinitePagination/index.d.mts.map +1 -0
- package/dist/definitions/helpers/useInfinitePagination/index.d.ts +1 -1
- package/dist/definitions/helpers/useInfinitePagination/index.d.ts.map +1 -1
- package/dist/definitions/helpers/useMediaQuery/index.d.cts +2 -0
- package/dist/definitions/helpers/useMediaQuery/index.d.cts.map +1 -0
- package/dist/definitions/helpers/useMediaQuery/index.d.mts +2 -0
- package/dist/definitions/helpers/useMediaQuery/index.d.mts.map +1 -0
- package/dist/definitions/helpers/useUserFriendlyName/index.d.cts +6 -0
- package/dist/definitions/helpers/useUserFriendlyName/index.d.cts.map +1 -0
- package/dist/definitions/helpers/useUserFriendlyName/index.d.mts +6 -0
- package/dist/definitions/helpers/useUserFriendlyName/index.d.mts.map +1 -0
- package/dist/definitions/helpers/useUserFriendlyName/index.d.ts.map +1 -1
- package/dist/definitions/helpers/userFriendlyResourceName/index.d.cts +7 -0
- package/dist/definitions/helpers/userFriendlyResourceName/index.d.cts.map +1 -0
- package/dist/definitions/helpers/userFriendlyResourceName/index.d.mts +7 -0
- package/dist/definitions/helpers/userFriendlyResourceName/index.d.mts.map +1 -0
- package/dist/definitions/helpers/userFriendlyResourceName/index.d.ts.map +1 -1
- package/dist/definitions/helpers/userFriendlySeconds/index.d.cts +2 -0
- package/dist/definitions/helpers/userFriendlySeconds/index.d.cts.map +1 -0
- package/dist/definitions/helpers/userFriendlySeconds/index.d.mts +2 -0
- package/dist/definitions/helpers/userFriendlySeconds/index.d.mts.map +1 -0
- package/dist/definitions/index.d.cts +4 -0
- package/dist/definitions/index.d.cts.map +1 -0
- package/dist/definitions/index.d.mts +4 -0
- package/dist/definitions/index.d.mts.map +1 -0
- package/dist/definitions/table/index.d.cts +34 -0
- package/dist/definitions/table/index.d.cts.map +1 -0
- package/dist/definitions/table/index.d.mts +34 -0
- package/dist/definitions/table/index.d.mts.map +1 -0
- package/dist/definitions/table/index.d.ts +13 -13
- package/dist/definitions/table/index.d.ts.map +1 -1
- package/dist/definitions/upload/file2Base64/index.d.cts +2 -0
- package/dist/definitions/upload/file2Base64/index.d.cts.map +1 -0
- package/dist/definitions/upload/file2Base64/index.d.mts +2 -0
- package/dist/definitions/upload/file2Base64/index.d.mts.map +1 -0
- package/dist/definitions/upload/index.d.cts +2 -0
- package/dist/definitions/upload/index.d.cts.map +1 -0
- package/dist/definitions/upload/index.d.mts +2 -0
- package/dist/definitions/upload/index.d.mts.map +1 -0
- package/dist/hooks/accessControl/index.d.cts +3 -0
- package/dist/hooks/accessControl/index.d.cts.map +1 -0
- package/dist/hooks/accessControl/index.d.mts +3 -0
- package/dist/hooks/accessControl/index.d.mts.map +1 -0
- package/dist/hooks/accessControl/useCan/index.d.cts +18 -0
- package/dist/hooks/accessControl/useCan/index.d.cts.map +1 -0
- package/dist/hooks/accessControl/useCan/index.d.mts +18 -0
- package/dist/hooks/accessControl/useCan/index.d.mts.map +1 -0
- package/dist/hooks/accessControl/useCan/index.d.ts +2 -2
- package/dist/hooks/accessControl/useCan/index.d.ts.map +1 -1
- package/dist/hooks/accessControl/useCanWithoutCache.d.cts +3 -0
- package/dist/hooks/accessControl/useCanWithoutCache.d.cts.map +1 -0
- package/dist/hooks/accessControl/useCanWithoutCache.d.mts +3 -0
- package/dist/hooks/accessControl/useCanWithoutCache.d.mts.map +1 -0
- package/dist/hooks/accessControl/useCanWithoutCache.d.ts +1 -1
- package/dist/hooks/accessControl/useCanWithoutCache.d.ts.map +1 -1
- package/dist/hooks/auditLog/index.d.cts +3 -0
- package/dist/hooks/auditLog/index.d.cts.map +1 -0
- package/dist/hooks/auditLog/index.d.mts +3 -0
- package/dist/hooks/auditLog/index.d.mts.map +1 -0
- package/dist/hooks/auditLog/useLog/index.d.cts +27 -0
- package/dist/hooks/auditLog/useLog/index.d.cts.map +1 -0
- package/dist/hooks/auditLog/useLog/index.d.mts +27 -0
- package/dist/hooks/auditLog/useLog/index.d.mts.map +1 -0
- package/dist/hooks/auditLog/useLog/index.d.ts +5 -4
- package/dist/hooks/auditLog/useLog/index.d.ts.map +1 -1
- package/dist/hooks/auditLog/useLogList/index.d.cts +22 -0
- package/dist/hooks/auditLog/useLogList/index.d.cts.map +1 -0
- package/dist/hooks/auditLog/useLogList/index.d.mts +22 -0
- package/dist/hooks/auditLog/useLogList/index.d.mts.map +1 -0
- package/dist/hooks/auditLog/useLogList/index.d.ts +4 -4
- package/dist/hooks/auditLog/useLogList/index.d.ts.map +1 -1
- package/dist/hooks/auth/index.d.cts +11 -0
- package/dist/hooks/auth/index.d.cts.map +1 -0
- package/dist/hooks/auth/index.d.mts +11 -0
- package/dist/hooks/auth/index.d.mts.map +1 -0
- package/dist/hooks/auth/useForgotPassword/index.d.cts +22 -0
- package/dist/hooks/auth/useForgotPassword/index.d.cts.map +1 -0
- package/dist/hooks/auth/useForgotPassword/index.d.mts +22 -0
- package/dist/hooks/auth/useForgotPassword/index.d.mts.map +1 -0
- package/dist/hooks/auth/useForgotPassword/index.d.ts +8 -7
- package/dist/hooks/auth/useForgotPassword/index.d.ts.map +1 -1
- package/dist/hooks/auth/useGetIdentity/index.d.cts +21 -0
- package/dist/hooks/auth/useGetIdentity/index.d.cts.map +1 -0
- package/dist/hooks/auth/useGetIdentity/index.d.mts +21 -0
- package/dist/hooks/auth/useGetIdentity/index.d.mts.map +1 -0
- package/dist/hooks/auth/useGetIdentity/index.d.ts +8 -8
- package/dist/hooks/auth/useGetIdentity/index.d.ts.map +1 -1
- package/dist/hooks/auth/useInvalidateAuthStore/index.d.cts +2 -0
- package/dist/hooks/auth/useInvalidateAuthStore/index.d.cts.map +1 -0
- package/dist/hooks/auth/useInvalidateAuthStore/index.d.mts +2 -0
- package/dist/hooks/auth/useInvalidateAuthStore/index.d.mts.map +1 -0
- package/dist/hooks/auth/useIsAuthenticated/index.d.cts +25 -0
- package/dist/hooks/auth/useIsAuthenticated/index.d.cts.map +1 -0
- package/dist/hooks/auth/useIsAuthenticated/index.d.mts +25 -0
- package/dist/hooks/auth/useIsAuthenticated/index.d.mts.map +1 -0
- package/dist/hooks/auth/useIsAuthenticated/index.d.ts +7 -7
- package/dist/hooks/auth/useIsAuthenticated/index.d.ts.map +1 -1
- package/dist/hooks/auth/useIsExistAuthentication/index.d.cts +6 -0
- package/dist/hooks/auth/useIsExistAuthentication/index.d.cts.map +1 -0
- package/dist/hooks/auth/useIsExistAuthentication/index.d.mts +6 -0
- package/dist/hooks/auth/useIsExistAuthentication/index.d.mts.map +1 -0
- package/dist/hooks/auth/useLogin/index.d.cts +22 -0
- package/dist/hooks/auth/useLogin/index.d.cts.map +1 -0
- package/dist/hooks/auth/useLogin/index.d.mts +22 -0
- package/dist/hooks/auth/useLogin/index.d.mts.map +1 -0
- package/dist/hooks/auth/useLogin/index.d.ts +8 -8
- package/dist/hooks/auth/useLogin/index.d.ts.map +1 -1
- package/dist/hooks/auth/useLogout/index.d.cts +26 -0
- package/dist/hooks/auth/useLogout/index.d.cts.map +1 -0
- package/dist/hooks/auth/useLogout/index.d.mts +26 -0
- package/dist/hooks/auth/useLogout/index.d.mts.map +1 -0
- package/dist/hooks/auth/useLogout/index.d.ts +9 -9
- package/dist/hooks/auth/useLogout/index.d.ts.map +1 -1
- package/dist/hooks/auth/useOnError/index.d.cts +22 -0
- package/dist/hooks/auth/useOnError/index.d.cts.map +1 -0
- package/dist/hooks/auth/useOnError/index.d.mts +22 -0
- package/dist/hooks/auth/useOnError/index.d.mts.map +1 -0
- package/dist/hooks/auth/useOnError/index.d.ts +7 -7
- package/dist/hooks/auth/useOnError/index.d.ts.map +1 -1
- package/dist/hooks/auth/usePermissions/index.d.cts +24 -0
- package/dist/hooks/auth/usePermissions/index.d.cts.map +1 -0
- package/dist/hooks/auth/usePermissions/index.d.mts +24 -0
- package/dist/hooks/auth/usePermissions/index.d.mts.map +1 -0
- package/dist/hooks/auth/usePermissions/index.d.ts +14 -11
- package/dist/hooks/auth/usePermissions/index.d.ts.map +1 -1
- package/dist/hooks/auth/useRegister/index.d.cts +22 -0
- package/dist/hooks/auth/useRegister/index.d.cts.map +1 -0
- package/dist/hooks/auth/useRegister/index.d.mts +22 -0
- package/dist/hooks/auth/useRegister/index.d.mts.map +1 -0
- package/dist/hooks/auth/useRegister/index.d.ts +8 -7
- package/dist/hooks/auth/useRegister/index.d.ts.map +1 -1
- package/dist/hooks/auth/useUpdatePassword/index.d.cts +23 -0
- package/dist/hooks/auth/useUpdatePassword/index.d.cts.map +1 -0
- package/dist/hooks/auth/useUpdatePassword/index.d.mts +23 -0
- package/dist/hooks/auth/useUpdatePassword/index.d.mts.map +1 -0
- package/dist/hooks/auth/useUpdatePassword/index.d.ts +9 -7
- package/dist/hooks/auth/useUpdatePassword/index.d.ts.map +1 -1
- package/dist/hooks/breadcrumb/index.d.cts +18 -0
- package/dist/hooks/breadcrumb/index.d.cts.map +1 -0
- package/dist/hooks/breadcrumb/index.d.mts +18 -0
- package/dist/hooks/breadcrumb/index.d.mts.map +1 -0
- package/dist/hooks/breadcrumb/index.d.ts +3 -3
- package/dist/hooks/breadcrumb/index.d.ts.map +1 -1
- package/dist/hooks/button/actionable-button/index.d.cts +8 -0
- package/dist/hooks/button/actionable-button/index.d.cts.map +1 -0
- package/dist/hooks/button/actionable-button/index.d.mts +8 -0
- package/dist/hooks/button/actionable-button/index.d.mts.map +1 -0
- package/dist/hooks/button/actionable-button/index.d.ts +8 -0
- package/dist/hooks/button/actionable-button/index.d.ts.map +1 -0
- package/dist/hooks/button/button-can-access/index.d.cts +22 -0
- package/dist/hooks/button/button-can-access/index.d.cts.map +1 -0
- package/dist/hooks/button/button-can-access/index.d.mts +22 -0
- package/dist/hooks/button/button-can-access/index.d.mts.map +1 -0
- package/dist/hooks/button/button-can-access/index.d.ts +22 -0
- package/dist/hooks/button/button-can-access/index.d.ts.map +1 -0
- package/dist/hooks/button/delete-button/index.d.cts +28 -0
- package/dist/hooks/button/delete-button/index.d.cts.map +1 -0
- package/dist/hooks/button/delete-button/index.d.mts +28 -0
- package/dist/hooks/button/delete-button/index.d.mts.map +1 -0
- package/dist/hooks/button/delete-button/index.d.ts +28 -0
- package/dist/hooks/button/delete-button/index.d.ts.map +1 -0
- package/dist/hooks/button/index.d.cts +13 -0
- package/dist/hooks/button/index.d.cts.map +1 -0
- package/dist/hooks/button/index.d.mts +13 -0
- package/dist/hooks/button/index.d.mts.map +1 -0
- package/dist/hooks/button/index.d.ts +13 -0
- package/dist/hooks/button/index.d.ts.map +1 -0
- package/dist/hooks/button/navigation-button/index.d.cts +28 -0
- package/dist/hooks/button/navigation-button/index.d.cts.map +1 -0
- package/dist/hooks/button/navigation-button/index.d.mts +28 -0
- package/dist/hooks/button/navigation-button/index.d.mts.map +1 -0
- package/dist/hooks/button/navigation-button/index.d.ts +28 -0
- package/dist/hooks/button/navigation-button/index.d.ts.map +1 -0
- package/dist/hooks/button/refresh-button/index.d.cts +14 -0
- package/dist/hooks/button/refresh-button/index.d.cts.map +1 -0
- package/dist/hooks/button/refresh-button/index.d.mts +14 -0
- package/dist/hooks/button/refresh-button/index.d.mts.map +1 -0
- package/dist/hooks/button/refresh-button/index.d.ts +14 -0
- package/dist/hooks/button/refresh-button/index.d.ts.map +1 -0
- package/dist/hooks/data/index.d.cts +15 -0
- package/dist/hooks/data/index.d.cts.map +1 -0
- package/dist/hooks/data/index.d.mts +15 -0
- package/dist/hooks/data/index.d.mts.map +1 -0
- package/dist/hooks/data/useApiUrl.d.cts +2 -0
- package/dist/hooks/data/useApiUrl.d.cts.map +1 -0
- package/dist/hooks/data/useApiUrl.d.mts +2 -0
- package/dist/hooks/data/useApiUrl.d.mts.map +1 -0
- package/dist/hooks/data/useApiUrl.d.ts.map +1 -1
- package/dist/hooks/data/useCreate.d.cts +49 -0
- package/dist/hooks/data/useCreate.d.cts.map +1 -0
- package/dist/hooks/data/useCreate.d.mts +49 -0
- package/dist/hooks/data/useCreate.d.mts.map +1 -0
- package/dist/hooks/data/useCreate.d.ts +6 -6
- package/dist/hooks/data/useCreate.d.ts.map +1 -1
- package/dist/hooks/data/useCreateMany.d.cts +31 -0
- package/dist/hooks/data/useCreateMany.d.cts.map +1 -0
- package/dist/hooks/data/useCreateMany.d.mts +31 -0
- package/dist/hooks/data/useCreateMany.d.mts.map +1 -0
- package/dist/hooks/data/useCreateMany.d.ts +5 -4
- package/dist/hooks/data/useCreateMany.d.ts.map +1 -1
- package/dist/hooks/data/useCustom.d.cts +63 -0
- package/dist/hooks/data/useCustom.d.cts.map +1 -0
- package/dist/hooks/data/useCustom.d.mts +63 -0
- package/dist/hooks/data/useCustom.d.mts.map +1 -0
- package/dist/hooks/data/useCustom.d.ts +6 -5
- package/dist/hooks/data/useCustom.d.ts.map +1 -1
- package/dist/hooks/data/useCustomMutation.d.cts +42 -0
- package/dist/hooks/data/useCustomMutation.d.cts.map +1 -0
- package/dist/hooks/data/useCustomMutation.d.mts +42 -0
- package/dist/hooks/data/useCustomMutation.d.mts.map +1 -0
- package/dist/hooks/data/useCustomMutation.d.ts +5 -4
- package/dist/hooks/data/useCustomMutation.d.ts.map +1 -1
- package/dist/hooks/data/useDataProvider.d.cts +3 -0
- package/dist/hooks/data/useDataProvider.d.cts.map +1 -0
- package/dist/hooks/data/useDataProvider.d.mts +3 -0
- package/dist/hooks/data/useDataProvider.d.mts.map +1 -0
- package/dist/hooks/data/useDataProvider.d.ts +2 -2
- package/dist/hooks/data/useDataProvider.d.ts.map +1 -1
- package/dist/hooks/data/useDelete.d.cts +65 -0
- package/dist/hooks/data/useDelete.d.cts.map +1 -0
- package/dist/hooks/data/useDelete.d.mts +65 -0
- package/dist/hooks/data/useDelete.d.mts.map +1 -0
- package/dist/hooks/data/useDelete.d.ts +5 -4
- package/dist/hooks/data/useDelete.d.ts.map +1 -1
- package/dist/hooks/data/useDeleteMany.d.cts +65 -0
- package/dist/hooks/data/useDeleteMany.d.cts.map +1 -0
- package/dist/hooks/data/useDeleteMany.d.mts +65 -0
- package/dist/hooks/data/useDeleteMany.d.mts.map +1 -0
- package/dist/hooks/data/useDeleteMany.d.ts +5 -4
- package/dist/hooks/data/useDeleteMany.d.ts.map +1 -1
- package/dist/hooks/data/useInfiniteList.d.cts +74 -0
- package/dist/hooks/data/useInfiniteList.d.cts.map +1 -0
- package/dist/hooks/data/useInfiniteList.d.mts +74 -0
- package/dist/hooks/data/useInfiniteList.d.mts.map +1 -0
- package/dist/hooks/data/useInfiniteList.d.ts +9 -7
- package/dist/hooks/data/useInfiniteList.d.ts.map +1 -1
- package/dist/hooks/data/useList.d.cts +73 -0
- package/dist/hooks/data/useList.d.cts.map +1 -0
- package/dist/hooks/data/useList.d.mts +73 -0
- package/dist/hooks/data/useList.d.mts.map +1 -0
- package/dist/hooks/data/useList.d.ts +9 -7
- package/dist/hooks/data/useList.d.ts.map +1 -1
- package/dist/hooks/data/useMany.d.cts +48 -0
- package/dist/hooks/data/useMany.d.cts.map +1 -0
- package/dist/hooks/data/useMany.d.mts +48 -0
- package/dist/hooks/data/useMany.d.mts.map +1 -0
- package/dist/hooks/data/useMany.d.ts +4 -2
- package/dist/hooks/data/useMany.d.ts.map +1 -1
- package/dist/hooks/data/useOne.d.cts +50 -0
- package/dist/hooks/data/useOne.d.cts.map +1 -0
- package/dist/hooks/data/useOne.d.mts +50 -0
- package/dist/hooks/data/useOne.d.mts.map +1 -0
- package/dist/hooks/data/useOne.d.ts +4 -2
- package/dist/hooks/data/useOne.d.ts.map +1 -1
- package/dist/hooks/data/useUpdate.d.cts +83 -0
- package/dist/hooks/data/useUpdate.d.cts.map +1 -0
- package/dist/hooks/data/useUpdate.d.mts +83 -0
- package/dist/hooks/data/useUpdate.d.mts.map +1 -0
- package/dist/hooks/data/useUpdate.d.ts +10 -4
- package/dist/hooks/data/useUpdate.d.ts.map +1 -1
- package/dist/hooks/data/useUpdateMany.d.cts +84 -0
- package/dist/hooks/data/useUpdateMany.d.cts.map +1 -0
- package/dist/hooks/data/useUpdateMany.d.mts +84 -0
- package/dist/hooks/data/useUpdateMany.d.mts.map +1 -0
- package/dist/hooks/data/useUpdateMany.d.ts +10 -4
- package/dist/hooks/data/useUpdateMany.d.ts.map +1 -1
- package/dist/hooks/deepMemo/index.d.cts +7 -0
- package/dist/hooks/deepMemo/index.d.cts.map +1 -0
- package/dist/hooks/deepMemo/index.d.mts +7 -0
- package/dist/hooks/deepMemo/index.d.mts.map +1 -0
- package/dist/hooks/deepMemo/index.d.ts.map +1 -1
- package/dist/hooks/export/index.d.cts +99 -0
- package/dist/hooks/export/index.d.cts.map +1 -0
- package/dist/hooks/export/index.d.mts +99 -0
- package/dist/hooks/export/index.d.mts.map +1 -0
- package/dist/hooks/export/index.d.ts +10 -9
- package/dist/hooks/export/index.d.ts.map +1 -1
- package/dist/hooks/export/types.d.cts +23 -0
- package/dist/hooks/export/types.d.cts.map +1 -0
- package/dist/hooks/export/types.d.mts +23 -0
- package/dist/hooks/export/types.d.mts.map +1 -0
- package/dist/hooks/export/types.d.ts +23 -0
- package/dist/hooks/export/types.d.ts.map +1 -0
- package/dist/hooks/form/index.d.cts +18 -0
- package/dist/hooks/form/index.d.cts.map +1 -0
- package/dist/hooks/form/index.d.mts +18 -0
- package/dist/hooks/form/index.d.mts.map +1 -0
- package/dist/hooks/form/index.d.ts +17 -1
- package/dist/hooks/form/index.d.ts.map +1 -1
- package/dist/hooks/form/types.d.cts +146 -0
- package/dist/hooks/form/types.d.cts.map +1 -0
- package/dist/hooks/form/types.d.mts +146 -0
- package/dist/hooks/form/types.d.mts.map +1 -0
- package/dist/hooks/form/types.d.ts +146 -0
- package/dist/hooks/form/types.d.ts.map +1 -0
- package/dist/hooks/i18n/index.d.cts +5 -0
- package/dist/hooks/i18n/index.d.cts.map +1 -0
- package/dist/hooks/i18n/index.d.mts +5 -0
- package/dist/hooks/i18n/index.d.mts.map +1 -0
- package/dist/hooks/i18n/index.d.ts +5 -0
- package/dist/hooks/i18n/index.d.ts.map +1 -0
- package/dist/hooks/i18n/useGetLocale.d.cts +9 -0
- package/dist/hooks/i18n/useGetLocale.d.cts.map +1 -0
- package/dist/hooks/i18n/useGetLocale.d.mts +9 -0
- package/dist/hooks/i18n/useGetLocale.d.mts.map +1 -0
- package/dist/hooks/i18n/useGetLocale.d.ts +9 -0
- package/dist/hooks/i18n/useGetLocale.d.ts.map +1 -0
- package/dist/hooks/i18n/useSetLocale.d.cts +8 -0
- package/dist/hooks/i18n/useSetLocale.d.cts.map +1 -0
- package/dist/hooks/i18n/useSetLocale.d.mts +8 -0
- package/dist/hooks/i18n/useSetLocale.d.mts.map +1 -0
- package/dist/hooks/i18n/useSetLocale.d.ts +8 -0
- package/dist/hooks/i18n/useSetLocale.d.ts.map +1 -0
- package/dist/hooks/i18n/useTranslate.d.cts.map +1 -0
- package/dist/hooks/i18n/useTranslate.d.mts +11 -0
- package/dist/hooks/i18n/useTranslate.d.mts.map +1 -0
- package/dist/hooks/i18n/useTranslate.d.ts +11 -0
- package/dist/hooks/i18n/useTranslate.d.ts.map +1 -0
- package/dist/hooks/i18n/useTranslation.d.cts +18 -0
- package/dist/hooks/i18n/useTranslation.d.cts.map +1 -0
- package/dist/hooks/i18n/useTranslation.d.mts +18 -0
- package/dist/hooks/i18n/useTranslation.d.mts.map +1 -0
- package/dist/hooks/i18n/useTranslation.d.ts +18 -0
- package/dist/hooks/i18n/useTranslation.d.ts.map +1 -0
- package/dist/hooks/import/index.d.cts +101 -0
- package/dist/hooks/import/index.d.cts.map +1 -0
- package/dist/hooks/import/index.d.mts +101 -0
- package/dist/hooks/import/index.d.mts.map +1 -0
- package/dist/hooks/import/index.d.ts +13 -12
- package/dist/hooks/import/index.d.ts.map +1 -1
- package/dist/hooks/index.d.cts +31 -0
- package/dist/hooks/index.d.cts.map +1 -0
- package/dist/hooks/index.d.mts +31 -0
- package/dist/hooks/index.d.mts.map +1 -0
- package/dist/hooks/index.d.ts +6 -2
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/invalidate/index.d.cts +12 -0
- package/dist/hooks/invalidate/index.d.cts.map +1 -0
- package/dist/hooks/invalidate/index.d.mts +12 -0
- package/dist/hooks/invalidate/index.d.mts.map +1 -0
- package/dist/hooks/invalidate/index.d.ts +2 -2
- package/dist/hooks/invalidate/index.d.ts.map +1 -1
- package/dist/hooks/legacy-router/index.d.cts +2 -0
- package/dist/hooks/legacy-router/index.d.cts.map +1 -0
- package/dist/hooks/legacy-router/index.d.mts +2 -0
- package/dist/hooks/legacy-router/index.d.mts.map +1 -0
- package/dist/hooks/legacy-router/useRouterContext.d.cts +10 -0
- package/dist/hooks/legacy-router/useRouterContext.d.cts.map +1 -0
- package/dist/hooks/legacy-router/useRouterContext.d.mts +10 -0
- package/dist/hooks/legacy-router/useRouterContext.d.mts.map +1 -0
- package/dist/hooks/legacy-router/useRouterContext.d.ts.map +1 -1
- package/dist/hooks/live/index.d.cts +5 -0
- package/dist/hooks/live/index.d.cts.map +1 -0
- package/dist/hooks/live/index.d.mts +5 -0
- package/dist/hooks/live/index.d.mts.map +1 -0
- package/dist/hooks/live/useLiveMode/index.d.cts +3 -0
- package/dist/hooks/live/useLiveMode/index.d.cts.map +1 -0
- package/dist/hooks/live/useLiveMode/index.d.mts +3 -0
- package/dist/hooks/live/useLiveMode/index.d.mts.map +1 -0
- package/dist/hooks/live/useLiveMode/index.d.ts +1 -1
- package/dist/hooks/live/useLiveMode/index.d.ts.map +1 -1
- package/dist/hooks/live/usePublish/index.d.cts +3 -0
- package/dist/hooks/live/usePublish/index.d.cts.map +1 -0
- package/dist/hooks/live/usePublish/index.d.mts +3 -0
- package/dist/hooks/live/usePublish/index.d.mts.map +1 -0
- package/dist/hooks/live/usePublish/index.d.ts +2 -2
- package/dist/hooks/live/usePublish/index.d.ts.map +1 -1
- package/dist/hooks/live/useResourceSubscription/index.d.cts +43 -0
- package/dist/hooks/live/useResourceSubscription/index.d.cts.map +1 -0
- package/dist/hooks/live/useResourceSubscription/index.d.mts +43 -0
- package/dist/hooks/live/useResourceSubscription/index.d.mts.map +1 -0
- package/dist/hooks/live/useResourceSubscription/index.d.ts +7 -8
- package/dist/hooks/live/useResourceSubscription/index.d.ts.map +1 -1
- package/dist/hooks/live/useSubscription/index.d.cts +57 -0
- package/dist/hooks/live/useSubscription/index.d.cts.map +1 -0
- package/dist/hooks/live/useSubscription/index.d.mts +57 -0
- package/dist/hooks/live/useSubscription/index.d.mts.map +1 -0
- package/dist/hooks/live/useSubscription/index.d.ts +6 -5
- package/dist/hooks/live/useSubscription/index.d.ts.map +1 -1
- package/dist/hooks/memoized/index.d.cts +6 -0
- package/dist/hooks/memoized/index.d.cts.map +1 -0
- package/dist/hooks/memoized/index.d.mts +6 -0
- package/dist/hooks/memoized/index.d.mts.map +1 -0
- package/dist/hooks/memoized/index.d.ts.map +1 -1
- package/dist/hooks/menu/index.d.cts +2 -0
- package/dist/hooks/menu/index.d.cts.map +1 -0
- package/dist/hooks/menu/index.d.mts +2 -0
- package/dist/hooks/menu/index.d.mts.map +1 -0
- package/dist/hooks/menu/useMenu.d.cts +28 -0
- package/dist/hooks/menu/useMenu.d.cts.map +1 -0
- package/dist/hooks/menu/useMenu.d.mts +28 -0
- package/dist/hooks/menu/useMenu.d.mts.map +1 -0
- package/dist/hooks/menu/useMenu.d.ts +3 -3
- package/dist/hooks/menu/useMenu.d.ts.map +1 -1
- package/dist/hooks/modal/index.d.cts +2 -0
- package/dist/hooks/modal/index.d.cts.map +1 -0
- package/dist/hooks/modal/index.d.mts +2 -0
- package/dist/hooks/modal/index.d.mts.map +1 -0
- package/dist/hooks/modal/useModal/index.d.cts +13 -0
- package/dist/hooks/modal/useModal/index.d.cts.map +1 -0
- package/dist/hooks/modal/useModal/index.d.mts +13 -0
- package/dist/hooks/modal/useModal/index.d.mts.map +1 -0
- package/dist/hooks/modal/useModal/index.d.ts +2 -2
- package/dist/hooks/modal/useModal/index.d.ts.map +1 -1
- package/dist/hooks/navigation/index.d.cts +28 -0
- package/dist/hooks/navigation/index.d.cts.map +1 -0
- package/dist/hooks/navigation/index.d.mts +28 -0
- package/dist/hooks/navigation/index.d.mts.map +1 -0
- package/dist/hooks/navigation/index.d.ts +3 -2
- package/dist/hooks/navigation/index.d.ts.map +1 -1
- package/dist/hooks/notification/index.d.cts +4 -0
- package/dist/hooks/notification/index.d.cts.map +1 -0
- package/dist/hooks/notification/index.d.mts +4 -0
- package/dist/hooks/notification/index.d.mts.map +1 -0
- package/dist/hooks/notification/useCancelNotification/index.d.cts +8 -0
- package/dist/hooks/notification/useCancelNotification/index.d.cts.map +1 -0
- package/dist/hooks/notification/useCancelNotification/index.d.mts +8 -0
- package/dist/hooks/notification/useCancelNotification/index.d.mts.map +1 -0
- package/dist/hooks/notification/useCancelNotification/index.d.ts +2 -2
- package/dist/hooks/notification/useCancelNotification/index.d.ts.map +1 -1
- package/dist/hooks/notification/useHandleNotification/index.d.cts +3 -0
- package/dist/hooks/notification/useHandleNotification/index.d.cts.map +1 -0
- package/dist/hooks/notification/useHandleNotification/index.d.mts +3 -0
- package/dist/hooks/notification/useHandleNotification/index.d.mts.map +1 -0
- package/dist/hooks/notification/useHandleNotification/index.d.ts +1 -1
- package/dist/hooks/notification/useHandleNotification/index.d.ts.map +1 -1
- package/dist/hooks/notification/useNotification/index.d.cts +3 -0
- package/dist/hooks/notification/useNotification/index.d.cts.map +1 -0
- package/dist/hooks/notification/useNotification/index.d.mts +3 -0
- package/dist/hooks/notification/useNotification/index.d.mts.map +1 -0
- package/dist/hooks/notification/useNotification/index.d.ts +1 -1
- package/dist/hooks/notification/useNotification/index.d.ts.map +1 -1
- package/dist/hooks/redirection/index.d.cts +11 -0
- package/dist/hooks/redirection/index.d.cts.map +1 -0
- package/dist/hooks/redirection/index.d.mts +11 -0
- package/dist/hooks/redirection/index.d.mts.map +1 -0
- package/dist/hooks/redirection/index.d.ts +4 -2
- package/dist/hooks/redirection/index.d.ts.map +1 -1
- package/dist/hooks/refine/index.d.cts +6 -0
- package/dist/hooks/refine/index.d.cts.map +1 -0
- package/dist/hooks/refine/index.d.mts +6 -0
- package/dist/hooks/refine/index.d.mts.map +1 -0
- package/dist/hooks/refine/useMutationMode.d.cts +16 -0
- package/dist/hooks/refine/useMutationMode.d.cts.map +1 -0
- package/dist/hooks/refine/useMutationMode.d.mts +16 -0
- package/dist/hooks/refine/useMutationMode.d.mts.map +1 -0
- package/dist/hooks/refine/useMutationMode.d.ts +3 -2
- package/dist/hooks/refine/useMutationMode.d.ts.map +1 -1
- package/dist/hooks/refine/useRefineContext.d.cts +20 -0
- package/dist/hooks/refine/useRefineContext.d.cts.map +1 -0
- package/dist/hooks/refine/useRefineContext.d.mts +20 -0
- package/dist/hooks/refine/useRefineContext.d.mts.map +1 -0
- package/dist/hooks/refine/useRefineContext.d.ts +2 -2
- package/dist/hooks/refine/useSyncWithLocation.d.cts +13 -0
- package/dist/hooks/refine/useSyncWithLocation.d.cts.map +1 -0
- package/dist/hooks/refine/useSyncWithLocation.d.mts +13 -0
- package/dist/hooks/refine/useSyncWithLocation.d.mts.map +1 -0
- package/dist/hooks/refine/useSyncWithLocation.d.ts +2 -2
- package/dist/hooks/refine/useSyncWithLocation.d.ts.map +1 -1
- package/dist/hooks/refine/useTitle.d.cts +10 -0
- package/dist/hooks/refine/useTitle.d.cts.map +1 -0
- package/dist/hooks/refine/useTitle.d.mts +10 -0
- package/dist/hooks/refine/useTitle.d.mts.map +1 -0
- package/dist/hooks/refine/useTitle.d.ts +1 -1
- package/dist/hooks/refine/useTitle.d.ts.map +1 -1
- package/dist/hooks/refine/useWarnAboutChange/index.d.cts +16 -0
- package/dist/hooks/refine/useWarnAboutChange/index.d.cts.map +1 -0
- package/dist/hooks/refine/useWarnAboutChange/index.d.mts +16 -0
- package/dist/hooks/refine/useWarnAboutChange/index.d.mts.map +1 -0
- package/dist/hooks/refine/useWarnAboutChange/index.d.ts +3 -2
- package/dist/hooks/refine/useWarnAboutChange/index.d.ts.map +1 -1
- package/dist/hooks/resource/index.d.cts +3 -0
- package/dist/hooks/resource/index.d.cts.map +1 -0
- package/dist/hooks/resource/index.d.mts +3 -0
- package/dist/hooks/resource/index.d.mts.map +1 -0
- package/dist/hooks/resource/useResource/index.d.cts +63 -0
- package/dist/hooks/resource/useResource/index.d.cts.map +1 -0
- package/dist/hooks/resource/useResource/index.d.mts +63 -0
- package/dist/hooks/resource/useResource/index.d.mts.map +1 -0
- package/dist/hooks/resource/useResource/index.d.ts +14 -6
- package/dist/hooks/resource/useResource/index.d.ts.map +1 -1
- package/dist/hooks/resource/useResourceWithRoute/index.d.cts +8 -0
- package/dist/hooks/resource/useResourceWithRoute/index.d.cts.map +1 -0
- package/dist/hooks/resource/useResourceWithRoute/index.d.mts +8 -0
- package/dist/hooks/resource/useResourceWithRoute/index.d.mts.map +1 -0
- package/dist/hooks/resource/useResourceWithRoute/index.d.ts +2 -2
- package/dist/hooks/resource/useResourceWithRoute/index.d.ts.map +1 -1
- package/dist/hooks/router/index.d.cts +8 -0
- package/dist/hooks/router/index.d.cts.map +1 -0
- package/dist/hooks/router/index.d.mts +8 -0
- package/dist/hooks/router/index.d.mts.map +1 -0
- package/dist/hooks/router/use-back/index.d.cts +2 -0
- package/dist/hooks/router/use-back/index.d.cts.map +1 -0
- package/dist/hooks/router/use-back/index.d.mts +2 -0
- package/dist/hooks/router/use-back/index.d.mts.map +1 -0
- package/dist/hooks/router/use-get-to-path/index.d.cts +19 -0
- package/dist/hooks/router/use-get-to-path/index.d.cts.map +1 -0
- package/dist/hooks/router/use-get-to-path/index.d.mts +19 -0
- package/dist/hooks/router/use-get-to-path/index.d.mts.map +1 -0
- package/dist/hooks/router/use-get-to-path/index.d.ts +4 -3
- package/dist/hooks/router/use-get-to-path/index.d.ts.map +1 -1
- package/dist/hooks/router/use-go/index.d.cts +33 -0
- package/dist/hooks/router/use-go/index.d.cts.map +1 -0
- package/dist/hooks/router/use-go/index.d.mts +33 -0
- package/dist/hooks/router/use-go/index.d.mts.map +1 -0
- package/dist/hooks/router/use-go/index.d.ts +7 -5
- package/dist/hooks/router/use-go/index.d.ts.map +1 -1
- package/dist/hooks/router/use-link/index.d.cts +6 -0
- package/dist/hooks/router/use-link/index.d.cts.map +1 -0
- package/dist/hooks/router/use-link/index.d.mts +6 -0
- package/dist/hooks/router/use-link/index.d.mts.map +1 -0
- package/dist/hooks/router/use-parse/index.d.cts +5 -0
- package/dist/hooks/router/use-parse/index.d.cts.map +1 -0
- package/dist/hooks/router/use-parse/index.d.mts +5 -0
- package/dist/hooks/router/use-parse/index.d.mts.map +1 -0
- package/dist/hooks/router/use-parse/index.d.ts +2 -2
- package/dist/hooks/router/use-parse/index.d.ts.map +1 -1
- package/dist/hooks/router/use-parsed/index.d.cts +2 -0
- package/dist/hooks/router/use-parsed/index.d.cts.map +1 -0
- package/dist/hooks/router/use-parsed/index.d.mts +2 -0
- package/dist/hooks/router/use-parsed/index.d.mts.map +1 -0
- package/dist/hooks/router/use-router-misuse-warning/index.d.cts +3 -0
- package/dist/hooks/router/use-router-misuse-warning/index.d.cts.map +1 -0
- package/dist/hooks/router/use-router-misuse-warning/index.d.mts +3 -0
- package/dist/hooks/router/use-router-misuse-warning/index.d.mts.map +1 -0
- package/dist/hooks/router/use-router-misuse-warning/index.d.ts +2 -2
- package/dist/hooks/router/use-router-misuse-warning/index.d.ts.map +1 -1
- package/dist/hooks/router/use-to-path/index.d.cts +18 -0
- package/dist/hooks/router/use-to-path/index.d.cts.map +1 -0
- package/dist/hooks/router/use-to-path/index.d.mts +18 -0
- package/dist/hooks/router/use-to-path/index.d.mts.map +1 -0
- package/dist/hooks/router/use-to-path/index.d.ts +3 -2
- package/dist/hooks/router/use-to-path/index.d.ts.map +1 -1
- package/dist/hooks/show/index.d.cts +17 -0
- package/dist/hooks/show/index.d.cts.map +1 -0
- package/dist/hooks/show/index.d.mts +17 -0
- package/dist/hooks/show/index.d.mts.map +1 -0
- package/dist/hooks/show/index.d.ts +16 -1
- package/dist/hooks/show/index.d.ts.map +1 -1
- package/dist/hooks/show/types.d.cts +52 -0
- package/dist/hooks/show/types.d.cts.map +1 -0
- package/dist/hooks/show/types.d.mts +52 -0
- package/dist/hooks/show/types.d.mts.map +1 -0
- package/dist/hooks/show/types.d.ts +52 -0
- package/dist/hooks/show/types.d.ts.map +1 -0
- package/dist/hooks/show/useShow.d.cts +57 -0
- package/dist/hooks/show/useShow.d.cts.map +1 -0
- package/dist/hooks/show/useShow.d.mts +57 -0
- package/dist/hooks/show/useShow.d.mts.map +1 -0
- package/dist/hooks/show/useShow.d.ts +5 -3
- package/dist/hooks/show/useShow.d.ts.map +1 -1
- package/dist/hooks/use-refine-options/index.d.cts +2 -0
- package/dist/hooks/use-refine-options/index.d.cts.map +1 -0
- package/dist/hooks/use-refine-options/index.d.mts +2 -0
- package/dist/hooks/use-refine-options/index.d.mts.map +1 -0
- package/dist/hooks/use-refine-options/index.d.ts +2 -0
- package/dist/hooks/use-refine-options/index.d.ts.map +1 -0
- package/dist/hooks/use-resource-params/index.d.cts +43 -0
- package/dist/hooks/use-resource-params/index.d.cts.map +1 -0
- package/dist/hooks/use-resource-params/index.d.mts +43 -0
- package/dist/hooks/use-resource-params/index.d.mts.map +1 -0
- package/dist/hooks/use-resource-params/index.d.ts +43 -0
- package/dist/hooks/use-resource-params/index.d.ts.map +1 -0
- package/dist/hooks/use-resource-params/use-action/index.d.cts +12 -0
- package/dist/hooks/use-resource-params/use-action/index.d.cts.map +1 -0
- package/dist/hooks/use-resource-params/use-action/index.d.mts +12 -0
- package/dist/hooks/use-resource-params/use-action/index.d.mts.map +1 -0
- package/dist/hooks/use-resource-params/use-action/index.d.ts +12 -0
- package/dist/hooks/use-resource-params/use-action/index.d.ts.map +1 -0
- package/dist/hooks/use-resource-params/use-id/index.d.cts +12 -0
- package/dist/hooks/use-resource-params/use-id/index.d.cts.map +1 -0
- package/dist/hooks/use-resource-params/use-id/index.d.mts +12 -0
- package/dist/hooks/use-resource-params/use-id/index.d.mts.map +1 -0
- package/dist/hooks/use-resource-params/use-id/index.d.ts +12 -0
- package/dist/hooks/use-resource-params/use-id/index.d.ts.map +1 -0
- package/dist/hooks/useKeys/index.d.cts +5 -0
- package/dist/hooks/useKeys/index.d.cts.map +1 -0
- package/dist/hooks/useKeys/index.d.mts +5 -0
- package/dist/hooks/useKeys/index.d.mts.map +1 -0
- package/dist/hooks/useLoadingOvertime/index.d.cts +49 -0
- package/dist/hooks/useLoadingOvertime/index.d.cts.map +1 -0
- package/dist/hooks/useLoadingOvertime/index.d.mts +49 -0
- package/dist/hooks/useLoadingOvertime/index.d.mts.map +1 -0
- package/dist/hooks/useLoadingOvertime/index.d.ts +6 -6
- package/dist/hooks/useLoadingOvertime/index.d.ts.map +1 -1
- package/dist/hooks/useMeta/index.d.cts +19 -0
- package/dist/hooks/useMeta/index.d.cts.map +1 -0
- package/dist/hooks/useMeta/index.d.mts +19 -0
- package/dist/hooks/useMeta/index.d.mts.map +1 -0
- package/dist/hooks/useMeta/index.d.ts +4 -3
- package/dist/hooks/useMeta/index.d.ts.map +1 -1
- package/dist/hooks/useSelect/index.d.cts +131 -0
- package/dist/hooks/useSelect/index.d.cts.map +1 -0
- package/dist/hooks/useSelect/index.d.mts +131 -0
- package/dist/hooks/useSelect/index.d.mts.map +1 -0
- package/dist/hooks/useSelect/index.d.ts +27 -11
- package/dist/hooks/useSelect/index.d.ts.map +1 -1
- package/dist/hooks/useTable/index.d.cts +167 -0
- package/dist/hooks/useTable/index.d.cts.map +1 -0
- package/dist/hooks/useTable/index.d.mts +167 -0
- package/dist/hooks/useTable/index.d.mts.map +1 -0
- package/dist/hooks/useTable/index.d.ts +25 -23
- package/dist/hooks/useTable/index.d.ts.map +1 -1
- package/dist/hooks/useTelemetryData/index.d.cts +3 -0
- package/dist/hooks/useTelemetryData/index.d.cts.map +1 -0
- package/dist/hooks/useTelemetryData/index.d.mts +3 -0
- package/dist/hooks/useTelemetryData/index.d.mts.map +1 -0
- package/dist/hooks/useTelemetryData/index.d.ts +1 -1
- package/dist/hooks/useTelemetryData/index.d.ts.map +1 -1
- package/dist/index.cjs +72 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +24 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +24 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +17 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +72 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +25 -10
- package/refine.config.js +97 -102
- package/src/components/authenticated/index.tsx +159 -161
- package/src/components/autoSaveIndicator/index.tsx +52 -29
- package/src/components/canAccess/index.tsx +89 -97
- package/src/components/containers/index.ts +1 -1
- package/src/components/containers/refine/index.tsx +185 -375
- package/src/components/gh-banner/index.tsx +235 -242
- package/src/components/gh-banner/styles.ts +5 -5
- package/src/components/index.ts +1 -1
- package/src/components/layoutWrapper/defaultLayout/index.tsx +2 -2
- package/src/components/layoutWrapper/index.tsx +89 -88
- package/src/components/pages/auth/components/forgotPassword/index.tsx +86 -98
- package/src/components/pages/auth/components/login/index.tsx +170 -185
- package/src/components/pages/auth/components/register/index.tsx +144 -161
- package/src/components/pages/auth/components/updatePassword/index.tsx +81 -90
- package/src/components/pages/auth/index.tsx +29 -29
- package/src/components/pages/auth/types.tsx +228 -0
- package/src/components/pages/config-error/index.tsx +422 -422
- package/src/components/pages/config-success/index.tsx +249 -260
- package/src/components/pages/error/index.tsx +48 -48
- package/src/components/pages/login/index.tsx +59 -73
- package/src/components/pages/ready/index.tsx +21 -29
- package/src/components/pages/welcome/index.tsx +7 -7
- package/src/components/routeChangeHandler/index.tsx +7 -7
- package/src/components/telemetry/index.tsx +32 -32
- package/src/components/telemetry/types.ts +15 -0
- package/src/components/undoableQueue/index.tsx +53 -51
- package/src/contexts/accessControl/index.tsx +36 -40
- package/src/contexts/accessControl/types.ts +93 -0
- package/src/contexts/auditLog/index.tsx +8 -10
- package/src/contexts/auditLog/types.ts +45 -0
- package/src/contexts/auth/index.tsx +169 -172
- package/src/contexts/auth/types.ts +115 -0
- package/src/contexts/data/index.tsx +31 -26
- package/src/contexts/data/types.ts +490 -0
- package/src/contexts/i18n/index.tsx +23 -0
- package/src/contexts/i18n/types.ts +22 -0
- package/src/contexts/live/index.tsx +11 -11
- package/src/contexts/live/types.ts +113 -0
- package/src/contexts/notification/index.tsx +8 -10
- package/src/contexts/notification/types.ts +47 -0
- package/src/contexts/refine/index.tsx +85 -83
- package/src/contexts/refine/types.ts +323 -0
- package/src/contexts/resource/index.tsx +12 -22
- package/src/contexts/resource/types.ts +205 -0
- package/src/contexts/router/index.tsx +12 -11
- package/src/contexts/router/legacy/index.tsx +41 -0
- package/src/contexts/router/legacy/types.ts +50 -0
- package/src/contexts/router/picker/index.tsx +21 -0
- package/src/contexts/router/types.ts +79 -0
- package/src/contexts/undoableQueue/index.tsx +82 -0
- package/src/contexts/undoableQueue/types.ts +22 -0
- package/src/contexts/unsavedWarn/index.tsx +10 -10
- package/src/contexts/unsavedWarn/types.ts +4 -0
- package/src/definitions/helpers/async-debounce/index.ts +67 -0
- package/src/definitions/helpers/check-router-prop-misuse/index.ts +22 -21
- package/src/definitions/helpers/defer-execution/index.ts +10 -0
- package/src/definitions/helpers/downloadInBrowser/index.ts +19 -20
- package/src/definitions/helpers/flatten-object-keys/index.ts +26 -29
- package/src/definitions/helpers/generateDocumentTitle/index.ts +47 -52
- package/src/definitions/helpers/handleMultiple/index.ts +4 -4
- package/src/definitions/helpers/handlePaginationParams/index.ts +18 -19
- package/src/definitions/helpers/handleRefineOptions/index.ts +90 -91
- package/src/definitions/helpers/handleUseParams/index.tsx +7 -7
- package/src/definitions/helpers/hasPermission/index.ts +6 -6
- package/src/definitions/helpers/humanizeString/index.ts +9 -9
- package/src/definitions/helpers/importCSVMapper/index.ts +11 -10
- package/src/definitions/helpers/index.ts +4 -2
- package/src/definitions/helpers/keys/index.ts +206 -259
- package/src/definitions/helpers/legacy-resource-transform/index.ts +13 -17
- package/src/definitions/helpers/menu/create-resource-key.ts +21 -24
- package/src/definitions/helpers/menu/create-tree.ts +62 -64
- package/src/definitions/helpers/pick-resource/index.ts +26 -26
- package/src/definitions/helpers/pickDataProvider/index.ts +16 -16
- package/src/definitions/helpers/pickNotDeprecated/index.ts +2 -2
- package/src/definitions/helpers/property-path-to-array/index.ts +3 -3
- package/src/definitions/helpers/queryKeys/index.ts +94 -95
- package/src/definitions/helpers/redirectPage/index.ts +22 -20
- package/src/definitions/helpers/routeGenerator/index.ts +17 -17
- package/src/definitions/helpers/router/__tests__/check-by-segments.ts +12 -15
- package/src/definitions/helpers/router/__tests__/compose-route.ts +48 -48
- package/src/definitions/helpers/router/__tests__/get-action-routes-from-resource.ts +152 -152
- package/src/definitions/helpers/router/__tests__/get-default-action-path.ts +39 -41
- package/src/definitions/helpers/router/__tests__/get-parent-prefix-for-resource.ts +69 -73
- package/src/definitions/helpers/router/__tests__/get-parent-resource.ts +40 -40
- package/src/definitions/helpers/router/__tests__/is-segment-counts-same.ts +11 -14
- package/src/definitions/helpers/router/__tests__/match-resource-from-route.ts +55 -55
- package/src/definitions/helpers/router/__tests__/pick-matched-route.ts +74 -74
- package/src/definitions/helpers/router/__tests__/pick-route-params.ts +12 -12
- package/src/definitions/helpers/router/__tests__/prepare-route-params.ts +18 -18
- package/src/definitions/helpers/router/__tests__/remove-leading-trailing-slashes.ts +9 -9
- package/src/definitions/helpers/router/__tests__/split-to-segments.ts +9 -9
- package/src/definitions/helpers/router/check-by-segments.ts +12 -12
- package/src/definitions/helpers/router/compose-route.ts +27 -28
- package/src/definitions/helpers/router/get-action-routes-from-resource.ts +43 -48
- package/src/definitions/helpers/router/get-default-action-path.ts +20 -20
- package/src/definitions/helpers/router/get-parent-prefix-for-resource.ts +23 -25
- package/src/definitions/helpers/router/get-parent-resource.ts +19 -19
- package/src/definitions/helpers/router/is-parameter.ts +1 -1
- package/src/definitions/helpers/router/is-segment-counts-same.ts +3 -3
- package/src/definitions/helpers/router/match-resource-from-route.ts +21 -20
- package/src/definitions/helpers/router/pick-matched-route.ts +44 -44
- package/src/definitions/helpers/router/pick-route-params.ts +7 -7
- package/src/definitions/helpers/router/prepare-route-params.ts +13 -10
- package/src/definitions/helpers/router/remove-leading-trailing-slashes.ts +1 -1
- package/src/definitions/helpers/router/split-to-segments.ts +2 -2
- package/src/definitions/helpers/safe-translate/index.ts +13 -13
- package/src/definitions/helpers/sanitize-resource/index.ts +27 -28
- package/src/definitions/helpers/sequentialPromises/index.ts +21 -21
- package/src/definitions/helpers/treeView/createTreeView/index.ts +39 -34
- package/src/definitions/helpers/useActiveAuthProvider/index.ts +18 -18
- package/src/definitions/helpers/useInfinitePagination/index.ts +17 -17
- package/src/definitions/helpers/useMediaQuery/index.ts +11 -11
- package/src/definitions/helpers/useUserFriendlyName/index.ts +11 -14
- package/src/definitions/helpers/userFriendlyResourceName/index.ts +7 -7
- package/src/definitions/helpers/userFriendlySeconds/index.ts +1 -1
- package/src/definitions/table/index.ts +134 -138
- package/src/definitions/upload/file2Base64/index.ts +15 -15
- package/src/hooks/accessControl/useCan/index.ts +59 -57
- package/src/hooks/accessControl/useCanWithoutCache.ts +32 -32
- package/src/hooks/auditLog/useLog/index.ts +129 -126
- package/src/hooks/auditLog/useLogList/index.ts +48 -46
- package/src/hooks/auth/useForgotPassword/index.ts +168 -168
- package/src/hooks/auth/useGetIdentity/index.ts +58 -59
- package/src/hooks/auth/useInvalidateAuthStore/index.ts +12 -12
- package/src/hooks/auth/useIsAuthenticated/index.ts +50 -53
- package/src/hooks/auth/useIsExistAuthentication/index.ts +3 -3
- package/src/hooks/auth/useLogin/index.ts +188 -200
- package/src/hooks/auth/useLogout/index.ts +187 -183
- package/src/hooks/auth/useOnError/index.ts +79 -78
- package/src/hooks/auth/usePermissions/index.ts +97 -64
- package/src/hooks/auth/useRegister/index.ts +176 -183
- package/src/hooks/auth/useUpdatePassword/index.ts +190 -199
- package/src/hooks/breadcrumb/index.ts +106 -112
- package/src/hooks/button/actionable-button/index.tsx +26 -0
- package/src/hooks/button/button-can-access/index.tsx +72 -0
- package/src/hooks/button/delete-button/index.tsx +101 -0
- package/src/hooks/button/index.tsx +35 -0
- package/src/hooks/button/navigation-button/index.tsx +106 -0
- package/src/hooks/button/refresh-button/index.tsx +65 -0
- package/src/hooks/data/useApiUrl.ts +7 -8
- package/src/hooks/data/useCreate.ts +245 -244
- package/src/hooks/data/useCreateMany.ts +222 -228
- package/src/hooks/data/useCustom.ts +185 -185
- package/src/hooks/data/useCustomMutation.ts +179 -178
- package/src/hooks/data/useDataProvider.tsx +35 -33
- package/src/hooks/data/useDelete.ts +451 -457
- package/src/hooks/data/useDeleteMany.ts +479 -487
- package/src/hooks/data/useInfiniteList.ts +283 -283
- package/src/hooks/data/useList.ts +283 -285
- package/src/hooks/data/useMany.ts +218 -218
- package/src/hooks/data/useOne.ts +213 -213
- package/src/hooks/data/useUpdate.ts +556 -559
- package/src/hooks/data/useUpdateMany.ts +584 -587
- package/src/hooks/deepMemo/index.tsx +5 -5
- package/src/hooks/export/index.ts +230 -221
- package/src/hooks/export/types.ts +31 -0
- package/src/hooks/form/index.ts +363 -1
- package/src/hooks/form/types.ts +249 -0
- package/src/hooks/i18n/index.ts +4 -0
- package/src/hooks/i18n/useGetLocale.ts +17 -0
- package/src/hooks/i18n/useSetLocale.ts +15 -0
- package/src/hooks/i18n/useTranslate.ts +40 -0
- package/src/hooks/i18n/useTranslation.tsx +24 -0
- package/src/hooks/import/index.tsx +268 -271
- package/src/hooks/index.ts +6 -2
- package/src/hooks/invalidate/index.tsx +79 -78
- package/src/hooks/legacy-router/useRouterContext.ts +13 -12
- package/src/hooks/live/useLiveMode/index.ts +8 -5
- package/src/hooks/live/usePublish/index.ts +4 -4
- package/src/hooks/live/useResourceSubscription/index.ts +105 -107
- package/src/hooks/live/useSubscription/index.ts +78 -78
- package/src/hooks/memoized/index.tsx +6 -6
- package/src/hooks/menu/useMenu.tsx +120 -125
- package/src/hooks/modal/useModal/index.tsx +16 -16
- package/src/hooks/navigation/index.ts +370 -398
- package/src/hooks/notification/useCancelNotification/index.tsx +6 -6
- package/src/hooks/notification/useHandleNotification/index.ts +19 -18
- package/src/hooks/notification/useNotification/index.ts +3 -3
- package/src/hooks/redirection/index.ts +45 -48
- package/src/hooks/refine/useMutationMode.ts +17 -7
- package/src/hooks/refine/useRefineContext.ts +36 -36
- package/src/hooks/refine/useSyncWithLocation.ts +4 -4
- package/src/hooks/refine/useTitle.tsx +5 -3
- package/src/hooks/refine/useWarnAboutChange/index.ts +12 -14
- package/src/hooks/resource/useResource/index.ts +151 -151
- package/src/hooks/resource/useResourceWithRoute/index.ts +16 -14
- package/src/hooks/router/use-back/index.tsx +8 -8
- package/src/hooks/router/use-get-to-path/index.ts +41 -39
- package/src/hooks/router/use-go/index.tsx +76 -74
- package/src/hooks/router/use-link/index.tsx +10 -10
- package/src/hooks/router/use-parse/index.tsx +15 -15
- package/src/hooks/router/use-parsed/index.tsx +4 -4
- package/src/hooks/router/use-router-misuse-warning/index.ts +12 -12
- package/src/hooks/router/use-to-path/index.ts +12 -11
- package/src/hooks/show/index.ts +92 -1
- package/src/hooks/show/types.ts +92 -0
- package/src/hooks/show/useShow.ts +138 -137
- package/src/hooks/use-refine-options/index.tsx +8 -0
- package/src/hooks/use-resource-params/index.ts +89 -0
- package/src/hooks/use-resource-params/use-action/index.tsx +27 -0
- package/src/hooks/use-resource-params/use-id/index.tsx +26 -0
- package/src/hooks/useKeys/index.tsx +7 -7
- package/src/hooks/useLoadingOvertime/index.ts +74 -76
- package/src/hooks/useMeta/index.ts +24 -22
- package/src/hooks/useSelect/index.ts +321 -281
- package/src/hooks/useTable/index.ts +492 -515
- package/src/hooks/useTelemetryData/index.ts +53 -53
- package/src/index.tsx +175 -132
- package/tsconfig.json +24 -25
- package/dist/contexts/accessControl/IAccessControlContext.d.ts +0 -49
- package/dist/contexts/accessControl/IAccessControlContext.d.ts.map +0 -1
- package/dist/contexts/auditLog/IAuditLogContext.d.ts +0 -29
- package/dist/contexts/auditLog/IAuditLogContext.d.ts.map +0 -1
- package/dist/contexts/auth/IAuthContext.d.ts +0 -26
- package/dist/contexts/auth/IAuthContext.d.ts.map +0 -1
- package/dist/contexts/data/IDataContext.d.ts +0 -203
- package/dist/contexts/data/IDataContext.d.ts.map +0 -1
- package/dist/contexts/legacy-router/IRouterContext.d.ts +0 -35
- package/dist/contexts/legacy-router/IRouterContext.d.ts.map +0 -1
- package/dist/contexts/legacy-router/index.d.ts +0 -9
- package/dist/contexts/legacy-router/index.d.ts.map +0 -1
- package/dist/contexts/live/ILiveContext.d.ts +0 -49
- package/dist/contexts/live/ILiveContext.d.ts.map +0 -1
- package/dist/contexts/notification/INotificationContext.d.ts +0 -14
- package/dist/contexts/notification/INotificationContext.d.ts.map +0 -1
- package/dist/contexts/refine/IRefineContext.d.ts +0 -129
- package/dist/contexts/refine/IRefineContext.d.ts.map +0 -1
- package/dist/contexts/resource/IResourceContext.d.ts +0 -49
- package/dist/contexts/resource/IResourceContext.d.ts.map +0 -1
- package/dist/contexts/router-picker/index.d.ts.map +0 -1
- package/dist/contexts/translation/ITranslationContext.d.ts +0 -11
- package/dist/contexts/translation/ITranslationContext.d.ts.map +0 -1
- package/dist/contexts/translation/index.d.ts +0 -9
- package/dist/contexts/translation/index.d.ts.map +0 -1
- package/dist/contexts/undoableQueue/IUndoableQueueContext.d.ts +0 -7
- package/dist/contexts/undoableQueue/IUndoableQueueContext.d.ts.map +0 -1
- package/dist/contexts/undoableQueue/actionTypes.d.ts +0 -6
- package/dist/contexts/undoableQueue/actionTypes.d.ts.map +0 -1
- package/dist/contexts/undoableQueue/undoableQueueContext.d.ts +0 -8
- package/dist/contexts/undoableQueue/undoableQueueContext.d.ts.map +0 -1
- package/dist/contexts/unsavedWarn/IUnsavedWarnContext.d.ts +0 -5
- package/dist/contexts/unsavedWarn/IUnsavedWarnContext.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/check-by-segments.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/check-by-segments.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/compose-route.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/compose-route.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/get-action-routes-from-resource.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/get-action-routes-from-resource.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/get-default-action-path.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/get-default-action-path.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/get-parent-prefix-for-resource.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/get-parent-prefix-for-resource.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/get-parent-resource.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/get-parent-resource.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/is-segment-counts-same.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/is-segment-counts-same.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/match-resource-from-route.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/match-resource-from-route.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/pick-matched-route.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/pick-matched-route.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/pick-route-params.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/pick-route-params.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/prepare-route-params.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/prepare-route-params.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/remove-leading-trailing-slashes.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/remove-leading-trailing-slashes.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/split-to-segments.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/split-to-segments.d.ts.map +0 -1
- package/dist/esm/index.js +0 -72
- package/dist/esm/index.js.map +0 -1
- package/dist/hooks/export/csvDownload.interface.d.ts +0 -20
- package/dist/hooks/export/csvDownload.interface.d.ts.map +0 -1
- package/dist/hooks/form/useForm.d.ts +0 -126
- package/dist/hooks/form/useForm.d.ts.map +0 -1
- package/dist/hooks/translate/index.d.ts +0 -4
- package/dist/hooks/translate/index.d.ts.map +0 -1
- package/dist/hooks/translate/useGetLocale.d.ts +0 -9
- package/dist/hooks/translate/useGetLocale.d.ts.map +0 -1
- package/dist/hooks/translate/useSetLocale.d.ts +0 -8
- package/dist/hooks/translate/useSetLocale.d.ts.map +0 -1
- package/dist/hooks/translate/useTranslate.d.ts.map +0 -1
- package/dist/iife/index.js +0 -72
- package/dist/iife/index.js.map +0 -1
- package/dist/index.js +0 -72
- package/dist/index.js.map +0 -1
- package/dist/interfaces/actions.d.ts +0 -10
- package/dist/interfaces/actions.d.ts.map +0 -1
- package/dist/interfaces/auditLog/index.d.ts +0 -2
- package/dist/interfaces/auditLog/index.d.ts.map +0 -1
- package/dist/interfaces/auditLog/logData.d.ts +0 -14
- package/dist/interfaces/auditLog/logData.d.ts.map +0 -1
- package/dist/interfaces/auth.d.ts +0 -179
- package/dist/interfaces/auth.d.ts.map +0 -1
- package/dist/interfaces/autoSave.d.ts +0 -36
- package/dist/interfaces/autoSave.d.ts.map +0 -1
- package/dist/interfaces/bindings/access-control.d.ts +0 -50
- package/dist/interfaces/bindings/access-control.d.ts.map +0 -1
- package/dist/interfaces/bindings/auth.d.ts +0 -73
- package/dist/interfaces/bindings/auth.d.ts.map +0 -1
- package/dist/interfaces/bindings/data.d.ts +0 -15
- package/dist/interfaces/bindings/data.d.ts.map +0 -1
- package/dist/interfaces/bindings/i18n.d.ts +0 -19
- package/dist/interfaces/bindings/i18n.d.ts.map +0 -1
- package/dist/interfaces/bindings/index.d.ts +0 -9
- package/dist/interfaces/bindings/index.d.ts.map +0 -1
- package/dist/interfaces/bindings/live.d.ts +0 -43
- package/dist/interfaces/bindings/live.d.ts.map +0 -1
- package/dist/interfaces/bindings/notifications.d.ts +0 -24
- package/dist/interfaces/bindings/notifications.d.ts.map +0 -1
- package/dist/interfaces/bindings/resource.d.ts +0 -150
- package/dist/interfaces/bindings/resource.d.ts.map +0 -1
- package/dist/interfaces/bindings/router.d.ts +0 -67
- package/dist/interfaces/bindings/router.d.ts.map +0 -1
- package/dist/interfaces/customComponents.d.ts +0 -26
- package/dist/interfaces/customComponents.d.ts.map +0 -1
- package/dist/interfaces/errors/HttpError.d.ts +0 -12
- package/dist/interfaces/errors/HttpError.d.ts.map +0 -1
- package/dist/interfaces/errors/RefineError.d.ts +0 -3
- package/dist/interfaces/errors/RefineError.d.ts.map +0 -1
- package/dist/interfaces/errors/index.d.ts +0 -3
- package/dist/interfaces/errors/index.d.ts.map +0 -1
- package/dist/interfaces/form-url-params.d.ts +0 -12
- package/dist/interfaces/form-url-params.d.ts.map +0 -1
- package/dist/interfaces/index.d.ts +0 -57
- package/dist/interfaces/index.d.ts.map +0 -1
- package/dist/interfaces/live/LiveEvent.d.ts +0 -14
- package/dist/interfaces/live/LiveEvent.d.ts.map +0 -1
- package/dist/interfaces/live/LiveModeProps.d.ts +0 -27
- package/dist/interfaces/live/LiveModeProps.d.ts.map +0 -1
- package/dist/interfaces/live/index.d.ts +0 -3
- package/dist/interfaces/live/index.d.ts.map +0 -1
- package/dist/interfaces/mapDataFn.d.ts +0 -4
- package/dist/interfaces/mapDataFn.d.ts.map +0 -1
- package/dist/interfaces/metaData/fields.d.ts +0 -3
- package/dist/interfaces/metaData/fields.d.ts.map +0 -1
- package/dist/interfaces/metaData/graphqlQueryOptions.d.ts +0 -53
- package/dist/interfaces/metaData/graphqlQueryOptions.d.ts.map +0 -1
- package/dist/interfaces/metaData/index.d.ts +0 -3
- package/dist/interfaces/metaData/index.d.ts.map +0 -1
- package/dist/interfaces/metaData/metaDataQuery.d.ts +0 -10
- package/dist/interfaces/metaData/metaDataQuery.d.ts.map +0 -1
- package/dist/interfaces/metaData/metaQuery.d.ts +0 -8
- package/dist/interfaces/metaData/metaQuery.d.ts.map +0 -1
- package/dist/interfaces/metaData/nestedField.d.ts +0 -8
- package/dist/interfaces/metaData/nestedField.d.ts.map +0 -1
- package/dist/interfaces/metaData/queryBuilderOptions.d.ts +0 -8
- package/dist/interfaces/metaData/queryBuilderOptions.d.ts.map +0 -1
- package/dist/interfaces/metaData/variableOptions.d.ts +0 -10
- package/dist/interfaces/metaData/variableOptions.d.ts.map +0 -1
- package/dist/interfaces/mutationMode.d.ts +0 -20
- package/dist/interfaces/mutationMode.d.ts.map +0 -1
- package/dist/interfaces/notification.d.ts +0 -11
- package/dist/interfaces/notification.d.ts.map +0 -1
- package/dist/interfaces/optimistic-update-map.d.ts +0 -12
- package/dist/interfaces/optimistic-update-map.d.ts.map +0 -1
- package/dist/interfaces/prettify.d.ts +0 -4
- package/dist/interfaces/prettify.d.ts.map +0 -1
- package/dist/interfaces/queryKey.d.ts +0 -17
- package/dist/interfaces/queryKey.d.ts.map +0 -1
- package/dist/interfaces/resourceErrorRouterParams.d.ts +0 -6
- package/dist/interfaces/resourceErrorRouterParams.d.ts.map +0 -1
- package/dist/interfaces/resourceRouterParams.d.ts +0 -7
- package/dist/interfaces/resourceRouterParams.d.ts.map +0 -1
- package/dist/interfaces/successErrorNotification.d.ts +0 -15
- package/dist/interfaces/successErrorNotification.d.ts.map +0 -1
- package/dist/interfaces/telemetry.d.ts +0 -16
- package/dist/interfaces/telemetry.d.ts.map +0 -1
- package/dist/interfaces/textTransformers.d.ts +0 -21
- package/dist/interfaces/textTransformers.d.ts.map +0 -1
- package/src/contexts/accessControl/IAccessControlContext.ts +0 -52
- package/src/contexts/auditLog/IAuditLogContext.ts +0 -31
- package/src/contexts/auth/IAuthContext.ts +0 -27
- package/src/contexts/data/IDataContext.ts +0 -316
- package/src/contexts/legacy-router/IRouterContext.ts +0 -37
- package/src/contexts/legacy-router/index.tsx +0 -45
- package/src/contexts/live/ILiveContext.ts +0 -56
- package/src/contexts/notification/INotificationContext.ts +0 -15
- package/src/contexts/refine/IRefineContext.ts +0 -140
- package/src/contexts/resource/IResourceContext.ts +0 -68
- package/src/contexts/router-picker/index.tsx +0 -21
- package/src/contexts/translation/ITranslationContext.ts +0 -19
- package/src/contexts/translation/index.tsx +0 -24
- package/src/contexts/undoableQueue/IUndoableQueueContext.ts +0 -6
- package/src/contexts/undoableQueue/actionTypes.ts +0 -5
- package/src/contexts/undoableQueue/index.ts +0 -5
- package/src/contexts/undoableQueue/undoableQueueContext.tsx +0 -83
- package/src/contexts/unsavedWarn/IUnsavedWarnContext.ts +0 -4
- package/src/hooks/export/csvDownload.interface.ts +0 -27
- package/src/hooks/form/useForm.ts +0 -639
- package/src/hooks/translate/index.ts +0 -3
- package/src/hooks/translate/useGetLocale.ts +0 -16
- package/src/hooks/translate/useSetLocale.ts +0 -14
- package/src/hooks/translate/useTranslate.ts +0 -40
- package/src/interfaces/actions.ts +0 -16
- package/src/interfaces/auditLog/index.ts +0 -1
- package/src/interfaces/auditLog/logData.ts +0 -15
- package/src/interfaces/auth.tsx +0 -228
- package/src/interfaces/autoSave.ts +0 -54
- package/src/interfaces/bindings/access-control.ts +0 -53
- package/src/interfaces/bindings/auth.ts +0 -82
- package/src/interfaces/bindings/data.ts +0 -18
- package/src/interfaces/bindings/i18n.ts +0 -29
- package/src/interfaces/bindings/index.ts +0 -25
- package/src/interfaces/bindings/live.ts +0 -56
- package/src/interfaces/bindings/notifications.ts +0 -25
- package/src/interfaces/bindings/resource.ts +0 -178
- package/src/interfaces/bindings/router.ts +0 -78
- package/src/interfaces/customComponents.ts +0 -28
- package/src/interfaces/errors/HttpError.ts +0 -13
- package/src/interfaces/errors/RefineError.ts +0 -3
- package/src/interfaces/errors/index.ts +0 -2
- package/src/interfaces/form-url-params.ts +0 -8
- package/src/interfaces/index.ts +0 -98
- package/src/interfaces/live/LiveEvent.ts +0 -14
- package/src/interfaces/live/LiveModeProps.ts +0 -28
- package/src/interfaces/live/index.ts +0 -2
- package/src/interfaces/mapDataFn.ts +0 -3
- package/src/interfaces/metaData/fields.ts +0 -3
- package/src/interfaces/metaData/graphqlQueryOptions.ts +0 -53
- package/src/interfaces/metaData/index.ts +0 -2
- package/src/interfaces/metaData/metaDataQuery.ts +0 -10
- package/src/interfaces/metaData/metaQuery.ts +0 -9
- package/src/interfaces/metaData/nestedField.ts +0 -8
- package/src/interfaces/metaData/queryBuilderOptions.ts +0 -8
- package/src/interfaces/metaData/variableOptions.ts +0 -9
- package/src/interfaces/mutationMode.ts +0 -32
- package/src/interfaces/notification.ts +0 -10
- package/src/interfaces/optimistic-update-map.ts +0 -49
- package/src/interfaces/prettify.ts +0 -3
- package/src/interfaces/queryKey.ts +0 -23
- package/src/interfaces/resourceErrorRouterParams.ts +0 -6
- package/src/interfaces/resourceRouterParams.ts +0 -7
- package/src/interfaces/successErrorNotification.ts +0 -33
- package/src/interfaces/telemetry.ts +0 -15
- package/src/interfaces/textTransformers.ts +0 -20
- /package/dist/contexts/{router-picker/index.d.ts → router/picker/index.d.cts} +0 -0
- /package/dist/hooks/{translate/useTranslate.d.ts → i18n/useTranslate.d.cts} +0 -0
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
import { ReactNode, ComponentType } from "react";
|
|
2
|
-
import { UseQueryResult } from "@tanstack/react-query";
|
|
3
|
-
import { ILogData } from "src/interfaces";
|
|
4
|
-
/**
|
|
5
|
-
* Resource route components
|
|
6
|
-
*/
|
|
7
|
-
export declare type ResourceRouteComponent = ComponentType<IResourceComponentsProps<any, any>>;
|
|
8
|
-
export declare type ResourceRoutePath = string;
|
|
9
|
-
export declare type ResourceRouteDefinition = {
|
|
10
|
-
path: ResourceRoutePath;
|
|
11
|
-
component: ResourceRouteComponent;
|
|
12
|
-
};
|
|
13
|
-
export declare type ResourceRouteComposition = ResourceRouteDefinition | ResourceRoutePath | ResourceRouteComponent;
|
|
14
|
-
export interface IResourceComponents {
|
|
15
|
-
list?: ResourceRouteComposition;
|
|
16
|
-
create?: ResourceRouteComposition;
|
|
17
|
-
clone?: ResourceRouteComposition;
|
|
18
|
-
edit?: ResourceRouteComposition;
|
|
19
|
-
show?: ResourceRouteComposition;
|
|
20
|
-
}
|
|
21
|
-
export declare type AnyString = string & {
|
|
22
|
-
__ignore?: never;
|
|
23
|
-
};
|
|
24
|
-
export declare type ResourceAuditLogPermissions = "create" | "update" | "delete" | AnyString;
|
|
25
|
-
/** Resource `meta` */
|
|
26
|
-
export interface KnownResourceMeta {
|
|
27
|
-
/**
|
|
28
|
-
* This is used when setting the document title, in breadcrumbs and `<Sider />` components.
|
|
29
|
-
* Therefore it will only work if the related components have implemented the `label` property.
|
|
30
|
-
*/
|
|
31
|
-
label?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Whether to hide the resource from the sidebar or not.
|
|
34
|
-
* This property is checked by the `<Sider />` components.
|
|
35
|
-
* Therefore it will only work if the `<Sider />` component has implemented the `hide` property.
|
|
36
|
-
*/
|
|
37
|
-
hide?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Dedicated data provider name for the resource.
|
|
40
|
-
* If not set, the default data provider will be used.
|
|
41
|
-
* You can use this property to pick a data provider for a resource when you have multiple data providers.
|
|
42
|
-
*/
|
|
43
|
-
dataProviderName?: string;
|
|
44
|
-
/**
|
|
45
|
-
* To nest a resource under another resource, set the parent property to the name of the parent resource.
|
|
46
|
-
* This will work even if the parent resource is not explicitly defined.
|
|
47
|
-
*/
|
|
48
|
-
parent?: string;
|
|
49
|
-
/**
|
|
50
|
-
* To determine if the resource has ability to delete or not.
|
|
51
|
-
*/
|
|
52
|
-
canDelete?: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* To permit the audit log for actions on the resource.
|
|
55
|
-
* @default All actions are permitted to be logged.
|
|
56
|
-
*/
|
|
57
|
-
audit?: ResourceAuditLogPermissions[];
|
|
58
|
-
/**
|
|
59
|
-
* To pass `icon` to the resource.
|
|
60
|
-
*/
|
|
61
|
-
icon?: ReactNode;
|
|
62
|
-
}
|
|
63
|
-
export interface DeprecatedOptions {
|
|
64
|
-
/**
|
|
65
|
-
* @deprecated Please use `audit` property instead.
|
|
66
|
-
*/
|
|
67
|
-
auditLog?: {
|
|
68
|
-
permissions?: ResourceAuditLogPermissions[];
|
|
69
|
-
};
|
|
70
|
-
/**
|
|
71
|
-
* @deprecated Define the route in the resource components instead
|
|
72
|
-
*/
|
|
73
|
-
route?: string;
|
|
74
|
-
}
|
|
75
|
-
export interface ResourceMeta extends KnownResourceMeta {
|
|
76
|
-
[key: string]: any;
|
|
77
|
-
}
|
|
78
|
-
export interface ResourceProps extends IResourceComponents {
|
|
79
|
-
name: string;
|
|
80
|
-
/**
|
|
81
|
-
* This property can be used to identify a resource. In some cases, `name` of the resource might be repeated in different resources.
|
|
82
|
-
* To avoid conflicts, you pass the `identifier` property to be used as the key of the resource.
|
|
83
|
-
* @default `name` of the resource
|
|
84
|
-
*/
|
|
85
|
-
identifier?: string;
|
|
86
|
-
/**
|
|
87
|
-
* @deprecated This property is not used anymore.
|
|
88
|
-
*/
|
|
89
|
-
key?: string;
|
|
90
|
-
/**
|
|
91
|
-
* @deprecated Please use the `meta` property instead.
|
|
92
|
-
*/
|
|
93
|
-
options?: ResourceMeta & DeprecatedOptions;
|
|
94
|
-
/**
|
|
95
|
-
* To configure the resource, you can set `meta` properties. You can use `meta` to store any data related to the resource.
|
|
96
|
-
* There are some known `meta` properties that are used by the core and extension packages.
|
|
97
|
-
*/
|
|
98
|
-
meta?: ResourceMeta & DeprecatedOptions;
|
|
99
|
-
/**
|
|
100
|
-
* @deprecated Please use the `meta.canDelete` property instead.
|
|
101
|
-
*/
|
|
102
|
-
canDelete?: boolean;
|
|
103
|
-
/**
|
|
104
|
-
* @deprecated Please use the `meta.icon` property instead
|
|
105
|
-
*/
|
|
106
|
-
icon?: ReactNode;
|
|
107
|
-
/**
|
|
108
|
-
* @deprecated Please use the `meta.parent` property instead
|
|
109
|
-
*/
|
|
110
|
-
parentName?: string;
|
|
111
|
-
}
|
|
112
|
-
export interface RouteableProperties {
|
|
113
|
-
/**
|
|
114
|
-
* @deprecated Please use action props instead.
|
|
115
|
-
*/
|
|
116
|
-
canCreate?: boolean;
|
|
117
|
-
/**
|
|
118
|
-
* @deprecated Please use action props instead.
|
|
119
|
-
*/
|
|
120
|
-
canEdit?: boolean;
|
|
121
|
-
/**
|
|
122
|
-
* @deprecated Please use action props instead.
|
|
123
|
-
*/
|
|
124
|
-
canShow?: boolean;
|
|
125
|
-
/**
|
|
126
|
-
* @deprecated Please use the `meta.canDelete` property instead.
|
|
127
|
-
*/
|
|
128
|
-
canDelete?: boolean;
|
|
129
|
-
}
|
|
130
|
-
export interface IResourceComponentsProps<TCrudData = any, TLogQueryResult = ILogData> extends RouteableProperties {
|
|
131
|
-
name?: string;
|
|
132
|
-
initialData?: TCrudData;
|
|
133
|
-
options?: ResourceMeta & DeprecatedOptions;
|
|
134
|
-
logQueryResult?: UseQueryResult<TLogQueryResult>;
|
|
135
|
-
}
|
|
136
|
-
export interface IResourceItem extends IResourceComponents, RouteableProperties, ResourceProps {
|
|
137
|
-
/**
|
|
138
|
-
* @deprecated Please use the `meta.label` property instead.
|
|
139
|
-
*/
|
|
140
|
-
label?: string;
|
|
141
|
-
/**
|
|
142
|
-
* @deprecated Please use action components and `getDefaultActionPath` helper instead.
|
|
143
|
-
*/
|
|
144
|
-
route?: string;
|
|
145
|
-
}
|
|
146
|
-
export interface IResourceContext {
|
|
147
|
-
resources: IResourceItem[];
|
|
148
|
-
}
|
|
149
|
-
export declare type ResourceBindings = ResourceProps[];
|
|
150
|
-
//# sourceMappingURL=resource.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resource.d.ts","sourceRoot":"","sources":["../../../src/interfaces/bindings/resource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C;;GAEG;AACH,oBAAY,sBAAsB,GAAG,aAAa,CAC9C,wBAAwB,CAAC,GAAG,EAAE,GAAG,CAAC,CACrC,CAAC;AAEF,oBAAY,iBAAiB,GAAG,MAAM,CAAC;AAEvC,oBAAY,uBAAuB,GAAG;IAClC,IAAI,EAAE,iBAAiB,CAAC;IACxB,SAAS,EAAE,sBAAsB,CAAC;CACrC,CAAC;AAEF,oBAAY,wBAAwB,GAC9B,uBAAuB,GACvB,iBAAiB,GACjB,sBAAsB,CAAC;AAE7B,MAAM,WAAW,mBAAmB;IAChC,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC,MAAM,CAAC,EAAE,wBAAwB,CAAC;IAClC,KAAK,CAAC,EAAE,wBAAwB,CAAC;IACjC,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC,IAAI,CAAC,EAAE,wBAAwB,CAAC;CACnC;AAED,oBAAY,SAAS,GAAG,MAAM,GAAG;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AAEtD,oBAAY,2BAA2B,GACjC,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,SAAS,CAAC;AAEhB,sBAAsB;AACtB,MAAM,WAAW,iBAAiB;IAC9B;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,KAAK,CAAC,EAAE,2BAA2B,EAAE,CAAC;IACtC;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE;QACP,WAAW,CAAC,EAAE,2BAA2B,EAAE,CAAC;KAC/C,CAAC;IACF;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,YAAa,SAAQ,iBAAiB;IACnD,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB;AAED,MAAM,WAAW,aAAc,SAAQ,mBAAmB;IACtD,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,GAAG,iBAAiB,CAAC;IAC3C;;;OAGG;IACH,IAAI,CAAC,EAAE,YAAY,GAAG,iBAAiB,CAAC;IACxC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,wBAAwB,CACrC,SAAS,GAAG,GAAG,EACf,eAAe,GAAG,QAAQ,CAC5B,SAAQ,mBAAmB;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,OAAO,CAAC,EAAE,YAAY,GAAG,iBAAiB,CAAC;IAC3C,cAAc,CAAC,EAAE,cAAc,CAAC,eAAe,CAAC,CAAC;CACpD;AAED,MAAM,WAAW,aACb,SAAQ,mBAAmB,EACvB,mBAAmB,EACnB,aAAa;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC7B,SAAS,EAAE,aAAa,EAAE,CAAC;CAC9B;AAED,oBAAY,gBAAgB,GAAG,aAAa,EAAE,CAAC"}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author aliemir
|
|
3
|
-
*
|
|
4
|
-
* Router bindings interface, used to define the router bindings of refine.
|
|
5
|
-
*
|
|
6
|
-
* We're marking of the functions as optional, some features may not work properly but this is intentional.
|
|
7
|
-
* Users can choose to use the router bindings or not, or use their own router bindings.
|
|
8
|
-
* Leaving the control to the user is the best way to go.
|
|
9
|
-
*
|
|
10
|
-
* We're defining the functions as function generators, this is to allow the user to use hooks inside the functions.
|
|
11
|
-
*
|
|
12
|
-
* `go` function is used to navigate to a specific route. We're expecting a `GoConfig` object as the only parameter.
|
|
13
|
-
* Passing `query` as an object, will also let users to stringify the object as they like or ignore it completely or even use a custom logic to handle query strings.
|
|
14
|
-
*
|
|
15
|
-
* `back` function is used to navigate back to the previous route. It doesn't take any parameters.
|
|
16
|
-
* This one is a basic function for the back buttons, absence of this function can also hide the back button,
|
|
17
|
-
* but this depends on the UI package implementations.
|
|
18
|
-
*
|
|
19
|
-
* `parse` function is used to parse the current route, query parameters and other information.
|
|
20
|
-
* We're expecting this function to lead refine to the correct resource, action and id (again, not required but recommended).
|
|
21
|
-
* Also there's `params` property, which is used in data hooks and other places.
|
|
22
|
-
* This property has an interface to match but not restricted to it.
|
|
23
|
-
*
|
|
24
|
-
* Instead of a single `useNavigation` hook,
|
|
25
|
-
* we can separate those functions into three different hooks,
|
|
26
|
-
* `useGo`, `useBack` and `useParsed`
|
|
27
|
-
*/
|
|
28
|
-
/// <reference types="react" />
|
|
29
|
-
import { CrudFilters, CrudSorting } from "@contexts/data/IDataContext";
|
|
30
|
-
import { IResourceItem } from "./resource";
|
|
31
|
-
import { Action, BaseKey } from "..";
|
|
32
|
-
export declare type GoConfig = {
|
|
33
|
-
to?: string;
|
|
34
|
-
query?: Record<string, unknown>;
|
|
35
|
-
hash?: string;
|
|
36
|
-
options?: {
|
|
37
|
-
keepQuery?: boolean;
|
|
38
|
-
keepHash?: boolean;
|
|
39
|
-
};
|
|
40
|
-
type?: "push" | "replace" | "path";
|
|
41
|
-
};
|
|
42
|
-
export declare type ParsedParams<TParams extends Record<string, any> = Record<string, any>> = {
|
|
43
|
-
filters?: CrudFilters;
|
|
44
|
-
sorters?: CrudSorting;
|
|
45
|
-
current?: number;
|
|
46
|
-
pageSize?: number;
|
|
47
|
-
} & TParams;
|
|
48
|
-
export declare type ParseResponse<TParams extends Record<string, any> = Record<string, any>> = {
|
|
49
|
-
params?: ParsedParams<TParams>;
|
|
50
|
-
resource?: IResourceItem;
|
|
51
|
-
id?: BaseKey;
|
|
52
|
-
action?: Action;
|
|
53
|
-
pathname?: string;
|
|
54
|
-
};
|
|
55
|
-
export declare type GoFunction = (config: GoConfig) => void | string;
|
|
56
|
-
export declare type BackFunction = () => void;
|
|
57
|
-
export declare type ParseFunction<TParams extends Record<string, any> = Record<string, any>> = () => ParseResponse<TParams>;
|
|
58
|
-
export declare type RouterBindings = {
|
|
59
|
-
go?: () => GoFunction;
|
|
60
|
-
back?: () => BackFunction;
|
|
61
|
-
parse?: () => ParseFunction;
|
|
62
|
-
Link?: React.ComponentType<React.PropsWithChildren<{
|
|
63
|
-
to: string;
|
|
64
|
-
[prop: string]: any;
|
|
65
|
-
}>>;
|
|
66
|
-
};
|
|
67
|
-
//# sourceMappingURL=router.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../../src/interfaces/bindings/router.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;;AAEH,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAErC,oBAAY,QAAQ,GAAG;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE;QACN,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC;IACF,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAAC;CACtC,CAAC;AAEF,oBAAY,YAAY,CACpB,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IACzD;IACA,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,GAAG,OAAO,CAAC;AAEZ,oBAAY,aAAa,CACrB,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IACzD;IACA,MAAM,CAAC,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;IAC/B,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,oBAAY,UAAU,GAAG,CAAC,MAAM,EAAE,QAAQ,KAAK,IAAI,GAAG,MAAM,CAAC;AAE7D,oBAAY,YAAY,GAAG,MAAM,IAAI,CAAC;AAEtC,oBAAY,aAAa,CACrB,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IACzD,MAAM,aAAa,CAAC,OAAO,CAAC,CAAC;AAEjC,oBAAY,cAAc,GAAG;IACzB,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,YAAY,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,aAAa,CAAC;IAC5B,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CACtB,KAAK,CAAC,iBAAiB,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC,CAC/D,CAAC;CACL,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
export declare type TitleProps = {
|
|
3
|
-
collapsed: boolean;
|
|
4
|
-
};
|
|
5
|
-
export declare type LayoutProps = {
|
|
6
|
-
Sider?: React.FC<{
|
|
7
|
-
Title?: React.FC<TitleProps>;
|
|
8
|
-
render?: (props: {
|
|
9
|
-
items: JSX.Element[];
|
|
10
|
-
logout: React.ReactNode;
|
|
11
|
-
dashboard: React.ReactNode;
|
|
12
|
-
collapsed: boolean;
|
|
13
|
-
}) => React.ReactNode;
|
|
14
|
-
meta?: Record<string, unknown>;
|
|
15
|
-
}>;
|
|
16
|
-
Header?: React.FC;
|
|
17
|
-
Title?: React.FC<TitleProps>;
|
|
18
|
-
Footer?: React.FC;
|
|
19
|
-
OffLayoutArea?: React.FC;
|
|
20
|
-
dashboard?: boolean;
|
|
21
|
-
children?: ReactNode;
|
|
22
|
-
};
|
|
23
|
-
export declare type DashboardPageProps<TCrudData = any> = {
|
|
24
|
-
initialData?: TCrudData;
|
|
25
|
-
} & Record<any, any>;
|
|
26
|
-
//# sourceMappingURL=customComponents.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"customComponents.d.ts","sourceRoot":"","sources":["../../src/interfaces/customComponents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,oBAAY,UAAU,GAAG;IACrB,SAAS,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,oBAAY,WAAW,GAAG;IACtB,KAAK,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;QACb,KAAK,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC;QAC7B,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE;YACb,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,CAAC;YACrB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;YACxB,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;YAC3B,SAAS,EAAE,OAAO,CAAC;SACtB,KAAK,KAAK,CAAC,SAAS,CAAC;QACtB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAClC,CAAC,CAAC;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;IAClB,aAAa,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC;AAEF,oBAAY,kBAAkB,CAAC,SAAS,GAAG,GAAG,IAAI;IAC9C,WAAW,CAAC,EAAE,SAAS,CAAC;CAC3B,GAAG,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface ValidationErrors {
|
|
2
|
-
[field: string]: string | string[] | boolean | {
|
|
3
|
-
key: string;
|
|
4
|
-
message: string;
|
|
5
|
-
};
|
|
6
|
-
}
|
|
7
|
-
export interface HttpError extends Record<string, any> {
|
|
8
|
-
message: string;
|
|
9
|
-
statusCode: number;
|
|
10
|
-
errors?: ValidationErrors;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=HttpError.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HttpError.d.ts","sourceRoot":"","sources":["../../../src/interfaces/errors/HttpError.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC7B,CAAC,KAAK,EAAE,MAAM,GACR,MAAM,GACN,MAAM,EAAE,GACR,OAAO,GACP;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CAC1C;AAED,MAAM,WAAW,SAAU,SAAQ,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAClD,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC7B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RefineError.d.ts","sourceRoot":"","sources":["../../../src/interfaces/errors/RefineError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,oBAAY,WAAW,GAAG,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interfaces/errors/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare type FormWithSyncWithLocationParams = {
|
|
2
|
-
/**
|
|
3
|
-
* If true, the form will be synced with the location.
|
|
4
|
-
* If an object is passed, the key property will be used as the key for the query params.
|
|
5
|
-
* By default, query params are placed under the key, `${resource.name}-${action}`.
|
|
6
|
-
*/
|
|
7
|
-
syncWithLocation?: boolean | {
|
|
8
|
-
key?: string;
|
|
9
|
-
syncId?: boolean;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=form-url-params.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"form-url-params.d.ts","sourceRoot":"","sources":["../../src/interfaces/form-url-params.ts"],"names":[],"mappings":"AAAA,oBAAY,8BAA8B,GAAG;IACzC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;CACnE,CAAC"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { IResourceItem } from "./bindings/resource";
|
|
2
|
-
export * from "../contexts/data/IDataContext";
|
|
3
|
-
export * from "../contexts/live/ILiveContext";
|
|
4
|
-
export * from "../contexts/auth/IAuthContext";
|
|
5
|
-
export * from "../contexts/refine/IRefineContext";
|
|
6
|
-
export * from "../contexts/translation/ITranslationContext";
|
|
7
|
-
export * from "../contexts/undoableQueue/IUndoableQueueContext";
|
|
8
|
-
export * from "../contexts/resource/IResourceContext";
|
|
9
|
-
export * from "../contexts/unsavedWarn/IUnsavedWarnContext";
|
|
10
|
-
export * from "../contexts/legacy-router/IRouterContext";
|
|
11
|
-
export * from "../contexts/accessControl/IAccessControlContext";
|
|
12
|
-
export * from "../contexts/notification/INotificationContext";
|
|
13
|
-
export * from "../contexts/auditLog/IAuditLogContext";
|
|
14
|
-
export * from "../components/pages/login";
|
|
15
|
-
export * from "./actions";
|
|
16
|
-
export * from "./notification";
|
|
17
|
-
export * from "./mutationMode";
|
|
18
|
-
export * from "./errors";
|
|
19
|
-
export * from "./customComponents";
|
|
20
|
-
export * from "./resourceRouterParams";
|
|
21
|
-
export * from "./resourceErrorRouterParams";
|
|
22
|
-
export * from "./mapDataFn";
|
|
23
|
-
export * from "./successErrorNotification";
|
|
24
|
-
export * from "./metaData";
|
|
25
|
-
export * from "./queryKey";
|
|
26
|
-
export * from "./live";
|
|
27
|
-
export * from "./auditLog";
|
|
28
|
-
export declare type BaseKey = string | number;
|
|
29
|
-
export declare type BaseRecord = {
|
|
30
|
-
id?: BaseKey;
|
|
31
|
-
[key: string]: any;
|
|
32
|
-
};
|
|
33
|
-
export declare type BaseOption = {
|
|
34
|
-
label: any;
|
|
35
|
-
value: any;
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* @deprecated Use `BaseOption` instead.
|
|
39
|
-
*/
|
|
40
|
-
export interface Option extends BaseOption {
|
|
41
|
-
}
|
|
42
|
-
export declare type ITreeMenu = IResourceItem & {
|
|
43
|
-
key?: string;
|
|
44
|
-
children: ITreeMenu[];
|
|
45
|
-
};
|
|
46
|
-
export declare type IMenuItem = IResourceItem & {
|
|
47
|
-
key: string;
|
|
48
|
-
route: string;
|
|
49
|
-
};
|
|
50
|
-
export * from "./form-url-params";
|
|
51
|
-
export * from "./auth";
|
|
52
|
-
export * from "./bindings";
|
|
53
|
-
export * from "./prettify";
|
|
54
|
-
export * from "./autoSave";
|
|
55
|
-
export * from "./textTransformers";
|
|
56
|
-
export * from "./optimistic-update-map";
|
|
57
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mCAAmC,CAAC;AAClD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,iDAAiD,CAAC;AAChE,cAAc,uCAAuC,CAAC;AACtD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,0CAA0C,CAAC;AACzD,cAAc,iDAAiD,CAAC;AAChE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,uCAAuC,CAAC;AAEtD,cAAc,2BAA2B,CAAC;AAG1C,cAAc,WAAW,CAAC;AAG1B,cAAc,gBAAgB,CAAC;AAG/B,cAAc,gBAAgB,CAAC;AAG/B,cAAc,UAAU,CAAC;AAGzB,cAAc,oBAAoB,CAAC;AAGnC,cAAc,wBAAwB,CAAC;AAGvC,cAAc,6BAA6B,CAAC;AAG5C,cAAc,aAAa,CAAC;AAG5B,cAAc,4BAA4B,CAAC;AAG3C,cAAc,YAAY,CAAC;AAG3B,cAAc,YAAY,CAAC;AAG3B,cAAc,QAAQ,CAAC;AAGvB,cAAc,YAAY,CAAC;AAE3B,oBAAY,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AACtC,oBAAY,UAAU,GAAG;IACrB,EAAE,CAAC,EAAE,OAAO,CAAC;IAEb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB,CAAC;AACF,oBAAY,UAAU,GAAG;IACrB,KAAK,EAAE,GAAG,CAAC;IACX,KAAK,EAAE,GAAG,CAAC;CACd,CAAC;AAEF;;GAEG;AAEH,MAAM,WAAW,MAAO,SAAQ,UAAU;CAAG;AAG7C,oBAAY,SAAS,GAAG,aAAa,GAAG;IACpC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,SAAS,EAAE,CAAC;CACzB,CAAC;AAEF,oBAAY,SAAS,GAAG,aAAa,GAAG;IACpC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,cAAc,mBAAmB,CAAC;AAElC,cAAc,QAAQ,CAAC;AAEvB,cAAc,YAAY,CAAC;AAE3B,cAAc,YAAY,CAAC;AAE3B,cAAc,YAAY,CAAC;AAE3B,cAAc,oBAAoB,CAAC;AAEnC,cAAc,yBAAyB,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BaseKey, MetaQuery } from "..";
|
|
2
|
-
export declare type LiveEvent = {
|
|
3
|
-
channel: string;
|
|
4
|
-
type: "deleted" | "updated" | "created" | "*" | string;
|
|
5
|
-
payload: {
|
|
6
|
-
ids?: BaseKey[];
|
|
7
|
-
[x: string]: any;
|
|
8
|
-
};
|
|
9
|
-
date: Date;
|
|
10
|
-
meta?: MetaQuery & {
|
|
11
|
-
dataProviderName?: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=LiveEvent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LiveEvent.d.ts","sourceRoot":"","sources":["../../../src/interfaces/live/LiveEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAExC,oBAAY,SAAS,GAAG;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,GAAG,GAAG,MAAM,CAAC;IACvD,OAAO,EAAE;QACL,GAAG,CAAC,EAAE,OAAO,EAAE,CAAC;QAChB,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;IACF,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,CAAC,EAAE,SAAS,GAAG;QACf,gBAAgB,CAAC,EAAE,MAAM,CAAC;KAC7B,CAAC;CACL,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { LiveEvent } from ".";
|
|
2
|
-
import { BaseKey } from "..";
|
|
3
|
-
export declare type LiveModeProps = {
|
|
4
|
-
/**
|
|
5
|
-
* Whether to update data automatically ("auto") or not ("manual") if a related live event is received. The "off" value is used to avoid creating a subscription.
|
|
6
|
-
* @type [`"auto" | "manual" | "off"`](/docs/api-reference/core/providers/live-provider/#livemode)
|
|
7
|
-
* @default `"off"`
|
|
8
|
-
*/
|
|
9
|
-
liveMode?: "auto" | "manual" | "off";
|
|
10
|
-
/**
|
|
11
|
-
* Callback to handle all related live events of this hook.
|
|
12
|
-
* @type [`(event: LiveEvent) => void`](/docs/api-reference/core/interfaceReferences/#livemodeprops)
|
|
13
|
-
* @default `undefined`
|
|
14
|
-
*/
|
|
15
|
-
onLiveEvent?: (event: LiveEvent) => void;
|
|
16
|
-
/**
|
|
17
|
-
* Params to pass to liveProvider's subscribe method if liveMode is enabled.
|
|
18
|
-
* @type [`{ ids?: BaseKey[]; [key: string]: any; }`](/docs/api-reference/core/interfaceReferences/#livemodeprops)
|
|
19
|
-
* @default `undefined`
|
|
20
|
-
*/
|
|
21
|
-
liveParams?: {
|
|
22
|
-
ids?: BaseKey[];
|
|
23
|
-
[key: string]: any;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export declare type ILiveModeContextProvider = LiveModeProps;
|
|
27
|
-
//# sourceMappingURL=LiveModeProps.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LiveModeProps.d.ts","sourceRoot":"","sources":["../../../src/interfaces/live/LiveModeProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,GAAG,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAE7B,oBAAY,aAAa,GAAG;IACxB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;IACrC;;;;OAIG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IACzC;;;;OAIG;IACH,UAAU,CAAC,EAAE;QACT,GAAG,CAAC,EAAE,OAAO,EAAE,CAAC;QAChB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACtB,CAAC;CACL,CAAC;AAEF,oBAAY,wBAAwB,GAAG,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interfaces/live/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mapDataFn.d.ts","sourceRoot":"","sources":["../../src/interfaces/mapDataFn.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS,CAAC,KAAK,EAAE,UAAU;IACxC,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,EAAE,GAAG,UAAU,CAAC;CAC9D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../src/interfaces/metaData/fields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,oBAAY,MAAM,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,GAAG,WAAW,CAAC,CAAC"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import type { DocumentNode } from "graphql";
|
|
2
|
-
export declare type GraphQLQueryOptions = {
|
|
3
|
-
/**
|
|
4
|
-
* @description GraphQL query to be used by data providers.
|
|
5
|
-
* @optional
|
|
6
|
-
* @example
|
|
7
|
-
* ```tsx
|
|
8
|
-
* import gql from 'graphql-tag'
|
|
9
|
-
* import { useOne } from '@refinedev/core'
|
|
10
|
-
*
|
|
11
|
-
* const PRODUCT_QUERY = gql`
|
|
12
|
-
* query GetProduct($id: ID!) {
|
|
13
|
-
* product(id: $id) {
|
|
14
|
-
* id
|
|
15
|
-
* name
|
|
16
|
-
* }
|
|
17
|
-
* }
|
|
18
|
-
* `
|
|
19
|
-
*
|
|
20
|
-
* useOne({
|
|
21
|
-
* id: 1,
|
|
22
|
-
* meta: { gqlQuery: PRODUCT_QUERY }
|
|
23
|
-
* })
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
gqlQuery?: DocumentNode;
|
|
27
|
-
/**
|
|
28
|
-
* @description GraphQL mutation to be used by data providers.
|
|
29
|
-
* @optional
|
|
30
|
-
* @example
|
|
31
|
-
* ```tsx
|
|
32
|
-
* import gql from 'graphql-tag'
|
|
33
|
-
* import { useCreate } from '@refinedev/core'
|
|
34
|
-
*
|
|
35
|
-
* const PRODUCT_CREATE_MUTATION = gql`
|
|
36
|
-
* mutation CreateProduct($input: CreateOneProductInput!) {
|
|
37
|
-
* createProduct(input: $input) {
|
|
38
|
-
* id
|
|
39
|
-
* name
|
|
40
|
-
* }
|
|
41
|
-
* }
|
|
42
|
-
* `
|
|
43
|
-
* const { mutate } = useCreate()
|
|
44
|
-
*
|
|
45
|
-
* mutate({
|
|
46
|
-
* values: { name: "My Product" },
|
|
47
|
-
* meta: { gqlQuery: PRODUCT_QUERY }
|
|
48
|
-
* })
|
|
49
|
-
* ```
|
|
50
|
-
*/
|
|
51
|
-
gqlMutation?: DocumentNode;
|
|
52
|
-
};
|
|
53
|
-
//# sourceMappingURL=graphqlQueryOptions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"graphqlQueryOptions.d.ts","sourceRoot":"","sources":["../../../src/interfaces/metaData/graphqlQueryOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,oBAAY,mBAAmB,GAAG;IAC9B;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,WAAW,CAAC,EAAE,YAAY,CAAC;CAC9B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interfaces/metaData/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { QueryFunctionContext } from "@tanstack/react-query";
|
|
2
|
-
import { QueryBuilderOptions } from "./queryBuilderOptions";
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated `MetaDataQuery` is deprecated with refine@4, use `MetaQuery` instead, however, we still support `MetaDataQuery` for backward compatibility.
|
|
5
|
-
*/
|
|
6
|
-
export declare type MetaDataQuery = {
|
|
7
|
-
[k: string]: any;
|
|
8
|
-
queryContext?: Omit<QueryFunctionContext, "meta">;
|
|
9
|
-
} & QueryBuilderOptions;
|
|
10
|
-
//# sourceMappingURL=metaDataQuery.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"metaDataQuery.d.ts","sourceRoot":"","sources":["../../../src/interfaces/metaData/metaDataQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D;;GAEG;AACH,oBAAY,aAAa,GAAG;IACxB,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;IACjB,YAAY,CAAC,EAAE,IAAI,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;CACrD,GAAG,mBAAmB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { QueryFunctionContext } from "@tanstack/react-query";
|
|
2
|
-
import { QueryBuilderOptions } from "./queryBuilderOptions";
|
|
3
|
-
import { GraphQLQueryOptions } from "./graphqlQueryOptions";
|
|
4
|
-
export declare type MetaQuery = {
|
|
5
|
-
[k: string]: any;
|
|
6
|
-
queryContext?: Omit<QueryFunctionContext, "meta">;
|
|
7
|
-
} & QueryBuilderOptions & GraphQLQueryOptions;
|
|
8
|
-
//# sourceMappingURL=metaQuery.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"metaQuery.d.ts","sourceRoot":"","sources":["../../../src/interfaces/metaData/metaQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,oBAAY,SAAS,GAAG;IACpB,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;IACjB,YAAY,CAAC,EAAE,IAAI,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;CACrD,GAAG,mBAAmB,GACnB,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nestedField.d.ts","sourceRoot":"","sources":["../../../src/interfaces/metaData/nestedField.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,oBAAY,WAAW,GAAG;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,mBAAmB,EAAE,CAAC;IACjC,MAAM,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryBuilderOptions.d.ts","sourceRoot":"","sources":["../../../src/interfaces/metaData/queryBuilderOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,MAAM,WAAW,mBAAmB;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,eAAe,CAAC;CAC/B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"variableOptions.d.ts","sourceRoot":"","sources":["../../../src/interfaces/metaData/variableOptions.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe,GACrB;IACI,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,GAAG,CAAC;IACX,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,GACD;IAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { BaseRecord, GetListResponse, GetOneResponse, IQueryKeys } from "../interfaces";
|
|
2
|
-
import { QueryKey } from "@tanstack/react-query";
|
|
3
|
-
export declare type MutationMode = "pessimistic" | "optimistic" | "undoable";
|
|
4
|
-
export declare type QueryResponse<T = BaseRecord> = GetListResponse<T> | GetOneResponse<T>;
|
|
5
|
-
export declare type PreviousQuery<TData> = [QueryKey, TData | unknown];
|
|
6
|
-
export declare type PrevContext<TData> = {
|
|
7
|
-
previousQueries: PreviousQuery<TData>[];
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated `QueryKeys` is deprecated in favor of `keys`. Please use `keys` instead to construct query keys for queries and mutations.
|
|
10
|
-
*/
|
|
11
|
-
queryKey: IQueryKeys;
|
|
12
|
-
};
|
|
13
|
-
export declare type Context = {
|
|
14
|
-
previousQueries: ContextQuery[];
|
|
15
|
-
};
|
|
16
|
-
export declare type ContextQuery<T = BaseRecord> = {
|
|
17
|
-
query: QueryResponse<T>;
|
|
18
|
-
queryKey: QueryKey;
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=mutationMode.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mutationMode.d.ts","sourceRoot":"","sources":["../../src/interfaces/mutationMode.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,UAAU,EACV,eAAe,EACf,cAAc,EACd,UAAU,EACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,YAAY,GAAG,aAAa,GAAG,YAAY,GAAG,UAAU,CAAC;AAErE,oBAAY,aAAa,CAAC,CAAC,GAAG,UAAU,IAClC,eAAe,CAAC,CAAC,CAAC,GAClB,cAAc,CAAC,CAAC,CAAC,CAAC;AAExB,oBAAY,aAAa,CAAC,KAAK,IAAI,CAAC,QAAQ,EAAE,KAAK,GAAG,OAAO,CAAC,CAAC;AAE/D,oBAAY,WAAW,CAAC,KAAK,IAAI;IAC7B,eAAe,EAAE,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC;IACxC;;OAEG;IACH,QAAQ,EAAE,UAAU,CAAC;CACxB,CAAC;AAEF,oBAAY,OAAO,GAAG;IAClB,eAAe,EAAE,YAAY,EAAE,CAAC;CACnC,CAAC;AAEF,oBAAY,YAAY,CAAC,CAAC,GAAG,UAAU,IAAI;IACvC,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IACxB,QAAQ,EAAE,QAAQ,CAAC;CACtB,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseKey } from ".";
|
|
2
|
-
export interface IUndoableQueue {
|
|
3
|
-
id: BaseKey;
|
|
4
|
-
resource: string;
|
|
5
|
-
cancelMutation: () => void;
|
|
6
|
-
doMutation: () => void;
|
|
7
|
-
seconds: number;
|
|
8
|
-
isRunning: boolean;
|
|
9
|
-
isSilent: boolean;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=notification.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../src/interfaces/notification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,CAAC;AAC5B,MAAM,WAAW,cAAc;IAC3B,EAAE,EAAE,OAAO,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;CACrB"}
|