infinity-forge 9.7.2 → 9.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fonts.css +1 -0
- package/dist/index-Beqg2wrg.js +38 -0
- package/dist/index-Beqg2wrg.js.map +1 -0
- package/dist/index-CiAsGZUF.js +9059 -0
- package/dist/index-CiAsGZUF.js.map +1 -0
- package/dist/{index-BbUTwWTm.mjs → index-DN6eVNwu.mjs} +9132 -9892
- package/dist/index-DN6eVNwu.mjs.map +1 -0
- package/dist/{index-D7kqL_Dy.mjs → index-_jXp7IjG.mjs} +2 -2
- package/dist/{index-D7kqL_Dy.mjs.map → index-_jXp7IjG.mjs.map} +1 -1
- package/dist/index.d.ts +7670 -5
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +1 -1
- package/dist/infinity-forge.css +3 -0
- package/dist/react-quill.css +1 -0
- package/dist/reset.css +1 -0
- package/dist/ui/components/form/text-editor/react-quill.css +930 -0
- package/dist/ui/styles/fonts.css +768 -0
- package/dist/ui/styles/reset.css +351 -0
- package/package.json +2 -1
- package/dist/client/client.d.ts +0 -15
- package/dist/client/generate.d.ts +0 -1
- package/dist/client/index.d.ts +0 -1
- package/dist/client/swagger_client.d.ts +0 -4886
- package/dist/codie_panel/atena_codie_panel_keys/hooks/index.d.ts +0 -1
- package/dist/codie_panel/atena_codie_panel_keys/hooks/use-panel-configurations.d.ts +0 -5
- package/dist/codie_panel/atena_codie_panel_keys/index.d.ts +0 -2
- package/dist/codie_panel/atena_codie_panel_keys/keys.d.ts +0 -12
- package/dist/codie_panel/hooks/use-panel-configurations.d.ts +0 -5
- package/dist/codie_panel/index.d.ts +0 -3
- package/dist/codie_panel/pages/configurations/components/index.d.ts +0 -1
- package/dist/codie_panel/pages/configurations/components/menu-card/index.d.ts +0 -1
- package/dist/codie_panel/pages/configurations/index.d.ts +0 -1
- package/dist/codie_panel/pages/configurations/page.d.ts +0 -1
- package/dist/codie_panel/pages/index.d.ts +0 -2
- package/dist/codie_panel/pages/menu/components/index.d.ts +0 -1
- package/dist/codie_panel/pages/menu/components/menu-card/index.d.ts +0 -1
- package/dist/codie_panel/pages/menu/index.d.ts +0 -1
- package/dist/codie_panel/pages/menu/page.d.ts +0 -1
- package/dist/codie_panel/panel_configurations/index.d.ts +0 -1
- package/dist/index-BbUTwWTm.mjs.map +0 -1
- package/dist/system/components/data/avatar/index.d.ts +0 -5
- package/dist/system/components/data/avatar/styles.d.ts +0 -1
- package/dist/system/components/data/buttons/index.d.ts +0 -1
- package/dist/system/components/data/buttons/sidebar-button/index.d.ts +0 -1
- package/dist/system/components/data/buttons/sidebar-button/styles.d.ts +0 -1
- package/dist/system/components/data/chat/card-message/index.d.ts +0 -4
- package/dist/system/components/data/chat/card-message/styles.d.ts +0 -1
- package/dist/system/components/data/chat/index.d.ts +0 -2
- package/dist/system/components/data/chat/interfaces.d.ts +0 -16
- package/dist/system/components/data/chat/loader/index.d.ts +0 -1
- package/dist/system/components/data/chat/schema.d.ts +0 -4
- package/dist/system/components/data/chat/styles.d.ts +0 -1
- package/dist/system/components/data/detail-card/component.d.ts +0 -2
- package/dist/system/components/data/detail-card/index.d.ts +0 -2
- package/dist/system/components/data/detail-card/interfaces.d.ts +0 -19
- package/dist/system/components/data/detail-card/styles.d.ts +0 -1
- package/dist/system/components/data/highlight-icon/index.d.ts +0 -2
- package/dist/system/components/data/highlight-icon/interfaces.d.ts +0 -8
- package/dist/system/components/data/highlight-icon/styles.d.ts +0 -3
- package/dist/system/components/data/highlight-text/index.d.ts +0 -2
- package/dist/system/components/data/highlight-text/interfaces.d.ts +0 -4
- package/dist/system/components/data/highlight-text/styles.d.ts +0 -3
- package/dist/system/components/data/index.d.ts +0 -14
- package/dist/system/components/data/input-search/index.d.ts +0 -2
- package/dist/system/components/data/input-search/interfaces.d.ts +0 -3
- package/dist/system/components/data/input-search/styles.d.ts +0 -1
- package/dist/system/components/data/menu/component.d.ts +0 -1
- package/dist/system/components/data/menu/components/index.d.ts +0 -1
- package/dist/system/components/data/menu/components/menu-item/index.d.ts +0 -4
- package/dist/system/components/data/menu/index.d.ts +0 -2
- package/dist/system/components/data/menu/mock.d.ts +0 -3
- package/dist/system/components/data/menu/modes/collapsed-menu/index.d.ts +0 -1
- package/dist/system/components/data/menu/modes/collapsed-menu/styles.d.ts +0 -1
- package/dist/system/components/data/menu/modes/index.d.ts +0 -2
- package/dist/system/components/data/menu/modes/opened/index.d.ts +0 -2
- package/dist/system/components/data/menu/modes/opened/styles.d.ts +0 -1
- package/dist/system/components/data/menu/styles.d.ts +0 -5
- package/dist/system/components/data/notifications/card/index.d.ts +0 -2
- package/dist/system/components/data/notifications/card/styles.d.ts +0 -1
- package/dist/system/components/data/notifications/content-notification/index.d.ts +0 -6
- package/dist/system/components/data/notifications/index.d.ts +0 -10
- package/dist/system/components/data/notifications/interfaces.d.ts +0 -3
- package/dist/system/components/data/notifications/read-notifications/index.d.ts +0 -4
- package/dist/system/components/data/notifications/styles.d.ts +0 -2
- package/dist/system/components/data/page-wrapper/index.d.ts +0 -2
- package/dist/system/components/data/page-wrapper/interfaces.d.ts +0 -7
- package/dist/system/components/data/page-wrapper/styles.d.ts +0 -1
- package/dist/system/components/data/popover/index.d.ts +0 -2
- package/dist/system/components/data/popover/interfaces.d.ts +0 -7
- package/dist/system/components/data/profile-infos/index.d.ts +0 -2
- package/dist/system/components/data/profile-infos/interfaces.d.ts +0 -6
- package/dist/system/components/data/profile-infos/profile/index.d.ts +0 -2
- package/dist/system/components/data/profile-infos/profile/interfaces.d.ts +0 -10
- package/dist/system/components/data/profile-infos/profile/styles.d.ts +0 -1
- package/dist/system/components/data/profile-infos/styles.d.ts +0 -1
- package/dist/system/components/data/select-workspace/component.d.ts +0 -4
- package/dist/system/components/data/select-workspace/custom-styles.d.ts +0 -2
- package/dist/system/components/data/select-workspace/index.d.ts +0 -3
- package/dist/system/components/data/select-workspace/interfaces.d.ts +0 -13
- package/dist/system/components/data/select-workspace/styles.d.ts +0 -4
- package/dist/system/components/data/tab/component.d.ts +0 -2
- package/dist/system/components/data/tab/index.d.ts +0 -2
- package/dist/system/components/data/tab/interfaces.d.ts +0 -31
- package/dist/system/components/data/tab/styles.d.ts +0 -1
- package/dist/system/components/data/tab/tab-item/index.d.ts +0 -6
- package/dist/system/components/data/tab/tab-item/styles.d.ts +0 -5
- package/dist/system/components/index.d.ts +0 -2
- package/dist/system/components/layout/component.d.ts +0 -2
- package/dist/system/components/layout/header/components/index.d.ts +0 -3
- package/dist/system/components/layout/header/components/logo/index.d.ts +0 -4
- package/dist/system/components/layout/header/components/menu-right/component.d.ts +0 -2
- package/dist/system/components/layout/header/components/menu-right/index.d.ts +0 -3
- package/dist/system/components/layout/header/components/menu-right/messages/content/card/index.d.ts +0 -2
- package/dist/system/components/layout/header/components/menu-right/messages/content/card/interfaces.d.ts +0 -11
- package/dist/system/components/layout/header/components/menu-right/messages/content/card/styles.d.ts +0 -1
- package/dist/system/components/layout/header/components/menu-right/messages/content/index.d.ts +0 -1
- package/dist/system/components/layout/header/components/menu-right/messages/content/interfaces.d.ts +0 -6
- package/dist/system/components/layout/header/components/menu-right/messages/content/styles.d.ts +0 -1
- package/dist/system/components/layout/header/components/menu-right/messages/index.d.ts +0 -1
- package/dist/system/components/layout/header/components/menu-right/messages/styles.d.ts +0 -1
- package/dist/system/components/layout/header/components/menu-right/profile/content/index.d.ts +0 -2
- package/dist/system/components/layout/header/components/menu-right/profile/content/styles.d.ts +0 -1
- package/dist/system/components/layout/header/components/menu-right/profile/index.d.ts +0 -2
- package/dist/system/components/layout/header/components/menu-right/profile/styles.d.ts +0 -1
- package/dist/system/components/layout/header/components/menu-right/styles.d.ts +0 -2
- package/dist/system/components/layout/header/components/search-modal/index.d.ts +0 -2
- package/dist/system/components/layout/header/components/search-modal/search-list/index.d.ts +0 -2
- package/dist/system/components/layout/header/components/search-modal/search-list/search-menu-item/index.d.ts +0 -5
- package/dist/system/components/layout/header/components/search-modal/search-list/styles.d.ts +0 -1
- package/dist/system/components/layout/header/components/search-modal/styles.d.ts +0 -1
- package/dist/system/components/layout/header/components/search-modal/trigger/index.d.ts +0 -1
- package/dist/system/components/layout/header/components/search-modal/trigger/styles.d.ts +0 -1
- package/dist/system/components/layout/header/index.d.ts +0 -2
- package/dist/system/components/layout/header/version-01/index.d.ts +0 -2
- package/dist/system/components/layout/header/version-01/styles.d.ts +0 -4
- package/dist/system/components/layout/index.d.ts +0 -5
- package/dist/system/components/layout/interfaces.d.ts +0 -26
- package/dist/system/components/layout/styles.d.ts +0 -3
- package/dist/system/context/auth/components/index.d.ts +0 -2
- package/dist/system/context/auth/components/login/form-login/index.d.ts +0 -1
- package/dist/system/context/auth/components/login/index.d.ts +0 -1
- package/dist/system/context/auth/components/login/styles.d.ts +0 -1
- package/dist/system/context/auth/components/private-page/index.d.ts +0 -2
- package/dist/system/context/auth/components/private-page/interfaces.d.ts +0 -6
- package/dist/system/context/auth/context.d.ts +0 -15
- package/dist/system/context/auth/index.d.ts +0 -3
- package/dist/system/context/auth/interfaces.d.ts +0 -62
- package/dist/system/context/container.d.ts +0 -21
- package/dist/system/context/index.d.ts +0 -5
- package/dist/system/context/infra-injection/context.d.ts +0 -7
- package/dist/system/context/infra-injection/index.d.ts +0 -2
- package/dist/system/context/infra-injection/interfaces.d.ts +0 -47
- package/dist/system/context/menu/context.d.ts +0 -4
- package/dist/system/context/menu/index.d.ts +0 -2
- package/dist/system/context/menu/interfaces.d.ts +0 -14
- package/dist/system/context/theme/context.d.ts +0 -13
- package/dist/system/context/theme/index.d.ts +0 -1
- package/dist/system/context/third-party-integration-context/context.d.ts +0 -6
- package/dist/system/context/third-party-integration-context/index.d.ts +0 -2
- package/dist/system/context/third-party-integration-context/interfaces.d.ts +0 -7
- package/dist/system/hooks/index.d.ts +0 -4
- package/dist/system/hooks/locales/ibge/index.d.ts +0 -1
- package/dist/system/hooks/locales/ibge/use-load-cities-by-uf/hook.d.ts +0 -8
- package/dist/system/hooks/locales/ibge/use-load-cities-by-uf/index.d.ts +0 -2
- package/dist/system/hooks/locales/ibge/use-load-cities-by-uf/interfaces.d.ts +0 -40
- package/dist/system/hooks/locales/index.d.ts +0 -2
- package/dist/system/hooks/locales/use-load-cities/index.d.ts +0 -4
- package/dist/system/hooks/menu/index.d.ts +0 -1
- package/dist/system/hooks/menu/use-load-menu.d.ts +0 -12
- package/dist/system/hooks/notifications/index.d.ts +0 -2
- package/dist/system/hooks/notifications/use-load-all/index.d.ts +0 -2
- package/dist/system/hooks/notifications/use-load-no-read/index.d.ts +0 -3
- package/dist/system/hooks/ui/index.d.ts +0 -2
- package/dist/system/hooks/ui/use-debounce/index.d.ts +0 -1
- package/dist/system/hooks/ui/use-table/component.d.ts +0 -4
- package/dist/system/hooks/ui/use-table/components/index.d.ts +0 -2
- package/dist/system/hooks/ui/use-table/components/table/actions/delete/index.d.ts +0 -5
- package/dist/system/hooks/ui/use-table/components/table/actions/index.d.ts +0 -9
- package/dist/system/hooks/ui/use-table/components/table/actions/styles.d.ts +0 -1
- package/dist/system/hooks/ui/use-table/components/table/active-filters/active-item-filter/index.d.ts +0 -16
- package/dist/system/hooks/ui/use-table/components/table/active-filters/index.d.ts +0 -2
- package/dist/system/hooks/ui/use-table/components/table/active-filters/styles.d.ts +0 -1
- package/dist/system/hooks/ui/use-table/components/table/create/index.d.ts +0 -4
- package/dist/system/hooks/ui/use-table/components/table/create/interfaces.d.ts +0 -1
- package/dist/system/hooks/ui/use-table/components/table/create/styles.d.ts +0 -1
- package/dist/system/hooks/ui/use-table/components/table/export/index.d.ts +0 -4
- package/dist/system/hooks/ui/use-table/components/table/export/styles.d.ts +0 -1
- package/dist/system/hooks/ui/use-table/components/table/filters/index.d.ts +0 -6
- package/dist/system/hooks/ui/use-table/components/table/filters/styles.d.ts +0 -3
- package/dist/system/hooks/ui/use-table/components/table/filters/use-filters-table.d.ts +0 -9
- package/dist/system/hooks/ui/use-table/components/table/index.d.ts +0 -2
- package/dist/system/hooks/ui/use-table/components/table/interfaces.d.ts +0 -30
- package/dist/system/hooks/ui/use-table/components/table/pagination/index.d.ts +0 -2
- package/dist/system/hooks/ui/use-table/components/table/pagination/service.d.ts +0 -24
- package/dist/system/hooks/ui/use-table/components/table/pagination/styles.d.ts +0 -1
- package/dist/system/hooks/ui/use-table/components/table/skeleton-table/index.d.ts +0 -1
- package/dist/system/hooks/ui/use-table/components/table/skeleton-table/styles.d.ts +0 -1
- package/dist/system/hooks/ui/use-table/components/table/styles.d.ts +0 -3
- package/dist/system/hooks/ui/use-table/components/table/thead-item/index.d.ts +0 -2
- package/dist/system/hooks/ui/use-table/components/table/thead-item/interfaces.d.ts +0 -7
- package/dist/system/hooks/ui/use-table/components/table/thead-item/styles.d.ts +0 -1
- package/dist/system/hooks/ui/use-table/components/table/tr/children-tr/index.d.ts +0 -7
- package/dist/system/hooks/ui/use-table/components/table/tr/children-tr/styles.d.ts +0 -1
- package/dist/system/hooks/ui/use-table/components/table/tr/index.d.ts +0 -11
- package/dist/system/hooks/ui/use-table/index.d.ts +0 -3
- package/dist/system/hooks/ui/use-table/interfaces.d.ts +0 -136
- package/dist/system/index.d.ts +0 -3
- package/dist/test/index.d.ts +0 -1
- package/dist/ui/atena/domain/dynamic-section/create.d.ts +0 -8
- package/dist/ui/atena/domain/dynamic-section/dynamic-section.d.ts +0 -52
- package/dist/ui/atena/domain/dynamic-section/index.d.ts +0 -4
- package/dist/ui/atena/domain/dynamic-section/load-all.d.ts +0 -10
- package/dist/ui/atena/domain/dynamic-section/update.d.ts +0 -8
- package/dist/ui/atena/domain/index.d.ts +0 -1
- package/dist/ui/atena/index.d.ts +0 -2
- package/dist/ui/atena/presentation/dynamic-elements/atena-page.d.ts +0 -34
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/index.d.ts +0 -25
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/styles.d.ts +0 -3
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/details-contact/index.d.ts +0 -2
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/details-contact/info/index.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/details-contact/info/styles.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/details-contact/styles.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/form-contact/index.d.ts +0 -4
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/form-contact/styles.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/index.d.ts +0 -4
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/styles.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/index.d.ts +0 -2
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/version-01/index.d.ts +0 -2
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/version-01/styles.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-elements/elements/index.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-elements/index.d.ts +0 -3
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/component.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/blog-item/index.d.ts +0 -2
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/blog-item/intefaces.d.ts +0 -0
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/blog-item/styles.d.ts +0 -69
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/categorias/index.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/featured-blog/featured-blog-item/format-date.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/featured-blog/featured-blog-item/index.d.ts +0 -4
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/featured-blog/featured-blog-item/styles.d.ts +0 -69
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/featured-blog/index.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/index.d.ts +0 -5
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/side-box-newsletter/index.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/side-box-search/index.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/styles.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/title-blog/index.d.ts +0 -3
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/title-blog/styles.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/index.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/styles.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/common-ssrs-api/blog/index.d.ts +0 -4
- package/dist/ui/atena/presentation/dynamic-elements/pages/common-ssrs-api/blog/interfaces.d.ts +0 -57
- package/dist/ui/atena/presentation/dynamic-elements/pages/common-ssrs-api/index.d.ts +0 -2
- package/dist/ui/atena/presentation/dynamic-elements/pages/common-ssrs-api/post/index.d.ts +0 -4
- package/dist/ui/atena/presentation/dynamic-elements/pages/index.d.ts +0 -3
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/box-post/index.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/box-post/interfaces.d.ts +0 -0
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/box-post/styles.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/box-tags/index.d.ts +0 -3
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/box-tags/share/icons/index.d.ts +0 -4
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/box-tags/share/index.d.ts +0 -3
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/box-tags/share/styles.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/box-tags/styles.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/component.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/index.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/styles.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-sections/context.d.ts +0 -27
- package/dist/ui/atena/presentation/dynamic-sections/get-initial-props-dynamic-section.d.ts +0 -3
- package/dist/ui/atena/presentation/dynamic-sections/index.d.ts +0 -5
- package/dist/ui/atena/presentation/dynamic-sections/types.d.ts +0 -54
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/edit-css/editor-code/index.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/edit-css/editor-code/styles.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/edit-css/index.d.ts +0 -5
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/edit-css/styles.d.ts +0 -1
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/edit-section.d.ts +0 -9
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/index.d.ts +0 -2
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/interfaces.d.ts +0 -32
- package/dist/ui/atena/presentation/dynamic-sections/use-section/index.d.ts +0 -12
- package/dist/ui/atena/presentation/index.d.ts +0 -3
- package/dist/ui/atena/presentation/site-configurations/atena-ssr-site.d.ts +0 -16
- package/dist/ui/atena/presentation/site-configurations/index.d.ts +0 -2
- package/dist/ui/atena/presentation/site-configurations/use-site-configurations.d.ts +0 -63
- package/dist/ui/codie-dynamic/components/directory-filter/categories-carousel/carousel-config.d.ts +0 -2
- package/dist/ui/codie-dynamic/components/directory-filter/categories-carousel/index.d.ts +0 -3
- package/dist/ui/codie-dynamic/components/directory-filter/categories-carousel/styles.d.ts +0 -1
- package/dist/ui/codie-dynamic/components/directory-filter/hooks/index.d.ts +0 -1
- package/dist/ui/codie-dynamic/components/directory-filter/hooks/use-dynamic-filter.d.ts +0 -18
- package/dist/ui/codie-dynamic/components/directory-filter/index.d.ts +0 -1
- package/dist/ui/codie-dynamic/components/directory-filter/source-filter-header/index.d.ts +0 -23
- package/dist/ui/codie-dynamic/components/directory-filter/source-filter-header/select-locale/index.d.ts +0 -3
- package/dist/ui/codie-dynamic/components/directory-filter/source-filter-header/styles.d.ts +0 -1
- package/dist/ui/codie-dynamic/components/directory-filter/source-filters/index.d.ts +0 -3
- package/dist/ui/codie-dynamic/components/directory-filter/source-filters/render-stars.d.ts +0 -3
- package/dist/ui/codie-dynamic/components/directory-filter/source-filters/styles.d.ts +0 -1
- package/dist/ui/codie-dynamic/components/directory-filter/use-filter.d.ts +0 -8
- package/dist/ui/codie-dynamic/components/index.d.ts +0 -1
- package/dist/ui/codie-dynamic/index.d.ts +0 -1
- package/dist/ui/components/accordion/accordions/index.d.ts +0 -12
- package/dist/ui/components/accordion/component.d.ts +0 -2
- package/dist/ui/components/accordion/index.d.ts +0 -2
- package/dist/ui/components/accordion/interfaces.d.ts +0 -17
- package/dist/ui/components/accordion/styles.d.ts +0 -1
- package/dist/ui/components/animation/index.d.ts +0 -23
- package/dist/ui/components/animation/type-animation.d.ts +0 -15
- package/dist/ui/components/breadcrumb/component.d.ts +0 -2
- package/dist/ui/components/breadcrumb/index.d.ts +0 -2
- package/dist/ui/components/breadcrumb/interfaces.d.ts +0 -8
- package/dist/ui/components/breadcrumb/styles.d.ts +0 -1
- package/dist/ui/components/button/component.d.ts +0 -2
- package/dist/ui/components/button/index.d.ts +0 -2
- package/dist/ui/components/button/interfaces.d.ts +0 -9
- package/dist/ui/components/button/styles.d.ts +0 -5
- package/dist/ui/components/carousel/carousel-lib/components-shared/get-changed-params.d.ts +0 -2
- package/dist/ui/components/carousel/carousel-lib/components-shared/get-element-params.d.ts +0 -5
- package/dist/ui/components/carousel/carousel-lib/components-shared/get-params.d.ts +0 -9
- package/dist/ui/components/carousel/carousel-lib/components-shared/mount-swiper.d.ts +0 -9
- package/dist/ui/components/carousel/carousel-lib/components-shared/params-list.d.ts +0 -2
- package/dist/ui/components/carousel/carousel-lib/components-shared/update-on-virtual-data.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/components-shared/update-swiper.d.ts +0 -11
- package/dist/ui/components/carousel/carousel-lib/components-shared/utils.d.ts +0 -9
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/getBreakpoint.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/index.d.ts +0 -7
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/setBreakpoint.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/check-overflow/index.d.ts +0 -5
- package/dist/ui/components/carousel/carousel-lib/core/classes/addClasses.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/classes/index.d.ts +0 -7
- package/dist/ui/components/carousel/carousel-lib/core/classes/removeClasses.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/core.d.ts +0 -116
- package/dist/ui/components/carousel/carousel-lib/core/defaults.d.ts +0 -92
- package/dist/ui/components/carousel/carousel-lib/core/events/index.d.ts +0 -7
- package/dist/ui/components/carousel/carousel-lib/core/events/onClick.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/events/onDocumentTouchStart.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/events/onLoad.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/events/onResize.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/events/onScroll.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/events/onTouchEnd.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/events/onTouchMove.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/events/onTouchStart.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/events-emitter.d.ts +0 -9
- package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/index.d.ts +0 -7
- package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/setGrabCursor.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/unsetGrabCursor.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/loop/index.d.ts +0 -9
- package/dist/ui/components/carousel/carousel-lib/core/loop/loopCreate.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/loop/loopDestroy.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/loop/loopFix.d.ts +0 -3
- package/dist/ui/components/carousel/carousel-lib/core/moduleExtendParams.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/modules/observer/observer.d.ts +0 -6
- package/dist/ui/components/carousel/carousel-lib/core/modules/resize/resize.d.ts +0 -5
- package/dist/ui/components/carousel/carousel-lib/core/slide/index.d.ts +0 -17
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideNext.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/slide/slidePrev.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideReset.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideTo.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideToClickedSlide.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideToClosest.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideToLoop.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/transition/index.d.ts +0 -9
- package/dist/ui/components/carousel/carousel-lib/core/transition/setTransition.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/transition/transitionEmit.d.ts +0 -6
- package/dist/ui/components/carousel/carousel-lib/core/transition/transitionEnd.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/transition/transitionStart.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/translate/getTranslate.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/translate/index.d.ts +0 -13
- package/dist/ui/components/carousel/carousel-lib/core/translate/maxTranslate.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/translate/minTranslate.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/translate/setTranslate.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/translate/translateTo.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/index.d.ts +0 -21
- package/dist/ui/components/carousel/carousel-lib/core/update/updateActiveIndex.d.ts +0 -2
- package/dist/ui/components/carousel/carousel-lib/core/update/updateAutoHeight.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/updateClickedSlide.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/updateProgress.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSize.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSlides.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSlidesClasses.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSlidesOffset.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSlidesProgress.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/modules/autoplay.d.ts +0 -7
- package/dist/ui/components/carousel/carousel-lib/modules/effect-fade.d.ts +0 -5
- package/dist/ui/components/carousel/carousel-lib/modules/free-mode.d.ts +0 -6
- package/dist/ui/components/carousel/carousel-lib/modules/grid.d.ts +0 -5
- package/dist/ui/components/carousel/carousel-lib/modules/index.d.ts +0 -7
- package/dist/ui/components/carousel/carousel-lib/modules/navigation.d.ts +0 -6
- package/dist/ui/components/carousel/carousel-lib/modules/pagination.d.ts +0 -6
- package/dist/ui/components/carousel/carousel-lib/modules/virtual.d.ts +0 -6
- package/dist/ui/components/carousel/carousel-lib/react/context.d.ts +0 -4
- package/dist/ui/components/carousel/carousel-lib/react/get-children.d.ts +0 -10
- package/dist/ui/components/carousel/carousel-lib/react/swiper-slide.d.ts +0 -3
- package/dist/ui/components/carousel/carousel-lib/react/swiper.d.ts +0 -3
- package/dist/ui/components/carousel/carousel-lib/react/use-isomorphic-layout-effect.d.ts +0 -2
- package/dist/ui/components/carousel/carousel-lib/react/virtual.d.ts +0 -12
- package/dist/ui/components/carousel/carousel-lib/shared/classes-to-selector.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/shared/classes-to-tokens.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/shared/create-element-if-not-defined.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/shared/create-shadow.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/shared/effect-init.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/shared/effect-target.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/shared/effect-virtual-transition-end.d.ts +0 -6
- package/dist/ui/components/carousel/carousel-lib/shared/get-browser.d.ts +0 -2
- package/dist/ui/components/carousel/carousel-lib/shared/get-device.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/shared/get-support.d.ts +0 -2
- package/dist/ui/components/carousel/carousel-lib/shared/process-lazy-preloader.d.ts +0 -2
- package/dist/ui/components/carousel/carousel-lib/shared/utils.d.ts +0 -31
- package/dist/ui/components/carousel/carousel-lib/ssr-window/document.d.ts +0 -36
- package/dist/ui/components/carousel/carousel-lib/ssr-window/extend.d.ts +0 -2
- package/dist/ui/components/carousel/carousel-lib/ssr-window/ssr-window.d.ts +0 -4
- package/dist/ui/components/carousel/carousel-lib/ssr-window/window.d.ts +0 -71
- package/dist/ui/components/carousel/carousel-lib/swiper-bundle.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/swiper-effect-utils.d.ts +0 -6
- package/dist/ui/components/carousel/carousel-lib/swiper-react.d.ts +0 -4
- package/dist/ui/components/carousel/carousel-lib/swiper.d.ts +0 -1
- package/dist/ui/components/carousel/carousel-lib/types/index.d.ts +0 -5
- package/dist/ui/components/carousel/carousel-lib/types/shared.d.ts +0 -14
- package/dist/ui/components/carousel/carousel-lib/types/swiper-class.d.ts +0 -415
- package/dist/ui/components/carousel/carousel-lib/types/swiper-events.d.ts +0 -162
- package/dist/ui/components/carousel/carousel-lib/types/swiper-options.d.ts +0 -1092
- package/dist/ui/components/carousel/index.d.ts +0 -11
- package/dist/ui/components/carousel/interfaces.d.ts +0 -12
- package/dist/ui/components/carousel/styles.d.ts +0 -1
- package/dist/ui/components/charts/index.d.ts +0 -2
- package/dist/ui/components/charts/matriz/index.d.ts +0 -12
- package/dist/ui/components/charts/matriz/styles.d.ts +0 -1
- package/dist/ui/components/charts/pie/index.d.ts +0 -1
- package/dist/ui/components/charts/pie/simple/functions.d.ts +0 -2
- package/dist/ui/components/charts/pie/simple/index.d.ts +0 -7
- package/dist/ui/components/charts/pie/simple/interfaces.d.ts +0 -9
- package/dist/ui/components/charts/pie/simple/styles.d.ts +0 -1
- package/dist/ui/components/container/index.d.ts +0 -2
- package/dist/ui/components/container/interfaces.d.ts +0 -4
- package/dist/ui/components/count-up/index.d.ts +0 -7
- package/dist/ui/components/drop-down/index.d.ts +0 -2
- package/dist/ui/components/drop-down/interfaces.d.ts +0 -7
- package/dist/ui/components/drop-down/styles.d.ts +0 -3
- package/dist/ui/components/error-boundary/component.d.ts +0 -2
- package/dist/ui/components/error-boundary/error-body.d.ts +0 -2
- package/dist/ui/components/error-boundary/index.d.ts +0 -2
- package/dist/ui/components/error-boundary/interfaces.d.ts +0 -7
- package/dist/ui/components/error-boundary/src/ErrorBoundary.d.ts +0 -21
- package/dist/ui/components/error-boundary/src/ErrorBoundaryContext.d.ts +0 -6
- package/dist/ui/components/error-boundary/src/assertErrorBoundaryContext.d.ts +0 -2
- package/dist/ui/components/error-boundary/src/env-conditions/development.d.ts +0 -1
- package/dist/ui/components/error-boundary/src/env-conditions/production.d.ts +0 -1
- package/dist/ui/components/error-boundary/src/index.d.ts +0 -5
- package/dist/ui/components/error-boundary/src/types.d.ts +0 -35
- package/dist/ui/components/error-boundary/src/useErrorBoundary.d.ts +0 -5
- package/dist/ui/components/error-boundary/src/withErrorBoundary.d.ts +0 -3
- package/dist/ui/components/evaluations/card/index.d.ts +0 -11
- package/dist/ui/components/evaluations/card/styles.d.ts +0 -5
- package/dist/ui/components/evaluations/index.d.ts +0 -7
- package/dist/ui/components/evaluations/star.d.ts +0 -1
- package/dist/ui/components/evaluations/stars-text/index.d.ts +0 -9
- package/dist/ui/components/evaluations/stars-text/styles.d.ts +0 -5
- package/dist/ui/components/evaluations/styles.d.ts +0 -10
- package/dist/ui/components/form/checkbox/index.d.ts +0 -7
- package/dist/ui/components/form/checkbox/styles.d.ts +0 -1
- package/dist/ui/components/form/drag-and-drop/index.d.ts +0 -24
- package/dist/ui/components/form/handler/component.d.ts +0 -2
- package/dist/ui/components/form/handler/custom-submit/index.d.ts +0 -26
- package/dist/ui/components/form/handler/dynamic_form_handler/component.d.ts +0 -2
- package/dist/ui/components/form/handler/dynamic_form_handler/index.d.ts +0 -3
- package/dist/ui/components/form/handler/dynamic_form_handler/interfaces.d.ts +0 -31
- package/dist/ui/components/form/handler/dynamic_form_handler/render-dynamic-inputs/index.d.ts +0 -6
- package/dist/ui/components/form/handler/dynamic_form_handler/styles.d.ts +0 -1
- package/dist/ui/components/form/handler/form-handler/generate-schemas.d.ts +0 -17
- package/dist/ui/components/form/handler/form-handler/index.d.ts +0 -11
- package/dist/ui/components/form/handler/form-handler/use-form-handler.d.ts +0 -7
- package/dist/ui/components/form/handler/form-handler/use-schemas.d.ts +0 -2
- package/dist/ui/components/form/handler/form-handler/use-send-file.d.ts +0 -5
- package/dist/ui/components/form/handler/i18n/capture-i18n-errors/index.d.ts +0 -6
- package/dist/ui/components/form/handler/i18n/index.d.ts +0 -2
- package/dist/ui/components/form/handler/index.d.ts +0 -6
- package/dist/ui/components/form/handler/interfaces.d.ts +0 -84
- package/dist/ui/components/form/handler/styles.d.ts +0 -3
- package/dist/ui/components/form/index.d.ts +0 -30
- package/dist/ui/components/form/input/index.d.ts +0 -2
- package/dist/ui/components/form/input-cep/component.d.ts +0 -5
- package/dist/ui/components/form/input-cep/index.d.ts +0 -3
- package/dist/ui/components/form/input-cep/interfaces.d.ts +0 -16
- package/dist/ui/components/form/input-cep/use-cep/hook.d.ts +0 -5
- package/dist/ui/components/form/input-cep/use-cep/index.d.ts +0 -2
- package/dist/ui/components/form/input-cep/use-cep/providers/ibge/hook.d.ts +0 -5
- package/dist/ui/components/form/input-cep/use-cep/providers/ibge/index.d.ts +0 -3
- package/dist/ui/components/form/input-cep/use-cep/providers/ibge/interfaces.d.ts +0 -13
- package/dist/ui/components/form/input-cep/use-cep/providers/ibge/service.d.ts +0 -1
- package/dist/ui/components/form/input-cep/use-cep/providers/index.d.ts +0 -1
- package/dist/ui/components/form/input-color/index.d.ts +0 -2
- package/dist/ui/components/form/input-control/error/index.d.ts +0 -3
- package/dist/ui/components/form/input-control/error/styles.d.ts +0 -1
- package/dist/ui/components/form/input-control/index.d.ts +0 -4
- package/dist/ui/components/form/input-control/label/index.d.ts +0 -2
- package/dist/ui/components/form/input-control/label/interfaces.d.ts +0 -4
- package/dist/ui/components/form/input-control/label/styles.d.ts +0 -1
- package/dist/ui/components/form/input-control/loader-input/index.d.ts +0 -1
- package/dist/ui/components/form/input-control/loader-input/styles.d.ts +0 -1
- package/dist/ui/components/form/input-control/styles.d.ts +0 -8
- package/dist/ui/components/form/input-counter/index.d.ts +0 -10
- package/dist/ui/components/form/input-counter/styles.d.ts +0 -1
- package/dist/ui/components/form/input-cpf-cnpj/index.d.ts +0 -2
- package/dist/ui/components/form/input-currency/components/CurrencyInput.d.ts +0 -2
- package/dist/ui/components/form/input-currency/components/CurrencyInputProps.d.ts +0 -160
- package/dist/ui/components/form/input-currency/components/index.d.ts +0 -1
- package/dist/ui/components/form/input-currency/components/utils/addSeparators.d.ts +0 -4
- package/dist/ui/components/form/input-currency/components/utils/cleanValue.d.ts +0 -8
- package/dist/ui/components/form/input-currency/components/utils/escapeRegExp.d.ts +0 -6
- package/dist/ui/components/form/input-currency/components/utils/fixedDecimalValue.d.ts +0 -1
- package/dist/ui/components/form/input-currency/components/utils/formatValue.d.ts +0 -49
- package/dist/ui/components/form/input-currency/components/utils/getLocaleConfig.d.ts +0 -13
- package/dist/ui/components/form/input-currency/components/utils/getSuffix.d.ts +0 -6
- package/dist/ui/components/form/input-currency/components/utils/index.d.ts +0 -8
- package/dist/ui/components/form/input-currency/components/utils/isNumber.d.ts +0 -1
- package/dist/ui/components/form/input-currency/components/utils/padTrimValue.d.ts +0 -1
- package/dist/ui/components/form/input-currency/components/utils/parseAbbrValue.d.ts +0 -10
- package/dist/ui/components/form/input-currency/components/utils/removeInvalidChars.d.ts +0 -4
- package/dist/ui/components/form/input-currency/components/utils/removeSeparators.d.ts +0 -4
- package/dist/ui/components/form/input-currency/components/utils/repositionCursor.d.ts +0 -16
- package/dist/ui/components/form/input-currency/index.d.ts +0 -9
- package/dist/ui/components/form/input-date-picker/calendar/calendar-header/index.d.ts +0 -2
- package/dist/ui/components/form/input-date-picker/calendar/calendar-header/styles.d.ts +0 -1
- package/dist/ui/components/form/input-date-picker/calendar/days/index.d.ts +0 -2
- package/dist/ui/components/form/input-date-picker/calendar/days/styles.d.ts +0 -1
- package/dist/ui/components/form/input-date-picker/calendar/index.d.ts +0 -8
- package/dist/ui/components/form/input-date-picker/calendar/interface.d.ts +0 -13
- package/dist/ui/components/form/input-date-picker/calendar/months/index.d.ts +0 -2
- package/dist/ui/components/form/input-date-picker/calendar/months/styles.d.ts +0 -1
- package/dist/ui/components/form/input-date-picker/calendar/styles.d.ts +0 -4
- package/dist/ui/components/form/input-date-picker/calendar/years/index.d.ts +0 -2
- package/dist/ui/components/form/input-date-picker/calendar/years/styles.d.ts +0 -1
- package/dist/ui/components/form/input-date-picker/component.d.ts +0 -8
- package/dist/ui/components/form/input-date-picker/index.d.ts +0 -2
- package/dist/ui/components/form/input-date-picker/interfaces.d.ts +0 -23
- package/dist/ui/components/form/input-date-picker/mock/index.d.ts +0 -1
- package/dist/ui/components/form/input-date-picker/mock/translations.d.ts +0 -20
- package/dist/ui/components/form/input-date-picker/settings/index.d.ts +0 -27
- package/dist/ui/components/form/input-date-picker/styles.d.ts +0 -0
- package/dist/ui/components/form/input-date-picker-new/calendar/calendar-header/index.d.ts +0 -2
- package/dist/ui/components/form/input-date-picker-new/calendar/calendar-header/styles.d.ts +0 -1
- package/dist/ui/components/form/input-date-picker-new/calendar/days/index.d.ts +0 -2
- package/dist/ui/components/form/input-date-picker-new/calendar/days/styles.d.ts +0 -1
- package/dist/ui/components/form/input-date-picker-new/calendar/index.d.ts +0 -8
- package/dist/ui/components/form/input-date-picker-new/calendar/interface.d.ts +0 -16
- package/dist/ui/components/form/input-date-picker-new/calendar/months/index.d.ts +0 -2
- package/dist/ui/components/form/input-date-picker-new/calendar/months/styles.d.ts +0 -1
- package/dist/ui/components/form/input-date-picker-new/calendar/styles.d.ts +0 -4
- package/dist/ui/components/form/input-date-picker-new/component.d.ts +0 -4
- package/dist/ui/components/form/input-date-picker-new/index.d.ts +0 -2
- package/dist/ui/components/form/input-date-picker-new/interfaces.d.ts +0 -22
- package/dist/ui/components/form/input-date-picker-new/mock/index.d.ts +0 -1
- package/dist/ui/components/form/input-date-picker-new/mock/translations.d.ts +0 -20
- package/dist/ui/components/form/input-date-picker-new/styles.d.ts +0 -1
- package/dist/ui/components/form/input-date-range/component.d.ts +0 -7
- package/dist/ui/components/form/input-date-range/filter/index.d.ts +0 -2
- package/dist/ui/components/form/input-date-range/filter/styles.d.ts +0 -2
- package/dist/ui/components/form/input-date-range/index.d.ts +0 -1
- package/dist/ui/components/form/input-date-range/styles.d.ts +0 -1
- package/dist/ui/components/form/input-file/component.d.ts +0 -23
- package/dist/ui/components/form/input-file/hooks/index.d.ts +0 -4
- package/dist/ui/components/form/input-file/hooks/use-components-file.d.ts +0 -9
- package/dist/ui/components/form/input-file/hooks/use-file-elements.d.ts +0 -13
- package/dist/ui/components/form/input-file/hooks/use-file.d.ts +0 -25
- package/dist/ui/components/form/input-file/hooks/use-rendered-file.d.ts +0 -9
- package/dist/ui/components/form/input-file/index.d.ts +0 -4
- package/dist/ui/components/form/input-file/render-files/component.d.ts +0 -2
- package/dist/ui/components/form/input-file/render-files/file-item/button-upload-image-mobile/index.d.ts +0 -13
- package/dist/ui/components/form/input-file/render-files/file-item/index.d.ts +0 -3
- package/dist/ui/components/form/input-file/render-files/file-item/styles.d.ts +0 -2
- package/dist/ui/components/form/input-file/render-files/index.d.ts +0 -3
- package/dist/ui/components/form/input-file/render-files/interfaces.d.ts +0 -6
- package/dist/ui/components/form/input-file/styles.d.ts +0 -2
- package/dist/ui/components/form/input-manager/component.d.ts +0 -3
- package/dist/ui/components/form/input-manager/index.d.ts +0 -2
- package/dist/ui/components/form/input-manager/interfaces.d.ts +0 -9
- package/dist/ui/components/form/input-manager/styles.d.ts +0 -4
- package/dist/ui/components/form/input-mask/index.d.ts +0 -7
- package/dist/ui/components/form/input-password/index.d.ts +0 -5
- package/dist/ui/components/form/input-password/styles.d.ts +0 -1
- package/dist/ui/components/form/input-range/index.d.ts +0 -6
- package/dist/ui/components/form/input-range/styles.d.ts +0 -1
- package/dist/ui/components/form/input-seo/index.d.ts +0 -5
- package/dist/ui/components/form/input-seo/input-meta-image/index.d.ts +0 -2
- package/dist/ui/components/form/input-seo/input-meta-image/styles.d.ts +0 -1
- package/dist/ui/components/form/input-seo/styles.d.ts +0 -1
- package/dist/ui/components/form/input-star/index.d.ts +0 -2
- package/dist/ui/components/form/input-star/styles.d.ts +0 -4
- package/dist/ui/components/form/input-svg/index.d.ts +0 -2
- package/dist/ui/components/form/input-svg/styles.d.ts +0 -1
- package/dist/ui/components/form/input-switch/index.d.ts +0 -2
- package/dist/ui/components/form/input-switch/interfaces.d.ts +0 -13
- package/dist/ui/components/form/input-switch/styles.d.ts +0 -2
- package/dist/ui/components/form/input-week-availability/availability-preview/index.d.ts +0 -4
- package/dist/ui/components/form/input-week-availability/availability-preview/styles.d.ts +0 -1
- package/dist/ui/components/form/input-week-availability/index.d.ts +0 -2
- package/dist/ui/components/form/input-week-availability/input.d.ts +0 -13
- package/dist/ui/components/form/input-week-availability/mock.d.ts +0 -8
- package/dist/ui/components/form/input-week-availability/styles.d.ts +0 -1
- package/dist/ui/components/form/input-youtube/index.d.ts +0 -2
- package/dist/ui/components/form/input-youtube/styles.d.ts +0 -1
- package/dist/ui/components/form/interfaces.d.ts +0 -78
- package/dist/ui/components/form/radio/index.d.ts +0 -21
- package/dist/ui/components/form/radio/styles.d.ts +0 -1
- package/dist/ui/components/form/select/custom-styles.d.ts +0 -2
- package/dist/ui/components/form/select/index.d.ts +0 -4
- package/dist/ui/components/form/select/interfaces.d.ts +0 -0
- package/dist/ui/components/form/select/styles.d.ts +0 -1
- package/dist/ui/components/form/select-icon/index.d.ts +0 -2
- package/dist/ui/components/form/select-icon/styles.d.ts +0 -1
- package/dist/ui/components/form/text-editor/component.d.ts +0 -10
- package/dist/ui/components/form/text-editor/hook/index.d.ts +0 -4
- package/dist/ui/components/form/text-editor/index.d.ts +0 -3
- package/dist/ui/components/form/text-editor/quill.d.ts +0 -21
- package/dist/ui/components/form/textarea/index.d.ts +0 -2
- package/dist/ui/components/google-translate-page/index.d.ts +0 -8
- package/dist/ui/components/google-translate-page/styles.d.ts +0 -1
- package/dist/ui/components/google-translate-page/translate.d.ts +0 -11
- package/dist/ui/components/index.d.ts +0 -32
- package/dist/ui/components/loader-circle/index.d.ts +0 -2
- package/dist/ui/components/loader-circle/interfaces.d.ts +0 -4
- package/dist/ui/components/loading-screen/index.d.ts +0 -2
- package/dist/ui/components/loading-screen/interfaces.d.ts +0 -5
- package/dist/ui/components/loading-screen/styles.d.ts +0 -1
- package/dist/ui/components/login-modal/index.d.ts +0 -8
- package/dist/ui/components/login-modal/styles.d.ts +0 -1
- package/dist/ui/components/menu-mobile/components/nav-links/index.d.ts +0 -3
- package/dist/ui/components/menu-mobile/components/nav-links/interfaces.d.ts +0 -5
- package/dist/ui/components/menu-mobile/components/nav-links/styles.d.ts +0 -1
- package/dist/ui/components/menu-mobile/index.d.ts +0 -2
- package/dist/ui/components/menu-mobile/interfaces.d.ts +0 -24
- package/dist/ui/components/menu-mobile/styles.d.ts +0 -1
- package/dist/ui/components/menu-mobile/top/index.d.ts +0 -2
- package/dist/ui/components/menu-mobile/top/interfaces.d.ts +0 -6
- package/dist/ui/components/menu-mobile/top/styles.d.ts +0 -1
- package/dist/ui/components/modal/component.d.ts +0 -2
- package/dist/ui/components/modal/index.d.ts +0 -2
- package/dist/ui/components/modal/interfaces.d.ts +0 -17
- package/dist/ui/components/modal/styles.d.ts +0 -3
- package/dist/ui/components/next-image/index.d.ts +0 -2
- package/dist/ui/components/next-image/interfaces.d.ts +0 -8
- package/dist/ui/components/next-image/styles.d.ts +0 -1
- package/dist/ui/components/overlay/index.d.ts +0 -2
- package/dist/ui/components/overlay/interfaces.d.ts +0 -7
- package/dist/ui/components/overlay/styles.d.ts +0 -4
- package/dist/ui/components/pagination/index.d.ts +0 -2
- package/dist/ui/components/pagination/service.d.ts +0 -24
- package/dist/ui/components/pagination/styles.d.ts +0 -1
- package/dist/ui/components/pix/index.d.ts +0 -15
- package/dist/ui/components/pix/pix-sucess/index.d.ts +0 -6
- package/dist/ui/components/pix/pix-sucess/styles.d.ts +0 -1
- package/dist/ui/components/pix/styles.d.ts +0 -1
- package/dist/ui/components/pix/timer/index.d.ts +0 -3
- package/dist/ui/components/pix/timer/styles.d.ts +0 -1
- package/dist/ui/components/pop-confirm/component.d.ts +0 -14
- package/dist/ui/components/pop-confirm/index.d.ts +0 -1
- package/dist/ui/components/pop-confirm/styles.d.ts +0 -1
- package/dist/ui/components/portal/index.d.ts +0 -4
- package/dist/ui/components/sidebar/index.d.ts +0 -3
- package/dist/ui/components/sidebar/interfaces.d.ts +0 -9
- package/dist/ui/components/sidebar/styles.d.ts +0 -8
- package/dist/ui/components/site/context/index.d.ts +0 -39
- package/dist/ui/components/site/context/scripts/acept-cookies/index.d.ts +0 -3
- package/dist/ui/components/site/context/scripts/acept-cookies/styles.d.ts +0 -1
- package/dist/ui/components/site/context/scripts/acept-ratedr/index.d.ts +0 -3
- package/dist/ui/components/site/context/scripts/acept-ratedr/styles.d.ts +0 -1
- package/dist/ui/components/site/context/scripts/component.d.ts +0 -2
- package/dist/ui/components/site/context/scripts/conditional-scripts/index.d.ts +0 -9
- package/dist/ui/components/site/context/scripts/facebook/use-track-page-views.d.ts +0 -6
- package/dist/ui/components/site/context/scripts/index.d.ts +0 -5
- package/dist/ui/components/site/context/scripts/interfaces.d.ts +0 -6
- package/dist/ui/components/site/context/scripts/whatsapp-fixed/index.d.ts +0 -5
- package/dist/ui/components/site/context/scripts/whatsapp-fixed/styles.d.ts +0 -1
- package/dist/ui/components/site/default-pages/404/component.d.ts +0 -1
- package/dist/ui/components/site/default-pages/404/index.d.ts +0 -1
- package/dist/ui/components/site/default-pages/404/styles.d.ts +0 -1
- package/dist/ui/components/site/default-pages/500/component.d.ts +0 -1
- package/dist/ui/components/site/default-pages/500/index.d.ts +0 -1
- package/dist/ui/components/site/default-pages/500/styles.d.ts +0 -1
- package/dist/ui/components/site/default-pages/index.d.ts +0 -2
- package/dist/ui/components/site/default-pages/sitemap/index.d.ts +0 -4
- package/dist/ui/components/site/effect/component.d.ts +0 -2
- package/dist/ui/components/site/effect/index.d.ts +0 -2
- package/dist/ui/components/site/effect/interfaces.d.ts +0 -5
- package/dist/ui/components/site/effect/styles.d.ts +0 -6
- package/dist/ui/components/site/head/component.d.ts +0 -2
- package/dist/ui/components/site/head/index.d.ts +0 -2
- package/dist/ui/components/site/head/interfaces.d.ts +0 -9
- package/dist/ui/components/site/header-link/component.d.ts +0 -2
- package/dist/ui/components/site/header-link/index.d.ts +0 -2
- package/dist/ui/components/site/header-link/interfaces.d.ts +0 -14
- package/dist/ui/components/site/header-link/versions/index.d.ts +0 -1
- package/dist/ui/components/site/header-link/versions/version-01/component.d.ts +0 -2
- package/dist/ui/components/site/header-link/versions/version-01/styles.d.ts +0 -1
- package/dist/ui/components/site/index.d.ts +0 -7
- package/dist/ui/components/site/list-blog/card/index.d.ts +0 -2
- package/dist/ui/components/site/list-blog/card/styles.d.ts +0 -1
- package/dist/ui/components/site/list-blog/carousel-configs.d.ts +0 -1
- package/dist/ui/components/site/list-blog/component.d.ts +0 -2
- package/dist/ui/components/site/list-blog/index.d.ts +0 -1
- package/dist/ui/components/site/list-blog/interfaces.d.ts +0 -13
- package/dist/ui/components/site/list-blog/styles.d.ts +0 -1
- package/dist/ui/components/site/mvv/component.d.ts +0 -2
- package/dist/ui/components/site/mvv/index.d.ts +0 -1
- package/dist/ui/components/site/mvv/interfaces.d.ts +0 -11
- package/dist/ui/components/site/mvv/versions/index.d.ts +0 -1
- package/dist/ui/components/site/mvv/versions/version-01/component.d.ts +0 -2
- package/dist/ui/components/site/mvv/versions/version-01/styles.d.ts +0 -1
- package/dist/ui/components/skeleton/index.d.ts +0 -8
- package/dist/ui/components/skeleton/styles.d.ts +0 -1
- package/dist/ui/components/spacing/index.d.ts +0 -7
- package/dist/ui/components/spacing/styles.d.ts +0 -7
- package/dist/ui/components/step-navigator/index.d.ts +0 -9
- package/dist/ui/components/step-navigator/styles.d.ts +0 -5
- package/dist/ui/components/tooltip/component.d.ts +0 -2
- package/dist/ui/components/tooltip/hooks/use-tool-tip.d.ts +0 -9
- package/dist/ui/components/tooltip/index.d.ts +0 -2
- package/dist/ui/components/tooltip/interfaces.d.ts +0 -18
- package/dist/ui/components/tooltip/styles.d.ts +0 -8
- package/dist/ui/components/video/component.d.ts +0 -2
- package/dist/ui/components/video/index.d.ts +0 -2
- package/dist/ui/components/video/interfaces.d.ts +0 -15
- package/dist/ui/components/video/panda-video/components/index.d.ts +0 -2
- package/dist/ui/components/video/panda-video/components/player-component.d.ts +0 -1
- package/dist/ui/components/video/panda-video/components/player-wrapper.d.ts +0 -1
- package/dist/ui/components/video/panda-video/index.d.ts +0 -2
- package/dist/ui/components/video/panda-video/interfaces.d.ts +0 -122
- package/dist/ui/components/video/panda-video/player.d.ts +0 -5
- package/dist/ui/components/warning/index.d.ts +0 -2
- package/dist/ui/components/warning/interface.d.ts +0 -10
- package/dist/ui/components/warning/styles.d.ts +0 -1
- package/dist/ui/components/zoom-hover/index.d.ts +0 -7
- package/dist/ui/contexts/i18n/context.d.ts +0 -4
- package/dist/ui/contexts/i18n/edit-mode/index.d.ts +0 -1
- package/dist/ui/contexts/i18n/get-initial-props.d.ts +0 -6
- package/dist/ui/contexts/i18n/index.d.ts +0 -6
- package/dist/ui/contexts/i18n/interfaces.d.ts +0 -32
- package/dist/ui/contexts/i18n/translate.d.ts +0 -7
- package/dist/ui/contexts/i18n/use-i18n-data/index.d.ts +0 -13
- package/dist/ui/contexts/index.d.ts +0 -3
- package/dist/ui/contexts/route-loading/index.d.ts +0 -6
- package/dist/ui/contexts/toast/index.d.ts +0 -8
- package/dist/ui/contexts/toast/interfaces.d.ts +0 -12
- package/dist/ui/contexts/toast/styles.d.ts +0 -1
- package/dist/ui/contexts/toast/toast-item/index.d.ts +0 -4
- package/dist/ui/contexts/toast/toast-item/styles.d.ts +0 -1
- package/dist/ui/hooks/index.d.ts +0 -11
- package/dist/ui/hooks/permitions/camera/index.d.ts +0 -2
- package/dist/ui/hooks/permitions/camera/styles.d.ts +0 -1
- package/dist/ui/hooks/permitions/camera/use-camera.d.ts +0 -12
- package/dist/ui/hooks/permitions/camera/use-monitoring-video-permission.d.ts +0 -1
- package/dist/ui/hooks/permitions/camera/webcan-component.d.ts +0 -59
- package/dist/ui/hooks/permitions/index.d.ts +0 -1
- package/dist/ui/hooks/use-component-is-mounted.d.ts +0 -1
- package/dist/ui/hooks/use-dynamic-head/index.d.ts +0 -3
- package/dist/ui/hooks/use-element-id.d.ts +0 -3
- package/dist/ui/hooks/use-is-visible/index.d.ts +0 -4
- package/dist/ui/hooks/use-mount-transition/index.d.ts +0 -1
- package/dist/ui/hooks/use-scroll.d.ts +0 -8
- package/dist/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/generator.d.ts +0 -3
- package/dist/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/get-params.d.ts +0 -2
- package/dist/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/get-request-body.d.ts +0 -2
- package/dist/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/get-result.d.ts +0 -2
- package/dist/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/index.d.ts +0 -5
- package/dist/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/interfaces.d.ts +0 -11
- package/dist/ui/hooks/use-swagger/_generate_swagger/generate-interfaces-openApi/index.d.ts +0 -2
- package/dist/ui/hooks/use-swagger/_generate_swagger/generate-openApi-client/index.d.ts +0 -2
- package/dist/ui/hooks/use-swagger/_generate_swagger/generator.d.ts +0 -7
- package/dist/ui/hooks/use-swagger/_generate_swagger/index.d.ts +0 -5
- package/dist/ui/hooks/use-swagger/_generate_swagger/openapi-interfaces.d.ts +0 -236
- package/dist/ui/hooks/use-swagger/client/index.d.ts +0 -29
- package/dist/ui/hooks/use-swagger/index.d.ts +0 -2
- package/dist/ui/hooks/use-swagger/test/index.d.ts +0 -2
- package/dist/ui/hooks/use-timer/index.d.ts +0 -2
- package/dist/ui/hooks/use-timer/interfaces.d.ts +0 -23
- package/dist/ui/hooks/use-timer/use-timer.d.ts +0 -16
- package/dist/ui/hooks/use-window.d.ts +0 -1
- package/dist/ui/icons/index.d.ts +0 -134
- package/dist/ui/icons/interfaces.d.ts +0 -3
- package/dist/ui/icons/render/component.d.ts +0 -8
- package/dist/ui/icons/render/icon-Instagram.d.ts +0 -3
- package/dist/ui/icons/render/icon-Linkedin.d.ts +0 -3
- package/dist/ui/icons/render/icon-Lupa.d.ts +0 -2
- package/dist/ui/icons/render/icon-Map.d.ts +0 -3
- package/dist/ui/icons/render/icon-Microphone.d.ts +0 -2
- package/dist/ui/icons/render/icon-Minus.d.ts +0 -2
- package/dist/ui/icons/render/icon-Phone.d.ts +0 -3
- package/dist/ui/icons/render/icon-Pin.d.ts +0 -4
- package/dist/ui/icons/render/icon-Play.d.ts +0 -2
- package/dist/ui/icons/render/icon-Plus.d.ts +0 -2
- package/dist/ui/icons/render/icon-Share.d.ts +0 -2
- package/dist/ui/icons/render/icon-TikTok.d.ts +0 -2
- package/dist/ui/icons/render/icon-YouTube.d.ts +0 -3
- package/dist/ui/icons/render/icon-academic-cap copy.d.ts +0 -2
- package/dist/ui/icons/render/icon-academic-cap.d.ts +0 -2
- package/dist/ui/icons/render/icon-ampulheta.d.ts +0 -2
- package/dist/ui/icons/render/icon-block.d.ts +0 -2
- package/dist/ui/icons/render/icon-boleto.d.ts +0 -2
- package/dist/ui/icons/render/icon-bottom-chevron.d.ts +0 -2
- package/dist/ui/icons/render/icon-bottom-navigation-double.d.ts +0 -2
- package/dist/ui/icons/render/icon-bottom-navigation.d.ts +0 -2
- package/dist/ui/icons/render/icon-box.d.ts +0 -2
- package/dist/ui/icons/render/icon-calculator.d.ts +0 -2
- package/dist/ui/icons/render/icon-calendar-browse.d.ts +0 -2
- package/dist/ui/icons/render/icon-calendar-time.d.ts +0 -1
- package/dist/ui/icons/render/icon-calendar.d.ts +0 -2
- package/dist/ui/icons/render/icon-cam.d.ts +0 -2
- package/dist/ui/icons/render/icon-cell-phone.d.ts +0 -2
- package/dist/ui/icons/render/icon-chalet.d.ts +0 -2
- package/dist/ui/icons/render/icon-chat.d.ts +0 -2
- package/dist/ui/icons/render/icon-check.d.ts +0 -2
- package/dist/ui/icons/render/icon-checked.d.ts +0 -2
- package/dist/ui/icons/render/icon-circular-left-arrow.d.ts +0 -2
- package/dist/ui/icons/render/icon-circular-right-arrow.d.ts +0 -2
- package/dist/ui/icons/render/icon-clip.d.ts +0 -3
- package/dist/ui/icons/render/icon-clock.d.ts +0 -4
- package/dist/ui/icons/render/icon-close.d.ts +0 -2
- package/dist/ui/icons/render/icon-codie.d.ts +0 -2
- package/dist/ui/icons/render/icon-computer.d.ts +0 -2
- package/dist/ui/icons/render/icon-credit-card.d.ts +0 -4
- package/dist/ui/icons/render/icon-danger.d.ts +0 -2
- package/dist/ui/icons/render/icon-death.d.ts +0 -2
- package/dist/ui/icons/render/icon-delete.d.ts +0 -2
- package/dist/ui/icons/render/icon-diabets.d.ts +0 -2
- package/dist/ui/icons/render/icon-door.d.ts +0 -2
- package/dist/ui/icons/render/icon-download.d.ts +0 -2
- package/dist/ui/icons/render/icon-drop-file.d.ts +0 -2
- package/dist/ui/icons/render/icon-edit-image.d.ts +0 -2
- package/dist/ui/icons/render/icon-edit.d.ts +0 -2
- package/dist/ui/icons/render/icon-email.d.ts +0 -3
- package/dist/ui/icons/render/icon-empty-chat.d.ts +0 -2
- package/dist/ui/icons/render/icon-equalizer.d.ts +0 -3
- package/dist/ui/icons/render/icon-excel.d.ts +0 -2
- package/dist/ui/icons/render/icon-exclamation.d.ts +0 -2
- package/dist/ui/icons/render/icon-exit.d.ts +0 -2
- package/dist/ui/icons/render/icon-eye-slash.d.ts +0 -2
- package/dist/ui/icons/render/icon-eye.d.ts +0 -2
- package/dist/ui/icons/render/icon-facebook.d.ts +0 -3
- package/dist/ui/icons/render/icon-file.d.ts +0 -2
- package/dist/ui/icons/render/icon-filter.d.ts +0 -2
- package/dist/ui/icons/render/icon-flag.d.ts +0 -2
- package/dist/ui/icons/render/icon-folder.d.ts +0 -2
- package/dist/ui/icons/render/icon-fullfield-bell.d.ts +0 -2
- package/dist/ui/icons/render/icon-fullfield-chat.d.ts +0 -2
- package/dist/ui/icons/render/icon-gear.d.ts +0 -2
- package/dist/ui/icons/render/icon-gender.d.ts +0 -2
- package/dist/ui/icons/render/icon-globe.d.ts +0 -2
- package/dist/ui/icons/render/icon-google.d.ts +0 -2
- package/dist/ui/icons/render/icon-heart.d.ts +0 -2
- package/dist/ui/icons/render/icon-home.d.ts +0 -3
- package/dist/ui/icons/render/icon-hospitalization.d.ts +0 -2
- package/dist/ui/icons/render/icon-hypertension.d.ts +0 -2
- package/dist/ui/icons/render/icon-info.d.ts +0 -2
- package/dist/ui/icons/render/icon-instagram-logo.d.ts +0 -2
- package/dist/ui/icons/render/icon-interrogation-circle.d.ts +0 -2
- package/dist/ui/icons/render/icon-language.d.ts +0 -2
- package/dist/ui/icons/render/icon-left-chevron.d.ts +0 -2
- package/dist/ui/icons/render/icon-left-navigation-circle.d.ts +0 -2
- package/dist/ui/icons/render/icon-left-navigation.d.ts +0 -2
- package/dist/ui/icons/render/icon-like.d.ts +0 -2
- package/dist/ui/icons/render/icon-loading.d.ts +0 -2
- package/dist/ui/icons/render/icon-map-floor.d.ts +0 -2
- package/dist/ui/icons/render/icon-message-balloon.d.ts +0 -2
- package/dist/ui/icons/render/icon-mobile.d.ts +0 -2
- package/dist/ui/icons/render/icon-money-value-symbol.d.ts +0 -2
- package/dist/ui/icons/render/icon-next.d.ts +0 -2
- package/dist/ui/icons/render/icon-not-found.d.ts +0 -2
- package/dist/ui/icons/render/icon-not-like.d.ts +0 -2
- package/dist/ui/icons/render/icon-padlock.d.ts +0 -3
- package/dist/ui/icons/render/icon-pc.d.ts +0 -2
- package/dist/ui/icons/render/icon-pdf.d.ts +0 -2
- package/dist/ui/icons/render/icon-performance.d.ts +0 -2
- package/dist/ui/icons/render/icon-person.d.ts +0 -3
- package/dist/ui/icons/render/icon-pet.d.ts +0 -2
- package/dist/ui/icons/render/icon-phone-message.d.ts +0 -2
- package/dist/ui/icons/render/icon-pix.d.ts +0 -2
- package/dist/ui/icons/render/icon-plane.d.ts +0 -2
- package/dist/ui/icons/render/icon-play-rounded.d.ts +0 -2
- package/dist/ui/icons/render/icon-plus-sharp.d.ts +0 -2
- package/dist/ui/icons/render/icon-prev.d.ts +0 -2
- package/dist/ui/icons/render/icon-print.d.ts +0 -2
- package/dist/ui/icons/render/icon-right-chevron.d.ts +0 -2
- package/dist/ui/icons/render/icon-right-circle.d.ts +0 -2
- package/dist/ui/icons/render/icon-right-navigation-circle.d.ts +0 -3
- package/dist/ui/icons/render/icon-right-navigation-double.d.ts +0 -2
- package/dist/ui/icons/render/icon-right-navigation-rounded.d.ts +0 -2
- package/dist/ui/icons/render/icon-right-navigation.d.ts +0 -2
- package/dist/ui/icons/render/icon-route.d.ts +0 -2
- package/dist/ui/icons/render/icon-selo.d.ts +0 -2
- package/dist/ui/icons/render/icon-send-arrow.d.ts +0 -2
- package/dist/ui/icons/render/icon-send-message.d.ts +0 -2
- package/dist/ui/icons/render/icon-send.d.ts +0 -2
- package/dist/ui/icons/render/icon-seo.d.ts +0 -2
- package/dist/ui/icons/render/icon-share-v2.d.ts +0 -2
- package/dist/ui/icons/render/icon-shopping.d.ts +0 -3
- package/dist/ui/icons/render/icon-star.d.ts +0 -2
- package/dist/ui/icons/render/icon-starBg.d.ts +0 -2
- package/dist/ui/icons/render/icon-three-dots.d.ts +0 -2
- package/dist/ui/icons/render/icon-tiktok-logo.d.ts +0 -2
- package/dist/ui/icons/render/icon-top-chevron.d.ts +0 -2
- package/dist/ui/icons/render/icon-top-navigation.d.ts +0 -2
- package/dist/ui/icons/render/icon-transparent-mail.d.ts +0 -2
- package/dist/ui/icons/render/icon-transparent-phone.d.ts +0 -2
- package/dist/ui/icons/render/icon-twitter.d.ts +0 -3
- package/dist/ui/icons/render/icon-upload.d.ts +0 -2
- package/dist/ui/icons/render/icon-user.d.ts +0 -3
- package/dist/ui/icons/render/icon-warning.d.ts +0 -2
- package/dist/ui/icons/render/icon-weight.d.ts +0 -2
- package/dist/ui/icons/render/icon-whats.d.ts +0 -3
- package/dist/ui/icons/render/icon-whatsapp-logo.d.ts +0 -2
- package/dist/ui/icons/render/icon-word.d.ts +0 -2
- package/dist/ui/icons/render/icon-x.d.ts +0 -2
- package/dist/ui/icons/render/image.d.ts +0 -2
- package/dist/ui/icons/render/index.d.ts +0 -1
- package/dist/ui/icons/render-icon/index.d.ts +0 -6
- package/dist/ui/index.d.ts +0 -9
- package/dist/ui/integrations/cloudflare/index.d.ts +0 -1
- package/dist/ui/integrations/cloudflare/turnstile.d.ts +0 -43
- package/dist/ui/integrations/cloudflare/type.d.ts +0 -43
- package/dist/ui/integrations/google/GoogleLogin.d.ts +0 -10
- package/dist/ui/integrations/google/GoogleOAuthProvider.d.ts +0 -13
- package/dist/ui/integrations/google/googleLogout.d.ts +0 -1
- package/dist/ui/integrations/google/hasGrantedAllScopesGoogle.d.ts +0 -6
- package/dist/ui/integrations/google/hasGrantedAnyScopeGoogle.d.ts +0 -6
- package/dist/ui/integrations/google/hooks/index.d.ts +0 -3
- package/dist/ui/integrations/google/hooks/useGoogleLogin.d.ts +0 -25
- package/dist/ui/integrations/google/hooks/useGoogleOneTapLogin.d.ts +0 -16
- package/dist/ui/integrations/google/hooks/useLoadGsiScript.d.ts +0 -15
- package/dist/ui/integrations/google/index.d.ts +0 -8
- package/dist/ui/integrations/google/types/index.d.ts +0 -309
- package/dist/ui/integrations/google/utils/index.d.ts +0 -2
- package/dist/ui/integrations/index.d.ts +0 -3
- package/dist/ui/integrations/message-provider/index.d.ts +0 -1
- package/dist/ui/integrations/message-provider/send-message.d.ts +0 -11
- package/dist/ui/styles/keyframes.d.ts +0 -2
- package/dist/ui/types/index.d.ts +0 -1
- package/dist/ui/types/list.d.ts +0 -4
- package/dist/ui/utils/_app_utils/generate_ref.d.ts +0 -3
- package/dist/ui/utils/_app_utils/get-pathname-ref.d.ts +0 -9
- package/dist/ui/utils/_app_utils/index.d.ts +0 -2
- package/dist/ui/utils/buffer/base64.d.ts +0 -5
- package/dist/ui/utils/buffer/buffer.d.ts +0 -4
- package/dist/ui/utils/buffer/index.d.ts +0 -2
- package/dist/ui/utils/colors/hext-to-rgba.d.ts +0 -1
- package/dist/ui/utils/colors/index.d.ts +0 -1
- package/dist/ui/utils/copy-to-clipboard.d.ts +0 -5
- package/dist/ui/utils/date/index.d.ts +0 -1
- package/dist/ui/utils/date/is-invaid-date.d.ts +0 -1
- package/dist/ui/utils/disable-scroll.d.ts +0 -1
- package/dist/ui/utils/facebook/facebook-pixel.d.ts +0 -3
- package/dist/ui/utils/facebook/index.d.ts +0 -1
- package/dist/ui/utils/file/index.d.ts +0 -3
- package/dist/ui/utils/file/load-file.d.ts +0 -6
- package/dist/ui/utils/file/upload-file.d.ts +0 -17
- package/dist/ui/utils/file/verify-size-files.d.ts +0 -7
- package/dist/ui/utils/form-validator/index.d.ts +0 -2
- package/dist/ui/utils/form-validator/validations/index.d.ts +0 -4
- package/dist/ui/utils/form-validator/validations/validate-cnpj.d.ts +0 -1
- package/dist/ui/utils/form-validator/validations/validate-cpf.d.ts +0 -1
- package/dist/ui/utils/form-validator/validations/validate-email.d.ts +0 -1
- package/dist/ui/utils/form-validator/validations/validate-phone.d.ts +0 -4
- package/dist/ui/utils/form-validator/validator.d.ts +0 -27
- package/dist/ui/utils/formatters/format-number-to-currency.d.ts +0 -10
- package/dist/ui/utils/formatters/format-string-to-number.d.ts +0 -1
- package/dist/ui/utils/formatters/format-string-to-url.d.ts +0 -1
- package/dist/ui/utils/formatters/formatter.d.ts +0 -14
- package/dist/ui/utils/formatters/index.d.ts +0 -5
- package/dist/ui/utils/formatters/remove-digits.d.ts +0 -1
- package/dist/ui/utils/generate-guid.d.ts +0 -1
- package/dist/ui/utils/generate-sitemap.d.ts +0 -11
- package/dist/ui/utils/http/api.d.ts +0 -16
- package/dist/ui/utils/http/axios-http-client.d.ts +0 -6
- package/dist/ui/utils/http/errors/http-errors/application-unauthorized-error.d.ts +0 -8
- package/dist/ui/utils/http/errors/http-errors/application-unexpected-error.d.ts +0 -3
- package/dist/ui/utils/http/errors/http-errors/bad-request-error.d.ts +0 -9
- package/dist/ui/utils/http/errors/http-errors/conflict-error.d.ts +0 -8
- package/dist/ui/utils/http/errors/http-errors/index.d.ts +0 -7
- package/dist/ui/utils/http/errors/http-errors/no-content.d.ts +0 -3
- package/dist/ui/utils/http/errors/http-errors/not-found-error.d.ts +0 -3
- package/dist/ui/utils/http/errors/http-errors/unexpected-error.d.ts +0 -3
- package/dist/ui/utils/http/errors/index.d.ts +0 -2
- package/dist/ui/utils/http/errors/system-errors-model/index.d.ts +0 -1
- package/dist/ui/utils/http/errors/system-errors-model/validation-errors-model.d.ts +0 -11
- package/dist/ui/utils/http/index.d.ts +0 -4
- package/dist/ui/utils/http/interfaces.d.ts +0 -37
- package/dist/ui/utils/index.d.ts +0 -23
- package/dist/ui/utils/infinity-forge/index.d.ts +0 -2
- package/dist/ui/utils/infinity-forge/infinity-forge-next-config.d.ts +0 -1
- package/dist/ui/utils/infinity-forge/z-index-infinity-forge.d.ts +0 -8
- package/dist/ui/utils/json/index.d.ts +0 -2
- package/dist/ui/utils/jwt/index.d.ts +0 -23
- package/dist/ui/utils/libs/index.d.ts +0 -2
- package/dist/ui/utils/libs/moment/index.d.ts +0 -1
- package/dist/ui/utils/libs/moment/verify-date-and-return-value-formatted.d.ts +0 -3
- package/dist/ui/utils/libs/next/index.d.ts +0 -2
- package/dist/ui/utils/libs/next/router-build.d.ts +0 -10
- package/dist/ui/utils/libs/next/update-route.d.ts +0 -8
- package/dist/ui/utils/mocks/index.d.ts +0 -1
- package/dist/ui/utils/mocks/states-brazil.d.ts +0 -4
- package/dist/ui/utils/phone/index.d.ts +0 -18
- package/dist/ui/utils/scroll-to-top-page.d.ts +0 -1
- package/dist/ui/utils/sidebar/index.d.ts +0 -2
- package/dist/ui/utils/storage/cookies.d.ts +0 -15
- package/dist/ui/utils/storage/index.d.ts +0 -1
- package/dist/ui/utils/uid/index.d.ts +0 -1
- package/dist/use-query/context.d.ts +0 -7
- package/dist/use-query/hook.d.ts +0 -9
- package/dist/use-query/index.d.ts +0 -4
- package/dist/use-query/interfaces.d.ts +0 -40
- package/dist/use-query/src/HydrationBoundary.d.ts +0 -11
- package/dist/use-query/src/IsRestoringProvider.d.ts +0 -3
- package/dist/use-query/src/QueryClientProvider.d.ts +0 -9
- package/dist/use-query/src/QueryErrorResetBoundary.d.ts +0 -15
- package/dist/use-query/src/errorBoundaryUtils.d.ts +0 -11
- package/dist/use-query/src/index.d.ts +0 -27
- package/dist/use-query/src/infiniteQueryOptions.d.ts +0 -22
- package/dist/use-query/src/query-core/src/focusManager.d.ts +0 -15
- package/dist/use-query/src/query-core/src/hydration.d.ts +0 -40
- package/dist/use-query/src/query-core/src/index.d.ts +0 -25
- package/dist/use-query/src/query-core/src/infiniteQueryBehavior.d.ts +0 -11
- package/dist/use-query/src/query-core/src/infiniteQueryObserver.d.ts +0 -20
- package/dist/use-query/src/query-core/src/mutation.d.ts +0 -63
- package/dist/use-query/src/query-core/src/mutationCache.d.ts +0 -59
- package/dist/use-query/src/query-core/src/mutationObserver.d.ts +0 -18
- package/dist/use-query/src/query-core/src/notifyManager.d.ts +0 -45
- package/dist/use-query/src/query-core/src/onlineManager.d.ts +0 -14
- package/dist/use-query/src/query-core/src/queriesObserver.d.ts +0 -26
- package/dist/use-query/src/query-core/src/query.d.ts +0 -125
- package/dist/use-query/src/query-core/src/queryCache.d.ts +0 -69
- package/dist/use-query/src/query-core/src/queryClient.d.ts +0 -48
- package/dist/use-query/src/query-core/src/queryObserver.d.ts +0 -32
- package/dist/use-query/src/query-core/src/removable.d.ts +0 -9
- package/dist/use-query/src/query-core/src/retryer.d.ts +0 -37
- package/dist/use-query/src/query-core/src/streamedQuery.d.ts +0 -16
- package/dist/use-query/src/query-core/src/subscribable.d.ts +0 -8
- package/dist/use-query/src/query-core/src/thenable.d.ts +0 -35
- package/dist/use-query/src/query-core/src/types.d.ts +0 -819
- package/dist/use-query/src/query-core/src/utils.d.ts +0 -93
- package/dist/use-query/src/queryOptions.d.ts +0 -23
- package/dist/use-query/src/suspense.d.ts +0 -7
- package/dist/use-query/src/types.d.ts +0 -46
- package/dist/use-query/src/useBaseQuery.d.ts +0 -3
- package/dist/use-query/src/useInfiniteQuery.d.ts +0 -6
- package/dist/use-query/src/useIsFetching.d.ts +0 -2
- package/dist/use-query/src/useMutation.d.ts +0 -3
- package/dist/use-query/src/useMutationState.d.ts +0 -8
- package/dist/use-query/src/usePrefetchInfiniteQuery.d.ts +0 -2
- package/dist/use-query/src/usePrefetchQuery.d.ts +0 -2
- package/dist/use-query/src/useQueries.d.ts +0 -74
- package/dist/use-query/src/useQuery.d.ts +0 -6
- package/dist/use-query/src/useSuspenseInfiniteQuery.d.ts +0 -3
- package/dist/use-query/src/useSuspenseQueries.d.ts +0 -77
- package/dist/use-query/src/useSuspenseQuery.d.ts +0 -3
- package/dist/use-query/use-mutation.d.ts +0 -2
|
@@ -1,819 +0,0 @@
|
|
|
1
|
-
import { QueryClient } from './queryClient';
|
|
2
|
-
import { DehydrateOptions, HydrateOptions } from './hydration';
|
|
3
|
-
import { MutationState } from './mutation';
|
|
4
|
-
import { FetchDirection, Query, QueryBehavior } from './query';
|
|
5
|
-
import { RetryDelayValue, RetryValue } from './retryer';
|
|
6
|
-
import { QueryFilters, QueryTypeFilter, SkipToken } from './utils';
|
|
7
|
-
import { QueryCache } from './queryCache';
|
|
8
|
-
import { MutationCache } from './mutationCache';
|
|
9
|
-
export type DistributiveOmit<TObject, TKey extends keyof TObject> = TObject extends any ? Omit<TObject, TKey> : never;
|
|
10
|
-
export type OmitKeyof<TObject, TKey extends TStrictly extends 'safely' ? keyof TObject | (string & Record<never, never>) | (number & Record<never, never>) | (symbol & Record<never, never>) : keyof TObject, TStrictly extends 'strictly' | 'safely' = 'strictly'> = Omit<TObject, TKey>;
|
|
11
|
-
export type Override<TTargetA, TTargetB> = {
|
|
12
|
-
[AKey in keyof TTargetA]: AKey extends keyof TTargetB ? TTargetB[AKey] : TTargetA[AKey];
|
|
13
|
-
};
|
|
14
|
-
export type NoInfer<T> = [T][T extends any ? 0 : never];
|
|
15
|
-
export interface Register {
|
|
16
|
-
}
|
|
17
|
-
export type DefaultError = Register extends {
|
|
18
|
-
defaultError: infer TError;
|
|
19
|
-
} ? TError : Error;
|
|
20
|
-
export type QueryKey = Register extends {
|
|
21
|
-
queryKey: infer TQueryKey;
|
|
22
|
-
} ? TQueryKey extends ReadonlyArray<unknown> ? TQueryKey : TQueryKey extends Array<unknown> ? TQueryKey : ReadonlyArray<unknown> : ReadonlyArray<unknown>;
|
|
23
|
-
export declare const dataTagSymbol: unique symbol;
|
|
24
|
-
export type dataTagSymbol = typeof dataTagSymbol;
|
|
25
|
-
export declare const dataTagErrorSymbol: unique symbol;
|
|
26
|
-
export type dataTagErrorSymbol = typeof dataTagErrorSymbol;
|
|
27
|
-
export declare const unsetMarker: unique symbol;
|
|
28
|
-
export type UnsetMarker = typeof unsetMarker;
|
|
29
|
-
export type AnyDataTag = {
|
|
30
|
-
[dataTagSymbol]: any;
|
|
31
|
-
[dataTagErrorSymbol]: any;
|
|
32
|
-
};
|
|
33
|
-
export type DataTag<TType, TValue, TError = UnsetMarker> = TType extends AnyDataTag ? TType : TType & {
|
|
34
|
-
[dataTagSymbol]: TValue;
|
|
35
|
-
[dataTagErrorSymbol]: TError;
|
|
36
|
-
};
|
|
37
|
-
export type InferDataFromTag<TQueryFnData, TTaggedQueryKey extends QueryKey> = TTaggedQueryKey extends DataTag<unknown, infer TaggedValue, unknown> ? TaggedValue : TQueryFnData;
|
|
38
|
-
export type InferErrorFromTag<TError, TTaggedQueryKey extends QueryKey> = TTaggedQueryKey extends DataTag<unknown, unknown, infer TaggedError> ? TaggedError extends UnsetMarker ? TError : TaggedError : TError;
|
|
39
|
-
export type QueryFunction<T = unknown, TQueryKey extends QueryKey = QueryKey, TPageParam = never> = (context: QueryFunctionContext<TQueryKey, TPageParam>) => T | Promise<T>;
|
|
40
|
-
export type StaleTime<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey> = number | ((query: Query<TQueryFnData, TError, TData, TQueryKey>) => number);
|
|
41
|
-
export type Enabled<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey> = boolean | ((query: Query<TQueryFnData, TError, TData, TQueryKey>) => boolean);
|
|
42
|
-
export type QueryPersister<T = unknown, TQueryKey extends QueryKey = QueryKey, TPageParam = never> = [TPageParam] extends [never] ? (queryFn: QueryFunction<T, TQueryKey, never>, context: QueryFunctionContext<TQueryKey>, query: Query) => T | Promise<T> : (queryFn: QueryFunction<T, TQueryKey, TPageParam>, context: QueryFunctionContext<TQueryKey>, query: Query) => T | Promise<T>;
|
|
43
|
-
export type QueryFunctionContext<TQueryKey extends QueryKey = QueryKey, TPageParam = never> = [TPageParam] extends [never] ? {
|
|
44
|
-
client: QueryClient;
|
|
45
|
-
queryKey: TQueryKey;
|
|
46
|
-
signal: AbortSignal;
|
|
47
|
-
meta: QueryMeta | undefined;
|
|
48
|
-
pageParam?: unknown;
|
|
49
|
-
/**
|
|
50
|
-
* @deprecated
|
|
51
|
-
* if you want access to the direction, you can add it to the pageParam
|
|
52
|
-
*/
|
|
53
|
-
direction?: unknown;
|
|
54
|
-
} : {
|
|
55
|
-
client: QueryClient;
|
|
56
|
-
queryKey: TQueryKey;
|
|
57
|
-
signal: AbortSignal;
|
|
58
|
-
pageParam: TPageParam;
|
|
59
|
-
/**
|
|
60
|
-
* @deprecated
|
|
61
|
-
* if you want access to the direction, you can add it to the pageParam
|
|
62
|
-
*/
|
|
63
|
-
direction: FetchDirection;
|
|
64
|
-
meta: QueryMeta | undefined;
|
|
65
|
-
};
|
|
66
|
-
export type InitialDataFunction<T> = () => T | undefined;
|
|
67
|
-
type NonFunctionGuard<T> = T extends Function ? never : T;
|
|
68
|
-
export type PlaceholderDataFunction<TQueryFnData = unknown, TError = DefaultError, TQueryData = TQueryFnData, TQueryKey extends QueryKey = QueryKey> = (previousData: TQueryData | undefined, previousQuery: Query<TQueryFnData, TError, TQueryData, TQueryKey> | undefined) => TQueryData | undefined;
|
|
69
|
-
export type QueriesPlaceholderDataFunction<TQueryData> = (previousData: undefined, previousQuery: undefined) => TQueryData | undefined;
|
|
70
|
-
export type QueryKeyHashFunction<TQueryKey extends QueryKey> = (queryKey: TQueryKey) => string;
|
|
71
|
-
export type GetPreviousPageParamFunction<TPageParam, TQueryFnData = unknown> = (firstPage: TQueryFnData, allPages: Array<TQueryFnData>, firstPageParam: TPageParam, allPageParams: Array<TPageParam>) => TPageParam | undefined | null;
|
|
72
|
-
export type GetNextPageParamFunction<TPageParam, TQueryFnData = unknown> = (lastPage: TQueryFnData, allPages: Array<TQueryFnData>, lastPageParam: TPageParam, allPageParams: Array<TPageParam>) => TPageParam | undefined | null;
|
|
73
|
-
export interface InfiniteData<TData, TPageParam = unknown> {
|
|
74
|
-
pages: Array<TData>;
|
|
75
|
-
pageParams: Array<TPageParam>;
|
|
76
|
-
}
|
|
77
|
-
export type QueryMeta = Register extends {
|
|
78
|
-
queryMeta: infer TQueryMeta;
|
|
79
|
-
} ? TQueryMeta extends Record<string, unknown> ? TQueryMeta : Record<string, unknown> : Record<string, unknown>;
|
|
80
|
-
export type NetworkMode = 'online' | 'always' | 'offlineFirst';
|
|
81
|
-
export type NotifyOnChangeProps = Array<keyof InfiniteQueryObserverResult> | 'all' | undefined | (() => Array<keyof InfiniteQueryObserverResult> | 'all' | undefined);
|
|
82
|
-
export interface QueryOptions<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey, TPageParam = never> {
|
|
83
|
-
/**
|
|
84
|
-
* If `false`, failed queries will not retry by default.
|
|
85
|
-
* If `true`, failed queries will retry infinitely., failureCount: num
|
|
86
|
-
* If set to an integer number, e.g. 3, failed queries will retry until the failed query count meets that number.
|
|
87
|
-
* If set to a function `(failureCount, error) => boolean` failed queries will retry until the function returns false.
|
|
88
|
-
*/
|
|
89
|
-
retry?: RetryValue<TError>;
|
|
90
|
-
retryDelay?: RetryDelayValue<TError>;
|
|
91
|
-
networkMode?: NetworkMode;
|
|
92
|
-
/**
|
|
93
|
-
* The time in milliseconds that unused/inactive cache data remains in memory.
|
|
94
|
-
* When a query's cache becomes unused or inactive, that cache data will be garbage collected after this duration.
|
|
95
|
-
* When different garbage collection times are specified, the longest one will be used.
|
|
96
|
-
* Setting it to `Infinity` will disable garbage collection.
|
|
97
|
-
*/
|
|
98
|
-
gcTime?: number;
|
|
99
|
-
queryFn?: QueryFunction<TQueryFnData, TQueryKey, TPageParam> | SkipToken;
|
|
100
|
-
persister?: QueryPersister<NoInfer<TQueryFnData>, NoInfer<TQueryKey>, NoInfer<TPageParam>>;
|
|
101
|
-
queryHash?: string;
|
|
102
|
-
queryKey?: TQueryKey;
|
|
103
|
-
queryKeyHashFn?: QueryKeyHashFunction<TQueryKey>;
|
|
104
|
-
initialData?: TData | InitialDataFunction<TData>;
|
|
105
|
-
initialDataUpdatedAt?: number | (() => number | undefined);
|
|
106
|
-
behavior?: QueryBehavior<TQueryFnData, TError, TData, TQueryKey>;
|
|
107
|
-
/**
|
|
108
|
-
* Set this to `false` to disable structural sharing between query results.
|
|
109
|
-
* Set this to a function which accepts the old and new data and returns resolved data of the same type to implement custom structural sharing logic.
|
|
110
|
-
* Defaults to `true`.
|
|
111
|
-
*/
|
|
112
|
-
structuralSharing?: boolean | ((oldData: unknown | undefined, newData: unknown) => unknown);
|
|
113
|
-
_defaulted?: boolean;
|
|
114
|
-
/**
|
|
115
|
-
* Additional payload to be stored on each query.
|
|
116
|
-
* Use this property to pass information that can be used in other places.
|
|
117
|
-
*/
|
|
118
|
-
meta?: QueryMeta;
|
|
119
|
-
/**
|
|
120
|
-
* Maximum number of pages to store in the data of an infinite query.
|
|
121
|
-
*/
|
|
122
|
-
maxPages?: number;
|
|
123
|
-
}
|
|
124
|
-
export interface InitialPageParam<TPageParam = unknown> {
|
|
125
|
-
initialPageParam: TPageParam;
|
|
126
|
-
}
|
|
127
|
-
export interface InfiniteQueryPageParamsOptions<TQueryFnData = unknown, TPageParam = unknown> extends InitialPageParam<TPageParam> {
|
|
128
|
-
/**
|
|
129
|
-
* This function can be set to automatically get the previous cursor for infinite queries.
|
|
130
|
-
* The result will also be used to determine the value of `hasPreviousPage`.
|
|
131
|
-
*/
|
|
132
|
-
getPreviousPageParam?: GetPreviousPageParamFunction<TPageParam, TQueryFnData>;
|
|
133
|
-
/**
|
|
134
|
-
* This function can be set to automatically get the next cursor for infinite queries.
|
|
135
|
-
* The result will also be used to determine the value of `hasNextPage`.
|
|
136
|
-
*/
|
|
137
|
-
getNextPageParam: GetNextPageParamFunction<TPageParam, TQueryFnData>;
|
|
138
|
-
}
|
|
139
|
-
export type ThrowOnError<TQueryFnData, TError, TQueryData, TQueryKey extends QueryKey> = boolean | ((error: TError, query: Query<TQueryFnData, TError, TQueryData, TQueryKey>) => boolean);
|
|
140
|
-
export interface QueryObserverOptions<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData, TQueryData = TQueryFnData, TQueryKey extends QueryKey = QueryKey, TPageParam = never> extends WithRequired<QueryOptions<TQueryFnData, TError, TQueryData, TQueryKey, TPageParam>, 'queryKey'> {
|
|
141
|
-
/**
|
|
142
|
-
* Set this to `false` or a function that returns `false` to disable automatic refetching when the query mounts or changes query keys.
|
|
143
|
-
* To refetch the query, use the `refetch` method returned from the `useQuery` instance.
|
|
144
|
-
* Accepts a boolean or function that returns a boolean.
|
|
145
|
-
* Defaults to `true`.
|
|
146
|
-
*/
|
|
147
|
-
enabled?: Enabled<TQueryFnData, TError, TQueryData, TQueryKey>;
|
|
148
|
-
/**
|
|
149
|
-
* The time in milliseconds after data is considered stale.
|
|
150
|
-
* If set to `Infinity`, the data will never be considered stale.
|
|
151
|
-
* If set to a function, the function will be executed with the query to compute a `staleTime`.
|
|
152
|
-
* Defaults to `0`.
|
|
153
|
-
*/
|
|
154
|
-
staleTime?: StaleTime<TQueryFnData, TError, TQueryData, TQueryKey>;
|
|
155
|
-
/**
|
|
156
|
-
* If set to a number, the query will continuously refetch at this frequency in milliseconds.
|
|
157
|
-
* If set to a function, the function will be executed with the latest data and query to compute a frequency
|
|
158
|
-
* Defaults to `false`.
|
|
159
|
-
*/
|
|
160
|
-
refetchInterval?: number | false | ((query: Query<TQueryFnData, TError, TQueryData, TQueryKey>) => number | false | undefined);
|
|
161
|
-
/**
|
|
162
|
-
* If set to `true`, the query will continue to refetch while their tab/window is in the background.
|
|
163
|
-
* Defaults to `false`.
|
|
164
|
-
*/
|
|
165
|
-
refetchIntervalInBackground?: boolean;
|
|
166
|
-
/**
|
|
167
|
-
* If set to `true`, the query will refetch on window focus if the data is stale.
|
|
168
|
-
* If set to `false`, the query will not refetch on window focus.
|
|
169
|
-
* If set to `'always'`, the query will always refetch on window focus.
|
|
170
|
-
* If set to a function, the function will be executed with the latest data and query to compute the value.
|
|
171
|
-
* Defaults to `true`.
|
|
172
|
-
*/
|
|
173
|
-
refetchOnWindowFocus?: boolean | 'always' | ((query: Query<TQueryFnData, TError, TQueryData, TQueryKey>) => boolean | 'always');
|
|
174
|
-
/**
|
|
175
|
-
* If set to `true`, the query will refetch on reconnect if the data is stale.
|
|
176
|
-
* If set to `false`, the query will not refetch on reconnect.
|
|
177
|
-
* If set to `'always'`, the query will always refetch on reconnect.
|
|
178
|
-
* If set to a function, the function will be executed with the latest data and query to compute the value.
|
|
179
|
-
* Defaults to the value of `networkOnline` (`true`)
|
|
180
|
-
*/
|
|
181
|
-
refetchOnReconnect?: boolean | 'always' | ((query: Query<TQueryFnData, TError, TQueryData, TQueryKey>) => boolean | 'always');
|
|
182
|
-
/**
|
|
183
|
-
* If set to `true`, the query will refetch on mount if the data is stale.
|
|
184
|
-
* If set to `false`, will disable additional instances of a query to trigger background refetch.
|
|
185
|
-
* If set to `'always'`, the query will always refetch on mount.
|
|
186
|
-
* If set to a function, the function will be executed with the latest data and query to compute the value
|
|
187
|
-
* Defaults to `true`.
|
|
188
|
-
*/
|
|
189
|
-
refetchOnMount?: boolean | 'always' | ((query: Query<TQueryFnData, TError, TQueryData, TQueryKey>) => boolean | 'always');
|
|
190
|
-
/**
|
|
191
|
-
* If set to `false`, the query will not be retried on mount if it contains an error.
|
|
192
|
-
* Defaults to `true`.
|
|
193
|
-
*/
|
|
194
|
-
retryOnMount?: boolean;
|
|
195
|
-
/**
|
|
196
|
-
* If set, the component will only re-render if any of the listed properties change.
|
|
197
|
-
* When set to `['data', 'error']`, the component will only re-render when the `data` or `error` properties change.
|
|
198
|
-
* When set to `'all'`, the component will re-render whenever a query is updated.
|
|
199
|
-
* When set to a function, the function will be executed to compute the list of properties.
|
|
200
|
-
* By default, access to properties will be tracked, and the component will only re-render when one of the tracked properties change.
|
|
201
|
-
*/
|
|
202
|
-
notifyOnChangeProps?: NotifyOnChangeProps;
|
|
203
|
-
/**
|
|
204
|
-
* Whether errors should be thrown instead of setting the `error` property.
|
|
205
|
-
* If set to `true` or `suspense` is `true`, all errors will be thrown to the error boundary.
|
|
206
|
-
* If set to `false` and `suspense` is `false`, errors are returned as state.
|
|
207
|
-
* If set to a function, it will be passed the error and the query, and it should return a boolean indicating whether to show the error in an error boundary (`true`) or return the error as state (`false`).
|
|
208
|
-
* Defaults to `false`.
|
|
209
|
-
*/
|
|
210
|
-
throwOnError?: ThrowOnError<TQueryFnData, TError, TQueryData, TQueryKey>;
|
|
211
|
-
/**
|
|
212
|
-
* This option can be used to transform or select a part of the data returned by the query function.
|
|
213
|
-
*/
|
|
214
|
-
select?: (data: TQueryData) => TData;
|
|
215
|
-
/**
|
|
216
|
-
* If set to `true`, the query will suspend when `status === 'pending'`
|
|
217
|
-
* and throw errors when `status === 'error'`.
|
|
218
|
-
* Defaults to `false`.
|
|
219
|
-
*/
|
|
220
|
-
suspense?: boolean;
|
|
221
|
-
/**
|
|
222
|
-
* If set, this value will be used as the placeholder data for this particular query observer while the query is still in the `loading` data and no initialData has been provided.
|
|
223
|
-
*/
|
|
224
|
-
placeholderData?: NonFunctionGuard<TQueryData> | PlaceholderDataFunction<NonFunctionGuard<TQueryData>, TError, NonFunctionGuard<TQueryData>, TQueryKey>;
|
|
225
|
-
_optimisticResults?: 'optimistic' | 'isRestoring';
|
|
226
|
-
/**
|
|
227
|
-
* Enable prefetching during rendering
|
|
228
|
-
*/
|
|
229
|
-
experimental_prefetchInRender?: boolean;
|
|
230
|
-
}
|
|
231
|
-
export type WithRequired<TTarget, TKey extends keyof TTarget> = TTarget & {
|
|
232
|
-
[_ in TKey]: {};
|
|
233
|
-
};
|
|
234
|
-
export type DefaultedQueryObserverOptions<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData, TQueryData = TQueryFnData, TQueryKey extends QueryKey = QueryKey> = WithRequired<QueryObserverOptions<TQueryFnData, TError, TData, TQueryData, TQueryKey>, 'throwOnError' | 'refetchOnReconnect' | 'queryHash'>;
|
|
235
|
-
export interface InfiniteQueryObserverOptions<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData, TQueryData = TQueryFnData, TQueryKey extends QueryKey = QueryKey, TPageParam = unknown> extends QueryObserverOptions<TQueryFnData, TError, TData, InfiniteData<TQueryData, TPageParam>, TQueryKey, TPageParam>, InfiniteQueryPageParamsOptions<TQueryFnData, TPageParam> {
|
|
236
|
-
}
|
|
237
|
-
export type DefaultedInfiniteQueryObserverOptions<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData, TQueryData = TQueryFnData, TQueryKey extends QueryKey = QueryKey, TPageParam = unknown> = WithRequired<InfiniteQueryObserverOptions<TQueryFnData, TError, TData, TQueryData, TQueryKey, TPageParam>, 'throwOnError' | 'refetchOnReconnect' | 'queryHash'>;
|
|
238
|
-
export interface FetchQueryOptions<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey, TPageParam = never> extends WithRequired<QueryOptions<TQueryFnData, TError, TData, TQueryKey, TPageParam>, 'queryKey'> {
|
|
239
|
-
initialPageParam?: never;
|
|
240
|
-
/**
|
|
241
|
-
* The time in milliseconds after data is considered stale.
|
|
242
|
-
* If the data is fresh it will be returned from the cache.
|
|
243
|
-
*/
|
|
244
|
-
staleTime?: StaleTime<TQueryFnData, TError, TData, TQueryKey>;
|
|
245
|
-
}
|
|
246
|
-
export interface EnsureQueryDataOptions<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey, TPageParam = never> extends FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey, TPageParam> {
|
|
247
|
-
revalidateIfStale?: boolean;
|
|
248
|
-
}
|
|
249
|
-
export type EnsureInfiniteQueryDataOptions<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey, TPageParam = unknown> = FetchInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey, TPageParam> & {
|
|
250
|
-
revalidateIfStale?: boolean;
|
|
251
|
-
};
|
|
252
|
-
type FetchInfiniteQueryPages<TQueryFnData = unknown, TPageParam = unknown> = {
|
|
253
|
-
pages?: never;
|
|
254
|
-
} | {
|
|
255
|
-
pages: number;
|
|
256
|
-
getNextPageParam: GetNextPageParamFunction<TPageParam, TQueryFnData>;
|
|
257
|
-
};
|
|
258
|
-
export type FetchInfiniteQueryOptions<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey, TPageParam = unknown> = Omit<FetchQueryOptions<TQueryFnData, TError, InfiniteData<TData, TPageParam>, TQueryKey, TPageParam>, 'initialPageParam'> & InitialPageParam<TPageParam> & FetchInfiniteQueryPages<TQueryFnData, TPageParam>;
|
|
259
|
-
export interface ResultOptions {
|
|
260
|
-
throwOnError?: boolean;
|
|
261
|
-
}
|
|
262
|
-
export interface RefetchOptions extends ResultOptions {
|
|
263
|
-
/**
|
|
264
|
-
* If set to `true`, a currently running request will be cancelled before a new request is made
|
|
265
|
-
*
|
|
266
|
-
* If set to `false`, no refetch will be made if there is already a request running.
|
|
267
|
-
*
|
|
268
|
-
* Defaults to `true`.
|
|
269
|
-
*/
|
|
270
|
-
cancelRefetch?: boolean;
|
|
271
|
-
}
|
|
272
|
-
export interface InvalidateQueryFilters<TQueryKey extends QueryKey = QueryKey> extends QueryFilters<TQueryKey> {
|
|
273
|
-
refetchType?: QueryTypeFilter | 'none';
|
|
274
|
-
}
|
|
275
|
-
export interface RefetchQueryFilters<TQueryKey extends QueryKey = QueryKey> extends QueryFilters<TQueryKey> {
|
|
276
|
-
}
|
|
277
|
-
export interface InvalidateOptions extends RefetchOptions {
|
|
278
|
-
}
|
|
279
|
-
export interface ResetOptions extends RefetchOptions {
|
|
280
|
-
}
|
|
281
|
-
export interface FetchNextPageOptions extends ResultOptions {
|
|
282
|
-
/**
|
|
283
|
-
* If set to `true`, calling `fetchNextPage` repeatedly will invoke `queryFn` every time,
|
|
284
|
-
* whether the previous invocation has resolved or not. Also, the result from previous invocations will be ignored.
|
|
285
|
-
*
|
|
286
|
-
* If set to `false`, calling `fetchNextPage` repeatedly won't have any effect until the first invocation has resolved.
|
|
287
|
-
*
|
|
288
|
-
* Defaults to `true`.
|
|
289
|
-
*/
|
|
290
|
-
cancelRefetch?: boolean;
|
|
291
|
-
}
|
|
292
|
-
export interface FetchPreviousPageOptions extends ResultOptions {
|
|
293
|
-
/**
|
|
294
|
-
* If set to `true`, calling `fetchPreviousPage` repeatedly will invoke `queryFn` every time,
|
|
295
|
-
* whether the previous invocation has resolved or not. Also, the result from previous invocations will be ignored.
|
|
296
|
-
*
|
|
297
|
-
* If set to `false`, calling `fetchPreviousPage` repeatedly won't have any effect until the first invocation has resolved.
|
|
298
|
-
*
|
|
299
|
-
* Defaults to `true`.
|
|
300
|
-
*/
|
|
301
|
-
cancelRefetch?: boolean;
|
|
302
|
-
}
|
|
303
|
-
export type QueryStatus = 'pending' | 'error' | 'success';
|
|
304
|
-
export type FetchStatus = 'fetching' | 'paused' | 'idle';
|
|
305
|
-
export interface QueryObserverBaseResult<TData = unknown, TError = DefaultError> {
|
|
306
|
-
/**
|
|
307
|
-
* The last successfully resolved data for the query.
|
|
308
|
-
*/
|
|
309
|
-
data: TData | undefined;
|
|
310
|
-
/**
|
|
311
|
-
* The timestamp for when the query most recently returned the `status` as `"success"`.
|
|
312
|
-
*/
|
|
313
|
-
dataUpdatedAt: number;
|
|
314
|
-
/**
|
|
315
|
-
* The error object for the query, if an error was thrown.
|
|
316
|
-
* - Defaults to `null`.
|
|
317
|
-
*/
|
|
318
|
-
error: TError | null;
|
|
319
|
-
/**
|
|
320
|
-
* The timestamp for when the query most recently returned the `status` as `"error"`.
|
|
321
|
-
*/
|
|
322
|
-
errorUpdatedAt: number;
|
|
323
|
-
/**
|
|
324
|
-
* The failure count for the query.
|
|
325
|
-
* - Incremented every time the query fails.
|
|
326
|
-
* - Reset to `0` when the query succeeds.
|
|
327
|
-
*/
|
|
328
|
-
failureCount: number;
|
|
329
|
-
/**
|
|
330
|
-
* The failure reason for the query retry.
|
|
331
|
-
* - Reset to `null` when the query succeeds.
|
|
332
|
-
*/
|
|
333
|
-
failureReason: TError | null;
|
|
334
|
-
/**
|
|
335
|
-
* The sum of all errors.
|
|
336
|
-
*/
|
|
337
|
-
errorUpdateCount: number;
|
|
338
|
-
/**
|
|
339
|
-
* A derived boolean from the `status` variable, provided for convenience.
|
|
340
|
-
* - `true` if the query attempt resulted in an error.
|
|
341
|
-
*/
|
|
342
|
-
isError: boolean;
|
|
343
|
-
/**
|
|
344
|
-
* Will be `true` if the query has been fetched.
|
|
345
|
-
*/
|
|
346
|
-
isFetched: boolean;
|
|
347
|
-
/**
|
|
348
|
-
* Will be `true` if the query has been fetched after the component mounted.
|
|
349
|
-
* - This property can be used to not show any previously cached data.
|
|
350
|
-
*/
|
|
351
|
-
isFetchedAfterMount: boolean;
|
|
352
|
-
/**
|
|
353
|
-
* A derived boolean from the `fetchStatus` variable, provided for convenience.
|
|
354
|
-
* - `true` whenever the `queryFn` is executing, which includes initial `pending` as well as background refetch.
|
|
355
|
-
*/
|
|
356
|
-
isFetching: boolean;
|
|
357
|
-
/**
|
|
358
|
-
* Is `true` whenever the first fetch for a query is in-flight.
|
|
359
|
-
* - Is the same as `isFetching && isPending`.
|
|
360
|
-
*/
|
|
361
|
-
isLoading: boolean;
|
|
362
|
-
/**
|
|
363
|
-
* Will be `pending` if there's no cached data and no query attempt was finished yet.
|
|
364
|
-
*/
|
|
365
|
-
isPending: boolean;
|
|
366
|
-
/**
|
|
367
|
-
* Will be `true` if the query failed while fetching for the first time.
|
|
368
|
-
*/
|
|
369
|
-
isLoadingError: boolean;
|
|
370
|
-
/**
|
|
371
|
-
* @deprecated `isInitialLoading` is being deprecated in favor of `isLoading`
|
|
372
|
-
* and will be removed in the next major version.
|
|
373
|
-
*/
|
|
374
|
-
isInitialLoading: boolean;
|
|
375
|
-
/**
|
|
376
|
-
* A derived boolean from the `fetchStatus` variable, provided for convenience.
|
|
377
|
-
* - The query wanted to fetch, but has been `paused`.
|
|
378
|
-
*/
|
|
379
|
-
isPaused: boolean;
|
|
380
|
-
/**
|
|
381
|
-
* Will be `true` if the data shown is the placeholder data.
|
|
382
|
-
*/
|
|
383
|
-
isPlaceholderData: boolean;
|
|
384
|
-
/**
|
|
385
|
-
* Will be `true` if the query failed while refetching.
|
|
386
|
-
*/
|
|
387
|
-
isRefetchError: boolean;
|
|
388
|
-
/**
|
|
389
|
-
* Is `true` whenever a background refetch is in-flight, which _does not_ include initial `pending`.
|
|
390
|
-
* - Is the same as `isFetching && !isPending`.
|
|
391
|
-
*/
|
|
392
|
-
isRefetching: boolean;
|
|
393
|
-
/**
|
|
394
|
-
* Will be `true` if the data in the cache is invalidated or if the data is older than the given `staleTime`.
|
|
395
|
-
*/
|
|
396
|
-
isStale: boolean;
|
|
397
|
-
/**
|
|
398
|
-
* A derived boolean from the `status` variable, provided for convenience.
|
|
399
|
-
* - `true` if the query has received a response with no errors and is ready to display its data.
|
|
400
|
-
*/
|
|
401
|
-
isSuccess: boolean;
|
|
402
|
-
/**
|
|
403
|
-
* A function to manually refetch the query.
|
|
404
|
-
*/
|
|
405
|
-
refetch: (options?: RefetchOptions) => Promise<QueryObserverResult<TData, TError>>;
|
|
406
|
-
/**
|
|
407
|
-
* The status of the query.
|
|
408
|
-
* - Will be:
|
|
409
|
-
* - `pending` if there's no cached data and no query attempt was finished yet.
|
|
410
|
-
* - `error` if the query attempt resulted in an error.
|
|
411
|
-
* - `success` if the query has received a response with no errors and is ready to display its data.
|
|
412
|
-
*/
|
|
413
|
-
status: QueryStatus;
|
|
414
|
-
/**
|
|
415
|
-
* The fetch status of the query.
|
|
416
|
-
* - `fetching`: Is `true` whenever the queryFn is executing, which includes initial `pending` as well as background refetch.
|
|
417
|
-
* - `paused`: The query wanted to fetch, but has been `paused`.
|
|
418
|
-
* - `idle`: The query is not fetching.
|
|
419
|
-
* - See [Network Mode](https://tanstack.com/query/latest/docs/framework/react/guides/network-mode) for more information.
|
|
420
|
-
*/
|
|
421
|
-
fetchStatus: FetchStatus;
|
|
422
|
-
/**
|
|
423
|
-
* A stable promise that will be resolved with the data of the query.
|
|
424
|
-
* Requires the `experimental_prefetchInRender` feature flag to be enabled.
|
|
425
|
-
* @example
|
|
426
|
-
*
|
|
427
|
-
* ### Enabling the feature flag
|
|
428
|
-
* ```ts
|
|
429
|
-
* const client = new QueryClient({
|
|
430
|
-
* defaultOptions: {
|
|
431
|
-
* queries: {
|
|
432
|
-
* experimental_prefetchInRender: true,
|
|
433
|
-
* },
|
|
434
|
-
* },
|
|
435
|
-
* })
|
|
436
|
-
* ```
|
|
437
|
-
*
|
|
438
|
-
* ### Usage
|
|
439
|
-
* ```tsx
|
|
440
|
-
* import { useQuery } from '@tanstack/react-query'
|
|
441
|
-
* import React from 'react'
|
|
442
|
-
* import { fetchTodos, type Todo } from './api'
|
|
443
|
-
*
|
|
444
|
-
* function TodoList({ query }: { query: UseQueryResult<Todo[], Error> }) {
|
|
445
|
-
* const data = React.use(query.promise)
|
|
446
|
-
*
|
|
447
|
-
* return (
|
|
448
|
-
* <ul>
|
|
449
|
-
* {data.map(todo => (
|
|
450
|
-
* <li key={todo.id}>{todo.title}</li>
|
|
451
|
-
* ))}
|
|
452
|
-
* </ul>
|
|
453
|
-
* )
|
|
454
|
-
* }
|
|
455
|
-
*
|
|
456
|
-
* export function App() {
|
|
457
|
-
* const query = useQuery({ queryKey: ['todos'], queryFn: fetchTodos })
|
|
458
|
-
*
|
|
459
|
-
* return (
|
|
460
|
-
* <>
|
|
461
|
-
* <h1>Todos</h1>
|
|
462
|
-
* <React.Suspense fallback={<div>Loading...</div>}>
|
|
463
|
-
* <TodoList query={query} />
|
|
464
|
-
* </React.Suspense>
|
|
465
|
-
* </>
|
|
466
|
-
* )
|
|
467
|
-
* }
|
|
468
|
-
* ```
|
|
469
|
-
*/
|
|
470
|
-
promise: Promise<TData>;
|
|
471
|
-
}
|
|
472
|
-
export interface QueryObserverPendingResult<TData = unknown, TError = DefaultError> extends QueryObserverBaseResult<TData, TError> {
|
|
473
|
-
data: undefined;
|
|
474
|
-
error: null;
|
|
475
|
-
isError: false;
|
|
476
|
-
isPending: true;
|
|
477
|
-
isLoadingError: false;
|
|
478
|
-
isRefetchError: false;
|
|
479
|
-
isSuccess: false;
|
|
480
|
-
isPlaceholderData: false;
|
|
481
|
-
status: 'pending';
|
|
482
|
-
}
|
|
483
|
-
export interface QueryObserverLoadingResult<TData = unknown, TError = DefaultError> extends QueryObserverBaseResult<TData, TError> {
|
|
484
|
-
data: undefined;
|
|
485
|
-
error: null;
|
|
486
|
-
isError: false;
|
|
487
|
-
isPending: true;
|
|
488
|
-
isLoading: true;
|
|
489
|
-
isLoadingError: false;
|
|
490
|
-
isRefetchError: false;
|
|
491
|
-
isSuccess: false;
|
|
492
|
-
isPlaceholderData: false;
|
|
493
|
-
status: 'pending';
|
|
494
|
-
}
|
|
495
|
-
export interface QueryObserverLoadingErrorResult<TData = unknown, TError = DefaultError> extends QueryObserverBaseResult<TData, TError> {
|
|
496
|
-
data: undefined;
|
|
497
|
-
error: TError;
|
|
498
|
-
isError: true;
|
|
499
|
-
isPending: false;
|
|
500
|
-
isLoading: false;
|
|
501
|
-
isLoadingError: true;
|
|
502
|
-
isRefetchError: false;
|
|
503
|
-
isSuccess: false;
|
|
504
|
-
isPlaceholderData: false;
|
|
505
|
-
status: 'error';
|
|
506
|
-
}
|
|
507
|
-
export interface QueryObserverRefetchErrorResult<TData = unknown, TError = DefaultError> extends QueryObserverBaseResult<TData, TError> {
|
|
508
|
-
data: TData;
|
|
509
|
-
error: TError;
|
|
510
|
-
isError: true;
|
|
511
|
-
isPending: false;
|
|
512
|
-
isLoading: false;
|
|
513
|
-
isLoadingError: false;
|
|
514
|
-
isRefetchError: true;
|
|
515
|
-
isSuccess: false;
|
|
516
|
-
isPlaceholderData: false;
|
|
517
|
-
status: 'error';
|
|
518
|
-
}
|
|
519
|
-
export interface QueryObserverSuccessResult<TData = unknown, TError = DefaultError> extends QueryObserverBaseResult<TData, TError> {
|
|
520
|
-
data: TData;
|
|
521
|
-
error: null;
|
|
522
|
-
isError: false;
|
|
523
|
-
isPending: false;
|
|
524
|
-
isLoading: false;
|
|
525
|
-
isLoadingError: false;
|
|
526
|
-
isRefetchError: false;
|
|
527
|
-
isSuccess: true;
|
|
528
|
-
isPlaceholderData: false;
|
|
529
|
-
status: 'success';
|
|
530
|
-
}
|
|
531
|
-
export interface QueryObserverPlaceholderResult<TData = unknown, TError = DefaultError> extends QueryObserverBaseResult<TData, TError> {
|
|
532
|
-
data: TData;
|
|
533
|
-
isError: false;
|
|
534
|
-
error: null;
|
|
535
|
-
isPending: false;
|
|
536
|
-
isLoading: false;
|
|
537
|
-
isLoadingError: false;
|
|
538
|
-
isRefetchError: false;
|
|
539
|
-
isSuccess: true;
|
|
540
|
-
isPlaceholderData: true;
|
|
541
|
-
status: 'success';
|
|
542
|
-
}
|
|
543
|
-
export type DefinedQueryObserverResult<TData = unknown, TError = DefaultError> = QueryObserverRefetchErrorResult<TData, TError> | QueryObserverSuccessResult<TData, TError>;
|
|
544
|
-
export type QueryObserverResult<TData = unknown, TError = DefaultError> = DefinedQueryObserverResult<TData, TError> | QueryObserverLoadingErrorResult<TData, TError> | QueryObserverLoadingResult<TData, TError> | QueryObserverPendingResult<TData, TError> | QueryObserverPlaceholderResult<TData, TError>;
|
|
545
|
-
export interface InfiniteQueryObserverBaseResult<TData = unknown, TError = DefaultError> extends QueryObserverBaseResult<TData, TError> {
|
|
546
|
-
/**
|
|
547
|
-
* This function allows you to fetch the next "page" of results.
|
|
548
|
-
*/
|
|
549
|
-
fetchNextPage: (options?: FetchNextPageOptions) => Promise<InfiniteQueryObserverResult<TData, TError>>;
|
|
550
|
-
/**
|
|
551
|
-
* This function allows you to fetch the previous "page" of results.
|
|
552
|
-
*/
|
|
553
|
-
fetchPreviousPage: (options?: FetchPreviousPageOptions) => Promise<InfiniteQueryObserverResult<TData, TError>>;
|
|
554
|
-
/**
|
|
555
|
-
* Will be `true` if there is a next page to be fetched (known via the `getNextPageParam` option).
|
|
556
|
-
*/
|
|
557
|
-
hasNextPage: boolean;
|
|
558
|
-
/**
|
|
559
|
-
* Will be `true` if there is a previous page to be fetched (known via the `getPreviousPageParam` option).
|
|
560
|
-
*/
|
|
561
|
-
hasPreviousPage: boolean;
|
|
562
|
-
/**
|
|
563
|
-
* Will be `true` if the query failed while fetching the next page.
|
|
564
|
-
*/
|
|
565
|
-
isFetchNextPageError: boolean;
|
|
566
|
-
/**
|
|
567
|
-
* Will be `true` while fetching the next page with `fetchNextPage`.
|
|
568
|
-
*/
|
|
569
|
-
isFetchingNextPage: boolean;
|
|
570
|
-
/**
|
|
571
|
-
* Will be `true` if the query failed while fetching the previous page.
|
|
572
|
-
*/
|
|
573
|
-
isFetchPreviousPageError: boolean;
|
|
574
|
-
/**
|
|
575
|
-
* Will be `true` while fetching the previous page with `fetchPreviousPage`.
|
|
576
|
-
*/
|
|
577
|
-
isFetchingPreviousPage: boolean;
|
|
578
|
-
}
|
|
579
|
-
export interface InfiniteQueryObserverPendingResult<TData = unknown, TError = DefaultError> extends InfiniteQueryObserverBaseResult<TData, TError> {
|
|
580
|
-
data: undefined;
|
|
581
|
-
error: null;
|
|
582
|
-
isError: false;
|
|
583
|
-
isPending: true;
|
|
584
|
-
isLoadingError: false;
|
|
585
|
-
isRefetchError: false;
|
|
586
|
-
isFetchNextPageError: false;
|
|
587
|
-
isFetchPreviousPageError: false;
|
|
588
|
-
isSuccess: false;
|
|
589
|
-
isPlaceholderData: false;
|
|
590
|
-
status: 'pending';
|
|
591
|
-
}
|
|
592
|
-
export interface InfiniteQueryObserverLoadingResult<TData = unknown, TError = DefaultError> extends InfiniteQueryObserverBaseResult<TData, TError> {
|
|
593
|
-
data: undefined;
|
|
594
|
-
error: null;
|
|
595
|
-
isError: false;
|
|
596
|
-
isPending: true;
|
|
597
|
-
isLoading: true;
|
|
598
|
-
isLoadingError: false;
|
|
599
|
-
isRefetchError: false;
|
|
600
|
-
isFetchNextPageError: false;
|
|
601
|
-
isFetchPreviousPageError: false;
|
|
602
|
-
isSuccess: false;
|
|
603
|
-
isPlaceholderData: false;
|
|
604
|
-
status: 'pending';
|
|
605
|
-
}
|
|
606
|
-
export interface InfiniteQueryObserverLoadingErrorResult<TData = unknown, TError = DefaultError> extends InfiniteQueryObserverBaseResult<TData, TError> {
|
|
607
|
-
data: undefined;
|
|
608
|
-
error: TError;
|
|
609
|
-
isError: true;
|
|
610
|
-
isPending: false;
|
|
611
|
-
isLoading: false;
|
|
612
|
-
isLoadingError: true;
|
|
613
|
-
isRefetchError: false;
|
|
614
|
-
isFetchNextPageError: false;
|
|
615
|
-
isFetchPreviousPageError: false;
|
|
616
|
-
isSuccess: false;
|
|
617
|
-
isPlaceholderData: false;
|
|
618
|
-
status: 'error';
|
|
619
|
-
}
|
|
620
|
-
export interface InfiniteQueryObserverRefetchErrorResult<TData = unknown, TError = DefaultError> extends InfiniteQueryObserverBaseResult<TData, TError> {
|
|
621
|
-
data: TData;
|
|
622
|
-
error: TError;
|
|
623
|
-
isError: true;
|
|
624
|
-
isPending: false;
|
|
625
|
-
isLoading: false;
|
|
626
|
-
isLoadingError: false;
|
|
627
|
-
isRefetchError: true;
|
|
628
|
-
isSuccess: false;
|
|
629
|
-
isPlaceholderData: false;
|
|
630
|
-
status: 'error';
|
|
631
|
-
}
|
|
632
|
-
export interface InfiniteQueryObserverSuccessResult<TData = unknown, TError = DefaultError> extends InfiniteQueryObserverBaseResult<TData, TError> {
|
|
633
|
-
data: TData;
|
|
634
|
-
error: null;
|
|
635
|
-
isError: false;
|
|
636
|
-
isPending: false;
|
|
637
|
-
isLoading: false;
|
|
638
|
-
isLoadingError: false;
|
|
639
|
-
isRefetchError: false;
|
|
640
|
-
isFetchNextPageError: false;
|
|
641
|
-
isFetchPreviousPageError: false;
|
|
642
|
-
isSuccess: true;
|
|
643
|
-
isPlaceholderData: false;
|
|
644
|
-
status: 'success';
|
|
645
|
-
}
|
|
646
|
-
export interface InfiniteQueryObserverPlaceholderResult<TData = unknown, TError = DefaultError> extends InfiniteQueryObserverBaseResult<TData, TError> {
|
|
647
|
-
data: TData;
|
|
648
|
-
isError: false;
|
|
649
|
-
error: null;
|
|
650
|
-
isPending: false;
|
|
651
|
-
isLoading: false;
|
|
652
|
-
isLoadingError: false;
|
|
653
|
-
isRefetchError: false;
|
|
654
|
-
isSuccess: true;
|
|
655
|
-
isPlaceholderData: true;
|
|
656
|
-
isFetchNextPageError: false;
|
|
657
|
-
isFetchPreviousPageError: false;
|
|
658
|
-
status: 'success';
|
|
659
|
-
}
|
|
660
|
-
export type DefinedInfiniteQueryObserverResult<TData = unknown, TError = DefaultError> = InfiniteQueryObserverRefetchErrorResult<TData, TError> | InfiniteQueryObserverSuccessResult<TData, TError>;
|
|
661
|
-
export type InfiniteQueryObserverResult<TData = unknown, TError = DefaultError> = DefinedInfiniteQueryObserverResult<TData, TError> | InfiniteQueryObserverLoadingErrorResult<TData, TError> | InfiniteQueryObserverLoadingResult<TData, TError> | InfiniteQueryObserverPendingResult<TData, TError> | InfiniteQueryObserverPlaceholderResult<TData, TError>;
|
|
662
|
-
export type MutationKey = Register extends {
|
|
663
|
-
mutationKey: infer TMutationKey;
|
|
664
|
-
} ? TMutationKey extends Array<unknown> ? TMutationKey : TMutationKey extends Array<unknown> ? TMutationKey : ReadonlyArray<unknown> : ReadonlyArray<unknown>;
|
|
665
|
-
export type MutationStatus = 'idle' | 'pending' | 'success' | 'error';
|
|
666
|
-
export type MutationScope = {
|
|
667
|
-
id: string;
|
|
668
|
-
};
|
|
669
|
-
export type MutationMeta = Register extends {
|
|
670
|
-
mutationMeta: infer TMutationMeta;
|
|
671
|
-
} ? TMutationMeta extends Record<string, unknown> ? TMutationMeta : Record<string, unknown> : Record<string, unknown>;
|
|
672
|
-
export type MutationFunction<TData = unknown, TVariables = unknown> = (variables: TVariables) => Promise<TData>;
|
|
673
|
-
export interface MutationOptions<TData = unknown, TError = DefaultError, TVariables = void, TContext = unknown> {
|
|
674
|
-
mutationFn?: MutationFunction<TData, TVariables>;
|
|
675
|
-
mutationKey?: MutationKey;
|
|
676
|
-
onMutate?: (variables: TVariables) => Promise<TContext | undefined> | TContext | undefined;
|
|
677
|
-
onSuccess?: (data: TData, variables: TVariables, context: TContext) => Promise<unknown> | unknown;
|
|
678
|
-
onError?: (error: TError, variables: TVariables, context: TContext | undefined) => Promise<unknown> | unknown;
|
|
679
|
-
onSettled?: (data: TData | undefined, error: TError | null, variables: TVariables, context: TContext | undefined) => Promise<unknown> | unknown;
|
|
680
|
-
retry?: RetryValue<TError>;
|
|
681
|
-
retryDelay?: RetryDelayValue<TError>;
|
|
682
|
-
networkMode?: NetworkMode;
|
|
683
|
-
gcTime?: number;
|
|
684
|
-
_defaulted?: boolean;
|
|
685
|
-
meta?: MutationMeta;
|
|
686
|
-
scope?: MutationScope;
|
|
687
|
-
}
|
|
688
|
-
export interface MutationObserverOptions<TData = unknown, TError = DefaultError, TVariables = void, TContext = unknown> extends MutationOptions<TData, TError, TVariables, TContext> {
|
|
689
|
-
throwOnError?: boolean | ((error: TError) => boolean);
|
|
690
|
-
}
|
|
691
|
-
export interface MutateOptions<TData = unknown, TError = DefaultError, TVariables = void, TContext = unknown> {
|
|
692
|
-
onSuccess?: (data: TData, variables: TVariables, context: TContext) => void;
|
|
693
|
-
onError?: (error: TError, variables: TVariables, context: TContext | undefined) => void;
|
|
694
|
-
onSettled?: (data: TData | undefined, error: TError | null, variables: TVariables, context: TContext | undefined) => void;
|
|
695
|
-
}
|
|
696
|
-
export type MutateFunction<TData = unknown, TError = DefaultError, TVariables = void, TContext = unknown> = (variables: TVariables, options?: MutateOptions<TData, TError, TVariables, TContext>) => Promise<TData>;
|
|
697
|
-
export interface MutationObserverBaseResult<TData = unknown, TError = DefaultError, TVariables = void, TContext = unknown> extends MutationState<TData, TError, TVariables, TContext> {
|
|
698
|
-
/**
|
|
699
|
-
* The last successfully resolved data for the mutation.
|
|
700
|
-
*/
|
|
701
|
-
data: TData | undefined;
|
|
702
|
-
/**
|
|
703
|
-
* The variables object passed to the `mutationFn`.
|
|
704
|
-
*/
|
|
705
|
-
variables: TVariables | undefined;
|
|
706
|
-
/**
|
|
707
|
-
* The error object for the mutation, if an error was encountered.
|
|
708
|
-
* - Defaults to `null`.
|
|
709
|
-
*/
|
|
710
|
-
error: TError | null;
|
|
711
|
-
/**
|
|
712
|
-
* A boolean variable derived from `status`.
|
|
713
|
-
* - `true` if the last mutation attempt resulted in an error.
|
|
714
|
-
*/
|
|
715
|
-
isError: boolean;
|
|
716
|
-
/**
|
|
717
|
-
* A boolean variable derived from `status`.
|
|
718
|
-
* - `true` if the mutation is in its initial state prior to executing.
|
|
719
|
-
*/
|
|
720
|
-
isIdle: boolean;
|
|
721
|
-
/**
|
|
722
|
-
* A boolean variable derived from `status`.
|
|
723
|
-
* - `true` if the mutation is currently executing.
|
|
724
|
-
*/
|
|
725
|
-
isPending: boolean;
|
|
726
|
-
/**
|
|
727
|
-
* A boolean variable derived from `status`.
|
|
728
|
-
* - `true` if the last mutation attempt was successful.
|
|
729
|
-
*/
|
|
730
|
-
isSuccess: boolean;
|
|
731
|
-
/**
|
|
732
|
-
* The status of the mutation.
|
|
733
|
-
* - Will be:
|
|
734
|
-
* - `idle` initial status prior to the mutation function executing.
|
|
735
|
-
* - `pending` if the mutation is currently executing.
|
|
736
|
-
* - `error` if the last mutation attempt resulted in an error.
|
|
737
|
-
* - `success` if the last mutation attempt was successful.
|
|
738
|
-
*/
|
|
739
|
-
status: MutationStatus;
|
|
740
|
-
/**
|
|
741
|
-
* The mutation function you can call with variables to trigger the mutation and optionally hooks on additional callback options.
|
|
742
|
-
* @param variables - The variables object to pass to the `mutationFn`.
|
|
743
|
-
* @param options.onSuccess - This function will fire when the mutation is successful and will be passed the mutation's result.
|
|
744
|
-
* @param options.onError - This function will fire if the mutation encounters an error and will be passed the error.
|
|
745
|
-
* @param options.onSettled - This function will fire when the mutation is either successfully fetched or encounters an error and be passed either the data or error.
|
|
746
|
-
* @remarks
|
|
747
|
-
* - If you make multiple requests, `onSuccess` will fire only after the latest call you've made.
|
|
748
|
-
* - All the callback functions (`onSuccess`, `onError`, `onSettled`) are void functions, and the returned value will be ignored.
|
|
749
|
-
*/
|
|
750
|
-
mutate: MutateFunction<TData, TError, TVariables, TContext>;
|
|
751
|
-
/**
|
|
752
|
-
* A function to clean the mutation internal state (i.e., it resets the mutation to its initial state).
|
|
753
|
-
*/
|
|
754
|
-
reset: () => void;
|
|
755
|
-
}
|
|
756
|
-
export interface MutationObserverIdleResult<TData = unknown, TError = DefaultError, TVariables = void, TContext = unknown> extends MutationObserverBaseResult<TData, TError, TVariables, TContext> {
|
|
757
|
-
data: undefined;
|
|
758
|
-
variables: undefined;
|
|
759
|
-
error: null;
|
|
760
|
-
isError: false;
|
|
761
|
-
isIdle: true;
|
|
762
|
-
isPending: false;
|
|
763
|
-
isSuccess: false;
|
|
764
|
-
status: 'idle';
|
|
765
|
-
}
|
|
766
|
-
export interface MutationObserverLoadingResult<TData = unknown, TError = DefaultError, TVariables = void, TContext = unknown> extends MutationObserverBaseResult<TData, TError, TVariables, TContext> {
|
|
767
|
-
data: undefined;
|
|
768
|
-
variables: TVariables;
|
|
769
|
-
error: null;
|
|
770
|
-
isError: false;
|
|
771
|
-
isIdle: false;
|
|
772
|
-
isPending: true;
|
|
773
|
-
isSuccess: false;
|
|
774
|
-
status: 'pending';
|
|
775
|
-
}
|
|
776
|
-
export interface MutationObserverErrorResult<TData = unknown, TError = DefaultError, TVariables = void, TContext = unknown> extends MutationObserverBaseResult<TData, TError, TVariables, TContext> {
|
|
777
|
-
data: undefined;
|
|
778
|
-
error: TError;
|
|
779
|
-
variables: TVariables;
|
|
780
|
-
isError: true;
|
|
781
|
-
isIdle: false;
|
|
782
|
-
isPending: false;
|
|
783
|
-
isSuccess: false;
|
|
784
|
-
status: 'error';
|
|
785
|
-
}
|
|
786
|
-
export interface MutationObserverSuccessResult<TData = unknown, TError = DefaultError, TVariables = void, TContext = unknown> extends MutationObserverBaseResult<TData, TError, TVariables, TContext> {
|
|
787
|
-
data: TData;
|
|
788
|
-
error: null;
|
|
789
|
-
variables: TVariables;
|
|
790
|
-
isError: false;
|
|
791
|
-
isIdle: false;
|
|
792
|
-
isPending: false;
|
|
793
|
-
isSuccess: true;
|
|
794
|
-
status: 'success';
|
|
795
|
-
}
|
|
796
|
-
export type MutationObserverResult<TData = unknown, TError = DefaultError, TVariables = void, TContext = unknown> = MutationObserverIdleResult<TData, TError, TVariables, TContext> | MutationObserverLoadingResult<TData, TError, TVariables, TContext> | MutationObserverErrorResult<TData, TError, TVariables, TContext> | MutationObserverSuccessResult<TData, TError, TVariables, TContext>;
|
|
797
|
-
export interface QueryClientConfig {
|
|
798
|
-
queryCache?: QueryCache;
|
|
799
|
-
mutationCache?: MutationCache;
|
|
800
|
-
defaultOptions?: DefaultOptions;
|
|
801
|
-
}
|
|
802
|
-
export interface DefaultOptions<TError = DefaultError> {
|
|
803
|
-
queries?: OmitKeyof<QueryObserverOptions<unknown, TError>, 'suspense' | 'queryKey'>;
|
|
804
|
-
mutations?: MutationObserverOptions<unknown, TError, unknown, unknown>;
|
|
805
|
-
hydrate?: HydrateOptions['defaultOptions'];
|
|
806
|
-
dehydrate?: DehydrateOptions;
|
|
807
|
-
}
|
|
808
|
-
export interface CancelOptions {
|
|
809
|
-
revert?: boolean;
|
|
810
|
-
silent?: boolean;
|
|
811
|
-
}
|
|
812
|
-
export interface SetDataOptions {
|
|
813
|
-
updatedAt?: number;
|
|
814
|
-
}
|
|
815
|
-
export type NotifyEventType = 'added' | 'removed' | 'updated' | 'observerAdded' | 'observerRemoved' | 'observerResultsUpdated' | 'observerOptionsUpdated';
|
|
816
|
-
export interface NotifyEvent {
|
|
817
|
-
type: NotifyEventType;
|
|
818
|
-
}
|
|
819
|
-
export {};
|