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