@helpwave/hightide 0.1.46 → 0.1.48
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/index.d.mts +2014 -0
- package/dist/index.d.ts +2014 -113
- package/dist/index.js +1619 -1359
- package/dist/index.js.map +1 -1
- package/dist/{components/index.js → index.mjs} +1216 -410
- package/dist/index.mjs.map +1 -0
- package/dist/style/globals.css +24 -0
- package/package.json +3 -5
- package/dist/coloring/index.cjs +0 -85
- package/dist/coloring/index.cjs.map +0 -1
- package/dist/coloring/index.d.cts +0 -2
- package/dist/coloring/index.d.ts +0 -2
- package/dist/coloring/index.js +0 -48
- package/dist/coloring/index.js.map +0 -1
- package/dist/coloring/shading.cjs +0 -81
- package/dist/coloring/shading.cjs.map +0 -1
- package/dist/coloring/shading.d.cts +0 -5
- package/dist/coloring/shading.d.ts +0 -5
- package/dist/coloring/shading.js +0 -47
- package/dist/coloring/shading.js.map +0 -1
- package/dist/coloring/types.cjs +0 -30
- package/dist/coloring/types.cjs.map +0 -1
- package/dist/coloring/types.d.cts +0 -13
- package/dist/coloring/types.d.ts +0 -13
- package/dist/coloring/types.js +0 -6
- package/dist/coloring/types.js.map +0 -1
- package/dist/components/branding/HelpwaveBadge.cjs +0 -140
- package/dist/components/branding/HelpwaveBadge.cjs.map +0 -1
- package/dist/components/branding/HelpwaveBadge.d.cts +0 -13
- package/dist/components/branding/HelpwaveBadge.d.ts +0 -13
- package/dist/components/branding/HelpwaveBadge.js +0 -104
- package/dist/components/branding/HelpwaveBadge.js.map +0 -1
- package/dist/components/branding/index.cjs +0 -140
- package/dist/components/branding/index.cjs.map +0 -1
- package/dist/components/branding/index.d.cts +0 -3
- package/dist/components/branding/index.d.ts +0 -3
- package/dist/components/branding/index.js +0 -104
- package/dist/components/branding/index.js.map +0 -1
- package/dist/components/date/DatePicker.cjs +0 -1318
- package/dist/components/date/DatePicker.cjs.map +0 -1
- package/dist/components/date/DatePicker.d.cts +0 -26
- package/dist/components/date/DatePicker.d.ts +0 -26
- package/dist/components/date/DatePicker.js +0 -1283
- package/dist/components/date/DatePicker.js.map +0 -1
- package/dist/components/date/DayPicker.cjs +0 -261
- package/dist/components/date/DayPicker.cjs.map +0 -1
- package/dist/components/date/DayPicker.d.cts +0 -20
- package/dist/components/date/DayPicker.d.ts +0 -20
- package/dist/components/date/DayPicker.js +0 -224
- package/dist/components/date/DayPicker.js.map +0 -1
- package/dist/components/date/TimeDisplay.cjs +0 -638
- package/dist/components/date/TimeDisplay.cjs.map +0 -1
- package/dist/components/date/TimeDisplay.d.cts +0 -13
- package/dist/components/date/TimeDisplay.d.ts +0 -13
- package/dist/components/date/TimeDisplay.js +0 -612
- package/dist/components/date/TimeDisplay.js.map +0 -1
- package/dist/components/date/TimePicker.cjs +0 -237
- package/dist/components/date/TimePicker.cjs.map +0 -1
- package/dist/components/date/TimePicker.d.cts +0 -15
- package/dist/components/date/TimePicker.d.ts +0 -15
- package/dist/components/date/TimePicker.js +0 -202
- package/dist/components/date/TimePicker.js.map +0 -1
- package/dist/components/date/YearMonthPicker.cjs +0 -536
- package/dist/components/date/YearMonthPicker.cjs.map +0 -1
- package/dist/components/date/YearMonthPicker.d.cts +0 -15
- package/dist/components/date/YearMonthPicker.d.ts +0 -15
- package/dist/components/date/YearMonthPicker.js +0 -501
- package/dist/components/date/YearMonthPicker.js.map +0 -1
- package/dist/components/date/index.cjs +0 -1556
- package/dist/components/date/index.cjs.map +0 -1
- package/dist/components/date/index.d.cts +0 -7
- package/dist/components/date/index.d.ts +0 -7
- package/dist/components/date/index.js +0 -1512
- package/dist/components/date/index.js.map +0 -1
- package/dist/components/dialog/ConfirmDialog.cjs +0 -1165
- package/dist/components/dialog/ConfirmDialog.cjs.map +0 -1
- package/dist/components/dialog/ConfirmDialog.d.cts +0 -29
- package/dist/components/dialog/ConfirmDialog.d.ts +0 -29
- package/dist/components/dialog/ConfirmDialog.js +0 -1129
- package/dist/components/dialog/ConfirmDialog.js.map +0 -1
- package/dist/components/dialog/Dialog.cjs +0 -1108
- package/dist/components/dialog/Dialog.cjs.map +0 -1
- package/dist/components/dialog/Dialog.d.cts +0 -27
- package/dist/components/dialog/Dialog.d.ts +0 -27
- package/dist/components/dialog/Dialog.js +0 -1075
- package/dist/components/dialog/Dialog.js.map +0 -1
- package/dist/components/dialog/DiscardChangesDialog.cjs +0 -1192
- package/dist/components/dialog/DiscardChangesDialog.cjs.map +0 -1
- package/dist/components/dialog/DiscardChangesDialog.d.cts +0 -18
- package/dist/components/dialog/DiscardChangesDialog.d.ts +0 -18
- package/dist/components/dialog/DiscardChangesDialog.js +0 -1156
- package/dist/components/dialog/DiscardChangesDialog.js.map +0 -1
- package/dist/components/dialog/InputDialog.cjs +0 -1369
- package/dist/components/dialog/InputDialog.cjs.map +0 -1
- package/dist/components/dialog/InputDialog.d.cts +0 -17
- package/dist/components/dialog/InputDialog.d.ts +0 -17
- package/dist/components/dialog/InputDialog.js +0 -1333
- package/dist/components/dialog/InputDialog.js.map +0 -1
- package/dist/components/dialog/LanguageDialog.cjs +0 -2149
- package/dist/components/dialog/LanguageDialog.cjs.map +0 -1
- package/dist/components/dialog/LanguageDialog.d.cts +0 -16
- package/dist/components/dialog/LanguageDialog.d.ts +0 -16
- package/dist/components/dialog/LanguageDialog.js +0 -2124
- package/dist/components/dialog/LanguageDialog.js.map +0 -1
- package/dist/components/dialog/ThemeDialog.cjs +0 -2188
- package/dist/components/dialog/ThemeDialog.cjs.map +0 -1
- package/dist/components/dialog/ThemeDialog.d.cts +0 -16
- package/dist/components/dialog/ThemeDialog.d.ts +0 -16
- package/dist/components/dialog/ThemeDialog.js +0 -2163
- package/dist/components/dialog/ThemeDialog.js.map +0 -1
- package/dist/components/dialog/index.cjs +0 -2516
- package/dist/components/dialog/index.cjs.map +0 -1
- package/dist/components/dialog/index.d.cts +0 -11
- package/dist/components/dialog/index.d.ts +0 -11
- package/dist/components/dialog/index.js +0 -2486
- package/dist/components/dialog/index.js.map +0 -1
- package/dist/components/form/FormElementWrapper.cjs +0 -167
- package/dist/components/form/FormElementWrapper.cjs.map +0 -1
- package/dist/components/form/FormElementWrapper.d.cts +0 -35
- package/dist/components/form/FormElementWrapper.d.ts +0 -35
- package/dist/components/form/FormElementWrapper.js +0 -133
- package/dist/components/form/FormElementWrapper.js.map +0 -1
- package/dist/components/form/index.cjs +0 -169
- package/dist/components/form/index.cjs.map +0 -1
- package/dist/components/form/index.d.cts +0 -5
- package/dist/components/form/index.d.ts +0 -5
- package/dist/components/form/index.js +0 -133
- package/dist/components/form/index.js.map +0 -1
- package/dist/components/icons-and-geometry/Avatar.cjs +0 -670
- package/dist/components/icons-and-geometry/Avatar.cjs.map +0 -1
- package/dist/components/icons-and-geometry/Avatar.d.cts +0 -36
- package/dist/components/icons-and-geometry/Avatar.d.ts +0 -36
- package/dist/components/icons-and-geometry/Avatar.js +0 -663
- package/dist/components/icons-and-geometry/Avatar.js.map +0 -1
- package/dist/components/icons-and-geometry/Circle.cjs +0 -61
- package/dist/components/icons-and-geometry/Circle.cjs.map +0 -1
- package/dist/components/icons-and-geometry/Circle.d.cts +0 -10
- package/dist/components/icons-and-geometry/Circle.d.ts +0 -10
- package/dist/components/icons-and-geometry/Circle.js +0 -27
- package/dist/components/icons-and-geometry/Circle.js.map +0 -1
- package/dist/components/icons-and-geometry/HelpwaveLogo.cjs +0 -98
- package/dist/components/icons-and-geometry/HelpwaveLogo.cjs.map +0 -1
- package/dist/components/icons-and-geometry/HelpwaveLogo.d.cts +0 -14
- package/dist/components/icons-and-geometry/HelpwaveLogo.d.ts +0 -14
- package/dist/components/icons-and-geometry/HelpwaveLogo.js +0 -74
- package/dist/components/icons-and-geometry/HelpwaveLogo.js.map +0 -1
- package/dist/components/icons-and-geometry/Ring.cjs +0 -333
- package/dist/components/icons-and-geometry/Ring.cjs.map +0 -1
- package/dist/components/icons-and-geometry/Ring.d.cts +0 -35
- package/dist/components/icons-and-geometry/Ring.d.ts +0 -35
- package/dist/components/icons-and-geometry/Ring.js +0 -296
- package/dist/components/icons-and-geometry/Ring.js.map +0 -1
- package/dist/components/icons-and-geometry/Tag.cjs +0 -2945
- package/dist/components/icons-and-geometry/Tag.cjs.map +0 -1
- package/dist/components/icons-and-geometry/Tag.d.cts +0 -16
- package/dist/components/icons-and-geometry/Tag.d.ts +0 -16
- package/dist/components/icons-and-geometry/Tag.js +0 -2940
- package/dist/components/icons-and-geometry/Tag.js.map +0 -1
- package/dist/components/icons-and-geometry/index.cjs +0 -3950
- package/dist/components/icons-and-geometry/index.cjs.map +0 -1
- package/dist/components/icons-and-geometry/index.d.cts +0 -7
- package/dist/components/icons-and-geometry/index.d.ts +0 -7
- package/dist/components/icons-and-geometry/index.js +0 -3934
- package/dist/components/icons-and-geometry/index.js.map +0 -1
- package/dist/components/index.cjs +0 -15692
- package/dist/components/index.cjs.map +0 -1
- package/dist/components/index.d.cts +0 -78
- package/dist/components/index.d.ts +0 -78
- package/dist/components/index.js.map +0 -1
- package/dist/components/layout/Carousel.cjs +0 -1128
- package/dist/components/layout/Carousel.cjs.map +0 -1
- package/dist/components/layout/Carousel.d.cts +0 -35
- package/dist/components/layout/Carousel.d.ts +0 -35
- package/dist/components/layout/Carousel.js +0 -1103
- package/dist/components/layout/Carousel.js.map +0 -1
- package/dist/components/layout/Chip.cjs +0 -123
- package/dist/components/layout/Chip.cjs.map +0 -1
- package/dist/components/layout/Chip.d.cts +0 -31
- package/dist/components/layout/Chip.d.ts +0 -31
- package/dist/components/layout/Chip.js +0 -87
- package/dist/components/layout/Chip.js.map +0 -1
- package/dist/components/layout/DividerInserter.cjs +0 -59
- package/dist/components/layout/DividerInserter.cjs.map +0 -1
- package/dist/components/layout/DividerInserter.d.cts +0 -15
- package/dist/components/layout/DividerInserter.d.ts +0 -15
- package/dist/components/layout/DividerInserter.js +0 -25
- package/dist/components/layout/DividerInserter.js.map +0 -1
- package/dist/components/layout/Expandable.cjs +0 -171
- package/dist/components/layout/Expandable.cjs.map +0 -1
- package/dist/components/layout/Expandable.d.cts +0 -67
- package/dist/components/layout/Expandable.d.ts +0 -67
- package/dist/components/layout/Expandable.js +0 -135
- package/dist/components/layout/Expandable.js.map +0 -1
- package/dist/components/layout/FAQSection.cjs +0 -421
- package/dist/components/layout/FAQSection.cjs.map +0 -1
- package/dist/components/layout/FAQSection.d.cts +0 -26
- package/dist/components/layout/FAQSection.d.ts +0 -26
- package/dist/components/layout/FAQSection.js +0 -387
- package/dist/components/layout/FAQSection.js.map +0 -1
- package/dist/components/layout/FloatingContainer.cjs +0 -220
- package/dist/components/layout/FloatingContainer.cjs.map +0 -1
- package/dist/components/layout/FloatingContainer.d.cts +0 -38
- package/dist/components/layout/FloatingContainer.d.ts +0 -38
- package/dist/components/layout/FloatingContainer.js +0 -196
- package/dist/components/layout/FloatingContainer.js.map +0 -1
- package/dist/components/layout/ListBox.cjs +0 -339
- package/dist/components/layout/ListBox.cjs.map +0 -1
- package/dist/components/layout/ListBox.d.cts +0 -44
- package/dist/components/layout/ListBox.d.ts +0 -44
- package/dist/components/layout/ListBox.js +0 -300
- package/dist/components/layout/ListBox.js.map +0 -1
- package/dist/components/layout/MarkdownInterpreter.cjs +0 -260
- package/dist/components/layout/MarkdownInterpreter.cjs.map +0 -1
- package/dist/components/layout/MarkdownInterpreter.d.cts +0 -28
- package/dist/components/layout/MarkdownInterpreter.d.ts +0 -28
- package/dist/components/layout/MarkdownInterpreter.js +0 -235
- package/dist/components/layout/MarkdownInterpreter.js.map +0 -1
- package/dist/components/layout/ScrollArea.cjs +0 -1252
- package/dist/components/layout/ScrollArea.cjs.map +0 -1
- package/dist/components/layout/ScrollArea.d.cts +0 -15
- package/dist/components/layout/ScrollArea.d.ts +0 -15
- package/dist/components/layout/ScrollArea.js +0 -1216
- package/dist/components/layout/ScrollArea.js.map +0 -1
- package/dist/components/layout/TextImage.cjs +0 -657
- package/dist/components/layout/TextImage.cjs.map +0 -1
- package/dist/components/layout/TextImage.d.cts +0 -19
- package/dist/components/layout/TextImage.d.ts +0 -19
- package/dist/components/layout/TextImage.js +0 -623
- package/dist/components/layout/TextImage.js.map +0 -1
- package/dist/components/layout/VerticalDivider.cjs +0 -80
- package/dist/components/layout/VerticalDivider.cjs.map +0 -1
- package/dist/components/layout/VerticalDivider.d.cts +0 -15
- package/dist/components/layout/VerticalDivider.d.ts +0 -15
- package/dist/components/layout/VerticalDivider.js +0 -56
- package/dist/components/layout/VerticalDivider.js.map +0 -1
- package/dist/components/layout/index.cjs +0 -3434
- package/dist/components/layout/index.cjs.map +0 -1
- package/dist/components/layout/index.d.cts +0 -15
- package/dist/components/layout/index.d.ts +0 -15
- package/dist/components/layout/index.js +0 -3387
- package/dist/components/layout/index.js.map +0 -1
- package/dist/components/loading-states/ErrorComponent.cjs +0 -622
- package/dist/components/loading-states/ErrorComponent.cjs.map +0 -1
- package/dist/components/loading-states/ErrorComponent.d.cts +0 -12
- package/dist/components/loading-states/ErrorComponent.d.ts +0 -12
- package/dist/components/loading-states/ErrorComponent.js +0 -588
- package/dist/components/loading-states/ErrorComponent.js.map +0 -1
- package/dist/components/loading-states/LoadingAndErrorComponent.cjs +0 -67
- package/dist/components/loading-states/LoadingAndErrorComponent.cjs.map +0 -1
- package/dist/components/loading-states/LoadingAndErrorComponent.d.cts +0 -20
- package/dist/components/loading-states/LoadingAndErrorComponent.d.ts +0 -20
- package/dist/components/loading-states/LoadingAndErrorComponent.js +0 -43
- package/dist/components/loading-states/LoadingAndErrorComponent.js.map +0 -1
- package/dist/components/loading-states/LoadingAnimation.cjs +0 -694
- package/dist/components/loading-states/LoadingAnimation.cjs.map +0 -1
- package/dist/components/loading-states/LoadingAnimation.d.cts +0 -12
- package/dist/components/loading-states/LoadingAnimation.d.ts +0 -12
- package/dist/components/loading-states/LoadingAnimation.js +0 -658
- package/dist/components/loading-states/LoadingAnimation.js.map +0 -1
- package/dist/components/loading-states/LoadingButton.cjs +0 -257
- package/dist/components/loading-states/LoadingButton.cjs.map +0 -1
- package/dist/components/loading-states/LoadingButton.d.cts +0 -10
- package/dist/components/loading-states/LoadingButton.d.ts +0 -10
- package/dist/components/loading-states/LoadingButton.js +0 -223
- package/dist/components/loading-states/LoadingButton.js.map +0 -1
- package/dist/components/loading-states/LoadingContainer.cjs +0 -34
- package/dist/components/loading-states/LoadingContainer.cjs.map +0 -1
- package/dist/components/loading-states/LoadingContainer.d.cts +0 -8
- package/dist/components/loading-states/LoadingContainer.d.ts +0 -8
- package/dist/components/loading-states/LoadingContainer.js +0 -10
- package/dist/components/loading-states/LoadingContainer.js.map +0 -1
- package/dist/components/loading-states/ProgressIndicator.cjs +0 -83
- package/dist/components/loading-states/ProgressIndicator.cjs.map +0 -1
- package/dist/components/loading-states/ProgressIndicator.d.cts +0 -24
- package/dist/components/loading-states/ProgressIndicator.d.ts +0 -24
- package/dist/components/loading-states/ProgressIndicator.js +0 -59
- package/dist/components/loading-states/ProgressIndicator.js.map +0 -1
- package/dist/components/loading-states/index.cjs +0 -966
- package/dist/components/loading-states/index.cjs.map +0 -1
- package/dist/components/loading-states/index.d.cts +0 -9
- package/dist/components/loading-states/index.d.ts +0 -9
- package/dist/components/loading-states/index.js +0 -925
- package/dist/components/loading-states/index.js.map +0 -1
- package/dist/components/navigation/BreadCrumb.cjs +0 -3516
- package/dist/components/navigation/BreadCrumb.cjs.map +0 -1
- package/dist/components/navigation/BreadCrumb.d.cts +0 -20
- package/dist/components/navigation/BreadCrumb.d.ts +0 -20
- package/dist/components/navigation/BreadCrumb.js +0 -3511
- package/dist/components/navigation/BreadCrumb.js.map +0 -1
- package/dist/components/navigation/Navigation.cjs +0 -4041
- package/dist/components/navigation/Navigation.cjs.map +0 -1
- package/dist/components/navigation/Navigation.d.cts +0 -21
- package/dist/components/navigation/Navigation.d.ts +0 -21
- package/dist/components/navigation/Navigation.js +0 -4035
- package/dist/components/navigation/Navigation.js.map +0 -1
- package/dist/components/navigation/Pagination.cjs +0 -1007
- package/dist/components/navigation/Pagination.cjs.map +0 -1
- package/dist/components/navigation/Pagination.d.cts +0 -16
- package/dist/components/navigation/Pagination.d.ts +0 -16
- package/dist/components/navigation/Pagination.js +0 -973
- package/dist/components/navigation/Pagination.js.map +0 -1
- package/dist/components/navigation/StepperBar.cjs +0 -903
- package/dist/components/navigation/StepperBar.cjs.map +0 -1
- package/dist/components/navigation/StepperBar.d.cts +0 -23
- package/dist/components/navigation/StepperBar.d.ts +0 -23
- package/dist/components/navigation/StepperBar.js +0 -868
- package/dist/components/navigation/StepperBar.js.map +0 -1
- package/dist/components/navigation/index.cjs +0 -5035
- package/dist/components/navigation/index.cjs.map +0 -1
- package/dist/components/navigation/index.d.cts +0 -6
- package/dist/components/navigation/index.d.ts +0 -6
- package/dist/components/navigation/index.js +0 -5023
- package/dist/components/navigation/index.js.map +0 -1
- package/dist/components/properties/CheckboxProperty.cjs +0 -1736
- package/dist/components/properties/CheckboxProperty.cjs.map +0 -1
- package/dist/components/properties/CheckboxProperty.d.cts +0 -14
- package/dist/components/properties/CheckboxProperty.d.ts +0 -14
- package/dist/components/properties/CheckboxProperty.js +0 -1702
- package/dist/components/properties/CheckboxProperty.js.map +0 -1
- package/dist/components/properties/DateProperty.cjs +0 -1119
- package/dist/components/properties/DateProperty.cjs.map +0 -1
- package/dist/components/properties/DateProperty.d.cts +0 -16
- package/dist/components/properties/DateProperty.d.ts +0 -16
- package/dist/components/properties/DateProperty.js +0 -1085
- package/dist/components/properties/DateProperty.js.map +0 -1
- package/dist/components/properties/MultiSelectProperty.cjs +0 -2058
- package/dist/components/properties/MultiSelectProperty.cjs.map +0 -1
- package/dist/components/properties/MultiSelectProperty.d.cts +0 -14
- package/dist/components/properties/MultiSelectProperty.d.ts +0 -14
- package/dist/components/properties/MultiSelectProperty.js +0 -2035
- package/dist/components/properties/MultiSelectProperty.js.map +0 -1
- package/dist/components/properties/NumberProperty.cjs +0 -1125
- package/dist/components/properties/NumberProperty.cjs.map +0 -1
- package/dist/components/properties/NumberProperty.d.cts +0 -16
- package/dist/components/properties/NumberProperty.d.ts +0 -16
- package/dist/components/properties/NumberProperty.js +0 -1091
- package/dist/components/properties/NumberProperty.js.map +0 -1
- package/dist/components/properties/PropertyBase.cjs +0 -875
- package/dist/components/properties/PropertyBase.cjs.map +0 -1
- package/dist/components/properties/PropertyBase.d.cts +0 -22
- package/dist/components/properties/PropertyBase.d.ts +0 -22
- package/dist/components/properties/PropertyBase.js +0 -841
- package/dist/components/properties/PropertyBase.js.map +0 -1
- package/dist/components/properties/SelectProperty.cjs +0 -2058
- package/dist/components/properties/SelectProperty.cjs.map +0 -1
- package/dist/components/properties/SelectProperty.d.cts +0 -16
- package/dist/components/properties/SelectProperty.d.ts +0 -16
- package/dist/components/properties/SelectProperty.js +0 -2035
- package/dist/components/properties/SelectProperty.js.map +0 -1
- package/dist/components/properties/TextProperty.cjs +0 -1033
- package/dist/components/properties/TextProperty.cjs.map +0 -1
- package/dist/components/properties/TextProperty.d.cts +0 -15
- package/dist/components/properties/TextProperty.d.ts +0 -15
- package/dist/components/properties/TextProperty.js +0 -999
- package/dist/components/properties/TextProperty.js.map +0 -1
- package/dist/components/properties/index.cjs +0 -3383
- package/dist/components/properties/index.cjs.map +0 -1
- package/dist/components/properties/index.d.cts +0 -9
- package/dist/components/properties/index.d.ts +0 -9
- package/dist/components/properties/index.js +0 -3352
- package/dist/components/properties/index.js.map +0 -1
- package/dist/components/table/FillerRowElement.cjs +0 -36
- package/dist/components/table/FillerRowElement.cjs.map +0 -1
- package/dist/components/table/FillerRowElement.d.cts +0 -8
- package/dist/components/table/FillerRowElement.d.ts +0 -8
- package/dist/components/table/FillerRowElement.js +0 -12
- package/dist/components/table/FillerRowElement.js.map +0 -1
- package/dist/components/table/Filter.cjs +0 -41
- package/dist/components/table/Filter.cjs.map +0 -1
- package/dist/components/table/Filter.d.cts +0 -5
- package/dist/components/table/Filter.d.ts +0 -5
- package/dist/components/table/Filter.js +0 -17
- package/dist/components/table/Filter.js.map +0 -1
- package/dist/components/table/Table.cjs +0 -2678
- package/dist/components/table/Table.cjs.map +0 -1
- package/dist/components/table/Table.d.cts +0 -42
- package/dist/components/table/Table.d.ts +0 -42
- package/dist/components/table/Table.js +0 -2649
- package/dist/components/table/Table.js.map +0 -1
- package/dist/components/table/TableCell.cjs +0 -37
- package/dist/components/table/TableCell.cjs.map +0 -1
- package/dist/components/table/TableCell.d.cts +0 -9
- package/dist/components/table/TableCell.d.ts +0 -9
- package/dist/components/table/TableCell.js +0 -13
- package/dist/components/table/TableCell.js.map +0 -1
- package/dist/components/table/TableFilterButton.cjs +0 -1269
- package/dist/components/table/TableFilterButton.cjs.map +0 -1
- package/dist/components/table/TableFilterButton.d.cts +0 -11
- package/dist/components/table/TableFilterButton.d.ts +0 -11
- package/dist/components/table/TableFilterButton.js +0 -1233
- package/dist/components/table/TableFilterButton.js.map +0 -1
- package/dist/components/table/TableSortButton.cjs +0 -206
- package/dist/components/table/TableSortButton.cjs.map +0 -1
- package/dist/components/table/TableSortButton.d.cts +0 -15
- package/dist/components/table/TableSortButton.d.ts +0 -15
- package/dist/components/table/TableSortButton.js +0 -172
- package/dist/components/table/TableSortButton.js.map +0 -1
- package/dist/components/table/index.cjs +0 -2690
- package/dist/components/table/index.cjs.map +0 -1
- package/dist/components/table/index.d.cts +0 -10
- package/dist/components/table/index.d.ts +0 -10
- package/dist/components/table/index.js +0 -2654
- package/dist/components/table/index.js.map +0 -1
- package/dist/components/user-action/Button.cjs +0 -308
- package/dist/components/user-action/Button.cjs.map +0 -1
- package/dist/components/user-action/Button.d.cts +0 -104
- package/dist/components/user-action/Button.d.ts +0 -104
- package/dist/components/user-action/Button.js +0 -268
- package/dist/components/user-action/Button.js.map +0 -1
- package/dist/components/user-action/Checkbox.cjs +0 -878
- package/dist/components/user-action/Checkbox.cjs.map +0 -1
- package/dist/components/user-action/Checkbox.d.cts +0 -25
- package/dist/components/user-action/Checkbox.d.ts +0 -25
- package/dist/components/user-action/Checkbox.js +0 -843
- package/dist/components/user-action/Checkbox.js.map +0 -1
- package/dist/components/user-action/CopyToClipboardWrapper.cjs +0 -695
- package/dist/components/user-action/CopyToClipboardWrapper.cjs.map +0 -1
- package/dist/components/user-action/CopyToClipboardWrapper.d.cts +0 -30
- package/dist/components/user-action/CopyToClipboardWrapper.d.ts +0 -30
- package/dist/components/user-action/CopyToClipboardWrapper.js +0 -671
- package/dist/components/user-action/CopyToClipboardWrapper.js.map +0 -1
- package/dist/components/user-action/DateAndTimePicker.cjs +0 -1492
- package/dist/components/user-action/DateAndTimePicker.cjs.map +0 -1
- package/dist/components/user-action/DateAndTimePicker.d.cts +0 -25
- package/dist/components/user-action/DateAndTimePicker.d.ts +0 -25
- package/dist/components/user-action/DateAndTimePicker.js +0 -1458
- package/dist/components/user-action/DateAndTimePicker.js.map +0 -1
- package/dist/components/user-action/Label.cjs +0 -53
- package/dist/components/user-action/Label.cjs.map +0 -1
- package/dist/components/user-action/Label.d.cts +0 -14
- package/dist/components/user-action/Label.d.ts +0 -14
- package/dist/components/user-action/Label.js +0 -19
- package/dist/components/user-action/Label.js.map +0 -1
- package/dist/components/user-action/Menu.cjs +0 -282
- package/dist/components/user-action/Menu.cjs.map +0 -1
- package/dist/components/user-action/Menu.d.cts +0 -35
- package/dist/components/user-action/Menu.d.ts +0 -35
- package/dist/components/user-action/Menu.js +0 -247
- package/dist/components/user-action/Menu.js.map +0 -1
- package/dist/components/user-action/ScrollPicker.cjs +0 -301
- package/dist/components/user-action/ScrollPicker.cjs.map +0 -1
- package/dist/components/user-action/ScrollPicker.d.cts +0 -15
- package/dist/components/user-action/ScrollPicker.d.ts +0 -15
- package/dist/components/user-action/ScrollPicker.js +0 -267
- package/dist/components/user-action/ScrollPicker.js.map +0 -1
- package/dist/components/user-action/SearchBar.cjs +0 -956
- package/dist/components/user-action/SearchBar.cjs.map +0 -1
- package/dist/components/user-action/SearchBar.d.cts +0 -13
- package/dist/components/user-action/SearchBar.d.ts +0 -13
- package/dist/components/user-action/SearchBar.js +0 -920
- package/dist/components/user-action/SearchBar.js.map +0 -1
- package/dist/components/user-action/Textarea.cjs +0 -231
- package/dist/components/user-action/Textarea.cjs.map +0 -1
- package/dist/components/user-action/Textarea.d.cts +0 -41
- package/dist/components/user-action/Textarea.d.ts +0 -41
- package/dist/components/user-action/Textarea.js +0 -195
- package/dist/components/user-action/Textarea.js.map +0 -1
- package/dist/components/user-action/Tooltip.cjs +0 -139
- package/dist/components/user-action/Tooltip.cjs.map +0 -1
- package/dist/components/user-action/Tooltip.d.cts +0 -37
- package/dist/components/user-action/Tooltip.d.ts +0 -37
- package/dist/components/user-action/Tooltip.js +0 -113
- package/dist/components/user-action/Tooltip.js.map +0 -1
- package/dist/components/user-action/index.cjs +0 -4564
- package/dist/components/user-action/index.cjs.map +0 -1
- package/dist/components/user-action/index.d.cts +0 -26
- package/dist/components/user-action/index.d.ts +0 -26
- package/dist/components/user-action/index.js +0 -4503
- package/dist/components/user-action/index.js.map +0 -1
- package/dist/components/user-action/input/Input.cjs +0 -260
- package/dist/components/user-action/input/Input.cjs.map +0 -1
- package/dist/components/user-action/input/Input.d.cts +0 -37
- package/dist/components/user-action/input/Input.d.ts +0 -37
- package/dist/components/user-action/input/Input.js +0 -225
- package/dist/components/user-action/input/Input.js.map +0 -1
- package/dist/components/user-action/input/InsideLabelInput.cjs +0 -312
- package/dist/components/user-action/input/InsideLabelInput.cjs.map +0 -1
- package/dist/components/user-action/input/InsideLabelInput.d.cts +0 -20
- package/dist/components/user-action/input/InsideLabelInput.d.ts +0 -20
- package/dist/components/user-action/input/InsideLabelInput.js +0 -277
- package/dist/components/user-action/input/InsideLabelInput.js.map +0 -1
- package/dist/components/user-action/input/ToggleableInput.cjs +0 -315
- package/dist/components/user-action/input/ToggleableInput.cjs.map +0 -1
- package/dist/components/user-action/input/ToggleableInput.d.cts +0 -22
- package/dist/components/user-action/input/ToggleableInput.d.ts +0 -22
- package/dist/components/user-action/input/ToggleableInput.js +0 -280
- package/dist/components/user-action/input/ToggleableInput.js.map +0 -1
- package/dist/components/user-action/input/index.cjs +0 -403
- package/dist/components/user-action/input/index.cjs.map +0 -1
- package/dist/components/user-action/input/index.d.cts +0 -6
- package/dist/components/user-action/input/index.d.ts +0 -6
- package/dist/components/user-action/input/index.js +0 -362
- package/dist/components/user-action/input/index.js.map +0 -1
- package/dist/components/user-action/select/Select.cjs +0 -1970
- package/dist/components/user-action/select/Select.cjs.map +0 -1
- package/dist/components/user-action/select/Select.d.cts +0 -104
- package/dist/components/user-action/select/Select.d.ts +0 -104
- package/dist/components/user-action/select/Select.js +0 -1937
- package/dist/components/user-action/select/Select.js.map +0 -1
- package/dist/components/user-action/select/index.cjs +0 -1972
- package/dist/components/user-action/select/index.cjs.map +0 -1
- package/dist/components/user-action/select/index.d.cts +0 -4
- package/dist/components/user-action/select/index.d.ts +0 -4
- package/dist/components/user-action/select/index.js +0 -1937
- package/dist/components/user-action/select/index.js.map +0 -1
- package/dist/components/utils/FocusTrap.cjs +0 -252
- package/dist/components/utils/FocusTrap.cjs.map +0 -1
- package/dist/components/utils/FocusTrap.d.cts +0 -28
- package/dist/components/utils/FocusTrap.d.ts +0 -28
- package/dist/components/utils/FocusTrap.js +0 -229
- package/dist/components/utils/FocusTrap.js.map +0 -1
- package/dist/components/utils/Transition.cjs +0 -74
- package/dist/components/utils/Transition.cjs.map +0 -1
- package/dist/components/utils/Transition.d.cts +0 -26
- package/dist/components/utils/Transition.d.ts +0 -26
- package/dist/components/utils/Transition.js +0 -50
- package/dist/components/utils/Transition.js.map +0 -1
- package/dist/components/utils/index.cjs +0 -302
- package/dist/components/utils/index.cjs.map +0 -1
- package/dist/components/utils/index.d.cts +0 -4
- package/dist/components/utils/index.d.ts +0 -4
- package/dist/components/utils/index.js +0 -275
- package/dist/components/utils/index.js.map +0 -1
- package/dist/hooks/focus/index.cjs +0 -379
- package/dist/hooks/focus/index.cjs.map +0 -1
- package/dist/hooks/focus/index.d.cts +0 -6
- package/dist/hooks/focus/index.d.ts +0 -6
- package/dist/hooks/focus/index.js +0 -339
- package/dist/hooks/focus/index.js.map +0 -1
- package/dist/hooks/focus/useFocusGuards.cjs +0 -74
- package/dist/hooks/focus/useFocusGuards.cjs.map +0 -1
- package/dist/hooks/focus/useFocusGuards.d.cts +0 -3
- package/dist/hooks/focus/useFocusGuards.d.ts +0 -3
- package/dist/hooks/focus/useFocusGuards.js +0 -50
- package/dist/hooks/focus/useFocusGuards.js.map +0 -1
- package/dist/hooks/focus/useFocusManagement.cjs +0 -84
- package/dist/hooks/focus/useFocusManagement.cjs.map +0 -1
- package/dist/hooks/focus/useFocusManagement.d.cts +0 -9
- package/dist/hooks/focus/useFocusManagement.d.ts +0 -9
- package/dist/hooks/focus/useFocusManagement.js +0 -60
- package/dist/hooks/focus/useFocusManagement.js.map +0 -1
- package/dist/hooks/focus/useFocusOnceVisible.cjs +0 -60
- package/dist/hooks/focus/useFocusOnceVisible.cjs.map +0 -1
- package/dist/hooks/focus/useFocusOnceVisible.d.cts +0 -5
- package/dist/hooks/focus/useFocusOnceVisible.d.ts +0 -5
- package/dist/hooks/focus/useFocusOnceVisible.js +0 -26
- package/dist/hooks/focus/useFocusOnceVisible.js.map +0 -1
- package/dist/hooks/focus/useFocusTrap.cjs +0 -233
- package/dist/hooks/focus/useFocusTrap.cjs.map +0 -1
- package/dist/hooks/focus/useFocusTrap.d.cts +0 -16
- package/dist/hooks/focus/useFocusTrap.d.ts +0 -16
- package/dist/hooks/focus/useFocusTrap.js +0 -210
- package/dist/hooks/focus/useFocusTrap.js.map +0 -1
- package/dist/hooks/focus/useIsMounted.cjs +0 -43
- package/dist/hooks/focus/useIsMounted.cjs.map +0 -1
- package/dist/hooks/focus/useIsMounted.d.cts +0 -3
- package/dist/hooks/focus/useIsMounted.d.ts +0 -3
- package/dist/hooks/focus/useIsMounted.js +0 -20
- package/dist/hooks/focus/useIsMounted.js.map +0 -1
- package/dist/hooks/index.cjs +0 -1530
- package/dist/hooks/index.cjs.map +0 -1
- package/dist/hooks/index.d.cts +0 -18
- package/dist/hooks/index.d.ts +0 -18
- package/dist/hooks/index.js +0 -1477
- package/dist/hooks/index.js.map +0 -1
- package/dist/hooks/useDelay.cjs +0 -67
- package/dist/hooks/useDelay.cjs.map +0 -1
- package/dist/hooks/useDelay.d.cts +0 -12
- package/dist/hooks/useDelay.d.ts +0 -12
- package/dist/hooks/useDelay.js +0 -43
- package/dist/hooks/useDelay.js.map +0 -1
- package/dist/hooks/useFloatingElement.cjs +0 -162
- package/dist/hooks/useFloatingElement.cjs.map +0 -1
- package/dist/hooks/useFloatingElement.d.cts +0 -22
- package/dist/hooks/useFloatingElement.d.ts +0 -22
- package/dist/hooks/useFloatingElement.js +0 -139
- package/dist/hooks/useFloatingElement.js.map +0 -1
- package/dist/hooks/useHoverState.cjs +0 -71
- package/dist/hooks/useHoverState.cjs.map +0 -1
- package/dist/hooks/useHoverState.d.cts +0 -42
- package/dist/hooks/useHoverState.d.ts +0 -42
- package/dist/hooks/useHoverState.js +0 -47
- package/dist/hooks/useHoverState.js.map +0 -1
- package/dist/hooks/useLocalStorage.cjs +0 -97
- package/dist/hooks/useLocalStorage.cjs.map +0 -1
- package/dist/hooks/useLocalStorage.d.cts +0 -17
- package/dist/hooks/useLocalStorage.d.ts +0 -17
- package/dist/hooks/useLocalStorage.js +0 -74
- package/dist/hooks/useLocalStorage.js.map +0 -1
- package/dist/hooks/useLogOnce.cjs +0 -53
- package/dist/hooks/useLogOnce.cjs.map +0 -1
- package/dist/hooks/useLogOnce.d.cts +0 -7
- package/dist/hooks/useLogOnce.d.ts +0 -7
- package/dist/hooks/useLogOnce.js +0 -29
- package/dist/hooks/useLogOnce.js.map +0 -1
- package/dist/hooks/useOutsideClick.cjs +0 -47
- package/dist/hooks/useOutsideClick.cjs.map +0 -1
- package/dist/hooks/useOutsideClick.d.cts +0 -5
- package/dist/hooks/useOutsideClick.d.ts +0 -5
- package/dist/hooks/useOutsideClick.js +0 -23
- package/dist/hooks/useOutsideClick.js.map +0 -1
- package/dist/hooks/useOverwritableState.cjs +0 -49
- package/dist/hooks/useOverwritableState.cjs.map +0 -1
- package/dist/hooks/useOverwritableState.d.cts +0 -5
- package/dist/hooks/useOverwritableState.d.ts +0 -5
- package/dist/hooks/useOverwritableState.js +0 -25
- package/dist/hooks/useOverwritableState.js.map +0 -1
- package/dist/hooks/usePopoverPosition.cjs +0 -81
- package/dist/hooks/usePopoverPosition.cjs.map +0 -1
- package/dist/hooks/usePopoverPosition.d.cts +0 -15
- package/dist/hooks/usePopoverPosition.d.ts +0 -15
- package/dist/hooks/usePopoverPosition.js +0 -57
- package/dist/hooks/usePopoverPosition.js.map +0 -1
- package/dist/hooks/useRerender.cjs +0 -33
- package/dist/hooks/useRerender.cjs.map +0 -1
- package/dist/hooks/useRerender.d.cts +0 -5
- package/dist/hooks/useRerender.d.ts +0 -5
- package/dist/hooks/useRerender.js +0 -9
- package/dist/hooks/useRerender.js.map +0 -1
- package/dist/hooks/useResizeCallbackWrapper.cjs +0 -38
- package/dist/hooks/useResizeCallbackWrapper.cjs.map +0 -1
- package/dist/hooks/useResizeCallbackWrapper.d.cts +0 -11
- package/dist/hooks/useResizeCallbackWrapper.d.ts +0 -11
- package/dist/hooks/useResizeCallbackWrapper.js +0 -14
- package/dist/hooks/useResizeCallbackWrapper.js.map +0 -1
- package/dist/hooks/useSearch.cjs +0 -95
- package/dist/hooks/useSearch.cjs.map +0 -1
- package/dist/hooks/useSearch.d.cts +0 -22
- package/dist/hooks/useSearch.d.ts +0 -22
- package/dist/hooks/useSearch.js +0 -71
- package/dist/hooks/useSearch.js.map +0 -1
- package/dist/hooks/useValidators.cjs +0 -687
- package/dist/hooks/useValidators.cjs.map +0 -1
- package/dist/hooks/useValidators.d.cts +0 -16
- package/dist/hooks/useValidators.d.ts +0 -16
- package/dist/hooks/useValidators.js +0 -660
- package/dist/hooks/useValidators.js.map +0 -1
- package/dist/i18n/LocaleProvider.cjs +0 -202
- package/dist/i18n/LocaleProvider.cjs.map +0 -1
- package/dist/i18n/LocaleProvider.d.cts +0 -23
- package/dist/i18n/LocaleProvider.d.ts +0 -23
- package/dist/i18n/LocaleProvider.js +0 -175
- package/dist/i18n/LocaleProvider.js.map +0 -1
- package/dist/i18n/index.cjs +0 -761
- package/dist/i18n/index.cjs.map +0 -1
- package/dist/i18n/index.d.cts +0 -8
- package/dist/i18n/index.d.ts +0 -8
- package/dist/i18n/index.js +0 -727
- package/dist/i18n/index.js.map +0 -1
- package/dist/i18n/translations.cjs +0 -507
- package/dist/i18n/translations.cjs.map +0 -1
- package/dist/i18n/translations.d.cts +0 -189
- package/dist/i18n/translations.d.ts +0 -189
- package/dist/i18n/translations.js +0 -482
- package/dist/i18n/translations.js.map +0 -1
- package/dist/i18n/useHightideTranslation.cjs +0 -618
- package/dist/i18n/useHightideTranslation.cjs.map +0 -1
- package/dist/i18n/useHightideTranslation.d.cts +0 -21
- package/dist/i18n/useHightideTranslation.d.ts +0 -21
- package/dist/i18n/useHightideTranslation.js +0 -591
- package/dist/i18n/useHightideTranslation.js.map +0 -1
- package/dist/i18n/util.cjs +0 -49
- package/dist/i18n/util.cjs.map +0 -1
- package/dist/i18n/util.d.cts +0 -15
- package/dist/i18n/util.d.ts +0 -15
- package/dist/i18n/util.js +0 -23
- package/dist/i18n/util.js.map +0 -1
- package/dist/index.cjs +0 -16470
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -113
- package/dist/storybook/helper.cjs +0 -61
- package/dist/storybook/helper.cjs.map +0 -1
- package/dist/storybook/helper.d.cts +0 -17
- package/dist/storybook/helper.d.ts +0 -17
- package/dist/storybook/helper.js +0 -37
- package/dist/storybook/helper.js.map +0 -1
- package/dist/theming/index.cjs +0 -190
- package/dist/theming/index.cjs.map +0 -1
- package/dist/theming/index.d.cts +0 -3
- package/dist/theming/index.d.ts +0 -3
- package/dist/theming/index.js +0 -161
- package/dist/theming/index.js.map +0 -1
- package/dist/theming/useTheme.cjs +0 -188
- package/dist/theming/useTheme.cjs.map +0 -1
- package/dist/theming/useTheme.d.cts +0 -26
- package/dist/theming/useTheme.d.ts +0 -26
- package/dist/theming/useTheme.js +0 -161
- package/dist/theming/useTheme.js.map +0 -1
- package/dist/utils/array.cjs +0 -172
- package/dist/utils/array.cjs.map +0 -1
- package/dist/utils/array.d.cts +0 -34
- package/dist/utils/array.d.ts +0 -34
- package/dist/utils/array.js +0 -142
- package/dist/utils/array.js.map +0 -1
- package/dist/utils/bagFunctions.cjs +0 -38
- package/dist/utils/bagFunctions.cjs.map +0 -1
- package/dist/utils/bagFunctions.d.cts +0 -15
- package/dist/utils/bagFunctions.d.ts +0 -15
- package/dist/utils/bagFunctions.js +0 -14
- package/dist/utils/bagFunctions.js.map +0 -1
- package/dist/utils/builder.cjs +0 -33
- package/dist/utils/builder.cjs.map +0 -1
- package/dist/utils/builder.d.cts +0 -8
- package/dist/utils/builder.d.ts +0 -8
- package/dist/utils/builder.js +0 -9
- package/dist/utils/builder.js.map +0 -1
- package/dist/utils/date.cjs +0 -193
- package/dist/utils/date.cjs.map +0 -1
- package/dist/utils/date.d.cts +0 -30
- package/dist/utils/date.d.ts +0 -30
- package/dist/utils/date.js +0 -156
- package/dist/utils/date.js.map +0 -1
- package/dist/utils/easeFunctions.cjs +0 -63
- package/dist/utils/easeFunctions.cjs.map +0 -1
- package/dist/utils/easeFunctions.d.cts +0 -11
- package/dist/utils/easeFunctions.d.ts +0 -11
- package/dist/utils/easeFunctions.js +0 -37
- package/dist/utils/easeFunctions.js.map +0 -1
- package/dist/utils/emailValidation.cjs +0 -32
- package/dist/utils/emailValidation.cjs.map +0 -1
- package/dist/utils/emailValidation.d.cts +0 -3
- package/dist/utils/emailValidation.d.ts +0 -3
- package/dist/utils/emailValidation.js +0 -8
- package/dist/utils/emailValidation.js.map +0 -1
- package/dist/utils/index.cjs +0 -562
- package/dist/utils/index.cjs.map +0 -1
- package/dist/utils/index.d.cts +0 -16
- package/dist/utils/index.d.ts +0 -16
- package/dist/utils/index.js +0 -502
- package/dist/utils/index.js.map +0 -1
- package/dist/utils/loopingArray.cjs +0 -96
- package/dist/utils/loopingArray.cjs.map +0 -1
- package/dist/utils/loopingArray.d.cts +0 -25
- package/dist/utils/loopingArray.d.ts +0 -25
- package/dist/utils/loopingArray.js +0 -72
- package/dist/utils/loopingArray.js.map +0 -1
- package/dist/utils/match.cjs +0 -32
- package/dist/utils/match.cjs.map +0 -1
- package/dist/utils/match.d.cts +0 -3
- package/dist/utils/match.d.ts +0 -3
- package/dist/utils/match.js +0 -8
- package/dist/utils/match.js.map +0 -1
- package/dist/utils/math.cjs +0 -33
- package/dist/utils/math.cjs.map +0 -1
- package/dist/utils/math.d.cts +0 -3
- package/dist/utils/math.d.ts +0 -3
- package/dist/utils/math.js +0 -9
- package/dist/utils/math.js.map +0 -1
- package/dist/utils/noop.cjs +0 -30
- package/dist/utils/noop.cjs.map +0 -1
- package/dist/utils/noop.d.cts +0 -3
- package/dist/utils/noop.d.ts +0 -3
- package/dist/utils/noop.js +0 -6
- package/dist/utils/noop.js.map +0 -1
- package/dist/utils/resolveSetState.cjs +0 -32
- package/dist/utils/resolveSetState.cjs.map +0 -1
- package/dist/utils/resolveSetState.d.cts +0 -5
- package/dist/utils/resolveSetState.d.ts +0 -5
- package/dist/utils/resolveSetState.js +0 -8
- package/dist/utils/resolveSetState.js.map +0 -1
- package/dist/utils/simpleSearch.cjs +0 -59
- package/dist/utils/simpleSearch.cjs.map +0 -1
- package/dist/utils/simpleSearch.d.cts +0 -50
- package/dist/utils/simpleSearch.d.ts +0 -50
- package/dist/utils/simpleSearch.js +0 -32
- package/dist/utils/simpleSearch.js.map +0 -1
- package/dist/utils/storage.cjs +0 -63
- package/dist/utils/storage.cjs.map +0 -1
- package/dist/utils/storage.d.cts +0 -16
- package/dist/utils/storage.d.ts +0 -16
- package/dist/utils/storage.js +0 -38
- package/dist/utils/storage.js.map +0 -1
- package/dist/utils/typing.cjs +0 -18
- package/dist/utils/typing.cjs.map +0 -1
- package/dist/utils/typing.d.cts +0 -8
- package/dist/utils/typing.d.ts +0 -8
- package/dist/utils/typing.js +0 -1
- package/dist/utils/typing.js.map +0 -1
- package/dist/utils/writeToClipboard.cjs +0 -33
- package/dist/utils/writeToClipboard.cjs.map +0 -1
- package/dist/utils/writeToClipboard.d.cts +0 -3
- package/dist/utils/writeToClipboard.d.ts +0 -3
- package/dist/utils/writeToClipboard.js +0 -10
- package/dist/utils/writeToClipboard.js.map +0 -1
|
@@ -1,1369 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
-
mod
|
|
26
|
-
));
|
|
27
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
-
|
|
29
|
-
// src/components/dialog/InputDialog.tsx
|
|
30
|
-
var InputDialog_exports = {};
|
|
31
|
-
__export(InputDialog_exports, {
|
|
32
|
-
InputDialog: () => InputDialog
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(InputDialog_exports);
|
|
35
|
-
|
|
36
|
-
// src/components/user-action/input/Input.tsx
|
|
37
|
-
var import_react4 = require("react");
|
|
38
|
-
var import_clsx = __toESM(require("clsx"), 1);
|
|
39
|
-
|
|
40
|
-
// src/hooks/useDelay.ts
|
|
41
|
-
var import_react = require("react");
|
|
42
|
-
var defaultOptions = {
|
|
43
|
-
delay: 3e3,
|
|
44
|
-
disabled: false
|
|
45
|
-
};
|
|
46
|
-
function useDelay(options) {
|
|
47
|
-
const [timer, setTimer] = (0, import_react.useState)(void 0);
|
|
48
|
-
const { delay, disabled } = {
|
|
49
|
-
...defaultOptions,
|
|
50
|
-
...options
|
|
51
|
-
};
|
|
52
|
-
const clearTimer = () => {
|
|
53
|
-
clearTimeout(timer);
|
|
54
|
-
setTimer(void 0);
|
|
55
|
-
};
|
|
56
|
-
const restartTimer = (onDelayFinish) => {
|
|
57
|
-
if (disabled) {
|
|
58
|
-
return;
|
|
59
|
-
}
|
|
60
|
-
clearTimeout(timer);
|
|
61
|
-
setTimer(setTimeout(() => {
|
|
62
|
-
onDelayFinish();
|
|
63
|
-
setTimer(void 0);
|
|
64
|
-
}, delay));
|
|
65
|
-
};
|
|
66
|
-
(0, import_react.useEffect)(() => {
|
|
67
|
-
return () => {
|
|
68
|
-
clearTimeout(timer);
|
|
69
|
-
};
|
|
70
|
-
}, [timer]);
|
|
71
|
-
(0, import_react.useEffect)(() => {
|
|
72
|
-
if (disabled) {
|
|
73
|
-
clearTimeout(timer);
|
|
74
|
-
setTimer(void 0);
|
|
75
|
-
}
|
|
76
|
-
}, [disabled, timer]);
|
|
77
|
-
return { restartTimer, clearTimer, hasActiveTimer: !!timer };
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
// src/hooks/focus/useFocusManagement.ts
|
|
81
|
-
var import_react2 = require("react");
|
|
82
|
-
function useFocusManagement() {
|
|
83
|
-
const getFocusableElements = (0, import_react2.useCallback)(() => {
|
|
84
|
-
return Array.from(
|
|
85
|
-
document.querySelectorAll(
|
|
86
|
-
'input, button, select, textarea, a[href], [tabindex]:not([tabindex="-1"])'
|
|
87
|
-
)
|
|
88
|
-
).filter(
|
|
89
|
-
(el) => el instanceof HTMLElement && !el.hasAttribute("disabled") && !el.hasAttribute("hidden") && el.tabIndex !== -1
|
|
90
|
-
);
|
|
91
|
-
}, []);
|
|
92
|
-
const getNextFocusElement = (0, import_react2.useCallback)(() => {
|
|
93
|
-
const elements = getFocusableElements();
|
|
94
|
-
if (elements.length === 0) {
|
|
95
|
-
return void 0;
|
|
96
|
-
}
|
|
97
|
-
let nextElement = elements[0];
|
|
98
|
-
if (document.activeElement instanceof HTMLElement) {
|
|
99
|
-
const currentIndex = elements.indexOf(document.activeElement);
|
|
100
|
-
nextElement = elements[(currentIndex + 1) % elements.length];
|
|
101
|
-
}
|
|
102
|
-
return nextElement;
|
|
103
|
-
}, [getFocusableElements]);
|
|
104
|
-
const focusNext = (0, import_react2.useCallback)(() => {
|
|
105
|
-
const nextElement = getNextFocusElement();
|
|
106
|
-
nextElement?.focus();
|
|
107
|
-
}, [getNextFocusElement]);
|
|
108
|
-
const getPreviousFocusElement = (0, import_react2.useCallback)(() => {
|
|
109
|
-
const elements = getFocusableElements();
|
|
110
|
-
if (elements.length === 0) {
|
|
111
|
-
return void 0;
|
|
112
|
-
}
|
|
113
|
-
let previousElement = elements[0];
|
|
114
|
-
if (document.activeElement instanceof HTMLElement) {
|
|
115
|
-
const currentIndex = elements.indexOf(document.activeElement);
|
|
116
|
-
if (currentIndex === 0) {
|
|
117
|
-
previousElement = elements[elements.length - 1];
|
|
118
|
-
} else {
|
|
119
|
-
previousElement = elements[currentIndex - 1];
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
return previousElement;
|
|
123
|
-
}, [getFocusableElements]);
|
|
124
|
-
const focusPrevious = (0, import_react2.useCallback)(() => {
|
|
125
|
-
const previousElement = getPreviousFocusElement();
|
|
126
|
-
if (previousElement) previousElement.focus();
|
|
127
|
-
}, [getPreviousFocusElement]);
|
|
128
|
-
return {
|
|
129
|
-
getFocusableElements,
|
|
130
|
-
getNextFocusElement,
|
|
131
|
-
getPreviousFocusElement,
|
|
132
|
-
focusNext,
|
|
133
|
-
focusPrevious
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
// src/hooks/useOverwritableState.ts
|
|
138
|
-
var import_react3 = require("react");
|
|
139
|
-
|
|
140
|
-
// src/components/user-action/input/Input.tsx
|
|
141
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
142
|
-
var defaultEditCompleteOptions = {
|
|
143
|
-
allowEnterComplete: false,
|
|
144
|
-
onBlur: true,
|
|
145
|
-
afterDelay: true,
|
|
146
|
-
delay: 2500
|
|
147
|
-
};
|
|
148
|
-
var Input = (0, import_react4.forwardRef)(function Input2({
|
|
149
|
-
value,
|
|
150
|
-
onChange,
|
|
151
|
-
onChangeText,
|
|
152
|
-
onEditCompleted,
|
|
153
|
-
editCompleteOptions,
|
|
154
|
-
disabled = false,
|
|
155
|
-
invalid = false,
|
|
156
|
-
defaultStyle = true,
|
|
157
|
-
className,
|
|
158
|
-
...props
|
|
159
|
-
}, forwardedRef) {
|
|
160
|
-
const {
|
|
161
|
-
onBlur: allowEditCompleteOnBlur,
|
|
162
|
-
afterDelay,
|
|
163
|
-
delay,
|
|
164
|
-
allowEnterComplete
|
|
165
|
-
} = { ...defaultEditCompleteOptions, ...editCompleteOptions };
|
|
166
|
-
const {
|
|
167
|
-
restartTimer,
|
|
168
|
-
clearTimer
|
|
169
|
-
} = useDelay({ delay, disabled: !afterDelay });
|
|
170
|
-
const innerRef = (0, import_react4.useRef)(null);
|
|
171
|
-
(0, import_react4.useImperativeHandle)(forwardedRef, () => innerRef.current);
|
|
172
|
-
const { focusNext } = useFocusManagement();
|
|
173
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
174
|
-
"input",
|
|
175
|
-
{
|
|
176
|
-
...props,
|
|
177
|
-
ref: innerRef,
|
|
178
|
-
value,
|
|
179
|
-
disabled,
|
|
180
|
-
className: defaultStyle ? (0, import_clsx.default)(
|
|
181
|
-
"px-3 py-2 rounded-md text-sm h-10 border-2 border-transparent focus-style-none",
|
|
182
|
-
{
|
|
183
|
-
"bg-input-background text-input-text hover:border-primary focus:border-primary": !disabled && !invalid,
|
|
184
|
-
"bg-negative/20 text-negative hover:border-negative focus-visible:border-negative": !disabled && invalid,
|
|
185
|
-
"bg-disabled-background text-disabled border-disabled-border": disabled
|
|
186
|
-
},
|
|
187
|
-
className
|
|
188
|
-
) : className,
|
|
189
|
-
onKeyDown: (event) => {
|
|
190
|
-
props.onKeyDown?.(event);
|
|
191
|
-
if (!allowEnterComplete) {
|
|
192
|
-
return;
|
|
193
|
-
}
|
|
194
|
-
if (event.key === "Enter" && !event.shiftKey) {
|
|
195
|
-
event.preventDefault();
|
|
196
|
-
innerRef.current?.blur();
|
|
197
|
-
onEditCompleted?.(event.target.value);
|
|
198
|
-
focusNext();
|
|
199
|
-
}
|
|
200
|
-
},
|
|
201
|
-
onBlur: (event) => {
|
|
202
|
-
props.onBlur?.(event);
|
|
203
|
-
if (allowEditCompleteOnBlur) {
|
|
204
|
-
onEditCompleted?.(event.target.value);
|
|
205
|
-
clearTimer();
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
onChange: (event) => {
|
|
209
|
-
onChange?.(event);
|
|
210
|
-
const value2 = event.target.value;
|
|
211
|
-
restartTimer(() => {
|
|
212
|
-
innerRef.current?.blur();
|
|
213
|
-
onEditCompleted?.(value2);
|
|
214
|
-
});
|
|
215
|
-
onChangeText?.(value2);
|
|
216
|
-
},
|
|
217
|
-
"aria-invalid": props["aria-invalid"] ?? invalid,
|
|
218
|
-
"aria-disabled": props["aria-disabled"] ?? disabled
|
|
219
|
-
}
|
|
220
|
-
);
|
|
221
|
-
});
|
|
222
|
-
|
|
223
|
-
// src/components/user-action/Button.tsx
|
|
224
|
-
var import_react5 = require("react");
|
|
225
|
-
var import_clsx2 = __toESM(require("clsx"), 1);
|
|
226
|
-
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
227
|
-
var ButtonColorUtil = {
|
|
228
|
-
solid: ["primary", "secondary", "tertiary", "positive", "warning", "negative", "neutral"],
|
|
229
|
-
text: ["primary", "negative", "neutral"],
|
|
230
|
-
outline: ["primary"]
|
|
231
|
-
};
|
|
232
|
-
var IconButtonUtil = {
|
|
233
|
-
icon: [...ButtonColorUtil.solid, "transparent"]
|
|
234
|
-
};
|
|
235
|
-
var paddingMapping = {
|
|
236
|
-
none: "",
|
|
237
|
-
small: "btn-sm",
|
|
238
|
-
medium: "btn-md",
|
|
239
|
-
large: "btn-lg"
|
|
240
|
-
};
|
|
241
|
-
var iconPaddingMapping = {
|
|
242
|
-
none: "",
|
|
243
|
-
tiny: "icon-btn-xs",
|
|
244
|
-
small: "icon-btn-sm",
|
|
245
|
-
medium: "icon-btn-md",
|
|
246
|
-
large: "icon-btn-lg"
|
|
247
|
-
};
|
|
248
|
-
var ButtonUtil = {
|
|
249
|
-
paddingMapping,
|
|
250
|
-
iconPaddingMapping
|
|
251
|
-
};
|
|
252
|
-
var SolidButton = (0, import_react5.forwardRef)(function SolidButton2({
|
|
253
|
-
children,
|
|
254
|
-
color = "primary",
|
|
255
|
-
size = "medium",
|
|
256
|
-
startIcon,
|
|
257
|
-
endIcon,
|
|
258
|
-
onClick,
|
|
259
|
-
className,
|
|
260
|
-
...restProps
|
|
261
|
-
}, ref) {
|
|
262
|
-
const colorClasses = {
|
|
263
|
-
primary: "not-disabled:bg-button-solid-primary-background not-disabled:text-button-solid-primary-text",
|
|
264
|
-
secondary: "not-disabled:bg-button-solid-secondary-background not-disabled:text-button-solid-secondary-text",
|
|
265
|
-
tertiary: "not-disabled:bg-button-solid-tertiary-background not-disabled:text-button-solid-tertiary-text",
|
|
266
|
-
positive: "not-disabled:bg-button-solid-positive-background not-disabled:text-button-solid-positive-text",
|
|
267
|
-
warning: "not-disabled:bg-button-solid-warning-background not-disabled:text-button-solid-warning-text",
|
|
268
|
-
negative: "not-disabled:bg-button-solid-negative-background not-disabled:text-button-solid-negative-text",
|
|
269
|
-
neutral: "not-disabled:bg-button-solid-neutral-background not-disabled:text-button-solid-neutral-text"
|
|
270
|
-
}[color];
|
|
271
|
-
const iconColorClasses = {
|
|
272
|
-
primary: "not-group-disabled:text-button-solid-primary-icon",
|
|
273
|
-
secondary: "not-group-disabled:text-button-solid-secondary-icon",
|
|
274
|
-
tertiary: "not-group-disabled:text-button-solid-tertiary-icon",
|
|
275
|
-
positive: "not-group-disabled:text-button-solid-positive-icon",
|
|
276
|
-
warning: "not-group-disabled:text-button-solid-warning-icon",
|
|
277
|
-
negative: "not-group-disabled:text-button-solid-negative-icon",
|
|
278
|
-
neutral: "not-group-disabled:text-button-solid-neutral-icon"
|
|
279
|
-
}[color];
|
|
280
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
281
|
-
"button",
|
|
282
|
-
{
|
|
283
|
-
ref,
|
|
284
|
-
onClick,
|
|
285
|
-
className: (0, import_clsx2.default)(
|
|
286
|
-
"group font-semibold",
|
|
287
|
-
colorClasses,
|
|
288
|
-
"not-disabled:hover:brightness-90",
|
|
289
|
-
"disabled:text-disabled disabled:bg-disabled-background",
|
|
290
|
-
ButtonUtil.paddingMapping[size],
|
|
291
|
-
className
|
|
292
|
-
),
|
|
293
|
-
...restProps,
|
|
294
|
-
children: [
|
|
295
|
-
startIcon && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
296
|
-
"span",
|
|
297
|
-
{
|
|
298
|
-
className: (0, import_clsx2.default)(
|
|
299
|
-
iconColorClasses,
|
|
300
|
-
"group-disabled:text-disabled-icon"
|
|
301
|
-
),
|
|
302
|
-
children: startIcon
|
|
303
|
-
}
|
|
304
|
-
),
|
|
305
|
-
children,
|
|
306
|
-
endIcon && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
307
|
-
"span",
|
|
308
|
-
{
|
|
309
|
-
className: (0, import_clsx2.default)(
|
|
310
|
-
iconColorClasses,
|
|
311
|
-
"group-disabled:text-disabled-icon"
|
|
312
|
-
),
|
|
313
|
-
children: endIcon
|
|
314
|
-
}
|
|
315
|
-
)
|
|
316
|
-
]
|
|
317
|
-
}
|
|
318
|
-
);
|
|
319
|
-
});
|
|
320
|
-
var IconButton = (0, import_react5.forwardRef)(function IconButton2({
|
|
321
|
-
children,
|
|
322
|
-
color = "primary",
|
|
323
|
-
size = "medium",
|
|
324
|
-
className,
|
|
325
|
-
...restProps
|
|
326
|
-
}, ref) {
|
|
327
|
-
const colorClasses = {
|
|
328
|
-
primary: "not-disabled:bg-button-solid-primary-background not-disabled:text-button-solid-primary-text",
|
|
329
|
-
secondary: "not-disabled:bg-button-solid-secondary-background not-disabled:text-button-solid-secondary-text",
|
|
330
|
-
tertiary: "not-disabled:bg-button-solid-tertiary-background not-disabled:text-button-solid-tertiary-text",
|
|
331
|
-
positive: "not-disabled:bg-button-solid-positive-background not-disabled:text-button-solid-positive-text",
|
|
332
|
-
warning: "not-disabled:bg-button-solid-warning-background not-disabled:text-button-solid-warning-text",
|
|
333
|
-
negative: "not-disabled:bg-button-solid-negative-background not-disabled:text-button-solid-negative-text",
|
|
334
|
-
neutral: "not-disabled:bg-button-solid-neutral-background not-disabled:text-button-solid-neutral-text",
|
|
335
|
-
transparent: "not-disabled:bg-transparent"
|
|
336
|
-
}[color];
|
|
337
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
338
|
-
"button",
|
|
339
|
-
{
|
|
340
|
-
ref,
|
|
341
|
-
className: (0, import_clsx2.default)(
|
|
342
|
-
colorClasses,
|
|
343
|
-
"not-disabled:hover:brightness-90",
|
|
344
|
-
"disabled:text-disabled",
|
|
345
|
-
{
|
|
346
|
-
"disabled:bg-disabled-background": color !== "transparent",
|
|
347
|
-
"disabled:opacity-70": color === "transparent",
|
|
348
|
-
"not-disabled:hover:bg-button-text-hover-background": color === "transparent"
|
|
349
|
-
},
|
|
350
|
-
ButtonUtil.iconPaddingMapping[size],
|
|
351
|
-
className
|
|
352
|
-
),
|
|
353
|
-
...restProps,
|
|
354
|
-
children
|
|
355
|
-
}
|
|
356
|
-
);
|
|
357
|
-
});
|
|
358
|
-
|
|
359
|
-
// src/i18n/LocaleProvider.tsx
|
|
360
|
-
var import_react7 = require("react");
|
|
361
|
-
|
|
362
|
-
// src/hooks/useLocalStorage.ts
|
|
363
|
-
var import_react6 = require("react");
|
|
364
|
-
|
|
365
|
-
// src/i18n/translations.ts
|
|
366
|
-
var import_internationalization = require("@helpwave/internationalization");
|
|
367
|
-
var hightideTranslationLocales = ["de-DE", "en-US"];
|
|
368
|
-
var hightideTranslation = {
|
|
369
|
-
"de-DE": {
|
|
370
|
-
"add": `Hinzuf\xFCgen`,
|
|
371
|
-
"age": `Alter`,
|
|
372
|
-
"all": `Alle`,
|
|
373
|
-
"apply": `Anwenden`,
|
|
374
|
-
"back": `Zur\xFCck`,
|
|
375
|
-
"cancel": `Abbrechen`,
|
|
376
|
-
"carousel": `Karussell`,
|
|
377
|
-
"change": `\xC4ndern`,
|
|
378
|
-
"chooseLanguage": `W\xE4hle deine bevorzugte Sprache`,
|
|
379
|
-
"chooseSlide": `W\xE4hle die angezeigte Slide aus`,
|
|
380
|
-
"chooseTheme": `W\xE4hle dein bevorzugtes Farbschema.`,
|
|
381
|
-
"clear": `L\xF6schen`,
|
|
382
|
-
"click": `Klicken`,
|
|
383
|
-
"clickToCopy": `Zum kopieren klicken`,
|
|
384
|
-
"clickToSelect": `Zum Ausw\xE4hlen dr\xFCcken`,
|
|
385
|
-
"close": `Schlie\xDFen`,
|
|
386
|
-
"confirm": `Best\xE4tigen`,
|
|
387
|
-
"copied": `Kopiert`,
|
|
388
|
-
"copy": `Kopieren`,
|
|
389
|
-
"create": `Erstellen`,
|
|
390
|
-
"decline": `Ablehnen`,
|
|
391
|
-
"delete": `L\xF6schen`,
|
|
392
|
-
"discard": `Verwerfen`,
|
|
393
|
-
"discardChanges": `\xC4nderungen Verwerfen`,
|
|
394
|
-
"done": `Fertig`,
|
|
395
|
-
"edit": `Bearbeiten`,
|
|
396
|
-
"endDate": `Ende`,
|
|
397
|
-
"enterText": `Text hier eingeben`,
|
|
398
|
-
"entryDate": `Eintragsdatum`,
|
|
399
|
-
"error": `Fehler`,
|
|
400
|
-
"errorOccurred": `Ein Fehler ist aufgetreten`,
|
|
401
|
-
"exit": `Beenden`,
|
|
402
|
-
"fieldRequiredError": `Dieses Feld ist erforderlich.`,
|
|
403
|
-
"filter": `Filter`,
|
|
404
|
-
"gender": ({ gender }) => {
|
|
405
|
-
return import_internationalization.TranslationGen.resolveSelect(gender, {
|
|
406
|
-
"male": `M\xE4nnlich`,
|
|
407
|
-
"female": `Weiblich`,
|
|
408
|
-
"other": `Divers`
|
|
409
|
-
});
|
|
410
|
-
},
|
|
411
|
-
"goodToSeeYou": `Sch\xF6n dich zu sehen`,
|
|
412
|
-
"identifier": `Identifikator`,
|
|
413
|
-
"invalidEmail": `Die E-Mail ist ung\xFCltig.`,
|
|
414
|
-
"invalidEmailError": `Bitte geben Sie eine g\xFCltige E-Mail-Adresse ein.`,
|
|
415
|
-
"language": `Sprache`,
|
|
416
|
-
"less": `Weniger`,
|
|
417
|
-
"loading": `L\xE4dt`,
|
|
418
|
-
"locale": `Locale`,
|
|
419
|
-
"max": `Max`,
|
|
420
|
-
"maxLengthError": `Maximale L\xE4nge \xFCberschritten.`,
|
|
421
|
-
"min": `Min`,
|
|
422
|
-
"minLengthError": `Mindestl\xE4nge nicht erreicht.`,
|
|
423
|
-
"more": `Mehr`,
|
|
424
|
-
"name": `Name`,
|
|
425
|
-
"next": `Weiter`,
|
|
426
|
-
"no": `Nein`,
|
|
427
|
-
"none": `Nichts`,
|
|
428
|
-
"notEmpty": `Das Feld darf nicht leer sein.`,
|
|
429
|
-
"nothingFound": `Nichts gefunden`,
|
|
430
|
-
"of": `von`,
|
|
431
|
-
"optional": `Optional`,
|
|
432
|
-
"outOfRangeNumber": ({ min, max }) => {
|
|
433
|
-
return `Der Wert muss zwischen ${min} und ${max} liegen.`;
|
|
434
|
-
},
|
|
435
|
-
"outOfRangeSelectionItems": ({ min, max }) => {
|
|
436
|
-
return `Es m\xFCssen zwischen ${min} und ${max} Elemente ausgew\xE4hlt werden.`;
|
|
437
|
-
},
|
|
438
|
-
"outOfRangeString": ({ min, max }) => {
|
|
439
|
-
return `Der Wert muss zwischen ${min} und ${max} Zeichen lang sein.`;
|
|
440
|
-
},
|
|
441
|
-
"pleaseWait": `Bitte warten...`,
|
|
442
|
-
"previous": `Vorherige`,
|
|
443
|
-
"remove": `Entfernen`,
|
|
444
|
-
"required": `Erforderlich`,
|
|
445
|
-
"reset": `Zur\xFCcksetzen`,
|
|
446
|
-
"save": `Speichern`,
|
|
447
|
-
"saved": `Gespeichert`,
|
|
448
|
-
"search": `Suche`,
|
|
449
|
-
"select": `Select`,
|
|
450
|
-
"selectOption": `Option ausw\xE4hlen`,
|
|
451
|
-
"show": `Anzeigen`,
|
|
452
|
-
"showLess": `Weniger anzeigen`,
|
|
453
|
-
"showMore": `Mehr anzeigen`,
|
|
454
|
-
"showSlide": ({ index }) => {
|
|
455
|
-
return `Zeige Slide ${index}`;
|
|
456
|
-
},
|
|
457
|
-
"slide": `Slide`,
|
|
458
|
-
"slideNavigation": `Slide Navigation`,
|
|
459
|
-
"slideOf": ({ index, length }) => {
|
|
460
|
-
return `Slide ${index} von ${length} slides`;
|
|
461
|
-
},
|
|
462
|
-
"startDate": `Start`,
|
|
463
|
-
"street": `Stra\xDFe`,
|
|
464
|
-
"submit": `Abschicken`,
|
|
465
|
-
"success": `Erfolg`,
|
|
466
|
-
"text": `Text`,
|
|
467
|
-
"themeMode": ({ theme }) => {
|
|
468
|
-
return import_internationalization.TranslationGen.resolveSelect(theme, {
|
|
469
|
-
"dark": `Dunkel`,
|
|
470
|
-
"light": `Hell`,
|
|
471
|
-
"system": `System`
|
|
472
|
-
});
|
|
473
|
-
},
|
|
474
|
-
"themes": ({ count }) => {
|
|
475
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
476
|
-
"=1": `Farbschema`,
|
|
477
|
-
"other": `Farbschemas`
|
|
478
|
-
});
|
|
479
|
-
},
|
|
480
|
-
"time.ago": `vor`,
|
|
481
|
-
"time.agoDays": ({ days }) => {
|
|
482
|
-
return `var ${days} Tagen`;
|
|
483
|
-
},
|
|
484
|
-
"time.april": `April`,
|
|
485
|
-
"time.august": `August`,
|
|
486
|
-
"time.century": ({ count }) => {
|
|
487
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
488
|
-
"=1": `Jahrhundert`,
|
|
489
|
-
"other": `Jahrhunderte`
|
|
490
|
-
});
|
|
491
|
-
},
|
|
492
|
-
"time.day": ({ count }) => {
|
|
493
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
494
|
-
"=1": `Tag`,
|
|
495
|
-
"other": `Tage`
|
|
496
|
-
});
|
|
497
|
-
},
|
|
498
|
-
"time.decade": ({ count }) => {
|
|
499
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
500
|
-
"=1": `Jahrzehnt`,
|
|
501
|
-
"other": `Jahrzehnte`
|
|
502
|
-
});
|
|
503
|
-
},
|
|
504
|
-
"time.december": `December`,
|
|
505
|
-
"time.february": `Febuar`,
|
|
506
|
-
"time.hour": ({ count }) => {
|
|
507
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
508
|
-
"=1": `Stunde`,
|
|
509
|
-
"other": `Stunden`
|
|
510
|
-
});
|
|
511
|
-
},
|
|
512
|
-
"time.in": `in`,
|
|
513
|
-
"time.inDays": ({ days }) => {
|
|
514
|
-
return `in ${days} Tagen`;
|
|
515
|
-
},
|
|
516
|
-
"time.january": `Januar`,
|
|
517
|
-
"time.july": `Juli`,
|
|
518
|
-
"time.june": `Juni`,
|
|
519
|
-
"time.march": `M\xE4rz`,
|
|
520
|
-
"time.may": `Mai`,
|
|
521
|
-
"time.microsecond": ({ count }) => {
|
|
522
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
523
|
-
"=1": `Mikrosekunde`,
|
|
524
|
-
"other": `Mikrosekunden`
|
|
525
|
-
});
|
|
526
|
-
},
|
|
527
|
-
"time.millisecond": ({ count }) => {
|
|
528
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
529
|
-
"=1": `Millisekunde`,
|
|
530
|
-
"other": `Millisekunden`
|
|
531
|
-
});
|
|
532
|
-
},
|
|
533
|
-
"time.minute": ({ count }) => {
|
|
534
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
535
|
-
"=1": `Minute`,
|
|
536
|
-
"other": `Minuten`
|
|
537
|
-
});
|
|
538
|
-
},
|
|
539
|
-
"time.month": ({ count }) => {
|
|
540
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
541
|
-
"=1": `Monat`,
|
|
542
|
-
"other": `Monate`
|
|
543
|
-
});
|
|
544
|
-
},
|
|
545
|
-
"time.monthName": ({ month }) => {
|
|
546
|
-
return import_internationalization.TranslationGen.resolveSelect(month, {
|
|
547
|
-
"january": `Januar`,
|
|
548
|
-
"february": `Februar`,
|
|
549
|
-
"march": `M\xE4rz`,
|
|
550
|
-
"april": `April`,
|
|
551
|
-
"may": `Mai`,
|
|
552
|
-
"june": `Juni`,
|
|
553
|
-
"july": `Juli`,
|
|
554
|
-
"august": `August`,
|
|
555
|
-
"september": `September`,
|
|
556
|
-
"october": `Oktober`,
|
|
557
|
-
"november": `November`,
|
|
558
|
-
"december": `Dezember`,
|
|
559
|
-
"other": `Unbekannter Monat`
|
|
560
|
-
});
|
|
561
|
-
},
|
|
562
|
-
"time.nanosecond": ({ count }) => {
|
|
563
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
564
|
-
"=1": `Nanosekunde`,
|
|
565
|
-
"other": `Nanosekunden`
|
|
566
|
-
});
|
|
567
|
-
},
|
|
568
|
-
"time.november": `November`,
|
|
569
|
-
"time.october": `October`,
|
|
570
|
-
"time.second": ({ count }) => {
|
|
571
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
572
|
-
"=1": `Sekunde`,
|
|
573
|
-
"other": `Sekunden`
|
|
574
|
-
});
|
|
575
|
-
},
|
|
576
|
-
"time.september": `September`,
|
|
577
|
-
"time.today": `Heute`,
|
|
578
|
-
"time.tomorrow": `Morgen`,
|
|
579
|
-
"time.year": ({ count }) => {
|
|
580
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
581
|
-
"=1": `Jahr`,
|
|
582
|
-
"other": `Jahre`
|
|
583
|
-
});
|
|
584
|
-
},
|
|
585
|
-
"time.yesterday": `Gestern`,
|
|
586
|
-
"tooFewSelectionItems": ({ min }) => {
|
|
587
|
-
return `Es m\xFCssen mindestens ${min} Elemente ausgew\xE4hlt werden.`;
|
|
588
|
-
},
|
|
589
|
-
"tooLong": ({ max }) => {
|
|
590
|
-
return `Der Wert darf h\xF6chstens ${max} Zeichen enthalten.`;
|
|
591
|
-
},
|
|
592
|
-
"tooManySelectionItems": ({ max }) => {
|
|
593
|
-
return `Es m\xFCssen maximal ${max} Elemente ausgew\xE4hlt werden.`;
|
|
594
|
-
},
|
|
595
|
-
"tooShort": ({ min }) => {
|
|
596
|
-
return `Der Wert muss mindestens ${min} Zeichen enthalten.`;
|
|
597
|
-
},
|
|
598
|
-
"unsavedChanges": `Ungespeicherte \xC4nderungen`,
|
|
599
|
-
"unsavedChangesSaveQuestion": `M\xF6chtest du die \xC4nderungen speichern?`,
|
|
600
|
-
"update": `Update`,
|
|
601
|
-
"value": `Wert`,
|
|
602
|
-
"welcome": `Willkommen`,
|
|
603
|
-
"yes": `Ja`
|
|
604
|
-
},
|
|
605
|
-
"en-US": {
|
|
606
|
-
"add": `Add`,
|
|
607
|
-
"age": `Age`,
|
|
608
|
-
"all": `All`,
|
|
609
|
-
"apply": `Apply`,
|
|
610
|
-
"back": `Back`,
|
|
611
|
-
"cancel": `Cancel`,
|
|
612
|
-
"carousel": `Carousel`,
|
|
613
|
-
"change": `Change`,
|
|
614
|
-
"chooseLanguage": `Choose your language`,
|
|
615
|
-
"chooseSlide": `Choose slide to display`,
|
|
616
|
-
"chooseTheme": `Choose your preferred color theme.`,
|
|
617
|
-
"clear": `Clear`,
|
|
618
|
-
"click": `Click`,
|
|
619
|
-
"clickToCopy": `Click to Copy`,
|
|
620
|
-
"clickToSelect": `Click to select`,
|
|
621
|
-
"close": `Close`,
|
|
622
|
-
"confirm": `Confirm`,
|
|
623
|
-
"copied": `Copied`,
|
|
624
|
-
"copy": `Copy`,
|
|
625
|
-
"create": `Create`,
|
|
626
|
-
"decline": `Decline`,
|
|
627
|
-
"delete": `Delete`,
|
|
628
|
-
"discard": `Discard`,
|
|
629
|
-
"discardChanges": `Discard Changes`,
|
|
630
|
-
"done": `Done`,
|
|
631
|
-
"edit": `Edit`,
|
|
632
|
-
"endDate": `End`,
|
|
633
|
-
"enterText": `Enter text here`,
|
|
634
|
-
"entryDate": `Entry Date`,
|
|
635
|
-
"error": `Error`,
|
|
636
|
-
"errorOccurred": `An error occurred`,
|
|
637
|
-
"exit": `Exit`,
|
|
638
|
-
"fieldRequiredError": `This field is required.`,
|
|
639
|
-
"filter": `Filter`,
|
|
640
|
-
"gender": ({ gender }) => {
|
|
641
|
-
return import_internationalization.TranslationGen.resolveSelect(gender, {
|
|
642
|
-
"male": `Male`,
|
|
643
|
-
"female": `Female`,
|
|
644
|
-
"other": `Other`
|
|
645
|
-
});
|
|
646
|
-
},
|
|
647
|
-
"goodToSeeYou": `Good to see you`,
|
|
648
|
-
"identifier": `Identifier`,
|
|
649
|
-
"invalidEmail": `The email is not valid.`,
|
|
650
|
-
"invalidEmailError": `Please enter a valid email address.`,
|
|
651
|
-
"language": `Language`,
|
|
652
|
-
"less": `Less`,
|
|
653
|
-
"loading": `Loading`,
|
|
654
|
-
"locale": `Locale`,
|
|
655
|
-
"max": `Max`,
|
|
656
|
-
"maxLengthError": `Maximum length exceeded.`,
|
|
657
|
-
"min": `Min`,
|
|
658
|
-
"minLengthError": `Minimum length not met.`,
|
|
659
|
-
"more": `More`,
|
|
660
|
-
"name": `Name`,
|
|
661
|
-
"next": `Next`,
|
|
662
|
-
"no": `No`,
|
|
663
|
-
"none": `None`,
|
|
664
|
-
"notEmpty": `The field cannot be empty.`,
|
|
665
|
-
"nothingFound": `Nothing found`,
|
|
666
|
-
"of": `of`,
|
|
667
|
-
"optional": `Optional`,
|
|
668
|
-
"outOfRangeNumber": ({ min, max }) => {
|
|
669
|
-
return `The value must be between ${min} and ${max}.`;
|
|
670
|
-
},
|
|
671
|
-
"outOfRangeSelectionItems": ({ min, max }) => {
|
|
672
|
-
return `Between ${min} and ${max} items must be selected.`;
|
|
673
|
-
},
|
|
674
|
-
"outOfRangeString": ({ min, max }) => {
|
|
675
|
-
return `The value needs to have between ${min} and ${max} characters.`;
|
|
676
|
-
},
|
|
677
|
-
"pleaseWait": `Please wait...`,
|
|
678
|
-
"previous": `Previous`,
|
|
679
|
-
"remove": `Remove`,
|
|
680
|
-
"required": `Required`,
|
|
681
|
-
"reset": `Reset`,
|
|
682
|
-
"save": `Save`,
|
|
683
|
-
"saved": `Saved`,
|
|
684
|
-
"search": `Search`,
|
|
685
|
-
"select": `Select`,
|
|
686
|
-
"selectOption": `Select an option`,
|
|
687
|
-
"show": `Show`,
|
|
688
|
-
"showLess": `Show less`,
|
|
689
|
-
"showMore": `Show more`,
|
|
690
|
-
"showSlide": ({ index }) => {
|
|
691
|
-
return `Show Slide ${index}`;
|
|
692
|
-
},
|
|
693
|
-
"slide": `Slide`,
|
|
694
|
-
"slideNavigation": `Slide navigation`,
|
|
695
|
-
"slideOf": ({ index, length }) => {
|
|
696
|
-
return `Slide ${index} of ${length} slides`;
|
|
697
|
-
},
|
|
698
|
-
"startDate": `Start`,
|
|
699
|
-
"street": `Street`,
|
|
700
|
-
"submit": `Submit`,
|
|
701
|
-
"success": `Success`,
|
|
702
|
-
"text": `Text`,
|
|
703
|
-
"themeMode": ({ theme }) => {
|
|
704
|
-
return import_internationalization.TranslationGen.resolveSelect(theme, {
|
|
705
|
-
"dark": `Dark`,
|
|
706
|
-
"light": `Light`,
|
|
707
|
-
"system": `System`
|
|
708
|
-
});
|
|
709
|
-
},
|
|
710
|
-
"themes": ({ count }) => {
|
|
711
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
712
|
-
"=1": `Theme`,
|
|
713
|
-
"other": `Themes`
|
|
714
|
-
});
|
|
715
|
-
},
|
|
716
|
-
"time.ago": `ago`,
|
|
717
|
-
"time.agoDays": ({ days }) => {
|
|
718
|
-
return `days ${days} ago`;
|
|
719
|
-
},
|
|
720
|
-
"time.april": `April`,
|
|
721
|
-
"time.august": `August`,
|
|
722
|
-
"time.century": ({ count }) => {
|
|
723
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
724
|
-
"=1": `Century`,
|
|
725
|
-
"other": `Centuries`
|
|
726
|
-
});
|
|
727
|
-
},
|
|
728
|
-
"time.day": ({ count }) => {
|
|
729
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
730
|
-
"=1": `Day`,
|
|
731
|
-
"other": `Days`
|
|
732
|
-
});
|
|
733
|
-
},
|
|
734
|
-
"time.decade": ({ count }) => {
|
|
735
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
736
|
-
"=1": `Decade`,
|
|
737
|
-
"other": `Decades`
|
|
738
|
-
});
|
|
739
|
-
},
|
|
740
|
-
"time.december": `December`,
|
|
741
|
-
"time.february": `Febuary`,
|
|
742
|
-
"time.hour": ({ count }) => {
|
|
743
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
744
|
-
"=1": `Hour`,
|
|
745
|
-
"other": `Hours`
|
|
746
|
-
});
|
|
747
|
-
},
|
|
748
|
-
"time.in": `in`,
|
|
749
|
-
"time.inDays": ({ days }) => {
|
|
750
|
-
return `in ${days} days`;
|
|
751
|
-
},
|
|
752
|
-
"time.january": `January`,
|
|
753
|
-
"time.july": `July`,
|
|
754
|
-
"time.june": `June`,
|
|
755
|
-
"time.march": `March`,
|
|
756
|
-
"time.may": `May`,
|
|
757
|
-
"time.microsecond": ({ count }) => {
|
|
758
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
759
|
-
"=1": `Microsecond`,
|
|
760
|
-
"other": `Microseconds`
|
|
761
|
-
});
|
|
762
|
-
},
|
|
763
|
-
"time.millisecond": ({ count }) => {
|
|
764
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
765
|
-
"=1": `Millisecond`,
|
|
766
|
-
"other": `Milliseconds`
|
|
767
|
-
});
|
|
768
|
-
},
|
|
769
|
-
"time.minute": ({ count }) => {
|
|
770
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
771
|
-
"=1": `Minute`,
|
|
772
|
-
"other": `Minutes`
|
|
773
|
-
});
|
|
774
|
-
},
|
|
775
|
-
"time.month": ({ count }) => {
|
|
776
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
777
|
-
"=1": `Month`,
|
|
778
|
-
"other": `Months`
|
|
779
|
-
});
|
|
780
|
-
},
|
|
781
|
-
"time.monthName": ({ month }) => {
|
|
782
|
-
return import_internationalization.TranslationGen.resolveSelect(month, {
|
|
783
|
-
"january": `January`,
|
|
784
|
-
"february": `February`,
|
|
785
|
-
"march": `March`,
|
|
786
|
-
"april": `April`,
|
|
787
|
-
"may": `May`,
|
|
788
|
-
"june": `June`,
|
|
789
|
-
"july": `July`,
|
|
790
|
-
"august": `August`,
|
|
791
|
-
"september": `September`,
|
|
792
|
-
"october": `October`,
|
|
793
|
-
"november": `November`,
|
|
794
|
-
"december": `December`,
|
|
795
|
-
"other": `Unknown Month`
|
|
796
|
-
});
|
|
797
|
-
},
|
|
798
|
-
"time.nanosecond": ({ count }) => {
|
|
799
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
800
|
-
"=1": `Nanosecond`,
|
|
801
|
-
"other": `Nanoseconds`
|
|
802
|
-
});
|
|
803
|
-
},
|
|
804
|
-
"time.november": `November`,
|
|
805
|
-
"time.october": `October`,
|
|
806
|
-
"time.second": ({ count }) => {
|
|
807
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
808
|
-
"=1": `Second`,
|
|
809
|
-
"other": `Seconds`
|
|
810
|
-
});
|
|
811
|
-
},
|
|
812
|
-
"time.september": `September`,
|
|
813
|
-
"time.today": `Today`,
|
|
814
|
-
"time.tomorrow": `Tomorrow`,
|
|
815
|
-
"time.year": ({ count }) => {
|
|
816
|
-
return import_internationalization.TranslationGen.resolveSelect(count, {
|
|
817
|
-
"=1": `Year`,
|
|
818
|
-
"other": `Years`
|
|
819
|
-
});
|
|
820
|
-
},
|
|
821
|
-
"time.yesterday": `Yesterday`,
|
|
822
|
-
"tooFewSelectionItems": ({ min }) => {
|
|
823
|
-
return `Select at least ${min} items.`;
|
|
824
|
-
},
|
|
825
|
-
"tooLong": ({ max }) => {
|
|
826
|
-
return `The value requires less than ${max} characters.`;
|
|
827
|
-
},
|
|
828
|
-
"tooManySelectionItems": ({ max }) => {
|
|
829
|
-
return `Select at most ${max} items.`;
|
|
830
|
-
},
|
|
831
|
-
"tooShort": ({ min }) => {
|
|
832
|
-
return `The value requires at least ${min} characters.`;
|
|
833
|
-
},
|
|
834
|
-
"unsavedChanges": `Unsaved Changes`,
|
|
835
|
-
"unsavedChangesSaveQuestion": `Do you want to save your changes?`,
|
|
836
|
-
"update": `Update`,
|
|
837
|
-
"value": `Value`,
|
|
838
|
-
"welcome": `Welcome`,
|
|
839
|
-
"yes": `Yes`
|
|
840
|
-
}
|
|
841
|
-
};
|
|
842
|
-
|
|
843
|
-
// src/i18n/util.ts
|
|
844
|
-
var localsNames = {
|
|
845
|
-
"en-US": "English (US)",
|
|
846
|
-
"de-DE": "Deutsch"
|
|
847
|
-
};
|
|
848
|
-
var DEFAULT_LOCALE = "en-US";
|
|
849
|
-
function localeToLanguage(locale) {
|
|
850
|
-
return locale.split("-")[0];
|
|
851
|
-
}
|
|
852
|
-
var LocalizationUtil = {
|
|
853
|
-
locals: hightideTranslationLocales,
|
|
854
|
-
localToLanguage: localeToLanguage,
|
|
855
|
-
DEFAULT_LOCALE,
|
|
856
|
-
languagesLocalNames: localsNames
|
|
857
|
-
};
|
|
858
|
-
|
|
859
|
-
// src/i18n/LocaleProvider.tsx
|
|
860
|
-
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
861
|
-
var LocaleContext = (0, import_react7.createContext)({
|
|
862
|
-
locale: LocalizationUtil.DEFAULT_LOCALE,
|
|
863
|
-
setLocale: (v) => v
|
|
864
|
-
});
|
|
865
|
-
var useLocale = () => {
|
|
866
|
-
const context = (0, import_react7.useContext)(LocaleContext);
|
|
867
|
-
if (!context) {
|
|
868
|
-
throw new Error("useLocale must be used within LocaleContext. Try adding a LocaleProvider around your app.");
|
|
869
|
-
}
|
|
870
|
-
return context;
|
|
871
|
-
};
|
|
872
|
-
|
|
873
|
-
// src/i18n/useHightideTranslation.ts
|
|
874
|
-
var import_internationalization2 = require("@helpwave/internationalization");
|
|
875
|
-
|
|
876
|
-
// src/utils/array.ts
|
|
877
|
-
var moveItems = (list, move = 0) => {
|
|
878
|
-
const result = [];
|
|
879
|
-
let start = move;
|
|
880
|
-
if (start < 0) {
|
|
881
|
-
start = list.length - move;
|
|
882
|
-
}
|
|
883
|
-
start = start % list.length;
|
|
884
|
-
for (let i = 0; i < list.length; i++) {
|
|
885
|
-
result[i] = list[(i + start) % list.length];
|
|
886
|
-
}
|
|
887
|
-
return result;
|
|
888
|
-
};
|
|
889
|
-
function resolveSingleOrArray(value) {
|
|
890
|
-
if (Array.isArray(value)) {
|
|
891
|
-
return value;
|
|
892
|
-
} else if (value) {
|
|
893
|
-
return [value];
|
|
894
|
-
}
|
|
895
|
-
return [];
|
|
896
|
-
}
|
|
897
|
-
var ArrayUtil = {
|
|
898
|
-
unique: (list) => {
|
|
899
|
-
const seen = /* @__PURE__ */ new Set();
|
|
900
|
-
return list.filter((item) => {
|
|
901
|
-
if (seen.has(item)) {
|
|
902
|
-
return false;
|
|
903
|
-
}
|
|
904
|
-
seen.add(item);
|
|
905
|
-
return true;
|
|
906
|
-
});
|
|
907
|
-
},
|
|
908
|
-
difference: (list, removeList) => {
|
|
909
|
-
const remove = new Set(removeList);
|
|
910
|
-
return list.filter((item) => !remove.has(item));
|
|
911
|
-
},
|
|
912
|
-
moveItems,
|
|
913
|
-
resolveSingleOrArray
|
|
914
|
-
};
|
|
915
|
-
|
|
916
|
-
// src/i18n/useHightideTranslation.ts
|
|
917
|
-
function useHightideTranslation(extensions, overwrites) {
|
|
918
|
-
const { locale: inferredLocale } = useLocale();
|
|
919
|
-
const locale = overwrites?.locale ?? inferredLocale;
|
|
920
|
-
const translationExtensions = ArrayUtil.resolveSingleOrArray(extensions);
|
|
921
|
-
return (0, import_internationalization2.combineTranslation)([
|
|
922
|
-
...translationExtensions,
|
|
923
|
-
hightideTranslation
|
|
924
|
-
], locale);
|
|
925
|
-
}
|
|
926
|
-
|
|
927
|
-
// src/components/dialog/ConfirmDialog.tsx
|
|
928
|
-
var import_clsx4 = __toESM(require("clsx"), 1);
|
|
929
|
-
|
|
930
|
-
// src/components/dialog/Dialog.tsx
|
|
931
|
-
var import_react11 = require("react");
|
|
932
|
-
var import_react12 = require("react");
|
|
933
|
-
var import_clsx3 = __toESM(require("clsx"), 1);
|
|
934
|
-
var import_lucide_react = require("lucide-react");
|
|
935
|
-
|
|
936
|
-
// src/hooks/focus/useFocusTrap.ts
|
|
937
|
-
var import_react9 = require("react");
|
|
938
|
-
|
|
939
|
-
// src/hooks/focus/useIsMounted.ts
|
|
940
|
-
var import_react8 = require("react");
|
|
941
|
-
var isClient = typeof window !== "undefined" && typeof document !== "undefined";
|
|
942
|
-
var useIsomorphicEffect = isClient ? import_react8.useLayoutEffect : import_react8.useEffect;
|
|
943
|
-
var useIsMounted = () => {
|
|
944
|
-
const [isMounted, setIsMounted] = (0, import_react8.useState)(false);
|
|
945
|
-
useIsomorphicEffect(() => {
|
|
946
|
-
setIsMounted(true);
|
|
947
|
-
return () => {
|
|
948
|
-
setIsMounted(false);
|
|
949
|
-
};
|
|
950
|
-
}, []);
|
|
951
|
-
return isMounted;
|
|
952
|
-
};
|
|
953
|
-
|
|
954
|
-
// src/hooks/focus/useFocusTrap.ts
|
|
955
|
-
var createFocusGuard = () => {
|
|
956
|
-
const div = document.createElement("div");
|
|
957
|
-
Object.assign(div.style, {
|
|
958
|
-
opacity: "0",
|
|
959
|
-
outline: "none",
|
|
960
|
-
boxShadow: "none",
|
|
961
|
-
position: "fixed",
|
|
962
|
-
pointerEvents: "none",
|
|
963
|
-
touchAction: "none"
|
|
964
|
-
});
|
|
965
|
-
div.tabIndex = 0;
|
|
966
|
-
div.setAttribute("data-hw-focus-guard", "");
|
|
967
|
-
document.body.appendChild(div);
|
|
968
|
-
return div;
|
|
969
|
-
};
|
|
970
|
-
function getContainedFocusableElements(element) {
|
|
971
|
-
return element?.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');
|
|
972
|
-
}
|
|
973
|
-
var FocusTrapService = class {
|
|
974
|
-
constructor() {
|
|
975
|
-
// The last entry is always the active one
|
|
976
|
-
this.listeners = [];
|
|
977
|
-
this.onFocusIn = (event) => {
|
|
978
|
-
const active = this.getActive();
|
|
979
|
-
if (!active || !active.container.current) return;
|
|
980
|
-
const { container } = active;
|
|
981
|
-
if (!container.current.contains(event.target)) {
|
|
982
|
-
this.focusElement();
|
|
983
|
-
}
|
|
984
|
-
};
|
|
985
|
-
}
|
|
986
|
-
getActive() {
|
|
987
|
-
if (this.listeners.length === 0) return void 0;
|
|
988
|
-
return this.listeners[this.listeners.length - 1];
|
|
989
|
-
}
|
|
990
|
-
focusElement() {
|
|
991
|
-
const active = this.getActive();
|
|
992
|
-
if (!active) return;
|
|
993
|
-
const { container, initialFocusElement } = active;
|
|
994
|
-
const containerElement = container.current;
|
|
995
|
-
if (initialFocusElement?.current) {
|
|
996
|
-
initialFocusElement.current.focus();
|
|
997
|
-
} else {
|
|
998
|
-
const elements = getContainedFocusableElements(containerElement);
|
|
999
|
-
if (elements && elements.length > 0) {
|
|
1000
|
-
const first = elements.item(0);
|
|
1001
|
-
first.focus();
|
|
1002
|
-
} else {
|
|
1003
|
-
containerElement.focus();
|
|
1004
|
-
}
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
removeGuards() {
|
|
1008
|
-
document.querySelectorAll("[data-hw-focus-guard]").forEach((node) => node.remove());
|
|
1009
|
-
}
|
|
1010
|
-
addGuards() {
|
|
1011
|
-
document.body.insertAdjacentElement("afterbegin", createFocusGuard());
|
|
1012
|
-
document.body.insertAdjacentElement("beforeend", createFocusGuard());
|
|
1013
|
-
}
|
|
1014
|
-
activate() {
|
|
1015
|
-
document.addEventListener("focusin", this.onFocusIn);
|
|
1016
|
-
this.addGuards();
|
|
1017
|
-
}
|
|
1018
|
-
deactivate() {
|
|
1019
|
-
document.removeEventListener("focusin", this.onFocusIn);
|
|
1020
|
-
this.removeGuards();
|
|
1021
|
-
}
|
|
1022
|
-
register(listener) {
|
|
1023
|
-
this.listeners.push(listener);
|
|
1024
|
-
if (this.listeners.length === 1) {
|
|
1025
|
-
this.activate();
|
|
1026
|
-
}
|
|
1027
|
-
const active = listener;
|
|
1028
|
-
this.listeners.forEach((listener2) => {
|
|
1029
|
-
const { focus, pause } = listener2;
|
|
1030
|
-
if (listener2 === active) {
|
|
1031
|
-
focus();
|
|
1032
|
-
} else {
|
|
1033
|
-
pause();
|
|
1034
|
-
}
|
|
1035
|
-
});
|
|
1036
|
-
}
|
|
1037
|
-
unregister(id) {
|
|
1038
|
-
const index = this.listeners.findIndex((trap) => trap.id === id);
|
|
1039
|
-
if (index !== -1) {
|
|
1040
|
-
const isActive = index === this.listeners.length - 1;
|
|
1041
|
-
const listener = this.listeners[index];
|
|
1042
|
-
this.listeners = this.listeners.filter((listener2) => listener2.id !== id);
|
|
1043
|
-
if (isActive) {
|
|
1044
|
-
this.deactivate();
|
|
1045
|
-
listener.focusLast();
|
|
1046
|
-
const active = this.getActive();
|
|
1047
|
-
this.listeners.forEach((listener2) => {
|
|
1048
|
-
const { pause, unpause } = listener2;
|
|
1049
|
-
if (listener2 === active) {
|
|
1050
|
-
unpause();
|
|
1051
|
-
} else {
|
|
1052
|
-
pause();
|
|
1053
|
-
}
|
|
1054
|
-
});
|
|
1055
|
-
if (this.listeners.length > 0) {
|
|
1056
|
-
this.activate();
|
|
1057
|
-
}
|
|
1058
|
-
}
|
|
1059
|
-
} else {
|
|
1060
|
-
console.warn(`Unable to unregister id ${id}: not found`);
|
|
1061
|
-
}
|
|
1062
|
-
}
|
|
1063
|
-
};
|
|
1064
|
-
var service = new FocusTrapService();
|
|
1065
|
-
var useFocusTrap = ({
|
|
1066
|
-
container,
|
|
1067
|
-
active = true,
|
|
1068
|
-
initialFocus,
|
|
1069
|
-
focusFirst = true
|
|
1070
|
-
}) => {
|
|
1071
|
-
const lastFocusRef = (0, import_react9.useRef)(null);
|
|
1072
|
-
const [paused, setPaused] = (0, import_react9.useState)(false);
|
|
1073
|
-
const isMounted = useIsMounted();
|
|
1074
|
-
const id = (0, import_react9.useId)();
|
|
1075
|
-
const focusElement = (0, import_react9.useCallback)(() => {
|
|
1076
|
-
const containerElement = container.current;
|
|
1077
|
-
if (initialFocus?.current) {
|
|
1078
|
-
initialFocus.current.focus();
|
|
1079
|
-
} else {
|
|
1080
|
-
const elements = getContainedFocusableElements(containerElement);
|
|
1081
|
-
if (elements && elements.length > 0) {
|
|
1082
|
-
const first = elements.item(0);
|
|
1083
|
-
first.focus();
|
|
1084
|
-
} else {
|
|
1085
|
-
containerElement.focus();
|
|
1086
|
-
}
|
|
1087
|
-
}
|
|
1088
|
-
}, [container, initialFocus]);
|
|
1089
|
-
(0, import_react9.useEffect)(() => {
|
|
1090
|
-
if (active && isMounted) {
|
|
1091
|
-
let pause = function() {
|
|
1092
|
-
setPaused(true);
|
|
1093
|
-
}, unpause = function() {
|
|
1094
|
-
setPaused(false);
|
|
1095
|
-
if (!container.current.contains(document.activeElement)) {
|
|
1096
|
-
focusElement();
|
|
1097
|
-
}
|
|
1098
|
-
}, focus = function() {
|
|
1099
|
-
focusElement();
|
|
1100
|
-
setPaused(false);
|
|
1101
|
-
}, focusLast = function() {
|
|
1102
|
-
lastFocusRef.current?.focus();
|
|
1103
|
-
};
|
|
1104
|
-
if (!lastFocusRef.current) {
|
|
1105
|
-
lastFocusRef.current = document.activeElement;
|
|
1106
|
-
}
|
|
1107
|
-
service.register({ id, pause, focus, focusLast, unpause, container, initialFocusElement: initialFocus });
|
|
1108
|
-
return () => {
|
|
1109
|
-
service.unregister(id);
|
|
1110
|
-
lastFocusRef.current = void 0;
|
|
1111
|
-
};
|
|
1112
|
-
}
|
|
1113
|
-
}, [active, container, focusElement, id, initialFocus, isMounted]);
|
|
1114
|
-
(0, import_react9.useEffect)(() => {
|
|
1115
|
-
if (active && !paused && isMounted) {
|
|
1116
|
-
let onKeyDown = function(event) {
|
|
1117
|
-
const key = event.key;
|
|
1118
|
-
const elements = getContainedFocusableElements(containerElement);
|
|
1119
|
-
const active2 = document.activeElement;
|
|
1120
|
-
const index = [...elements].findIndex((value) => value === active2);
|
|
1121
|
-
if (index === -1 || event.altKey || event.ctrlKey || event.metaKey) {
|
|
1122
|
-
return;
|
|
1123
|
-
}
|
|
1124
|
-
if (key === "Tab") {
|
|
1125
|
-
const next = event.shiftKey ? -1 : 1;
|
|
1126
|
-
const nextIndex = (index + next + elements.length) % elements.length;
|
|
1127
|
-
const nextElement = elements[nextIndex];
|
|
1128
|
-
nextElement.focus();
|
|
1129
|
-
event.preventDefault();
|
|
1130
|
-
}
|
|
1131
|
-
};
|
|
1132
|
-
const containerElement = container.current;
|
|
1133
|
-
containerElement.addEventListener("keydown", onKeyDown);
|
|
1134
|
-
return () => {
|
|
1135
|
-
containerElement.removeEventListener("keydown", onKeyDown);
|
|
1136
|
-
};
|
|
1137
|
-
}
|
|
1138
|
-
}, [active, paused, isMounted, container, initialFocus, focusFirst, focusElement]);
|
|
1139
|
-
};
|
|
1140
|
-
|
|
1141
|
-
// src/hooks/useLogOnce.ts
|
|
1142
|
-
var import_react10 = require("react");
|
|
1143
|
-
var defaultOptions2 = {
|
|
1144
|
-
type: "warning"
|
|
1145
|
-
};
|
|
1146
|
-
var useLogOnce = (message, condition, options) => {
|
|
1147
|
-
const [hasLogged, setHasLogged] = (0, import_react10.useState)(false);
|
|
1148
|
-
const { type } = { ...defaultOptions2, ...options };
|
|
1149
|
-
(0, import_react10.useEffect)(() => {
|
|
1150
|
-
if (!hasLogged && condition) {
|
|
1151
|
-
switch (type) {
|
|
1152
|
-
case "info":
|
|
1153
|
-
console.info(message);
|
|
1154
|
-
break;
|
|
1155
|
-
case "error":
|
|
1156
|
-
console.error(message);
|
|
1157
|
-
break;
|
|
1158
|
-
case "warning":
|
|
1159
|
-
console.warn(message);
|
|
1160
|
-
break;
|
|
1161
|
-
}
|
|
1162
|
-
setHasLogged(true);
|
|
1163
|
-
}
|
|
1164
|
-
}, [condition]);
|
|
1165
|
-
};
|
|
1166
|
-
|
|
1167
|
-
// src/components/dialog/Dialog.tsx
|
|
1168
|
-
var import_react_dom = require("react-dom");
|
|
1169
|
-
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
1170
|
-
var Dialog = ({
|
|
1171
|
-
children,
|
|
1172
|
-
isOpen,
|
|
1173
|
-
titleElement,
|
|
1174
|
-
description,
|
|
1175
|
-
isModal = true,
|
|
1176
|
-
onClose,
|
|
1177
|
-
backgroundClassName,
|
|
1178
|
-
position = "center",
|
|
1179
|
-
isAnimated = true,
|
|
1180
|
-
containerClassName,
|
|
1181
|
-
...props
|
|
1182
|
-
}) => {
|
|
1183
|
-
const translation = useHightideTranslation();
|
|
1184
|
-
const [visible, setVisible] = (0, import_react12.useState)(isOpen);
|
|
1185
|
-
const generatedId = (0, import_react11.useId)();
|
|
1186
|
-
const id = props.id ?? generatedId;
|
|
1187
|
-
const ref = (0, import_react12.useRef)(null);
|
|
1188
|
-
(0, import_react12.useEffect)(() => {
|
|
1189
|
-
if (isOpen) {
|
|
1190
|
-
setVisible(true);
|
|
1191
|
-
} else {
|
|
1192
|
-
if (!isAnimated) {
|
|
1193
|
-
setVisible(false);
|
|
1194
|
-
}
|
|
1195
|
-
}
|
|
1196
|
-
}, [isAnimated, isOpen]);
|
|
1197
|
-
const onCloseWrapper = () => {
|
|
1198
|
-
if (!isModal) return;
|
|
1199
|
-
onClose?.();
|
|
1200
|
-
};
|
|
1201
|
-
useLogOnce("Dialog: onClose should be defined for modal dialogs", isModal && !onClose);
|
|
1202
|
-
useFocusTrap({
|
|
1203
|
-
container: ref,
|
|
1204
|
-
active: visible,
|
|
1205
|
-
focusFirst: true
|
|
1206
|
-
});
|
|
1207
|
-
const positionMap = {
|
|
1208
|
-
top: "fixed top-8 left-1/2 -translate-x-1/2",
|
|
1209
|
-
center: "fixed left-1/2 -translate-x-1/2 top-1/2 -translate-y-1/2",
|
|
1210
|
-
none: ""
|
|
1211
|
-
};
|
|
1212
|
-
const positionStyle = positionMap[position];
|
|
1213
|
-
if (!visible) return;
|
|
1214
|
-
return (0, import_react_dom.createPortal)(
|
|
1215
|
-
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { id: `dialog-container-${id}`, className: (0, import_clsx3.default)("fixed inset-0 h-screen w-screen", containerClassName), children: [
|
|
1216
|
-
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
1217
|
-
"div",
|
|
1218
|
-
{
|
|
1219
|
-
id: `dialog-background-${id}`,
|
|
1220
|
-
hidden: !visible,
|
|
1221
|
-
className: (0, import_clsx3.default)(
|
|
1222
|
-
"fixed inset-0 h-screen w-screen bg-overlay-shadow",
|
|
1223
|
-
{
|
|
1224
|
-
"motion-safe:animate-fade-in": isOpen,
|
|
1225
|
-
"motion-safe:animate-fade-out": !isOpen
|
|
1226
|
-
},
|
|
1227
|
-
backgroundClassName
|
|
1228
|
-
),
|
|
1229
|
-
onAnimationEnd: () => {
|
|
1230
|
-
if (!isOpen) {
|
|
1231
|
-
setVisible(false);
|
|
1232
|
-
}
|
|
1233
|
-
},
|
|
1234
|
-
onClick: onCloseWrapper,
|
|
1235
|
-
"aria-hidden": true
|
|
1236
|
-
}
|
|
1237
|
-
),
|
|
1238
|
-
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
|
|
1239
|
-
"div",
|
|
1240
|
-
{
|
|
1241
|
-
...props,
|
|
1242
|
-
id: `dialog-${id}`,
|
|
1243
|
-
ref,
|
|
1244
|
-
hidden: !visible,
|
|
1245
|
-
onKeyDown: (event) => {
|
|
1246
|
-
if (event.key === "Escape") {
|
|
1247
|
-
onCloseWrapper();
|
|
1248
|
-
}
|
|
1249
|
-
},
|
|
1250
|
-
onAnimationEnd: () => {
|
|
1251
|
-
if (!isOpen) {
|
|
1252
|
-
setVisible(false);
|
|
1253
|
-
}
|
|
1254
|
-
},
|
|
1255
|
-
className: (0, import_clsx3.default)(
|
|
1256
|
-
"flex-col-2 p-4 bg-overlay-background text-overlay-text rounded-xl shadow-hw-bottom max-w-[calc(100vw_-_2rem)] max-h-[calc(100vh_-_2rem)]",
|
|
1257
|
-
{
|
|
1258
|
-
"motion-safe:animate-pop-in": isOpen,
|
|
1259
|
-
"motion-safe:animate-pop-out": !isOpen
|
|
1260
|
-
},
|
|
1261
|
-
positionStyle,
|
|
1262
|
-
props.className
|
|
1263
|
-
),
|
|
1264
|
-
children: [
|
|
1265
|
-
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "typography-title-lg mr-8", children: titleElement }),
|
|
1266
|
-
description && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "text-description", children: description }),
|
|
1267
|
-
isModal && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
1268
|
-
"div",
|
|
1269
|
-
{
|
|
1270
|
-
className: "absolute top-0 right-0",
|
|
1271
|
-
style: {
|
|
1272
|
-
paddingTop: "inherit",
|
|
1273
|
-
paddingRight: "inherit"
|
|
1274
|
-
},
|
|
1275
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
1276
|
-
IconButton,
|
|
1277
|
-
{
|
|
1278
|
-
color: "neutral",
|
|
1279
|
-
size: "tiny",
|
|
1280
|
-
"aria-label": translation("close"),
|
|
1281
|
-
onClick: onCloseWrapper,
|
|
1282
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_lucide_react.X, {})
|
|
1283
|
-
}
|
|
1284
|
-
)
|
|
1285
|
-
}
|
|
1286
|
-
),
|
|
1287
|
-
children
|
|
1288
|
-
]
|
|
1289
|
-
}
|
|
1290
|
-
)
|
|
1291
|
-
] }),
|
|
1292
|
-
document.body
|
|
1293
|
-
);
|
|
1294
|
-
};
|
|
1295
|
-
|
|
1296
|
-
// src/components/dialog/ConfirmDialog.tsx
|
|
1297
|
-
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
1298
|
-
var ConfirmDialog = ({
|
|
1299
|
-
children,
|
|
1300
|
-
onCancel,
|
|
1301
|
-
onConfirm,
|
|
1302
|
-
onDecline,
|
|
1303
|
-
confirmType = "positive",
|
|
1304
|
-
buttonOverwrites,
|
|
1305
|
-
className,
|
|
1306
|
-
...restProps
|
|
1307
|
-
}) => {
|
|
1308
|
-
const translation = useHightideTranslation();
|
|
1309
|
-
const mapping = {
|
|
1310
|
-
neutral: "neutral",
|
|
1311
|
-
negative: "negative",
|
|
1312
|
-
positive: "positive",
|
|
1313
|
-
primary: "primary"
|
|
1314
|
-
};
|
|
1315
|
-
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(Dialog, { ...restProps, onClose: onCancel, className: (0, import_clsx4.default)("justify-between", className), children: [
|
|
1316
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "flex-col-2 grow", children }),
|
|
1317
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex-row-4 mt-3 justify-end", children: [
|
|
1318
|
-
onCancel && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
1319
|
-
SolidButton,
|
|
1320
|
-
{
|
|
1321
|
-
color: buttonOverwrites?.[0].color ?? "neutral",
|
|
1322
|
-
onClick: onCancel,
|
|
1323
|
-
disabled: buttonOverwrites?.[0].disabled ?? false,
|
|
1324
|
-
children: buttonOverwrites?.[0].text ?? translation("cancel")
|
|
1325
|
-
}
|
|
1326
|
-
),
|
|
1327
|
-
onDecline && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
1328
|
-
SolidButton,
|
|
1329
|
-
{
|
|
1330
|
-
color: buttonOverwrites?.[1].color ?? "negative",
|
|
1331
|
-
onClick: onDecline,
|
|
1332
|
-
disabled: buttonOverwrites?.[1].disabled ?? false,
|
|
1333
|
-
children: buttonOverwrites?.[1].text ?? translation("decline")
|
|
1334
|
-
}
|
|
1335
|
-
),
|
|
1336
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
1337
|
-
SolidButton,
|
|
1338
|
-
{
|
|
1339
|
-
color: buttonOverwrites?.[2].color ?? mapping[confirmType],
|
|
1340
|
-
onClick: onConfirm,
|
|
1341
|
-
disabled: buttonOverwrites?.[2].disabled ?? false,
|
|
1342
|
-
children: buttonOverwrites?.[2].text ?? translation("confirm")
|
|
1343
|
-
}
|
|
1344
|
-
)
|
|
1345
|
-
] })
|
|
1346
|
-
] });
|
|
1347
|
-
};
|
|
1348
|
-
|
|
1349
|
-
// src/components/dialog/InputDialog.tsx
|
|
1350
|
-
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
1351
|
-
var InputDialog = ({
|
|
1352
|
-
inputs,
|
|
1353
|
-
buttonOverwrites,
|
|
1354
|
-
...props
|
|
1355
|
-
}) => {
|
|
1356
|
-
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
1357
|
-
ConfirmDialog,
|
|
1358
|
-
{
|
|
1359
|
-
buttonOverwrites,
|
|
1360
|
-
...props,
|
|
1361
|
-
children: inputs.map((inputProps, index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Input, { ...inputProps }, `input ${index}`))
|
|
1362
|
-
}
|
|
1363
|
-
);
|
|
1364
|
-
};
|
|
1365
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1366
|
-
0 && (module.exports = {
|
|
1367
|
-
InputDialog
|
|
1368
|
-
});
|
|
1369
|
-
//# sourceMappingURL=InputDialog.cjs.map
|