lkd-web-kit 0.0.8 → 0.0.10
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/_virtual/_commonjsHelpers.cjs +1 -0
- package/dist/_virtual/_commonjsHelpers.js +6 -1
- package/dist/_virtual/_interop_require_default.cjs +1 -0
- package/dist/_virtual/_interop_require_default.js +4 -1
- package/dist/_virtual/_interop_require_wildcard.cjs +1 -0
- package/dist/_virtual/_interop_require_wildcard.js +4 -1
- package/dist/_virtual/action-async-storage-instance.cjs +1 -0
- package/dist/_virtual/action-async-storage-instance.js +4 -1
- package/dist/_virtual/action-async-storage.external.cjs +1 -0
- package/dist/_virtual/action-async-storage.external.js +4 -1
- package/dist/_virtual/add-base-path.cjs +1 -0
- package/dist/_virtual/add-base-path.js +4 -1
- package/dist/_virtual/add-locale.cjs +1 -0
- package/dist/_virtual/add-locale.js +4 -1
- package/dist/_virtual/add-locale2.cjs +1 -0
- package/dist/_virtual/add-locale2.js +4 -1
- package/dist/_virtual/add-path-prefix.cjs +1 -0
- package/dist/_virtual/add-path-prefix.js +4 -1
- package/dist/_virtual/app-paths.cjs +1 -0
- package/dist/_virtual/app-paths.js +4 -1
- package/dist/_virtual/app-router-context.shared-runtime.cjs +1 -0
- package/dist/_virtual/app-router-context.shared-runtime.js +4 -1
- package/dist/_virtual/app-router-headers.cjs +1 -0
- package/dist/_virtual/app-router-headers.js +4 -1
- package/dist/_virtual/async-local-storage.cjs +1 -0
- package/dist/_virtual/async-local-storage.js +4 -1
- package/dist/_virtual/bailout-to-client-rendering.cjs +1 -0
- package/dist/_virtual/bailout-to-client-rendering.js +4 -1
- package/dist/_virtual/bailout-to-csr.cjs +1 -0
- package/dist/_virtual/bailout-to-csr.js +4 -1
- package/dist/_virtual/constants.cjs +1 -0
- package/dist/_virtual/constants.js +4 -1
- package/dist/_virtual/detect-domain-locale.cjs +1 -0
- package/dist/_virtual/detect-domain-locale.js +4 -1
- package/dist/_virtual/detect-domain-locale2.cjs +1 -0
- package/dist/_virtual/detect-domain-locale2.js +4 -1
- package/dist/_virtual/dynamic-rendering-utils.cjs +1 -0
- package/dist/_virtual/dynamic-rendering-utils.js +4 -1
- package/dist/_virtual/dynamic-rendering.cjs +1 -0
- package/dist/_virtual/dynamic-rendering.js +4 -1
- package/dist/_virtual/ensure-leading-slash.cjs +1 -0
- package/dist/_virtual/ensure-leading-slash.js +4 -1
- package/dist/_virtual/error-once.cjs +1 -0
- package/dist/_virtual/error-once.js +4 -1
- package/dist/_virtual/escape-regexp.cjs +1 -0
- package/dist/_virtual/escape-regexp.js +4 -1
- package/dist/_virtual/forbidden.cjs +1 -0
- package/dist/_virtual/forbidden.js +4 -1
- package/dist/_virtual/format-url.cjs +1 -0
- package/dist/_virtual/format-url.js +4 -1
- package/dist/_virtual/get-domain-locale.cjs +1 -0
- package/dist/_virtual/get-domain-locale.js +4 -1
- package/dist/_virtual/get-segment-value.cjs +1 -0
- package/dist/_virtual/get-segment-value.js +4 -1
- package/dist/_virtual/has-base-path.cjs +1 -0
- package/dist/_virtual/has-base-path.js +4 -1
- package/dist/_virtual/hooks-client-context.shared-runtime.cjs +1 -0
- package/dist/_virtual/hooks-client-context.shared-runtime.js +4 -1
- package/dist/_virtual/hooks-server-context.cjs +1 -0
- package/dist/_virtual/hooks-server-context.js +4 -1
- package/dist/_virtual/http-access-fallback.cjs +1 -0
- package/dist/_virtual/http-access-fallback.js +4 -1
- package/dist/_virtual/index.cjs +1 -0
- package/dist/_virtual/index.js +4 -1
- package/dist/_virtual/interception-routes.cjs +1 -0
- package/dist/_virtual/interception-routes.js +4 -1
- package/dist/_virtual/interpolate-as.cjs +1 -0
- package/dist/_virtual/interpolate-as.js +4 -1
- package/dist/_virtual/is-dynamic.cjs +1 -0
- package/dist/_virtual/is-dynamic.js +4 -1
- package/dist/_virtual/is-local-url.cjs +1 -0
- package/dist/_virtual/is-local-url.js +4 -1
- package/dist/_virtual/is-next-router-error.cjs +1 -0
- package/dist/_virtual/is-next-router-error.js +4 -1
- package/dist/_virtual/is-postpone.cjs +1 -0
- package/dist/_virtual/is-postpone.js +4 -1
- package/dist/_virtual/link.cjs +1 -0
- package/dist/_virtual/link.js +7 -1
- package/dist/_virtual/link2.cjs +1 -0
- package/dist/_virtual/link2.js +4 -1
- package/dist/_virtual/metadata-constants.cjs +1 -0
- package/dist/_virtual/metadata-constants.js +4 -1
- package/dist/_virtual/navigation.cjs +1 -0
- package/dist/_virtual/navigation.js +5 -1
- package/dist/_virtual/navigation.react-server.cjs +1 -0
- package/dist/_virtual/navigation.react-server.js +4 -1
- package/dist/_virtual/navigation2.cjs +1 -0
- package/dist/_virtual/navigation2.js +4 -1
- package/dist/_virtual/normalize-locale-path.cjs +1 -0
- package/dist/_virtual/normalize-locale-path.js +4 -1
- package/dist/_virtual/normalize-locale-path2.cjs +1 -0
- package/dist/_virtual/normalize-locale-path2.js +4 -1
- package/dist/_virtual/normalize-trailing-slash.cjs +1 -0
- package/dist/_virtual/normalize-trailing-slash.js +4 -1
- package/dist/_virtual/not-found.cjs +1 -0
- package/dist/_virtual/not-found.js +4 -1
- package/dist/_virtual/omit.cjs +1 -0
- package/dist/_virtual/omit.js +4 -1
- package/dist/_virtual/parse-path.cjs +1 -0
- package/dist/_virtual/parse-path.js +4 -1
- package/dist/_virtual/path-has-prefix.cjs +1 -0
- package/dist/_virtual/path-has-prefix.js +4 -1
- package/dist/_virtual/querystring.cjs +1 -0
- package/dist/_virtual/querystring.js +4 -1
- package/dist/_virtual/redirect-error.cjs +1 -0
- package/dist/_virtual/redirect-error.js +4 -1
- package/dist/_virtual/redirect-status-code.cjs +1 -0
- package/dist/_virtual/redirect-status-code.js +4 -1
- package/dist/_virtual/redirect.cjs +1 -0
- package/dist/_virtual/redirect.js +4 -1
- package/dist/_virtual/remove-trailing-slash.cjs +1 -0
- package/dist/_virtual/remove-trailing-slash.js +4 -1
- package/dist/_virtual/request-idle-callback.cjs +1 -0
- package/dist/_virtual/request-idle-callback.js +4 -1
- package/dist/_virtual/resolve-href.cjs +1 -0
- package/dist/_virtual/resolve-href.js +4 -1
- package/dist/_virtual/route-matcher.cjs +1 -0
- package/dist/_virtual/route-matcher.js +4 -1
- package/dist/_virtual/route-regex.cjs +1 -0
- package/dist/_virtual/route-regex.js +4 -1
- package/dist/_virtual/router-context.shared-runtime.cjs +1 -0
- package/dist/_virtual/router-context.shared-runtime.js +4 -1
- package/dist/_virtual/scheduler.cjs +1 -0
- package/dist/_virtual/scheduler.js +4 -1
- package/dist/_virtual/segment.cjs +1 -0
- package/dist/_virtual/segment.js +4 -1
- package/dist/_virtual/server-inserted-html.shared-runtime.cjs +1 -0
- package/dist/_virtual/server-inserted-html.shared-runtime.js +4 -1
- package/dist/_virtual/sorted-routes.cjs +1 -0
- package/dist/_virtual/sorted-routes.js +4 -1
- package/dist/_virtual/static-generation-bailout.cjs +1 -0
- package/dist/_virtual/static-generation-bailout.js +4 -1
- package/dist/_virtual/unauthorized.cjs +1 -0
- package/dist/_virtual/unauthorized.js +4 -1
- package/dist/_virtual/unstable-rethrow.browser.cjs +1 -0
- package/dist/_virtual/unstable-rethrow.browser.js +4 -1
- package/dist/_virtual/unstable-rethrow.cjs +1 -0
- package/dist/_virtual/unstable-rethrow.js +4 -1
- package/dist/_virtual/unstable-rethrow.server.cjs +1 -0
- package/dist/_virtual/unstable-rethrow.server.js +4 -1
- package/dist/_virtual/use-intersection.cjs +1 -0
- package/dist/_virtual/use-intersection.js +4 -1
- package/dist/_virtual/use-merged-ref.cjs +1 -0
- package/dist/_virtual/use-merged-ref.js +4 -1
- package/dist/_virtual/utils.cjs +1 -0
- package/dist/_virtual/utils.js +4 -1
- package/dist/_virtual/work-async-storage-instance.cjs +1 -0
- package/dist/_virtual/work-async-storage-instance.js +4 -1
- package/dist/_virtual/work-async-storage.external.cjs +1 -0
- package/dist/_virtual/work-async-storage.external.js +4 -1
- package/dist/_virtual/work-unit-async-storage-instance.cjs +1 -0
- package/dist/_virtual/work-unit-async-storage-instance.js +4 -1
- package/dist/_virtual/work-unit-async-storage.external.cjs +1 -0
- package/dist/_virtual/work-unit-async-storage.external.js +4 -1
- package/dist/components/EmptyState/index.cjs +1 -0
- package/dist/components/EmptyState/index.js +36 -1
- package/dist/components/Icon.cjs +1 -0
- package/dist/components/Icon.js +54 -1
- package/dist/components/InfinityLoader/index.cjs +1 -0
- package/dist/components/InfinityLoader/index.js +6 -1
- package/dist/components/NavItems.cjs +1 -0
- package/dist/components/NavItems.js +36 -1
- package/dist/components/SelectInfinity/index.cjs +1 -0
- package/dist/components/SelectInfinity/index.js +106 -1
- package/dist/consts/http-status.cjs +1 -0
- package/dist/consts/http-status.js +4 -1
- package/dist/consts/revalidate.cjs +1 -0
- package/dist/consts/revalidate.js +4 -1
- package/dist/contexts/NavigationHistoryContext/index.cjs +1 -0
- package/dist/contexts/NavigationHistoryContext/index.js +47 -1
- package/dist/contexts/PageDataContext/index.cjs +1 -0
- package/dist/contexts/PageDataContext/index.js +15 -1
- package/dist/form/Form.cjs +1 -0
- package/dist/form/Form.js +21 -1
- package/dist/form/FormButtonSubmit.cjs +1 -0
- package/dist/form/FormButtonSubmit.js +18 -1
- package/dist/form/utils/nullableInput.cjs +1 -0
- package/dist/form/utils/nullableInput.js +9 -1
- package/dist/form/utils/zodValidator.cjs +1 -0
- package/dist/form/utils/zodValidator.js +9 -1
- package/dist/hocs/withForm.cjs +1 -0
- package/dist/hocs/withForm.js +47 -1
- package/dist/hocs/withModalManager.cjs +1 -0
- package/dist/hocs/withModalManager.js +28 -1
- package/dist/hooks/useFetchNextPageOnScroll.cjs +1 -0
- package/dist/hooks/useFetchNextPageOnScroll.js +17 -1
- package/dist/hooks/useOnScrollProgress.cjs +1 -0
- package/dist/hooks/useOnScrollProgress.js +18 -1
- package/dist/index.cjs +1 -0
- package/dist/index.js +60 -1
- package/dist/mantine/breakpointsWithPx.cjs +1 -0
- package/dist/mantine/breakpointsWithPx.js +11 -1
- package/dist/mantine/toTailwindColors.cjs +1 -0
- package/dist/mantine/toTailwindColors.js +10 -1
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +1 -0
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +13 -1
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +1 -0
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +30 -1
- package/dist/node_modules/next/dist/client/add-base-path.cjs +1 -0
- package/dist/node_modules/next/dist/client/add-base-path.js +24 -1
- package/dist/node_modules/next/dist/client/add-locale.cjs +1 -0
- package/dist/node_modules/next/dist/client/add-locale.js +25 -1
- package/dist/node_modules/next/dist/client/components/app-router-headers.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/app-router-headers.js +76 -1
- package/dist/node_modules/next/dist/client/components/bailout-to-client-rendering.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/bailout-to-client-rendering.js +30 -1
- package/dist/node_modules/next/dist/client/components/forbidden.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/forbidden.js +34 -1
- package/dist/node_modules/next/dist/client/components/hooks-server-context.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/hooks-server-context.js +36 -1
- package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +63 -1
- package/dist/node_modules/next/dist/client/components/is-next-router-error.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/is-next-router-error.js +24 -1
- package/dist/node_modules/next/dist/client/components/navigation.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/navigation.js +133 -1
- package/dist/node_modules/next/dist/client/components/navigation.react-server.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/navigation.react-server.js +75 -1
- package/dist/node_modules/next/dist/client/components/not-found.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/not-found.js +28 -1
- package/dist/node_modules/next/dist/client/components/redirect-error.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/redirect-error.js +41 -1
- package/dist/node_modules/next/dist/client/components/redirect-status-code.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/redirect-status-code.js +21 -1
- package/dist/node_modules/next/dist/client/components/redirect.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/redirect.js +80 -1
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js +21 -1
- package/dist/node_modules/next/dist/client/components/static-generation-bailout.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/static-generation-bailout.js +36 -1
- package/dist/node_modules/next/dist/client/components/unauthorized.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/unauthorized.js +34 -1
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.js +26 -1
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.js +21 -1
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.js +30 -1
- package/dist/node_modules/next/dist/client/detect-domain-locale.cjs +1 -0
- package/dist/node_modules/next/dist/client/detect-domain-locale.js +25 -1
- package/dist/node_modules/next/dist/client/get-domain-locale.cjs +1 -0
- package/dist/node_modules/next/dist/client/get-domain-locale.js +33 -1
- package/dist/node_modules/next/dist/client/has-base-path.cjs +1 -0
- package/dist/node_modules/next/dist/client/has-base-path.js +23 -1
- package/dist/node_modules/next/dist/client/link.cjs +8 -0
- package/dist/node_modules/next/dist/client/link.js +277 -5
- package/dist/node_modules/next/dist/client/normalize-locale-path.cjs +1 -0
- package/dist/node_modules/next/dist/client/normalize-locale-path.js +23 -1
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.cjs +1 -0
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +26 -1
- package/dist/node_modules/next/dist/client/request-idle-callback.cjs +1 -0
- package/dist/node_modules/next/dist/client/request-idle-callback.js +40 -1
- package/dist/node_modules/next/dist/client/resolve-href.cjs +1 -0
- package/dist/node_modules/next/dist/client/resolve-href.js +67 -1
- package/dist/node_modules/next/dist/client/use-intersection.cjs +1 -0
- package/dist/node_modules/next/dist/client/use-intersection.js +85 -1
- package/dist/node_modules/next/dist/client/use-merged-ref.cjs +1 -0
- package/dist/node_modules/next/dist/client/use-merged-ref.js +44 -1
- package/dist/node_modules/next/dist/lib/constants.cjs +1 -0
- package/dist/node_modules/next/dist/lib/constants.js +285 -1
- package/dist/node_modules/next/dist/lib/metadata/metadata-constants.cjs +1 -0
- package/dist/node_modules/next/dist/lib/metadata/metadata-constants.js +30 -1
- package/dist/node_modules/next/dist/lib/scheduler.cjs +1 -0
- package/dist/node_modules/next/dist/lib/scheduler.js +45 -1
- package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.cjs +1 -0
- package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js +19 -1
- package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.cjs +1 -0
- package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js +19 -1
- package/dist/node_modules/next/dist/server/app-render/async-local-storage.cjs +1 -0
- package/dist/node_modules/next/dist/server/app-render/async-local-storage.js +65 -1
- package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.cjs +4 -0
- package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +346 -4
- package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.cjs +1 -0
- package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js +19 -1
- package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.cjs +1 -0
- package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js +19 -1
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.cjs +1 -0
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +19 -1
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.cjs +1 -0
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +102 -1
- package/dist/node_modules/next/dist/server/dynamic-rendering-utils.cjs +1 -0
- package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +62 -1
- package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.cjs +1 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js +21 -1
- package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +41 -1
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +21 -1
- package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +33 -1
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +28 -1
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +37 -1
- package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +35 -1
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +20 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +25 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +25 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +39 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +57 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +32 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +90 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +49 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +22 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +29 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +23 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +29 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +25 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +64 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +20 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +42 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +167 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +154 -1
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +21 -1
- package/dist/node_modules/next/dist/shared/lib/segment.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/segment.js +49 -1
- package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +34 -1
- package/dist/node_modules/next/dist/shared/lib/utils/error-once.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +25 -1
- package/dist/node_modules/next/dist/shared/lib/utils.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/utils.js +166 -1
- package/dist/node_modules/next/link.cjs +1 -0
- package/dist/node_modules/next/link.js +8 -1
- package/dist/node_modules/next/navigation.cjs +1 -0
- package/dist/node_modules/next/navigation.js +8 -1
- package/dist/utils/array/groupBy.cjs +1 -0
- package/dist/utils/array/groupBy.js +34 -1
- package/dist/utils/array/shuffleArray.cjs +1 -0
- package/dist/utils/array/shuffleArray.js +13 -1
- package/dist/utils/formatBytes.cjs +1 -0
- package/dist/utils/formatBytes.js +8 -1
- package/dist/utils/isInfinityEmpty.cjs +1 -0
- package/dist/utils/isInfinityEmpty.js +4 -1
- package/dist/utils/ky/addBodyJsonHook.cjs +1 -0
- package/dist/utils/ky/addBodyJsonHook.js +5 -1
- package/dist/utils/ky/parseJson.cjs +1 -0
- package/dist/utils/ky/parseJson.js +6 -1
- package/dist/utils/newHref.cjs +1 -0
- package/dist/utils/newHref.js +20 -1
- package/package.json +3 -3
|
@@ -1 +1,15 @@
|
|
|
1
|
-
"use client";
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
3
|
+
import { createContext as a, useContext as n } from "react";
|
|
4
|
+
const e = a(void 0), c = ({
|
|
5
|
+
value: t,
|
|
6
|
+
children: o
|
|
7
|
+
}) => /* @__PURE__ */ r(e.Provider, { value: t, children: o }), u = () => {
|
|
8
|
+
const t = n(e);
|
|
9
|
+
if (t === void 0) throw new Error("Out of context: usePageData");
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
c as PageDataProvider,
|
|
14
|
+
u as usePageData
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("@mantine/core"),c=require("react-hook-form"),u=({methods:r,onSubmit:o=()=>{},onSubmitError:t,...n})=>e.jsx(c.FormProvider,{...r,children:e.jsx(i.Box,{component:"form",onSubmit:r.handleSubmit(o,t),...n})});exports.Form=u;
|
package/dist/form/Form.js
CHANGED
|
@@ -1 +1,21 @@
|
|
|
1
|
-
"use client";
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
3
|
+
import { Box as n } from "@mantine/core";
|
|
4
|
+
import { FormProvider as e } from "react-hook-form";
|
|
5
|
+
const u = ({
|
|
6
|
+
methods: o,
|
|
7
|
+
onSubmit: m = () => {
|
|
8
|
+
},
|
|
9
|
+
onSubmitError: t,
|
|
10
|
+
...i
|
|
11
|
+
}) => /* @__PURE__ */ r(e, { ...o, children: /* @__PURE__ */ r(
|
|
12
|
+
n,
|
|
13
|
+
{
|
|
14
|
+
component: "form",
|
|
15
|
+
onSubmit: o.handleSubmit(m, t),
|
|
16
|
+
...i
|
|
17
|
+
}
|
|
18
|
+
) });
|
|
19
|
+
export {
|
|
20
|
+
u as Form
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),u=require("@mantine/core"),n=require("react-hook-form"),i=t=>{const{formState:e}=n.useFormContext(),{isSubmitting:o}=e;return r.jsx(u.Button,{loading:o,type:"submit",...t})};exports.FormButtonSubmit=i;
|
|
@@ -1 +1,18 @@
|
|
|
1
|
-
"use client";
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
3
|
+
import { Button as i } from "@mantine/core";
|
|
4
|
+
import { useFormContext as n } from "react-hook-form";
|
|
5
|
+
const p = (t) => {
|
|
6
|
+
const { formState: o } = n(), { isSubmitting: m } = o;
|
|
7
|
+
return /* @__PURE__ */ r(
|
|
8
|
+
i,
|
|
9
|
+
{
|
|
10
|
+
loading: m,
|
|
11
|
+
type: "submit",
|
|
12
|
+
...t
|
|
13
|
+
}
|
|
14
|
+
);
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
p as FormButtonSubmit
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("zod"),n=(r,t="Campo requerido")=>r.nullable().transform((e,l)=>e===null?(l.addIssue({code:u.z.ZodIssueCode.custom,fatal:!0,message:t}),u.z.NEVER):e);exports.nullableInput=n;
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import { z as e } from "zod";
|
|
2
|
+
const l = (u, o = "Campo requerido") => u.nullable().transform((r, t) => r === null ? (t.addIssue({
|
|
3
|
+
code: e.ZodIssueCode.custom,
|
|
4
|
+
fatal: !0,
|
|
5
|
+
message: o
|
|
6
|
+
}), e.NEVER) : r);
|
|
7
|
+
export {
|
|
8
|
+
l as nullableInput
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=s=>e=>{const r=s.safeParse(e);if(r.success)return;const{error:t}=r;return t.issues[0]?.message};exports.zodValidator=o;
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
const n = (s) => (e) => {
|
|
2
|
+
const r = s.safeParse(e);
|
|
3
|
+
if (r.success) return;
|
|
4
|
+
const { error: t } = r;
|
|
5
|
+
return t.issues[0]?.message;
|
|
6
|
+
};
|
|
7
|
+
export {
|
|
8
|
+
n as zodValidator
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),b=require("react-hook-form");require("@mantine/core");const f=require("../form/utils/zodValidator.cjs");require("zod");const h=(i,a)=>{const t=e=>{const{validate:l,name:d="",placeholder:s,label:u,description:c,...n}=e;return o.jsx(b.Controller,{name:d,defaultValue:"",rules:{validate:l&&!e.disabled?f.zodValidator(l):void 0},disabled:e.disabled,...a?.(e),render:r=>{const{fieldState:{isTouched:q,error:m}}=r,F={...r,props:{...e,validate:void 0},field:{...r.field,label:u,placeholder:s,description:c,error:m?.message},...n};return o.jsx(i,{...F})}})};return t.displayName=`withForm(${i.displayName})`,t};exports.withForm=h;
|
package/dist/hocs/withForm.js
CHANGED
|
@@ -1 +1,47 @@
|
|
|
1
|
-
"use client";
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
3
|
+
import { Controller as h } from "react-hook-form";
|
|
4
|
+
import "@mantine/core";
|
|
5
|
+
import { zodValidator as v } from "../form/utils/zodValidator.js";
|
|
6
|
+
import "zod";
|
|
7
|
+
const V = (t, d) => {
|
|
8
|
+
const r = (e) => {
|
|
9
|
+
const { validate: l, name: a = "", placeholder: m, label: s, description: c, ...n } = e;
|
|
10
|
+
return /* @__PURE__ */ o(
|
|
11
|
+
h,
|
|
12
|
+
{
|
|
13
|
+
name: a,
|
|
14
|
+
defaultValue: "",
|
|
15
|
+
rules: {
|
|
16
|
+
validate: l && !e.disabled ? v(l) : void 0
|
|
17
|
+
},
|
|
18
|
+
disabled: e.disabled,
|
|
19
|
+
...d?.(e),
|
|
20
|
+
render: (i) => {
|
|
21
|
+
const {
|
|
22
|
+
fieldState: { isTouched: F, error: f }
|
|
23
|
+
} = i, u = {
|
|
24
|
+
...i,
|
|
25
|
+
props: {
|
|
26
|
+
...e,
|
|
27
|
+
validate: void 0
|
|
28
|
+
},
|
|
29
|
+
field: {
|
|
30
|
+
...i.field,
|
|
31
|
+
label: s,
|
|
32
|
+
placeholder: m,
|
|
33
|
+
description: c,
|
|
34
|
+
error: f?.message
|
|
35
|
+
},
|
|
36
|
+
...n
|
|
37
|
+
};
|
|
38
|
+
return /* @__PURE__ */ o(t, { ...u });
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
};
|
|
43
|
+
return r.displayName = `withForm(${t.displayName})`, r;
|
|
44
|
+
};
|
|
45
|
+
export {
|
|
46
|
+
V as withForm
|
|
47
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),a=require("react"),c=e=>{const t=({removeModal:i,opened:s,...n})=>{const[u,o]=a.useState(!1),r=()=>{o(!1),setTimeout(()=>i(),200),n.onClose?.()};return a.useEffect(()=>{s?setTimeout(()=>o(!0),0):r()},[s]),l.jsx(e,{...n,opened:u,onClose:r})};return t.displayName=`withModalManager(${e.displayName})`,t};exports.withModalManager=c;
|
|
@@ -1 +1,28 @@
|
|
|
1
|
-
"use
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
3
|
+
import { useState as m, useEffect as u } from "react";
|
|
4
|
+
const M = (e) => {
|
|
5
|
+
const t = ({
|
|
6
|
+
removeModal: i,
|
|
7
|
+
opened: s,
|
|
8
|
+
...o
|
|
9
|
+
}) => {
|
|
10
|
+
const [l, n] = m(!1), a = () => {
|
|
11
|
+
n(!1), setTimeout(() => i(), 200), o.onClose?.();
|
|
12
|
+
};
|
|
13
|
+
return u(() => {
|
|
14
|
+
s ? setTimeout(() => n(!0), 0) : a();
|
|
15
|
+
}, [s]), /* @__PURE__ */ r(
|
|
16
|
+
e,
|
|
17
|
+
{
|
|
18
|
+
...o,
|
|
19
|
+
opened: l,
|
|
20
|
+
onClose: a
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
};
|
|
24
|
+
return t.displayName = `withModalManager(${e.displayName})`, t;
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
M as withModalManager
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),s=require("./useOnScrollProgress.cjs"),o=(e,t)=>{s.useOnScrollProgress(.9,()=>{e.hasNextPage&&e.fetchNextPage()},t),r.useEffect(()=>{const c=t?.current??document.documentElement;!(c.scrollHeight>c.clientHeight)&&e.hasNextPage&&e.fetchNextPage()},[e.data,t])};exports.useFetchNextPageOnScroll=o;
|
|
@@ -1 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
import { useEffect as o } from "react";
|
|
2
|
+
import { useOnScrollProgress as r } from "./useOnScrollProgress.js";
|
|
3
|
+
const h = (e, t) => {
|
|
4
|
+
r(
|
|
5
|
+
0.9,
|
|
6
|
+
() => {
|
|
7
|
+
e.hasNextPage && e.fetchNextPage();
|
|
8
|
+
},
|
|
9
|
+
t
|
|
10
|
+
), o(() => {
|
|
11
|
+
const c = t?.current ?? document.documentElement;
|
|
12
|
+
!(c.scrollHeight > c.clientHeight) && e.hasNextPage && e.fetchNextPage();
|
|
13
|
+
}, [e.data, t]);
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
h as useFetchNextPageOnScroll
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("react"),a=(o,t,r)=>{if(o<0||o>1)throw new Error("El porcentaje debe estar entre 0 y 1");h.useEffect(()=>{let l=!1;const e=()=>{const c=r?.current,s=c??document.documentElement,i=s.scrollHeight-s.clientHeight,u=c?s.scrollTop:window.scrollY,d=i>0?Math.min(1,u/i):0;!l&&d>=o&&(t(),l=!0)},n=r?.current??window;return n.addEventListener("scroll",e),e(),()=>{n.removeEventListener("scroll",e)}},[o,t,r])};exports.useOnScrollProgress=a;
|
|
@@ -1 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
import { useEffect as h } from "react";
|
|
2
|
+
const E = (o, l, r) => {
|
|
3
|
+
if (o < 0 || o > 1)
|
|
4
|
+
throw new Error("El porcentaje debe estar entre 0 y 1");
|
|
5
|
+
h(() => {
|
|
6
|
+
let e = !1;
|
|
7
|
+
const s = () => {
|
|
8
|
+
const c = r?.current, t = c ?? document.documentElement, i = t.scrollHeight - t.clientHeight, d = c ? t.scrollTop : window.scrollY, u = i > 0 ? Math.min(1, d / i) : 0;
|
|
9
|
+
!e && u >= o && (l(), e = !0);
|
|
10
|
+
}, n = r?.current ?? window;
|
|
11
|
+
return n.addEventListener("scroll", s), s(), () => {
|
|
12
|
+
n.removeEventListener("scroll", s);
|
|
13
|
+
};
|
|
14
|
+
}, [o, l, r]);
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
E as useOnScrollProgress
|
|
18
|
+
};
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./components/EmptyState/index.cjs"),i=require("./components/InfinityLoader/index.cjs"),n=require("./components/SelectInfinity/index.cjs"),a=require("./components/NavItems.cjs");require("react/jsx-runtime");require("clsx");const s=require("./consts/http-status.cjs"),u=require("./consts/revalidate.cjs"),e=require("./contexts/NavigationHistoryContext/index.cjs"),r=require("./contexts/PageDataContext/index.cjs"),l=require("./form/Form.cjs"),d=require("./form/FormButtonSubmit.cjs"),c=require("./form/utils/zodValidator.cjs"),y=require("./form/utils/nullableInput.cjs"),q=require("./hocs/withForm.cjs"),m=require("./hocs/withModalManager.cjs");require("@mantine/core");const g=require("./hooks/useFetchNextPageOnScroll.cjs"),p=require("./hooks/useOnScrollProgress.cjs");require("./_virtual/navigation.cjs");const f=require("./mantine/breakpointsWithPx.cjs"),P=require("./mantine/toTailwindColors.cjs"),S=require("./utils/formatBytes.cjs"),h=require("./utils/ky/addBodyJsonHook.cjs"),B=require("./utils/ky/parseJson.cjs"),t=require("./utils/array/groupBy.cjs"),v=require("./utils/array/shuffleArray.cjs"),N=require("./utils/newHref.cjs"),x=require("./utils/isInfinityEmpty.cjs");exports.EmptyState=o.EmptyState;exports.InfinityLoader=i.InfinityLoader;exports.SelectInfinity=n.SelectInfinity;exports.NavItems=a.NavItems;exports.HttpStatus=s.HttpStatus;exports.Revalidate=u.Revalidate;exports.NavigationHistoryProvider=e.NavigationHistoryProvider;exports.QP_BACK_URL_NAME=e.QP_BACK_URL_NAME;exports.useNavigationHistory=e.useNavigationHistory;exports.PageDataProvider=r.PageDataProvider;exports.usePageData=r.usePageData;exports.Form=l.Form;exports.FormButtonSubmit=d.FormButtonSubmit;exports.zodValidator=c.zodValidator;exports.nullableInput=y.nullableInput;exports.withForm=q.withForm;exports.withModalManager=m.withModalManager;exports.useFetchNextPageOnScroll=g.useFetchNextPageOnScroll;exports.useOnScrollProgress=p.useOnScrollProgress;exports.breakpointsWithPx=f.breakpointsWithPx;exports.toTailwindColors=P.toTailwindColors;exports.formatBytes=S.formatBytes;exports.addBodyJsonHook=h.addBodyJsonHook;exports.parseJSON=B.parseJSON;exports.groupBy=t.groupBy;exports.indexBy=t.indexBy;exports.shuffleArray=v.shuffleArray;exports.newHref=N.newHref;exports.isInfinityEmpty=x.isInfinityEmpty;
|
package/dist/index.js
CHANGED
|
@@ -1 +1,60 @@
|
|
|
1
|
-
|
|
1
|
+
import { EmptyState as f } from "./components/EmptyState/index.js";
|
|
2
|
+
import { InfinityLoader as i } from "./components/InfinityLoader/index.js";
|
|
3
|
+
import { SelectInfinity as n } from "./components/SelectInfinity/index.js";
|
|
4
|
+
import { NavItems as l } from "./components/NavItems.js";
|
|
5
|
+
import "react/jsx-runtime";
|
|
6
|
+
import "clsx";
|
|
7
|
+
import { HttpStatus as y } from "./consts/http-status.js";
|
|
8
|
+
import { Revalidate as g } from "./consts/revalidate.js";
|
|
9
|
+
import { NavigationHistoryProvider as S, QP_BACK_URL_NAME as v, useNavigationHistory as B } from "./contexts/NavigationHistoryContext/index.js";
|
|
10
|
+
import { PageDataProvider as h, usePageData as H } from "./contexts/PageDataContext/index.js";
|
|
11
|
+
import { Form as c } from "./form/Form.js";
|
|
12
|
+
import { FormButtonSubmit as F } from "./form/FormButtonSubmit.js";
|
|
13
|
+
import { zodValidator as A } from "./form/utils/zodValidator.js";
|
|
14
|
+
import { nullableInput as M } from "./form/utils/nullableInput.js";
|
|
15
|
+
import { withForm as _ } from "./hocs/withForm.js";
|
|
16
|
+
import { withModalManager as C } from "./hocs/withModalManager.js";
|
|
17
|
+
import "@mantine/core";
|
|
18
|
+
import { useFetchNextPageOnScroll as J } from "./hooks/useFetchNextPageOnScroll.js";
|
|
19
|
+
import { useOnScrollProgress as R } from "./hooks/useOnScrollProgress.js";
|
|
20
|
+
import "./_virtual/navigation.js";
|
|
21
|
+
import { breakpointsWithPx as K } from "./mantine/breakpointsWithPx.js";
|
|
22
|
+
import { toTailwindColors as T } from "./mantine/toTailwindColors.js";
|
|
23
|
+
import { formatBytes as V } from "./utils/formatBytes.js";
|
|
24
|
+
import { addBodyJsonHook as j } from "./utils/ky/addBodyJsonHook.js";
|
|
25
|
+
import { parseJSON as G } from "./utils/ky/parseJson.js";
|
|
26
|
+
import { groupBy as Y, indexBy as Z } from "./utils/array/groupBy.js";
|
|
27
|
+
import { shuffleArray as oo } from "./utils/array/shuffleArray.js";
|
|
28
|
+
import { newHref as to } from "./utils/newHref.js";
|
|
29
|
+
import { isInfinityEmpty as mo } from "./utils/isInfinityEmpty.js";
|
|
30
|
+
export {
|
|
31
|
+
f as EmptyState,
|
|
32
|
+
c as Form,
|
|
33
|
+
F as FormButtonSubmit,
|
|
34
|
+
y as HttpStatus,
|
|
35
|
+
i as InfinityLoader,
|
|
36
|
+
l as NavItems,
|
|
37
|
+
S as NavigationHistoryProvider,
|
|
38
|
+
h as PageDataProvider,
|
|
39
|
+
v as QP_BACK_URL_NAME,
|
|
40
|
+
g as Revalidate,
|
|
41
|
+
n as SelectInfinity,
|
|
42
|
+
j as addBodyJsonHook,
|
|
43
|
+
K as breakpointsWithPx,
|
|
44
|
+
V as formatBytes,
|
|
45
|
+
Y as groupBy,
|
|
46
|
+
Z as indexBy,
|
|
47
|
+
mo as isInfinityEmpty,
|
|
48
|
+
to as newHref,
|
|
49
|
+
M as nullableInput,
|
|
50
|
+
G as parseJSON,
|
|
51
|
+
oo as shuffleArray,
|
|
52
|
+
T as toTailwindColors,
|
|
53
|
+
J as useFetchNextPageOnScroll,
|
|
54
|
+
B as useNavigationHistory,
|
|
55
|
+
R as useOnScrollProgress,
|
|
56
|
+
H as usePageData,
|
|
57
|
+
_ as withForm,
|
|
58
|
+
C as withModalManager,
|
|
59
|
+
A as zodValidator
|
|
60
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={xs:"576px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"};exports.breakpointsWithPx=t;
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
const x = {
|
|
2
|
+
xs: "576px",
|
|
3
|
+
sm: "640px",
|
|
4
|
+
md: "768px",
|
|
5
|
+
lg: "1024px",
|
|
6
|
+
xl: "1280px",
|
|
7
|
+
"2xl": "1536px"
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
x as breakpointsWithPx
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=t=>Object.entries(t).reduce((e,[o,i])=>(e[o]=i.reduce((r,n,l)=>(r[l]=n,r),{}),e),{});exports.toTailwindColors=u;
|
|
@@ -1 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
const i = (t) => Object.entries(t).reduce(
|
|
2
|
+
(e, [n, o]) => (e[n] = o.reduce(
|
|
3
|
+
(r, u, d) => (r[d] = u, r),
|
|
4
|
+
{}
|
|
5
|
+
), e),
|
|
6
|
+
{}
|
|
7
|
+
);
|
|
8
|
+
export {
|
|
9
|
+
i as toTailwindColors
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../../_virtual/_interop_require_default.cjs");var t;function u(){if(t)return r.__exports;t=1;function _(e){return e&&e.__esModule?e:{default:e}}return r.__exports._=_,r.__exports}exports.__require=u;
|
|
@@ -1 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
import { __exports as r } from "../../../../_virtual/_interop_require_default.js";
|
|
2
|
+
var _;
|
|
3
|
+
function i() {
|
|
4
|
+
if (_) return r;
|
|
5
|
+
_ = 1;
|
|
6
|
+
function u(e) {
|
|
7
|
+
return e && e.__esModule ? e : { default: e };
|
|
8
|
+
}
|
|
9
|
+
return r._ = u, r;
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
i as __require
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../../../../_virtual/_interop_require_wildcard.cjs");var _;function l(){if(_)return a.__exports;_=1;function c(e){if(typeof WeakMap!="function")return null;var n=new WeakMap,r=new WeakMap;return(c=function(t){return t?r:n})(e)}function p(e,n){if(!n&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=c(n);if(r&&r.has(e))return r.get(e);var t={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var u=f?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(t,i,u):t[i]=e[i]}return t.default=e,r&&r.set(e,t),t}return a.__exports._=p,a.__exports}exports.__require=l;
|
|
@@ -1 +1,30 @@
|
|
|
1
|
-
|
|
1
|
+
import { __exports as u } from "../../../../_virtual/_interop_require_wildcard.js";
|
|
2
|
+
var c;
|
|
3
|
+
function o() {
|
|
4
|
+
if (c) return u;
|
|
5
|
+
c = 1;
|
|
6
|
+
function p(r) {
|
|
7
|
+
if (typeof WeakMap != "function") return null;
|
|
8
|
+
var n = /* @__PURE__ */ new WeakMap(), e = /* @__PURE__ */ new WeakMap();
|
|
9
|
+
return (p = function(t) {
|
|
10
|
+
return t ? e : n;
|
|
11
|
+
})(r);
|
|
12
|
+
}
|
|
13
|
+
function f(r, n) {
|
|
14
|
+
if (!n && r && r.__esModule) return r;
|
|
15
|
+
if (r === null || typeof r != "object" && typeof r != "function") return { default: r };
|
|
16
|
+
var e = p(n);
|
|
17
|
+
if (e && e.has(r)) return e.get(r);
|
|
18
|
+
var t = { __proto__: null }, _ = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
19
|
+
for (var i in r)
|
|
20
|
+
if (i !== "default" && Object.prototype.hasOwnProperty.call(r, i)) {
|
|
21
|
+
var a = _ ? Object.getOwnPropertyDescriptor(r, i) : null;
|
|
22
|
+
a && (a.get || a.set) ? Object.defineProperty(t, i, a) : t[i] = r[i];
|
|
23
|
+
}
|
|
24
|
+
return t.default = r, e && e.set(r, t), t;
|
|
25
|
+
}
|
|
26
|
+
return u._ = f, u;
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
o as __require
|
|
30
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../../_virtual/add-base-path.cjs"),o=require("../shared/lib/router/utils/add-path-prefix.cjs"),f=require("./normalize-trailing-slash.cjs");var r;function s(){return r||(r=1,function(u,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addBasePath",{enumerable:!0,get:function(){return _}});const d=o.__require(),n=f.__require(),i=process.env.__NEXT_ROUTER_BASEPATH||"";function _(a,l){return(0,n.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH&&!l?a:(0,d.addPathPrefix)(a,i))}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),u.exports=e.default)}(t.__module,t.__module.exports)),t.__module.exports}exports.__require=s;
|
|
@@ -1 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
import { __module as a } from "../../../../_virtual/add-base-path.js";
|
|
2
|
+
import { __require as _ } from "../shared/lib/router/utils/add-path-prefix.js";
|
|
3
|
+
import { __require as l } from "./normalize-trailing-slash.js";
|
|
4
|
+
var t;
|
|
5
|
+
function h() {
|
|
6
|
+
return t ? a.exports : (t = 1, function(u, e) {
|
|
7
|
+
Object.defineProperty(e, "__esModule", {
|
|
8
|
+
value: !0
|
|
9
|
+
}), Object.defineProperty(e, "addBasePath", {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: function() {
|
|
12
|
+
return f;
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
const i = _(), d = l(), n = process.env.__NEXT_ROUTER_BASEPATH || "";
|
|
16
|
+
function f(r, o) {
|
|
17
|
+
return (0, d.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH && !o ? r : (0, i.addPathPrefix)(r, n));
|
|
18
|
+
}
|
|
19
|
+
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), u.exports = e.default);
|
|
20
|
+
}(a, a.exports), a.exports);
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
h as __require
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("../../../../_virtual/add-locale.cjs"),c=require("./normalize-trailing-slash.cjs"),f=require("../shared/lib/router/utils/add-locale.cjs");var l;function _(){return l||(l=1,function(d,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addLocale",{enumerable:!0,get:function(){return i}});const o=c.__require(),i=function(a){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return process.env.__NEXT_I18N_SUPPORT?(0,o.normalizePathTrailingSlash)(f.__require().addLocale(a,...n)):a};(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),d.exports=e.default)}(u.__module,u.__module.exports)),u.__module.exports}exports.__require=_;
|
|
@@ -1 +1,25 @@
|
|
|
1
|
-
|
|
1
|
+
import { __module as a } from "../../../../_virtual/add-locale.js";
|
|
2
|
+
import { __require as f } from "./normalize-trailing-slash.js";
|
|
3
|
+
import { __require as c } from "../shared/lib/router/utils/add-locale.js";
|
|
4
|
+
var i;
|
|
5
|
+
function g() {
|
|
6
|
+
return i ? a.exports : (i = 1, function(o, e) {
|
|
7
|
+
Object.defineProperty(e, "__esModule", {
|
|
8
|
+
value: !0
|
|
9
|
+
}), Object.defineProperty(e, "addLocale", {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: function() {
|
|
12
|
+
return l;
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
const d = f(), l = function(t) {
|
|
16
|
+
for (var u = arguments.length, n = new Array(u > 1 ? u - 1 : 0), r = 1; r < u; r++)
|
|
17
|
+
n[r - 1] = arguments[r];
|
|
18
|
+
return process.env.__NEXT_I18N_SUPPORT ? (0, d.normalizePathTrailingSlash)(c().addLocale(t, ...n)) : t;
|
|
19
|
+
};
|
|
20
|
+
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), o.exports = e.default);
|
|
21
|
+
}(a, a.exports), a.exports);
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
g as __require
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../../_virtual/app-router-headers.cjs");var o;function P(){return o||(o=1,function(H,E){Object.defineProperty(E,"__esModule",{value:!0});function N(l,u){for(var T in u)Object.defineProperty(l,T,{enumerable:!0,get:u[T]})}N(E,{ACTION_HEADER:function(){return c},FLIGHT_HEADERS:function(){return s},NEXT_DID_POSTPONE_HEADER:function(){return d},NEXT_HMR_REFRESH_HASH_COOKIE:function(){return f},NEXT_HMR_REFRESH_HEADER:function(){return r},NEXT_IS_PRERENDER_HEADER:function(){return a},NEXT_REWRITTEN_PATH_HEADER:function(){return O},NEXT_REWRITTEN_QUERY_HEADER:function(){return X},NEXT_ROUTER_PREFETCH_HEADER:function(){return n},NEXT_ROUTER_SEGMENT_PREFETCH_HEADER:function(){return R},NEXT_ROUTER_STALE_TIME_HEADER:function(){return S},NEXT_ROUTER_STATE_TREE_HEADER:function(){return _},NEXT_RSC_UNION_QUERY:function(){return D},NEXT_URL:function(){return i},RSC_CONTENT_TYPE_HEADER:function(){return A},RSC_HEADER:function(){return t}});const t="RSC",c="Next-Action",_="Next-Router-State-Tree",n="Next-Router-Prefetch",R="Next-Router-Segment-Prefetch",r="Next-HMR-Refresh",f="__next_hmr_refresh_hash__",i="Next-Url",A="text/x-component",s=[t,_,n,r,R],D="_rsc",S="x-nextjs-stale-time",d="x-nextjs-postponed",O="x-nextjs-rewritten-path",X="x-nextjs-rewritten-query",a="x-nextjs-prerender";(typeof E.default=="function"||typeof E.default=="object"&&E.default!==null)&&typeof E.default.__esModule>"u"&&(Object.defineProperty(E.default,"__esModule",{value:!0}),Object.assign(E.default,E),H.exports=E.default)}(e.__module,e.__module.exports)),e.__module.exports}exports.__require=P;
|
|
@@ -1 +1,76 @@
|
|
|
1
|
-
|
|
1
|
+
import { __module as e } from "../../../../../_virtual/app-router-headers.js";
|
|
2
|
+
var o;
|
|
3
|
+
function C() {
|
|
4
|
+
return o ? e.exports : (o = 1, function(H, E) {
|
|
5
|
+
Object.defineProperty(E, "__esModule", {
|
|
6
|
+
value: !0
|
|
7
|
+
});
|
|
8
|
+
function N(P, T) {
|
|
9
|
+
for (var u in T) Object.defineProperty(P, u, {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: T[u]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
N(E, {
|
|
15
|
+
ACTION_HEADER: function() {
|
|
16
|
+
return c;
|
|
17
|
+
},
|
|
18
|
+
FLIGHT_HEADERS: function() {
|
|
19
|
+
return s;
|
|
20
|
+
},
|
|
21
|
+
NEXT_DID_POSTPONE_HEADER: function() {
|
|
22
|
+
return O;
|
|
23
|
+
},
|
|
24
|
+
NEXT_HMR_REFRESH_HASH_COOKIE: function() {
|
|
25
|
+
return f;
|
|
26
|
+
},
|
|
27
|
+
NEXT_HMR_REFRESH_HEADER: function() {
|
|
28
|
+
return r;
|
|
29
|
+
},
|
|
30
|
+
NEXT_IS_PRERENDER_HEADER: function() {
|
|
31
|
+
return d;
|
|
32
|
+
},
|
|
33
|
+
NEXT_REWRITTEN_PATH_HEADER: function() {
|
|
34
|
+
return X;
|
|
35
|
+
},
|
|
36
|
+
NEXT_REWRITTEN_QUERY_HEADER: function() {
|
|
37
|
+
return a;
|
|
38
|
+
},
|
|
39
|
+
NEXT_ROUTER_PREFETCH_HEADER: function() {
|
|
40
|
+
return n;
|
|
41
|
+
},
|
|
42
|
+
NEXT_ROUTER_SEGMENT_PREFETCH_HEADER: function() {
|
|
43
|
+
return R;
|
|
44
|
+
},
|
|
45
|
+
NEXT_ROUTER_STALE_TIME_HEADER: function() {
|
|
46
|
+
return S;
|
|
47
|
+
},
|
|
48
|
+
NEXT_ROUTER_STATE_TREE_HEADER: function() {
|
|
49
|
+
return _;
|
|
50
|
+
},
|
|
51
|
+
NEXT_RSC_UNION_QUERY: function() {
|
|
52
|
+
return D;
|
|
53
|
+
},
|
|
54
|
+
NEXT_URL: function() {
|
|
55
|
+
return A;
|
|
56
|
+
},
|
|
57
|
+
RSC_CONTENT_TYPE_HEADER: function() {
|
|
58
|
+
return i;
|
|
59
|
+
},
|
|
60
|
+
RSC_HEADER: function() {
|
|
61
|
+
return t;
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
const t = "RSC", c = "Next-Action", _ = "Next-Router-State-Tree", n = "Next-Router-Prefetch", R = "Next-Router-Segment-Prefetch", r = "Next-HMR-Refresh", f = "__next_hmr_refresh_hash__", A = "Next-Url", i = "text/x-component", s = [
|
|
65
|
+
t,
|
|
66
|
+
_,
|
|
67
|
+
n,
|
|
68
|
+
r,
|
|
69
|
+
R
|
|
70
|
+
], D = "_rsc", S = "x-nextjs-stale-time", O = "x-nextjs-postponed", X = "x-nextjs-rewritten-path", a = "x-nextjs-rewritten-query", d = "x-nextjs-prerender";
|
|
71
|
+
(typeof E.default == "function" || typeof E.default == "object" && E.default !== null) && typeof E.default.__esModule > "u" && (Object.defineProperty(E.default, "__esModule", { value: !0 }), Object.assign(E.default, E), H.exports = E.default);
|
|
72
|
+
}(e, e.exports), e.exports);
|
|
73
|
+
}
|
|
74
|
+
export {
|
|
75
|
+
C as __require
|
|
76
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../../../_virtual/bailout-to-client-rendering.cjs"),d=require("../../shared/lib/lazy-dynamic/bailout-to-csr.cjs"),f=require("../../server/app-render/work-async-storage.external.cjs");var n;function c(){return n||(n=1,function(o,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"bailoutToClientRendering",{enumerable:!0,get:function(){return l}});const u=d.__require(),i=f.__require();function l(a){const t=i.workAsyncStorage.getStore();if(!t?.forceStatic&&t?.isStaticGeneration)throw Object.defineProperty(new u.BailoutToCSRError(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),o.exports=e.default)}(r.__module,r.__module.exports)),r.__module.exports}exports.__require=c;
|
|
@@ -1 +1,30 @@
|
|
|
1
|
-
|
|
1
|
+
import { __module as r } from "../../../../../_virtual/bailout-to-client-rendering.js";
|
|
2
|
+
import { __require as f } from "../../shared/lib/lazy-dynamic/bailout-to-csr.js";
|
|
3
|
+
import { __require as d } from "../../server/app-render/work-async-storage.external.js";
|
|
4
|
+
var o;
|
|
5
|
+
function b() {
|
|
6
|
+
return o ? r.exports : (o = 1, function(n, e) {
|
|
7
|
+
Object.defineProperty(e, "__esModule", {
|
|
8
|
+
value: !0
|
|
9
|
+
}), Object.defineProperty(e, "bailoutToClientRendering", {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: function() {
|
|
12
|
+
return l;
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
const i = f(), u = d();
|
|
16
|
+
function l(a) {
|
|
17
|
+
const t = u.workAsyncStorage.getStore();
|
|
18
|
+
if (!t?.forceStatic && t?.isStaticGeneration)
|
|
19
|
+
throw Object.defineProperty(new i.BailoutToCSRError(a), "__NEXT_ERROR_CODE", {
|
|
20
|
+
value: "E394",
|
|
21
|
+
enumerable: !1,
|
|
22
|
+
configurable: !0
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), n.exports = e.default);
|
|
26
|
+
}(r, r.exports), r.exports);
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
b as __require
|
|
30
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../../../_virtual/forbidden.cjs"),d=require("./http-access-fallback/http-access-fallback.cjs");var u;function a(){return u||(u=1,function(l,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"forbidden",{enumerable:!0,get:function(){return o}});const t=""+d.__require().HTTP_ERROR_FALLBACK_ERROR_CODE+";403";function o(){if(!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS)throw Object.defineProperty(new Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0});const n=Object.defineProperty(new Error(t),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw n.digest=t,n}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),l.exports=e.default)}(r.__module,r.__module.exports)),r.__module.exports}exports.__require=a;
|