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