boreal-ui 0.0.52 → 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/{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 +6 -6
- package/dist/core/index.js +5 -5
- 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-Da7D02Sj.js → Card-4SKxHmOQ.js} +4 -4
- package/dist/next/{Card-Da7D02Sj.js.map → Card-4SKxHmOQ.js.map} +1 -1
- package/dist/next/{Card-C0SorjuI.cjs → Card-BdzmlYGf.cjs} +4 -4
- package/dist/next/{Card-C0SorjuI.cjs.map → Card-BdzmlYGf.cjs.map} +1 -1
- 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/{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/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/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
|
@@ -965,6 +965,9 @@ function requireSegment() {
|
|
|
965
965
|
DEFAULT_SEGMENT_KEY: function() {
|
|
966
966
|
return DEFAULT_SEGMENT_KEY;
|
|
967
967
|
},
|
|
968
|
+
NOT_FOUND_SEGMENT_KEY: function() {
|
|
969
|
+
return NOT_FOUND_SEGMENT_KEY;
|
|
970
|
+
},
|
|
968
971
|
PAGE_SEGMENT_KEY: function() {
|
|
969
972
|
return PAGE_SEGMENT_KEY;
|
|
970
973
|
},
|
|
@@ -1030,6 +1033,7 @@ function requireSegment() {
|
|
|
1030
1033
|
}
|
|
1031
1034
|
const PAGE_SEGMENT_KEY = "__PAGE__";
|
|
1032
1035
|
const DEFAULT_SEGMENT_KEY = "__DEFAULT__";
|
|
1036
|
+
const NOT_FOUND_SEGMENT_KEY = "/_not-found";
|
|
1033
1037
|
})(segment);
|
|
1034
1038
|
return segment;
|
|
1035
1039
|
}
|
|
@@ -1984,9 +1988,6 @@ function requireConstants() {
|
|
|
1984
1988
|
RSC_MOD_REF_PROXY_ALIAS: function() {
|
|
1985
1989
|
return RSC_MOD_REF_PROXY_ALIAS;
|
|
1986
1990
|
},
|
|
1987
|
-
RSC_PREFETCH_SUFFIX: function() {
|
|
1988
|
-
return RSC_PREFETCH_SUFFIX;
|
|
1989
|
-
},
|
|
1990
1991
|
RSC_SEGMENTS_DIR_SUFFIX: function() {
|
|
1991
1992
|
return RSC_SEGMENTS_DIR_SUFFIX;
|
|
1992
1993
|
},
|
|
@@ -2041,7 +2042,6 @@ function requireConstants() {
|
|
|
2041
2042
|
const MATCHED_PATH_HEADER = "x-matched-path";
|
|
2042
2043
|
const PRERENDER_REVALIDATE_HEADER = "x-prerender-revalidate";
|
|
2043
2044
|
const PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER = "x-prerender-revalidate-if-generated";
|
|
2044
|
-
const RSC_PREFETCH_SUFFIX = ".prefetch.rsc";
|
|
2045
2045
|
const RSC_SEGMENTS_DIR_SUFFIX = ".segments";
|
|
2046
2046
|
const RSC_SEGMENT_SUFFIX = ".segment.rsc";
|
|
2047
2047
|
const RSC_SUFFIX = ".rsc";
|
|
@@ -2289,6 +2289,7 @@ function requireParseLoaderTree() {
|
|
|
2289
2289
|
})(parseLoaderTree);
|
|
2290
2290
|
return parseLoaderTree;
|
|
2291
2291
|
}
|
|
2292
|
+
var app = {};
|
|
2292
2293
|
var getSegmentParam = {};
|
|
2293
2294
|
var hasRequiredGetSegmentParam;
|
|
2294
2295
|
function requireGetSegmentParam() {
|
|
@@ -2325,20 +2326,20 @@ function requireGetSegmentParam() {
|
|
|
2325
2326
|
return {
|
|
2326
2327
|
// TODO-APP: Optional catchall does not currently work with parallel routes,
|
|
2327
2328
|
// so for now aren't handling a potential interception marker.
|
|
2328
|
-
|
|
2329
|
-
|
|
2329
|
+
paramType: "optional-catchall",
|
|
2330
|
+
paramName: segment2.slice(5, -2)
|
|
2330
2331
|
};
|
|
2331
2332
|
}
|
|
2332
2333
|
if (segment2.startsWith("[...") && segment2.endsWith("]")) {
|
|
2333
2334
|
return {
|
|
2334
|
-
|
|
2335
|
-
|
|
2335
|
+
paramType: interceptionMarker ? `catchall-intercepted-${interceptionMarker}` : "catchall",
|
|
2336
|
+
paramName: segment2.slice(4, -1)
|
|
2336
2337
|
};
|
|
2337
2338
|
}
|
|
2338
2339
|
if (segment2.startsWith("[") && segment2.endsWith("]")) {
|
|
2339
2340
|
return {
|
|
2340
|
-
|
|
2341
|
-
|
|
2341
|
+
paramType: interceptionMarker ? `dynamic-intercepted-${interceptionMarker}` : "dynamic",
|
|
2342
|
+
paramName: segment2.slice(1, -1)
|
|
2342
2343
|
};
|
|
2343
2344
|
}
|
|
2344
2345
|
return null;
|
|
@@ -2370,6 +2371,251 @@ function requireGetSegmentParam() {
|
|
|
2370
2371
|
})(getSegmentParam);
|
|
2371
2372
|
return getSegmentParam;
|
|
2372
2373
|
}
|
|
2374
|
+
var hasRequiredApp;
|
|
2375
|
+
function requireApp() {
|
|
2376
|
+
if (hasRequiredApp) return app;
|
|
2377
|
+
hasRequiredApp = 1;
|
|
2378
|
+
(function(exports$1) {
|
|
2379
|
+
Object.defineProperty(exports$1, "__esModule", {
|
|
2380
|
+
value: true
|
|
2381
|
+
});
|
|
2382
|
+
function _export(target, all) {
|
|
2383
|
+
for (var name in all) Object.defineProperty(target, name, {
|
|
2384
|
+
enumerable: true,
|
|
2385
|
+
get: all[name]
|
|
2386
|
+
});
|
|
2387
|
+
}
|
|
2388
|
+
_export(exports$1, {
|
|
2389
|
+
isInterceptionAppRoute: function() {
|
|
2390
|
+
return isInterceptionAppRoute;
|
|
2391
|
+
},
|
|
2392
|
+
isNormalizedAppRoute: function() {
|
|
2393
|
+
return isNormalizedAppRoute;
|
|
2394
|
+
},
|
|
2395
|
+
parseAppRoute: function() {
|
|
2396
|
+
return parseAppRoute;
|
|
2397
|
+
},
|
|
2398
|
+
parseAppRouteSegment: function() {
|
|
2399
|
+
return parseAppRouteSegment;
|
|
2400
|
+
}
|
|
2401
|
+
});
|
|
2402
|
+
const _invarianterror = requireInvariantError();
|
|
2403
|
+
const _getsegmentparam = requireGetSegmentParam();
|
|
2404
|
+
const _interceptionroutes = requireInterceptionRoutes();
|
|
2405
|
+
function parseAppRouteSegment(segment2) {
|
|
2406
|
+
if (segment2 === "") {
|
|
2407
|
+
return null;
|
|
2408
|
+
}
|
|
2409
|
+
const interceptionMarker = _interceptionroutes.INTERCEPTION_ROUTE_MARKERS.find((m) => segment2.startsWith(m));
|
|
2410
|
+
const param = (0, _getsegmentparam.getSegmentParam)(segment2);
|
|
2411
|
+
if (param) {
|
|
2412
|
+
return {
|
|
2413
|
+
type: "dynamic",
|
|
2414
|
+
name: segment2,
|
|
2415
|
+
param,
|
|
2416
|
+
interceptionMarker
|
|
2417
|
+
};
|
|
2418
|
+
} else if (segment2.startsWith("(") && segment2.endsWith(")")) {
|
|
2419
|
+
return {
|
|
2420
|
+
type: "route-group",
|
|
2421
|
+
name: segment2,
|
|
2422
|
+
interceptionMarker
|
|
2423
|
+
};
|
|
2424
|
+
} else if (segment2.startsWith("@")) {
|
|
2425
|
+
return {
|
|
2426
|
+
type: "parallel-route",
|
|
2427
|
+
name: segment2,
|
|
2428
|
+
interceptionMarker
|
|
2429
|
+
};
|
|
2430
|
+
} else {
|
|
2431
|
+
return {
|
|
2432
|
+
type: "static",
|
|
2433
|
+
name: segment2,
|
|
2434
|
+
interceptionMarker
|
|
2435
|
+
};
|
|
2436
|
+
}
|
|
2437
|
+
}
|
|
2438
|
+
function isNormalizedAppRoute(route) {
|
|
2439
|
+
return route.normalized;
|
|
2440
|
+
}
|
|
2441
|
+
function isInterceptionAppRoute(route) {
|
|
2442
|
+
return route.interceptionMarker !== void 0 && route.interceptingRoute !== void 0 && route.interceptedRoute !== void 0;
|
|
2443
|
+
}
|
|
2444
|
+
function parseAppRoute(pathname, normalized) {
|
|
2445
|
+
const pathnameSegments = pathname.split("/").filter(Boolean);
|
|
2446
|
+
const segments = [];
|
|
2447
|
+
let interceptionMarker;
|
|
2448
|
+
let interceptingRoute;
|
|
2449
|
+
let interceptedRoute;
|
|
2450
|
+
for (const segment2 of pathnameSegments) {
|
|
2451
|
+
const appSegment = parseAppRouteSegment(segment2);
|
|
2452
|
+
if (!appSegment) {
|
|
2453
|
+
continue;
|
|
2454
|
+
}
|
|
2455
|
+
if (normalized && (appSegment.type === "route-group" || appSegment.type === "parallel-route")) {
|
|
2456
|
+
throw Object.defineProperty(new _invarianterror.InvariantError(`${pathname} is being parsed as a normalized route, but it has a route group or parallel route segment.`), "__NEXT_ERROR_CODE", {
|
|
2457
|
+
value: "E923",
|
|
2458
|
+
enumerable: false,
|
|
2459
|
+
configurable: true
|
|
2460
|
+
});
|
|
2461
|
+
}
|
|
2462
|
+
segments.push(appSegment);
|
|
2463
|
+
if (appSegment.interceptionMarker) {
|
|
2464
|
+
const parts = pathname.split(appSegment.interceptionMarker);
|
|
2465
|
+
if (parts.length !== 2) {
|
|
2466
|
+
throw Object.defineProperty(new Error(`Invalid interception route: ${pathname}`), "__NEXT_ERROR_CODE", {
|
|
2467
|
+
value: "E924",
|
|
2468
|
+
enumerable: false,
|
|
2469
|
+
configurable: true
|
|
2470
|
+
});
|
|
2471
|
+
}
|
|
2472
|
+
interceptingRoute = normalized ? parseAppRoute(parts[0], true) : parseAppRoute(parts[0], false);
|
|
2473
|
+
interceptedRoute = normalized ? parseAppRoute(parts[1], true) : parseAppRoute(parts[1], false);
|
|
2474
|
+
interceptionMarker = appSegment.interceptionMarker;
|
|
2475
|
+
}
|
|
2476
|
+
}
|
|
2477
|
+
const dynamicSegments = segments.filter((segment2) => segment2.type === "dynamic");
|
|
2478
|
+
return {
|
|
2479
|
+
normalized,
|
|
2480
|
+
pathname,
|
|
2481
|
+
segments,
|
|
2482
|
+
dynamicSegments,
|
|
2483
|
+
interceptionMarker,
|
|
2484
|
+
interceptingRoute,
|
|
2485
|
+
interceptedRoute
|
|
2486
|
+
};
|
|
2487
|
+
}
|
|
2488
|
+
})(app);
|
|
2489
|
+
return app;
|
|
2490
|
+
}
|
|
2491
|
+
var resolveParamValue = {};
|
|
2492
|
+
var interceptionPrefixFromParamType = {};
|
|
2493
|
+
var hasRequiredInterceptionPrefixFromParamType;
|
|
2494
|
+
function requireInterceptionPrefixFromParamType() {
|
|
2495
|
+
if (hasRequiredInterceptionPrefixFromParamType) return interceptionPrefixFromParamType;
|
|
2496
|
+
hasRequiredInterceptionPrefixFromParamType = 1;
|
|
2497
|
+
(function(exports$1) {
|
|
2498
|
+
Object.defineProperty(exports$1, "__esModule", {
|
|
2499
|
+
value: true
|
|
2500
|
+
});
|
|
2501
|
+
Object.defineProperty(exports$1, "interceptionPrefixFromParamType", {
|
|
2502
|
+
enumerable: true,
|
|
2503
|
+
get: function() {
|
|
2504
|
+
return interceptionPrefixFromParamType2;
|
|
2505
|
+
}
|
|
2506
|
+
});
|
|
2507
|
+
function interceptionPrefixFromParamType2(paramType) {
|
|
2508
|
+
switch (paramType) {
|
|
2509
|
+
case "catchall-intercepted-(..)(..)":
|
|
2510
|
+
case "dynamic-intercepted-(..)(..)":
|
|
2511
|
+
return "(..)(..)";
|
|
2512
|
+
case "catchall-intercepted-(.)":
|
|
2513
|
+
case "dynamic-intercepted-(.)":
|
|
2514
|
+
return "(.)";
|
|
2515
|
+
case "catchall-intercepted-(..)":
|
|
2516
|
+
case "dynamic-intercepted-(..)":
|
|
2517
|
+
return "(..)";
|
|
2518
|
+
case "catchall-intercepted-(...)":
|
|
2519
|
+
case "dynamic-intercepted-(...)":
|
|
2520
|
+
return "(...)";
|
|
2521
|
+
case "catchall":
|
|
2522
|
+
case "dynamic":
|
|
2523
|
+
case "optional-catchall":
|
|
2524
|
+
default:
|
|
2525
|
+
return null;
|
|
2526
|
+
}
|
|
2527
|
+
}
|
|
2528
|
+
})(interceptionPrefixFromParamType);
|
|
2529
|
+
return interceptionPrefixFromParamType;
|
|
2530
|
+
}
|
|
2531
|
+
var hasRequiredResolveParamValue;
|
|
2532
|
+
function requireResolveParamValue() {
|
|
2533
|
+
if (hasRequiredResolveParamValue) return resolveParamValue;
|
|
2534
|
+
hasRequiredResolveParamValue = 1;
|
|
2535
|
+
(function(exports$1) {
|
|
2536
|
+
Object.defineProperty(exports$1, "__esModule", {
|
|
2537
|
+
value: true
|
|
2538
|
+
});
|
|
2539
|
+
Object.defineProperty(exports$1, "resolveParamValue", {
|
|
2540
|
+
enumerable: true,
|
|
2541
|
+
get: function() {
|
|
2542
|
+
return resolveParamValue2;
|
|
2543
|
+
}
|
|
2544
|
+
});
|
|
2545
|
+
const _invarianterror = requireInvariantError();
|
|
2546
|
+
const _interceptionprefixfromparamtype = requireInterceptionPrefixFromParamType();
|
|
2547
|
+
function getParamValueFromSegment(pathSegment, params, paramType) {
|
|
2548
|
+
if (pathSegment.type === "dynamic") {
|
|
2549
|
+
return params[pathSegment.param.paramName];
|
|
2550
|
+
}
|
|
2551
|
+
const interceptionPrefix = (0, _interceptionprefixfromparamtype.interceptionPrefixFromParamType)(paramType);
|
|
2552
|
+
if (interceptionPrefix === pathSegment.interceptionMarker) {
|
|
2553
|
+
return pathSegment.name.replace(pathSegment.interceptionMarker, "");
|
|
2554
|
+
}
|
|
2555
|
+
return pathSegment.name;
|
|
2556
|
+
}
|
|
2557
|
+
function resolveParamValue2(paramName, paramType, depth, route, params) {
|
|
2558
|
+
switch (paramType) {
|
|
2559
|
+
case "catchall":
|
|
2560
|
+
case "optional-catchall":
|
|
2561
|
+
case "catchall-intercepted-(..)(..)":
|
|
2562
|
+
case "catchall-intercepted-(.)":
|
|
2563
|
+
case "catchall-intercepted-(..)":
|
|
2564
|
+
case "catchall-intercepted-(...)":
|
|
2565
|
+
const processedSegments = [];
|
|
2566
|
+
for (let index = depth; index < route.segments.length; index++) {
|
|
2567
|
+
const pathSegment = route.segments[index];
|
|
2568
|
+
if (pathSegment.type === "static") {
|
|
2569
|
+
let value = pathSegment.name;
|
|
2570
|
+
const interceptionPrefix = (0, _interceptionprefixfromparamtype.interceptionPrefixFromParamType)(paramType);
|
|
2571
|
+
if (interceptionPrefix && index === depth && interceptionPrefix === pathSegment.interceptionMarker) {
|
|
2572
|
+
value = value.replace(pathSegment.interceptionMarker, "");
|
|
2573
|
+
}
|
|
2574
|
+
processedSegments.push(value);
|
|
2575
|
+
} else {
|
|
2576
|
+
if (!params.hasOwnProperty(pathSegment.param.paramName)) {
|
|
2577
|
+
if (pathSegment.param.paramType === "optional-catchall") {
|
|
2578
|
+
break;
|
|
2579
|
+
}
|
|
2580
|
+
return void 0;
|
|
2581
|
+
}
|
|
2582
|
+
const paramValue = params[pathSegment.param.paramName];
|
|
2583
|
+
if (Array.isArray(paramValue)) {
|
|
2584
|
+
processedSegments.push(...paramValue);
|
|
2585
|
+
} else {
|
|
2586
|
+
processedSegments.push(paramValue);
|
|
2587
|
+
}
|
|
2588
|
+
}
|
|
2589
|
+
}
|
|
2590
|
+
if (processedSegments.length > 0) {
|
|
2591
|
+
return processedSegments;
|
|
2592
|
+
} else if (paramType === "optional-catchall") {
|
|
2593
|
+
return void 0;
|
|
2594
|
+
} else {
|
|
2595
|
+
throw Object.defineProperty(new _invarianterror.InvariantError(`Unexpected empty path segments match for a route "${route.pathname}" with param "${paramName}" of type "${paramType}"`), "__NEXT_ERROR_CODE", {
|
|
2596
|
+
value: "E931",
|
|
2597
|
+
enumerable: false,
|
|
2598
|
+
configurable: true
|
|
2599
|
+
});
|
|
2600
|
+
}
|
|
2601
|
+
case "dynamic":
|
|
2602
|
+
case "dynamic-intercepted-(..)(..)":
|
|
2603
|
+
case "dynamic-intercepted-(.)":
|
|
2604
|
+
case "dynamic-intercepted-(..)":
|
|
2605
|
+
case "dynamic-intercepted-(...)":
|
|
2606
|
+
if (depth < route.segments.length) {
|
|
2607
|
+
const pathSegment = route.segments[depth];
|
|
2608
|
+
if (pathSegment.type === "dynamic" && !params.hasOwnProperty(pathSegment.param.paramName)) {
|
|
2609
|
+
return void 0;
|
|
2610
|
+
}
|
|
2611
|
+
return getParamValueFromSegment(pathSegment, params, paramType);
|
|
2612
|
+
}
|
|
2613
|
+
return void 0;
|
|
2614
|
+
}
|
|
2615
|
+
}
|
|
2616
|
+
})(resolveParamValue);
|
|
2617
|
+
return resolveParamValue;
|
|
2618
|
+
}
|
|
2373
2619
|
var hasRequiredGetDynamicParam;
|
|
2374
2620
|
function requireGetDynamicParam() {
|
|
2375
2621
|
if (hasRequiredGetDynamicParam) return getDynamicParam;
|
|
@@ -2403,7 +2649,8 @@ function requireGetDynamicParam() {
|
|
|
2403
2649
|
});
|
|
2404
2650
|
const _invarianterror = requireInvariantError();
|
|
2405
2651
|
const _parseloadertree = requireParseLoaderTree();
|
|
2406
|
-
const
|
|
2652
|
+
const _app = requireApp();
|
|
2653
|
+
const _resolveparamvalue = requireResolveParamValue();
|
|
2407
2654
|
function getParamValue(interpolatedParams, segmentKey, fallbackRouteParams) {
|
|
2408
2655
|
let value = interpolatedParams[segmentKey];
|
|
2409
2656
|
if (fallbackRouteParams == null ? void 0 : fallbackRouteParams.has(segmentKey)) {
|
|
@@ -2424,53 +2671,33 @@ function requireGetDynamicParam() {
|
|
|
2424
2671
|
depth: 0
|
|
2425
2672
|
}
|
|
2426
2673
|
];
|
|
2427
|
-
const
|
|
2674
|
+
const route = (0, _app.parseAppRoute)(pagePath, true);
|
|
2428
2675
|
while (stack.length > 0) {
|
|
2429
2676
|
const { tree, depth } = stack.pop();
|
|
2430
2677
|
const { segment: segment2, parallelRoutes } = (0, _parseloadertree.parseLoaderTree)(tree);
|
|
2431
|
-
const
|
|
2432
|
-
if (
|
|
2678
|
+
const appSegment = (0, _app.parseAppRouteSegment)(segment2);
|
|
2679
|
+
if ((appSegment == null ? void 0 : appSegment.type) === "dynamic" && !interpolated.hasOwnProperty(appSegment.param.paramName) && // If the param is in the fallback route params, we don't need to
|
|
2433
2680
|
// interpolate it because it's already marked as being unknown.
|
|
2434
|
-
!(fallbackRouteParams == null ? void 0 : fallbackRouteParams.has(
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
return param ? interpolated[param.param] : pathSegment;
|
|
2446
|
-
}).filter((s) => s !== void 0);
|
|
2447
|
-
if (processedSegments.length > 0) {
|
|
2448
|
-
interpolated[segmentParam.param] = processedSegments;
|
|
2449
|
-
}
|
|
2450
|
-
break;
|
|
2451
|
-
case "dynamic":
|
|
2452
|
-
case "dynamic-intercepted-(..)(..)":
|
|
2453
|
-
case "dynamic-intercepted-(.)":
|
|
2454
|
-
case "dynamic-intercepted-(..)":
|
|
2455
|
-
case "dynamic-intercepted-(...)":
|
|
2456
|
-
if (depth < pathSegments.length) {
|
|
2457
|
-
const pathSegment = pathSegments[depth];
|
|
2458
|
-
const param = (0, _getsegmentparam.getSegmentParam)(pathSegment);
|
|
2459
|
-
interpolated[segmentParam.param] = param ? interpolated[param.param] : pathSegment;
|
|
2460
|
-
}
|
|
2461
|
-
break;
|
|
2462
|
-
default:
|
|
2463
|
-
segmentParam.type;
|
|
2681
|
+
!(fallbackRouteParams == null ? void 0 : fallbackRouteParams.has(appSegment.param.paramName))) {
|
|
2682
|
+
const { paramName, paramType } = appSegment.param;
|
|
2683
|
+
const paramValue = (0, _resolveparamvalue.resolveParamValue)(paramName, paramType, depth, route, interpolated);
|
|
2684
|
+
if (paramValue !== void 0) {
|
|
2685
|
+
interpolated[paramName] = paramValue;
|
|
2686
|
+
} else if (paramType !== "optional-catchall") {
|
|
2687
|
+
throw Object.defineProperty(new _invarianterror.InvariantError(`Could not resolve param value for segment: ${paramName}`), "__NEXT_ERROR_CODE", {
|
|
2688
|
+
value: "E932",
|
|
2689
|
+
enumerable: false,
|
|
2690
|
+
configurable: true
|
|
2691
|
+
});
|
|
2464
2692
|
}
|
|
2465
2693
|
}
|
|
2466
2694
|
let nextDepth = depth;
|
|
2467
|
-
|
|
2468
|
-
if (!isRouteGroup && segment2 !== "") {
|
|
2695
|
+
if (appSegment && appSegment.type !== "route-group" && appSegment.type !== "parallel-route") {
|
|
2469
2696
|
nextDepth++;
|
|
2470
2697
|
}
|
|
2471
|
-
for (const
|
|
2698
|
+
for (const parallelRoute of Object.values(parallelRoutes)) {
|
|
2472
2699
|
stack.push({
|
|
2473
|
-
tree:
|
|
2700
|
+
tree: parallelRoute,
|
|
2474
2701
|
depth: nextDepth
|
|
2475
2702
|
});
|
|
2476
2703
|
}
|
|
@@ -3825,4 +4052,4 @@ exports.requireSegment = requireSegment;
|
|
|
3825
4052
|
exports.requireUseMergedRef = requireUseMergedRef;
|
|
3826
4053
|
exports.require_interop_require_default = require_interop_require_default;
|
|
3827
4054
|
exports.require_interop_require_wildcard = require_interop_require_wildcard;
|
|
3828
|
-
//# sourceMappingURL=link-
|
|
4055
|
+
//# sourceMappingURL=link-B1N-q38H.cjs.map
|