/
opt
/
canhelp
/
node_modules
/
next
/
dist
/
client
/
/opt/canhelp/node_modules/next/dist/client
mkdir
upload
Name
Size
Mode
Actions
app-dir/
-
0755
rm
compat/
-
0755
rm
components/
-
0755
rm
dev/
-
0755
rm
legacy/
-
0755
rm
lib/
-
0755
rm
portal/
-
0755
rm
react-client-callbacks/
-
0755
rm
request/
-
0755
rm
tracing/
-
0755
rm
add-base-path.d.ts
79
0644
edit
dl
rm
add-base-path.js
1010
0644
edit
dl
rm
add-base-path.js.map
973
0644
edit
dl
rm
add-locale.d.ts
121
0644
edit
dl
rm
add-locale.js
1052
0644
edit
dl
rm
add-locale.js.map
900
0644
edit
dl
rm
app-bootstrap.d.ts
285
0644
edit
dl
rm
app-bootstrap.js
2771
0644
edit
dl
rm
app-bootstrap.js.map
3967
0644
edit
dl
rm
app-build-id.d.ts
111
0644
edit
dl
rm
app-build-id.js
1767
0644
edit
dl
rm
app-build-id.js.map
1461
0644
edit
dl
rm
app-call-server.d.ts
91
0644
edit
dl
rm
app-call-server.js
1164
0644
edit
dl
rm
app-call-server.js.map
1017
0644
edit
dl
rm
app-find-source-map-url.d.ts
90
0644
edit
dl
rm
app-find-source-map-url.js
1662
0644
edit
dl
rm
app-find-source-map-url.js.map
2092
0644
edit
dl
rm
app-globals.d.ts
45
0644
edit
dl
rm
app-globals.js
708
0644
edit
dl
rm
app-globals.js.map
591
0644
edit
dl
rm
app-index.d.ts
625
0644
edit
dl
rm
app-index.js
11429
0644
edit
dl
rm
app-index.js.map
17063
0644
edit
dl
rm
app-link-gc.d.ts
40
0644
edit
dl
rm
app-link-gc.js
4543
0644
edit
dl
rm
app-link-gc.js.map
5163
0644
edit
dl
rm
app-next-dev.d.ts
24
0644
edit
dl
rm
app-next-dev.js
1214
0644
edit
dl
rm
app-next-dev.js.map
1198
0644
edit
dl
rm
app-next-turbopack.d.ts
11
0644
edit
dl
rm
app-next-turbopack.js
1291
0644
edit
dl
rm
app-next-turbopack.js.map
1659
0644
edit
dl
rm
app-next.d.ts
24
0644
edit
dl
rm
app-next.js
1284
0644
edit
dl
rm
app-next.js.map
1249
0644
edit
dl
rm
app-webpack.d.ts
11
0644
edit
dl
rm
app-webpack.js
3174
0644
edit
dl
rm
app-webpack.js.map
3203
0644
edit
dl
rm
assign-location.d.ts
363
0644
edit
dl
rm
assign-location.js
1259
0644
edit
dl
rm
assign-location.js.map
1549
0644
edit
dl
rm
detect-domain-locale.d.ts
141
0644
edit
dl
rm
detect-domain-locale.js
922
0644
edit
dl
rm
detect-domain-locale.js.map
722
0644
edit
dl
rm
flight-data-helpers.d.ts
1491
0644
edit
dl
rm
flight-data-helpers.js
5439
0644
edit
dl
rm
flight-data-helpers.js.map
8665
0644
edit
dl
rm
form-shared.d.ts
2886
0644
edit
dl
rm
form-shared.js
7132
0644
edit
dl
rm
form-shared.js.map
10762
0644
edit
dl
rm
form.d.ts
489
0644
edit
dl
rm
form.js
5816
0644
edit
dl
rm
form.js.map
8265
0644
edit
dl
rm
get-domain-locale.d.ts
220
0644
edit
dl
rm
get-domain-locale.js
1561
0644
edit
dl
rm
get-domain-locale.js.map
2457
0644
edit
dl
rm
has-base-path.d.ts
60
0644
edit
dl
rm
has-base-path.js
807
0644
edit
dl
rm
has-base-path.js.map
605
0644
edit
dl
rm
head-manager.d.ts
1041
0644
edit
dl
rm
head-manager.js
4981
0644
edit
dl
rm
head-manager.js.map
8342
0644
edit
dl
rm
image-component.d.ts
1337
0644
edit
dl
rm
image-component.js
13961
0644
edit
dl
rm
image-component.js.map
21385
0644
edit
dl
rm
index.d.ts
773
0644
edit
dl
rm
index.js
33440
0644
edit
dl
rm
index.js.map
52576
0644
edit
dl
rm
link.d.ts
5062
0644
edit
dl
rm
link.js
19457
0644
edit
dl
rm
link.js.map
34367
0644
edit
dl
rm
next-dev-turbopack.d.ts
11
0644
edit
dl
rm
next-dev-turbopack.js
1940
0644
edit
dl
rm
next-dev-turbopack.js.map
3002
0644
edit
dl
rm
next-dev.d.ts
20
0644
edit
dl
rm
next-dev.js
1223
0644
edit
dl
rm
next-dev.js.map
1194
0644
edit
dl
rm
next-turbopack.d.ts
48
0644
edit
dl
rm
next-turbopack.js
1460
0644
edit
dl
rm
next-turbopack.js.map
2330
0644
edit
dl
rm
next.d.ts
135
0644
edit
dl
rm
next.js
787
0644
edit
dl
rm
next.js.map
860
0644
edit
dl
rm
normalize-locale-path.d.ts
144
0644
edit
dl
rm
normalize-locale-path.js
883
0644
edit
dl
rm
normalize-locale-path.js.map
883
0644
edit
dl
rm
normalize-trailing-slash.d.ts
190
0644
edit
dl
rm
normalize-trailing-slash.js
1450
0644
edit
dl
rm
normalize-trailing-slash.js.map
1723
0644
edit
dl
rm
page-bootstrap.d.ts
123
0644
edit
dl
rm
page-bootstrap.js
7427
0644
edit
dl
rm
page-bootstrap.js.map
8999
0644
edit
dl
rm
page-loader.d.ts
1370
0644
edit
dl
rm
page-loader.js
7595
0644
edit
dl
rm
page-loader.js.map
12106
0644
edit
dl
rm
remove-base-path.d.ts
62
0644
edit
dl
rm
remove-base-path.js
1080
0644
edit
dl
rm
remove-base-path.js.map
1145
0644
edit
dl
rm
remove-locale.d.ts
77
0644
edit
dl
rm
remove-locale.js
1148
0644
edit
dl
rm
remove-locale.js.map
1308
0644
edit
dl
rm
request-idle-callback.d.ts
265
0644
edit
dl
rm
request-idle-callback.js
1449
0644
edit
dl
rm
request-idle-callback.js.map
1432
0644
edit
dl
rm
resolve-href.d.ts
396
0644
edit
dl
rm
resolve-href.js
5506
0644
edit
dl
rm
resolve-href.js.map
7899
0644
edit
dl
rm
route-announcer.d.ts
115
0644
edit
dl
rm
route-announcer.js
3312
0644
edit
dl
rm
route-announcer.js.map
3553
0644
edit
dl
rm
route-loader.d.ts
1736
0644
edit
dl
rm
route-loader.js
13968
0644
edit
dl
rm
route-loader.js.map
23012
0644
edit
dl
rm
route-params.d.ts
1113
0644
edit
dl
rm
route-params.js
8258
0644
edit
dl
rm
route-params.js.map
10884
0644
edit
dl
rm
router.d.ts
1078
0644
edit
dl
rm
router.js
6716
0644
edit
dl
rm
router.js.map
8823
0644
edit
dl
rm
script.d.ts
923
0644
edit
dl
rm
script.js
14047
0644
edit
dl
rm
script.js.map
18782
0644
edit
dl
rm
set-attributes-from-props.d.ts
86
0644
edit
dl
rm
set-attributes-from-props.js
2367
0644
edit
dl
rm
set-attributes-from-props.js.map
3121
0644
edit
dl
rm
trusted-types.d.ts
544
0644
edit
dl
rm
trusted-types.js
1528
0644
edit
dl
rm
trusted-types.js.map
1957
0644
edit
dl
rm
use-client-disallowed.d.ts
53
0644
edit
dl
rm
use-client-disallowed.js
1006
0644
edit
dl
rm
use-client-disallowed.js.map
753
0644
edit
dl
rm
use-intersection.d.ts
412
0644
edit
dl
rm
use-intersection.js
3845
0644
edit
dl
rm
use-intersection.js.map
6646
0644
edit
dl
rm
use-merged-ref.d.ts
139
0644
edit
dl
rm
use-merged-ref.js
2402
0644
edit
dl
rm
use-merged-ref.js.map
3496
0644
edit
dl
rm
web-vitals.d.ts
156
0644
edit
dl
rm
web-vitals.js
1109
0644
edit
dl
rm
web-vitals.js.map
1008
0644
edit
dl
rm
webpack.d.ts
11
0644
edit
dl
rm
webpack.js
2282
0644
edit
dl
rm
webpack.js.map
2535
0644
edit
dl
rm
with-router.d.ts
505
0644
edit
dl
rm
with-router.js
1458
0644
edit
dl
rm
with-router.js.map
1921
0644
edit
dl
rm
Edit:
/opt/canhelp/node_modules/next/dist/client/link.d.ts
(5062B)
import React from 'react'; import type { UrlObject } from 'url'; type Url = string | UrlObject; type OnNavigateEventHandler = (event: { preventDefault: () => void; }) => void; type InternalLinkProps = { /** * The path or URL to navigate to. It can also be an object. * * @example https://nextjs.org/docs/api-reference/next/link#with-url-object */ href: Url; /** * Optional decorator for the path that will be shown in the browser URL bar. Before Next.js 9.5.3 this was used for dynamic routes, check our [previous docs](https://github.com/vercel/next.js/blob/v9.5.2/docs/api-reference/next/link.md#dynamic-routes) to see how it worked. Note: when this path differs from the one provided in `href` the previous `href`/`as` behavior is used as shown in the [previous docs](https://github.com/vercel/next.js/blob/v9.5.2/docs/api-reference/next/link.md#dynamic-routes). */ as?: Url; /** * Replace the current `history` state instead of adding a new url into the stack. * * @defaultValue `false` */ replace?: boolean; /** * Whether to override the default scroll behavior * * @example https://nextjs.org/docs/api-reference/next/link#disable-scrolling-to-the-top-of-the-page * * @defaultValue `true` */ scroll?: boolean; /** * Update the path of the current page without rerunning [`getStaticProps`](https://nextjs.org/docs/pages/building-your-application/data-fetching/get-static-props), [`getServerSideProps`](https://nextjs.org/docs/pages/building-your-application/data-fetching/get-server-side-props) or [`getInitialProps`](/docs/pages/api-reference/functions/get-initial-props). * * @defaultValue `false` */ shallow?: boolean; /** * Forces `Link` to send the `href` property to its child. * * @defaultValue `false` */ passHref?: boolean; /** * Prefetch the page in the background. * Any `<Link />` that is in the viewport (initially or through scroll) will be prefetched. * Prefetch can be disabled by passing `prefetch={false}`. Prefetching is only enabled in production. * * In App Router: * - "auto", null, undefined (default): For statically generated pages, this will prefetch the full React Server Component data. For dynamic pages, this will prefetch up to the nearest route segment with a [`loading.js`](https://nextjs.org/docs/app/api-reference/file-conventions/loading) file. If there is no loading file, it will not fetch the full tree to avoid fetching too much data. * - `true`: This will prefetch the full React Server Component data for all route segments, regardless of whether they contain a segment with `loading.js`. * - `false`: This will not prefetch any data, even on hover. * * In Pages Router: * - `true` (default): The full route & its data will be prefetched. * - `false`: Prefetching will not happen when entering the viewport, but will still happen on hover. * @defaultValue `true` (pages router) or `null` (app router) */ prefetch?: boolean | 'auto' | null | 'unstable_forceStale'; /** * The active locale is automatically prepended. `locale` allows for providing a different locale. * When `false` `href` has to include the locale as the default behavior is disabled. * Note: This is only available in the Pages Router. */ locale?: string | false; /** * Enable legacy link behavior. * @deprecated This will be removed in v16 * @defaultValue `false` * @see https://github.com/vercel/next.js/commit/489e65ed98544e69b0afd7e0cfc3f9f6c2b803b7 */ legacyBehavior?: boolean; /** * Optional event handler for when the mouse pointer is moved onto Link */ onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement>; /** * Optional event handler for when Link is touched. */ onTouchStart?: React.TouchEventHandler<HTMLAnchorElement>; /** * Optional event handler for when Link is clicked. */ onClick?: React.MouseEventHandler<HTMLAnchorElement>; /** * Optional event handler for when the `<Link>` is navigated. */ onNavigate?: OnNavigateEventHandler; }; export interface LinkProps<RouteInferType = any> extends InternalLinkProps { } /** * A React component that extends the HTML `<a>` element to provide [prefetching](https://nextjs.org/docs/app/building-your-application/routing/linking-and-navigating#2-prefetching) * and client-side navigation between routes. * * It is the primary way to navigate between routes in Next.js. * * Read more: [Next.js docs: `<Link>`](https://nextjs.org/docs/app/api-reference/components/link) */ declare const Link: React.ForwardRefExoticComponent<Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, keyof LinkProps<any>> & LinkProps<any> & { children?: React.ReactNode | undefined; } & React.RefAttributes<HTMLAnchorElement>>; export declare const useLinkStatus: () => { pending: boolean; }; export default Link;
Save
cmd:
run