boreal-ui 0.0.50 → 0.0.54
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/core/{Card-YD4BgNEU.js → Card-BjLC4t0w.js} +20 -47
- package/dist/core/Card-BjLC4t0w.js.map +1 -0
- package/dist/core/{Card-C57chjAP.cjs → Card-DRM65kM-.cjs} +20 -47
- package/dist/core/Card-DRM65kM-.cjs.map +1 -0
- package/dist/core/Card.cjs.js +1 -1
- package/dist/core/Card.js +1 -1
- package/dist/core/{FileUpload-C0eHx1h8.js → FileUpload-9fIxslAo.js} +2 -2
- package/dist/core/{FileUpload-C0eHx1h8.js.map → FileUpload-9fIxslAo.js.map} +1 -1
- package/dist/core/{FileUpload-BJ3RJxT3.cjs → FileUpload-DbMxpH-U.cjs} +2 -2
- package/dist/core/{FileUpload-BJ3RJxT3.cjs.map → FileUpload-DbMxpH-U.cjs.map} +1 -1
- package/dist/core/FileUpload.cjs.js +1 -1
- package/dist/core/FileUpload.js +1 -1
- package/dist/core/{MessagePopup-B3lEfar7.js → MessagePopup-BMGIVKoJ.js} +4 -4
- package/dist/core/{MessagePopup-B3lEfar7.js.map → MessagePopup-BMGIVKoJ.js.map} +1 -1
- package/dist/core/{MessagePopup-CtdpuRFv.cjs → MessagePopup-DQQKRCGF.cjs} +4 -4
- package/dist/core/{MessagePopup-CtdpuRFv.cjs.map → MessagePopup-DQQKRCGF.cjs.map} +1 -1
- package/dist/core/MessagePopup.cjs.js +4 -0
- package/dist/core/MessagePopup.cjs.js.map +1 -0
- package/dist/core/MessagePopup.js +5 -0
- package/dist/core/MessagePopup.js.map +1 -0
- package/dist/core/{ProgressBar-DaA5vvnq.js → ProgressBar-BLcSyVgQ.js} +51 -21
- package/dist/core/ProgressBar-BLcSyVgQ.js.map +1 -0
- package/dist/core/{ProgressBar-BwjYOqoE.cjs → ProgressBar-BbIZLV1t.cjs} +50 -20
- package/dist/core/ProgressBar-BbIZLV1t.cjs.map +1 -0
- package/dist/core/ProgressBar.cjs.js +1 -1
- package/dist/core/ProgressBar.js +1 -1
- package/dist/core/{Taginput-BXCxdLf0.cjs → TagInput-BXCxdLf0.cjs} +1 -1
- package/dist/core/TagInput-BXCxdLf0.cjs.map +1 -0
- package/dist/core/{Taginput-CoxxwLXg.js → TagInput-CoxxwLXg.js} +1 -1
- package/dist/core/TagInput-CoxxwLXg.js.map +1 -0
- package/dist/core/TagInput.cjs.js +2 -2
- package/dist/core/TagInput.js +1 -1
- package/dist/core/boreal-ui.css +31 -0
- package/dist/core/index.cjs.js +7 -7
- package/dist/core/index.js +6 -6
- package/dist/next/{Avatar-B-Ws4Ueo.js → Avatar-B24bFFqY.js} +3 -3
- package/dist/next/{Avatar-B-Ws4Ueo.js.map → Avatar-B24bFFqY.js.map} +1 -1
- package/dist/next/{Avatar-B9sMyRWr.cjs → Avatar-CPaxiA0r.cjs} +3 -3
- package/dist/next/{Avatar-B9sMyRWr.cjs.map → Avatar-CPaxiA0r.cjs.map} +1 -1
- package/dist/next/Avatar.cjs.js +1 -1
- package/dist/next/Avatar.js +1 -1
- package/dist/next/{Breadcrumbs-CrKRsQf3.cjs → Breadcrumbs-BlFi63K8.cjs} +3 -3
- package/dist/next/{Breadcrumbs-CrKRsQf3.cjs.map → Breadcrumbs-BlFi63K8.cjs.map} +1 -1
- package/dist/next/{Breadcrumbs-ZK64MIGd.js → Breadcrumbs-D9BMYEZi.js} +3 -3
- package/dist/next/{Breadcrumbs-ZK64MIGd.js.map → Breadcrumbs-D9BMYEZi.js.map} +1 -1
- package/dist/next/Breadcrumbs.cjs.js +1 -1
- package/dist/next/Breadcrumbs.js +1 -1
- package/dist/next/{Button-BI0LErYM.cjs → Button-DPoX7ahh.cjs} +2 -2
- package/dist/next/{Button-BI0LErYM.cjs.map → Button-DPoX7ahh.cjs.map} +1 -1
- package/dist/next/{Button-qs4m4zx0.js → Button-DhH3Gy0J.js} +2 -2
- package/dist/next/{Button-qs4m4zx0.js.map → Button-DhH3Gy0J.js.map} +1 -1
- package/dist/next/Button.cjs.js +1 -1
- package/dist/next/Button.js +1 -1
- package/dist/next/{Card-CNwE1Mkt.js → Card-4SKxHmOQ.js} +23 -50
- package/dist/next/Card-4SKxHmOQ.js.map +1 -0
- package/dist/next/{Card-CddrG8Xx.cjs → Card-BdzmlYGf.cjs} +23 -50
- package/dist/next/Card-BdzmlYGf.cjs.map +1 -0
- package/dist/next/Card.cjs.js +1 -1
- package/dist/next/Card.js +1 -1
- package/dist/next/{Chip-D2mvW5L7.js → Chip-BqMZEDW_.js} +2 -2
- package/dist/next/{Chip-D2mvW5L7.js.map → Chip-BqMZEDW_.js.map} +1 -1
- package/dist/next/{Chip-BWTBVAIE.cjs → Chip-CqvlZI-K.cjs} +2 -2
- package/dist/next/{Chip-BWTBVAIE.cjs.map → Chip-CqvlZI-K.cjs.map} +1 -1
- package/dist/next/Chip.cjs.js +1 -1
- package/dist/next/Chip.js +1 -1
- package/dist/next/{CommandPalette-BO6R9zQs.cjs → CommandPalette-C0NN-NWE.cjs} +2 -2
- package/dist/next/{CommandPalette-BO6R9zQs.cjs.map → CommandPalette-C0NN-NWE.cjs.map} +1 -1
- package/dist/next/{CommandPalette-CN0BiN0R.js → CommandPalette-vklqlRV0.js} +2 -2
- package/dist/next/{CommandPalette-CN0BiN0R.js.map → CommandPalette-vklqlRV0.js.map} +1 -1
- package/dist/next/CommandPalette.cjs.js +1 -1
- package/dist/next/CommandPalette.js +1 -1
- package/dist/next/{Dropdown-Czc7qKPn.js → Dropdown-BjxT8ivq.js} +2 -2
- package/dist/next/{Dropdown-Czc7qKPn.js.map → Dropdown-BjxT8ivq.js.map} +1 -1
- package/dist/next/{Dropdown-BnuZW883.cjs → Dropdown-IW2Ph6-e.cjs} +2 -2
- package/dist/next/{Dropdown-BnuZW883.cjs.map → Dropdown-IW2Ph6-e.cjs.map} +1 -1
- package/dist/next/Dropdown.cjs.js +1 -1
- package/dist/next/Dropdown.js +1 -1
- package/dist/next/{EmptyState-Bb90F-ej.cjs → EmptyState-BS6-CuHp.cjs} +2 -2
- package/dist/next/{EmptyState-Bb90F-ej.cjs.map → EmptyState-BS6-CuHp.cjs.map} +1 -1
- package/dist/next/{EmptyState-Brd4N36F.js → EmptyState-D_Gcrj_3.js} +2 -2
- package/dist/next/{EmptyState-Brd4N36F.js.map → EmptyState-D_Gcrj_3.js.map} +1 -1
- package/dist/next/EmptyState.cjs.js +1 -1
- package/dist/next/EmptyState.js +1 -1
- package/dist/next/{FileUpload-Drm5_xEx.cjs → FileUpload-Cj99fQhe.cjs} +4 -4
- package/dist/next/{FileUpload-Drm5_xEx.cjs.map → FileUpload-Cj99fQhe.cjs.map} +1 -1
- package/dist/next/{FileUpload-BMMpH1El.js → FileUpload-St2eEaTn.js} +4 -4
- package/dist/next/{FileUpload-BMMpH1El.js.map → FileUpload-St2eEaTn.js.map} +1 -1
- package/dist/next/FileUpload.cjs.js +1 -1
- package/dist/next/FileUpload.js +1 -1
- package/dist/next/{Footer-EF2-ryvY.cjs → Footer-B3KTDWBR.cjs} +4 -4
- package/dist/next/{Footer-EF2-ryvY.cjs.map → Footer-B3KTDWBR.cjs.map} +1 -1
- package/dist/next/{Footer-B6_LG958.js → Footer-dtGtOPyR.js} +4 -4
- package/dist/next/{Footer-B6_LG958.js.map → Footer-dtGtOPyR.js.map} +1 -1
- package/dist/next/Footer.cjs.js +1 -1
- package/dist/next/Footer.js +1 -1
- package/dist/next/{IconButton-BTUFKRZt.js → IconButton-Ct3YtlG9.js} +2 -2
- package/dist/next/{IconButton-BTUFKRZt.js.map → IconButton-Ct3YtlG9.js.map} +1 -1
- package/dist/next/{IconButton-2l-_HOMB.cjs → IconButton-aF7cTy19.cjs} +2 -2
- package/dist/next/{IconButton-2l-_HOMB.cjs.map → IconButton-aF7cTy19.cjs.map} +1 -1
- package/dist/next/IconButton.cjs.js +1 -1
- package/dist/next/IconButton.js +1 -1
- package/dist/next/{MessagePopup-WUBGyJ_F.js → MessagePopup-C4n0Qw7n.js} +6 -6
- package/dist/next/{MessagePopup-WUBGyJ_F.js.map → MessagePopup-C4n0Qw7n.js.map} +1 -1
- package/dist/next/{MessagePopup-DsquzWSn.cjs → MessagePopup-CwOeZAAM.cjs} +6 -6
- package/dist/next/{MessagePopup-DsquzWSn.cjs.map → MessagePopup-CwOeZAAM.cjs.map} +1 -1
- package/dist/next/MessagePopup.cjs.js +4 -0
- package/dist/next/MessagePopup.cjs.js.map +1 -0
- package/dist/next/MessagePopup.js +5 -0
- package/dist/next/MessagePopup.js.map +1 -0
- package/dist/next/{Modal-B2ilLCoi.js → Modal-CIzoBs9H.js} +2 -2
- package/dist/next/{Modal-B2ilLCoi.js.map → Modal-CIzoBs9H.js.map} +1 -1
- package/dist/next/{Modal-CVKVAEdd.cjs → Modal-DCNGQN70.cjs} +2 -2
- package/dist/next/{Modal-CVKVAEdd.cjs.map → Modal-DCNGQN70.cjs.map} +1 -1
- package/dist/next/Modal.cjs.js +1 -1
- package/dist/next/Modal.js +1 -1
- package/dist/next/{NavBar-DVEf0iJH.cjs → NavBar-DDu46bCF.cjs} +3 -3
- package/dist/next/{NavBar-DVEf0iJH.cjs.map → NavBar-DDu46bCF.cjs.map} +1 -1
- package/dist/next/{NavBar-CmvgkEZt.js → NavBar-DyI3rKSN.js} +3 -3
- package/dist/next/{NavBar-CmvgkEZt.js.map → NavBar-DyI3rKSN.js.map} +1 -1
- package/dist/next/NavBar.cjs.js +1 -1
- package/dist/next/NavBar.js +1 -1
- package/dist/next/{NotificationCenter-CtM10CVj.js → NotificationCenter-BIuKaeXk.js} +3 -3
- package/dist/next/{NotificationCenter-CtM10CVj.js.map → NotificationCenter-BIuKaeXk.js.map} +1 -1
- package/dist/next/{NotificationCenter-CtL6rozQ.cjs → NotificationCenter-CzdOOnWg.cjs} +3 -3
- package/dist/next/{NotificationCenter-CtL6rozQ.cjs.map → NotificationCenter-CzdOOnWg.cjs.map} +1 -1
- package/dist/next/NotificationCenter.cjs.js +1 -1
- package/dist/next/NotificationCenter.js +1 -1
- package/dist/next/{Pager-Bxxewb8I.cjs → Pager-C6vww_Lf.cjs} +3 -3
- package/dist/next/{Pager-Bxxewb8I.cjs.map → Pager-C6vww_Lf.cjs.map} +1 -1
- package/dist/next/{Pager-D0Mw7o7v.js → Pager-DkXLe3dd.js} +3 -3
- package/dist/next/{Pager-D0Mw7o7v.js.map → Pager-DkXLe3dd.js.map} +1 -1
- package/dist/next/Pager.cjs.js +1 -1
- package/dist/next/Pager.js +1 -1
- package/dist/next/ProgressBar-BM0Rp63R.js +188 -0
- package/dist/next/ProgressBar-BM0Rp63R.js.map +1 -0
- package/dist/next/ProgressBar-CDhjp_gn.cjs +187 -0
- package/dist/next/ProgressBar-CDhjp_gn.cjs.map +1 -0
- package/dist/next/ProgressBar.cjs.js +1 -1
- package/dist/next/ProgressBar.js +1 -1
- package/dist/next/{Sidebar-DajVSn82.cjs → Sidebar-CBC-Gu5d.cjs} +3 -3
- package/dist/next/{Sidebar-DajVSn82.cjs.map → Sidebar-CBC-Gu5d.cjs.map} +1 -1
- package/dist/next/{Sidebar-CJ4VrQIW.js → Sidebar-oJzZMxwu.js} +3 -3
- package/dist/next/{Sidebar-CJ4VrQIW.js.map → Sidebar-oJzZMxwu.js.map} +1 -1
- package/dist/next/Sidebar.cjs.js +1 -1
- package/dist/next/Sidebar.js +1 -1
- package/dist/next/{Stepper-BvA_ZAho.js → Stepper-DBwramgz.js} +2 -2
- package/dist/next/{Stepper-BvA_ZAho.js.map → Stepper-DBwramgz.js.map} +1 -1
- package/dist/next/{Stepper-D6X70Sr6.cjs → Stepper-YQqjSOG0.cjs} +2 -2
- package/dist/next/{Stepper-D6X70Sr6.cjs.map → Stepper-YQqjSOG0.cjs.map} +1 -1
- package/dist/next/Stepper.cjs.js +1 -1
- package/dist/next/Stepper.js +1 -1
- package/dist/next/{TagInput-DfNJiPKh.cjs → TagInput-B38cJqaG.cjs} +3 -3
- package/dist/next/TagInput-B38cJqaG.cjs.map +1 -0
- package/dist/next/{TagInput-DKzxPiwU.js → TagInput-BDbDZ1W8.js} +3 -3
- package/dist/next/TagInput-BDbDZ1W8.js.map +1 -0
- package/dist/next/TagInput.cjs.js +1 -1
- package/dist/next/TagInput.js +1 -1
- package/dist/next/{TextInput-C1TUvbWx.cjs → TextInput-C3cLfd6E.cjs} +2 -2
- package/dist/next/{TextInput-C1TUvbWx.cjs.map → TextInput-C3cLfd6E.cjs.map} +1 -1
- package/dist/next/{TextInput-CyGkgvS3.js → TextInput-D68lumzk.js} +2 -2
- package/dist/next/{TextInput-CyGkgvS3.js.map → TextInput-D68lumzk.js.map} +1 -1
- package/dist/next/TextInput.cjs.js +1 -1
- package/dist/next/TextInput.js +1 -1
- package/dist/next/{Toolbar-PwnuYGDR.cjs → Toolbar-B-APlNjI.cjs} +2 -2
- package/dist/next/{Toolbar-PwnuYGDR.cjs.map → Toolbar-B-APlNjI.cjs.map} +1 -1
- package/dist/next/{Toolbar-wbusnAUV.js → Toolbar-DHyc9uqa.js} +2 -2
- package/dist/next/{Toolbar-wbusnAUV.js.map → Toolbar-DHyc9uqa.js.map} +1 -1
- package/dist/next/Toolbar.cjs.js +1 -1
- package/dist/next/Toolbar.js +1 -1
- package/dist/next/boreal-ui.css +122 -72
- package/dist/next/{image-BBS8QO15.js → image-B9PuwflE.js} +47 -3
- package/dist/next/image-B9PuwflE.js.map +1 -0
- package/dist/next/{image-A4nTeRaX.cjs → image-Bo_vHlt1.cjs} +47 -3
- package/dist/next/image-Bo_vHlt1.cjs.map +1 -0
- package/dist/next/index.cjs.js +23 -23
- package/dist/next/index.js +23 -23
- package/dist/next/{link-lNk_lOdS.cjs → link-B1N-q38H.cjs} +276 -49
- package/dist/next/link-B1N-q38H.cjs.map +1 -0
- package/dist/next/{link-CxWP3aXr.js → link-CyxHztrS.js} +276 -49
- package/dist/next/link-CyxHztrS.js.map +1 -0
- package/dist/next/{navigation-DxXFNXZM.js → navigation-C2hD8Jlk.js} +157 -199
- package/dist/next/navigation-C2hD8Jlk.js.map +1 -0
- package/dist/next/{navigation-CZU71Pmb.cjs → navigation-C3npGZmO.cjs} +157 -199
- package/dist/next/navigation-C3npGZmO.cjs.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/components/Card/Card.types.d.ts +4 -4
- package/dist/types/components/Card/Card.types.d.ts.map +1 -1
- package/dist/types/components/Card/CardBase.d.ts.map +1 -1
- package/dist/types/components/{MessagePopUp → MessagePopup}/MessagePopup.types.d.ts +2 -2
- package/dist/types/components/{MessagePopUp → MessagePopup}/MessagePopup.types.d.ts.map +1 -1
- package/dist/types/components/{MessagePopUp → MessagePopup}/MessagePopupBase.d.ts.map +1 -1
- package/dist/types/components/MessagePopup/core/MessagePopup.d.ts +6 -0
- package/dist/types/components/{MessagePopUp → MessagePopup}/core/MessagePopup.d.ts.map +1 -1
- package/dist/types/components/MessagePopup/next/MessagePopup.d.ts +5 -0
- package/dist/types/components/{MessagePopUp → MessagePopup}/next/MessagePopup.d.ts.map +1 -1
- package/dist/types/components/ProgressBar/ProgressBar.types.d.ts +10 -1
- package/dist/types/components/ProgressBar/ProgressBar.types.d.ts.map +1 -1
- package/dist/types/components/ProgressBar/ProgressBarBase.d.ts.map +1 -1
- package/dist/types/components/ProgressBar/core/ProgressBar.d.ts.map +1 -1
- package/dist/types/components/TagInput/{Taginput.types.d.ts → TagInput.types.d.ts} +1 -1
- package/dist/types/components/TagInput/{Taginput.types.d.ts.map → TagInput.types.d.ts.map} +1 -1
- package/dist/types/components/TagInput/TagInputBase.d.ts +1 -1
- package/dist/types/components/TagInput/core/TagInput.d.ts +6 -0
- package/dist/types/components/TagInput/core/{Taginput.d.ts.map → TagInput.d.ts.map} +1 -1
- package/dist/types/components/TagInput/next/TagInput.d.ts +1 -1
- package/dist/types/index.core.d.ts +2 -2
- package/dist/types/index.next.d.ts +1 -1
- package/dist/types/public.types.d.ts +2 -2
- package/package.json +8 -8
- package/dist/core/Card-C57chjAP.cjs.map +0 -1
- package/dist/core/Card-YD4BgNEU.js.map +0 -1
- package/dist/core/MessagePopUp.cjs.js +0 -4
- package/dist/core/MessagePopUp.cjs.js.map +0 -1
- package/dist/core/MessagePopUp.js +0 -5
- package/dist/core/MessagePopUp.js.map +0 -1
- package/dist/core/ProgressBar-BwjYOqoE.cjs.map +0 -1
- package/dist/core/ProgressBar-DaA5vvnq.js.map +0 -1
- package/dist/core/Taginput-BXCxdLf0.cjs.map +0 -1
- package/dist/core/Taginput-CoxxwLXg.js.map +0 -1
- package/dist/next/Card-CNwE1Mkt.js.map +0 -1
- package/dist/next/Card-CddrG8Xx.cjs.map +0 -1
- package/dist/next/MessagePopUp.cjs.js +0 -4
- package/dist/next/MessagePopUp.cjs.js.map +0 -1
- package/dist/next/MessagePopUp.js +0 -5
- package/dist/next/MessagePopUp.js.map +0 -1
- package/dist/next/ProgressBar-BMuv0kis.cjs +0 -151
- package/dist/next/ProgressBar-BMuv0kis.cjs.map +0 -1
- package/dist/next/ProgressBar-DuaWQouO.js +0 -152
- package/dist/next/ProgressBar-DuaWQouO.js.map +0 -1
- package/dist/next/TagInput-DKzxPiwU.js.map +0 -1
- package/dist/next/TagInput-DfNJiPKh.cjs.map +0 -1
- package/dist/next/image-A4nTeRaX.cjs.map +0 -1
- package/dist/next/image-BBS8QO15.js.map +0 -1
- package/dist/next/link-CxWP3aXr.js.map +0 -1
- package/dist/next/link-lNk_lOdS.cjs.map +0 -1
- package/dist/next/navigation-CZU71Pmb.cjs.map +0 -1
- package/dist/next/navigation-DxXFNXZM.js.map +0 -1
- package/dist/types/components/MessagePopUp/core/MessagePopup.d.ts +0 -6
- package/dist/types/components/MessagePopUp/next/MessagePopup.d.ts +0 -5
- package/dist/types/components/TagInput/core/Taginput.d.ts +0 -6
- /package/dist/types/components/{MessagePopUp → MessagePopup}/MessagePopupBase.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as require_interop_require_default, a as require_interop_require_wildcard, d as requireInvariantError, e as requireSegment } from "./link-
|
|
1
|
+
import { r as require_interop_require_default, a as require_interop_require_wildcard, d as requireInvariantError, e as requireSegment } from "./link-CyxHztrS.js";
|
|
2
2
|
import React from "react";
|
|
3
3
|
var navigation$1 = { exports: {} };
|
|
4
4
|
var appRouterContext_sharedRuntime = {};
|
|
@@ -51,6 +51,52 @@ function requireAppRouterContext_sharedRuntime() {
|
|
|
51
51
|
return appRouterContext_sharedRuntime;
|
|
52
52
|
}
|
|
53
53
|
var hooksClientContext_sharedRuntime = {};
|
|
54
|
+
var readonlyUrlSearchParams = { exports: {} };
|
|
55
|
+
var hasRequiredReadonlyUrlSearchParams;
|
|
56
|
+
function requireReadonlyUrlSearchParams() {
|
|
57
|
+
if (hasRequiredReadonlyUrlSearchParams) return readonlyUrlSearchParams.exports;
|
|
58
|
+
hasRequiredReadonlyUrlSearchParams = 1;
|
|
59
|
+
(function(module, exports$1) {
|
|
60
|
+
Object.defineProperty(exports$1, "__esModule", {
|
|
61
|
+
value: true
|
|
62
|
+
});
|
|
63
|
+
Object.defineProperty(exports$1, "ReadonlyURLSearchParams", {
|
|
64
|
+
enumerable: true,
|
|
65
|
+
get: function() {
|
|
66
|
+
return ReadonlyURLSearchParams;
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
class ReadonlyURLSearchParamsError extends Error {
|
|
70
|
+
constructor() {
|
|
71
|
+
super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams");
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
class ReadonlyURLSearchParams extends URLSearchParams {
|
|
75
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
76
|
+
append() {
|
|
77
|
+
throw new ReadonlyURLSearchParamsError();
|
|
78
|
+
}
|
|
79
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
80
|
+
delete() {
|
|
81
|
+
throw new ReadonlyURLSearchParamsError();
|
|
82
|
+
}
|
|
83
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
84
|
+
set() {
|
|
85
|
+
throw new ReadonlyURLSearchParamsError();
|
|
86
|
+
}
|
|
87
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
88
|
+
sort() {
|
|
89
|
+
throw new ReadonlyURLSearchParamsError();
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
if ((typeof exports$1.default === "function" || typeof exports$1.default === "object" && exports$1.default !== null) && typeof exports$1.default.__esModule === "undefined") {
|
|
93
|
+
Object.defineProperty(exports$1.default, "__esModule", { value: true });
|
|
94
|
+
Object.assign(exports$1.default, exports$1);
|
|
95
|
+
module.exports = exports$1.default;
|
|
96
|
+
}
|
|
97
|
+
})(readonlyUrlSearchParams, readonlyUrlSearchParams.exports);
|
|
98
|
+
return readonlyUrlSearchParams.exports;
|
|
99
|
+
}
|
|
54
100
|
var hasRequiredHooksClientContext_sharedRuntime;
|
|
55
101
|
function requireHooksClientContext_sharedRuntime() {
|
|
56
102
|
if (hasRequiredHooksClientContext_sharedRuntime) return hooksClientContext_sharedRuntime;
|
|
@@ -76,6 +122,9 @@ function requireHooksClientContext_sharedRuntime() {
|
|
|
76
122
|
PathnameContext: function() {
|
|
77
123
|
return PathnameContext;
|
|
78
124
|
},
|
|
125
|
+
ReadonlyURLSearchParams: function() {
|
|
126
|
+
return _readonlyurlsearchparams.ReadonlyURLSearchParams;
|
|
127
|
+
},
|
|
79
128
|
SearchParamsContext: function() {
|
|
80
129
|
return SearchParamsContext;
|
|
81
130
|
},
|
|
@@ -84,6 +133,7 @@ function requireHooksClientContext_sharedRuntime() {
|
|
|
84
133
|
}
|
|
85
134
|
});
|
|
86
135
|
const _react = React;
|
|
136
|
+
const _readonlyurlsearchparams = requireReadonlyUrlSearchParams();
|
|
87
137
|
const SearchParamsContext = (0, _react.createContext)(null);
|
|
88
138
|
const PathnameContext = (0, _react.createContext)(null);
|
|
89
139
|
const PathParamsContext = (0, _react.createContext)(null);
|
|
@@ -104,52 +154,6 @@ function requireHooksClientContext_sharedRuntime() {
|
|
|
104
154
|
})(hooksClientContext_sharedRuntime);
|
|
105
155
|
return hooksClientContext_sharedRuntime;
|
|
106
156
|
}
|
|
107
|
-
var readonlyUrlSearchParams = { exports: {} };
|
|
108
|
-
var hasRequiredReadonlyUrlSearchParams;
|
|
109
|
-
function requireReadonlyUrlSearchParams() {
|
|
110
|
-
if (hasRequiredReadonlyUrlSearchParams) return readonlyUrlSearchParams.exports;
|
|
111
|
-
hasRequiredReadonlyUrlSearchParams = 1;
|
|
112
|
-
(function(module, exports$1) {
|
|
113
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
114
|
-
value: true
|
|
115
|
-
});
|
|
116
|
-
Object.defineProperty(exports$1, "ReadonlyURLSearchParams", {
|
|
117
|
-
enumerable: true,
|
|
118
|
-
get: function() {
|
|
119
|
-
return ReadonlyURLSearchParams;
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
|
-
class ReadonlyURLSearchParamsError extends Error {
|
|
123
|
-
constructor() {
|
|
124
|
-
super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams");
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
class ReadonlyURLSearchParams extends URLSearchParams {
|
|
128
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
129
|
-
append() {
|
|
130
|
-
throw new ReadonlyURLSearchParamsError();
|
|
131
|
-
}
|
|
132
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
133
|
-
delete() {
|
|
134
|
-
throw new ReadonlyURLSearchParamsError();
|
|
135
|
-
}
|
|
136
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
137
|
-
set() {
|
|
138
|
-
throw new ReadonlyURLSearchParamsError();
|
|
139
|
-
}
|
|
140
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
141
|
-
sort() {
|
|
142
|
-
throw new ReadonlyURLSearchParamsError();
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
if ((typeof exports$1.default === "function" || typeof exports$1.default === "object" && exports$1.default !== null) && typeof exports$1.default.__esModule === "undefined") {
|
|
146
|
-
Object.defineProperty(exports$1.default, "__esModule", { value: true });
|
|
147
|
-
Object.assign(exports$1.default, exports$1);
|
|
148
|
-
module.exports = exports$1.default;
|
|
149
|
-
}
|
|
150
|
-
})(readonlyUrlSearchParams, readonlyUrlSearchParams.exports);
|
|
151
|
-
return readonlyUrlSearchParams.exports;
|
|
152
|
-
}
|
|
153
157
|
var serverInsertedHtml_sharedRuntime = {};
|
|
154
158
|
var hasRequiredServerInsertedHtml_sharedRuntime;
|
|
155
159
|
function requireServerInsertedHtml_sharedRuntime() {
|
|
@@ -999,6 +1003,9 @@ function requireAppRouterHeaders() {
|
|
|
999
1003
|
NEXT_ACTION_NOT_FOUND_HEADER: function() {
|
|
1000
1004
|
return NEXT_ACTION_NOT_FOUND_HEADER;
|
|
1001
1005
|
},
|
|
1006
|
+
NEXT_ACTION_REVALIDATED_HEADER: function() {
|
|
1007
|
+
return NEXT_ACTION_REVALIDATED_HEADER;
|
|
1008
|
+
},
|
|
1002
1009
|
NEXT_DID_POSTPONE_HEADER: function() {
|
|
1003
1010
|
return NEXT_DID_POSTPONE_HEADER;
|
|
1004
1011
|
},
|
|
@@ -1073,6 +1080,7 @@ function requireAppRouterHeaders() {
|
|
|
1073
1080
|
const NEXT_ACTION_NOT_FOUND_HEADER = "x-nextjs-action-not-found";
|
|
1074
1081
|
const NEXT_REQUEST_ID_HEADER = "x-nextjs-request-id";
|
|
1075
1082
|
const NEXT_HTML_REQUEST_ID_HEADER = "x-nextjs-html-request-id";
|
|
1083
|
+
const NEXT_ACTION_REVALIDATED_HEADER = "x-action-revalidated";
|
|
1076
1084
|
if ((typeof exports$1.default === "function" || typeof exports$1.default === "object" && exports$1.default !== null) && typeof exports$1.default.__esModule === "undefined") {
|
|
1077
1085
|
Object.defineProperty(exports$1.default, "__esModule", { value: true });
|
|
1078
1086
|
Object.assign(exports$1.default, exports$1);
|
|
@@ -1414,145 +1422,6 @@ function requireScheduler() {
|
|
|
1414
1422
|
})(scheduler);
|
|
1415
1423
|
return scheduler;
|
|
1416
1424
|
}
|
|
1417
|
-
var stagedRendering = {};
|
|
1418
|
-
var promiseWithResolvers = {};
|
|
1419
|
-
var hasRequiredPromiseWithResolvers;
|
|
1420
|
-
function requirePromiseWithResolvers() {
|
|
1421
|
-
if (hasRequiredPromiseWithResolvers) return promiseWithResolvers;
|
|
1422
|
-
hasRequiredPromiseWithResolvers = 1;
|
|
1423
|
-
(function(exports$1) {
|
|
1424
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
1425
|
-
value: true
|
|
1426
|
-
});
|
|
1427
|
-
Object.defineProperty(exports$1, "createPromiseWithResolvers", {
|
|
1428
|
-
enumerable: true,
|
|
1429
|
-
get: function() {
|
|
1430
|
-
return createPromiseWithResolvers;
|
|
1431
|
-
}
|
|
1432
|
-
});
|
|
1433
|
-
function createPromiseWithResolvers() {
|
|
1434
|
-
let resolve;
|
|
1435
|
-
let reject;
|
|
1436
|
-
const promise = new Promise((res, rej) => {
|
|
1437
|
-
resolve = res;
|
|
1438
|
-
reject = rej;
|
|
1439
|
-
});
|
|
1440
|
-
return {
|
|
1441
|
-
resolve,
|
|
1442
|
-
reject,
|
|
1443
|
-
promise
|
|
1444
|
-
};
|
|
1445
|
-
}
|
|
1446
|
-
})(promiseWithResolvers);
|
|
1447
|
-
return promiseWithResolvers;
|
|
1448
|
-
}
|
|
1449
|
-
var hasRequiredStagedRendering;
|
|
1450
|
-
function requireStagedRendering() {
|
|
1451
|
-
if (hasRequiredStagedRendering) return stagedRendering;
|
|
1452
|
-
hasRequiredStagedRendering = 1;
|
|
1453
|
-
(function(exports$1) {
|
|
1454
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
1455
|
-
value: true
|
|
1456
|
-
});
|
|
1457
|
-
function _export(target, all) {
|
|
1458
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
1459
|
-
enumerable: true,
|
|
1460
|
-
get: all[name]
|
|
1461
|
-
});
|
|
1462
|
-
}
|
|
1463
|
-
_export(exports$1, {
|
|
1464
|
-
RenderStage: function() {
|
|
1465
|
-
return RenderStage;
|
|
1466
|
-
},
|
|
1467
|
-
StagedRenderingController: function() {
|
|
1468
|
-
return StagedRenderingController;
|
|
1469
|
-
}
|
|
1470
|
-
});
|
|
1471
|
-
const _invarianterror = requireInvariantError();
|
|
1472
|
-
const _promisewithresolvers = requirePromiseWithResolvers();
|
|
1473
|
-
var RenderStage = /* @__PURE__ */ (function(RenderStage2) {
|
|
1474
|
-
RenderStage2[RenderStage2["Static"] = 1] = "Static";
|
|
1475
|
-
RenderStage2[RenderStage2["Runtime"] = 2] = "Runtime";
|
|
1476
|
-
RenderStage2[RenderStage2["Dynamic"] = 3] = "Dynamic";
|
|
1477
|
-
return RenderStage2;
|
|
1478
|
-
})({});
|
|
1479
|
-
class StagedRenderingController {
|
|
1480
|
-
constructor(abortSignal = null) {
|
|
1481
|
-
this.abortSignal = abortSignal;
|
|
1482
|
-
this.currentStage = 1;
|
|
1483
|
-
this.runtimeStagePromise = (0, _promisewithresolvers.createPromiseWithResolvers)();
|
|
1484
|
-
this.dynamicStagePromise = (0, _promisewithresolvers.createPromiseWithResolvers)();
|
|
1485
|
-
if (abortSignal) {
|
|
1486
|
-
abortSignal.addEventListener("abort", () => {
|
|
1487
|
-
const { reason } = abortSignal;
|
|
1488
|
-
if (this.currentStage < 2) {
|
|
1489
|
-
this.runtimeStagePromise.promise.catch(ignoreReject);
|
|
1490
|
-
this.runtimeStagePromise.reject(reason);
|
|
1491
|
-
}
|
|
1492
|
-
if (this.currentStage < 3) {
|
|
1493
|
-
this.dynamicStagePromise.promise.catch(ignoreReject);
|
|
1494
|
-
this.dynamicStagePromise.reject(reason);
|
|
1495
|
-
}
|
|
1496
|
-
}, {
|
|
1497
|
-
once: true
|
|
1498
|
-
});
|
|
1499
|
-
}
|
|
1500
|
-
}
|
|
1501
|
-
advanceStage(stage) {
|
|
1502
|
-
if (this.currentStage >= stage) {
|
|
1503
|
-
return;
|
|
1504
|
-
}
|
|
1505
|
-
this.currentStage = stage;
|
|
1506
|
-
if (stage >= 2) {
|
|
1507
|
-
this.runtimeStagePromise.resolve();
|
|
1508
|
-
}
|
|
1509
|
-
if (stage >= 3) {
|
|
1510
|
-
this.dynamicStagePromise.resolve();
|
|
1511
|
-
}
|
|
1512
|
-
}
|
|
1513
|
-
getStagePromise(stage) {
|
|
1514
|
-
switch (stage) {
|
|
1515
|
-
case 2: {
|
|
1516
|
-
return this.runtimeStagePromise.promise;
|
|
1517
|
-
}
|
|
1518
|
-
case 3: {
|
|
1519
|
-
return this.dynamicStagePromise.promise;
|
|
1520
|
-
}
|
|
1521
|
-
default: {
|
|
1522
|
-
throw Object.defineProperty(new _invarianterror.InvariantError(`Invalid render stage: ${stage}`), "__NEXT_ERROR_CODE", {
|
|
1523
|
-
value: "E881",
|
|
1524
|
-
enumerable: false,
|
|
1525
|
-
configurable: true
|
|
1526
|
-
});
|
|
1527
|
-
}
|
|
1528
|
-
}
|
|
1529
|
-
}
|
|
1530
|
-
waitForStage(stage) {
|
|
1531
|
-
return this.getStagePromise(stage);
|
|
1532
|
-
}
|
|
1533
|
-
delayUntilStage(stage, displayName, resolvedValue) {
|
|
1534
|
-
const ioTriggerPromise = this.getStagePromise(stage);
|
|
1535
|
-
const promise = makeDevtoolsIOPromiseFromIOTrigger(ioTriggerPromise, displayName, resolvedValue);
|
|
1536
|
-
if (this.abortSignal) {
|
|
1537
|
-
promise.catch(ignoreReject);
|
|
1538
|
-
}
|
|
1539
|
-
return promise;
|
|
1540
|
-
}
|
|
1541
|
-
}
|
|
1542
|
-
function ignoreReject() {
|
|
1543
|
-
}
|
|
1544
|
-
function makeDevtoolsIOPromiseFromIOTrigger(ioTrigger, displayName, resolvedValue) {
|
|
1545
|
-
const promise = new Promise((resolve, reject) => {
|
|
1546
|
-
ioTrigger.then(resolve.bind(null, resolvedValue), reject);
|
|
1547
|
-
});
|
|
1548
|
-
if (displayName !== void 0) {
|
|
1549
|
-
promise.displayName = displayName;
|
|
1550
|
-
}
|
|
1551
|
-
return promise;
|
|
1552
|
-
}
|
|
1553
|
-
})(stagedRendering);
|
|
1554
|
-
return stagedRendering;
|
|
1555
|
-
}
|
|
1556
1425
|
var hasRequiredDynamicRendering;
|
|
1557
1426
|
function requireDynamicRendering() {
|
|
1558
1427
|
if (hasRequiredDynamicRendering) return dynamicRendering;
|
|
@@ -1610,6 +1479,9 @@ function requireDynamicRendering() {
|
|
|
1610
1479
|
getFirstDynamicReason: function() {
|
|
1611
1480
|
return getFirstDynamicReason;
|
|
1612
1481
|
},
|
|
1482
|
+
getStaticShellDisallowedDynamicReasons: function() {
|
|
1483
|
+
return getStaticShellDisallowedDynamicReasons;
|
|
1484
|
+
},
|
|
1613
1485
|
isDynamicPostpone: function() {
|
|
1614
1486
|
return isDynamicPostpone;
|
|
1615
1487
|
},
|
|
@@ -1637,8 +1509,11 @@ function requireDynamicRendering() {
|
|
|
1637
1509
|
trackDynamicDataInDynamicRender: function() {
|
|
1638
1510
|
return trackDynamicDataInDynamicRender;
|
|
1639
1511
|
},
|
|
1640
|
-
|
|
1641
|
-
return
|
|
1512
|
+
trackDynamicHoleInRuntimeShell: function() {
|
|
1513
|
+
return trackDynamicHoleInRuntimeShell;
|
|
1514
|
+
},
|
|
1515
|
+
trackDynamicHoleInStaticShell: function() {
|
|
1516
|
+
return trackDynamicHoleInStaticShell;
|
|
1642
1517
|
},
|
|
1643
1518
|
useDynamicRouteParams: function() {
|
|
1644
1519
|
return useDynamicRouteParams;
|
|
@@ -1657,7 +1532,6 @@ function requireDynamicRendering() {
|
|
|
1657
1532
|
const _scheduler = requireScheduler();
|
|
1658
1533
|
const _bailouttocsr = requireBailoutToCsr();
|
|
1659
1534
|
const _invarianterror = requireInvariantError();
|
|
1660
|
-
const _stagedrendering = requireStagedRendering();
|
|
1661
1535
|
function _interop_require_default(obj) {
|
|
1662
1536
|
return obj && obj.__esModule ? obj : {
|
|
1663
1537
|
default: obj
|
|
@@ -1675,6 +1549,7 @@ function requireDynamicRendering() {
|
|
|
1675
1549
|
return {
|
|
1676
1550
|
hasSuspenseAboveBody: false,
|
|
1677
1551
|
hasDynamicMetadata: false,
|
|
1552
|
+
dynamicMetadata: null,
|
|
1678
1553
|
hasDynamicViewport: false,
|
|
1679
1554
|
hasAllowedDynamic: false,
|
|
1680
1555
|
dynamicErrors: []
|
|
@@ -1778,11 +1653,6 @@ function requireDynamicRendering() {
|
|
|
1778
1653
|
}
|
|
1779
1654
|
}
|
|
1780
1655
|
}
|
|
1781
|
-
function trackSynchronousPlatformIOAccessInDev(requestStore) {
|
|
1782
|
-
if (requestStore.stagedRendering) {
|
|
1783
|
-
requestStore.stagedRendering.advanceStage(_stagedrendering.RenderStage.Dynamic);
|
|
1784
|
-
}
|
|
1785
|
-
}
|
|
1786
1656
|
function abortAndThrowOnSynchronousRequestDataAccess(route, expression, errorWithStack, prerenderStore) {
|
|
1787
1657
|
const prerenderSignal = prerenderStore.controller.signal;
|
|
1788
1658
|
if (prerenderSignal.aborted === false) {
|
|
@@ -2037,6 +1907,66 @@ ${stack}`;
|
|
|
2037
1907
|
return;
|
|
2038
1908
|
}
|
|
2039
1909
|
}
|
|
1910
|
+
function trackDynamicHoleInRuntimeShell(workStore, componentStack, dynamicValidation, clientDynamic) {
|
|
1911
|
+
if (hasOutletRegex.test(componentStack)) {
|
|
1912
|
+
return;
|
|
1913
|
+
} else if (hasMetadataRegex.test(componentStack)) {
|
|
1914
|
+
const message = `Route "${workStore.route}": Uncached data or \`connection()\` was accessed inside \`generateMetadata\`. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`;
|
|
1915
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
1916
|
+
dynamicValidation.dynamicMetadata = error;
|
|
1917
|
+
return;
|
|
1918
|
+
} else if (hasViewportRegex.test(componentStack)) {
|
|
1919
|
+
const message = `Route "${workStore.route}": Uncached data or \`connection()\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`;
|
|
1920
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
1921
|
+
dynamicValidation.dynamicErrors.push(error);
|
|
1922
|
+
return;
|
|
1923
|
+
} else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) {
|
|
1924
|
+
dynamicValidation.hasAllowedDynamic = true;
|
|
1925
|
+
dynamicValidation.hasSuspenseAboveBody = true;
|
|
1926
|
+
return;
|
|
1927
|
+
} else if (hasSuspenseRegex.test(componentStack)) {
|
|
1928
|
+
dynamicValidation.hasAllowedDynamic = true;
|
|
1929
|
+
return;
|
|
1930
|
+
} else if (clientDynamic.syncDynamicErrorWithStack) {
|
|
1931
|
+
dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack);
|
|
1932
|
+
return;
|
|
1933
|
+
} else {
|
|
1934
|
+
const message = `Route "${workStore.route}": Uncached data or \`connection()\` was accessed outside of \`<Suspense>\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`;
|
|
1935
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
1936
|
+
dynamicValidation.dynamicErrors.push(error);
|
|
1937
|
+
return;
|
|
1938
|
+
}
|
|
1939
|
+
}
|
|
1940
|
+
function trackDynamicHoleInStaticShell(workStore, componentStack, dynamicValidation, clientDynamic) {
|
|
1941
|
+
if (hasOutletRegex.test(componentStack)) {
|
|
1942
|
+
return;
|
|
1943
|
+
} else if (hasMetadataRegex.test(componentStack)) {
|
|
1944
|
+
const message = `Route "${workStore.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateMetadata\` or you have file-based metadata such as icons that depend on dynamic params segments. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`;
|
|
1945
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
1946
|
+
dynamicValidation.dynamicMetadata = error;
|
|
1947
|
+
return;
|
|
1948
|
+
} else if (hasViewportRegex.test(componentStack)) {
|
|
1949
|
+
const message = `Route "${workStore.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`;
|
|
1950
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
1951
|
+
dynamicValidation.dynamicErrors.push(error);
|
|
1952
|
+
return;
|
|
1953
|
+
} else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) {
|
|
1954
|
+
dynamicValidation.hasAllowedDynamic = true;
|
|
1955
|
+
dynamicValidation.hasSuspenseAboveBody = true;
|
|
1956
|
+
return;
|
|
1957
|
+
} else if (hasSuspenseRegex.test(componentStack)) {
|
|
1958
|
+
dynamicValidation.hasAllowedDynamic = true;
|
|
1959
|
+
return;
|
|
1960
|
+
} else if (clientDynamic.syncDynamicErrorWithStack) {
|
|
1961
|
+
dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack);
|
|
1962
|
+
return;
|
|
1963
|
+
} else {
|
|
1964
|
+
const message = `Route "${workStore.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed outside of \`<Suspense>\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`;
|
|
1965
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
1966
|
+
dynamicValidation.dynamicErrors.push(error);
|
|
1967
|
+
return;
|
|
1968
|
+
}
|
|
1969
|
+
}
|
|
2040
1970
|
function createErrorWithComponentOrOwnerStack(message, componentStack) {
|
|
2041
1971
|
const ownerStack = process.env.NODE_ENV !== "production" && _react.default.captureOwnerStack ? _react.default.captureOwnerStack() : null;
|
|
2042
1972
|
const error = Object.defineProperty(new Error(message), "__NEXT_ERROR_CODE", {
|
|
@@ -2044,7 +1974,7 @@ ${stack}`;
|
|
|
2044
1974
|
enumerable: false,
|
|
2045
1975
|
configurable: true
|
|
2046
1976
|
});
|
|
2047
|
-
error.stack = error.name + ": " + message + (ownerStack
|
|
1977
|
+
error.stack = error.name + ": " + message + (ownerStack || componentStack);
|
|
2048
1978
|
return error;
|
|
2049
1979
|
}
|
|
2050
1980
|
var PreludeState = /* @__PURE__ */ (function(PreludeState2) {
|
|
@@ -2096,6 +2026,33 @@ ${stack}`;
|
|
|
2096
2026
|
}
|
|
2097
2027
|
}
|
|
2098
2028
|
}
|
|
2029
|
+
function getStaticShellDisallowedDynamicReasons(workStore, prelude, dynamicValidation) {
|
|
2030
|
+
if (dynamicValidation.hasSuspenseAboveBody) {
|
|
2031
|
+
return [];
|
|
2032
|
+
}
|
|
2033
|
+
if (prelude !== 0) {
|
|
2034
|
+
const dynamicErrors = dynamicValidation.dynamicErrors;
|
|
2035
|
+
if (dynamicErrors.length > 0) {
|
|
2036
|
+
return dynamicErrors;
|
|
2037
|
+
}
|
|
2038
|
+
if (prelude === 1) {
|
|
2039
|
+
return [
|
|
2040
|
+
Object.defineProperty(new _invarianterror.InvariantError(`Route "${workStore.route}" did not produce a static shell and Next.js was unable to determine a reason.`), "__NEXT_ERROR_CODE", {
|
|
2041
|
+
value: "E936",
|
|
2042
|
+
enumerable: false,
|
|
2043
|
+
configurable: true
|
|
2044
|
+
})
|
|
2045
|
+
];
|
|
2046
|
+
}
|
|
2047
|
+
} else {
|
|
2048
|
+
if (dynamicValidation.hasAllowedDynamic === false && dynamicValidation.dynamicErrors.length === 0 && dynamicValidation.dynamicMetadata) {
|
|
2049
|
+
return [
|
|
2050
|
+
dynamicValidation.dynamicMetadata
|
|
2051
|
+
];
|
|
2052
|
+
}
|
|
2053
|
+
}
|
|
2054
|
+
return [];
|
|
2055
|
+
}
|
|
2099
2056
|
function delayUntilRuntimeStage(prerenderStore, result) {
|
|
2100
2057
|
if (prerenderStore.runtimeStagePromise) {
|
|
2101
2058
|
return prerenderStore.runtimeStagePromise.then(() => result);
|
|
@@ -2277,8 +2234,10 @@ function requireNavigation$1() {
|
|
|
2277
2234
|
});
|
|
2278
2235
|
}
|
|
2279
2236
|
_export(exports$1, {
|
|
2237
|
+
// We need the same class that was used to instantiate the context value
|
|
2238
|
+
// Otherwise instanceof checks will fail in usercode
|
|
2280
2239
|
ReadonlyURLSearchParams: function() {
|
|
2281
|
-
return
|
|
2240
|
+
return _hooksclientcontextsharedruntime.ReadonlyURLSearchParams;
|
|
2282
2241
|
},
|
|
2283
2242
|
RedirectType: function() {
|
|
2284
2243
|
return _navigationreactserver.RedirectType;
|
|
@@ -2334,7 +2293,6 @@ function requireNavigation$1() {
|
|
|
2334
2293
|
const _approutercontextsharedruntime = requireAppRouterContext_sharedRuntime();
|
|
2335
2294
|
const _hooksclientcontextsharedruntime = requireHooksClientContext_sharedRuntime();
|
|
2336
2295
|
const _segment = requireSegment();
|
|
2337
|
-
const _readonlyurlsearchparams = requireReadonlyUrlSearchParams();
|
|
2338
2296
|
const _serverinsertedhtmlsharedruntime = requireServerInsertedHtml_sharedRuntime();
|
|
2339
2297
|
const _unrecognizedactionerror = requireUnrecognizedActionError();
|
|
2340
2298
|
const _navigationreactserver = requireNavigation_reactServer();
|
|
@@ -2347,7 +2305,7 @@ function requireNavigation$1() {
|
|
|
2347
2305
|
if (!searchParams) {
|
|
2348
2306
|
return null;
|
|
2349
2307
|
}
|
|
2350
|
-
return new
|
|
2308
|
+
return new _hooksclientcontextsharedruntime.ReadonlyURLSearchParams(searchParams);
|
|
2351
2309
|
}, [
|
|
2352
2310
|
searchParams
|
|
2353
2311
|
]);
|
|
@@ -2441,4 +2399,4 @@ var navigationExports = requireNavigation();
|
|
|
2441
2399
|
export {
|
|
2442
2400
|
navigationExports as n
|
|
2443
2401
|
};
|
|
2444
|
-
//# sourceMappingURL=navigation-
|
|
2402
|
+
//# sourceMappingURL=navigation-C2hD8Jlk.js.map
|