@helpwave/hightide 0.1.25 → 0.1.26
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/README.md +1 -1
- package/dist/components/branding/HelpwaveBadge.d.mts +4 -5
- package/dist/components/branding/HelpwaveBadge.d.ts +4 -5
- package/dist/components/branding/HelpwaveBadge.js +46 -87
- package/dist/components/branding/HelpwaveBadge.js.map +1 -1
- package/dist/components/branding/HelpwaveBadge.mjs +46 -89
- package/dist/components/branding/HelpwaveBadge.mjs.map +1 -1
- package/dist/components/date/DatePicker.d.mts +1 -1
- package/dist/components/date/DatePicker.d.ts +1 -1
- package/dist/components/date/DatePicker.js +64 -13
- package/dist/components/date/DatePicker.js.map +1 -1
- package/dist/components/date/DatePicker.mjs +65 -14
- package/dist/components/date/DatePicker.mjs.map +1 -1
- package/dist/components/date/DayPicker.d.mts +1 -1
- package/dist/components/date/DayPicker.d.ts +1 -1
- package/dist/components/date/DayPicker.js +3 -3
- package/dist/components/date/DayPicker.js.map +1 -1
- package/dist/components/date/DayPicker.mjs +3 -3
- package/dist/components/date/DayPicker.mjs.map +1 -1
- package/dist/components/date/TimeDisplay.js.map +1 -1
- package/dist/components/date/TimeDisplay.mjs.map +1 -1
- package/dist/components/date/TimePicker.js +2 -2
- package/dist/components/date/TimePicker.js.map +1 -1
- package/dist/components/date/TimePicker.mjs +2 -2
- package/dist/components/date/TimePicker.mjs.map +1 -1
- package/dist/components/date/YearMonthPicker.js +58 -7
- package/dist/components/date/YearMonthPicker.js.map +1 -1
- package/dist/components/date/YearMonthPicker.mjs +59 -8
- package/dist/components/date/YearMonthPicker.mjs.map +1 -1
- package/dist/components/{dialogs → dialog}/ConfirmDialog.d.mts +9 -8
- package/dist/components/{dialogs → dialog}/ConfirmDialog.d.ts +9 -8
- package/dist/components/dialog/ConfirmDialog.js +938 -0
- package/dist/components/dialog/ConfirmDialog.js.map +1 -0
- package/dist/components/dialog/ConfirmDialog.mjs +902 -0
- package/dist/components/dialog/ConfirmDialog.mjs.map +1 -0
- package/dist/components/dialog/Dialog.d.mts +27 -0
- package/dist/components/dialog/Dialog.d.ts +27 -0
- package/dist/components/dialog/Dialog.js +879 -0
- package/dist/components/dialog/Dialog.js.map +1 -0
- package/dist/components/dialog/Dialog.mjs +845 -0
- package/dist/components/dialog/Dialog.mjs.map +1 -0
- package/dist/components/dialog/DiscardChangesDialog.d.mts +24 -0
- package/dist/components/dialog/DiscardChangesDialog.d.ts +24 -0
- package/dist/components/dialog/DiscardChangesDialog.js +966 -0
- package/dist/components/dialog/DiscardChangesDialog.js.map +1 -0
- package/dist/components/dialog/DiscardChangesDialog.mjs +930 -0
- package/dist/components/dialog/DiscardChangesDialog.mjs.map +1 -0
- package/dist/components/dialog/InputDialog.d.mts +22 -0
- package/dist/components/dialog/InputDialog.d.ts +22 -0
- package/dist/components/dialog/InputDialog.js +1139 -0
- package/dist/components/dialog/InputDialog.js.map +1 -0
- package/dist/components/dialog/InputDialog.mjs +1103 -0
- package/dist/components/dialog/InputDialog.mjs.map +1 -0
- package/dist/components/dialog/LanguageDialog.d.mts +25 -0
- package/dist/components/dialog/LanguageDialog.d.ts +25 -0
- package/dist/components/dialog/LanguageDialog.js +1684 -0
- package/dist/components/dialog/LanguageDialog.js.map +1 -0
- package/dist/components/dialog/LanguageDialog.mjs +1658 -0
- package/dist/components/dialog/LanguageDialog.mjs.map +1 -0
- package/dist/components/dialog/ThemeDialog.d.mts +26 -0
- package/dist/components/dialog/ThemeDialog.d.ts +26 -0
- package/dist/components/dialog/ThemeDialog.js +1715 -0
- package/dist/components/dialog/ThemeDialog.js.map +1 -0
- package/dist/components/dialog/ThemeDialog.mjs +1689 -0
- package/dist/components/dialog/ThemeDialog.mjs.map +1 -0
- package/dist/components/dialog/index.d.mts +17 -0
- package/dist/components/dialog/index.d.ts +17 -0
- package/dist/components/dialog/index.js +2062 -0
- package/dist/components/dialog/index.js.map +1 -0
- package/dist/components/dialog/index.mjs +2031 -0
- package/dist/components/dialog/index.mjs.map +1 -0
- package/dist/components/form/FormElementWrapper.d.mts +29 -0
- package/dist/components/form/FormElementWrapper.d.ts +29 -0
- package/dist/components/form/FormElementWrapper.js +98 -0
- package/dist/components/form/FormElementWrapper.js.map +1 -0
- package/dist/components/form/FormElementWrapper.mjs +64 -0
- package/dist/components/form/FormElementWrapper.mjs.map +1 -0
- package/dist/components/icons-and-geometry/Avatar.js +498 -2886
- package/dist/components/icons-and-geometry/Avatar.js.map +1 -1
- package/dist/components/icons-and-geometry/Avatar.mjs +490 -2878
- package/dist/components/icons-and-geometry/Avatar.mjs.map +1 -1
- package/dist/components/icons-and-geometry/{Helpwave.d.mts → HelpwaveLogo.d.mts} +3 -3
- package/dist/components/icons-and-geometry/{Helpwave.d.ts → HelpwaveLogo.d.ts} +3 -3
- package/dist/components/icons-and-geometry/{Helpwave.js → HelpwaveLogo.js} +21 -22
- package/dist/components/icons-and-geometry/HelpwaveLogo.js.map +1 -0
- package/dist/components/icons-and-geometry/{Helpwave.mjs → HelpwaveLogo.mjs} +17 -18
- package/dist/components/icons-and-geometry/HelpwaveLogo.mjs.map +1 -0
- package/dist/components/icons-and-geometry/Ring.js +1 -1
- package/dist/components/icons-and-geometry/Ring.js.map +1 -1
- package/dist/components/icons-and-geometry/Ring.mjs +1 -1
- package/dist/components/icons-and-geometry/Ring.mjs.map +1 -1
- package/dist/components/icons-and-geometry/Tag.js +8 -20
- package/dist/components/icons-and-geometry/Tag.js.map +1 -1
- package/dist/components/icons-and-geometry/Tag.mjs +8 -20
- package/dist/components/icons-and-geometry/Tag.mjs.map +1 -1
- package/dist/components/layout-and-navigation/BreadCrumb.js +667 -22
- package/dist/components/layout-and-navigation/BreadCrumb.js.map +1 -1
- package/dist/components/layout-and-navigation/BreadCrumb.mjs +667 -22
- package/dist/components/layout-and-navigation/BreadCrumb.mjs.map +1 -1
- package/dist/components/layout-and-navigation/Carousel.js +12 -10
- package/dist/components/layout-and-navigation/Carousel.js.map +1 -1
- package/dist/components/layout-and-navigation/Carousel.mjs +12 -10
- package/dist/components/layout-and-navigation/Carousel.mjs.map +1 -1
- package/dist/components/layout-and-navigation/Chip.d.mts +8 -5
- package/dist/components/layout-and-navigation/Chip.d.ts +8 -5
- package/dist/components/layout-and-navigation/Chip.js +17 -4
- package/dist/components/layout-and-navigation/Chip.js.map +1 -1
- package/dist/components/layout-and-navigation/Chip.mjs +17 -4
- package/dist/components/layout-and-navigation/Chip.mjs.map +1 -1
- package/dist/components/layout-and-navigation/Expandable.d.mts +13 -10
- package/dist/components/layout-and-navigation/Expandable.d.ts +13 -10
- package/dist/components/layout-and-navigation/Expandable.js +18 -5
- package/dist/components/layout-and-navigation/Expandable.js.map +1 -1
- package/dist/components/layout-and-navigation/Expandable.mjs +19 -6
- package/dist/components/layout-and-navigation/Expandable.mjs.map +1 -1
- package/dist/components/layout-and-navigation/FAQSection.js +21 -8
- package/dist/components/layout-and-navigation/FAQSection.js.map +1 -1
- package/dist/components/layout-and-navigation/FAQSection.mjs +22 -9
- package/dist/components/layout-and-navigation/FAQSection.mjs.map +1 -1
- package/dist/components/layout-and-navigation/FloatingContainer.d.mts +38 -0
- package/dist/components/layout-and-navigation/FloatingContainer.d.ts +38 -0
- package/dist/components/layout-and-navigation/FloatingContainer.js +219 -0
- package/dist/components/layout-and-navigation/FloatingContainer.js.map +1 -0
- package/dist/components/layout-and-navigation/FloatingContainer.mjs +195 -0
- package/dist/components/layout-and-navigation/FloatingContainer.mjs.map +1 -0
- package/dist/components/layout-and-navigation/ListBox.d.mts +44 -0
- package/dist/components/layout-and-navigation/ListBox.d.ts +44 -0
- package/dist/components/layout-and-navigation/ListBox.js +329 -0
- package/dist/components/layout-and-navigation/ListBox.js.map +1 -0
- package/dist/components/layout-and-navigation/ListBox.mjs +290 -0
- package/dist/components/layout-and-navigation/ListBox.mjs.map +1 -0
- package/dist/components/layout-and-navigation/Pagination.js +104 -189
- package/dist/components/layout-and-navigation/Pagination.js.map +1 -1
- package/dist/components/layout-and-navigation/Pagination.mjs +99 -184
- package/dist/components/layout-and-navigation/Pagination.mjs.map +1 -1
- package/dist/components/layout-and-navigation/ScrollArea.d.mts +15 -0
- package/dist/components/layout-and-navigation/ScrollArea.d.ts +15 -0
- package/dist/components/layout-and-navigation/ScrollArea.js +1252 -0
- package/dist/components/layout-and-navigation/ScrollArea.js.map +1 -0
- package/dist/components/layout-and-navigation/ScrollArea.mjs +1216 -0
- package/dist/components/layout-and-navigation/ScrollArea.mjs.map +1 -0
- package/dist/components/layout-and-navigation/StepperBar.js +41 -1
- package/dist/components/layout-and-navigation/StepperBar.js.map +1 -1
- package/dist/components/layout-and-navigation/StepperBar.mjs +41 -1
- package/dist/components/layout-and-navigation/StepperBar.mjs.map +1 -1
- package/dist/components/layout-and-navigation/TextImage.js +3 -1
- package/dist/components/layout-and-navigation/TextImage.js.map +1 -1
- package/dist/components/layout-and-navigation/TextImage.mjs +3 -1
- package/dist/components/layout-and-navigation/TextImage.mjs.map +1 -1
- package/dist/components/loading-states/ErrorComponent.js.map +1 -1
- package/dist/components/loading-states/ErrorComponent.mjs.map +1 -1
- package/dist/components/loading-states/LoadingAndErrorComponent.d.mts +1 -1
- package/dist/components/loading-states/LoadingAndErrorComponent.d.ts +1 -1
- package/dist/components/loading-states/LoadingAnimation.js +18 -17
- package/dist/components/loading-states/LoadingAnimation.js.map +1 -1
- package/dist/components/loading-states/LoadingAnimation.mjs +18 -17
- package/dist/components/loading-states/LoadingAnimation.mjs.map +1 -1
- package/dist/components/loading-states/LoadingButton.js +55 -18
- package/dist/components/loading-states/LoadingButton.js.map +1 -1
- package/dist/components/loading-states/LoadingButton.mjs +55 -18
- package/dist/components/loading-states/LoadingButton.mjs.map +1 -1
- package/dist/components/properties/CheckboxProperty.js +890 -135
- package/dist/components/properties/CheckboxProperty.js.map +1 -1
- package/dist/components/properties/CheckboxProperty.mjs +897 -142
- package/dist/components/properties/CheckboxProperty.mjs.map +1 -1
- package/dist/components/properties/DateProperty.js +153 -198
- package/dist/components/properties/DateProperty.js.map +1 -1
- package/dist/components/properties/DateProperty.mjs +146 -191
- package/dist/components/properties/DateProperty.mjs.map +1 -1
- package/dist/components/properties/MultiSelectProperty.d.mts +5 -10
- package/dist/components/properties/MultiSelectProperty.d.ts +5 -10
- package/dist/components/properties/MultiSelectProperty.js +1143 -1160
- package/dist/components/properties/MultiSelectProperty.js.map +1 -1
- package/dist/components/properties/MultiSelectProperty.mjs +1156 -1163
- package/dist/components/properties/MultiSelectProperty.mjs.map +1 -1
- package/dist/components/properties/NumberProperty.js +155 -201
- package/dist/components/properties/NumberProperty.js.map +1 -1
- package/dist/components/properties/NumberProperty.mjs +148 -194
- package/dist/components/properties/NumberProperty.mjs.map +1 -1
- package/dist/components/properties/PropertyBase.js +49 -9
- package/dist/components/properties/PropertyBase.js.map +1 -1
- package/dist/components/properties/PropertyBase.mjs +49 -9
- package/dist/components/properties/PropertyBase.mjs.map +1 -1
- package/dist/components/properties/SelectProperty.d.mts +5 -8
- package/dist/components/properties/SelectProperty.d.ts +5 -8
- package/dist/components/properties/SelectProperty.js +1047 -834
- package/dist/components/properties/SelectProperty.js.map +1 -1
- package/dist/components/properties/SelectProperty.mjs +1063 -840
- package/dist/components/properties/SelectProperty.mjs.map +1 -1
- package/dist/components/properties/TextProperty.js +97 -100
- package/dist/components/properties/TextProperty.js.map +1 -1
- package/dist/components/properties/TextProperty.mjs +100 -103
- package/dist/components/properties/TextProperty.mjs.map +1 -1
- package/dist/components/table/Table.js +1618 -993
- package/dist/components/table/Table.js.map +1 -1
- package/dist/components/table/Table.mjs +1625 -1000
- package/dist/components/table/Table.mjs.map +1 -1
- package/dist/components/table/TableFilterButton.js +116 -201
- package/dist/components/table/TableFilterButton.js.map +1 -1
- package/dist/components/table/TableFilterButton.mjs +105 -190
- package/dist/components/table/TableFilterButton.mjs.map +1 -1
- package/dist/components/table/TableSortButton.js +4 -3
- package/dist/components/table/TableSortButton.js.map +1 -1
- package/dist/components/table/TableSortButton.mjs +4 -3
- package/dist/components/table/TableSortButton.mjs.map +1 -1
- package/dist/components/user-action/Button.d.mts +15 -11
- package/dist/components/user-action/Button.d.ts +15 -11
- package/dist/components/user-action/Button.js +10 -9
- package/dist/components/user-action/Button.js.map +1 -1
- package/dist/components/user-action/Button.mjs +10 -9
- package/dist/components/user-action/Button.mjs.map +1 -1
- package/dist/components/user-action/Checkbox.d.mts +9 -25
- package/dist/components/user-action/Checkbox.d.ts +9 -25
- package/dist/components/user-action/Checkbox.js +793 -103
- package/dist/components/user-action/Checkbox.js.map +1 -1
- package/dist/components/user-action/Checkbox.mjs +794 -104
- package/dist/components/user-action/Checkbox.mjs.map +1 -1
- package/dist/components/user-action/CopyToClipboardWrapper.js +3 -1
- package/dist/components/user-action/CopyToClipboardWrapper.js.map +1 -1
- package/dist/components/user-action/CopyToClipboardWrapper.mjs +3 -1
- package/dist/components/user-action/CopyToClipboardWrapper.mjs.map +1 -1
- package/dist/components/user-action/DateAndTimePicker.d.mts +1 -1
- package/dist/components/user-action/DateAndTimePicker.d.ts +1 -1
- package/dist/components/user-action/DateAndTimePicker.js +66 -13
- package/dist/components/user-action/DateAndTimePicker.js.map +1 -1
- package/dist/components/user-action/DateAndTimePicker.mjs +67 -14
- package/dist/components/user-action/DateAndTimePicker.mjs.map +1 -1
- package/dist/components/user-action/Label.d.mts +6 -8
- package/dist/components/user-action/Label.d.ts +6 -8
- package/dist/components/user-action/Label.js +4 -6
- package/dist/components/user-action/Label.js.map +1 -1
- package/dist/components/user-action/Label.mjs +4 -6
- package/dist/components/user-action/Label.mjs.map +1 -1
- package/dist/components/user-action/Menu.d.mts +2 -2
- package/dist/components/user-action/Menu.d.ts +2 -2
- package/dist/components/user-action/Menu.js +1 -1
- package/dist/components/user-action/Menu.js.map +1 -1
- package/dist/components/user-action/Menu.mjs +1 -1
- package/dist/components/user-action/Menu.mjs.map +1 -1
- package/dist/components/user-action/ScrollPicker.js +8 -6
- package/dist/components/user-action/ScrollPicker.js.map +1 -1
- package/dist/components/user-action/ScrollPicker.mjs +8 -6
- package/dist/components/user-action/ScrollPicker.mjs.map +1 -1
- package/dist/components/user-action/SearchBar.d.mts +1 -2
- package/dist/components/user-action/SearchBar.d.ts +1 -2
- package/dist/components/user-action/SearchBar.js +93 -178
- package/dist/components/user-action/SearchBar.js.map +1 -1
- package/dist/components/user-action/SearchBar.mjs +86 -171
- package/dist/components/user-action/SearchBar.mjs.map +1 -1
- package/dist/components/user-action/Textarea.d.mts +22 -11
- package/dist/components/user-action/Textarea.d.ts +22 -11
- package/dist/components/user-action/Textarea.js +101 -92
- package/dist/components/user-action/Textarea.js.map +1 -1
- package/dist/components/user-action/Textarea.mjs +100 -92
- package/dist/components/user-action/Textarea.mjs.map +1 -1
- package/dist/components/user-action/input/Input.d.mts +37 -0
- package/dist/components/user-action/input/Input.d.ts +37 -0
- package/dist/components/user-action/input/Input.js +244 -0
- package/dist/components/user-action/input/Input.js.map +1 -0
- package/dist/components/user-action/input/Input.mjs +209 -0
- package/dist/components/user-action/input/Input.mjs.map +1 -0
- package/dist/components/user-action/input/InsideLabelInput.d.mts +20 -0
- package/dist/components/user-action/input/InsideLabelInput.d.ts +20 -0
- package/dist/components/user-action/input/InsideLabelInput.js +295 -0
- package/dist/components/user-action/input/InsideLabelInput.js.map +1 -0
- package/dist/components/user-action/input/InsideLabelInput.mjs +260 -0
- package/dist/components/user-action/input/InsideLabelInput.mjs.map +1 -0
- package/dist/components/user-action/input/ToggleableInput.d.mts +22 -0
- package/dist/components/user-action/input/ToggleableInput.d.ts +22 -0
- package/dist/components/user-action/{Input.js → input/ToggleableInput.js} +136 -171
- package/dist/components/user-action/input/ToggleableInput.js.map +1 -0
- package/dist/components/user-action/input/ToggleableInput.mjs +264 -0
- package/dist/components/user-action/input/ToggleableInput.mjs.map +1 -0
- package/dist/components/user-action/select/Select.d.mts +98 -0
- package/dist/components/user-action/select/Select.d.ts +98 -0
- package/dist/components/user-action/select/Select.js +1354 -0
- package/dist/components/user-action/select/Select.js.map +1 -0
- package/dist/components/user-action/select/Select.mjs +1320 -0
- package/dist/components/user-action/select/Select.mjs.map +1 -0
- package/dist/components/utils/FocusTrap.d.mts +28 -0
- package/dist/components/utils/FocusTrap.d.ts +28 -0
- package/dist/components/utils/FocusTrap.js +252 -0
- package/dist/components/utils/FocusTrap.js.map +1 -0
- package/dist/components/utils/FocusTrap.mjs +229 -0
- package/dist/components/utils/FocusTrap.mjs.map +1 -0
- package/dist/components/utils/Transition.d.mts +26 -0
- package/dist/components/utils/Transition.d.ts +26 -0
- package/dist/components/utils/Transition.js +74 -0
- package/dist/components/utils/Transition.js.map +1 -0
- package/dist/components/utils/Transition.mjs +50 -0
- package/dist/components/utils/Transition.mjs.map +1 -0
- package/dist/hooks/focus/useFocusGuards.d.mts +3 -0
- package/dist/hooks/focus/useFocusGuards.d.ts +3 -0
- package/dist/hooks/focus/useFocusGuards.js +74 -0
- package/dist/hooks/focus/useFocusGuards.js.map +1 -0
- package/dist/hooks/focus/useFocusGuards.mjs +50 -0
- package/dist/hooks/focus/useFocusGuards.mjs.map +1 -0
- package/dist/hooks/{useFocusManagement.js → focus/useFocusManagement.js} +1 -1
- package/dist/hooks/focus/useFocusManagement.js.map +1 -0
- package/dist/hooks/{useFocusManagement.mjs → focus/useFocusManagement.mjs} +1 -1
- package/dist/hooks/focus/useFocusManagement.mjs.map +1 -0
- package/dist/hooks/{useFocusOnceVisible.js → focus/useFocusOnceVisible.js} +1 -1
- package/dist/hooks/focus/useFocusOnceVisible.js.map +1 -0
- package/dist/hooks/{useFocusOnceVisible.mjs → focus/useFocusOnceVisible.mjs} +1 -1
- package/dist/hooks/focus/useFocusOnceVisible.mjs.map +1 -0
- package/dist/hooks/focus/useFocusTrap.d.mts +16 -0
- package/dist/hooks/focus/useFocusTrap.d.ts +16 -0
- package/dist/hooks/focus/useFocusTrap.js +233 -0
- package/dist/hooks/focus/useFocusTrap.js.map +1 -0
- package/dist/hooks/focus/useFocusTrap.mjs +210 -0
- package/dist/hooks/focus/useFocusTrap.mjs.map +1 -0
- package/dist/hooks/focus/useIsMounted.d.mts +3 -0
- package/dist/hooks/focus/useIsMounted.d.ts +3 -0
- package/dist/hooks/focus/useIsMounted.js +43 -0
- package/dist/hooks/focus/useIsMounted.js.map +1 -0
- package/dist/hooks/focus/useIsMounted.mjs +20 -0
- package/dist/hooks/focus/useIsMounted.mjs.map +1 -0
- package/dist/hooks/useFloatingElement.d.mts +22 -0
- package/dist/hooks/useFloatingElement.d.ts +22 -0
- package/dist/hooks/useFloatingElement.js +162 -0
- package/dist/hooks/useFloatingElement.js.map +1 -0
- package/dist/hooks/useFloatingElement.mjs +139 -0
- package/dist/hooks/useFloatingElement.mjs.map +1 -0
- package/dist/hooks/useLocalStorage.js +2 -2
- package/dist/hooks/useLocalStorage.js.map +1 -1
- package/dist/hooks/useLocalStorage.mjs +2 -2
- package/dist/hooks/useLocalStorage.mjs.map +1 -1
- package/dist/hooks/useLogOnce.d.mts +3 -4
- package/dist/hooks/useLogOnce.d.ts +3 -4
- package/dist/hooks/useLogOnce.js +5 -5
- package/dist/hooks/useLogOnce.js.map +1 -1
- package/dist/hooks/useLogOnce.mjs +5 -5
- package/dist/hooks/useLogOnce.mjs.map +1 -1
- package/dist/hooks/useRerender.d.mts +2 -2
- package/dist/hooks/useRerender.d.ts +2 -2
- package/dist/hooks/useSearch.d.mts +2 -2
- package/dist/hooks/useSearch.d.ts +2 -2
- package/dist/hooks/useSearch.js +1 -1
- package/dist/hooks/useSearch.js.map +1 -1
- package/dist/hooks/useSearch.mjs +1 -1
- package/dist/hooks/useSearch.mjs.map +1 -1
- package/dist/localization/LanguageProvider.d.mts +2 -2
- package/dist/localization/LanguageProvider.d.ts +2 -2
- package/dist/localization/LanguageProvider.js +2 -2
- package/dist/localization/LanguageProvider.js.map +1 -1
- package/dist/localization/LanguageProvider.mjs +2 -2
- package/dist/localization/LanguageProvider.mjs.map +1 -1
- package/dist/localization/defaults/form.d.mts +1 -0
- package/dist/localization/defaults/form.d.ts +1 -0
- package/dist/localization/defaults/form.js +2 -0
- package/dist/localization/defaults/form.js.map +1 -1
- package/dist/localization/defaults/form.mjs +2 -0
- package/dist/localization/defaults/form.mjs.map +1 -1
- package/dist/localization/useTranslation.js.map +1 -1
- package/dist/localization/useTranslation.mjs.map +1 -1
- package/dist/storybook/helper.d.mts +17 -0
- package/dist/storybook/helper.d.ts +17 -0
- package/dist/storybook/helper.js +61 -0
- package/dist/storybook/helper.js.map +1 -0
- package/dist/storybook/helper.mjs +37 -0
- package/dist/storybook/helper.mjs.map +1 -0
- package/dist/{css → style}/globals.css +779 -374
- package/dist/{css → style}/uncompiled/globals.css +75 -13
- package/dist/{css → style}/uncompiled/theme/colors-component.css +18 -4
- package/dist/{css → style}/uncompiled/theme/colors-semantic.css +2 -9
- package/dist/style/uncompiled/typography.css +171 -0
- package/dist/{css → style}/uncompiled/utitlity/animation.css +54 -42
- package/dist/{css → style}/uncompiled/utitlity/index.css +2 -1
- package/dist/{css → style}/uncompiled/utitlity/shadow.css +5 -1
- package/dist/style/uncompiled/utitlity/sizing.css +29 -0
- package/dist/theming/useTheme.d.mts +2 -2
- package/dist/theming/useTheme.d.ts +2 -2
- package/dist/theming/useTheme.js +3 -3
- package/dist/theming/useTheme.js.map +1 -1
- package/dist/theming/useTheme.mjs +3 -3
- package/dist/theming/useTheme.mjs.map +1 -1
- package/dist/{util → utils}/array.d.mts +1 -0
- package/dist/{util → utils}/array.d.ts +1 -0
- package/dist/{util → utils}/array.js +15 -2
- package/dist/utils/array.js.map +1 -0
- package/dist/{util → utils}/array.mjs +15 -2
- package/dist/utils/array.mjs.map +1 -0
- package/dist/utils/bagFunctions.d.mts +15 -0
- package/dist/utils/bagFunctions.d.ts +15 -0
- package/dist/{util/PropsWithFunctionChildren.js → utils/bagFunctions.js} +5 -5
- package/dist/utils/bagFunctions.js.map +1 -0
- package/dist/{util/PropsWithFunctionChildren.mjs → utils/bagFunctions.mjs} +2 -2
- package/dist/utils/bagFunctions.mjs.map +1 -0
- package/dist/{util → utils}/builder.js +1 -1
- package/dist/utils/builder.js.map +1 -0
- package/dist/{util → utils}/builder.mjs +1 -1
- package/dist/utils/builder.mjs.map +1 -0
- package/dist/{util → utils}/date.js +3 -3
- package/dist/utils/date.js.map +1 -0
- package/dist/{util → utils}/date.mjs +2 -2
- package/dist/utils/date.mjs.map +1 -0
- package/dist/{util → utils}/easeFunctions.js +5 -4
- package/dist/utils/easeFunctions.js.map +1 -0
- package/dist/{util → utils}/easeFunctions.mjs +4 -3
- package/dist/utils/easeFunctions.mjs.map +1 -0
- package/dist/{util → utils}/emailValidation.js +1 -1
- package/dist/utils/emailValidation.js.map +1 -0
- package/dist/{util → utils}/emailValidation.mjs +1 -1
- package/dist/utils/emailValidation.mjs.map +1 -0
- package/dist/{util → utils}/loopingArray.js +1 -1
- package/dist/utils/loopingArray.js.map +1 -0
- package/dist/{util → utils}/loopingArray.mjs +1 -1
- package/dist/utils/loopingArray.mjs.map +1 -0
- package/dist/utils/match.d.mts +3 -0
- package/dist/utils/match.d.ts +3 -0
- package/dist/utils/match.js +32 -0
- package/dist/utils/match.js.map +1 -0
- package/dist/utils/match.mjs +8 -0
- package/dist/utils/match.mjs.map +1 -0
- package/dist/utils/math.d.mts +3 -0
- package/dist/utils/math.d.ts +3 -0
- package/dist/{util → utils}/math.js +3 -2
- package/dist/utils/math.js.map +1 -0
- package/dist/utils/math.mjs +9 -0
- package/dist/utils/math.mjs.map +1 -0
- package/dist/{util → utils}/noop.js +1 -1
- package/dist/utils/noop.js.map +1 -0
- package/dist/utils/noop.mjs +6 -0
- package/dist/utils/noop.mjs.map +1 -0
- package/dist/{util → utils}/resolveSetState.js +1 -1
- package/dist/utils/resolveSetState.js.map +1 -0
- package/dist/{util → utils}/resolveSetState.mjs +1 -1
- package/dist/utils/resolveSetState.mjs.map +1 -0
- package/dist/{util → utils}/simpleSearch.js +1 -1
- package/dist/utils/simpleSearch.js.map +1 -0
- package/dist/{util → utils}/simpleSearch.mjs +1 -1
- package/dist/utils/simpleSearch.mjs.map +1 -0
- package/dist/{util → utils}/storage.js +1 -1
- package/dist/utils/storage.js.map +1 -0
- package/dist/{util → utils}/storage.mjs +1 -1
- package/dist/utils/storage.mjs.map +1 -0
- package/dist/{util → utils}/writeToClipboard.js +2 -1
- package/dist/utils/writeToClipboard.js.map +1 -0
- package/dist/{util → utils}/writeToClipboard.mjs +3 -1
- package/dist/utils/writeToClipboard.mjs.map +1 -0
- package/package.json +8 -8
- package/dist/components/dialogs/ConfirmDialog.js +0 -674
- package/dist/components/dialogs/ConfirmDialog.js.map +0 -1
- package/dist/components/dialogs/ConfirmDialog.mjs +0 -638
- package/dist/components/dialogs/ConfirmDialog.mjs.map +0 -1
- package/dist/components/icons-and-geometry/Helpwave.js.map +0 -1
- package/dist/components/icons-and-geometry/Helpwave.mjs.map +0 -1
- package/dist/components/layout-and-navigation/Overlay.d.mts +0 -67
- package/dist/components/layout-and-navigation/Overlay.d.ts +0 -67
- package/dist/components/layout-and-navigation/Overlay.js +0 -702
- package/dist/components/layout-and-navigation/Overlay.js.map +0 -1
- package/dist/components/layout-and-navigation/Overlay.mjs +0 -665
- package/dist/components/layout-and-navigation/Overlay.mjs.map +0 -1
- package/dist/components/layout-and-navigation/SearchableList.d.mts +0 -24
- package/dist/components/layout-and-navigation/SearchableList.d.ts +0 -24
- package/dist/components/layout-and-navigation/SearchableList.js +0 -758
- package/dist/components/layout-and-navigation/SearchableList.js.map +0 -1
- package/dist/components/layout-and-navigation/SearchableList.mjs +0 -724
- package/dist/components/layout-and-navigation/SearchableList.mjs.map +0 -1
- package/dist/components/layout-and-navigation/Tile.d.mts +0 -27
- package/dist/components/layout-and-navigation/Tile.d.ts +0 -27
- package/dist/components/layout-and-navigation/Tile.js +0 -96
- package/dist/components/layout-and-navigation/Tile.js.map +0 -1
- package/dist/components/layout-and-navigation/Tile.mjs +0 -61
- package/dist/components/layout-and-navigation/Tile.mjs.map +0 -1
- package/dist/components/modals/ConfirmModal.d.mts +0 -33
- package/dist/components/modals/ConfirmModal.d.ts +0 -33
- package/dist/components/modals/ConfirmModal.js +0 -687
- package/dist/components/modals/ConfirmModal.js.map +0 -1
- package/dist/components/modals/ConfirmModal.mjs +0 -651
- package/dist/components/modals/ConfirmModal.mjs.map +0 -1
- package/dist/components/modals/DiscardChangesModal.d.mts +0 -20
- package/dist/components/modals/DiscardChangesModal.d.ts +0 -20
- package/dist/components/modals/DiscardChangesModal.js +0 -717
- package/dist/components/modals/DiscardChangesModal.js.map +0 -1
- package/dist/components/modals/DiscardChangesModal.mjs +0 -681
- package/dist/components/modals/DiscardChangesModal.mjs.map +0 -1
- package/dist/components/modals/InputModal.d.mts +0 -21
- package/dist/components/modals/InputModal.d.ts +0 -21
- package/dist/components/modals/InputModal.js +0 -976
- package/dist/components/modals/InputModal.js.map +0 -1
- package/dist/components/modals/InputModal.mjs +0 -940
- package/dist/components/modals/InputModal.mjs.map +0 -1
- package/dist/components/modals/LanguageModal.d.mts +0 -21
- package/dist/components/modals/LanguageModal.d.ts +0 -21
- package/dist/components/modals/LanguageModal.js +0 -1468
- package/dist/components/modals/LanguageModal.js.map +0 -1
- package/dist/components/modals/LanguageModal.mjs +0 -1432
- package/dist/components/modals/LanguageModal.mjs.map +0 -1
- package/dist/components/modals/ThemeModal.d.mts +0 -21
- package/dist/components/modals/ThemeModal.d.ts +0 -21
- package/dist/components/modals/ThemeModal.js +0 -1497
- package/dist/components/modals/ThemeModal.js.map +0 -1
- package/dist/components/modals/ThemeModal.mjs +0 -1461
- package/dist/components/modals/ThemeModal.mjs.map +0 -1
- package/dist/components/user-action/Input.d.mts +0 -77
- package/dist/components/user-action/Input.d.ts +0 -77
- package/dist/components/user-action/Input.js.map +0 -1
- package/dist/components/user-action/Input.mjs +0 -298
- package/dist/components/user-action/Input.mjs.map +0 -1
- package/dist/components/user-action/MultiSelect.d.mts +0 -42
- package/dist/components/user-action/MultiSelect.d.ts +0 -42
- package/dist/components/user-action/MultiSelect.js +0 -1468
- package/dist/components/user-action/MultiSelect.js.map +0 -1
- package/dist/components/user-action/MultiSelect.mjs +0 -1433
- package/dist/components/user-action/MultiSelect.mjs.map +0 -1
- package/dist/components/user-action/Select.d.mts +0 -41
- package/dist/components/user-action/Select.d.ts +0 -41
- package/dist/components/user-action/Select.js +0 -1236
- package/dist/components/user-action/Select.js.map +0 -1
- package/dist/components/user-action/Select.mjs +0 -1201
- package/dist/components/user-action/Select.mjs.map +0 -1
- package/dist/components/user-action/ToggleableInput.d.mts +0 -37
- package/dist/components/user-action/ToggleableInput.d.ts +0 -37
- package/dist/components/user-action/ToggleableInput.js +0 -192
- package/dist/components/user-action/ToggleableInput.js.map +0 -1
- package/dist/components/user-action/ToggleableInput.mjs +0 -157
- package/dist/components/user-action/ToggleableInput.mjs.map +0 -1
- package/dist/css/uncompiled/textstyles.css +0 -69
- package/dist/hooks/useFocusManagement.js.map +0 -1
- package/dist/hooks/useFocusManagement.mjs.map +0 -1
- package/dist/hooks/useFocusOnceVisible.js.map +0 -1
- package/dist/hooks/useFocusOnceVisible.mjs.map +0 -1
- package/dist/index.d.mts +0 -103
- package/dist/index.d.ts +0 -103
- package/dist/index.js +0 -12610
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -12447
- package/dist/index.mjs.map +0 -1
- package/dist/util/PropsWithFunctionChildren.d.mts +0 -14
- package/dist/util/PropsWithFunctionChildren.d.ts +0 -14
- package/dist/util/PropsWithFunctionChildren.js.map +0 -1
- package/dist/util/PropsWithFunctionChildren.mjs.map +0 -1
- package/dist/util/array.js.map +0 -1
- package/dist/util/array.mjs.map +0 -1
- package/dist/util/builder.js.map +0 -1
- package/dist/util/builder.mjs.map +0 -1
- package/dist/util/date.js.map +0 -1
- package/dist/util/date.mjs.map +0 -1
- package/dist/util/easeFunctions.js.map +0 -1
- package/dist/util/easeFunctions.mjs.map +0 -1
- package/dist/util/emailValidation.js.map +0 -1
- package/dist/util/emailValidation.mjs.map +0 -1
- package/dist/util/loopingArray.js.map +0 -1
- package/dist/util/loopingArray.mjs.map +0 -1
- package/dist/util/math.d.mts +0 -3
- package/dist/util/math.d.ts +0 -3
- package/dist/util/math.js.map +0 -1
- package/dist/util/math.mjs +0 -8
- package/dist/util/math.mjs.map +0 -1
- package/dist/util/news.d.mts +0 -101
- package/dist/util/news.d.ts +0 -101
- package/dist/util/news.js +0 -76
- package/dist/util/news.js.map +0 -1
- package/dist/util/news.mjs +0 -49
- package/dist/util/news.mjs.map +0 -1
- package/dist/util/noop.js.map +0 -1
- package/dist/util/noop.mjs +0 -6
- package/dist/util/noop.mjs.map +0 -1
- package/dist/util/resolveSetState.js.map +0 -1
- package/dist/util/resolveSetState.mjs.map +0 -1
- package/dist/util/simpleSearch.js.map +0 -1
- package/dist/util/simpleSearch.mjs.map +0 -1
- package/dist/util/storage.js.map +0 -1
- package/dist/util/storage.mjs.map +0 -1
- package/dist/util/types.d.mts +0 -3
- package/dist/util/types.d.ts +0 -3
- package/dist/util/types.js +0 -18
- package/dist/util/types.js.map +0 -1
- package/dist/util/types.mjs +0 -1
- package/dist/util/types.mjs.map +0 -1
- package/dist/util/writeToClipboard.js.map +0 -1
- package/dist/util/writeToClipboard.mjs.map +0 -1
- /package/dist/hooks/{useFocusManagement.d.mts → focus/useFocusManagement.d.mts} +0 -0
- /package/dist/hooks/{useFocusManagement.d.ts → focus/useFocusManagement.d.ts} +0 -0
- /package/dist/hooks/{useFocusOnceVisible.d.mts → focus/useFocusOnceVisible.d.mts} +0 -0
- /package/dist/hooks/{useFocusOnceVisible.d.ts → focus/useFocusOnceVisible.d.ts} +0 -0
- /package/dist/{css → style}/uncompiled/theme/colors-basic.css +0 -0
- /package/dist/{css → style}/uncompiled/theme/index.css +0 -0
- /package/dist/{css → style}/uncompiled/theme/variants.css +0 -0
- /package/dist/{css → style}/uncompiled/utitlity/borderradius.css +0 -0
- /package/dist/{css → style}/uncompiled/utitlity/general.css +0 -0
- /package/dist/{util → utils}/builder.d.mts +0 -0
- /package/dist/{util → utils}/builder.d.ts +0 -0
- /package/dist/{util → utils}/date.d.mts +0 -0
- /package/dist/{util → utils}/date.d.ts +0 -0
- /package/dist/{util → utils}/easeFunctions.d.mts +0 -0
- /package/dist/{util → utils}/easeFunctions.d.ts +0 -0
- /package/dist/{util → utils}/emailValidation.d.mts +0 -0
- /package/dist/{util → utils}/emailValidation.d.ts +0 -0
- /package/dist/{util → utils}/loopingArray.d.mts +0 -0
- /package/dist/{util → utils}/loopingArray.d.ts +0 -0
- /package/dist/{util → utils}/noop.d.mts +0 -0
- /package/dist/{util → utils}/noop.d.ts +0 -0
- /package/dist/{util → utils}/resolveSetState.d.mts +0 -0
- /package/dist/{util → utils}/resolveSetState.d.ts +0 -0
- /package/dist/{util → utils}/simpleSearch.d.mts +0 -0
- /package/dist/{util → utils}/simpleSearch.d.ts +0 -0
- /package/dist/{util → utils}/storage.d.mts +0 -0
- /package/dist/{util → utils}/storage.d.ts +0 -0
- /package/dist/{util → utils}/writeToClipboard.d.mts +0 -0
- /package/dist/{util → utils}/writeToClipboard.d.ts +0 -0
|
@@ -1103,6 +1103,527 @@ var require_utils2 = __commonJS({
|
|
|
1103
1103
|
}
|
|
1104
1104
|
});
|
|
1105
1105
|
|
|
1106
|
+
// node_modules/next/dist/compiled/path-to-regexp/index.js
|
|
1107
|
+
var require_path_to_regexp = __commonJS({
|
|
1108
|
+
"node_modules/next/dist/compiled/path-to-regexp/index.js"(exports, module) {
|
|
1109
|
+
(() => {
|
|
1110
|
+
"use strict";
|
|
1111
|
+
if (typeof __nccwpck_require__ !== "undefined") __nccwpck_require__.ab = __dirname + "/";
|
|
1112
|
+
var e = {};
|
|
1113
|
+
(() => {
|
|
1114
|
+
var n = e;
|
|
1115
|
+
Object.defineProperty(n, "__esModule", { value: true });
|
|
1116
|
+
n.pathToRegexp = n.tokensToRegexp = n.regexpToFunction = n.match = n.tokensToFunction = n.compile = n.parse = void 0;
|
|
1117
|
+
function lexer(e2) {
|
|
1118
|
+
var n2 = [];
|
|
1119
|
+
var r = 0;
|
|
1120
|
+
while (r < e2.length) {
|
|
1121
|
+
var t = e2[r];
|
|
1122
|
+
if (t === "*" || t === "+" || t === "?") {
|
|
1123
|
+
n2.push({ type: "MODIFIER", index: r, value: e2[r++] });
|
|
1124
|
+
continue;
|
|
1125
|
+
}
|
|
1126
|
+
if (t === "\\") {
|
|
1127
|
+
n2.push({ type: "ESCAPED_CHAR", index: r++, value: e2[r++] });
|
|
1128
|
+
continue;
|
|
1129
|
+
}
|
|
1130
|
+
if (t === "{") {
|
|
1131
|
+
n2.push({ type: "OPEN", index: r, value: e2[r++] });
|
|
1132
|
+
continue;
|
|
1133
|
+
}
|
|
1134
|
+
if (t === "}") {
|
|
1135
|
+
n2.push({ type: "CLOSE", index: r, value: e2[r++] });
|
|
1136
|
+
continue;
|
|
1137
|
+
}
|
|
1138
|
+
if (t === ":") {
|
|
1139
|
+
var a = "";
|
|
1140
|
+
var i = r + 1;
|
|
1141
|
+
while (i < e2.length) {
|
|
1142
|
+
var o = e2.charCodeAt(i);
|
|
1143
|
+
if (o >= 48 && o <= 57 || o >= 65 && o <= 90 || o >= 97 && o <= 122 || o === 95) {
|
|
1144
|
+
a += e2[i++];
|
|
1145
|
+
continue;
|
|
1146
|
+
}
|
|
1147
|
+
break;
|
|
1148
|
+
}
|
|
1149
|
+
if (!a) throw new TypeError("Missing parameter name at ".concat(r));
|
|
1150
|
+
n2.push({ type: "NAME", index: r, value: a });
|
|
1151
|
+
r = i;
|
|
1152
|
+
continue;
|
|
1153
|
+
}
|
|
1154
|
+
if (t === "(") {
|
|
1155
|
+
var c = 1;
|
|
1156
|
+
var f = "";
|
|
1157
|
+
var i = r + 1;
|
|
1158
|
+
if (e2[i] === "?") {
|
|
1159
|
+
throw new TypeError('Pattern cannot start with "?" at '.concat(i));
|
|
1160
|
+
}
|
|
1161
|
+
while (i < e2.length) {
|
|
1162
|
+
if (e2[i] === "\\") {
|
|
1163
|
+
f += e2[i++] + e2[i++];
|
|
1164
|
+
continue;
|
|
1165
|
+
}
|
|
1166
|
+
if (e2[i] === ")") {
|
|
1167
|
+
c--;
|
|
1168
|
+
if (c === 0) {
|
|
1169
|
+
i++;
|
|
1170
|
+
break;
|
|
1171
|
+
}
|
|
1172
|
+
} else if (e2[i] === "(") {
|
|
1173
|
+
c++;
|
|
1174
|
+
if (e2[i + 1] !== "?") {
|
|
1175
|
+
throw new TypeError("Capturing groups are not allowed at ".concat(i));
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
f += e2[i++];
|
|
1179
|
+
}
|
|
1180
|
+
if (c) throw new TypeError("Unbalanced pattern at ".concat(r));
|
|
1181
|
+
if (!f) throw new TypeError("Missing pattern at ".concat(r));
|
|
1182
|
+
n2.push({ type: "PATTERN", index: r, value: f });
|
|
1183
|
+
r = i;
|
|
1184
|
+
continue;
|
|
1185
|
+
}
|
|
1186
|
+
n2.push({ type: "CHAR", index: r, value: e2[r++] });
|
|
1187
|
+
}
|
|
1188
|
+
n2.push({ type: "END", index: r, value: "" });
|
|
1189
|
+
return n2;
|
|
1190
|
+
}
|
|
1191
|
+
function parse(e2, n2) {
|
|
1192
|
+
if (n2 === void 0) {
|
|
1193
|
+
n2 = {};
|
|
1194
|
+
}
|
|
1195
|
+
var r = lexer(e2);
|
|
1196
|
+
var t = n2.prefixes, a = t === void 0 ? "./" : t, i = n2.delimiter, o = i === void 0 ? "/#?" : i;
|
|
1197
|
+
var c = [];
|
|
1198
|
+
var f = 0;
|
|
1199
|
+
var u = 0;
|
|
1200
|
+
var p = "";
|
|
1201
|
+
var tryConsume = function(e3) {
|
|
1202
|
+
if (u < r.length && r[u].type === e3) return r[u++].value;
|
|
1203
|
+
};
|
|
1204
|
+
var mustConsume = function(e3) {
|
|
1205
|
+
var n3 = tryConsume(e3);
|
|
1206
|
+
if (n3 !== void 0) return n3;
|
|
1207
|
+
var t2 = r[u], a2 = t2.type, i2 = t2.index;
|
|
1208
|
+
throw new TypeError("Unexpected ".concat(a2, " at ").concat(i2, ", expected ").concat(e3));
|
|
1209
|
+
};
|
|
1210
|
+
var consumeText = function() {
|
|
1211
|
+
var e3 = "";
|
|
1212
|
+
var n3;
|
|
1213
|
+
while (n3 = tryConsume("CHAR") || tryConsume("ESCAPED_CHAR")) {
|
|
1214
|
+
e3 += n3;
|
|
1215
|
+
}
|
|
1216
|
+
return e3;
|
|
1217
|
+
};
|
|
1218
|
+
var isSafe = function(e3) {
|
|
1219
|
+
for (var n3 = 0, r2 = o; n3 < r2.length; n3++) {
|
|
1220
|
+
var t2 = r2[n3];
|
|
1221
|
+
if (e3.indexOf(t2) > -1) return true;
|
|
1222
|
+
}
|
|
1223
|
+
return false;
|
|
1224
|
+
};
|
|
1225
|
+
var safePattern = function(e3) {
|
|
1226
|
+
var n3 = c[c.length - 1];
|
|
1227
|
+
var r2 = e3 || (n3 && typeof n3 === "string" ? n3 : "");
|
|
1228
|
+
if (n3 && !r2) {
|
|
1229
|
+
throw new TypeError('Must have text between two parameters, missing text after "'.concat(n3.name, '"'));
|
|
1230
|
+
}
|
|
1231
|
+
if (!r2 || isSafe(r2)) return "[^".concat(escapeString(o), "]+?");
|
|
1232
|
+
return "(?:(?!".concat(escapeString(r2), ")[^").concat(escapeString(o), "])+?");
|
|
1233
|
+
};
|
|
1234
|
+
while (u < r.length) {
|
|
1235
|
+
var v = tryConsume("CHAR");
|
|
1236
|
+
var s = tryConsume("NAME");
|
|
1237
|
+
var d = tryConsume("PATTERN");
|
|
1238
|
+
if (s || d) {
|
|
1239
|
+
var g = v || "";
|
|
1240
|
+
if (a.indexOf(g) === -1) {
|
|
1241
|
+
p += g;
|
|
1242
|
+
g = "";
|
|
1243
|
+
}
|
|
1244
|
+
if (p) {
|
|
1245
|
+
c.push(p);
|
|
1246
|
+
p = "";
|
|
1247
|
+
}
|
|
1248
|
+
c.push({ name: s || f++, prefix: g, suffix: "", pattern: d || safePattern(g), modifier: tryConsume("MODIFIER") || "" });
|
|
1249
|
+
continue;
|
|
1250
|
+
}
|
|
1251
|
+
var x = v || tryConsume("ESCAPED_CHAR");
|
|
1252
|
+
if (x) {
|
|
1253
|
+
p += x;
|
|
1254
|
+
continue;
|
|
1255
|
+
}
|
|
1256
|
+
if (p) {
|
|
1257
|
+
c.push(p);
|
|
1258
|
+
p = "";
|
|
1259
|
+
}
|
|
1260
|
+
var h = tryConsume("OPEN");
|
|
1261
|
+
if (h) {
|
|
1262
|
+
var g = consumeText();
|
|
1263
|
+
var l = tryConsume("NAME") || "";
|
|
1264
|
+
var m = tryConsume("PATTERN") || "";
|
|
1265
|
+
var T = consumeText();
|
|
1266
|
+
mustConsume("CLOSE");
|
|
1267
|
+
c.push({ name: l || (m ? f++ : ""), pattern: l && !m ? safePattern(g) : m, prefix: g, suffix: T, modifier: tryConsume("MODIFIER") || "" });
|
|
1268
|
+
continue;
|
|
1269
|
+
}
|
|
1270
|
+
mustConsume("END");
|
|
1271
|
+
}
|
|
1272
|
+
return c;
|
|
1273
|
+
}
|
|
1274
|
+
n.parse = parse;
|
|
1275
|
+
function compile(e2, n2) {
|
|
1276
|
+
return tokensToFunction(parse(e2, n2), n2);
|
|
1277
|
+
}
|
|
1278
|
+
n.compile = compile;
|
|
1279
|
+
function tokensToFunction(e2, n2) {
|
|
1280
|
+
if (n2 === void 0) {
|
|
1281
|
+
n2 = {};
|
|
1282
|
+
}
|
|
1283
|
+
var r = flags(n2);
|
|
1284
|
+
var t = n2.encode, a = t === void 0 ? function(e3) {
|
|
1285
|
+
return e3;
|
|
1286
|
+
} : t, i = n2.validate, o = i === void 0 ? true : i;
|
|
1287
|
+
var c = e2.map(function(e3) {
|
|
1288
|
+
if (typeof e3 === "object") {
|
|
1289
|
+
return new RegExp("^(?:".concat(e3.pattern, ")$"), r);
|
|
1290
|
+
}
|
|
1291
|
+
});
|
|
1292
|
+
return function(n3) {
|
|
1293
|
+
var r2 = "";
|
|
1294
|
+
for (var t2 = 0; t2 < e2.length; t2++) {
|
|
1295
|
+
var i2 = e2[t2];
|
|
1296
|
+
if (typeof i2 === "string") {
|
|
1297
|
+
r2 += i2;
|
|
1298
|
+
continue;
|
|
1299
|
+
}
|
|
1300
|
+
var f = n3 ? n3[i2.name] : void 0;
|
|
1301
|
+
var u = i2.modifier === "?" || i2.modifier === "*";
|
|
1302
|
+
var p = i2.modifier === "*" || i2.modifier === "+";
|
|
1303
|
+
if (Array.isArray(f)) {
|
|
1304
|
+
if (!p) {
|
|
1305
|
+
throw new TypeError('Expected "'.concat(i2.name, '" to not repeat, but got an array'));
|
|
1306
|
+
}
|
|
1307
|
+
if (f.length === 0) {
|
|
1308
|
+
if (u) continue;
|
|
1309
|
+
throw new TypeError('Expected "'.concat(i2.name, '" to not be empty'));
|
|
1310
|
+
}
|
|
1311
|
+
for (var v = 0; v < f.length; v++) {
|
|
1312
|
+
var s = a(f[v], i2);
|
|
1313
|
+
if (o && !c[t2].test(s)) {
|
|
1314
|
+
throw new TypeError('Expected all "'.concat(i2.name, '" to match "').concat(i2.pattern, '", but got "').concat(s, '"'));
|
|
1315
|
+
}
|
|
1316
|
+
r2 += i2.prefix + s + i2.suffix;
|
|
1317
|
+
}
|
|
1318
|
+
continue;
|
|
1319
|
+
}
|
|
1320
|
+
if (typeof f === "string" || typeof f === "number") {
|
|
1321
|
+
var s = a(String(f), i2);
|
|
1322
|
+
if (o && !c[t2].test(s)) {
|
|
1323
|
+
throw new TypeError('Expected "'.concat(i2.name, '" to match "').concat(i2.pattern, '", but got "').concat(s, '"'));
|
|
1324
|
+
}
|
|
1325
|
+
r2 += i2.prefix + s + i2.suffix;
|
|
1326
|
+
continue;
|
|
1327
|
+
}
|
|
1328
|
+
if (u) continue;
|
|
1329
|
+
var d = p ? "an array" : "a string";
|
|
1330
|
+
throw new TypeError('Expected "'.concat(i2.name, '" to be ').concat(d));
|
|
1331
|
+
}
|
|
1332
|
+
return r2;
|
|
1333
|
+
};
|
|
1334
|
+
}
|
|
1335
|
+
n.tokensToFunction = tokensToFunction;
|
|
1336
|
+
function match(e2, n2) {
|
|
1337
|
+
var r = [];
|
|
1338
|
+
var t = pathToRegexp(e2, r, n2);
|
|
1339
|
+
return regexpToFunction(t, r, n2);
|
|
1340
|
+
}
|
|
1341
|
+
n.match = match;
|
|
1342
|
+
function regexpToFunction(e2, n2, r) {
|
|
1343
|
+
if (r === void 0) {
|
|
1344
|
+
r = {};
|
|
1345
|
+
}
|
|
1346
|
+
var t = r.decode, a = t === void 0 ? function(e3) {
|
|
1347
|
+
return e3;
|
|
1348
|
+
} : t;
|
|
1349
|
+
return function(r2) {
|
|
1350
|
+
var t2 = e2.exec(r2);
|
|
1351
|
+
if (!t2) return false;
|
|
1352
|
+
var i = t2[0], o = t2.index;
|
|
1353
|
+
var c = /* @__PURE__ */ Object.create(null);
|
|
1354
|
+
var _loop_1 = function(e3) {
|
|
1355
|
+
if (t2[e3] === void 0) return "continue";
|
|
1356
|
+
var r3 = n2[e3 - 1];
|
|
1357
|
+
if (r3.modifier === "*" || r3.modifier === "+") {
|
|
1358
|
+
c[r3.name] = t2[e3].split(r3.prefix + r3.suffix).map(function(e4) {
|
|
1359
|
+
return a(e4, r3);
|
|
1360
|
+
});
|
|
1361
|
+
} else {
|
|
1362
|
+
c[r3.name] = a(t2[e3], r3);
|
|
1363
|
+
}
|
|
1364
|
+
};
|
|
1365
|
+
for (var f = 1; f < t2.length; f++) {
|
|
1366
|
+
_loop_1(f);
|
|
1367
|
+
}
|
|
1368
|
+
return { path: i, index: o, params: c };
|
|
1369
|
+
};
|
|
1370
|
+
}
|
|
1371
|
+
n.regexpToFunction = regexpToFunction;
|
|
1372
|
+
function escapeString(e2) {
|
|
1373
|
+
return e2.replace(/([.+*?=^!:${}()[\]|/\\])/g, "\\$1");
|
|
1374
|
+
}
|
|
1375
|
+
function flags(e2) {
|
|
1376
|
+
return e2 && e2.sensitive ? "" : "i";
|
|
1377
|
+
}
|
|
1378
|
+
function regexpToRegexp(e2, n2) {
|
|
1379
|
+
if (!n2) return e2;
|
|
1380
|
+
var r = /\((?:\?<(.*?)>)?(?!\?)/g;
|
|
1381
|
+
var t = 0;
|
|
1382
|
+
var a = r.exec(e2.source);
|
|
1383
|
+
while (a) {
|
|
1384
|
+
n2.push({ name: a[1] || t++, prefix: "", suffix: "", modifier: "", pattern: "" });
|
|
1385
|
+
a = r.exec(e2.source);
|
|
1386
|
+
}
|
|
1387
|
+
return e2;
|
|
1388
|
+
}
|
|
1389
|
+
function arrayToRegexp(e2, n2, r) {
|
|
1390
|
+
var t = e2.map(function(e3) {
|
|
1391
|
+
return pathToRegexp(e3, n2, r).source;
|
|
1392
|
+
});
|
|
1393
|
+
return new RegExp("(?:".concat(t.join("|"), ")"), flags(r));
|
|
1394
|
+
}
|
|
1395
|
+
function stringToRegexp(e2, n2, r) {
|
|
1396
|
+
return tokensToRegexp(parse(e2, r), n2, r);
|
|
1397
|
+
}
|
|
1398
|
+
function tokensToRegexp(e2, n2, r) {
|
|
1399
|
+
if (r === void 0) {
|
|
1400
|
+
r = {};
|
|
1401
|
+
}
|
|
1402
|
+
var t = r.strict, a = t === void 0 ? false : t, i = r.start, o = i === void 0 ? true : i, c = r.end, f = c === void 0 ? true : c, u = r.encode, p = u === void 0 ? function(e3) {
|
|
1403
|
+
return e3;
|
|
1404
|
+
} : u, v = r.delimiter, s = v === void 0 ? "/#?" : v, d = r.endsWith, g = d === void 0 ? "" : d;
|
|
1405
|
+
var x = "[".concat(escapeString(g), "]|$");
|
|
1406
|
+
var h = "[".concat(escapeString(s), "]");
|
|
1407
|
+
var l = o ? "^" : "";
|
|
1408
|
+
for (var m = 0, T = e2; m < T.length; m++) {
|
|
1409
|
+
var E = T[m];
|
|
1410
|
+
if (typeof E === "string") {
|
|
1411
|
+
l += escapeString(p(E));
|
|
1412
|
+
} else {
|
|
1413
|
+
var w = escapeString(p(E.prefix));
|
|
1414
|
+
var y = escapeString(p(E.suffix));
|
|
1415
|
+
if (E.pattern) {
|
|
1416
|
+
if (n2) n2.push(E);
|
|
1417
|
+
if (w || y) {
|
|
1418
|
+
if (E.modifier === "+" || E.modifier === "*") {
|
|
1419
|
+
var R = E.modifier === "*" ? "?" : "";
|
|
1420
|
+
l += "(?:".concat(w, "((?:").concat(E.pattern, ")(?:").concat(y).concat(w, "(?:").concat(E.pattern, "))*)").concat(y, ")").concat(R);
|
|
1421
|
+
} else {
|
|
1422
|
+
l += "(?:".concat(w, "(").concat(E.pattern, ")").concat(y, ")").concat(E.modifier);
|
|
1423
|
+
}
|
|
1424
|
+
} else {
|
|
1425
|
+
if (E.modifier === "+" || E.modifier === "*") {
|
|
1426
|
+
throw new TypeError('Can not repeat "'.concat(E.name, '" without a prefix and suffix'));
|
|
1427
|
+
}
|
|
1428
|
+
l += "(".concat(E.pattern, ")").concat(E.modifier);
|
|
1429
|
+
}
|
|
1430
|
+
} else {
|
|
1431
|
+
l += "(?:".concat(w).concat(y, ")").concat(E.modifier);
|
|
1432
|
+
}
|
|
1433
|
+
}
|
|
1434
|
+
}
|
|
1435
|
+
if (f) {
|
|
1436
|
+
if (!a) l += "".concat(h, "?");
|
|
1437
|
+
l += !r.endsWith ? "$" : "(?=".concat(x, ")");
|
|
1438
|
+
} else {
|
|
1439
|
+
var A = e2[e2.length - 1];
|
|
1440
|
+
var _ = typeof A === "string" ? h.indexOf(A[A.length - 1]) > -1 : A === void 0;
|
|
1441
|
+
if (!a) {
|
|
1442
|
+
l += "(?:".concat(h, "(?=").concat(x, "))?");
|
|
1443
|
+
}
|
|
1444
|
+
if (!_) {
|
|
1445
|
+
l += "(?=".concat(h, "|").concat(x, ")");
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
return new RegExp(l, flags(r));
|
|
1449
|
+
}
|
|
1450
|
+
n.tokensToRegexp = tokensToRegexp;
|
|
1451
|
+
function pathToRegexp(e2, n2, r) {
|
|
1452
|
+
if (e2 instanceof RegExp) return regexpToRegexp(e2, n2);
|
|
1453
|
+
if (Array.isArray(e2)) return arrayToRegexp(e2, n2, r);
|
|
1454
|
+
return stringToRegexp(e2, n2, r);
|
|
1455
|
+
}
|
|
1456
|
+
n.pathToRegexp = pathToRegexp;
|
|
1457
|
+
})();
|
|
1458
|
+
module.exports = e;
|
|
1459
|
+
})();
|
|
1460
|
+
}
|
|
1461
|
+
});
|
|
1462
|
+
|
|
1463
|
+
// node_modules/next/dist/lib/route-pattern-normalizer.js
|
|
1464
|
+
var require_route_pattern_normalizer = __commonJS({
|
|
1465
|
+
"node_modules/next/dist/lib/route-pattern-normalizer.js"(exports) {
|
|
1466
|
+
"use strict";
|
|
1467
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1468
|
+
value: true
|
|
1469
|
+
});
|
|
1470
|
+
function _export(target, all) {
|
|
1471
|
+
for (var name in all) Object.defineProperty(target, name, {
|
|
1472
|
+
enumerable: true,
|
|
1473
|
+
get: all[name]
|
|
1474
|
+
});
|
|
1475
|
+
}
|
|
1476
|
+
_export(exports, {
|
|
1477
|
+
hasAdjacentParameterIssues: function() {
|
|
1478
|
+
return hasAdjacentParameterIssues;
|
|
1479
|
+
},
|
|
1480
|
+
normalizeAdjacentParameters: function() {
|
|
1481
|
+
return normalizeAdjacentParameters;
|
|
1482
|
+
},
|
|
1483
|
+
normalizeTokensForRegexp: function() {
|
|
1484
|
+
return normalizeTokensForRegexp;
|
|
1485
|
+
},
|
|
1486
|
+
stripParameterSeparators: function() {
|
|
1487
|
+
return stripParameterSeparators;
|
|
1488
|
+
}
|
|
1489
|
+
});
|
|
1490
|
+
var PARAM_SEPARATOR = "_NEXTSEP_";
|
|
1491
|
+
function hasAdjacentParameterIssues(route) {
|
|
1492
|
+
if (typeof route !== "string") return false;
|
|
1493
|
+
if (/\/\(\.{1,3}\):[^/\s]+/.test(route)) {
|
|
1494
|
+
return true;
|
|
1495
|
+
}
|
|
1496
|
+
if (/:[a-zA-Z_][a-zA-Z0-9_]*:[a-zA-Z_][a-zA-Z0-9_]*/.test(route)) {
|
|
1497
|
+
return true;
|
|
1498
|
+
}
|
|
1499
|
+
return false;
|
|
1500
|
+
}
|
|
1501
|
+
function normalizeAdjacentParameters(route) {
|
|
1502
|
+
let normalized = route;
|
|
1503
|
+
normalized = normalized.replace(/(\([^)]*\)):([^/\s]+)/g, `$1${PARAM_SEPARATOR}:$2`);
|
|
1504
|
+
normalized = normalized.replace(/:([^:/\s)]+)(?=:)/g, `:$1${PARAM_SEPARATOR}`);
|
|
1505
|
+
return normalized;
|
|
1506
|
+
}
|
|
1507
|
+
function normalizeTokensForRegexp(tokens) {
|
|
1508
|
+
return tokens.map((token) => {
|
|
1509
|
+
if (typeof token === "object" && token !== null && // Not all token objects have 'modifier' property (e.g., simple text tokens)
|
|
1510
|
+
"modifier" in token && // Only repeating modifiers (* or +) cause the validation error
|
|
1511
|
+
// Other modifiers like '?' (optional) are fine
|
|
1512
|
+
(token.modifier === "*" || token.modifier === "+") && // Token objects can have different shapes depending on route pattern
|
|
1513
|
+
"prefix" in token && "suffix" in token && // Both prefix and suffix must be empty strings
|
|
1514
|
+
// This is what causes the validation error in path-to-regexp
|
|
1515
|
+
token.prefix === "" && token.suffix === "") {
|
|
1516
|
+
return {
|
|
1517
|
+
...token,
|
|
1518
|
+
prefix: "/"
|
|
1519
|
+
};
|
|
1520
|
+
}
|
|
1521
|
+
return token;
|
|
1522
|
+
});
|
|
1523
|
+
}
|
|
1524
|
+
function stripParameterSeparators(params) {
|
|
1525
|
+
const cleaned = {};
|
|
1526
|
+
for (const [key, value] of Object.entries(params)) {
|
|
1527
|
+
if (typeof value === "string") {
|
|
1528
|
+
cleaned[key] = value.replace(new RegExp(`^${PARAM_SEPARATOR}`), "");
|
|
1529
|
+
} else if (Array.isArray(value)) {
|
|
1530
|
+
cleaned[key] = value.map((item) => typeof item === "string" ? item.replace(new RegExp(`^${PARAM_SEPARATOR}`), "") : item);
|
|
1531
|
+
} else {
|
|
1532
|
+
cleaned[key] = value;
|
|
1533
|
+
}
|
|
1534
|
+
}
|
|
1535
|
+
return cleaned;
|
|
1536
|
+
}
|
|
1537
|
+
}
|
|
1538
|
+
});
|
|
1539
|
+
|
|
1540
|
+
// node_modules/next/dist/shared/lib/router/utils/route-match-utils.js
|
|
1541
|
+
var require_route_match_utils = __commonJS({
|
|
1542
|
+
"node_modules/next/dist/shared/lib/router/utils/route-match-utils.js"(exports) {
|
|
1543
|
+
"use strict";
|
|
1544
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1545
|
+
value: true
|
|
1546
|
+
});
|
|
1547
|
+
function _export(target, all) {
|
|
1548
|
+
for (var name in all) Object.defineProperty(target, name, {
|
|
1549
|
+
enumerable: true,
|
|
1550
|
+
get: all[name]
|
|
1551
|
+
});
|
|
1552
|
+
}
|
|
1553
|
+
_export(exports, {
|
|
1554
|
+
safeCompile: function() {
|
|
1555
|
+
return safeCompile;
|
|
1556
|
+
},
|
|
1557
|
+
safePathToRegexp: function() {
|
|
1558
|
+
return safePathToRegexp;
|
|
1559
|
+
},
|
|
1560
|
+
safeRegexpToFunction: function() {
|
|
1561
|
+
return safeRegexpToFunction;
|
|
1562
|
+
},
|
|
1563
|
+
safeRouteMatcher: function() {
|
|
1564
|
+
return safeRouteMatcher;
|
|
1565
|
+
}
|
|
1566
|
+
});
|
|
1567
|
+
var _pathtoregexp = require_path_to_regexp();
|
|
1568
|
+
var _routepatternnormalizer = require_route_pattern_normalizer();
|
|
1569
|
+
function safePathToRegexp(route, keys, options) {
|
|
1570
|
+
if (typeof route !== "string") {
|
|
1571
|
+
return (0, _pathtoregexp.pathToRegexp)(route, keys, options);
|
|
1572
|
+
}
|
|
1573
|
+
const needsNormalization = (0, _routepatternnormalizer.hasAdjacentParameterIssues)(route);
|
|
1574
|
+
const routeToUse = needsNormalization ? (0, _routepatternnormalizer.normalizeAdjacentParameters)(route) : route;
|
|
1575
|
+
try {
|
|
1576
|
+
return (0, _pathtoregexp.pathToRegexp)(routeToUse, keys, options);
|
|
1577
|
+
} catch (error) {
|
|
1578
|
+
if (!needsNormalization) {
|
|
1579
|
+
try {
|
|
1580
|
+
const normalizedRoute = (0, _routepatternnormalizer.normalizeAdjacentParameters)(route);
|
|
1581
|
+
return (0, _pathtoregexp.pathToRegexp)(normalizedRoute, keys, options);
|
|
1582
|
+
} catch (retryError) {
|
|
1583
|
+
throw error;
|
|
1584
|
+
}
|
|
1585
|
+
}
|
|
1586
|
+
throw error;
|
|
1587
|
+
}
|
|
1588
|
+
}
|
|
1589
|
+
function safeCompile(route, options) {
|
|
1590
|
+
const needsNormalization = (0, _routepatternnormalizer.hasAdjacentParameterIssues)(route);
|
|
1591
|
+
const routeToUse = needsNormalization ? (0, _routepatternnormalizer.normalizeAdjacentParameters)(route) : route;
|
|
1592
|
+
try {
|
|
1593
|
+
return (0, _pathtoregexp.compile)(routeToUse, options);
|
|
1594
|
+
} catch (error) {
|
|
1595
|
+
if (!needsNormalization) {
|
|
1596
|
+
try {
|
|
1597
|
+
const normalizedRoute = (0, _routepatternnormalizer.normalizeAdjacentParameters)(route);
|
|
1598
|
+
return (0, _pathtoregexp.compile)(normalizedRoute, options);
|
|
1599
|
+
} catch (retryError) {
|
|
1600
|
+
throw error;
|
|
1601
|
+
}
|
|
1602
|
+
}
|
|
1603
|
+
throw error;
|
|
1604
|
+
}
|
|
1605
|
+
}
|
|
1606
|
+
function safeRegexpToFunction(regexp, keys) {
|
|
1607
|
+
const originalMatcher = (0, _pathtoregexp.regexpToFunction)(regexp, keys || []);
|
|
1608
|
+
return (pathname) => {
|
|
1609
|
+
const result = originalMatcher(pathname);
|
|
1610
|
+
if (!result) return false;
|
|
1611
|
+
return {
|
|
1612
|
+
...result,
|
|
1613
|
+
params: (0, _routepatternnormalizer.stripParameterSeparators)(result.params)
|
|
1614
|
+
};
|
|
1615
|
+
};
|
|
1616
|
+
}
|
|
1617
|
+
function safeRouteMatcher(matcherFn) {
|
|
1618
|
+
return (pathname) => {
|
|
1619
|
+
const result = matcherFn(pathname);
|
|
1620
|
+
if (!result) return false;
|
|
1621
|
+
return (0, _routepatternnormalizer.stripParameterSeparators)(result);
|
|
1622
|
+
};
|
|
1623
|
+
}
|
|
1624
|
+
}
|
|
1625
|
+
});
|
|
1626
|
+
|
|
1106
1627
|
// node_modules/next/dist/shared/lib/router/utils/route-matcher.js
|
|
1107
1628
|
var require_route_matcher = __commonJS({
|
|
1108
1629
|
"node_modules/next/dist/shared/lib/router/utils/route-matcher.js"(exports) {
|
|
@@ -1117,9 +1638,10 @@ var require_route_matcher = __commonJS({
|
|
|
1117
1638
|
}
|
|
1118
1639
|
});
|
|
1119
1640
|
var _utils = require_utils();
|
|
1641
|
+
var _routematchutils = require_route_match_utils();
|
|
1120
1642
|
function getRouteMatcher(param) {
|
|
1121
1643
|
let { re, groups } = param;
|
|
1122
|
-
|
|
1644
|
+
const rawMatcher = (pathname) => {
|
|
1123
1645
|
const routeMatch = re.exec(pathname);
|
|
1124
1646
|
if (!routeMatch) return false;
|
|
1125
1647
|
const decode = (param2) => {
|
|
@@ -1146,6 +1668,7 @@ var require_route_matcher = __commonJS({
|
|
|
1146
1668
|
}
|
|
1147
1669
|
return params;
|
|
1148
1670
|
};
|
|
1671
|
+
return (0, _routematchutils.safeRouteMatcher)(rawMatcher);
|
|
1149
1672
|
}
|
|
1150
1673
|
}
|
|
1151
1674
|
});
|
|
@@ -1188,12 +1711,18 @@ var require_constants = __commonJS({
|
|
|
1188
1711
|
GSSP_NO_RETURNED_VALUE: function() {
|
|
1189
1712
|
return GSSP_NO_RETURNED_VALUE;
|
|
1190
1713
|
},
|
|
1714
|
+
HTML_CONTENT_TYPE_HEADER: function() {
|
|
1715
|
+
return HTML_CONTENT_TYPE_HEADER;
|
|
1716
|
+
},
|
|
1191
1717
|
INFINITE_CACHE: function() {
|
|
1192
1718
|
return INFINITE_CACHE;
|
|
1193
1719
|
},
|
|
1194
1720
|
INSTRUMENTATION_HOOK_FILENAME: function() {
|
|
1195
1721
|
return INSTRUMENTATION_HOOK_FILENAME;
|
|
1196
1722
|
},
|
|
1723
|
+
JSON_CONTENT_TYPE_HEADER: function() {
|
|
1724
|
+
return JSON_CONTENT_TYPE_HEADER;
|
|
1725
|
+
},
|
|
1197
1726
|
MATCHED_PATH_HEADER: function() {
|
|
1198
1727
|
return MATCHED_PATH_HEADER;
|
|
1199
1728
|
},
|
|
@@ -1275,6 +1804,9 @@ var require_constants = __commonJS({
|
|
|
1275
1804
|
RSC_CACHE_WRAPPER_ALIAS: function() {
|
|
1276
1805
|
return RSC_CACHE_WRAPPER_ALIAS;
|
|
1277
1806
|
},
|
|
1807
|
+
RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS: function() {
|
|
1808
|
+
return RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS;
|
|
1809
|
+
},
|
|
1278
1810
|
RSC_MOD_REF_PROXY_ALIAS: function() {
|
|
1279
1811
|
return RSC_MOD_REF_PROXY_ALIAS;
|
|
1280
1812
|
},
|
|
@@ -1311,6 +1843,9 @@ var require_constants = __commonJS({
|
|
|
1311
1843
|
STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR: function() {
|
|
1312
1844
|
return STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR;
|
|
1313
1845
|
},
|
|
1846
|
+
TEXT_PLAIN_CONTENT_TYPE_HEADER: function() {
|
|
1847
|
+
return TEXT_PLAIN_CONTENT_TYPE_HEADER;
|
|
1848
|
+
},
|
|
1314
1849
|
UNSTABLE_REVALIDATE_RENAME_ERROR: function() {
|
|
1315
1850
|
return UNSTABLE_REVALIDATE_RENAME_ERROR;
|
|
1316
1851
|
},
|
|
@@ -1321,6 +1856,9 @@ var require_constants = __commonJS({
|
|
|
1321
1856
|
return WEBPACK_RESOURCE_QUERIES;
|
|
1322
1857
|
}
|
|
1323
1858
|
});
|
|
1859
|
+
var TEXT_PLAIN_CONTENT_TYPE_HEADER = "text/plain";
|
|
1860
|
+
var HTML_CONTENT_TYPE_HEADER = "text/html; charset=utf-8";
|
|
1861
|
+
var JSON_CONTENT_TYPE_HEADER = "application/json; charset=utf-8";
|
|
1324
1862
|
var NEXT_QUERY_PARAM_PREFIX = "nxtP";
|
|
1325
1863
|
var NEXT_INTERCEPTION_MARKER_PREFIX = "nxtI";
|
|
1326
1864
|
var MATCHED_PATH_HEADER = "x-matched-path";
|
|
@@ -1355,6 +1893,7 @@ var require_constants = __commonJS({
|
|
|
1355
1893
|
var RSC_ACTION_VALIDATE_ALIAS = "private-next-rsc-action-validate";
|
|
1356
1894
|
var RSC_ACTION_PROXY_ALIAS = "private-next-rsc-server-reference";
|
|
1357
1895
|
var RSC_CACHE_WRAPPER_ALIAS = "private-next-rsc-cache-wrapper";
|
|
1896
|
+
var RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS = "private-next-rsc-track-dynamic-import";
|
|
1358
1897
|
var RSC_ACTION_ENCRYPTION_ALIAS = "private-next-rsc-action-encryption";
|
|
1359
1898
|
var RSC_ACTION_CLIENT_WRAPPER_ALIAS = "private-next-rsc-action-client-wrapper";
|
|
1360
1899
|
var PUBLIC_DIR_MIDDLEWARE_CONFLICT = `You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict`;
|
|
@@ -1509,9 +2048,9 @@ var require_escape_regexp = __commonJS({
|
|
|
1509
2048
|
}
|
|
1510
2049
|
});
|
|
1511
2050
|
|
|
1512
|
-
// node_modules/next/dist/shared/lib/router/utils/
|
|
1513
|
-
var
|
|
1514
|
-
"node_modules/next/dist/shared/lib/router/utils/
|
|
2051
|
+
// node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js
|
|
2052
|
+
var require_get_dynamic_param = __commonJS({
|
|
2053
|
+
"node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js"(exports) {
|
|
1515
2054
|
"use strict";
|
|
1516
2055
|
Object.defineProperty(exports, "__esModule", {
|
|
1517
2056
|
value: true
|
|
@@ -1523,23 +2062,75 @@ var require_route_regex = __commonJS({
|
|
|
1523
2062
|
});
|
|
1524
2063
|
}
|
|
1525
2064
|
_export(exports, {
|
|
1526
|
-
|
|
1527
|
-
return
|
|
2065
|
+
PARAMETER_PATTERN: function() {
|
|
2066
|
+
return PARAMETER_PATTERN;
|
|
1528
2067
|
},
|
|
1529
|
-
|
|
1530
|
-
return
|
|
2068
|
+
getDynamicParam: function() {
|
|
2069
|
+
return getDynamicParam;
|
|
1531
2070
|
},
|
|
1532
|
-
|
|
1533
|
-
return
|
|
2071
|
+
parseMatchedParameter: function() {
|
|
2072
|
+
return parseMatchedParameter;
|
|
1534
2073
|
},
|
|
1535
2074
|
parseParameter: function() {
|
|
1536
2075
|
return parseParameter;
|
|
1537
2076
|
}
|
|
1538
2077
|
});
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
2078
|
+
function getDynamicParam(params, segmentKey, dynamicParamType, pagePath, fallbackRouteParams) {
|
|
2079
|
+
let value = params[segmentKey];
|
|
2080
|
+
if (fallbackRouteParams && fallbackRouteParams.has(segmentKey)) {
|
|
2081
|
+
value = fallbackRouteParams.get(segmentKey);
|
|
2082
|
+
} else if (Array.isArray(value)) {
|
|
2083
|
+
value = value.map((i) => encodeURIComponent(i));
|
|
2084
|
+
} else if (typeof value === "string") {
|
|
2085
|
+
value = encodeURIComponent(value);
|
|
2086
|
+
}
|
|
2087
|
+
if (!value) {
|
|
2088
|
+
const isCatchall = dynamicParamType === "c";
|
|
2089
|
+
const isOptionalCatchall = dynamicParamType === "oc";
|
|
2090
|
+
if (isCatchall || isOptionalCatchall) {
|
|
2091
|
+
if (isOptionalCatchall) {
|
|
2092
|
+
return {
|
|
2093
|
+
param: segmentKey,
|
|
2094
|
+
value: null,
|
|
2095
|
+
type: dynamicParamType,
|
|
2096
|
+
treeSegment: [
|
|
2097
|
+
segmentKey,
|
|
2098
|
+
"",
|
|
2099
|
+
dynamicParamType
|
|
2100
|
+
]
|
|
2101
|
+
};
|
|
2102
|
+
}
|
|
2103
|
+
value = pagePath.split("/").slice(1).flatMap((pathSegment) => {
|
|
2104
|
+
const param = parseParameter(pathSegment);
|
|
2105
|
+
var _params_param_key;
|
|
2106
|
+
return (_params_param_key = params[param.key]) != null ? _params_param_key : param.key;
|
|
2107
|
+
});
|
|
2108
|
+
return {
|
|
2109
|
+
param: segmentKey,
|
|
2110
|
+
value,
|
|
2111
|
+
type: dynamicParamType,
|
|
2112
|
+
// This value always has to be a string.
|
|
2113
|
+
treeSegment: [
|
|
2114
|
+
segmentKey,
|
|
2115
|
+
value.join("/"),
|
|
2116
|
+
dynamicParamType
|
|
2117
|
+
]
|
|
2118
|
+
};
|
|
2119
|
+
}
|
|
2120
|
+
}
|
|
2121
|
+
return {
|
|
2122
|
+
param: segmentKey,
|
|
2123
|
+
// The value that is passed to user code.
|
|
2124
|
+
value,
|
|
2125
|
+
// The value that is rendered in the router tree.
|
|
2126
|
+
treeSegment: [
|
|
2127
|
+
segmentKey,
|
|
2128
|
+
Array.isArray(value) ? value.join("/") : value,
|
|
2129
|
+
dynamicParamType
|
|
2130
|
+
],
|
|
2131
|
+
type: dynamicParamType
|
|
2132
|
+
};
|
|
2133
|
+
}
|
|
1543
2134
|
var PARAMETER_PATTERN = /^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;
|
|
1544
2135
|
function parseParameter(param) {
|
|
1545
2136
|
const match = param.match(PARAMETER_PATTERN);
|
|
@@ -1563,15 +2154,47 @@ var require_route_regex = __commonJS({
|
|
|
1563
2154
|
optional
|
|
1564
2155
|
};
|
|
1565
2156
|
}
|
|
2157
|
+
}
|
|
2158
|
+
});
|
|
2159
|
+
|
|
2160
|
+
// node_modules/next/dist/shared/lib/router/utils/route-regex.js
|
|
2161
|
+
var require_route_regex = __commonJS({
|
|
2162
|
+
"node_modules/next/dist/shared/lib/router/utils/route-regex.js"(exports) {
|
|
2163
|
+
"use strict";
|
|
2164
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2165
|
+
value: true
|
|
2166
|
+
});
|
|
2167
|
+
function _export(target, all) {
|
|
2168
|
+
for (var name in all) Object.defineProperty(target, name, {
|
|
2169
|
+
enumerable: true,
|
|
2170
|
+
get: all[name]
|
|
2171
|
+
});
|
|
2172
|
+
}
|
|
2173
|
+
_export(exports, {
|
|
2174
|
+
getNamedMiddlewareRegex: function() {
|
|
2175
|
+
return getNamedMiddlewareRegex;
|
|
2176
|
+
},
|
|
2177
|
+
getNamedRouteRegex: function() {
|
|
2178
|
+
return getNamedRouteRegex;
|
|
2179
|
+
},
|
|
2180
|
+
getRouteRegex: function() {
|
|
2181
|
+
return getRouteRegex;
|
|
2182
|
+
}
|
|
2183
|
+
});
|
|
2184
|
+
var _constants = require_constants();
|
|
2185
|
+
var _interceptionroutes = require_interception_routes();
|
|
2186
|
+
var _escaperegexp = require_escape_regexp();
|
|
2187
|
+
var _removetrailingslash = require_remove_trailing_slash();
|
|
2188
|
+
var _getdynamicparam = require_get_dynamic_param();
|
|
1566
2189
|
function getParametrizedRoute(route, includeSuffix, includePrefix) {
|
|
1567
2190
|
const groups = {};
|
|
1568
2191
|
let groupIndex = 1;
|
|
1569
2192
|
const segments = [];
|
|
1570
2193
|
for (const segment of (0, _removetrailingslash.removeTrailingSlash)(route).slice(1).split("/")) {
|
|
1571
2194
|
const markerMatch = _interceptionroutes.INTERCEPTION_ROUTE_MARKERS.find((m) => segment.startsWith(m));
|
|
1572
|
-
const paramMatches = segment.match(PARAMETER_PATTERN);
|
|
2195
|
+
const paramMatches = segment.match(_getdynamicparam.PARAMETER_PATTERN);
|
|
1573
2196
|
if (markerMatch && paramMatches && paramMatches[2]) {
|
|
1574
|
-
const { key, optional, repeat } = parseMatchedParameter(paramMatches[2]);
|
|
2197
|
+
const { key, optional, repeat } = (0, _getdynamicparam.parseMatchedParameter)(paramMatches[2]);
|
|
1575
2198
|
groups[key] = {
|
|
1576
2199
|
pos: groupIndex++,
|
|
1577
2200
|
repeat,
|
|
@@ -1579,7 +2202,7 @@ var require_route_regex = __commonJS({
|
|
|
1579
2202
|
};
|
|
1580
2203
|
segments.push("/" + (0, _escaperegexp.escapeStringRegexp)(markerMatch) + "([^/]+?)");
|
|
1581
2204
|
} else if (paramMatches && paramMatches[2]) {
|
|
1582
|
-
const { key, repeat, optional } = parseMatchedParameter(paramMatches[2]);
|
|
2205
|
+
const { key, repeat, optional } = (0, _getdynamicparam.parseMatchedParameter)(paramMatches[2]);
|
|
1583
2206
|
groups[key] = {
|
|
1584
2207
|
pos: groupIndex++,
|
|
1585
2208
|
repeat,
|
|
@@ -1631,7 +2254,7 @@ var require_route_regex = __commonJS({
|
|
|
1631
2254
|
}
|
|
1632
2255
|
function getSafeKeyFromSegment(param) {
|
|
1633
2256
|
let { interceptionMarker, getSafeRouteKey, segment, routeKeys, keyPrefix, backreferenceDuplicateKeys } = param;
|
|
1634
|
-
const { key, optional, repeat } = parseMatchedParameter(segment);
|
|
2257
|
+
const { key, optional, repeat } = (0, _getdynamicparam.parseMatchedParameter)(segment);
|
|
1635
2258
|
let cleanedKey = key.replace(/\W/g, "");
|
|
1636
2259
|
if (keyPrefix) {
|
|
1637
2260
|
cleanedKey = "" + keyPrefix + cleanedKey;
|
|
@@ -1669,7 +2292,7 @@ var require_route_regex = __commonJS({
|
|
|
1669
2292
|
const segments = [];
|
|
1670
2293
|
for (const segment of (0, _removetrailingslash.removeTrailingSlash)(route).slice(1).split("/")) {
|
|
1671
2294
|
const hasInterceptionMarker = _interceptionroutes.INTERCEPTION_ROUTE_MARKERS.some((m) => segment.startsWith(m));
|
|
1672
|
-
const paramMatches = segment.match(PARAMETER_PATTERN);
|
|
2295
|
+
const paramMatches = segment.match(_getdynamicparam.PARAMETER_PATTERN);
|
|
1673
2296
|
if (hasInterceptionMarker && paramMatches && paramMatches[2]) {
|
|
1674
2297
|
segments.push(getSafeKeyFromSegment({
|
|
1675
2298
|
getSafeRouteKey,
|
|
@@ -1814,10 +2437,12 @@ var require_resolve_href = __commonJS({
|
|
|
1814
2437
|
var _islocalurl = require_is_local_url();
|
|
1815
2438
|
var _utils1 = require_utils2();
|
|
1816
2439
|
var _interpolateas = require_interpolate_as();
|
|
2440
|
+
var _routeregex = require_route_regex();
|
|
2441
|
+
var _routematcher = require_route_matcher();
|
|
1817
2442
|
function resolveHref(router, href, resolveAs) {
|
|
1818
2443
|
let base;
|
|
1819
2444
|
let urlAsString = typeof href === "string" ? href : (0, _formaturl.formatWithValidation)(href);
|
|
1820
|
-
const urlProtoMatch = urlAsString.match(/^[a-
|
|
2445
|
+
const urlProtoMatch = urlAsString.match(/^[a-z][a-z0-9+.-]*:\/\//i);
|
|
1821
2446
|
const urlAsStringNoProto = urlProtoMatch ? urlAsString.slice(urlProtoMatch[0].length) : urlAsString;
|
|
1822
2447
|
const urlParts = urlAsStringNoProto.split("?", 1);
|
|
1823
2448
|
if ((urlParts[0] || "").match(/(\/\/|\\)/)) {
|
|
@@ -1831,7 +2456,19 @@ var require_resolve_href = __commonJS({
|
|
|
1831
2456
|
] : urlAsString;
|
|
1832
2457
|
}
|
|
1833
2458
|
try {
|
|
1834
|
-
|
|
2459
|
+
let baseBase = urlAsString.startsWith("#") ? router.asPath : router.pathname;
|
|
2460
|
+
if (urlAsString.startsWith("?")) {
|
|
2461
|
+
baseBase = router.asPath;
|
|
2462
|
+
if ((0, _utils1.isDynamicRoute)(router.pathname)) {
|
|
2463
|
+
baseBase = router.pathname;
|
|
2464
|
+
const routeRegex = (0, _routeregex.getRouteRegex)(router.pathname);
|
|
2465
|
+
const match = (0, _routematcher.getRouteMatcher)(routeRegex)(router.asPath);
|
|
2466
|
+
if (!match) {
|
|
2467
|
+
baseBase = router.asPath;
|
|
2468
|
+
}
|
|
2469
|
+
}
|
|
2470
|
+
}
|
|
2471
|
+
base = new URL(baseBase, "http://n");
|
|
1835
2472
|
} catch (_) {
|
|
1836
2473
|
base = new URL("/", "http://n");
|
|
1837
2474
|
}
|
|
@@ -2623,7 +3260,7 @@ var require_link = __commonJS({
|
|
|
2623
3260
|
actual: valType
|
|
2624
3261
|
});
|
|
2625
3262
|
}
|
|
2626
|
-
} else if (key === "replace" || key === "scroll" || key === "shallow" || key === "passHref" || key === "
|
|
3263
|
+
} else if (key === "replace" || key === "scroll" || key === "shallow" || key === "passHref" || key === "legacyBehavior") {
|
|
2627
3264
|
if (props[key] != null && valType !== "boolean") {
|
|
2628
3265
|
throw createPropError({
|
|
2629
3266
|
key,
|
|
@@ -2631,6 +3268,14 @@ var require_link = __commonJS({
|
|
|
2631
3268
|
actual: valType
|
|
2632
3269
|
});
|
|
2633
3270
|
}
|
|
3271
|
+
} else if (key === "prefetch") {
|
|
3272
|
+
if (props[key] != null && valType !== "boolean" && props[key] !== "auto") {
|
|
3273
|
+
throw createPropError({
|
|
3274
|
+
key,
|
|
3275
|
+
expected: '`boolean | "auto"`',
|
|
3276
|
+
actual: valType
|
|
3277
|
+
});
|
|
3278
|
+
}
|
|
2634
3279
|
} else {
|
|
2635
3280
|
const _ = key;
|
|
2636
3281
|
}
|