@vertesia/ui 1.3.0 → 1.4.0-dev.20260615.042549Z
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 +72 -0
- package/lib/core/components/Avatar.d.ts +16 -0
- package/lib/core/components/Avatar.d.ts.map +1 -0
- package/lib/core/components/Avatar.js +38 -0
- package/lib/core/components/Avatar.js.map +1 -0
- package/lib/core/components/Center.d.ts +8 -0
- package/lib/core/components/Center.d.ts.map +1 -0
- package/lib/core/components/Center.js +6 -0
- package/lib/core/components/Center.js.map +1 -0
- package/lib/core/components/ComboBox.d.ts +134 -0
- package/lib/core/components/ComboBox.d.ts.map +1 -0
- package/lib/core/components/ComboBox.js +385 -0
- package/lib/core/components/ComboBox.js.map +1 -0
- package/lib/core/components/Divider.d.ts +6 -0
- package/lib/core/components/Divider.d.ts.map +1 -0
- package/lib/core/components/Divider.js +6 -0
- package/lib/core/components/Divider.js.map +1 -0
- package/lib/core/components/EmptyCollection.d.ts +9 -0
- package/lib/core/components/EmptyCollection.d.ts.map +1 -0
- package/lib/core/components/EmptyCollection.js +7 -0
- package/lib/core/components/EmptyCollection.js.map +1 -0
- package/lib/core/components/FileUpload.d.ts +29 -0
- package/lib/core/components/FileUpload.d.ts.map +1 -0
- package/lib/core/components/FileUpload.js +131 -0
- package/lib/core/components/FileUpload.js.map +1 -0
- package/lib/core/components/FormItem.d.ts +30 -0
- package/lib/core/components/FormItem.d.ts.map +1 -0
- package/lib/core/components/FormItem.js +64 -0
- package/lib/core/components/FormItem.js.map +1 -0
- package/lib/core/components/InputList.d.ts +14 -0
- package/lib/core/components/InputList.d.ts.map +1 -0
- package/lib/core/components/InputList.js +75 -0
- package/lib/core/components/InputList.js.map +1 -0
- package/lib/core/components/Link.d.ts +7 -0
- package/lib/core/components/Link.d.ts.map +1 -0
- package/lib/core/components/Link.js +13 -0
- package/lib/core/components/Link.js.map +1 -0
- package/lib/core/components/MenuList.d.ts +14 -0
- package/lib/core/components/MenuList.d.ts.map +1 -0
- package/lib/core/components/MenuList.js +20 -0
- package/lib/core/components/MenuList.js.map +1 -0
- package/lib/core/components/NumberInput.d.ts +16 -0
- package/lib/core/components/NumberInput.d.ts.map +1 -0
- package/lib/core/components/NumberInput.js +48 -0
- package/lib/core/components/NumberInput.js.map +1 -0
- package/lib/core/components/Overlay.d.ts +25 -0
- package/lib/core/components/Overlay.d.ts.map +1 -0
- package/lib/core/components/Overlay.js +67 -0
- package/lib/core/components/Overlay.js.map +1 -0
- package/lib/core/components/Portal.d.ts +6 -0
- package/lib/core/components/Portal.d.ts.map +1 -0
- package/lib/core/components/Portal.js +29 -0
- package/lib/core/components/Portal.js.map +1 -0
- package/lib/core/components/SelectList.d.ts +19 -0
- package/lib/core/components/SelectList.d.ts.map +1 -0
- package/lib/core/components/SelectList.js +54 -0
- package/lib/core/components/SelectList.js.map +1 -0
- package/lib/core/components/SidePanel.d.ts +16 -0
- package/lib/core/components/SidePanel.d.ts.map +1 -0
- package/lib/core/components/SidePanel.js +48 -0
- package/lib/core/components/SidePanel.js.map +1 -0
- package/lib/core/components/Spinner.d.ts +7 -0
- package/lib/core/components/Spinner.d.ts.map +1 -0
- package/lib/core/components/Spinner.js +25 -0
- package/lib/core/components/Spinner.js.map +1 -0
- package/lib/core/components/TagsInput.d.ts +16 -0
- package/lib/core/components/TagsInput.d.ts.map +1 -0
- package/lib/core/components/TagsInput.js +199 -0
- package/lib/core/components/TagsInput.js.map +1 -0
- package/lib/core/components/index.d.ts +27 -0
- package/lib/core/components/index.d.ts.map +1 -0
- package/lib/core/components/index.js +23 -0
- package/lib/core/components/index.js.map +1 -0
- package/lib/core/components/libs/utils.d.ts +3 -0
- package/lib/core/components/libs/utils.d.ts.map +1 -0
- package/lib/core/components/libs/utils.js +6 -0
- package/lib/core/components/libs/utils.js.map +1 -0
- package/lib/core/components/libs/visuallyHidden.d.ts +7 -0
- package/lib/core/components/libs/visuallyHidden.d.ts.map +1 -0
- package/lib/core/components/libs/visuallyHidden.js +16 -0
- package/lib/core/components/libs/visuallyHidden.js.map +1 -0
- package/lib/core/components/popup/Popup.d.ts +26 -0
- package/lib/core/components/popup/Popup.d.ts.map +1 -0
- package/lib/core/components/popup/Popup.js +70 -0
- package/lib/core/components/popup/Popup.js.map +1 -0
- package/lib/core/components/popup/PopupController.d.ts +41 -0
- package/lib/core/components/popup/PopupController.d.ts.map +1 -0
- package/lib/core/components/popup/PopupController.js +153 -0
- package/lib/core/components/popup/PopupController.js.map +1 -0
- package/lib/core/components/popup/index.d.ts +4 -0
- package/lib/core/components/popup/index.d.ts.map +1 -0
- package/lib/core/components/popup/index.js +4 -0
- package/lib/core/components/popup/index.js.map +1 -0
- package/lib/core/components/popup/position.d.ts.map +1 -0
- package/lib/core/components/popup/position.js +240 -0
- package/lib/core/components/popup/position.js.map +1 -0
- package/lib/core/components/popup/utils.d.ts.map +1 -0
- package/lib/core/components/popup/utils.js +75 -0
- package/lib/core/components/popup/utils.js.map +1 -0
- package/lib/core/components/shadcn/LanguageSwitcher.d.ts +8 -0
- package/lib/core/components/shadcn/LanguageSwitcher.d.ts.map +1 -0
- package/lib/core/components/shadcn/LanguageSwitcher.js +36 -0
- package/lib/core/components/shadcn/LanguageSwitcher.js.map +1 -0
- package/lib/core/components/shadcn/MessageBox.d.ts +38 -0
- package/lib/core/components/shadcn/MessageBox.d.ts.map +1 -0
- package/lib/core/components/shadcn/MessageBox.js +67 -0
- package/lib/core/components/shadcn/MessageBox.js.map +1 -0
- package/lib/core/components/shadcn/Panel.d.ts +17 -0
- package/lib/core/components/shadcn/Panel.d.ts.map +1 -0
- package/lib/core/components/shadcn/Panel.js +21 -0
- package/lib/core/components/shadcn/Panel.js.map +1 -0
- package/lib/core/components/shadcn/badge.d.ts +21 -0
- package/lib/core/components/shadcn/badge.d.ts.map +1 -0
- package/lib/core/components/shadcn/badge.js +64 -0
- package/lib/core/components/shadcn/badge.js.map +1 -0
- package/lib/core/components/shadcn/breadcrumb.d.ts +15 -0
- package/lib/core/components/shadcn/breadcrumb.d.ts.map +1 -0
- package/lib/core/components/shadcn/breadcrumb.js +52 -0
- package/lib/core/components/shadcn/breadcrumb.js.map +1 -0
- package/lib/core/components/shadcn/button.d.ts +38 -0
- package/lib/core/components/shadcn/button.d.ts.map +1 -0
- package/lib/core/components/shadcn/button.js +106 -0
- package/lib/core/components/shadcn/button.js.map +1 -0
- package/lib/core/components/shadcn/calendar.d.ts +11 -0
- package/lib/core/components/shadcn/calendar.d.ts.map +1 -0
- package/lib/core/components/shadcn/calendar.js +13 -0
- package/lib/core/components/shadcn/calendar.js.map +1 -0
- package/lib/core/components/shadcn/card.d.ts +9 -0
- package/lib/core/components/shadcn/card.d.ts.map +1 -0
- package/lib/core/components/shadcn/card.js +17 -0
- package/lib/core/components/shadcn/card.js.map +1 -0
- package/lib/core/components/shadcn/checkbox.d.ts +5 -0
- package/lib/core/components/shadcn/checkbox.d.ts.map +1 -0
- package/lib/core/components/shadcn/checkbox.js +9 -0
- package/lib/core/components/shadcn/checkbox.js.map +1 -0
- package/lib/core/components/shadcn/collaspible.d.ts +6 -0
- package/lib/core/components/shadcn/collaspible.d.ts.map +1 -0
- package/lib/core/components/shadcn/collaspible.js +13 -0
- package/lib/core/components/shadcn/collaspible.js.map +1 -0
- package/lib/core/components/shadcn/command.d.ts +17 -0
- package/lib/core/components/shadcn/command.d.ts.map +1 -0
- package/lib/core/components/shadcn/command.js +29 -0
- package/lib/core/components/shadcn/command.js.map +1 -0
- package/lib/core/components/shadcn/dropdown.d.ts +52 -0
- package/lib/core/components/shadcn/dropdown.d.ts.map +1 -0
- package/lib/core/components/shadcn/dropdown.js +92 -0
- package/lib/core/components/shadcn/dropdown.js.map +1 -0
- package/lib/core/components/shadcn/filters/DynamicLabel.d.ts +9 -0
- package/lib/core/components/shadcn/filters/DynamicLabel.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/DynamicLabel.js +38 -0
- package/lib/core/components/shadcn/filters/DynamicLabel.js.map +1 -0
- package/lib/core/components/shadcn/filters/animateChangeInHeight.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/animateChangeInHeight.js +23 -0
- package/lib/core/components/shadcn/filters/animateChangeInHeight.js.map +1 -0
- package/lib/core/components/shadcn/filters/comboBox/DateCombobox.d.ts +6 -0
- package/lib/core/components/shadcn/filters/comboBox/DateCombobox.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/comboBox/DateCombobox.js +130 -0
- package/lib/core/components/shadcn/filters/comboBox/DateCombobox.js.map +1 -0
- package/lib/core/components/shadcn/filters/comboBox/SelectCombobox.d.ts +10 -0
- package/lib/core/components/shadcn/filters/comboBox/SelectCombobox.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/comboBox/SelectCombobox.js +53 -0
- package/lib/core/components/shadcn/filters/comboBox/SelectCombobox.js.map +1 -0
- package/lib/core/components/shadcn/filters/comboBox/StringListCombobox.d.ts +6 -0
- package/lib/core/components/shadcn/filters/comboBox/StringListCombobox.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/comboBox/StringListCombobox.js +27 -0
- package/lib/core/components/shadcn/filters/comboBox/StringListCombobox.js.map +1 -0
- package/lib/core/components/shadcn/filters/comboBox/TextCombobox.d.ts +6 -0
- package/lib/core/components/shadcn/filters/comboBox/TextCombobox.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/comboBox/TextCombobox.js +28 -0
- package/lib/core/components/shadcn/filters/comboBox/TextCombobox.js.map +1 -0
- package/lib/core/components/shadcn/filters/comboBox/comboBox.d.ts +5 -0
- package/lib/core/components/shadcn/filters/comboBox/comboBox.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/comboBox/comboBox.js +5 -0
- package/lib/core/components/shadcn/filters/comboBox/comboBox.js.map +1 -0
- package/lib/core/components/shadcn/filters/filter/SelectFilter.d.ts +12 -0
- package/lib/core/components/shadcn/filters/filter/SelectFilter.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/filter/SelectFilter.js +102 -0
- package/lib/core/components/shadcn/filters/filter/SelectFilter.js.map +1 -0
- package/lib/core/components/shadcn/filters/filter/StringListFilter.d.ts +11 -0
- package/lib/core/components/shadcn/filters/filter/StringListFilter.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/filter/StringListFilter.js +24 -0
- package/lib/core/components/shadcn/filters/filter/StringListFilter.js.map +1 -0
- package/lib/core/components/shadcn/filters/filter/TextFilter.d.ts +13 -0
- package/lib/core/components/shadcn/filters/filter/TextFilter.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/filter/TextFilter.js +21 -0
- package/lib/core/components/shadcn/filters/filter/TextFilter.js.map +1 -0
- package/lib/core/components/shadcn/filters/filter/dateFilter.d.ts +14 -0
- package/lib/core/components/shadcn/filters/filter/dateFilter.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/filter/dateFilter.js +163 -0
- package/lib/core/components/shadcn/filters/filter/dateFilter.js.map +1 -0
- package/lib/core/components/shadcn/filters/filter-styles.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/filter-styles.js.map +1 -0
- package/lib/core/components/shadcn/filters/filterBar.d.ts +21 -0
- package/lib/core/components/shadcn/filters/filterBar.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/filterBar.js +259 -0
- package/lib/core/components/shadcn/filters/filterBar.js.map +1 -0
- package/lib/core/components/shadcn/filters/filters.d.ts +10 -0
- package/lib/core/components/shadcn/filters/filters.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/filters.js +63 -0
- package/lib/core/components/shadcn/filters/filters.js.map +1 -0
- package/lib/core/components/shadcn/filters/index.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/index.js.map +1 -0
- package/lib/core/components/shadcn/filters/types.d.ts +35 -0
- package/lib/core/components/shadcn/filters/types.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/types.js.map +1 -0
- package/lib/core/components/shadcn/heading.d.ts +6 -0
- package/lib/core/components/shadcn/heading.d.ts.map +1 -0
- package/lib/core/components/shadcn/heading.js +17 -0
- package/lib/core/components/shadcn/heading.js.map +1 -0
- package/lib/core/components/shadcn/index.d.ts +31 -0
- package/lib/core/components/shadcn/index.d.ts.map +1 -0
- package/lib/core/components/shadcn/index.js +31 -0
- package/lib/core/components/shadcn/index.js.map +1 -0
- package/lib/core/components/shadcn/input.d.ts +23 -0
- package/lib/core/components/shadcn/input.d.ts.map +1 -0
- package/lib/core/components/shadcn/input.js +43 -0
- package/lib/core/components/shadcn/input.js.map +1 -0
- package/lib/core/components/shadcn/label.d.ts +10 -0
- package/lib/core/components/shadcn/label.d.ts.map +1 -0
- package/lib/core/components/shadcn/label.js +10 -0
- package/lib/core/components/shadcn/label.js.map +1 -0
- package/lib/core/components/shadcn/modal/ConfirmModal.d.ts +12 -0
- package/lib/core/components/shadcn/modal/ConfirmModal.d.ts.map +1 -0
- package/lib/core/components/shadcn/modal/ConfirmModal.js +12 -0
- package/lib/core/components/shadcn/modal/ConfirmModal.js.map +1 -0
- package/lib/core/components/shadcn/modal/DeleteModal.d.ts +11 -0
- package/lib/core/components/shadcn/modal/DeleteModal.d.ts.map +1 -0
- package/lib/core/components/shadcn/modal/DeleteModal.js +34 -0
- package/lib/core/components/shadcn/modal/DeleteModal.js.map +1 -0
- package/lib/core/components/shadcn/modal/dialog.d.ts +41 -0
- package/lib/core/components/shadcn/modal/dialog.d.ts.map +1 -0
- package/lib/core/components/shadcn/modal/dialog.js +82 -0
- package/lib/core/components/shadcn/modal/dialog.js.map +1 -0
- package/lib/core/components/shadcn/modal/index.d.ts +4 -0
- package/lib/core/components/shadcn/modal/index.d.ts.map +1 -0
- package/lib/core/components/shadcn/modal/index.js +4 -0
- package/lib/core/components/shadcn/modal/index.js.map +1 -0
- package/lib/core/components/shadcn/popover.d.ts +32 -0
- package/lib/core/components/shadcn/popover.d.ts.map +1 -0
- package/lib/core/components/shadcn/popover.js +56 -0
- package/lib/core/components/shadcn/popover.js.map +1 -0
- package/lib/core/components/shadcn/radioGroup.d.ts +24 -0
- package/lib/core/components/shadcn/radioGroup.d.ts.map +1 -0
- package/lib/core/components/shadcn/radioGroup.js +30 -0
- package/lib/core/components/shadcn/radioGroup.js.map +1 -0
- package/lib/core/components/shadcn/resizeable.d.ts +13 -0
- package/lib/core/components/shadcn/resizeable.d.ts.map +1 -0
- package/lib/core/components/shadcn/resizeable.js +18 -0
- package/lib/core/components/shadcn/resizeable.js.map +1 -0
- package/lib/core/components/shadcn/selectBox.d.ts +51 -0
- package/lib/core/components/shadcn/selectBox.d.ts.map +1 -0
- package/lib/core/components/shadcn/selectBox.js +182 -0
- package/lib/core/components/shadcn/selectBox.js.map +1 -0
- package/lib/core/components/shadcn/separator.d.ts +6 -0
- package/lib/core/components/shadcn/separator.d.ts.map +1 -0
- package/lib/core/components/shadcn/separator.js +8 -0
- package/lib/core/components/shadcn/separator.js.map +1 -0
- package/lib/core/components/shadcn/slider.d.ts +10 -0
- package/lib/core/components/shadcn/slider.d.ts.map +1 -0
- package/lib/core/components/shadcn/slider.js +13 -0
- package/lib/core/components/shadcn/slider.js.map +1 -0
- package/lib/core/components/shadcn/switch.d.ts +13 -0
- package/lib/core/components/shadcn/switch.d.ts.map +1 -0
- package/lib/core/components/shadcn/switch.js +20 -0
- package/lib/core/components/shadcn/switch.js.map +1 -0
- package/lib/core/components/shadcn/tabs.d.ts +49 -0
- package/lib/core/components/shadcn/tabs.d.ts.map +1 -0
- package/lib/core/components/shadcn/tabs.js +140 -0
- package/lib/core/components/shadcn/tabs.js.map +1 -0
- package/lib/core/components/shadcn/text.d.ts +11 -0
- package/lib/core/components/shadcn/text.d.ts.map +1 -0
- package/lib/core/components/shadcn/text.js +30 -0
- package/lib/core/components/shadcn/text.js.map +1 -0
- package/lib/core/components/shadcn/textarea.d.ts +8 -0
- package/lib/core/components/shadcn/textarea.d.ts.map +1 -0
- package/lib/core/components/shadcn/textarea.js +35 -0
- package/lib/core/components/shadcn/textarea.js.map +1 -0
- package/lib/core/components/shadcn/theme/ThemeProvider.d.ts +15 -0
- package/lib/core/components/shadcn/theme/ThemeProvider.d.ts.map +1 -0
- package/lib/core/components/shadcn/theme/ThemeProvider.js +36 -0
- package/lib/core/components/shadcn/theme/ThemeProvider.js.map +1 -0
- package/lib/core/components/shadcn/theme/ThemeSwitcher.d.ts +16 -0
- package/lib/core/components/shadcn/theme/ThemeSwitcher.d.ts.map +1 -0
- package/lib/core/components/shadcn/theme/ThemeSwitcher.js +15 -0
- package/lib/core/components/shadcn/theme/ThemeSwitcher.js.map +1 -0
- package/lib/core/components/shadcn/tooltip.d.ts +21 -0
- package/lib/core/components/shadcn/tooltip.d.ts.map +1 -0
- package/lib/core/components/shadcn/tooltip.js +38 -0
- package/lib/core/components/shadcn/tooltip.js.map +1 -0
- package/lib/core/components/styles.d.ts.map +1 -0
- package/lib/core/components/styles.js +10 -0
- package/lib/core/components/styles.js.map +1 -0
- package/lib/core/components/table/index.d.ts +43 -0
- package/lib/core/components/table/index.d.ts.map +1 -0
- package/lib/core/components/table/index.js +43 -0
- package/lib/core/components/table/index.js.map +1 -0
- package/lib/core/components/toast/NotificationPanel.d.ts +8 -0
- package/lib/core/components/toast/NotificationPanel.d.ts.map +1 -0
- package/lib/core/components/toast/NotificationPanel.js +41 -0
- package/lib/core/components/toast/NotificationPanel.js.map +1 -0
- package/lib/core/components/toast/ToastContext.d.ts +6 -0
- package/lib/core/components/toast/ToastContext.d.ts.map +1 -0
- package/lib/core/components/toast/ToastContext.js +7 -0
- package/lib/core/components/toast/ToastContext.js.map +1 -0
- package/lib/core/components/toast/ToastProps.d.ts.map +1 -0
- package/lib/core/components/toast/ToastProps.js.map +1 -0
- package/lib/core/components/toast/ToastProvider.d.ts +6 -0
- package/lib/core/components/toast/ToastProvider.d.ts.map +1 -0
- package/lib/core/components/toast/ToastProvider.js +19 -0
- package/lib/core/components/toast/ToastProvider.js.map +1 -0
- package/lib/core/components/toast/index.d.ts +3 -0
- package/lib/core/components/toast/index.d.ts.map +1 -0
- package/lib/core/components/toast/index.js +3 -0
- package/lib/core/components/toast/index.js.map +1 -0
- package/lib/core/hooks/CompositeState.d.ts +137 -0
- package/lib/core/hooks/CompositeState.d.ts.map +1 -0
- package/lib/core/hooks/CompositeState.js +256 -0
- package/lib/core/hooks/CompositeState.js.map +1 -0
- package/lib/core/hooks/PortalContainerProvider.d.ts +8 -0
- package/lib/core/hooks/PortalContainerProvider.d.ts.map +1 -0
- package/lib/core/hooks/PortalContainerProvider.js +50 -0
- package/lib/core/hooks/PortalContainerProvider.js.map +1 -0
- package/lib/core/hooks/SharedState.d.ts +10 -0
- package/lib/core/hooks/SharedState.d.ts.map +1 -0
- package/lib/core/hooks/SharedState.js +64 -0
- package/lib/core/hooks/SharedState.js.map +1 -0
- package/lib/core/hooks/index.d.ts +16 -0
- package/lib/core/hooks/index.d.ts.map +1 -0
- package/lib/core/hooks/index.js +16 -0
- package/lib/core/hooks/index.js.map +1 -0
- package/lib/core/hooks/useClickOutside.d.ts.map +1 -0
- package/lib/core/hooks/useClickOutside.js +30 -0
- package/lib/core/hooks/useClickOutside.js.map +1 -0
- package/lib/core/hooks/useCopyToClipboard.d.ts.map +1 -0
- package/lib/core/hooks/useCopyToClipboard.js.map +1 -0
- package/lib/core/hooks/useDarkMode.d.ts.map +1 -0
- package/lib/core/hooks/useDarkMode.js +11 -0
- package/lib/core/hooks/useDarkMode.js.map +1 -0
- package/lib/core/hooks/useDebounce.d.ts.map +1 -0
- package/lib/core/hooks/useDebounce.js +14 -0
- package/lib/core/hooks/useDebounce.js.map +1 -0
- package/lib/core/hooks/useEventSource.d.ts +11 -0
- package/lib/core/hooks/useEventSource.d.ts.map +1 -0
- package/lib/core/hooks/useEventSource.js +56 -0
- package/lib/core/hooks/useEventSource.js.map +1 -0
- package/lib/core/hooks/useFetch.d.ts +24 -0
- package/lib/core/hooks/useFetch.d.ts.map +1 -0
- package/lib/core/hooks/useFetch.js +54 -0
- package/lib/core/hooks/useFetch.js.map +1 -0
- package/lib/core/hooks/useFlag.d.ts.map +1 -0
- package/lib/core/hooks/useFlag.js +13 -0
- package/lib/core/hooks/useFlag.js.map +1 -0
- package/lib/core/hooks/useIntersectionObserver.d.ts +14 -0
- package/lib/core/hooks/useIntersectionObserver.d.ts.map +1 -0
- package/lib/core/hooks/useIntersectionObserver.js +40 -0
- package/lib/core/hooks/useIntersectionObserver.js.map +1 -0
- package/lib/core/hooks/useIsFistRendering.d.ts.map +1 -0
- package/lib/core/hooks/useIsFistRendering.js +16 -0
- package/lib/core/hooks/useIsFistRendering.js.map +1 -0
- package/lib/core/hooks/useSafeLayoutEffect.d.ts +4 -0
- package/lib/core/hooks/useSafeLayoutEffect.d.ts.map +1 -0
- package/lib/core/hooks/useSafeLayoutEffect.js +4 -0
- package/lib/core/hooks/useSafeLayoutEffect.js.map +1 -0
- package/lib/core/hooks/useScrollableSearch.d.ts +82 -0
- package/lib/core/hooks/useScrollableSearch.d.ts.map +1 -0
- package/lib/core/hooks/useScrollableSearch.js +95 -0
- package/lib/core/hooks/useScrollableSearch.js.map +1 -0
- package/lib/core/hooks/useSharedValue.d.ts +12 -0
- package/lib/core/hooks/useSharedValue.d.ts.map +1 -0
- package/lib/core/hooks/useSharedValue.js +21 -0
- package/lib/core/hooks/useSharedValue.js.map +1 -0
- package/lib/core/index.d.ts +4 -0
- package/lib/core/index.d.ts.map +1 -0
- package/lib/core/index.js +4 -0
- package/lib/core/index.js.map +1 -0
- package/lib/core/utils/a11y.d.ts +16 -0
- package/lib/core/utils/a11y.d.ts.map +1 -0
- package/lib/core/utils/a11y.js +22 -0
- package/lib/core/utils/a11y.js.map +1 -0
- package/lib/core/utils/cn.d.ts +3 -0
- package/lib/core/utils/cn.d.ts.map +1 -0
- package/lib/core/utils/cn.js +6 -0
- package/lib/core/utils/cn.js.map +1 -0
- package/lib/core/utils/errorMessage.d.ts +2 -0
- package/lib/core/utils/errorMessage.d.ts.map +1 -0
- package/lib/core/utils/errorMessage.js +16 -0
- package/lib/core/utils/errorMessage.js.map +1 -0
- package/lib/core/utils/index.d.ts +5 -0
- package/lib/core/utils/index.d.ts.map +1 -0
- package/lib/core/utils/index.js +5 -0
- package/lib/core/utils/index.js.map +1 -0
- package/lib/core/utils/textarea.d.ts +7 -0
- package/lib/core/utils/textarea.d.ts.map +1 -0
- package/lib/core/utils/textarea.js +16 -0
- package/lib/core/utils/textarea.js.map +1 -0
- package/lib/env/index.d.ts +106 -0
- package/lib/env/index.d.ts.map +1 -0
- package/lib/env/index.js +91 -0
- package/lib/env/index.js.map +1 -0
- package/lib/features/activity-doc/ActivityDoc.d.ts +14 -0
- package/lib/features/activity-doc/ActivityDoc.d.ts.map +1 -0
- package/lib/features/activity-doc/ActivityDoc.js +68 -0
- package/lib/features/activity-doc/ActivityDoc.js.map +1 -0
- package/lib/features/activity-doc/index.d.ts +2 -0
- package/lib/features/activity-doc/index.d.ts.map +1 -0
- package/lib/features/activity-doc/index.js +2 -0
- package/lib/features/activity-doc/index.js.map +1 -0
- package/lib/features/agent/PayloadBuilder.d.ts +119 -0
- package/lib/features/agent/PayloadBuilder.d.ts.map +1 -0
- package/lib/features/agent/PayloadBuilder.js +457 -0
- package/lib/features/agent/PayloadBuilder.js.map +1 -0
- package/lib/features/agent/chat/AgentChart.d.ts +34 -0
- package/lib/features/agent/chat/AgentChart.d.ts.map +1 -0
- package/lib/features/agent/chat/AgentChart.js +26 -0
- package/lib/features/agent/chat/AgentChart.js.map +1 -0
- package/lib/features/agent/chat/AgentChatFixtureReplay.d.ts +34 -0
- package/lib/features/agent/chat/AgentChatFixtureReplay.d.ts.map +1 -0
- package/lib/features/agent/chat/AgentChatFixtureReplay.js +125 -0
- package/lib/features/agent/chat/AgentChatFixtureReplay.js.map +1 -0
- package/lib/features/agent/chat/AgentChatPlaybackControls.d.ts +10 -0
- package/lib/features/agent/chat/AgentChatPlaybackControls.d.ts.map +1 -0
- package/lib/features/agent/chat/AgentChatPlaybackControls.js +87 -0
- package/lib/features/agent/chat/AgentChatPlaybackControls.js.map +1 -0
- package/lib/features/agent/chat/AgentRequestInputOverlay.d.ts +10 -0
- package/lib/features/agent/chat/AgentRequestInputOverlay.d.ts.map +1 -0
- package/lib/features/agent/chat/AgentRequestInputOverlay.js +18 -0
- package/lib/features/agent/chat/AgentRequestInputOverlay.js.map +1 -0
- package/lib/features/agent/chat/AgentRightPanel.d.ts +45 -0
- package/lib/features/agent/chat/AgentRightPanel.d.ts.map +1 -0
- package/lib/features/agent/chat/AgentRightPanel.js +224 -0
- package/lib/features/agent/chat/AgentRightPanel.js.map +1 -0
- package/lib/features/agent/chat/AnimatedThinkingDots.d.ts +38 -0
- package/lib/features/agent/chat/AnimatedThinkingDots.d.ts.map +1 -0
- package/lib/features/agent/chat/AnimatedThinkingDots.js +242 -0
- package/lib/features/agent/chat/AnimatedThinkingDots.js.map +1 -0
- package/lib/features/agent/chat/ArtifactsTab.d.ts +9 -0
- package/lib/features/agent/chat/ArtifactsTab.d.ts.map +1 -0
- package/lib/features/agent/chat/ArtifactsTab.js +159 -0
- package/lib/features/agent/chat/ArtifactsTab.js.map +1 -0
- package/lib/features/agent/chat/AskUserWidget.d.ts +88 -0
- package/lib/features/agent/chat/AskUserWidget.d.ts.map +1 -0
- package/lib/features/agent/chat/AskUserWidget.js +133 -0
- package/lib/features/agent/chat/AskUserWidget.js.map +1 -0
- package/lib/features/agent/chat/BrowserUseWidget.d.ts +24 -0
- package/lib/features/agent/chat/BrowserUseWidget.d.ts.map +1 -0
- package/lib/features/agent/chat/BrowserUseWidget.js +122 -0
- package/lib/features/agent/chat/BrowserUseWidget.js.map +1 -0
- package/lib/features/agent/chat/DocumentPanel.d.ts +16 -0
- package/lib/features/agent/chat/DocumentPanel.d.ts.map +1 -0
- package/lib/features/agent/chat/DocumentPanel.js +53 -0
- package/lib/features/agent/chat/DocumentPanel.js.map +1 -0
- package/lib/features/agent/chat/DocumentTabBar.d.ts +9 -0
- package/lib/features/agent/chat/DocumentTabBar.d.ts.map +1 -0
- package/lib/features/agent/chat/DocumentTabBar.js +9 -0
- package/lib/features/agent/chat/DocumentTabBar.js.map +1 -0
- package/lib/features/agent/chat/ImageLightbox.d.ts +18 -0
- package/lib/features/agent/chat/ImageLightbox.d.ts.map +1 -0
- package/lib/features/agent/chat/ImageLightbox.js +37 -0
- package/lib/features/agent/chat/ImageLightbox.js.map +1 -0
- package/lib/features/agent/chat/JumpingDots.d.ts +7 -0
- package/lib/features/agent/chat/JumpingDots.d.ts.map +1 -0
- package/lib/features/agent/chat/JumpingDots.js +6 -0
- package/lib/features/agent/chat/JumpingDots.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentConversation.d.ts +169 -0
- package/lib/features/agent/chat/ModernAgentConversation.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentConversation.js +1147 -0
- package/lib/features/agent/chat/ModernAgentConversation.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts +86 -0
- package/lib/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js +1574 -0
- package/lib/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/AttachmentPreview.d.ts +38 -0
- package/lib/features/agent/chat/ModernAgentOutput/AttachmentPreview.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/AttachmentPreview.js +201 -0
- package/lib/features/agent/chat/ModernAgentOutput/AttachmentPreview.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/BatchProgressPanel.d.ts +26 -0
- package/lib/features/agent/chat/ModernAgentOutput/BatchProgressPanel.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/BatchProgressPanel.js +88 -0
- package/lib/features/agent/chat/ModernAgentOutput/BatchProgressPanel.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/Header.d.ts +45 -0
- package/lib/features/agent/chat/ModernAgentOutput/Header.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/Header.js +103 -0
- package/lib/features/agent/chat/ModernAgentOutput/Header.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.d.ts +11 -0
- package/lib/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.js +30 -0
- package/lib/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.d.ts +18 -0
- package/lib/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.js +80 -0
- package/lib/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessageInput.d.ts +70 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessageInput.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessageInput.js +296 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessageInput.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessageItem.d.ts +60 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessageItem.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessageItem.js +383 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessageItem.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessagesContainer.d.ts +15 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessagesContainer.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessagesContainer.js +21 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessagesContainer.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/PlanPanel.d.ts +9 -0
- package/lib/features/agent/chat/ModernAgentOutput/PlanPanel.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/PlanPanel.js +66 -0
- package/lib/features/agent/chat/ModernAgentOutput/PlanPanel.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlideInPanel.d.ts +11 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlideInPanel.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlideInPanel.js +24 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlideInPanel.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlidingMessages.d.ts +9 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlidingMessages.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlidingMessages.js +52 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlidingMessages.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.d.ts +10 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.js +85 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/StackedMessages.d.ts +9 -0
- package/lib/features/agent/chat/ModernAgentOutput/StackedMessages.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/StackedMessages.js +13 -0
- package/lib/features/agent/chat/ModernAgentOutput/StackedMessages.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/StreamingMessage.d.ts +38 -0
- package/lib/features/agent/chat/ModernAgentOutput/StreamingMessage.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/StreamingMessage.js +203 -0
- package/lib/features/agent/chat/ModernAgentOutput/StreamingMessage.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/SummaryConversation.d.ts +24 -0
- package/lib/features/agent/chat/ModernAgentOutput/SummaryConversation.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/SummaryConversation.js +332 -0
- package/lib/features/agent/chat/ModernAgentOutput/SummaryConversation.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/ToolCallGroup.d.ts +34 -0
- package/lib/features/agent/chat/ModernAgentOutput/ToolCallGroup.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/ToolCallGroup.js +643 -0
- package/lib/features/agent/chat/ModernAgentOutput/ToolCallGroup.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/WorkstreamTabs.d.ts +22 -0
- package/lib/features/agent/chat/ModernAgentOutput/WorkstreamTabs.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/WorkstreamTabs.js +95 -0
- package/lib/features/agent/chat/ModernAgentOutput/WorkstreamTabs.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/processContentForMarkdown.d.ts +3 -0
- package/lib/features/agent/chat/ModernAgentOutput/processContentForMarkdown.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/processContentForMarkdown.js +123 -0
- package/lib/features/agent/chat/ModernAgentOutput/processContentForMarkdown.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/requestInputMessages.d.ts +13 -0
- package/lib/features/agent/chat/ModernAgentOutput/requestInputMessages.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/requestInputMessages.js +69 -0
- package/lib/features/agent/chat/ModernAgentOutput/requestInputMessages.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/utils.d.ts +147 -0
- package/lib/features/agent/chat/ModernAgentOutput/utils.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/utils.js +634 -0
- package/lib/features/agent/chat/ModernAgentOutput/utils.js.map +1 -0
- package/lib/features/agent/chat/ProposalCodeBlockHandler.d.ts +9 -0
- package/lib/features/agent/chat/ProposalCodeBlockHandler.d.ts.map +1 -0
- package/lib/features/agent/chat/ProposalCodeBlockHandler.js +55 -0
- package/lib/features/agent/chat/ProposalCodeBlockHandler.js.map +1 -0
- package/lib/features/agent/chat/SkillWidgetProvider.d.ts +11 -0
- package/lib/features/agent/chat/SkillWidgetProvider.d.ts.map +1 -0
- package/lib/features/agent/chat/SkillWidgetProvider.js +156 -0
- package/lib/features/agent/chat/SkillWidgetProvider.js.map +1 -0
- package/lib/features/agent/chat/SlidingThinkingIndicator.d.ts +18 -0
- package/lib/features/agent/chat/SlidingThinkingIndicator.d.ts.map +1 -0
- package/lib/features/agent/chat/SlidingThinkingIndicator.js +269 -0
- package/lib/features/agent/chat/SlidingThinkingIndicator.js.map +1 -0
- package/lib/features/agent/chat/VegaLiteChart.d.ts +52 -0
- package/lib/features/agent/chat/VegaLiteChart.d.ts.map +1 -0
- package/lib/features/agent/chat/VegaLiteChart.js +813 -0
- package/lib/features/agent/chat/VegaLiteChart.js.map +1 -0
- package/lib/features/agent/chat/WaitingMessages.d.ts.map +1 -0
- package/lib/features/agent/chat/WaitingMessages.js +60 -0
- package/lib/features/agent/chat/WaitingMessages.js.map +1 -0
- package/lib/features/agent/chat/hooks/useAgentPlans.d.ts +22 -0
- package/lib/features/agent/chat/hooks/useAgentPlans.d.ts.map +1 -0
- package/lib/features/agent/chat/hooks/useAgentPlans.js +139 -0
- package/lib/features/agent/chat/hooks/useAgentPlans.js.map +1 -0
- package/lib/features/agent/chat/hooks/useAgentStream.d.ts +50 -0
- package/lib/features/agent/chat/hooks/useAgentStream.d.ts.map +1 -0
- package/lib/features/agent/chat/hooks/useAgentStream.js +289 -0
- package/lib/features/agent/chat/hooks/useAgentStream.js.map +1 -0
- package/lib/features/agent/chat/hooks/useArtifacts.d.ts +25 -0
- package/lib/features/agent/chat/hooks/useArtifacts.d.ts.map +1 -0
- package/lib/features/agent/chat/hooks/useArtifacts.js +122 -0
- package/lib/features/agent/chat/hooks/useArtifacts.js.map +1 -0
- package/lib/features/agent/chat/hooks/useDocumentPanel.d.ts +23 -0
- package/lib/features/agent/chat/hooks/useDocumentPanel.d.ts.map +1 -0
- package/lib/features/agent/chat/hooks/useDocumentPanel.js +155 -0
- package/lib/features/agent/chat/hooks/useDocumentPanel.js.map +1 -0
- package/lib/features/agent/chat/hooks/useFileProcessing.d.ts +28 -0
- package/lib/features/agent/chat/hooks/useFileProcessing.d.ts.map +1 -0
- package/lib/features/agent/chat/hooks/useFileProcessing.js +177 -0
- package/lib/features/agent/chat/hooks/useFileProcessing.js.map +1 -0
- package/lib/features/agent/chat/index.d.ts +24 -0
- package/lib/features/agent/chat/index.d.ts.map +1 -0
- package/lib/features/agent/chat/index.js +21 -0
- package/lib/features/agent/chat/index.js.map +1 -0
- package/lib/features/agent/chat/playback.d.ts +21 -0
- package/lib/features/agent/chat/playback.d.ts.map +1 -0
- package/lib/features/agent/chat/playback.js +72 -0
- package/lib/features/agent/chat/playback.js.map +1 -0
- package/lib/features/agent/chat/types/document.d.ts.map +1 -0
- package/lib/features/agent/chat/types/document.js.map +1 -0
- package/lib/features/agent/chat/useArtifactUrlCache.d.ts +34 -0
- package/lib/features/agent/chat/useArtifactUrlCache.d.ts.map +1 -0
- package/lib/features/agent/chat/useArtifactUrlCache.js +72 -0
- package/lib/features/agent/chat/useArtifactUrlCache.js.map +1 -0
- package/lib/features/agent/chat/workstreams.d.ts +30 -0
- package/lib/features/agent/chat/workstreams.d.ts.map +1 -0
- package/lib/features/agent/chat/workstreams.js +136 -0
- package/lib/features/agent/chat/workstreams.js.map +1 -0
- package/lib/features/agent/index.d.ts +3 -0
- package/lib/features/agent/index.d.ts.map +1 -0
- package/lib/features/agent/index.js +3 -0
- package/lib/features/agent/index.js.map +1 -0
- package/lib/features/document-viewer/UniversalDocumentViewer.d.ts +73 -0
- package/lib/features/document-viewer/UniversalDocumentViewer.d.ts.map +1 -0
- package/lib/features/document-viewer/UniversalDocumentViewer.js +415 -0
- package/lib/features/document-viewer/UniversalDocumentViewer.js.map +1 -0
- package/lib/features/document-viewer/index.d.ts +2 -0
- package/lib/features/document-viewer/index.d.ts.map +1 -0
- package/lib/features/document-viewer/index.js +2 -0
- package/lib/features/document-viewer/index.js.map +1 -0
- package/lib/features/errors/PanelErrorBoundary.d.ts +5 -0
- package/lib/features/errors/PanelErrorBoundary.d.ts.map +1 -0
- package/lib/features/errors/PanelErrorBoundary.js +13 -0
- package/lib/features/errors/PanelErrorBoundary.js.map +1 -0
- package/lib/features/errors/RowErrorBoundary.d.ts +8 -0
- package/lib/features/errors/RowErrorBoundary.d.ts.map +1 -0
- package/lib/features/errors/RowErrorBoundary.js +10 -0
- package/lib/features/errors/RowErrorBoundary.js.map +1 -0
- package/lib/features/errors/VertesiaErrorBoundary.d.ts +12 -0
- package/lib/features/errors/VertesiaErrorBoundary.d.ts.map +1 -0
- package/lib/features/errors/VertesiaErrorBoundary.js +16 -0
- package/lib/features/errors/VertesiaErrorBoundary.js.map +1 -0
- package/lib/features/errors/WidgetErrorBoundary.d.ts +5 -0
- package/lib/features/errors/WidgetErrorBoundary.d.ts.map +1 -0
- package/lib/features/errors/WidgetErrorBoundary.js +11 -0
- package/lib/features/errors/WidgetErrorBoundary.js.map +1 -0
- package/lib/features/errors/index.d.ts +5 -0
- package/lib/features/errors/index.d.ts.map +1 -0
- package/lib/features/errors/index.js +5 -0
- package/lib/features/errors/index.js.map +1 -0
- package/lib/features/facets/AgentRunnerFacetsNav.d.ts +19 -0
- package/lib/features/facets/AgentRunnerFacetsNav.d.ts.map +1 -0
- package/lib/features/facets/AgentRunnerFacetsNav.js +85 -0
- package/lib/features/facets/AgentRunnerFacetsNav.js.map +1 -0
- package/lib/features/facets/CollectionsFacetsNav.d.ts +15 -0
- package/lib/features/facets/CollectionsFacetsNav.d.ts.map +1 -0
- package/lib/features/facets/CollectionsFacetsNav.js +74 -0
- package/lib/features/facets/CollectionsFacetsNav.js.map +1 -0
- package/lib/features/facets/DocumentsFacetsNav.d.ts +12 -0
- package/lib/features/facets/DocumentsFacetsNav.d.ts.map +1 -0
- package/lib/features/facets/DocumentsFacetsNav.js +137 -0
- package/lib/features/facets/DocumentsFacetsNav.js.map +1 -0
- package/lib/features/facets/EnvironmentFacet.d.ts +11 -0
- package/lib/features/facets/EnvironmentFacet.d.ts.map +1 -0
- package/lib/features/facets/EnvironmentFacet.js +42 -0
- package/lib/features/facets/EnvironmentFacet.js.map +1 -0
- package/lib/features/facets/InteractionsFacetsNav.d.ts +13 -0
- package/lib/features/facets/InteractionsFacetsNav.d.ts.map +1 -0
- package/lib/features/facets/InteractionsFacetsNav.js +73 -0
- package/lib/features/facets/InteractionsFacetsNav.js.map +1 -0
- package/lib/features/facets/ProcessDefinitionsFacetsNav.d.ts +19 -0
- package/lib/features/facets/ProcessDefinitionsFacetsNav.d.ts.map +1 -0
- package/lib/features/facets/ProcessDefinitionsFacetsNav.js +21 -0
- package/lib/features/facets/ProcessDefinitionsFacetsNav.js.map +1 -0
- package/lib/features/facets/ProcessRunsFacetsNav.d.ts +22 -0
- package/lib/features/facets/ProcessRunsFacetsNav.d.ts.map +1 -0
- package/lib/features/facets/ProcessRunsFacetsNav.js +25 -0
- package/lib/features/facets/ProcessRunsFacetsNav.js.map +1 -0
- package/lib/features/facets/PromptsFacetsNav.d.ts +16 -0
- package/lib/features/facets/PromptsFacetsNav.d.ts.map +1 -0
- package/lib/features/facets/PromptsFacetsNav.js +65 -0
- package/lib/features/facets/PromptsFacetsNav.js.map +1 -0
- package/lib/features/facets/RunsFacetsNav.d.ts +24 -0
- package/lib/features/facets/RunsFacetsNav.d.ts.map +1 -0
- package/lib/features/facets/RunsFacetsNav.js +147 -0
- package/lib/features/facets/RunsFacetsNav.js.map +1 -0
- package/lib/features/facets/WorkflowDefinitionsFacetsNav.d.ts +20 -0
- package/lib/features/facets/WorkflowDefinitionsFacetsNav.d.ts.map +1 -0
- package/lib/features/facets/WorkflowDefinitionsFacetsNav.js +21 -0
- package/lib/features/facets/WorkflowDefinitionsFacetsNav.js.map +1 -0
- package/lib/features/facets/WorkflowExecutionsFacetsNav.d.ts +15 -0
- package/lib/features/facets/WorkflowExecutionsFacetsNav.d.ts.map +1 -0
- package/lib/features/facets/WorkflowExecutionsFacetsNav.js +103 -0
- package/lib/features/facets/WorkflowExecutionsFacetsNav.js.map +1 -0
- package/lib/features/facets/WorkflowRulesFacetsNav.d.ts +20 -0
- package/lib/features/facets/WorkflowRulesFacetsNav.d.ts.map +1 -0
- package/lib/features/facets/WorkflowRulesFacetsNav.js +19 -0
- package/lib/features/facets/WorkflowRulesFacetsNav.js.map +1 -0
- package/lib/features/facets/index.d.ts +21 -0
- package/lib/features/facets/index.d.ts.map +1 -0
- package/lib/features/facets/index.js +21 -0
- package/lib/features/facets/index.js.map +1 -0
- package/lib/features/facets/utils/SearchInterface.d.ts +20 -0
- package/lib/features/facets/utils/SearchInterface.d.ts.map +1 -0
- package/lib/features/facets/utils/SearchInterface.js +20 -0
- package/lib/features/facets/utils/SearchInterface.js.map +1 -0
- package/lib/features/facets/utils/StringFacet.d.ts +12 -0
- package/lib/features/facets/utils/StringFacet.d.ts.map +1 -0
- package/lib/features/facets/utils/StringFacet.js +12 -0
- package/lib/features/facets/utils/StringFacet.js.map +1 -0
- package/lib/features/facets/utils/StringListFacet.d.ts +12 -0
- package/lib/features/facets/utils/StringListFacet.d.ts.map +1 -0
- package/lib/features/facets/utils/StringListFacet.js +11 -0
- package/lib/features/facets/utils/StringListFacet.js.map +1 -0
- package/lib/features/facets/utils/TypeFacet.d.ts +17 -0
- package/lib/features/facets/utils/TypeFacet.d.ts.map +1 -0
- package/lib/features/facets/utils/TypeFacet.js +42 -0
- package/lib/features/facets/utils/TypeFacet.js.map +1 -0
- package/lib/features/facets/utils/VEnvironmentFacet.d.ts +12 -0
- package/lib/features/facets/utils/VEnvironmentFacet.d.ts.map +1 -0
- package/lib/features/facets/utils/VEnvironmentFacet.js +25 -0
- package/lib/features/facets/utils/VEnvironmentFacet.js.map +1 -0
- package/lib/features/facets/utils/VInteractionFacet.d.ts +15 -0
- package/lib/features/facets/utils/VInteractionFacet.d.ts.map +1 -0
- package/lib/features/facets/utils/VInteractionFacet.js +45 -0
- package/lib/features/facets/utils/VInteractionFacet.js.map +1 -0
- package/lib/features/facets/utils/VStringFacet.d.ts +20 -0
- package/lib/features/facets/utils/VStringFacet.d.ts.map +1 -0
- package/lib/features/facets/utils/VStringFacet.js +20 -0
- package/lib/features/facets/utils/VStringFacet.js.map +1 -0
- package/lib/features/facets/utils/VTypeFacet.d.ts +12 -0
- package/lib/features/facets/utils/VTypeFacet.d.ts.map +1 -0
- package/lib/features/facets/utils/VTypeFacet.js +61 -0
- package/lib/features/facets/utils/VTypeFacet.js.map +1 -0
- package/lib/features/facets/utils/VUserFacet.d.ts +11 -0
- package/lib/features/facets/utils/VUserFacet.d.ts.map +1 -0
- package/lib/features/facets/utils/VUserFacet.js +31 -0
- package/lib/features/facets/utils/VUserFacet.js.map +1 -0
- package/lib/features/facets/utils/utils.d.ts +4 -0
- package/lib/features/facets/utils/utils.d.ts.map +1 -0
- package/lib/features/facets/utils/utils.js.map +1 -0
- package/lib/features/index.d.ts +15 -0
- package/lib/features/index.d.ts.map +1 -0
- package/lib/features/index.js +15 -0
- package/lib/features/index.js.map +1 -0
- package/lib/features/layout/GenericPageNavHeader.d.ts +19 -0
- package/lib/features/layout/GenericPageNavHeader.d.ts.map +1 -0
- package/lib/features/layout/GenericPageNavHeader.js +89 -0
- package/lib/features/layout/GenericPageNavHeader.js.map +1 -0
- package/lib/features/layout/NotFoundView.d.ts +2 -0
- package/lib/features/layout/NotFoundView.d.ts.map +1 -0
- package/lib/features/layout/NotFoundView.js +7 -0
- package/lib/features/layout/NotFoundView.js.map +1 -0
- package/lib/features/layout/index.d.ts +3 -0
- package/lib/features/layout/index.d.ts.map +1 -0
- package/lib/features/layout/index.js +3 -0
- package/lib/features/layout/index.js.map +1 -0
- package/lib/features/magic-pdf/AnnotatedImageSlider.d.ts +13 -0
- package/lib/features/magic-pdf/AnnotatedImageSlider.d.ts.map +1 -0
- package/lib/features/magic-pdf/AnnotatedImageSlider.js +277 -0
- package/lib/features/magic-pdf/AnnotatedImageSlider.js.map +1 -0
- package/lib/features/magic-pdf/DownloadPopover.d.ts +7 -0
- package/lib/features/magic-pdf/DownloadPopover.d.ts.map +1 -0
- package/lib/features/magic-pdf/DownloadPopover.js +29 -0
- package/lib/features/magic-pdf/DownloadPopover.js.map +1 -0
- package/lib/features/magic-pdf/ExtractedContentView.d.ts +8 -0
- package/lib/features/magic-pdf/ExtractedContentView.d.ts.map +1 -0
- package/lib/features/magic-pdf/ExtractedContentView.js +79 -0
- package/lib/features/magic-pdf/ExtractedContentView.js.map +1 -0
- package/lib/features/magic-pdf/MagicPdfProvider.d.ts +58 -0
- package/lib/features/magic-pdf/MagicPdfProvider.d.ts.map +1 -0
- package/lib/features/magic-pdf/MagicPdfProvider.js +241 -0
- package/lib/features/magic-pdf/MagicPdfProvider.js.map +1 -0
- package/lib/features/magic-pdf/MagicPdfView.d.ts +7 -0
- package/lib/features/magic-pdf/MagicPdfView.d.ts.map +1 -0
- package/lib/features/magic-pdf/MagicPdfView.js +64 -0
- package/lib/features/magic-pdf/MagicPdfView.js.map +1 -0
- package/lib/features/magic-pdf/index.d.ts +2 -0
- package/lib/features/magic-pdf/index.d.ts.map +1 -0
- package/lib/features/magic-pdf/index.js +2 -0
- package/lib/features/magic-pdf/index.js.map +1 -0
- package/lib/features/magic-pdf/types.d.ts +2 -0
- package/lib/features/magic-pdf/types.d.ts.map +1 -0
- package/lib/features/magic-pdf/types.js.map +1 -0
- package/lib/features/media-viewer/AudioPanel.d.ts +18 -0
- package/lib/features/media-viewer/AudioPanel.d.ts.map +1 -0
- package/lib/features/media-viewer/AudioPanel.js +77 -0
- package/lib/features/media-viewer/AudioPanel.js.map +1 -0
- package/lib/features/media-viewer/ImagePanel.d.ts +18 -0
- package/lib/features/media-viewer/ImagePanel.d.ts.map +1 -0
- package/lib/features/media-viewer/ImagePanel.js +74 -0
- package/lib/features/media-viewer/ImagePanel.js.map +1 -0
- package/lib/features/media-viewer/VideoPanel.d.ts +18 -0
- package/lib/features/media-viewer/VideoPanel.d.ts.map +1 -0
- package/lib/features/media-viewer/VideoPanel.js +89 -0
- package/lib/features/media-viewer/VideoPanel.js.map +1 -0
- package/lib/features/media-viewer/formats.d.ts +11 -0
- package/lib/features/media-viewer/formats.d.ts.map +1 -0
- package/lib/features/media-viewer/formats.js +34 -0
- package/lib/features/media-viewer/formats.js.map +1 -0
- package/lib/features/media-viewer/index.d.ts +5 -0
- package/lib/features/media-viewer/index.d.ts.map +1 -0
- package/lib/features/media-viewer/index.js +5 -0
- package/lib/features/media-viewer/index.js.map +1 -0
- package/lib/features/oauth/OAuthProviderConnectButton.d.ts +11 -0
- package/lib/features/oauth/OAuthProviderConnectButton.d.ts.map +1 -0
- package/lib/features/oauth/OAuthProviderConnectButton.js +85 -0
- package/lib/features/oauth/OAuthProviderConnectButton.js.map +1 -0
- package/lib/features/oauth/RemoteMcpConnectionButton.d.ts +25 -0
- package/lib/features/oauth/RemoteMcpConnectionButton.d.ts.map +1 -0
- package/lib/features/oauth/RemoteMcpConnectionButton.js +119 -0
- package/lib/features/oauth/RemoteMcpConnectionButton.js.map +1 -0
- package/lib/features/oauth/index.d.ts.map +1 -0
- package/lib/features/oauth/index.js.map +1 -0
- package/lib/features/oauth/useOAuthPopup.d.ts.map +1 -0
- package/lib/features/oauth/useOAuthPopup.js.map +1 -0
- package/lib/features/pdf-viewer/PdfPageRenderer.d.ts +83 -0
- package/lib/features/pdf-viewer/PdfPageRenderer.d.ts.map +1 -0
- package/lib/features/pdf-viewer/PdfPageRenderer.js +259 -0
- package/lib/features/pdf-viewer/PdfPageRenderer.js.map +1 -0
- package/lib/features/pdf-viewer/PdfPageSlider.d.ts +29 -0
- package/lib/features/pdf-viewer/PdfPageSlider.d.ts.map +1 -0
- package/lib/features/pdf-viewer/PdfPageSlider.js +274 -0
- package/lib/features/pdf-viewer/PdfPageSlider.js.map +1 -0
- package/lib/features/pdf-viewer/SimplePdfViewer.d.ts +19 -0
- package/lib/features/pdf-viewer/SimplePdfViewer.d.ts.map +1 -0
- package/lib/features/pdf-viewer/SimplePdfViewer.js +74 -0
- package/lib/features/pdf-viewer/SimplePdfViewer.js.map +1 -0
- package/lib/features/pdf-viewer/index.d.ts.map +1 -0
- package/lib/features/pdf-viewer/index.js.map +1 -0
- package/lib/features/permissions/SecureButton.d.ts +8 -0
- package/lib/features/permissions/SecureButton.d.ts.map +1 -0
- package/lib/features/permissions/SecureButton.js +12 -0
- package/lib/features/permissions/SecureButton.js.map +1 -0
- package/lib/features/permissions/SecureSidebarItem.d.ts +8 -0
- package/lib/features/permissions/SecureSidebarItem.d.ts.map +1 -0
- package/lib/features/permissions/SecureSidebarItem.js +14 -0
- package/lib/features/permissions/SecureSidebarItem.js.map +1 -0
- package/lib/features/permissions/UserPermissionsProvider.d.ts +20 -0
- package/lib/features/permissions/UserPermissionsProvider.d.ts.map +1 -0
- package/lib/features/permissions/UserPermissionsProvider.js +98 -0
- package/lib/features/permissions/UserPermissionsProvider.js.map +1 -0
- package/lib/features/permissions/helpers.d.ts +5 -0
- package/lib/features/permissions/helpers.d.ts.map +1 -0
- package/lib/features/permissions/helpers.js.map +1 -0
- package/lib/features/permissions/index.d.ts +5 -0
- package/lib/features/permissions/index.d.ts.map +1 -0
- package/lib/features/permissions/index.js +5 -0
- package/lib/features/permissions/index.js.map +1 -0
- package/lib/features/store/collections/BrowseCollectionView.d.ts +7 -0
- package/lib/features/store/collections/BrowseCollectionView.d.ts.map +1 -0
- package/lib/features/store/collections/BrowseCollectionView.js +48 -0
- package/lib/features/store/collections/BrowseCollectionView.js.map +1 -0
- package/lib/features/store/collections/CollectionsTable.d.ts +5 -0
- package/lib/features/store/collections/CollectionsTable.d.ts.map +1 -0
- package/lib/features/store/collections/CollectionsTable.js +65 -0
- package/lib/features/store/collections/CollectionsTable.js.map +1 -0
- package/lib/features/store/collections/CreateCollection.d.ts +13 -0
- package/lib/features/store/collections/CreateCollection.d.ts.map +1 -0
- package/lib/features/store/collections/CreateCollection.js +89 -0
- package/lib/features/store/collections/CreateCollection.js.map +1 -0
- package/lib/features/store/collections/EditCollectionView.d.ts +8 -0
- package/lib/features/store/collections/EditCollectionView.d.ts.map +1 -0
- package/lib/features/store/collections/EditCollectionView.js +228 -0
- package/lib/features/store/collections/EditCollectionView.js.map +1 -0
- package/lib/features/store/collections/SelectCollection.d.ts +20 -0
- package/lib/features/store/collections/SelectCollection.d.ts.map +1 -0
- package/lib/features/store/collections/SelectCollection.js +134 -0
- package/lib/features/store/collections/SelectCollection.js.map +1 -0
- package/lib/features/store/collections/SharedPropsEditor.d.ts +7 -0
- package/lib/features/store/collections/SharedPropsEditor.d.ts.map +1 -0
- package/lib/features/store/collections/SharedPropsEditor.js +44 -0
- package/lib/features/store/collections/SharedPropsEditor.js.map +1 -0
- package/lib/features/store/collections/SyncMemberHeadsToggle.d.ts +7 -0
- package/lib/features/store/collections/SyncMemberHeadsToggle.d.ts.map +1 -0
- package/lib/features/store/collections/SyncMemberHeadsToggle.js +41 -0
- package/lib/features/store/collections/SyncMemberHeadsToggle.js.map +1 -0
- package/lib/features/store/collections/index.d.ts +8 -0
- package/lib/features/store/collections/index.d.ts.map +1 -0
- package/lib/features/store/collections/index.js +8 -0
- package/lib/features/store/collections/index.js.map +1 -0
- package/lib/features/store/index.d.ts +4 -0
- package/lib/features/store/index.d.ts.map +1 -0
- package/lib/features/store/index.js +4 -0
- package/lib/features/store/index.js.map +1 -0
- package/lib/features/store/objects/DocumentPreviewPanel.d.ts +8 -0
- package/lib/features/store/objects/DocumentPreviewPanel.d.ts.map +1 -0
- package/lib/features/store/objects/DocumentPreviewPanel.js +146 -0
- package/lib/features/store/objects/DocumentPreviewPanel.js.map +1 -0
- package/lib/features/store/objects/DocumentSearchResults.d.ts +20 -0
- package/lib/features/store/objects/DocumentSearchResults.d.ts.map +1 -0
- package/lib/features/store/objects/DocumentSearchResults.js +251 -0
- package/lib/features/store/objects/DocumentSearchResults.js.map +1 -0
- package/lib/features/store/objects/DocumentSelectionProvider.d.ts +33 -0
- package/lib/features/store/objects/DocumentSelectionProvider.d.ts.map +1 -0
- package/lib/features/store/objects/DocumentSelectionProvider.js +81 -0
- package/lib/features/store/objects/DocumentSelectionProvider.js.map +1 -0
- package/lib/features/store/objects/DocumentTable.d.ts +25 -0
- package/lib/features/store/objects/DocumentTable.d.ts.map +1 -0
- package/lib/features/store/objects/DocumentTable.js +281 -0
- package/lib/features/store/objects/DocumentTable.js.map +1 -0
- package/lib/features/store/objects/ExportPropertiesModal.d.ts +12 -0
- package/lib/features/store/objects/ExportPropertiesModal.d.ts.map +1 -0
- package/lib/features/store/objects/ExportPropertiesModal.js +31 -0
- package/lib/features/store/objects/ExportPropertiesModal.js.map +1 -0
- package/lib/features/store/objects/components/ContentDispositionButton.d.ts +9 -0
- package/lib/features/store/objects/components/ContentDispositionButton.d.ts.map +1 -0
- package/lib/features/store/objects/components/ContentDispositionButton.js +31 -0
- package/lib/features/store/objects/components/ContentDispositionButton.js.map +1 -0
- package/lib/features/store/objects/components/ContentOverview.d.ts +10 -0
- package/lib/features/store/objects/components/ContentOverview.d.ts.map +1 -0
- package/lib/features/store/objects/components/ContentOverview.js +433 -0
- package/lib/features/store/objects/components/ContentOverview.js.map +1 -0
- package/lib/features/store/objects/components/DocumentIcon.d.ts +19 -0
- package/lib/features/store/objects/components/DocumentIcon.d.ts.map +1 -0
- package/lib/features/store/objects/components/DocumentIcon.js +37 -0
- package/lib/features/store/objects/components/DocumentIcon.js.map +1 -0
- package/lib/features/store/objects/components/DocumentInput.d.ts +8 -0
- package/lib/features/store/objects/components/DocumentInput.d.ts.map +1 -0
- package/lib/features/store/objects/components/DocumentInput.js +52 -0
- package/lib/features/store/objects/components/DocumentInput.js.map +1 -0
- package/lib/features/store/objects/components/PropertiesEditorModal.d.ts +9 -0
- package/lib/features/store/objects/components/PropertiesEditorModal.d.ts.map +1 -0
- package/lib/features/store/objects/components/PropertiesEditorModal.js +161 -0
- package/lib/features/store/objects/components/PropertiesEditorModal.js.map +1 -0
- package/lib/features/store/objects/components/SaveVersionConfirmModal.d.ts +9 -0
- package/lib/features/store/objects/components/SaveVersionConfirmModal.d.ts.map +1 -0
- package/lib/features/store/objects/components/SaveVersionConfirmModal.js +58 -0
- package/lib/features/store/objects/components/SaveVersionConfirmModal.js.map +1 -0
- package/lib/features/store/objects/components/SelectDocument.d.ts +11 -0
- package/lib/features/store/objects/components/SelectDocument.d.ts.map +1 -0
- package/lib/features/store/objects/components/SelectDocument.js +55 -0
- package/lib/features/store/objects/components/SelectDocument.js.map +1 -0
- package/lib/features/store/objects/components/SelectDocumentModal.d.ts +9 -0
- package/lib/features/store/objects/components/SelectDocumentModal.d.ts.map +1 -0
- package/lib/features/store/objects/components/SelectDocumentModal.js +7 -0
- package/lib/features/store/objects/components/SelectDocumentModal.js.map +1 -0
- package/lib/features/store/objects/components/TextEditorPanel.d.ts +10 -0
- package/lib/features/store/objects/components/TextEditorPanel.d.ts.map +1 -0
- package/lib/features/store/objects/components/TextEditorPanel.js +99 -0
- package/lib/features/store/objects/components/TextEditorPanel.js.map +1 -0
- package/lib/features/store/objects/components/VectorSearchWidget.d.ts +12 -0
- package/lib/features/store/objects/components/VectorSearchWidget.d.ts.map +1 -0
- package/lib/features/store/objects/components/VectorSearchWidget.js +101 -0
- package/lib/features/store/objects/components/VectorSearchWidget.js.map +1 -0
- package/lib/features/store/objects/components/index.d.ts +10 -0
- package/lib/features/store/objects/components/index.d.ts.map +1 -0
- package/lib/features/store/objects/components/index.js +10 -0
- package/lib/features/store/objects/components/index.js.map +1 -0
- package/lib/features/store/objects/components/useContentPanelHooks.d.ts +30 -0
- package/lib/features/store/objects/components/useContentPanelHooks.d.ts.map +1 -0
- package/lib/features/store/objects/components/useContentPanelHooks.js +193 -0
- package/lib/features/store/objects/components/useContentPanelHooks.js.map +1 -0
- package/lib/features/store/objects/components/useDownloadFile.d.ts +39 -0
- package/lib/features/store/objects/components/useDownloadFile.d.ts.map +1 -0
- package/lib/features/store/objects/components/useDownloadFile.js +196 -0
- package/lib/features/store/objects/components/useDownloadFile.js.map +1 -0
- package/lib/features/store/objects/index.d.ts +11 -0
- package/lib/features/store/objects/index.d.ts.map +1 -0
- package/lib/features/store/objects/index.js +11 -0
- package/lib/features/store/objects/index.js.map +1 -0
- package/lib/features/store/objects/layout/DocumentTableColumn.d.ts +18 -0
- package/lib/features/store/objects/layout/DocumentTableColumn.d.ts.map +1 -0
- package/lib/features/store/objects/layout/DocumentTableColumn.js +95 -0
- package/lib/features/store/objects/layout/DocumentTableColumn.js.map +1 -0
- package/lib/features/store/objects/layout/documentLayout.d.ts +21 -0
- package/lib/features/store/objects/layout/documentLayout.d.ts.map +1 -0
- package/lib/features/store/objects/layout/documentLayout.js +18 -0
- package/lib/features/store/objects/layout/documentLayout.js.map +1 -0
- package/lib/features/store/objects/layout/index.d.ts +3 -0
- package/lib/features/store/objects/layout/index.d.ts.map +1 -0
- package/lib/features/store/objects/layout/index.js +3 -0
- package/lib/features/store/objects/layout/index.js.map +1 -0
- package/lib/features/store/objects/layout/renderers.d.ts +3 -0
- package/lib/features/store/objects/layout/renderers.d.ts.map +1 -0
- package/lib/features/store/objects/layout/renderers.js +198 -0
- package/lib/features/store/objects/layout/renderers.js.map +1 -0
- package/lib/features/store/objects/search/DocumentSearchContext.d.ts +53 -0
- package/lib/features/store/objects/search/DocumentSearchContext.d.ts.map +1 -0
- package/lib/features/store/objects/search/DocumentSearchContext.js +190 -0
- package/lib/features/store/objects/search/DocumentSearchContext.js.map +1 -0
- package/lib/features/store/objects/search/DocumentSearchProvider.d.ts +14 -0
- package/lib/features/store/objects/search/DocumentSearchProvider.d.ts.map +1 -0
- package/lib/features/store/objects/search/DocumentSearchProvider.js +42 -0
- package/lib/features/store/objects/search/DocumentSearchProvider.js.map +1 -0
- package/lib/features/store/objects/search/index.d.ts +3 -0
- package/lib/features/store/objects/search/index.d.ts.map +1 -0
- package/lib/features/store/objects/search/index.js +3 -0
- package/lib/features/store/objects/search/index.js.map +1 -0
- package/lib/features/store/objects/selection/ObjectsActionContext.d.ts +9 -0
- package/lib/features/store/objects/selection/ObjectsActionContext.d.ts.map +1 -0
- package/lib/features/store/objects/selection/ObjectsActionContext.js +70 -0
- package/lib/features/store/objects/selection/ObjectsActionContext.js.map +1 -0
- package/lib/features/store/objects/selection/ObjectsActionContextClass.d.ts +16 -0
- package/lib/features/store/objects/selection/ObjectsActionContextClass.d.ts.map +1 -0
- package/lib/features/store/objects/selection/ObjectsActionContextClass.js +50 -0
- package/lib/features/store/objects/selection/ObjectsActionContextClass.js.map +1 -0
- package/lib/features/store/objects/selection/ObjectsActionHooks.d.ts +7 -0
- package/lib/features/store/objects/selection/ObjectsActionHooks.d.ts.map +1 -0
- package/lib/features/store/objects/selection/ObjectsActionHooks.js +27 -0
- package/lib/features/store/objects/selection/ObjectsActionHooks.js.map +1 -0
- package/lib/features/store/objects/selection/ObjectsActionSpec.d.ts +32 -0
- package/lib/features/store/objects/selection/ObjectsActionSpec.d.ts.map +1 -0
- package/lib/features/store/objects/selection/ObjectsActionSpec.js.map +1 -0
- package/lib/features/store/objects/selection/SelectionActions.d.ts +14 -0
- package/lib/features/store/objects/selection/SelectionActions.d.ts.map +1 -0
- package/lib/features/store/objects/selection/SelectionActions.js +96 -0
- package/lib/features/store/objects/selection/SelectionActions.js.map +1 -0
- package/lib/features/store/objects/selection/actions/AddToCollectionAction.d.ts +4 -0
- package/lib/features/store/objects/selection/actions/AddToCollectionAction.d.ts.map +1 -0
- package/lib/features/store/objects/selection/actions/AddToCollectionAction.js +88 -0
- package/lib/features/store/objects/selection/actions/AddToCollectionAction.js.map +1 -0
- package/lib/features/store/objects/selection/actions/ChangeTypeAction.d.ts +4 -0
- package/lib/features/store/objects/selection/actions/ChangeTypeAction.d.ts.map +1 -0
- package/lib/features/store/objects/selection/actions/ChangeTypeAction.js +59 -0
- package/lib/features/store/objects/selection/actions/ChangeTypeAction.js.map +1 -0
- package/lib/features/store/objects/selection/actions/ConfirmAction.d.ts +16 -0
- package/lib/features/store/objects/selection/actions/ConfirmAction.d.ts.map +1 -0
- package/lib/features/store/objects/selection/actions/ConfirmAction.js +32 -0
- package/lib/features/store/objects/selection/actions/ConfirmAction.js.map +1 -0
- package/lib/features/store/objects/selection/actions/DeleteObjectsAction.d.ts +5 -0
- package/lib/features/store/objects/selection/actions/DeleteObjectsAction.d.ts.map +1 -0
- package/lib/features/store/objects/selection/actions/DeleteObjectsAction.js +99 -0
- package/lib/features/store/objects/selection/actions/DeleteObjectsAction.js.map +1 -0
- package/lib/features/store/objects/selection/actions/ExportPropertiesAction.d.ts +4 -0
- package/lib/features/store/objects/selection/actions/ExportPropertiesAction.d.ts.map +1 -0
- package/lib/features/store/objects/selection/actions/ExportPropertiesAction.js +115 -0
- package/lib/features/store/objects/selection/actions/ExportPropertiesAction.js.map +1 -0
- package/lib/features/store/objects/selection/actions/RemoveFromCollectionAction.d.ts +4 -0
- package/lib/features/store/objects/selection/actions/RemoveFromCollectionAction.d.ts.map +1 -0
- package/lib/features/store/objects/selection/actions/RemoveFromCollectionAction.js +79 -0
- package/lib/features/store/objects/selection/actions/RemoveFromCollectionAction.js.map +1 -0
- package/lib/features/store/objects/selection/actions/StartWorkflowComponent.d.ts +4 -0
- package/lib/features/store/objects/selection/actions/StartWorkflowComponent.d.ts.map +1 -0
- package/lib/features/store/objects/selection/actions/StartWorkflowComponent.js +77 -0
- package/lib/features/store/objects/selection/actions/StartWorkflowComponent.js.map +1 -0
- package/lib/features/store/objects/selection/actions/index.d.ts +8 -0
- package/lib/features/store/objects/selection/actions/index.d.ts.map +1 -0
- package/lib/features/store/objects/selection/actions/index.js +8 -0
- package/lib/features/store/objects/selection/actions/index.js.map +1 -0
- package/lib/features/store/objects/selection/index.d.ts +5 -0
- package/lib/features/store/objects/selection/index.d.ts.map +1 -0
- package/lib/features/store/objects/selection/index.js +5 -0
- package/lib/features/store/objects/selection/index.js.map +1 -0
- package/lib/features/store/objects/upload/DocumentUploadModal.d.ts +39 -0
- package/lib/features/store/objects/upload/DocumentUploadModal.d.ts.map +1 -0
- package/lib/features/store/objects/upload/DocumentUploadModal.js +525 -0
- package/lib/features/store/objects/upload/DocumentUploadModal.js.map +1 -0
- package/lib/features/store/objects/upload/index.d.ts +4 -0
- package/lib/features/store/objects/upload/index.d.ts.map +1 -0
- package/lib/features/store/objects/upload/index.js +4 -0
- package/lib/features/store/objects/upload/index.js.map +1 -0
- package/lib/features/store/objects/upload/useSmartFileUploadProcessing.d.ts +30 -0
- package/lib/features/store/objects/upload/useSmartFileUploadProcessing.d.ts.map +1 -0
- package/lib/features/store/objects/upload/useSmartFileUploadProcessing.js +207 -0
- package/lib/features/store/objects/upload/useSmartFileUploadProcessing.js.map +1 -0
- package/lib/features/store/objects/upload/useUploadHandler.d.ts +50 -0
- package/lib/features/store/objects/upload/useUploadHandler.d.ts.map +1 -0
- package/lib/features/store/objects/upload/useUploadHandler.js +232 -0
- package/lib/features/store/objects/upload/useUploadHandler.js.map +1 -0
- package/lib/features/store/types/ContentObjectTypesSearch.d.ts +6 -0
- package/lib/features/store/types/ContentObjectTypesSearch.d.ts.map +1 -0
- package/lib/features/store/types/ContentObjectTypesSearch.js +83 -0
- package/lib/features/store/types/ContentObjectTypesSearch.js.map +1 -0
- package/lib/features/store/types/ContentObjectTypesTable.d.ts +8 -0
- package/lib/features/store/types/ContentObjectTypesTable.d.ts.map +1 -0
- package/lib/features/store/types/ContentObjectTypesTable.js +13 -0
- package/lib/features/store/types/ContentObjectTypesTable.js.map +1 -0
- package/lib/features/store/types/CreateOrUpdateTypeModal.d.ts +16 -0
- package/lib/features/store/types/CreateOrUpdateTypeModal.d.ts.map +1 -0
- package/lib/features/store/types/CreateOrUpdateTypeModal.js +25 -0
- package/lib/features/store/types/CreateOrUpdateTypeModal.js.map +1 -0
- package/lib/features/store/types/ObjectSchemaEditor.d.ts +9 -0
- package/lib/features/store/types/ObjectSchemaEditor.d.ts.map +1 -0
- package/lib/features/store/types/ObjectSchemaEditor.js +106 -0
- package/lib/features/store/types/ObjectSchemaEditor.js.map +1 -0
- package/lib/features/store/types/SelectContentType.d.ts +11 -0
- package/lib/features/store/types/SelectContentType.d.ts.map +1 -0
- package/lib/features/store/types/SelectContentType.js +45 -0
- package/lib/features/store/types/SelectContentType.js.map +1 -0
- package/lib/features/store/types/SelectContentTypeModal.d.ts +33 -0
- package/lib/features/store/types/SelectContentTypeModal.d.ts.map +1 -0
- package/lib/features/store/types/SelectContentTypeModal.js +32 -0
- package/lib/features/store/types/SelectContentTypeModal.js.map +1 -0
- package/lib/features/store/types/TableLayoutEditor.d.ts +10 -0
- package/lib/features/store/types/TableLayoutEditor.d.ts.map +1 -0
- package/lib/features/store/types/TableLayoutEditor.js +82 -0
- package/lib/features/store/types/TableLayoutEditor.js.map +1 -0
- package/lib/features/store/types/TypeRegistry.d.ts +10 -0
- package/lib/features/store/types/TypeRegistry.d.ts.map +1 -0
- package/lib/features/store/types/TypeRegistry.js.map +1 -0
- package/lib/features/store/types/TypeRegistryProvider.d.ts +15 -0
- package/lib/features/store/types/TypeRegistryProvider.d.ts.map +1 -0
- package/lib/features/store/types/TypeRegistryProvider.js +57 -0
- package/lib/features/store/types/TypeRegistryProvider.js.map +1 -0
- package/lib/features/store/types/index.d.ts +11 -0
- package/lib/features/store/types/index.d.ts.map +1 -0
- package/lib/features/store/types/index.js +11 -0
- package/lib/features/store/types/index.js.map +1 -0
- package/lib/features/store/types/search/ObjectTypeSearchContext.d.ts +36 -0
- package/lib/features/store/types/search/ObjectTypeSearchContext.d.ts.map +1 -0
- package/lib/features/store/types/search/ObjectTypeSearchContext.js +102 -0
- package/lib/features/store/types/search/ObjectTypeSearchContext.js.map +1 -0
- package/lib/features/store/types/search/ObjectTypeSearchProvider.d.ts +11 -0
- package/lib/features/store/types/search/ObjectTypeSearchProvider.d.ts.map +1 -0
- package/lib/features/store/types/search/ObjectTypeSearchProvider.js +15 -0
- package/lib/features/store/types/search/ObjectTypeSearchProvider.js.map +1 -0
- package/lib/features/store/types/search/index.d.ts +3 -0
- package/lib/features/store/types/search/index.d.ts.map +1 -0
- package/lib/features/store/types/search/index.js +3 -0
- package/lib/features/store/types/search/index.js.map +1 -0
- package/lib/features/user/UserAvatar.d.ts +9 -0
- package/lib/features/user/UserAvatar.d.ts.map +1 -0
- package/lib/features/user/UserAvatar.js +21 -0
- package/lib/features/user/UserAvatar.js.map +1 -0
- package/lib/features/user/UserInfo.d.ts +60 -0
- package/lib/features/user/UserInfo.d.ts.map +1 -0
- package/lib/features/user/UserInfo.js +229 -0
- package/lib/features/user/UserInfo.js.map +1 -0
- package/lib/features/user/index.d.ts +3 -0
- package/lib/features/user/index.d.ts.map +1 -0
- package/lib/features/user/index.js +3 -0
- package/lib/features/user/index.js.map +1 -0
- package/lib/features/utils/index.d.ts +6 -0
- package/lib/features/utils/index.d.ts.map +1 -0
- package/lib/features/utils/index.js +6 -0
- package/lib/features/utils/index.js.map +1 -0
- package/lib/features/utils/mimeType.d.ts.map +1 -0
- package/lib/features/utils/mimeType.js.map +1 -0
- package/lib/features/utils/print.d.ts.map +1 -0
- package/lib/features/utils/print.js +182 -0
- package/lib/features/utils/print.js.map +1 -0
- package/lib/features/utils/rendition.d.ts +4 -0
- package/lib/features/utils/rendition.d.ts.map +1 -0
- package/lib/features/utils/rendition.js +65 -0
- package/lib/features/utils/rendition.js.map +1 -0
- package/lib/features/utils/text.d.ts.map +1 -0
- package/lib/features/utils/text.js +10 -0
- package/lib/features/utils/text.js.map +1 -0
- package/lib/features/utils/workflowStatus.d.ts +10 -0
- package/lib/features/utils/workflowStatus.d.ts.map +1 -0
- package/lib/features/utils/workflowStatus.js +43 -0
- package/lib/features/utils/workflowStatus.js.map +1 -0
- package/lib/i18n/LanguageProvider.d.ts +16 -0
- package/lib/i18n/LanguageProvider.d.ts.map +1 -0
- package/lib/i18n/LanguageProvider.js +48 -0
- package/lib/i18n/LanguageProvider.js.map +1 -0
- package/lib/i18n/index.d.ts +28 -0
- package/lib/i18n/index.d.ts.map +1 -0
- package/lib/i18n/index.js +46 -0
- package/lib/i18n/index.js.map +1 -0
- package/lib/i18n/instance.d.ts.map +1 -0
- package/lib/i18n/instance.js.map +1 -0
- package/lib/i18n/locales/ar.json +733 -0
- package/lib/i18n/locales/de.json +689 -0
- package/lib/i18n/locales/en.json +704 -0
- package/lib/i18n/locales/es.json +700 -0
- package/lib/i18n/locales/fr.json +700 -0
- package/lib/i18n/locales/it.json +700 -0
- package/lib/i18n/locales/ja.json +689 -0
- package/lib/i18n/locales/ko.json +689 -0
- package/lib/i18n/locales/pt.json +700 -0
- package/lib/i18n/locales/ru.json +711 -0
- package/lib/i18n/locales/tr.json +689 -0
- package/lib/i18n/locales/zh-TW.json +689 -0
- package/lib/i18n/locales/zh.json +689 -0
- package/lib/i18n/rtl.d.ts +27 -0
- package/lib/i18n/rtl.d.ts.map +1 -0
- package/lib/i18n/rtl.js +54 -0
- package/lib/i18n/rtl.js.map +1 -0
- package/lib/i18n/useLocaleFormat.d.ts +29 -0
- package/lib/i18n/useLocaleFormat.d.ts.map +1 -0
- package/lib/i18n/useLocaleFormat.js +79 -0
- package/lib/i18n/useLocaleFormat.js.map +1 -0
- package/lib/layout/AppLayout.d.ts +13 -0
- package/lib/layout/AppLayout.d.ts.map +1 -0
- package/lib/layout/AppLayout.js +47 -0
- package/lib/layout/AppLayout.js.map +1 -0
- package/lib/layout/ErrorPage.d.ts +9 -0
- package/lib/layout/ErrorPage.d.ts.map +1 -0
- package/lib/layout/ErrorPage.js +6 -0
- package/lib/layout/ErrorPage.js.map +1 -0
- package/lib/layout/FullHeightLayout.d.ts +27 -0
- package/lib/layout/FullHeightLayout.d.ts.map +1 -0
- package/lib/layout/FullHeightLayout.js +24 -0
- package/lib/layout/FullHeightLayout.js.map +1 -0
- package/lib/layout/Navbar.d.ts +33 -0
- package/lib/layout/Navbar.d.ts.map +1 -0
- package/lib/layout/Navbar.js +42 -0
- package/lib/layout/Navbar.js.map +1 -0
- package/lib/layout/RegionTag.d.ts +4 -0
- package/lib/layout/RegionTag.d.ts.map +1 -0
- package/lib/layout/RegionTag.js.map +1 -0
- package/lib/layout/Sidebar.d.ts +35 -0
- package/lib/layout/Sidebar.d.ts.map +1 -0
- package/lib/layout/Sidebar.js +47 -0
- package/lib/layout/Sidebar.js.map +1 -0
- package/lib/layout/SidebarContext.d.ts.map +1 -0
- package/lib/layout/SidebarContext.js +10 -0
- package/lib/layout/SidebarContext.js.map +1 -0
- package/lib/layout/TitleBar.d.ts +6 -0
- package/lib/layout/TitleBar.d.ts.map +1 -0
- package/lib/layout/TitleBar.js +5 -0
- package/lib/layout/TitleBar.js.map +1 -0
- package/lib/layout/index.d.ts +9 -0
- package/lib/layout/index.d.ts.map +1 -0
- package/lib/layout/index.js +9 -0
- package/lib/layout/index.js.map +1 -0
- package/lib/router/FixLinks.d.ts +7 -0
- package/lib/router/FixLinks.d.ts.map +1 -0
- package/lib/router/FixLinks.js +23 -0
- package/lib/router/FixLinks.js.map +1 -0
- package/lib/router/HistoryNavigator.d.ts +68 -0
- package/lib/router/HistoryNavigator.d.ts.map +1 -0
- package/lib/router/HistoryNavigator.js +220 -0
- package/lib/router/HistoryNavigator.js.map +1 -0
- package/lib/router/Nav.d.ts +43 -0
- package/lib/router/Nav.d.ts.map +1 -0
- package/lib/router/Nav.js +37 -0
- package/lib/router/Nav.js.map +1 -0
- package/lib/router/NestedNavigationContext.d.ts +9 -0
- package/lib/router/NestedNavigationContext.d.ts.map +1 -0
- package/lib/router/NestedNavigationContext.js +23 -0
- package/lib/router/NestedNavigationContext.js.map +1 -0
- package/lib/router/NestedRouterProvider.d.ts +14 -0
- package/lib/router/NestedRouterProvider.d.ts.map +1 -0
- package/lib/router/NestedRouterProvider.js +52 -0
- package/lib/router/NestedRouterProvider.js.map +1 -0
- package/lib/router/PathMatcher.d.ts +36 -0
- package/lib/router/PathMatcher.d.ts.map +1 -0
- package/lib/router/PathMatcher.js +158 -0
- package/lib/router/PathMatcher.js.map +1 -0
- package/lib/router/PathWithParams.d.ts.map +1 -0
- package/lib/router/PathWithParams.js +34 -0
- package/lib/router/PathWithParams.js.map +1 -0
- package/lib/router/Route404.d.ts +4 -0
- package/lib/router/Route404.d.ts.map +1 -0
- package/lib/router/Route404.js +18 -0
- package/lib/router/Route404.js.map +1 -0
- package/lib/router/RouteComponent.d.ts +6 -0
- package/lib/router/RouteComponent.d.ts.map +1 -0
- package/lib/router/RouteComponent.js +32 -0
- package/lib/router/RouteComponent.js.map +1 -0
- package/lib/router/Router.d.ts +81 -0
- package/lib/router/Router.d.ts.map +1 -0
- package/lib/router/Router.js +183 -0
- package/lib/router/Router.js.map +1 -0
- package/lib/router/RouterProvider.d.ts +15 -0
- package/lib/router/RouterProvider.d.ts.map +1 -0
- package/lib/router/RouterProvider.js +40 -0
- package/lib/router/RouterProvider.js.map +1 -0
- package/lib/router/index.d.ts +11 -0
- package/lib/router/index.d.ts.map +1 -0
- package/lib/router/index.js +11 -0
- package/lib/router/index.js.map +1 -0
- package/lib/router/path.d.ts.map +1 -0
- package/lib/router/path.js +140 -0
- package/lib/router/path.js.map +1 -0
- package/lib/session/UserSession.d.ts +46 -0
- package/lib/session/UserSession.d.ts.map +1 -0
- package/lib/session/UserSession.js +248 -0
- package/lib/session/UserSession.js.map +1 -0
- package/lib/session/UserSessionProvider.d.ts +8 -0
- package/lib/session/UserSessionProvider.d.ts.map +1 -0
- package/lib/session/UserSessionProvider.js +252 -0
- package/lib/session/UserSessionProvider.js.map +1 -0
- package/lib/session/auth/composable.d.ts +38 -0
- package/lib/session/auth/composable.d.ts.map +1 -0
- package/lib/session/auth/composable.js +325 -0
- package/lib/session/auth/composable.js.map +1 -0
- package/lib/session/auth/domainRouting.d.ts.map +1 -0
- package/lib/session/auth/domainRouting.js.map +1 -0
- package/lib/session/auth/firebase.d.ts +10 -0
- package/lib/session/auth/firebase.d.ts.map +1 -0
- package/lib/session/auth/firebase.js +160 -0
- package/lib/session/auth/firebase.js.map +1 -0
- package/lib/session/auth/useAuthState.d.ts.map +1 -0
- package/lib/session/auth/useAuthState.js +46 -0
- package/lib/session/auth/useAuthState.js.map +1 -0
- package/lib/session/auth/useCurrentTenant.d.ts.map +1 -0
- package/lib/session/auth/useCurrentTenant.js +64 -0
- package/lib/session/auth/useCurrentTenant.js.map +1 -0
- package/lib/session/constants.d.ts.map +1 -0
- package/lib/session/constants.js.map +1 -0
- package/lib/session/index.d.ts +8 -0
- package/lib/session/index.d.ts.map +1 -0
- package/lib/session/index.js +8 -0
- package/lib/session/index.js.map +1 -0
- package/lib/session/useUXTracking.d.ts +6 -0
- package/lib/session/useUXTracking.d.ts.map +1 -0
- package/lib/session/useUXTracking.js +29 -0
- package/lib/session/useUXTracking.js.map +1 -0
- package/lib/shell/SplashScreen.d.ts +7 -0
- package/lib/shell/SplashScreen.d.ts.map +1 -0
- package/lib/shell/SplashScreen.js +28 -0
- package/lib/shell/SplashScreen.js.map +1 -0
- package/lib/shell/VertesiaShell.d.ts +16 -0
- package/lib/shell/VertesiaShell.d.ts.map +1 -0
- package/lib/shell/VertesiaShell.js +11 -0
- package/lib/shell/VertesiaShell.js.map +1 -0
- package/lib/shell/apps/AppInstallationProvider.d.ts +12 -0
- package/lib/shell/apps/AppInstallationProvider.d.ts.map +1 -0
- package/lib/shell/apps/AppInstallationProvider.js +13 -0
- package/lib/shell/apps/AppInstallationProvider.js.map +1 -0
- package/lib/shell/apps/AppProjectSelector.d.ts +12 -0
- package/lib/shell/apps/AppProjectSelector.d.ts.map +1 -0
- package/lib/shell/apps/AppProjectSelector.js +36 -0
- package/lib/shell/apps/AppProjectSelector.js.map +1 -0
- package/lib/shell/apps/StandaloneApp.d.ts +23 -0
- package/lib/shell/apps/StandaloneApp.d.ts.map +1 -0
- package/lib/shell/apps/StandaloneApp.js +90 -0
- package/lib/shell/apps/StandaloneApp.js.map +1 -0
- package/lib/shell/apps/index.d.ts +4 -0
- package/lib/shell/apps/index.d.ts.map +1 -0
- package/lib/shell/apps/index.js +4 -0
- package/lib/shell/apps/index.js.map +1 -0
- package/lib/shell/index.d.ts +8 -0
- package/lib/shell/index.d.ts.map +1 -0
- package/lib/shell/index.js +8 -0
- package/lib/shell/index.js.map +1 -0
- package/lib/shell/login/InviteAcceptModal.d.ts +2 -0
- package/lib/shell/login/InviteAcceptModal.d.ts.map +1 -0
- package/lib/shell/login/InviteAcceptModal.js +69 -0
- package/lib/shell/login/InviteAcceptModal.js.map +1 -0
- package/lib/shell/login/PreviewIcon.d.ts +6 -0
- package/lib/shell/login/PreviewIcon.d.ts.map +1 -0
- package/lib/shell/login/PreviewIcon.js +23 -0
- package/lib/shell/login/PreviewIcon.js.map +1 -0
- package/lib/shell/login/SignInAuthPending.d.ts +8 -0
- package/lib/shell/login/SignInAuthPending.d.ts.map +1 -0
- package/lib/shell/login/SignInAuthPending.js +14 -0
- package/lib/shell/login/SignInAuthPending.js.map +1 -0
- package/lib/shell/login/SignInEmailStep.d.ts +9 -0
- package/lib/shell/login/SignInEmailStep.d.ts.map +1 -0
- package/lib/shell/login/SignInEmailStep.js +46 -0
- package/lib/shell/login/SignInEmailStep.js.map +1 -0
- package/lib/shell/login/SignInIcons.d.ts +14 -0
- package/lib/shell/login/SignInIcons.d.ts.map +1 -0
- package/lib/shell/login/SignInIcons.js +26 -0
- package/lib/shell/login/SignInIcons.js.map +1 -0
- package/lib/shell/login/SignInModal.d.ts +7 -0
- package/lib/shell/login/SignInModal.d.ts.map +1 -0
- package/lib/shell/login/SignInModal.js +7 -0
- package/lib/shell/login/SignInModal.js.map +1 -0
- package/lib/shell/login/SignInPrimitives.d.ts +140 -0
- package/lib/shell/login/SignInPrimitives.d.ts.map +1 -0
- package/lib/shell/login/SignInPrimitives.js +119 -0
- package/lib/shell/login/SignInPrimitives.js.map +1 -0
- package/lib/shell/login/SignInProvidersStep.d.ts +10 -0
- package/lib/shell/login/SignInProvidersStep.d.ts.map +1 -0
- package/lib/shell/login/SignInProvidersStep.js +14 -0
- package/lib/shell/login/SignInProvidersStep.js.map +1 -0
- package/lib/shell/login/SignInReturningStep.d.ts +10 -0
- package/lib/shell/login/SignInReturningStep.d.ts.map +1 -0
- package/lib/shell/login/SignInReturningStep.js +21 -0
- package/lib/shell/login/SignInReturningStep.js.map +1 -0
- package/lib/shell/login/SignInTenantBlockedStep.d.ts +9 -0
- package/lib/shell/login/SignInTenantBlockedStep.d.ts.map +1 -0
- package/lib/shell/login/SignInTenantBlockedStep.js +17 -0
- package/lib/shell/login/SignInTenantBlockedStep.js.map +1 -0
- package/lib/shell/login/SignInTenantStep.d.ts +11 -0
- package/lib/shell/login/SignInTenantStep.d.ts.map +1 -0
- package/lib/shell/login/SignInTenantStep.js +24 -0
- package/lib/shell/login/SignInTenantStep.js.map +1 -0
- package/lib/shell/login/SignInWithProviderButton.d.ts +13 -0
- package/lib/shell/login/SignInWithProviderButton.d.ts.map +1 -0
- package/lib/shell/login/SignInWithProviderButton.js +23 -0
- package/lib/shell/login/SignInWithProviderButton.js.map +1 -0
- package/lib/shell/login/SigninScreen.d.ts +11 -0
- package/lib/shell/login/SigninScreen.d.ts.map +1 -0
- package/lib/shell/login/SigninScreen.js +155 -0
- package/lib/shell/login/SigninScreen.js.map +1 -0
- package/lib/shell/login/SignupForm.d.ts +8 -0
- package/lib/shell/login/SignupForm.d.ts.map +1 -0
- package/lib/shell/login/SignupForm.js +91 -0
- package/lib/shell/login/SignupForm.js.map +1 -0
- package/lib/shell/login/TerminalLogin.d.ts +2 -0
- package/lib/shell/login/TerminalLogin.d.ts.map +1 -0
- package/lib/shell/login/TerminalLogin.js +216 -0
- package/lib/shell/login/TerminalLogin.js.map +1 -0
- package/lib/shell/login/UserInfo.d.ts +6 -0
- package/lib/shell/login/UserInfo.d.ts.map +1 -0
- package/lib/shell/login/UserInfo.js +44 -0
- package/lib/shell/login/UserInfo.js.map +1 -0
- package/lib/shell/login/UserSessionMenu.d.ts +9 -0
- package/lib/shell/login/UserSessionMenu.d.ts.map +1 -0
- package/lib/shell/login/UserSessionMenu.js +36 -0
- package/lib/shell/login/UserSessionMenu.js.map +1 -0
- package/lib/shell/login/signInUtils.d.ts +45 -0
- package/lib/shell/login/signInUtils.d.ts.map +1 -0
- package/lib/shell/login/signInUtils.js +205 -0
- package/lib/shell/login/signInUtils.js.map +1 -0
- package/lib/shell/utils.d.ts.map +1 -0
- package/lib/shell/utils.js +8 -0
- package/lib/shell/utils.js.map +1 -0
- package/lib/vertesia-ui-core.js +1 -1
- package/lib/vertesia-ui-core.js.map +1 -1
- package/lib/vertesia-ui-env.js +1 -1
- package/lib/vertesia-ui-env.js.map +1 -1
- package/lib/vertesia-ui-features.js +1 -1
- package/lib/vertesia-ui-features.js.map +1 -1
- package/lib/vertesia-ui-i18n.js +1 -1
- package/lib/vertesia-ui-i18n.js.map +1 -1
- package/lib/vertesia-ui-layout.js +1 -1
- package/lib/vertesia-ui-layout.js.map +1 -1
- package/lib/vertesia-ui-router.js +1 -1
- package/lib/vertesia-ui-router.js.map +1 -1
- package/lib/vertesia-ui-session.js +1 -1
- package/lib/vertesia-ui-session.js.map +1 -1
- package/lib/vertesia-ui-shell.js +1 -1
- package/lib/vertesia-ui-shell.js.map +1 -1
- package/lib/vertesia-ui-widgets.js +1 -1
- package/lib/vertesia-ui-widgets.js.map +1 -1
- package/lib/widgets/Progress.d.ts +6 -0
- package/lib/widgets/Progress.d.ts.map +1 -0
- package/lib/widgets/Progress.js.map +1 -0
- package/lib/widgets/SvgIcon.d.ts +7 -0
- package/lib/widgets/SvgIcon.d.ts.map +1 -0
- package/lib/widgets/SvgIcon.js +36 -0
- package/lib/widgets/SvgIcon.js.map +1 -0
- package/lib/widgets/form/Form.d.ts +22 -0
- package/lib/widgets/form/Form.d.ts.map +1 -0
- package/lib/widgets/form/Form.js +105 -0
- package/lib/widgets/form/Form.js.map +1 -0
- package/lib/widgets/form/FormContext.d.ts +21 -0
- package/lib/widgets/form/FormContext.d.ts.map +1 -0
- package/lib/widgets/form/FormContext.js +31 -0
- package/lib/widgets/form/FormContext.js.map +1 -0
- package/lib/widgets/form/ManagedObject.d.ts +81 -0
- package/lib/widgets/form/ManagedObject.d.ts.map +1 -0
- package/lib/widgets/form/ManagedObject.js +284 -0
- package/lib/widgets/form/ManagedObject.js.map +1 -0
- package/lib/widgets/form/fields.d.ts +16 -0
- package/lib/widgets/form/fields.d.ts.map +1 -0
- package/lib/widgets/form/fields.js +12 -0
- package/lib/widgets/form/fields.js.map +1 -0
- package/lib/widgets/form/index.d.ts +7 -0
- package/lib/widgets/form/index.d.ts.map +1 -0
- package/lib/widgets/form/index.js +7 -0
- package/lib/widgets/form/index.js.map +1 -0
- package/lib/widgets/form/inputs.d.ts +8 -0
- package/lib/widgets/form/inputs.d.ts.map +1 -0
- package/lib/widgets/form/inputs.js +38 -0
- package/lib/widgets/form/inputs.js.map +1 -0
- package/lib/widgets/form/schema.d.ts +47 -0
- package/lib/widgets/form/schema.d.ts.map +1 -0
- package/lib/widgets/form/schema.js +204 -0
- package/lib/widgets/form/schema.js.map +1 -0
- package/lib/widgets/index.d.ts +11 -0
- package/lib/widgets/index.d.ts.map +1 -0
- package/lib/widgets/index.js +11 -0
- package/lib/widgets/index.js.map +1 -0
- package/lib/widgets/json-view/JSONCode.d.ts +7 -0
- package/lib/widgets/json-view/JSONCode.d.ts.map +1 -0
- package/lib/widgets/json-view/JSONCode.js +53 -0
- package/lib/widgets/json-view/JSONCode.js.map +1 -0
- package/lib/widgets/json-view/JSONDisplay.d.ts +7 -0
- package/lib/widgets/json-view/JSONDisplay.d.ts.map +1 -0
- package/lib/widgets/json-view/JSONDisplay.js +27 -0
- package/lib/widgets/json-view/JSONDisplay.js.map +1 -0
- package/lib/widgets/json-view/JSONEditor.d.ts +28 -0
- package/lib/widgets/json-view/JSONEditor.d.ts.map +1 -0
- package/lib/widgets/json-view/JSONEditor.js +53 -0
- package/lib/widgets/json-view/JSONEditor.js.map +1 -0
- package/lib/widgets/json-view/JSONSwitcher.d.ts +6 -0
- package/lib/widgets/json-view/JSONSwitcher.d.ts.map +1 -0
- package/lib/widgets/json-view/JSONSwitcher.js +6 -0
- package/lib/widgets/json-view/JSONSwitcher.js.map +1 -0
- package/lib/widgets/json-view/JSONTable.d.ts +8 -0
- package/lib/widgets/json-view/JSONTable.d.ts.map +1 -0
- package/lib/widgets/json-view/JSONTable.js +36 -0
- package/lib/widgets/json-view/JSONTable.js.map +1 -0
- package/lib/widgets/json-view/JSONView.d.ts +7 -0
- package/lib/widgets/json-view/JSONView.d.ts.map +1 -0
- package/lib/widgets/json-view/JSONView.js +117 -0
- package/lib/widgets/json-view/JSONView.js.map +1 -0
- package/lib/widgets/json-view/index.d.ts +8 -0
- package/lib/widgets/json-view/index.d.ts.map +1 -0
- package/lib/widgets/json-view/index.js +7 -0
- package/lib/widgets/json-view/index.js.map +1 -0
- package/lib/widgets/json-view/types.d.ts.map +1 -0
- package/lib/widgets/json-view/types.js.map +1 -0
- package/lib/widgets/markdown/ArtifactContentRenderer.d.ts.map +1 -0
- package/lib/widgets/markdown/ArtifactContentRenderer.js +230 -0
- package/lib/widgets/markdown/ArtifactContentRenderer.js.map +1 -0
- package/lib/widgets/markdown/CodeBlockContext.d.ts +21 -0
- package/lib/widgets/markdown/CodeBlockContext.d.ts.map +1 -0
- package/lib/widgets/markdown/CodeBlockContext.js.map +1 -0
- package/lib/widgets/markdown/CodeBlockPlaceholder.d.ts +42 -0
- package/lib/widgets/markdown/CodeBlockPlaceholder.d.ts.map +1 -0
- package/lib/widgets/markdown/CodeBlockPlaceholder.js +57 -0
- package/lib/widgets/markdown/CodeBlockPlaceholder.js.map +1 -0
- package/lib/widgets/markdown/CodeBlockRendering.d.ts +23 -0
- package/lib/widgets/markdown/CodeBlockRendering.d.ts.map +1 -0
- package/lib/widgets/markdown/CodeBlockRendering.js +38 -0
- package/lib/widgets/markdown/CodeBlockRendering.js.map +1 -0
- package/lib/widgets/markdown/MarkdownFigure.d.ts +15 -0
- package/lib/widgets/markdown/MarkdownFigure.d.ts.map +1 -0
- package/lib/widgets/markdown/MarkdownFigure.js +40 -0
- package/lib/widgets/markdown/MarkdownFigure.js.map +1 -0
- package/lib/widgets/markdown/MarkdownImage.d.ts +16 -0
- package/lib/widgets/markdown/MarkdownImage.d.ts.map +1 -0
- package/lib/widgets/markdown/MarkdownImage.js +41 -0
- package/lib/widgets/markdown/MarkdownImage.js.map +1 -0
- package/lib/widgets/markdown/MarkdownLink.d.ts +17 -0
- package/lib/widgets/markdown/MarkdownLink.d.ts.map +1 -0
- package/lib/widgets/markdown/MarkdownLink.js +46 -0
- package/lib/widgets/markdown/MarkdownLink.js.map +1 -0
- package/lib/widgets/markdown/MarkdownRenderer.d.ts +30 -0
- package/lib/widgets/markdown/MarkdownRenderer.d.ts.map +1 -0
- package/lib/widgets/markdown/MarkdownRenderer.js +162 -0
- package/lib/widgets/markdown/MarkdownRenderer.js.map +1 -0
- package/lib/widgets/markdown/MermaidDiagram.d.ts +28 -0
- package/lib/widgets/markdown/MermaidDiagram.d.ts.map +1 -0
- package/lib/widgets/markdown/MermaidDiagram.js +150 -0
- package/lib/widgets/markdown/MermaidDiagram.js.map +1 -0
- package/lib/widgets/markdown/codeBlockHandlers.d.ts +58 -0
- package/lib/widgets/markdown/codeBlockHandlers.d.ts.map +1 -0
- package/lib/widgets/markdown/codeBlockHandlers.js +285 -0
- package/lib/widgets/markdown/codeBlockHandlers.js.map +1 -0
- package/lib/widgets/markdown/index.d.ts +13 -0
- package/lib/widgets/markdown/index.d.ts.map +1 -0
- package/lib/widgets/markdown/index.js +13 -0
- package/lib/widgets/markdown/index.js.map +1 -0
- package/lib/widgets/markdown/normalizeCustomSchemeLinks.d.ts.map +1 -0
- package/lib/widgets/markdown/normalizeCustomSchemeLinks.js +70 -0
- package/lib/widgets/markdown/normalizeCustomSchemeLinks.js.map +1 -0
- package/lib/widgets/markdown/normalizeDirectives.d.ts.map +1 -0
- package/lib/widgets/markdown/normalizeDirectives.js +58 -0
- package/lib/widgets/markdown/normalizeDirectives.js.map +1 -0
- package/lib/widgets/markdown/preprocessMathDelimiters.d.ts.map +1 -0
- package/lib/widgets/markdown/preprocessMathDelimiters.js +222 -0
- package/lib/widgets/markdown/preprocessMathDelimiters.js.map +1 -0
- package/lib/widgets/markdown/remarkDirectiveHandler.d.ts +15 -0
- package/lib/widgets/markdown/remarkDirectiveHandler.d.ts.map +1 -0
- package/lib/widgets/markdown/remarkDirectiveHandler.js +96 -0
- package/lib/widgets/markdown/remarkDirectiveHandler.js.map +1 -0
- package/lib/widgets/markdown/useArtifactContent.d.ts.map +1 -0
- package/lib/widgets/markdown/useArtifactContent.js +173 -0
- package/lib/widgets/markdown/useArtifactContent.js.map +1 -0
- package/lib/widgets/markdown/useResolvedUrl.d.ts.map +1 -0
- package/lib/widgets/markdown/useResolvedUrl.js +181 -0
- package/lib/widgets/markdown/useResolvedUrl.js.map +1 -0
- package/lib/widgets/monacoEditor/MonacoEditor.d.ts +41 -0
- package/lib/widgets/monacoEditor/MonacoEditor.d.ts.map +1 -0
- package/lib/widgets/monacoEditor/MonacoEditor.js +168 -0
- package/lib/widgets/monacoEditor/MonacoEditor.js.map +1 -0
- package/lib/widgets/monacoEditor/foldingProviders.d.ts.map +1 -0
- package/lib/widgets/monacoEditor/foldingProviders.js +138 -0
- package/lib/widgets/monacoEditor/foldingProviders.js.map +1 -0
- package/lib/widgets/monacoEditor/index.d.ts +3 -0
- package/lib/widgets/monacoEditor/index.d.ts.map +1 -0
- package/lib/widgets/monacoEditor/index.js +2 -0
- package/lib/widgets/monacoEditor/index.js.map +1 -0
- package/lib/widgets/properties/PropertiesView.d.ts +11 -0
- package/lib/widgets/properties/PropertiesView.d.ts.map +1 -0
- package/lib/widgets/properties/PropertiesView.js +7 -0
- package/lib/widgets/properties/PropertiesView.js.map +1 -0
- package/lib/widgets/properties/index.d.ts +2 -0
- package/lib/widgets/properties/index.d.ts.map +1 -0
- package/lib/widgets/properties/index.js +2 -0
- package/lib/widgets/properties/index.js.map +1 -0
- package/lib/widgets/schema-editor/ManagedSchema.d.ts +75 -0
- package/lib/widgets/schema-editor/ManagedSchema.d.ts.map +1 -0
- package/lib/widgets/schema-editor/ManagedSchema.js +303 -0
- package/lib/widgets/schema-editor/ManagedSchema.js.map +1 -0
- package/lib/widgets/schema-editor/editor/Editable.d.ts +40 -0
- package/lib/widgets/schema-editor/editor/Editable.d.ts.map +1 -0
- package/lib/widgets/schema-editor/editor/Editable.js +109 -0
- package/lib/widgets/schema-editor/editor/Editable.js.map +1 -0
- package/lib/widgets/schema-editor/editor/EditableSchemaProperty.d.ts +8 -0
- package/lib/widgets/schema-editor/editor/EditableSchemaProperty.d.ts.map +1 -0
- package/lib/widgets/schema-editor/editor/EditableSchemaProperty.js +8 -0
- package/lib/widgets/schema-editor/editor/EditableSchemaProperty.js.map +1 -0
- package/lib/widgets/schema-editor/editor/PropertyEditor.d.ts +6 -0
- package/lib/widgets/schema-editor/editor/PropertyEditor.d.ts.map +1 -0
- package/lib/widgets/schema-editor/editor/PropertyEditor.js +85 -0
- package/lib/widgets/schema-editor/editor/PropertyEditor.js.map +1 -0
- package/lib/widgets/schema-editor/editor/PropertyViewer.d.ts +4 -0
- package/lib/widgets/schema-editor/editor/PropertyViewer.d.ts.map +1 -0
- package/lib/widgets/schema-editor/editor/PropertyViewer.js +7 -0
- package/lib/widgets/schema-editor/editor/PropertyViewer.js.map +1 -0
- package/lib/widgets/schema-editor/editor/SchemaContext.d.ts +4 -0
- package/lib/widgets/schema-editor/editor/SchemaContext.d.ts.map +1 -0
- package/lib/widgets/schema-editor/editor/SchemaContext.js +9 -0
- package/lib/widgets/schema-editor/editor/SchemaContext.js.map +1 -0
- package/lib/widgets/schema-editor/editor/SchemaEditor.d.ts +9 -0
- package/lib/widgets/schema-editor/editor/SchemaEditor.d.ts.map +1 -0
- package/lib/widgets/schema-editor/editor/SchemaEditor.js +81 -0
- package/lib/widgets/schema-editor/editor/SchemaEditor.js.map +1 -0
- package/lib/widgets/schema-editor/index.d.ts +7 -0
- package/lib/widgets/schema-editor/index.d.ts.map +1 -0
- package/lib/widgets/schema-editor/index.js +7 -0
- package/lib/widgets/schema-editor/index.js.map +1 -0
- package/lib/widgets/schema-editor/json-schema4-utils.d.ts +16 -0
- package/lib/widgets/schema-editor/json-schema4-utils.d.ts.map +1 -0
- package/lib/widgets/schema-editor/json-schema4-utils.js +188 -0
- package/lib/widgets/schema-editor/json-schema4-utils.js.map +1 -0
- package/lib/widgets/schema-editor/type-signature.d.ts.map +1 -0
- package/lib/widgets/schema-editor/type-signature.js.map +1 -0
- package/lib/widgets/upload/DropZone.d.ts +41 -0
- package/lib/widgets/upload/DropZone.d.ts.map +1 -0
- package/lib/widgets/upload/DropZone.js +181 -0
- package/lib/widgets/upload/DropZone.js.map +1 -0
- package/lib/widgets/upload/UploadResultCategory.d.ts +26 -0
- package/lib/widgets/upload/UploadResultCategory.d.ts.map +1 -0
- package/lib/widgets/upload/UploadResultCategory.js +22 -0
- package/lib/widgets/upload/UploadResultCategory.js.map +1 -0
- package/lib/widgets/upload/UploadSummary.d.ts +38 -0
- package/lib/widgets/upload/UploadSummary.d.ts.map +1 -0
- package/lib/widgets/upload/UploadSummary.js +32 -0
- package/lib/widgets/upload/UploadSummary.js.map +1 -0
- package/lib/widgets/upload/index.d.ts.map +1 -0
- package/lib/widgets/upload/index.js.map +1 -0
- package/lib/widgets/xml-viewer/components/Attributes/index.d.ts +6 -0
- package/lib/widgets/xml-viewer/components/Attributes/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/components/Attributes/index.js.map +1 -0
- package/lib/widgets/xml-viewer/components/CDataTag/index.d.ts +8 -0
- package/lib/widgets/xml-viewer/components/CDataTag/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/components/CDataTag/index.js.map +1 -0
- package/lib/widgets/xml-viewer/components/CollapseIcon/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/components/CollapseIcon/index.js +11 -0
- package/lib/widgets/xml-viewer/components/CollapseIcon/index.js.map +1 -0
- package/lib/widgets/xml-viewer/components/CommentTag/index.d.ts +9 -0
- package/lib/widgets/xml-viewer/components/CommentTag/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/components/CommentTag/index.js.map +1 -0
- package/lib/widgets/xml-viewer/components/DeclarationTag/index.d.ts +8 -0
- package/lib/widgets/xml-viewer/components/DeclarationTag/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/components/DeclarationTag/index.js.map +1 -0
- package/lib/widgets/xml-viewer/components/Elements/index.d.ts +8 -0
- package/lib/widgets/xml-viewer/components/Elements/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/components/Elements/index.js.map +1 -0
- package/lib/widgets/xml-viewer/components/InvalidXml/index.d.ts +2 -0
- package/lib/widgets/xml-viewer/components/InvalidXml/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/components/InvalidXml/index.js.map +1 -0
- package/lib/widgets/xml-viewer/components/Tag/index.d.ts +13 -0
- package/lib/widgets/xml-viewer/components/Tag/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/components/Tag/index.js.map +1 -0
- package/lib/widgets/xml-viewer/components/TextElement/index.d.ts +8 -0
- package/lib/widgets/xml-viewer/components/TextElement/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/components/TextElement/index.js.map +1 -0
- package/lib/widgets/xml-viewer/components/XMLViewer.d.ts +3 -0
- package/lib/widgets/xml-viewer/components/XMLViewer.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/components/XMLViewer.js.map +1 -0
- package/lib/widgets/xml-viewer/components/types.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/components/types.js.map +1 -0
- package/lib/widgets/xml-viewer/constants/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/constants/index.js.map +1 -0
- package/lib/widgets/xml-viewer/context/xml-viewer-context.d.ts +4 -0
- package/lib/widgets/xml-viewer/context/xml-viewer-context.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/context/xml-viewer-context.js.map +1 -0
- package/lib/widgets/xml-viewer/helpers/index.d.ts +13 -0
- package/lib/widgets/xml-viewer/helpers/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/helpers/index.js +38 -0
- package/lib/widgets/xml-viewer/helpers/index.js.map +1 -0
- package/lib/widgets/xml-viewer/hooks/useCollapsible.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/hooks/useCollapsible.js.map +1 -0
- package/lib/widgets/xml-viewer/hooks/useXMLViewer.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/hooks/useXMLViewer.js +33 -0
- package/lib/widgets/xml-viewer/hooks/useXMLViewer.js.map +1 -0
- package/lib/widgets/xml-viewer/index.d.ts +3 -0
- package/lib/widgets/xml-viewer/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/index.js +3 -0
- package/lib/widgets/xml-viewer/index.js.map +1 -0
- package/lib/widgets/xml-viewer/types/index.d.ts +16 -0
- package/lib/widgets/xml-viewer/types/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/types/index.js.map +1 -0
- package/llms.txt +387 -484
- package/package.json +96 -126
- package/src/__tests__/a11y.test.tsx +398 -0
- package/src/__tests__/axe-helper.ts +23 -0
- package/src/__tests__/contrast.test.ts +165 -0
- package/src/__tests__/setup.ts +74 -0
- package/src/__tests__/test-modules.d.ts +13 -0
- package/src/__tests__/test-utils.tsx +15 -0
- package/src/__tests__/tsconfig.json +19 -0
- package/src/__tests__/vitest-axe.d.ts +20 -0
- package/src/core/components/Avatar.tsx +38 -29
- package/src/core/components/Center.tsx +5 -7
- package/src/core/components/ComboBox.tsx +167 -83
- package/src/core/components/Divider.tsx +2 -5
- package/src/core/components/EmptyCollection.tsx +5 -6
- package/src/core/components/FileUpload.tsx +54 -21
- package/src/core/components/FormItem.tsx +125 -16
- package/src/core/components/InputList.tsx +63 -36
- package/src/core/components/Link.tsx +8 -5
- package/src/core/components/MenuList.tsx +29 -24
- package/src/core/components/NumberInput.tsx +52 -41
- package/src/core/components/Overlay.tsx +86 -77
- package/src/core/components/Portal.tsx +7 -7
- package/src/core/components/SelectList.tsx +44 -26
- package/src/core/components/SidePanel.tsx +45 -20
- package/src/core/components/Spinner.tsx +34 -21
- package/src/core/components/TagsInput.tsx +54 -48
- package/src/core/components/index.ts +28 -27
- package/src/core/components/libs/utils.tsx +4 -4
- package/src/core/components/libs/visuallyHidden.tsx +12 -12
- package/src/core/components/popup/Popup.tsx +60 -29
- package/src/core/components/popup/PopupController.ts +36 -37
- package/src/core/components/popup/index.ts +3 -3
- package/src/core/components/popup/position.ts +56 -34
- package/src/core/components/popup/utils.ts +5 -3
- package/src/core/components/shadcn/LanguageSwitcher.tsx +61 -0
- package/src/core/components/shadcn/MessageBox.tsx +119 -57
- package/src/core/components/shadcn/Panel.tsx +89 -40
- package/src/core/components/shadcn/badge.tsx +74 -92
- package/src/core/components/shadcn/breadcrumb.tsx +158 -180
- package/src/core/components/shadcn/button.tsx +188 -143
- package/src/core/components/shadcn/calendar.tsx +13 -23
- package/src/core/components/shadcn/card.tsx +41 -76
- package/src/core/components/shadcn/checkbox.tsx +20 -22
- package/src/core/components/shadcn/collaspible.tsx +8 -24
- package/src/core/components/shadcn/command.tsx +124 -157
- package/src/core/components/shadcn/dropdown.tsx +283 -290
- package/src/core/components/shadcn/filters/DynamicLabel.tsx +36 -35
- package/src/core/components/shadcn/filters/animateChangeInHeight.tsx +5 -8
- package/src/core/components/shadcn/filters/comboBox/DateCombobox.tsx +28 -36
- package/src/core/components/shadcn/filters/comboBox/SelectCombobox.tsx +41 -37
- package/src/core/components/shadcn/filters/comboBox/StringListCombobox.tsx +13 -22
- package/src/core/components/shadcn/filters/comboBox/TextCombobox.tsx +12 -14
- package/src/core/components/shadcn/filters/comboBox/comboBox.tsx +2 -2
- package/src/core/components/shadcn/filters/filter/SelectFilter.tsx +143 -139
- package/src/core/components/shadcn/filters/filter/StringListFilter.tsx +48 -48
- package/src/core/components/shadcn/filters/filter/TextFilter.tsx +56 -60
- package/src/core/components/shadcn/filters/filter/dateFilter.tsx +235 -228
- package/src/core/components/shadcn/filters/filter-styles.ts +1 -1
- package/src/core/components/shadcn/filters/filterBar.tsx +347 -329
- package/src/core/components/shadcn/filters/filters.tsx +62 -63
- package/src/core/components/shadcn/filters/types.ts +25 -25
- package/src/core/components/shadcn/heading.tsx +15 -15
- package/src/core/components/shadcn/index.ts +23 -22
- package/src/core/components/shadcn/input.tsx +80 -76
- package/src/core/components/shadcn/label.tsx +20 -25
- package/src/core/components/shadcn/modal/ConfirmModal.tsx +21 -30
- package/src/core/components/shadcn/modal/DeleteModal.tsx +16 -12
- package/src/core/components/shadcn/modal/dialog.tsx +73 -97
- package/src/core/components/shadcn/modal/index.ts +3 -3
- package/src/core/components/shadcn/popover.tsx +96 -93
- package/src/core/components/shadcn/radioGroup.tsx +80 -81
- package/src/core/components/shadcn/resizeable.tsx +46 -44
- package/src/core/components/shadcn/selectBox.tsx +216 -121
- package/src/core/components/shadcn/separator.tsx +15 -19
- package/src/core/components/shadcn/slider.test.tsx +14 -0
- package/src/core/components/shadcn/slider.tsx +78 -0
- package/src/core/components/shadcn/switch.tsx +55 -48
- package/src/core/components/shadcn/tabs.tsx +316 -292
- package/src/core/components/shadcn/text.tsx +24 -24
- package/src/core/components/shadcn/textarea.tsx +55 -55
- package/src/core/components/shadcn/theme/ThemeProvider.tsx +52 -58
- package/src/core/components/shadcn/theme/ThemeSwitcher.tsx +45 -31
- package/src/core/components/shadcn/tooltip.tsx +85 -69
- package/src/core/components/styles.ts +7 -6
- package/src/core/components/table/index.tsx +90 -31
- package/src/core/components/toast/NotificationPanel.tsx +31 -31
- package/src/core/components/toast/ToastContext.ts +3 -3
- package/src/core/components/toast/ToastProps.ts +1 -1
- package/src/core/components/toast/ToastProvider.tsx +20 -13
- package/src/core/components/toast/index.ts +2 -2
- package/src/core/hooks/CompositeState.tsx +28 -33
- package/src/core/hooks/PortalContainerProvider.tsx +8 -14
- package/src/core/hooks/SharedState.tsx +9 -9
- package/src/core/hooks/index.ts +15 -15
- package/src/core/hooks/useClickOutside.tsx +11 -7
- package/src/core/hooks/useCopyToClipboard.tsx +21 -21
- package/src/core/hooks/useDarkMode.ts +2 -2
- package/src/core/hooks/useDebounce.tsx +1 -1
- package/src/core/hooks/useEventSource.ts +40 -14
- package/src/core/hooks/useFetch.ts +41 -27
- package/src/core/hooks/useFlag.tsx +4 -4
- package/src/core/hooks/useIntersectionObserver.tsx +22 -13
- package/src/core/hooks/useIsFistRendering.ts +5 -4
- package/src/core/hooks/useSafeLayoutEffect.ts +3 -3
- package/src/core/hooks/useScrollableSearch.tsx +64 -47
- package/src/core/hooks/useSharedValue.ts +3 -5
- package/src/core/index.ts +3 -3
- package/src/core/utils/a11y.ts +23 -0
- package/src/core/utils/cn.ts +4 -4
- package/src/core/utils/errorMessage.ts +20 -0
- package/src/core/utils/index.ts +4 -1
- package/src/core/utils/textarea.ts +15 -0
- package/src/css/base.css +24 -24
- package/src/css/color.css +129 -131
- package/src/css/custom-tooltips.css +54 -47
- package/src/css/theme.css +82 -84
- package/src/css/typography.css +8 -7
- package/src/css/utilities.css +137 -67
- package/src/env/index.ts +65 -42
- package/src/features/activity-doc/ActivityDoc.tsx +77 -71
- package/src/features/activity-doc/index.ts +1 -1
- package/src/features/agent/PayloadBuilder.tsx +98 -55
- package/src/features/agent/chat/AgentChart.tsx +50 -42
- package/src/features/agent/chat/AgentChatFixtureReplay.test.tsx +124 -0
- package/src/features/agent/chat/AgentChatFixtureReplay.tsx +248 -0
- package/src/features/agent/chat/AgentChatPlaybackControls.test.tsx +96 -0
- package/src/features/agent/chat/AgentChatPlaybackControls.tsx +215 -0
- package/src/features/agent/chat/AgentRequestInputOverlay.tsx +59 -0
- package/src/features/agent/chat/AgentRightPanel.tsx +409 -185
- package/src/features/agent/chat/AnimatedThinkingDots.tsx +91 -82
- package/src/features/agent/chat/ArtifactsTab.tsx +347 -110
- package/src/features/agent/chat/AskUserWidget.tsx +221 -51
- package/src/features/agent/chat/BrowserUseWidget.tsx +255 -0
- package/src/features/agent/chat/DocumentPanel.tsx +35 -41
- package/src/features/agent/chat/DocumentTabBar.tsx +7 -4
- package/src/features/agent/chat/ImageLightbox.tsx +30 -14
- package/src/features/agent/chat/JumpingDots.tsx +15 -6
- package/src/features/agent/chat/ModernAgentConversation.test.tsx +679 -0
- package/src/features/agent/chat/ModernAgentConversation.tsx +1239 -722
- package/src/features/agent/chat/ModernAgentOutput/AllMessagesMixed.test.tsx +946 -0
- package/src/features/agent/chat/ModernAgentOutput/AllMessagesMixed.tsx +2244 -343
- package/src/features/agent/chat/ModernAgentOutput/AttachmentPreview.tsx +437 -0
- package/src/features/agent/chat/ModernAgentOutput/BatchProgressPanel.tsx +67 -65
- package/src/features/agent/chat/ModernAgentOutput/Header.tsx +239 -134
- package/src/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.tsx +18 -14
- package/src/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.tsx +197 -242
- package/src/features/agent/chat/ModernAgentOutput/MessageInput.test.tsx +211 -0
- package/src/features/agent/chat/ModernAgentOutput/MessageInput.tsx +394 -268
- package/src/features/agent/chat/ModernAgentOutput/MessageItem.tsx +435 -291
- package/src/features/agent/chat/ModernAgentOutput/MessagesContainer.tsx +12 -13
- package/src/features/agent/chat/ModernAgentOutput/PlanPanel.tsx +27 -23
- package/src/features/agent/chat/ModernAgentOutput/SlideInPanel.tsx +24 -22
- package/src/features/agent/chat/ModernAgentOutput/SlidingMessages.tsx +18 -21
- package/src/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.tsx +53 -49
- package/src/features/agent/chat/ModernAgentOutput/StackedMessages.tsx +9 -9
- package/src/features/agent/chat/ModernAgentOutput/StreamingMessage.tsx +42 -38
- package/src/features/agent/chat/ModernAgentOutput/SummaryConversation.ts +421 -0
- package/src/features/agent/chat/ModernAgentOutput/ToolCallGroup.tsx +518 -271
- package/src/features/agent/chat/ModernAgentOutput/WorkstreamTabs.tsx +124 -146
- package/src/features/agent/chat/ModernAgentOutput/processContentForMarkdown.test.ts +48 -0
- package/src/features/agent/chat/ModernAgentOutput/processContentForMarkdown.ts +158 -0
- package/src/features/agent/chat/ModernAgentOutput/requestInputMessages.ts +81 -0
- package/src/features/agent/chat/ModernAgentOutput/utils.test.ts +1232 -88
- package/src/features/agent/chat/ModernAgentOutput/utils.ts +190 -154
- package/src/features/agent/chat/ModernAgentOutput/with-types.d.ts +7 -7
- package/src/features/agent/chat/ProposalCodeBlockHandler.tsx +89 -0
- package/src/features/agent/chat/SkillWidgetProvider.tsx +72 -58
- package/src/features/agent/chat/SlidingThinkingIndicator.tsx +173 -165
- package/src/features/agent/chat/VegaLiteChart.tsx +631 -557
- package/src/features/agent/chat/WaitingMessages.ts +50 -50
- package/src/features/agent/chat/applyParameterValues.test.ts +67 -69
- package/src/features/agent/chat/hooks/useAgentPlans.ts +22 -27
- package/src/features/agent/chat/hooks/useAgentStream.test.tsx +250 -0
- package/src/features/agent/chat/hooks/useAgentStream.ts +185 -125
- package/src/features/agent/chat/hooks/useArtifacts.ts +41 -16
- package/src/features/agent/chat/hooks/useDocumentPanel.ts +11 -13
- package/src/features/agent/chat/hooks/useFileProcessing.test.tsx +121 -0
- package/src/features/agent/chat/hooks/useFileProcessing.ts +173 -72
- package/src/features/agent/chat/index.ts +58 -27
- package/src/features/agent/chat/playback.test.ts +70 -0
- package/src/features/agent/chat/playback.ts +93 -0
- package/src/features/agent/chat/useArtifactUrlCache.tsx +25 -27
- package/src/features/agent/chat/workstreams.ts +182 -0
- package/src/features/agent/index.ts +2 -2
- package/src/features/document-viewer/UniversalDocumentViewer.test.tsx +123 -0
- package/src/features/document-viewer/UniversalDocumentViewer.tsx +746 -0
- package/src/features/document-viewer/index.ts +1 -0
- package/src/features/errors/PanelErrorBoundary.tsx +13 -19
- package/src/features/errors/RowErrorBoundary.tsx +8 -12
- package/src/features/errors/VertesiaErrorBoundary.tsx +8 -7
- package/src/features/errors/WidgetErrorBoundary.tsx +8 -16
- package/src/features/errors/index.ts +4 -4
- package/src/features/facets/AgentRunnerFacetsNav.tsx +56 -59
- package/src/features/facets/CollectionsFacetsNav.tsx +24 -35
- package/src/features/facets/DocumentsFacetsNav.tsx +36 -44
- package/src/features/facets/EnvironmentFacet.tsx +38 -20
- package/src/features/facets/InteractionsFacetsNav.tsx +18 -31
- package/src/features/facets/ProcessDefinitionsFacetsNav.tsx +51 -0
- package/src/features/facets/ProcessRunsFacetsNav.tsx +64 -0
- package/src/features/facets/PromptsFacetsNav.tsx +22 -33
- package/src/features/facets/RunsFacetsNav.tsx +52 -60
- package/src/features/facets/WorkflowDefinitionsFacetsNav.tsx +51 -0
- package/src/features/facets/WorkflowExecutionsFacetsNav.tsx +28 -42
- package/src/features/facets/WorkflowRulesFacetsNav.tsx +49 -0
- package/src/features/facets/index.ts +32 -18
- package/src/features/facets/utils/SearchInterface.tsx +32 -3
- package/src/features/facets/utils/StringFacet.tsx +16 -5
- package/src/features/facets/utils/StringListFacet.tsx +5 -6
- package/src/features/facets/utils/TypeFacet.tsx +30 -19
- package/src/features/facets/utils/VEnvironmentFacet.tsx +9 -9
- package/src/features/facets/utils/VInteractionFacet.tsx +18 -17
- package/src/features/facets/utils/VStringFacet.tsx +19 -8
- package/src/features/facets/utils/VTypeFacet.tsx +15 -15
- package/src/features/facets/utils/VUserFacet.tsx +6 -6
- package/src/features/facets/utils/utils.tsx +2 -2
- package/src/features/index.ts +14 -12
- package/src/features/layout/GenericPageNavHeader.tsx +73 -53
- package/src/features/layout/NotFoundView.tsx +4 -7
- package/src/features/layout/index.ts +2 -2
- package/src/features/magic-pdf/AnnotatedImageSlider.tsx +59 -44
- package/src/features/magic-pdf/DownloadPopover.tsx +29 -34
- package/src/features/magic-pdf/ExtractedContentView.tsx +14 -21
- package/src/features/magic-pdf/MagicPdfProvider.tsx +30 -45
- package/src/features/magic-pdf/MagicPdfView.tsx +42 -55
- package/src/features/magic-pdf/index.ts +1 -1
- package/src/features/magic-pdf/types.ts +1 -1
- package/src/features/media-viewer/AudioPanel.tsx +118 -0
- package/src/features/media-viewer/ImagePanel.tsx +96 -0
- package/src/features/media-viewer/VideoPanel.tsx +131 -0
- package/src/features/media-viewer/formats.ts +38 -0
- package/src/features/media-viewer/index.ts +4 -0
- package/src/features/oauth/OAuthProviderConnectButton.tsx +6 -16
- package/src/features/oauth/RemoteMcpConnectionButton.tsx +14 -23
- package/src/features/oauth/useOAuthPopup.ts +1 -1
- package/src/features/pdf-viewer/PdfPageRenderer.tsx +50 -72
- package/src/features/pdf-viewer/PdfPageSlider.tsx +78 -80
- package/src/features/pdf-viewer/SimplePdfViewer.tsx +22 -18
- package/src/features/permissions/SecureButton.tsx +9 -8
- package/src/features/permissions/SecureSidebarItem.tsx +4 -7
- package/src/features/permissions/UserPermissionsProvider.tsx +70 -51
- package/src/features/permissions/helpers.ts +8 -5
- package/src/features/permissions/index.ts +4 -4
- package/src/features/store/collections/BrowseCollectionView.tsx +17 -19
- package/src/features/store/collections/CollectionsTable.tsx +50 -41
- package/src/features/store/collections/CreateCollection.tsx +61 -31
- package/src/features/store/collections/EditCollectionView.tsx +164 -93
- package/src/features/store/collections/SelectCollection.tsx +120 -116
- package/src/features/store/collections/SharedPropsEditor.tsx +38 -29
- package/src/features/store/collections/SyncMemberHeadsToggle.tsx +28 -26
- package/src/features/store/collections/index.ts +7 -7
- package/src/features/store/index.ts +3 -3
- package/src/features/store/objects/DocumentPreviewPanel.tsx +348 -376
- package/src/features/store/objects/DocumentSearchResults.tsx +194 -117
- package/src/features/store/objects/DocumentSelectionProvider.tsx +15 -10
- package/src/features/store/objects/DocumentTable.tsx +51 -45
- package/src/features/store/objects/ExportPropertiesModal.tsx +24 -26
- package/src/features/store/objects/components/ContentDispositionButton.tsx +22 -27
- package/src/features/store/objects/components/ContentOverview.tsx +401 -600
- package/src/features/store/objects/components/DocumentIcon.tsx +95 -91
- package/src/features/store/objects/components/DocumentInput.tsx +33 -26
- package/src/features/store/objects/components/PropertiesEditorModal.tsx +58 -60
- package/src/features/store/objects/components/SaveVersionConfirmModal.tsx +49 -37
- package/src/features/store/objects/components/SelectDocument.test.tsx +87 -0
- package/src/features/store/objects/components/SelectDocument.tsx +50 -54
- package/src/features/store/objects/components/SelectDocumentModal.tsx +7 -7
- package/src/features/store/objects/components/TextEditorPanel.tsx +23 -21
- package/src/features/store/objects/components/VectorSearchWidget.test.tsx +41 -0
- package/src/features/store/objects/components/VectorSearchWidget.tsx +94 -37
- package/src/features/store/objects/components/index.ts +9 -9
- package/src/features/store/objects/components/useContentPanelHooks.ts +24 -19
- package/src/features/store/objects/components/useDownloadFile.ts +137 -128
- package/src/features/store/objects/index.ts +10 -10
- package/src/features/store/objects/layout/DocumentTableColumn.tsx +28 -12
- package/src/features/store/objects/layout/documentLayout.tsx +86 -43
- package/src/features/store/objects/layout/index.ts +2 -2
- package/src/features/store/objects/layout/renderers.tsx +107 -73
- package/src/features/store/objects/search/DocumentSearchContext.test.ts +49 -0
- package/src/features/store/objects/search/DocumentSearchContext.ts +63 -46
- package/src/features/store/objects/search/DocumentSearchProvider.tsx +23 -16
- package/src/features/store/objects/search/index.ts +2 -2
- package/src/features/store/objects/selection/ObjectsActionContext.tsx +28 -21
- package/src/features/store/objects/selection/ObjectsActionContextClass.ts +9 -11
- package/src/features/store/objects/selection/ObjectsActionHooks.ts +5 -5
- package/src/features/store/objects/selection/ObjectsActionSpec.ts +16 -16
- package/src/features/store/objects/selection/SelectionActions.tsx +111 -51
- package/src/features/store/objects/selection/actions/AddToCollectionAction.tsx +68 -43
- package/src/features/store/objects/selection/actions/ChangeTypeAction.tsx +36 -32
- package/src/features/store/objects/selection/actions/ConfirmAction.tsx +27 -20
- package/src/features/store/objects/selection/actions/DeleteObjectsAction.tsx +57 -46
- package/src/features/store/objects/selection/actions/ExportPropertiesAction.tsx +60 -65
- package/src/features/store/objects/selection/actions/RemoveFromCollectionAction.tsx +42 -33
- package/src/features/store/objects/selection/actions/StartWorkflowComponent.tsx +9 -10
- package/src/features/store/objects/selection/actions/index.ts +7 -7
- package/src/features/store/objects/selection/index.ts +4 -4
- package/src/features/store/objects/upload/DocumentUploadModal.tsx +189 -183
- package/src/features/store/objects/upload/index.ts +3 -3
- package/src/features/store/objects/upload/useSmartFileUploadProcessing.ts +139 -132
- package/src/features/store/objects/upload/useUploadHandler.ts +41 -41
- package/src/features/store/types/ContentObjectTypesSearch.tsx +89 -65
- package/src/features/store/types/ContentObjectTypesTable.tsx +19 -18
- package/src/features/store/types/CreateOrUpdateTypeModal.tsx +26 -16
- package/src/features/store/types/ObjectSchemaEditor.tsx +72 -62
- package/src/features/store/types/SelectContentType.tsx +22 -16
- package/src/features/store/types/SelectContentTypeModal.tsx +23 -33
- package/src/features/store/types/TableLayoutEditor.tsx +54 -41
- package/src/features/store/types/TypeRegistry.ts +2 -3
- package/src/features/store/types/TypeRegistryProvider.tsx +76 -73
- package/src/features/store/types/index.ts +10 -10
- package/src/features/store/types/search/ObjectTypeSearchContext.tsx +39 -33
- package/src/features/store/types/search/ObjectTypeSearchProvider.tsx +7 -8
- package/src/features/store/types/search/index.ts +2 -2
- package/src/features/user/UserAvatar.tsx +21 -17
- package/src/features/user/UserInfo.test.tsx +88 -0
- package/src/features/user/UserInfo.tsx +196 -110
- package/src/features/user/index.ts +2 -2
- package/src/features/utils/index.ts +5 -5
- package/src/features/utils/mimeType.ts +10 -10
- package/src/features/utils/print.ts +14 -12
- package/src/features/utils/rendition.ts +68 -81
- package/src/features/utils/text.ts +4 -4
- package/src/features/utils/workflowStatus.ts +14 -14
- package/src/i18n/LanguageProvider.test.tsx +172 -0
- package/src/i18n/LanguageProvider.tsx +77 -0
- package/src/i18n/index.tsx +30 -7
- package/src/i18n/locales/ar.json +77 -21
- package/src/i18n/locales/de.json +77 -21
- package/src/i18n/locales/en.json +93 -25
- package/src/i18n/locales/es.json +79 -23
- package/src/i18n/locales/fr.json +77 -21
- package/src/i18n/locales/it.json +79 -23
- package/src/i18n/locales/ja.json +77 -21
- package/src/i18n/locales/ko.json +77 -21
- package/src/i18n/locales/pt.json +79 -23
- package/src/i18n/locales/ru.json +77 -21
- package/src/i18n/locales/tr.json +77 -21
- package/src/i18n/locales/zh-TW.json +77 -21
- package/src/i18n/locales/zh.json +77 -21
- package/src/i18n/rtl.test.ts +74 -0
- package/src/i18n/rtl.ts +55 -0
- package/src/i18n/useLocaleFormat.test.tsx +176 -0
- package/src/i18n/useLocaleFormat.ts +106 -0
- package/src/layout/AppLayout.tsx +80 -70
- package/src/layout/ErrorPage.tsx +32 -0
- package/src/layout/FullHeightLayout.tsx +16 -70
- package/src/layout/Navbar.tsx +48 -50
- package/src/layout/RegionTag.tsx +1 -5
- package/src/layout/Sidebar.tsx +79 -67
- package/src/layout/SidebarContext.ts +1 -1
- package/src/layout/TitleBar.tsx +1 -2
- package/src/layout/index.ts +8 -7
- package/src/router/FixLinks.tsx +11 -9
- package/src/router/HistoryNavigator.ts +55 -32
- package/src/router/Nav.tsx +36 -10
- package/src/router/NestedNavigationContext.tsx +23 -22
- package/src/router/NestedRouterProvider.tsx +52 -46
- package/src/router/PathMatcher.ts +42 -36
- package/src/router/PathWithParams.ts +1 -2
- package/src/router/Route404.tsx +6 -6
- package/src/router/RouteComponent.tsx +7 -9
- package/src/router/Router.tsx +32 -22
- package/src/router/RouterProvider.tsx +24 -22
- package/src/router/index.ts +10 -10
- package/src/router/path.ts +4 -3
- package/src/session/UserSession.ts +96 -64
- package/src/session/UserSessionProvider.tsx +173 -87
- package/src/session/auth/composable.test.ts +79 -0
- package/src/session/auth/composable.ts +108 -33
- package/src/session/auth/domainRouting.test.ts +8 -8
- package/src/session/auth/firebase.ts +25 -24
- package/src/session/auth/useAuthState.ts +5 -8
- package/src/session/auth/useCurrentTenant.ts +10 -11
- package/src/session/constants.ts +1 -1
- package/src/session/index.ts +7 -7
- package/src/session/useUXTracking.tsx +11 -15
- package/src/shell/SplashScreen.tsx +22 -13
- package/src/shell/VertesiaShell.tsx +38 -16
- package/src/shell/apps/AppInstallationProvider.tsx +10 -11
- package/src/shell/apps/AppProjectSelector.tsx +34 -20
- package/src/shell/apps/StandaloneApp.tsx +40 -37
- package/src/shell/apps/index.ts +3 -3
- package/src/shell/index.tsx +5 -5
- package/src/shell/login/InviteAcceptModal.tsx +65 -56
- package/src/shell/login/PreviewIcon.tsx +3 -6
- package/src/shell/login/SignInAuthPending.tsx +43 -0
- package/src/shell/login/SignInEmailStep.tsx +83 -0
- package/src/shell/login/SignInIcons.tsx +66 -0
- package/src/shell/login/SignInModal.tsx +10 -14
- package/src/shell/login/SignInPrimitives.tsx +414 -0
- package/src/shell/login/SignInProvidersStep.tsx +50 -0
- package/src/shell/login/SignInReturningStep.tsx +90 -0
- package/src/shell/login/SignInTenantBlockedStep.tsx +41 -0
- package/src/shell/login/SignInTenantStep.tsx +78 -0
- package/src/shell/login/SignInWithProviderButton.tsx +40 -0
- package/src/shell/login/SigninScreen.tsx +231 -134
- package/src/shell/login/SignupForm.tsx +28 -33
- package/src/shell/login/TerminalLogin.tsx +188 -156
- package/src/shell/login/UserInfo.tsx +41 -26
- package/src/shell/login/UserSessionMenu.tsx +50 -35
- package/src/shell/login/signInUtils.test.ts +41 -0
- package/src/shell/login/signInUtils.ts +241 -0
- package/src/shell/utils.tsx +5 -5
- package/src/widgets/Progress.tsx +2 -2
- package/src/widgets/SvgIcon.tsx +4 -4
- package/src/widgets/form/Form.tsx +71 -59
- package/src/widgets/form/FormContext.ts +9 -7
- package/src/widgets/form/ManagedObject.ts +50 -40
- package/src/widgets/form/fields.tsx +3 -11
- package/src/widgets/form/index.ts +6 -6
- package/src/widgets/form/inputs.tsx +55 -35
- package/src/widgets/form/schema.ts +22 -15
- package/src/widgets/index.ts +10 -10
- package/src/widgets/json-view/JSONCode.test.tsx +52 -0
- package/src/widgets/json-view/JSONCode.tsx +64 -19
- package/src/widgets/json-view/JSONDisplay.tsx +30 -14
- package/src/widgets/json-view/JSONEditor.tsx +6 -6
- package/src/widgets/json-view/JSONSwitcher.tsx +13 -5
- package/src/widgets/json-view/JSONTable.tsx +80 -0
- package/src/widgets/json-view/JSONView.tsx +122 -82
- package/src/widgets/json-view/index.ts +7 -6
- package/src/widgets/markdown/ArtifactContentRenderer.tsx +20 -36
- package/src/widgets/markdown/CodeBlockContext.tsx +1 -1
- package/src/widgets/markdown/CodeBlockPlaceholder.test.tsx +2 -2
- package/src/widgets/markdown/CodeBlockPlaceholder.tsx +21 -19
- package/src/widgets/markdown/CodeBlockRendering.tsx +3 -8
- package/src/widgets/markdown/MarkdownFigure.tsx +5 -21
- package/src/widgets/markdown/MarkdownImage.tsx +7 -29
- package/src/widgets/markdown/MarkdownLink.tsx +7 -30
- package/src/widgets/markdown/MarkdownRenderer.tsx +45 -42
- package/src/widgets/markdown/MermaidDiagram.test.ts +40 -0
- package/src/widgets/markdown/MermaidDiagram.tsx +9 -8
- package/src/widgets/markdown/codeBlockHandlers.test.tsx +12 -15
- package/src/widgets/markdown/codeBlockHandlers.tsx +40 -155
- package/src/widgets/markdown/index.ts +23 -14
- package/src/widgets/markdown/normalizeCustomSchemeLinks.test.ts +21 -6
- package/src/widgets/markdown/normalizeCustomSchemeLinks.ts +9 -16
- package/src/widgets/markdown/normalizeDirectives.test.ts +57 -0
- package/src/widgets/markdown/normalizeDirectives.ts +24 -14
- package/src/widgets/markdown/preprocessMathDelimiters.test.ts +59 -54
- package/src/widgets/markdown/preprocessMathDelimiters.ts +36 -32
- package/src/widgets/markdown/remarkDirectiveHandler.ts +10 -12
- package/src/widgets/markdown/useArtifactContent.ts +9 -22
- package/src/widgets/markdown/useResolvedUrl.test.ts +25 -2
- package/src/widgets/markdown/useResolvedUrl.ts +25 -24
- package/src/widgets/monacoEditor/MonacoEditor.tsx +93 -81
- package/src/widgets/monacoEditor/foldingProviders.ts +33 -7
- package/src/widgets/monacoEditor/index.ts +2 -3
- package/src/widgets/properties/PropertiesView.tsx +19 -25
- package/src/widgets/properties/index.ts +1 -1
- package/src/widgets/schema-editor/ManagedSchema.ts +47 -39
- package/src/widgets/schema-editor/editor/Editable.tsx +94 -74
- package/src/widgets/schema-editor/editor/EditableSchemaProperty.tsx +4 -4
- package/src/widgets/schema-editor/editor/PropertyEditor.tsx +49 -34
- package/src/widgets/schema-editor/editor/PropertyViewer.tsx +6 -9
- package/src/widgets/schema-editor/editor/SchemaContext.tsx +9 -6
- package/src/widgets/schema-editor/editor/SchemaEditor.test.ts +5 -5
- package/src/widgets/schema-editor/editor/SchemaEditor.tsx +56 -50
- package/src/widgets/schema-editor/index.ts +6 -6
- package/src/widgets/schema-editor/json-schema4-utils.ts +36 -34
- package/src/widgets/schema-editor/type-signature.ts +16 -18
- package/src/widgets/upload/DropZone.tsx +68 -47
- package/src/widgets/upload/UploadResultCategory.tsx +24 -20
- package/src/widgets/upload/UploadSummary.tsx +24 -24
- package/src/widgets/upload/index.ts +1 -1
- package/src/widgets/xml-viewer/components/Attributes/index.tsx +17 -17
- package/src/widgets/xml-viewer/components/CDataTag/index.tsx +13 -13
- package/src/widgets/xml-viewer/components/CollapseIcon/index.tsx +20 -22
- package/src/widgets/xml-viewer/components/CommentTag/index.tsx +20 -20
- package/src/widgets/xml-viewer/components/DeclarationTag/index.tsx +14 -14
- package/src/widgets/xml-viewer/components/Elements/index.tsx +67 -67
- package/src/widgets/xml-viewer/components/InvalidXml/index.tsx +1 -1
- package/src/widgets/xml-viewer/components/Tag/index.tsx +36 -35
- package/src/widgets/xml-viewer/components/TextElement/index.tsx +20 -19
- package/src/widgets/xml-viewer/components/XMLViewer.tsx +50 -50
- package/src/widgets/xml-viewer/components/types.ts +99 -99
- package/src/widgets/xml-viewer/constants/index.ts +16 -16
- package/src/widgets/xml-viewer/context/xml-viewer-context.ts +4 -4
- package/src/widgets/xml-viewer/helpers/index.ts +32 -34
- package/src/widgets/xml-viewer/hooks/useCollapsible.ts +18 -20
- package/src/widgets/xml-viewer/hooks/useXMLViewer.ts +25 -23
- package/src/widgets/xml-viewer/index.ts +1 -1
- package/src/widgets/xml-viewer/types/index.ts +6 -6
- package/tsconfig.dist.json +3 -2
- package/lib/esm/core/components/Avatar.js +0 -31
- package/lib/esm/core/components/Avatar.js.map +0 -1
- package/lib/esm/core/components/Center.js +0 -6
- package/lib/esm/core/components/Center.js.map +0 -1
- package/lib/esm/core/components/ComboBox.js +0 -355
- package/lib/esm/core/components/ComboBox.js.map +0 -1
- package/lib/esm/core/components/Divider.js +0 -6
- package/lib/esm/core/components/Divider.js.map +0 -1
- package/lib/esm/core/components/EmptyCollection.js +0 -7
- package/lib/esm/core/components/EmptyCollection.js.map +0 -1
- package/lib/esm/core/components/FileUpload.js +0 -119
- package/lib/esm/core/components/FileUpload.js.map +0 -1
- package/lib/esm/core/components/FormItem.js +0 -9
- package/lib/esm/core/components/FormItem.js.map +0 -1
- package/lib/esm/core/components/InputList.js +0 -61
- package/lib/esm/core/components/InputList.js.map +0 -1
- package/lib/esm/core/components/Link.js +0 -13
- package/lib/esm/core/components/Link.js.map +0 -1
- package/lib/esm/core/components/MenuList.js +0 -20
- package/lib/esm/core/components/MenuList.js.map +0 -1
- package/lib/esm/core/components/NumberInput.js +0 -43
- package/lib/esm/core/components/NumberInput.js.map +0 -1
- package/lib/esm/core/components/Overlay.js +0 -57
- package/lib/esm/core/components/Overlay.js.map +0 -1
- package/lib/esm/core/components/Portal.js +0 -28
- package/lib/esm/core/components/Portal.js.map +0 -1
- package/lib/esm/core/components/SelectList.js +0 -54
- package/lib/esm/core/components/SelectList.js.map +0 -1
- package/lib/esm/core/components/SidePanel.js +0 -39
- package/lib/esm/core/components/SidePanel.js.map +0 -1
- package/lib/esm/core/components/Spinner.js +0 -18
- package/lib/esm/core/components/Spinner.js.map +0 -1
- package/lib/esm/core/components/TagsInput.js +0 -194
- package/lib/esm/core/components/TagsInput.js.map +0 -1
- package/lib/esm/core/components/index.js +0 -23
- package/lib/esm/core/components/index.js.map +0 -1
- package/lib/esm/core/components/libs/utils.js +0 -6
- package/lib/esm/core/components/libs/utils.js.map +0 -1
- package/lib/esm/core/components/libs/visuallyHidden.js +0 -16
- package/lib/esm/core/components/libs/visuallyHidden.js.map +0 -1
- package/lib/esm/core/components/popup/Popup.js +0 -60
- package/lib/esm/core/components/popup/Popup.js.map +0 -1
- package/lib/esm/core/components/popup/PopupController.js +0 -149
- package/lib/esm/core/components/popup/PopupController.js.map +0 -1
- package/lib/esm/core/components/popup/index.js +0 -4
- package/lib/esm/core/components/popup/index.js.map +0 -1
- package/lib/esm/core/components/popup/position.js +0 -221
- package/lib/esm/core/components/popup/position.js.map +0 -1
- package/lib/esm/core/components/popup/utils.js +0 -74
- package/lib/esm/core/components/popup/utils.js.map +0 -1
- package/lib/esm/core/components/shadcn/MessageBox.js +0 -66
- package/lib/esm/core/components/shadcn/MessageBox.js.map +0 -1
- package/lib/esm/core/components/shadcn/Panel.js +0 -13
- package/lib/esm/core/components/shadcn/Panel.js.map +0 -1
- package/lib/esm/core/components/shadcn/badge.js +0 -62
- package/lib/esm/core/components/shadcn/badge.js.map +0 -1
- package/lib/esm/core/components/shadcn/breadcrumb.js +0 -55
- package/lib/esm/core/components/shadcn/breadcrumb.js.map +0 -1
- package/lib/esm/core/components/shadcn/button.js +0 -78
- package/lib/esm/core/components/shadcn/button.js.map +0 -1
- package/lib/esm/core/components/shadcn/calendar.js +0 -13
- package/lib/esm/core/components/shadcn/calendar.js.map +0 -1
- package/lib/esm/core/components/shadcn/card.js +0 -17
- package/lib/esm/core/components/shadcn/card.js.map +0 -1
- package/lib/esm/core/components/shadcn/checkbox.js +0 -9
- package/lib/esm/core/components/shadcn/checkbox.js.map +0 -1
- package/lib/esm/core/components/shadcn/collaspible.js +0 -13
- package/lib/esm/core/components/shadcn/collaspible.js.map +0 -1
- package/lib/esm/core/components/shadcn/command.js +0 -29
- package/lib/esm/core/components/shadcn/command.js.map +0 -1
- package/lib/esm/core/components/shadcn/dropdown.js +0 -86
- package/lib/esm/core/components/shadcn/dropdown.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/DynamicLabel.js +0 -38
- package/lib/esm/core/components/shadcn/filters/DynamicLabel.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/animateChangeInHeight.js +0 -23
- package/lib/esm/core/components/shadcn/filters/animateChangeInHeight.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/comboBox/DateCombobox.js +0 -131
- package/lib/esm/core/components/shadcn/filters/comboBox/DateCombobox.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/comboBox/SelectCombobox.js +0 -49
- package/lib/esm/core/components/shadcn/filters/comboBox/SelectCombobox.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/comboBox/StringListCombobox.js +0 -23
- package/lib/esm/core/components/shadcn/filters/comboBox/StringListCombobox.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/comboBox/TextCombobox.js +0 -28
- package/lib/esm/core/components/shadcn/filters/comboBox/TextCombobox.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/comboBox/comboBox.js +0 -5
- package/lib/esm/core/components/shadcn/filters/comboBox/comboBox.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filter/SelectFilter.js +0 -98
- package/lib/esm/core/components/shadcn/filters/filter/SelectFilter.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filter/StringListFilter.js +0 -24
- package/lib/esm/core/components/shadcn/filters/filter/StringListFilter.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filter/TextFilter.js +0 -21
- package/lib/esm/core/components/shadcn/filters/filter/TextFilter.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filter/dateFilter.js +0 -163
- package/lib/esm/core/components/shadcn/filters/filter/dateFilter.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filter-styles.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filterBar.js +0 -237
- package/lib/esm/core/components/shadcn/filters/filterBar.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filters.js +0 -57
- package/lib/esm/core/components/shadcn/filters/filters.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/index.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/types.js.map +0 -1
- package/lib/esm/core/components/shadcn/heading.js +0 -17
- package/lib/esm/core/components/shadcn/heading.js.map +0 -1
- package/lib/esm/core/components/shadcn/index.js +0 -29
- package/lib/esm/core/components/shadcn/index.js.map +0 -1
- package/lib/esm/core/components/shadcn/input.js +0 -41
- package/lib/esm/core/components/shadcn/input.js.map +0 -1
- package/lib/esm/core/components/shadcn/label.js +0 -10
- package/lib/esm/core/components/shadcn/label.js.map +0 -1
- package/lib/esm/core/components/shadcn/modal/ConfirmModal.js +0 -12
- package/lib/esm/core/components/shadcn/modal/ConfirmModal.js.map +0 -1
- package/lib/esm/core/components/shadcn/modal/DeleteModal.js +0 -30
- package/lib/esm/core/components/shadcn/modal/DeleteModal.js.map +0 -1
- package/lib/esm/core/components/shadcn/modal/dialog.js +0 -78
- package/lib/esm/core/components/shadcn/modal/dialog.js.map +0 -1
- package/lib/esm/core/components/shadcn/modal/index.js +0 -4
- package/lib/esm/core/components/shadcn/modal/index.js.map +0 -1
- package/lib/esm/core/components/shadcn/popover.js +0 -56
- package/lib/esm/core/components/shadcn/popover.js.map +0 -1
- package/lib/esm/core/components/shadcn/radioGroup.js +0 -28
- package/lib/esm/core/components/shadcn/radioGroup.js.map +0 -1
- package/lib/esm/core/components/shadcn/resizeable.js +0 -15
- package/lib/esm/core/components/shadcn/resizeable.js.map +0 -1
- package/lib/esm/core/components/shadcn/selectBox.js +0 -156
- package/lib/esm/core/components/shadcn/selectBox.js.map +0 -1
- package/lib/esm/core/components/shadcn/separator.js +0 -8
- package/lib/esm/core/components/shadcn/separator.js.map +0 -1
- package/lib/esm/core/components/shadcn/switch.js +0 -18
- package/lib/esm/core/components/shadcn/switch.js.map +0 -1
- package/lib/esm/core/components/shadcn/tabs.js +0 -134
- package/lib/esm/core/components/shadcn/tabs.js.map +0 -1
- package/lib/esm/core/components/shadcn/text.js +0 -30
- package/lib/esm/core/components/shadcn/text.js.map +0 -1
- package/lib/esm/core/components/shadcn/textarea.js +0 -35
- package/lib/esm/core/components/shadcn/textarea.js.map +0 -1
- package/lib/esm/core/components/shadcn/theme/ThemeProvider.js +0 -39
- package/lib/esm/core/components/shadcn/theme/ThemeProvider.js.map +0 -1
- package/lib/esm/core/components/shadcn/theme/ThemeSwitcher.js +0 -15
- package/lib/esm/core/components/shadcn/theme/ThemeSwitcher.js.map +0 -1
- package/lib/esm/core/components/shadcn/tooltip.js +0 -34
- package/lib/esm/core/components/shadcn/tooltip.js.map +0 -1
- package/lib/esm/core/components/styles.js +0 -10
- package/lib/esm/core/components/styles.js.map +0 -1
- package/lib/esm/core/components/table/index.js +0 -24
- package/lib/esm/core/components/table/index.js.map +0 -1
- package/lib/esm/core/components/toast/NotificationPanel.js +0 -43
- package/lib/esm/core/components/toast/NotificationPanel.js.map +0 -1
- package/lib/esm/core/components/toast/ToastContext.js +0 -7
- package/lib/esm/core/components/toast/ToastContext.js.map +0 -1
- package/lib/esm/core/components/toast/ToastProps.js.map +0 -1
- package/lib/esm/core/components/toast/ToastProvider.js +0 -13
- package/lib/esm/core/components/toast/ToastProvider.js.map +0 -1
- package/lib/esm/core/components/toast/index.js +0 -3
- package/lib/esm/core/components/toast/index.js.map +0 -1
- package/lib/esm/core/hooks/CompositeState.js +0 -256
- package/lib/esm/core/hooks/CompositeState.js.map +0 -1
- package/lib/esm/core/hooks/PortalContainerProvider.js +0 -50
- package/lib/esm/core/hooks/PortalContainerProvider.js.map +0 -1
- package/lib/esm/core/hooks/SharedState.js +0 -64
- package/lib/esm/core/hooks/SharedState.js.map +0 -1
- package/lib/esm/core/hooks/index.js +0 -16
- package/lib/esm/core/hooks/index.js.map +0 -1
- package/lib/esm/core/hooks/useClickOutside.js +0 -29
- package/lib/esm/core/hooks/useClickOutside.js.map +0 -1
- package/lib/esm/core/hooks/useCopyToClipboard.js.map +0 -1
- package/lib/esm/core/hooks/useDarkMode.js +0 -11
- package/lib/esm/core/hooks/useDarkMode.js.map +0 -1
- package/lib/esm/core/hooks/useDebounce.js +0 -14
- package/lib/esm/core/hooks/useDebounce.js.map +0 -1
- package/lib/esm/core/hooks/useEventSource.js +0 -31
- package/lib/esm/core/hooks/useEventSource.js.map +0 -1
- package/lib/esm/core/hooks/useFetch.js +0 -40
- package/lib/esm/core/hooks/useFetch.js.map +0 -1
- package/lib/esm/core/hooks/useFlag.js +0 -13
- package/lib/esm/core/hooks/useFlag.js.map +0 -1
- package/lib/esm/core/hooks/useIntersectionObserver.js +0 -34
- package/lib/esm/core/hooks/useIntersectionObserver.js.map +0 -1
- package/lib/esm/core/hooks/useIsFistRendering.js +0 -14
- package/lib/esm/core/hooks/useIsFistRendering.js.map +0 -1
- package/lib/esm/core/hooks/useSafeLayoutEffect.js +0 -4
- package/lib/esm/core/hooks/useSafeLayoutEffect.js.map +0 -1
- package/lib/esm/core/hooks/useScrollableSearch.js +0 -92
- package/lib/esm/core/hooks/useScrollableSearch.js.map +0 -1
- package/lib/esm/core/hooks/useSharedValue.js +0 -21
- package/lib/esm/core/hooks/useSharedValue.js.map +0 -1
- package/lib/esm/core/index.js +0 -4
- package/lib/esm/core/index.js.map +0 -1
- package/lib/esm/core/utils/cn.js +0 -6
- package/lib/esm/core/utils/cn.js.map +0 -1
- package/lib/esm/core/utils/index.js +0 -2
- package/lib/esm/core/utils/index.js.map +0 -1
- package/lib/esm/env/index.js +0 -85
- package/lib/esm/env/index.js.map +0 -1
- package/lib/esm/features/activity-doc/ActivityDoc.js +0 -71
- package/lib/esm/features/activity-doc/ActivityDoc.js.map +0 -1
- package/lib/esm/features/activity-doc/index.js +0 -2
- package/lib/esm/features/activity-doc/index.js.map +0 -1
- package/lib/esm/features/agent/PayloadBuilder.js +0 -421
- package/lib/esm/features/agent/PayloadBuilder.js.map +0 -1
- package/lib/esm/features/agent/chat/AgentChart.js +0 -26
- package/lib/esm/features/agent/chat/AgentChart.js.map +0 -1
- package/lib/esm/features/agent/chat/AgentRightPanel.js +0 -169
- package/lib/esm/features/agent/chat/AgentRightPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/AnimatedThinkingDots.js +0 -243
- package/lib/esm/features/agent/chat/AnimatedThinkingDots.js.map +0 -1
- package/lib/esm/features/agent/chat/ArtifactsTab.js +0 -69
- package/lib/esm/features/agent/chat/ArtifactsTab.js.map +0 -1
- package/lib/esm/features/agent/chat/AskUserWidget.js +0 -116
- package/lib/esm/features/agent/chat/AskUserWidget.js.map +0 -1
- package/lib/esm/features/agent/chat/DocumentPanel.js +0 -52
- package/lib/esm/features/agent/chat/DocumentPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/DocumentTabBar.js +0 -9
- package/lib/esm/features/agent/chat/DocumentTabBar.js.map +0 -1
- package/lib/esm/features/agent/chat/ImageLightbox.js +0 -35
- package/lib/esm/features/agent/chat/ImageLightbox.js.map +0 -1
- package/lib/esm/features/agent/chat/JumpingDots.js +0 -6
- package/lib/esm/features/agent/chat/JumpingDots.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentConversation.js +0 -878
- package/lib/esm/features/agent/chat/ModernAgentConversation.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js +0 -488
- package/lib/esm/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/BatchProgressPanel.js +0 -90
- package/lib/esm/features/agent/chat/ModernAgentOutput/BatchProgressPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/Header.js +0 -114
- package/lib/esm/features/agent/chat/ModernAgentOutput/Header.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.js +0 -29
- package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.js +0 -94
- package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageInput.js +0 -202
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageInput.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageItem.js +0 -322
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageItem.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessagesContainer.js +0 -20
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessagesContainer.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/PlanPanel.js +0 -65
- package/lib/esm/features/agent/chat/ModernAgentOutput/PlanPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlideInPanel.js +0 -23
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlideInPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingMessages.js +0 -52
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingMessages.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.js +0 -84
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/StackedMessages.js +0 -13
- package/lib/esm/features/agent/chat/ModernAgentOutput/StackedMessages.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/StreamingMessage.js +0 -203
- package/lib/esm/features/agent/chat/ModernAgentOutput/StreamingMessage.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/ToolCallGroup.js +0 -556
- package/lib/esm/features/agent/chat/ModernAgentOutput/ToolCallGroup.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/WorkstreamTabs.js +0 -108
- package/lib/esm/features/agent/chat/ModernAgentOutput/WorkstreamTabs.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/utils.js +0 -614
- package/lib/esm/features/agent/chat/ModernAgentOutput/utils.js.map +0 -1
- package/lib/esm/features/agent/chat/SkillWidgetProvider.js +0 -145
- package/lib/esm/features/agent/chat/SkillWidgetProvider.js.map +0 -1
- package/lib/esm/features/agent/chat/SlidingThinkingIndicator.js +0 -262
- package/lib/esm/features/agent/chat/SlidingThinkingIndicator.js.map +0 -1
- package/lib/esm/features/agent/chat/VegaLiteChart.js +0 -793
- package/lib/esm/features/agent/chat/VegaLiteChart.js.map +0 -1
- package/lib/esm/features/agent/chat/WaitingMessages.js +0 -60
- package/lib/esm/features/agent/chat/WaitingMessages.js.map +0 -1
- package/lib/esm/features/agent/chat/hooks/useAgentPlans.js +0 -141
- package/lib/esm/features/agent/chat/hooks/useAgentPlans.js.map +0 -1
- package/lib/esm/features/agent/chat/hooks/useAgentStream.js +0 -243
- package/lib/esm/features/agent/chat/hooks/useAgentStream.js.map +0 -1
- package/lib/esm/features/agent/chat/hooks/useArtifacts.js +0 -108
- package/lib/esm/features/agent/chat/hooks/useArtifacts.js.map +0 -1
- package/lib/esm/features/agent/chat/hooks/useDocumentPanel.js +0 -155
- package/lib/esm/features/agent/chat/hooks/useDocumentPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/hooks/useFileProcessing.js +0 -92
- package/lib/esm/features/agent/chat/hooks/useFileProcessing.js.map +0 -1
- package/lib/esm/features/agent/chat/index.js +0 -18
- package/lib/esm/features/agent/chat/index.js.map +0 -1
- package/lib/esm/features/agent/chat/types/document.js.map +0 -1
- package/lib/esm/features/agent/chat/useArtifactUrlCache.js +0 -62
- package/lib/esm/features/agent/chat/useArtifactUrlCache.js.map +0 -1
- package/lib/esm/features/agent/index.js +0 -3
- package/lib/esm/features/agent/index.js.map +0 -1
- package/lib/esm/features/errors/PanelErrorBoundary.js +0 -13
- package/lib/esm/features/errors/PanelErrorBoundary.js.map +0 -1
- package/lib/esm/features/errors/RowErrorBoundary.js +0 -9
- package/lib/esm/features/errors/RowErrorBoundary.js.map +0 -1
- package/lib/esm/features/errors/VertesiaErrorBoundary.js +0 -15
- package/lib/esm/features/errors/VertesiaErrorBoundary.js.map +0 -1
- package/lib/esm/features/errors/WidgetErrorBoundary.js +0 -11
- package/lib/esm/features/errors/WidgetErrorBoundary.js.map +0 -1
- package/lib/esm/features/errors/index.js +0 -5
- package/lib/esm/features/errors/index.js.map +0 -1
- package/lib/esm/features/facets/AgentRunnerFacetsNav.js +0 -98
- package/lib/esm/features/facets/AgentRunnerFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/CollectionsFacetsNav.js +0 -89
- package/lib/esm/features/facets/CollectionsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/DocumentsFacetsNav.js +0 -151
- package/lib/esm/features/facets/DocumentsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/EnvironmentFacet.js +0 -39
- package/lib/esm/features/facets/EnvironmentFacet.js.map +0 -1
- package/lib/esm/features/facets/InteractionsFacetsNav.js +0 -88
- package/lib/esm/features/facets/InteractionsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/PromptsFacetsNav.js +0 -80
- package/lib/esm/features/facets/PromptsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/RunsFacetsNav.js +0 -164
- package/lib/esm/features/facets/RunsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/WorkflowExecutionsFacetsNav.js +0 -119
- package/lib/esm/features/facets/WorkflowExecutionsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/index.js +0 -17
- package/lib/esm/features/facets/index.js.map +0 -1
- package/lib/esm/features/facets/utils/SearchInterface.js +0 -2
- package/lib/esm/features/facets/utils/SearchInterface.js.map +0 -1
- package/lib/esm/features/facets/utils/StringFacet.js +0 -12
- package/lib/esm/features/facets/utils/StringFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/StringListFacet.js +0 -11
- package/lib/esm/features/facets/utils/StringListFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/TypeFacet.js +0 -42
- package/lib/esm/features/facets/utils/TypeFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/VEnvironmentFacet.js +0 -25
- package/lib/esm/features/facets/utils/VEnvironmentFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/VInteractionFacet.js +0 -45
- package/lib/esm/features/facets/utils/VInteractionFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/VStringFacet.js +0 -20
- package/lib/esm/features/facets/utils/VStringFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/VTypeFacet.js +0 -61
- package/lib/esm/features/facets/utils/VTypeFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/VUserFacet.js +0 -31
- package/lib/esm/features/facets/utils/VUserFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/utils.js.map +0 -1
- package/lib/esm/features/index.js +0 -13
- package/lib/esm/features/index.js.map +0 -1
- package/lib/esm/features/layout/GenericPageNavHeader.js +0 -86
- package/lib/esm/features/layout/GenericPageNavHeader.js.map +0 -1
- package/lib/esm/features/layout/NotFoundView.js +0 -7
- package/lib/esm/features/layout/NotFoundView.js.map +0 -1
- package/lib/esm/features/layout/index.js +0 -3
- package/lib/esm/features/layout/index.js.map +0 -1
- package/lib/esm/features/magic-pdf/AnnotatedImageSlider.js +0 -272
- package/lib/esm/features/magic-pdf/AnnotatedImageSlider.js.map +0 -1
- package/lib/esm/features/magic-pdf/DownloadPopover.js +0 -29
- package/lib/esm/features/magic-pdf/DownloadPopover.js.map +0 -1
- package/lib/esm/features/magic-pdf/ExtractedContentView.js +0 -77
- package/lib/esm/features/magic-pdf/ExtractedContentView.js.map +0 -1
- package/lib/esm/features/magic-pdf/MagicPdfProvider.js +0 -242
- package/lib/esm/features/magic-pdf/MagicPdfProvider.js.map +0 -1
- package/lib/esm/features/magic-pdf/MagicPdfView.js +0 -64
- package/lib/esm/features/magic-pdf/MagicPdfView.js.map +0 -1
- package/lib/esm/features/magic-pdf/index.js +0 -2
- package/lib/esm/features/magic-pdf/index.js.map +0 -1
- package/lib/esm/features/magic-pdf/types.js.map +0 -1
- package/lib/esm/features/oauth/OAuthProviderConnectButton.js +0 -85
- package/lib/esm/features/oauth/OAuthProviderConnectButton.js.map +0 -1
- package/lib/esm/features/oauth/RemoteMcpConnectionButton.js +0 -119
- package/lib/esm/features/oauth/RemoteMcpConnectionButton.js.map +0 -1
- package/lib/esm/features/oauth/index.js.map +0 -1
- package/lib/esm/features/oauth/useOAuthPopup.js.map +0 -1
- package/lib/esm/features/pdf-viewer/PdfPageRenderer.js +0 -261
- package/lib/esm/features/pdf-viewer/PdfPageRenderer.js.map +0 -1
- package/lib/esm/features/pdf-viewer/PdfPageSlider.js +0 -280
- package/lib/esm/features/pdf-viewer/PdfPageSlider.js.map +0 -1
- package/lib/esm/features/pdf-viewer/SimplePdfViewer.js +0 -73
- package/lib/esm/features/pdf-viewer/SimplePdfViewer.js.map +0 -1
- package/lib/esm/features/pdf-viewer/index.js.map +0 -1
- package/lib/esm/features/permissions/SecureButton.js +0 -13
- package/lib/esm/features/permissions/SecureButton.js.map +0 -1
- package/lib/esm/features/permissions/SecureSidebarItem.js +0 -14
- package/lib/esm/features/permissions/SecureSidebarItem.js.map +0 -1
- package/lib/esm/features/permissions/UserPermissionsProvider.js +0 -89
- package/lib/esm/features/permissions/UserPermissionsProvider.js.map +0 -1
- package/lib/esm/features/permissions/helpers.js.map +0 -1
- package/lib/esm/features/permissions/index.js +0 -5
- package/lib/esm/features/permissions/index.js.map +0 -1
- package/lib/esm/features/store/collections/BrowseCollectionView.js +0 -48
- package/lib/esm/features/store/collections/BrowseCollectionView.js.map +0 -1
- package/lib/esm/features/store/collections/CollectionsTable.js +0 -71
- package/lib/esm/features/store/collections/CollectionsTable.js.map +0 -1
- package/lib/esm/features/store/collections/CreateCollection.js +0 -90
- package/lib/esm/features/store/collections/CreateCollection.js.map +0 -1
- package/lib/esm/features/store/collections/EditCollectionView.js +0 -212
- package/lib/esm/features/store/collections/EditCollectionView.js.map +0 -1
- package/lib/esm/features/store/collections/SelectCollection.js +0 -134
- package/lib/esm/features/store/collections/SelectCollection.js.map +0 -1
- package/lib/esm/features/store/collections/SharedPropsEditor.js +0 -41
- package/lib/esm/features/store/collections/SharedPropsEditor.js.map +0 -1
- package/lib/esm/features/store/collections/SyncMemberHeadsToggle.js +0 -37
- package/lib/esm/features/store/collections/SyncMemberHeadsToggle.js.map +0 -1
- package/lib/esm/features/store/collections/index.js +0 -8
- package/lib/esm/features/store/collections/index.js.map +0 -1
- package/lib/esm/features/store/index.js +0 -4
- package/lib/esm/features/store/index.js.map +0 -1
- package/lib/esm/features/store/objects/DocumentPreviewPanel.js +0 -149
- package/lib/esm/features/store/objects/DocumentPreviewPanel.js.map +0 -1
- package/lib/esm/features/store/objects/DocumentSearchResults.js +0 -216
- package/lib/esm/features/store/objects/DocumentSearchResults.js.map +0 -1
- package/lib/esm/features/store/objects/DocumentSelectionProvider.js +0 -81
- package/lib/esm/features/store/objects/DocumentSelectionProvider.js.map +0 -1
- package/lib/esm/features/store/objects/DocumentTable.js +0 -281
- package/lib/esm/features/store/objects/DocumentTable.js.map +0 -1
- package/lib/esm/features/store/objects/ExportPropertiesModal.js +0 -34
- package/lib/esm/features/store/objects/ExportPropertiesModal.js.map +0 -1
- package/lib/esm/features/store/objects/components/ContentDispositionButton.js +0 -33
- package/lib/esm/features/store/objects/components/ContentDispositionButton.js.map +0 -1
- package/lib/esm/features/store/objects/components/ContentOverview.js +0 -562
- package/lib/esm/features/store/objects/components/ContentOverview.js.map +0 -1
- package/lib/esm/features/store/objects/components/DocumentIcon.js +0 -34
- package/lib/esm/features/store/objects/components/DocumentIcon.js.map +0 -1
- package/lib/esm/features/store/objects/components/DocumentInput.js +0 -51
- package/lib/esm/features/store/objects/components/DocumentInput.js.map +0 -1
- package/lib/esm/features/store/objects/components/PropertiesEditorModal.js +0 -159
- package/lib/esm/features/store/objects/components/PropertiesEditorModal.js.map +0 -1
- package/lib/esm/features/store/objects/components/SaveVersionConfirmModal.js +0 -50
- package/lib/esm/features/store/objects/components/SaveVersionConfirmModal.js.map +0 -1
- package/lib/esm/features/store/objects/components/SelectDocument.js +0 -58
- package/lib/esm/features/store/objects/components/SelectDocument.js.map +0 -1
- package/lib/esm/features/store/objects/components/SelectDocumentModal.js +0 -7
- package/lib/esm/features/store/objects/components/SelectDocumentModal.js.map +0 -1
- package/lib/esm/features/store/objects/components/TextEditorPanel.js +0 -99
- package/lib/esm/features/store/objects/components/TextEditorPanel.js.map +0 -1
- package/lib/esm/features/store/objects/components/VectorSearchWidget.js +0 -92
- package/lib/esm/features/store/objects/components/VectorSearchWidget.js.map +0 -1
- package/lib/esm/features/store/objects/components/index.js +0 -10
- package/lib/esm/features/store/objects/components/index.js.map +0 -1
- package/lib/esm/features/store/objects/components/useContentPanelHooks.js +0 -191
- package/lib/esm/features/store/objects/components/useContentPanelHooks.js.map +0 -1
- package/lib/esm/features/store/objects/components/useDownloadFile.js +0 -196
- package/lib/esm/features/store/objects/components/useDownloadFile.js.map +0 -1
- package/lib/esm/features/store/objects/index.js +0 -11
- package/lib/esm/features/store/objects/index.js.map +0 -1
- package/lib/esm/features/store/objects/layout/DocumentTableColumn.js +0 -86
- package/lib/esm/features/store/objects/layout/DocumentTableColumn.js.map +0 -1
- package/lib/esm/features/store/objects/layout/documentLayout.js +0 -19
- package/lib/esm/features/store/objects/layout/documentLayout.js.map +0 -1
- package/lib/esm/features/store/objects/layout/index.js +0 -3
- package/lib/esm/features/store/objects/layout/index.js.map +0 -1
- package/lib/esm/features/store/objects/layout/renderers.js +0 -166
- package/lib/esm/features/store/objects/layout/renderers.js.map +0 -1
- package/lib/esm/features/store/objects/search/DocumentSearchContext.js +0 -181
- package/lib/esm/features/store/objects/search/DocumentSearchContext.js.map +0 -1
- package/lib/esm/features/store/objects/search/DocumentSearchProvider.js +0 -42
- package/lib/esm/features/store/objects/search/DocumentSearchProvider.js.map +0 -1
- package/lib/esm/features/store/objects/search/index.js +0 -3
- package/lib/esm/features/store/objects/search/index.js.map +0 -1
- package/lib/esm/features/store/objects/selection/ObjectsActionContext.js +0 -63
- package/lib/esm/features/store/objects/selection/ObjectsActionContext.js.map +0 -1
- package/lib/esm/features/store/objects/selection/ObjectsActionContextClass.js +0 -50
- package/lib/esm/features/store/objects/selection/ObjectsActionContextClass.js.map +0 -1
- package/lib/esm/features/store/objects/selection/ObjectsActionHooks.js +0 -27
- package/lib/esm/features/store/objects/selection/ObjectsActionHooks.js.map +0 -1
- package/lib/esm/features/store/objects/selection/ObjectsActionSpec.js.map +0 -1
- package/lib/esm/features/store/objects/selection/SelectionActions.js +0 -71
- package/lib/esm/features/store/objects/selection/SelectionActions.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/AddToCollectionAction.js +0 -86
- package/lib/esm/features/store/objects/selection/actions/AddToCollectionAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/ChangeTypeAction.js +0 -57
- package/lib/esm/features/store/objects/selection/actions/ChangeTypeAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/ConfirmAction.js +0 -32
- package/lib/esm/features/store/objects/selection/actions/ConfirmAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/DeleteObjectsAction.js +0 -85
- package/lib/esm/features/store/objects/selection/actions/DeleteObjectsAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/ExportPropertiesAction.js +0 -119
- package/lib/esm/features/store/objects/selection/actions/ExportPropertiesAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/RemoveFromCollectionAction.js +0 -68
- package/lib/esm/features/store/objects/selection/actions/RemoveFromCollectionAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/StartWorkflowComponent.js +0 -78
- package/lib/esm/features/store/objects/selection/actions/StartWorkflowComponent.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/index.js +0 -8
- package/lib/esm/features/store/objects/selection/actions/index.js.map +0 -1
- package/lib/esm/features/store/objects/selection/index.js +0 -5
- package/lib/esm/features/store/objects/selection/index.js.map +0 -1
- package/lib/esm/features/store/objects/upload/DocumentUploadModal.js +0 -520
- package/lib/esm/features/store/objects/upload/DocumentUploadModal.js.map +0 -1
- package/lib/esm/features/store/objects/upload/index.js +0 -4
- package/lib/esm/features/store/objects/upload/index.js.map +0 -1
- package/lib/esm/features/store/objects/upload/useSmartFileUploadProcessing.js +0 -204
- package/lib/esm/features/store/objects/upload/useSmartFileUploadProcessing.js.map +0 -1
- package/lib/esm/features/store/objects/upload/useUploadHandler.js +0 -232
- package/lib/esm/features/store/objects/upload/useUploadHandler.js.map +0 -1
- package/lib/esm/features/store/types/ContentObjectTypesSearch.js +0 -84
- package/lib/esm/features/store/types/ContentObjectTypesSearch.js.map +0 -1
- package/lib/esm/features/store/types/ContentObjectTypesTable.js +0 -13
- package/lib/esm/features/store/types/ContentObjectTypesTable.js.map +0 -1
- package/lib/esm/features/store/types/CreateOrUpdateTypeModal.js +0 -25
- package/lib/esm/features/store/types/CreateOrUpdateTypeModal.js.map +0 -1
- package/lib/esm/features/store/types/ObjectSchemaEditor.js +0 -104
- package/lib/esm/features/store/types/ObjectSchemaEditor.js.map +0 -1
- package/lib/esm/features/store/types/SelectContentType.js +0 -45
- package/lib/esm/features/store/types/SelectContentType.js.map +0 -1
- package/lib/esm/features/store/types/SelectContentTypeModal.js +0 -32
- package/lib/esm/features/store/types/SelectContentTypeModal.js.map +0 -1
- package/lib/esm/features/store/types/TableLayoutEditor.js +0 -78
- package/lib/esm/features/store/types/TableLayoutEditor.js.map +0 -1
- package/lib/esm/features/store/types/TypeRegistry.js.map +0 -1
- package/lib/esm/features/store/types/TypeRegistryProvider.js +0 -53
- package/lib/esm/features/store/types/TypeRegistryProvider.js.map +0 -1
- package/lib/esm/features/store/types/index.js +0 -11
- package/lib/esm/features/store/types/index.js.map +0 -1
- package/lib/esm/features/store/types/search/ObjectTypeSearchContext.js +0 -98
- package/lib/esm/features/store/types/search/ObjectTypeSearchContext.js.map +0 -1
- package/lib/esm/features/store/types/search/ObjectTypeSearchProvider.js +0 -15
- package/lib/esm/features/store/types/search/ObjectTypeSearchProvider.js.map +0 -1
- package/lib/esm/features/store/types/search/index.js +0 -3
- package/lib/esm/features/store/types/search/index.js.map +0 -1
- package/lib/esm/features/user/UserAvatar.js +0 -18
- package/lib/esm/features/user/UserAvatar.js.map +0 -1
- package/lib/esm/features/user/UserInfo.js +0 -198
- package/lib/esm/features/user/UserInfo.js.map +0 -1
- package/lib/esm/features/user/index.js +0 -3
- package/lib/esm/features/user/index.js.map +0 -1
- package/lib/esm/features/utils/index.js +0 -6
- package/lib/esm/features/utils/index.js.map +0 -1
- package/lib/esm/features/utils/mimeType.js.map +0 -1
- package/lib/esm/features/utils/print.js +0 -180
- package/lib/esm/features/utils/print.js.map +0 -1
- package/lib/esm/features/utils/rendition.js +0 -67
- package/lib/esm/features/utils/rendition.js.map +0 -1
- package/lib/esm/features/utils/text.js +0 -10
- package/lib/esm/features/utils/text.js.map +0 -1
- package/lib/esm/features/utils/workflowStatus.js +0 -43
- package/lib/esm/features/utils/workflowStatus.js.map +0 -1
- package/lib/esm/i18n/index.js +0 -31
- package/lib/esm/i18n/index.js.map +0 -1
- package/lib/esm/i18n/instance.js.map +0 -1
- package/lib/esm/i18n/locales/ar.json +0 -677
- package/lib/esm/i18n/locales/de.json +0 -633
- package/lib/esm/i18n/locales/en.json +0 -636
- package/lib/esm/i18n/locales/es.json +0 -644
- package/lib/esm/i18n/locales/fr.json +0 -644
- package/lib/esm/i18n/locales/it.json +0 -644
- package/lib/esm/i18n/locales/ja.json +0 -633
- package/lib/esm/i18n/locales/ko.json +0 -633
- package/lib/esm/i18n/locales/pt.json +0 -644
- package/lib/esm/i18n/locales/ru.json +0 -655
- package/lib/esm/i18n/locales/tr.json +0 -633
- package/lib/esm/i18n/locales/zh-TW.json +0 -633
- package/lib/esm/i18n/locales/zh.json +0 -633
- package/lib/esm/layout/AppLayout.js +0 -45
- package/lib/esm/layout/AppLayout.js.map +0 -1
- package/lib/esm/layout/FullHeightLayout.js +0 -24
- package/lib/esm/layout/FullHeightLayout.js.map +0 -1
- package/lib/esm/layout/Navbar.js +0 -42
- package/lib/esm/layout/Navbar.js.map +0 -1
- package/lib/esm/layout/RegionTag.js.map +0 -1
- package/lib/esm/layout/Sidebar.js +0 -45
- package/lib/esm/layout/Sidebar.js.map +0 -1
- package/lib/esm/layout/SidebarContext.js +0 -10
- package/lib/esm/layout/SidebarContext.js.map +0 -1
- package/lib/esm/layout/TitleBar.js +0 -5
- package/lib/esm/layout/TitleBar.js.map +0 -1
- package/lib/esm/layout/index.js +0 -8
- package/lib/esm/layout/index.js.map +0 -1
- package/lib/esm/router/FixLinks.js +0 -23
- package/lib/esm/router/FixLinks.js.map +0 -1
- package/lib/esm/router/HistoryNavigator.js +0 -198
- package/lib/esm/router/HistoryNavigator.js.map +0 -1
- package/lib/esm/router/Nav.js +0 -28
- package/lib/esm/router/Nav.js.map +0 -1
- package/lib/esm/router/NestedNavigationContext.js +0 -23
- package/lib/esm/router/NestedNavigationContext.js.map +0 -1
- package/lib/esm/router/NestedRouterProvider.js +0 -46
- package/lib/esm/router/NestedRouterProvider.js.map +0 -1
- package/lib/esm/router/PathMatcher.js +0 -159
- package/lib/esm/router/PathMatcher.js.map +0 -1
- package/lib/esm/router/PathWithParams.js +0 -34
- package/lib/esm/router/PathWithParams.js.map +0 -1
- package/lib/esm/router/Route404.js +0 -18
- package/lib/esm/router/Route404.js.map +0 -1
- package/lib/esm/router/RouteComponent.js +0 -32
- package/lib/esm/router/RouteComponent.js.map +0 -1
- package/lib/esm/router/Router.js +0 -176
- package/lib/esm/router/Router.js.map +0 -1
- package/lib/esm/router/RouterProvider.js +0 -41
- package/lib/esm/router/RouterProvider.js.map +0 -1
- package/lib/esm/router/index.js +0 -11
- package/lib/esm/router/index.js.map +0 -1
- package/lib/esm/router/path.js +0 -140
- package/lib/esm/router/path.js.map +0 -1
- package/lib/esm/session/UserSession.js +0 -221
- package/lib/esm/session/UserSession.js.map +0 -1
- package/lib/esm/session/UserSessionProvider.js +0 -189
- package/lib/esm/session/UserSessionProvider.js.map +0 -1
- package/lib/esm/session/auth/composable.js +0 -273
- package/lib/esm/session/auth/composable.js.map +0 -1
- package/lib/esm/session/auth/domainRouting.js.map +0 -1
- package/lib/esm/session/auth/firebase.js +0 -158
- package/lib/esm/session/auth/firebase.js.map +0 -1
- package/lib/esm/session/auth/useAuthState.js +0 -46
- package/lib/esm/session/auth/useAuthState.js.map +0 -1
- package/lib/esm/session/auth/useCurrentTenant.js +0 -65
- package/lib/esm/session/auth/useCurrentTenant.js.map +0 -1
- package/lib/esm/session/constants.js.map +0 -1
- package/lib/esm/session/index.js +0 -8
- package/lib/esm/session/index.js.map +0 -1
- package/lib/esm/session/useUXTracking.js +0 -29
- package/lib/esm/session/useUXTracking.js.map +0 -1
- package/lib/esm/shell/SplashScreen.js +0 -22
- package/lib/esm/shell/SplashScreen.js.map +0 -1
- package/lib/esm/shell/VertesiaShell.js +0 -10
- package/lib/esm/shell/VertesiaShell.js.map +0 -1
- package/lib/esm/shell/apps/AppInstallationProvider.js +0 -13
- package/lib/esm/shell/apps/AppInstallationProvider.js.map +0 -1
- package/lib/esm/shell/apps/AppProjectSelector.js +0 -36
- package/lib/esm/shell/apps/AppProjectSelector.js.map +0 -1
- package/lib/esm/shell/apps/StandaloneApp.js +0 -90
- package/lib/esm/shell/apps/StandaloneApp.js.map +0 -1
- package/lib/esm/shell/apps/index.js +0 -4
- package/lib/esm/shell/apps/index.js.map +0 -1
- package/lib/esm/shell/index.js +0 -8
- package/lib/esm/shell/index.js.map +0 -1
- package/lib/esm/shell/login/EnterpriseSigninButton.js +0 -86
- package/lib/esm/shell/login/EnterpriseSigninButton.js.map +0 -1
- package/lib/esm/shell/login/GitHubSignInButton.js +0 -20
- package/lib/esm/shell/login/GitHubSignInButton.js.map +0 -1
- package/lib/esm/shell/login/GoogleSignInButton.js +0 -27
- package/lib/esm/shell/login/GoogleSignInButton.js.map +0 -1
- package/lib/esm/shell/login/InviteAcceptModal.js +0 -66
- package/lib/esm/shell/login/InviteAcceptModal.js.map +0 -1
- package/lib/esm/shell/login/MicrosoftSigninButton.js +0 -17
- package/lib/esm/shell/login/MicrosoftSigninButton.js.map +0 -1
- package/lib/esm/shell/login/PreviewIcon.js +0 -23
- package/lib/esm/shell/login/PreviewIcon.js.map +0 -1
- package/lib/esm/shell/login/SignInModal.js +0 -9
- package/lib/esm/shell/login/SignInModal.js.map +0 -1
- package/lib/esm/shell/login/SigninScreen.js +0 -68
- package/lib/esm/shell/login/SigninScreen.js.map +0 -1
- package/lib/esm/shell/login/SignupForm.js +0 -93
- package/lib/esm/shell/login/SignupForm.js.map +0 -1
- package/lib/esm/shell/login/TerminalLogin.js +0 -215
- package/lib/esm/shell/login/TerminalLogin.js.map +0 -1
- package/lib/esm/shell/login/UserInfo.js +0 -43
- package/lib/esm/shell/login/UserInfo.js.map +0 -1
- package/lib/esm/shell/login/UserSessionMenu.js +0 -36
- package/lib/esm/shell/login/UserSessionMenu.js.map +0 -1
- package/lib/esm/shell/utils.js +0 -6
- package/lib/esm/shell/utils.js.map +0 -1
- package/lib/esm/widgets/Progress.js.map +0 -1
- package/lib/esm/widgets/SvgIcon.js +0 -36
- package/lib/esm/widgets/SvgIcon.js.map +0 -1
- package/lib/esm/widgets/form/Form.js +0 -100
- package/lib/esm/widgets/form/Form.js.map +0 -1
- package/lib/esm/widgets/form/FormContext.js +0 -31
- package/lib/esm/widgets/form/FormContext.js.map +0 -1
- package/lib/esm/widgets/form/ManagedObject.js +0 -287
- package/lib/esm/widgets/form/ManagedObject.js.map +0 -1
- package/lib/esm/widgets/form/fields.js +0 -12
- package/lib/esm/widgets/form/fields.js.map +0 -1
- package/lib/esm/widgets/form/index.js +0 -7
- package/lib/esm/widgets/form/index.js.map +0 -1
- package/lib/esm/widgets/form/inputs.js +0 -38
- package/lib/esm/widgets/form/inputs.js.map +0 -1
- package/lib/esm/widgets/form/schema.js +0 -199
- package/lib/esm/widgets/form/schema.js.map +0 -1
- package/lib/esm/widgets/index.js +0 -11
- package/lib/esm/widgets/index.js.map +0 -1
- package/lib/esm/widgets/json-view/JSONCode.js +0 -22
- package/lib/esm/widgets/json-view/JSONCode.js.map +0 -1
- package/lib/esm/widgets/json-view/JSONDisplay.js +0 -14
- package/lib/esm/widgets/json-view/JSONDisplay.js.map +0 -1
- package/lib/esm/widgets/json-view/JSONEditor.js +0 -53
- package/lib/esm/widgets/json-view/JSONEditor.js.map +0 -1
- package/lib/esm/widgets/json-view/JSONSwitcher.js +0 -6
- package/lib/esm/widgets/json-view/JSONSwitcher.js.map +0 -1
- package/lib/esm/widgets/json-view/JSONView.js +0 -106
- package/lib/esm/widgets/json-view/JSONView.js.map +0 -1
- package/lib/esm/widgets/json-view/index.js +0 -6
- package/lib/esm/widgets/json-view/index.js.map +0 -1
- package/lib/esm/widgets/json-view/types.js.map +0 -1
- package/lib/esm/widgets/markdown/ArtifactContentRenderer.js +0 -229
- package/lib/esm/widgets/markdown/ArtifactContentRenderer.js.map +0 -1
- package/lib/esm/widgets/markdown/CodeBlockContext.js.map +0 -1
- package/lib/esm/widgets/markdown/CodeBlockPlaceholder.js +0 -56
- package/lib/esm/widgets/markdown/CodeBlockPlaceholder.js.map +0 -1
- package/lib/esm/widgets/markdown/CodeBlockPlaceholder.test.js +0 -50
- package/lib/esm/widgets/markdown/CodeBlockPlaceholder.test.js.map +0 -1
- package/lib/esm/widgets/markdown/CodeBlockRendering.js +0 -38
- package/lib/esm/widgets/markdown/CodeBlockRendering.js.map +0 -1
- package/lib/esm/widgets/markdown/MarkdownFigure.js +0 -40
- package/lib/esm/widgets/markdown/MarkdownFigure.js.map +0 -1
- package/lib/esm/widgets/markdown/MarkdownImage.js +0 -41
- package/lib/esm/widgets/markdown/MarkdownImage.js.map +0 -1
- package/lib/esm/widgets/markdown/MarkdownLink.js +0 -46
- package/lib/esm/widgets/markdown/MarkdownLink.js.map +0 -1
- package/lib/esm/widgets/markdown/MarkdownRenderer.js +0 -163
- package/lib/esm/widgets/markdown/MarkdownRenderer.js.map +0 -1
- package/lib/esm/widgets/markdown/MermaidDiagram.js +0 -148
- package/lib/esm/widgets/markdown/MermaidDiagram.js.map +0 -1
- package/lib/esm/widgets/markdown/codeBlockHandlers.js +0 -329
- package/lib/esm/widgets/markdown/codeBlockHandlers.js.map +0 -1
- package/lib/esm/widgets/markdown/codeBlockHandlers.test.js +0 -179
- package/lib/esm/widgets/markdown/codeBlockHandlers.test.js.map +0 -1
- package/lib/esm/widgets/markdown/index.js +0 -13
- package/lib/esm/widgets/markdown/index.js.map +0 -1
- package/lib/esm/widgets/markdown/normalizeCustomSchemeLinks.js +0 -77
- package/lib/esm/widgets/markdown/normalizeCustomSchemeLinks.js.map +0 -1
- package/lib/esm/widgets/markdown/normalizeDirectives.js +0 -45
- package/lib/esm/widgets/markdown/normalizeDirectives.js.map +0 -1
- package/lib/esm/widgets/markdown/preprocessMathDelimiters.js +0 -226
- package/lib/esm/widgets/markdown/preprocessMathDelimiters.js.map +0 -1
- package/lib/esm/widgets/markdown/remarkDirectiveHandler.js +0 -95
- package/lib/esm/widgets/markdown/remarkDirectiveHandler.js.map +0 -1
- package/lib/esm/widgets/markdown/useArtifactContent.js +0 -174
- package/lib/esm/widgets/markdown/useArtifactContent.js.map +0 -1
- package/lib/esm/widgets/markdown/useResolvedUrl.js +0 -175
- package/lib/esm/widgets/markdown/useResolvedUrl.js.map +0 -1
- package/lib/esm/widgets/monacoEditor/MonacoEditor.js +0 -169
- package/lib/esm/widgets/monacoEditor/MonacoEditor.js.map +0 -1
- package/lib/esm/widgets/monacoEditor/foldingProviders.js +0 -132
- package/lib/esm/widgets/monacoEditor/foldingProviders.js.map +0 -1
- package/lib/esm/widgets/monacoEditor/index.js +0 -2
- package/lib/esm/widgets/monacoEditor/index.js.map +0 -1
- package/lib/esm/widgets/properties/PropertiesView.js +0 -8
- package/lib/esm/widgets/properties/PropertiesView.js.map +0 -1
- package/lib/esm/widgets/properties/index.js +0 -2
- package/lib/esm/widgets/properties/index.js.map +0 -1
- package/lib/esm/widgets/schema-editor/ManagedSchema.js +0 -301
- package/lib/esm/widgets/schema-editor/ManagedSchema.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/Editable.js +0 -110
- package/lib/esm/widgets/schema-editor/editor/Editable.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/EditableSchemaProperty.js +0 -8
- package/lib/esm/widgets/schema-editor/editor/EditableSchemaProperty.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/PropertyEditor.js +0 -85
- package/lib/esm/widgets/schema-editor/editor/PropertyEditor.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/PropertyViewer.js +0 -7
- package/lib/esm/widgets/schema-editor/editor/PropertyViewer.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/SchemaContext.js +0 -9
- package/lib/esm/widgets/schema-editor/editor/SchemaContext.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/SchemaEditor.js +0 -86
- package/lib/esm/widgets/schema-editor/editor/SchemaEditor.js.map +0 -1
- package/lib/esm/widgets/schema-editor/index.js +0 -7
- package/lib/esm/widgets/schema-editor/index.js.map +0 -1
- package/lib/esm/widgets/schema-editor/json-schema4-utils.js +0 -188
- package/lib/esm/widgets/schema-editor/json-schema4-utils.js.map +0 -1
- package/lib/esm/widgets/schema-editor/type-signature.js.map +0 -1
- package/lib/esm/widgets/upload/DropZone.js +0 -173
- package/lib/esm/widgets/upload/DropZone.js.map +0 -1
- package/lib/esm/widgets/upload/UploadResultCategory.js +0 -21
- package/lib/esm/widgets/upload/UploadResultCategory.js.map +0 -1
- package/lib/esm/widgets/upload/UploadSummary.js +0 -32
- package/lib/esm/widgets/upload/UploadSummary.js.map +0 -1
- package/lib/esm/widgets/upload/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/Attributes/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/CDataTag/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/CollapseIcon/index.js +0 -11
- package/lib/esm/widgets/xml-viewer/components/CollapseIcon/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/CommentTag/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/DeclarationTag/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/Elements/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/InvalidXml/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/Tag/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/TextElement/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/XMLViewer.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/types.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/constants/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/context/xml-viewer-context.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/helpers/index.js +0 -40
- package/lib/esm/widgets/xml-viewer/helpers/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/hooks/useCollapsible.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/hooks/useXMLViewer.js +0 -31
- package/lib/esm/widgets/xml-viewer/hooks/useXMLViewer.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/index.js +0 -3
- package/lib/esm/widgets/xml-viewer/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/types/index.js.map +0 -1
- package/lib/tsconfig.tsbuildinfo +0 -1
- package/lib/types/core/components/Avatar.d.ts +0 -16
- package/lib/types/core/components/Avatar.d.ts.map +0 -1
- package/lib/types/core/components/Center.d.ts +0 -8
- package/lib/types/core/components/Center.d.ts.map +0 -1
- package/lib/types/core/components/ComboBox.d.ts +0 -134
- package/lib/types/core/components/ComboBox.d.ts.map +0 -1
- package/lib/types/core/components/Divider.d.ts +0 -6
- package/lib/types/core/components/Divider.d.ts.map +0 -1
- package/lib/types/core/components/EmptyCollection.d.ts +0 -9
- package/lib/types/core/components/EmptyCollection.d.ts.map +0 -1
- package/lib/types/core/components/FileUpload.d.ts +0 -29
- package/lib/types/core/components/FileUpload.d.ts.map +0 -1
- package/lib/types/core/components/FormItem.d.ts +0 -16
- package/lib/types/core/components/FormItem.d.ts.map +0 -1
- package/lib/types/core/components/InputList.d.ts +0 -12
- package/lib/types/core/components/InputList.d.ts.map +0 -1
- package/lib/types/core/components/Link.d.ts +0 -7
- package/lib/types/core/components/Link.d.ts.map +0 -1
- package/lib/types/core/components/MenuList.d.ts +0 -14
- package/lib/types/core/components/MenuList.d.ts.map +0 -1
- package/lib/types/core/components/NumberInput.d.ts +0 -16
- package/lib/types/core/components/NumberInput.d.ts.map +0 -1
- package/lib/types/core/components/Overlay.d.ts +0 -25
- package/lib/types/core/components/Overlay.d.ts.map +0 -1
- package/lib/types/core/components/Portal.d.ts +0 -6
- package/lib/types/core/components/Portal.d.ts.map +0 -1
- package/lib/types/core/components/SelectList.d.ts +0 -19
- package/lib/types/core/components/SelectList.d.ts.map +0 -1
- package/lib/types/core/components/SidePanel.d.ts +0 -16
- package/lib/types/core/components/SidePanel.d.ts.map +0 -1
- package/lib/types/core/components/Spinner.d.ts +0 -7
- package/lib/types/core/components/Spinner.d.ts.map +0 -1
- package/lib/types/core/components/TagsInput.d.ts +0 -16
- package/lib/types/core/components/TagsInput.d.ts.map +0 -1
- package/lib/types/core/components/index.d.ts +0 -27
- package/lib/types/core/components/index.d.ts.map +0 -1
- package/lib/types/core/components/libs/utils.d.ts +0 -3
- package/lib/types/core/components/libs/utils.d.ts.map +0 -1
- package/lib/types/core/components/libs/visuallyHidden.d.ts +0 -7
- package/lib/types/core/components/libs/visuallyHidden.d.ts.map +0 -1
- package/lib/types/core/components/popup/Popup.d.ts +0 -26
- package/lib/types/core/components/popup/Popup.d.ts.map +0 -1
- package/lib/types/core/components/popup/PopupController.d.ts +0 -41
- package/lib/types/core/components/popup/PopupController.d.ts.map +0 -1
- package/lib/types/core/components/popup/index.d.ts +0 -4
- package/lib/types/core/components/popup/index.d.ts.map +0 -1
- package/lib/types/core/components/popup/position.d.ts.map +0 -1
- package/lib/types/core/components/popup/utils.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/MessageBox.d.ts +0 -36
- package/lib/types/core/components/shadcn/MessageBox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/Panel.d.ts +0 -13
- package/lib/types/core/components/shadcn/Panel.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/badge.d.ts +0 -21
- package/lib/types/core/components/shadcn/badge.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/breadcrumb.d.ts +0 -15
- package/lib/types/core/components/shadcn/breadcrumb.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/button.d.ts +0 -27
- package/lib/types/core/components/shadcn/button.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/calendar.d.ts +0 -11
- package/lib/types/core/components/shadcn/calendar.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/card.d.ts +0 -9
- package/lib/types/core/components/shadcn/card.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/checkbox.d.ts +0 -5
- package/lib/types/core/components/shadcn/checkbox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/collaspible.d.ts +0 -6
- package/lib/types/core/components/shadcn/collaspible.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/command.d.ts +0 -17
- package/lib/types/core/components/shadcn/command.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/dropdown.d.ts +0 -52
- package/lib/types/core/components/shadcn/dropdown.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/DynamicLabel.d.ts +0 -9
- package/lib/types/core/components/shadcn/filters/DynamicLabel.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/animateChangeInHeight.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/comboBox/DateCombobox.d.ts +0 -6
- package/lib/types/core/components/shadcn/filters/comboBox/DateCombobox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/comboBox/SelectCombobox.d.ts +0 -10
- package/lib/types/core/components/shadcn/filters/comboBox/SelectCombobox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/comboBox/StringListCombobox.d.ts +0 -6
- package/lib/types/core/components/shadcn/filters/comboBox/StringListCombobox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/comboBox/TextCombobox.d.ts +0 -6
- package/lib/types/core/components/shadcn/filters/comboBox/TextCombobox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/comboBox/comboBox.d.ts +0 -5
- package/lib/types/core/components/shadcn/filters/comboBox/comboBox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filter/SelectFilter.d.ts +0 -12
- package/lib/types/core/components/shadcn/filters/filter/SelectFilter.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filter/StringListFilter.d.ts +0 -11
- package/lib/types/core/components/shadcn/filters/filter/StringListFilter.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filter/TextFilter.d.ts +0 -13
- package/lib/types/core/components/shadcn/filters/filter/TextFilter.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filter/dateFilter.d.ts +0 -14
- package/lib/types/core/components/shadcn/filters/filter/dateFilter.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filter-styles.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filterBar.d.ts +0 -21
- package/lib/types/core/components/shadcn/filters/filterBar.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filters.d.ts +0 -10
- package/lib/types/core/components/shadcn/filters/filters.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/index.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/types.d.ts +0 -35
- package/lib/types/core/components/shadcn/filters/types.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/heading.d.ts +0 -6
- package/lib/types/core/components/shadcn/heading.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/index.d.ts +0 -29
- package/lib/types/core/components/shadcn/index.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/input.d.ts +0 -17
- package/lib/types/core/components/shadcn/input.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/label.d.ts +0 -10
- package/lib/types/core/components/shadcn/label.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/modal/ConfirmModal.d.ts +0 -12
- package/lib/types/core/components/shadcn/modal/ConfirmModal.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/modal/DeleteModal.d.ts +0 -11
- package/lib/types/core/components/shadcn/modal/DeleteModal.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/modal/dialog.d.ts +0 -41
- package/lib/types/core/components/shadcn/modal/dialog.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/modal/index.d.ts +0 -4
- package/lib/types/core/components/shadcn/modal/index.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/popover.d.ts +0 -32
- package/lib/types/core/components/shadcn/popover.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/radioGroup.d.ts +0 -26
- package/lib/types/core/components/shadcn/radioGroup.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/resizeable.d.ts +0 -9
- package/lib/types/core/components/shadcn/resizeable.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/selectBox.d.ts +0 -40
- package/lib/types/core/components/shadcn/selectBox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/separator.d.ts +0 -6
- package/lib/types/core/components/shadcn/separator.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/switch.d.ts +0 -12
- package/lib/types/core/components/shadcn/switch.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/tabs.d.ts +0 -49
- package/lib/types/core/components/shadcn/tabs.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/text.d.ts +0 -11
- package/lib/types/core/components/shadcn/text.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/textarea.d.ts +0 -8
- package/lib/types/core/components/shadcn/textarea.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/theme/ThemeProvider.d.ts +0 -15
- package/lib/types/core/components/shadcn/theme/ThemeProvider.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/theme/ThemeSwitcher.d.ts +0 -16
- package/lib/types/core/components/shadcn/theme/ThemeSwitcher.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/tooltip.d.ts +0 -21
- package/lib/types/core/components/shadcn/tooltip.d.ts.map +0 -1
- package/lib/types/core/components/styles.d.ts.map +0 -1
- package/lib/types/core/components/table/index.d.ts +0 -19
- package/lib/types/core/components/table/index.d.ts.map +0 -1
- package/lib/types/core/components/toast/NotificationPanel.d.ts +0 -8
- package/lib/types/core/components/toast/NotificationPanel.d.ts.map +0 -1
- package/lib/types/core/components/toast/ToastContext.d.ts +0 -6
- package/lib/types/core/components/toast/ToastContext.d.ts.map +0 -1
- package/lib/types/core/components/toast/ToastProps.d.ts.map +0 -1
- package/lib/types/core/components/toast/ToastProvider.d.ts +0 -6
- package/lib/types/core/components/toast/ToastProvider.d.ts.map +0 -1
- package/lib/types/core/components/toast/index.d.ts +0 -3
- package/lib/types/core/components/toast/index.d.ts.map +0 -1
- package/lib/types/core/hooks/CompositeState.d.ts +0 -137
- package/lib/types/core/hooks/CompositeState.d.ts.map +0 -1
- package/lib/types/core/hooks/PortalContainerProvider.d.ts +0 -8
- package/lib/types/core/hooks/PortalContainerProvider.d.ts.map +0 -1
- package/lib/types/core/hooks/SharedState.d.ts +0 -10
- package/lib/types/core/hooks/SharedState.d.ts.map +0 -1
- package/lib/types/core/hooks/index.d.ts +0 -16
- package/lib/types/core/hooks/index.d.ts.map +0 -1
- package/lib/types/core/hooks/useClickOutside.d.ts.map +0 -1
- package/lib/types/core/hooks/useCopyToClipboard.d.ts.map +0 -1
- package/lib/types/core/hooks/useDarkMode.d.ts.map +0 -1
- package/lib/types/core/hooks/useDebounce.d.ts.map +0 -1
- package/lib/types/core/hooks/useEventSource.d.ts +0 -2
- package/lib/types/core/hooks/useEventSource.d.ts.map +0 -1
- package/lib/types/core/hooks/useFetch.d.ts +0 -24
- package/lib/types/core/hooks/useFetch.d.ts.map +0 -1
- package/lib/types/core/hooks/useFlag.d.ts.map +0 -1
- package/lib/types/core/hooks/useIntersectionObserver.d.ts +0 -14
- package/lib/types/core/hooks/useIntersectionObserver.d.ts.map +0 -1
- package/lib/types/core/hooks/useIsFistRendering.d.ts.map +0 -1
- package/lib/types/core/hooks/useSafeLayoutEffect.d.ts +0 -4
- package/lib/types/core/hooks/useSafeLayoutEffect.d.ts.map +0 -1
- package/lib/types/core/hooks/useScrollableSearch.d.ts +0 -82
- package/lib/types/core/hooks/useScrollableSearch.d.ts.map +0 -1
- package/lib/types/core/hooks/useSharedValue.d.ts +0 -12
- package/lib/types/core/hooks/useSharedValue.d.ts.map +0 -1
- package/lib/types/core/index.d.ts +0 -4
- package/lib/types/core/index.d.ts.map +0 -1
- package/lib/types/core/utils/cn.d.ts +0 -3
- package/lib/types/core/utils/cn.d.ts.map +0 -1
- package/lib/types/core/utils/index.d.ts +0 -2
- package/lib/types/core/utils/index.d.ts.map +0 -1
- package/lib/types/env/index.d.ts +0 -85
- package/lib/types/env/index.d.ts.map +0 -1
- package/lib/types/features/activity-doc/ActivityDoc.d.ts +0 -14
- package/lib/types/features/activity-doc/ActivityDoc.d.ts.map +0 -1
- package/lib/types/features/activity-doc/index.d.ts +0 -2
- package/lib/types/features/activity-doc/index.d.ts.map +0 -1
- package/lib/types/features/agent/PayloadBuilder.d.ts +0 -120
- package/lib/types/features/agent/PayloadBuilder.d.ts.map +0 -1
- package/lib/types/features/agent/chat/AgentChart.d.ts +0 -34
- package/lib/types/features/agent/chat/AgentChart.d.ts.map +0 -1
- package/lib/types/features/agent/chat/AgentRightPanel.d.ts +0 -55
- package/lib/types/features/agent/chat/AgentRightPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/AnimatedThinkingDots.d.ts +0 -38
- package/lib/types/features/agent/chat/AnimatedThinkingDots.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ArtifactsTab.d.ts +0 -9
- package/lib/types/features/agent/chat/ArtifactsTab.d.ts.map +0 -1
- package/lib/types/features/agent/chat/AskUserWidget.d.ts +0 -84
- package/lib/types/features/agent/chat/AskUserWidget.d.ts.map +0 -1
- package/lib/types/features/agent/chat/DocumentPanel.d.ts +0 -16
- package/lib/types/features/agent/chat/DocumentPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/DocumentTabBar.d.ts +0 -9
- package/lib/types/features/agent/chat/DocumentTabBar.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ImageLightbox.d.ts +0 -18
- package/lib/types/features/agent/chat/ImageLightbox.d.ts.map +0 -1
- package/lib/types/features/agent/chat/JumpingDots.d.ts +0 -7
- package/lib/types/features/agent/chat/JumpingDots.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentConversation.d.ts +0 -147
- package/lib/types/features/agent/chat/ModernAgentConversation.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts +0 -68
- package/lib/types/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/BatchProgressPanel.d.ts +0 -26
- package/lib/types/features/agent/chat/ModernAgentOutput/BatchProgressPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/Header.d.ts +0 -33
- package/lib/types/features/agent/chat/ModernAgentOutput/Header.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.d.ts +0 -11
- package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.d.ts +0 -18
- package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/MessageInput.d.ts +0 -62
- package/lib/types/features/agent/chat/ModernAgentOutput/MessageInput.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/MessageItem.d.ts +0 -58
- package/lib/types/features/agent/chat/ModernAgentOutput/MessageItem.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/MessagesContainer.d.ts +0 -15
- package/lib/types/features/agent/chat/ModernAgentOutput/MessagesContainer.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/PlanPanel.d.ts +0 -9
- package/lib/types/features/agent/chat/ModernAgentOutput/PlanPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/SlideInPanel.d.ts +0 -11
- package/lib/types/features/agent/chat/ModernAgentOutput/SlideInPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/SlidingMessages.d.ts +0 -8
- package/lib/types/features/agent/chat/ModernAgentOutput/SlidingMessages.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.d.ts +0 -10
- package/lib/types/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/StackedMessages.d.ts +0 -8
- package/lib/types/features/agent/chat/ModernAgentOutput/StackedMessages.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/StreamingMessage.d.ts +0 -38
- package/lib/types/features/agent/chat/ModernAgentOutput/StreamingMessage.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/ToolCallGroup.d.ts +0 -34
- package/lib/types/features/agent/chat/ModernAgentOutput/ToolCallGroup.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/WorkstreamTabs.d.ts +0 -22
- package/lib/types/features/agent/chat/ModernAgentOutput/WorkstreamTabs.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/utils.d.ts +0 -139
- package/lib/types/features/agent/chat/ModernAgentOutput/utils.d.ts.map +0 -1
- package/lib/types/features/agent/chat/SkillWidgetProvider.d.ts +0 -11
- package/lib/types/features/agent/chat/SkillWidgetProvider.d.ts.map +0 -1
- package/lib/types/features/agent/chat/SlidingThinkingIndicator.d.ts +0 -18
- package/lib/types/features/agent/chat/SlidingThinkingIndicator.d.ts.map +0 -1
- package/lib/types/features/agent/chat/VegaLiteChart.d.ts +0 -18
- package/lib/types/features/agent/chat/VegaLiteChart.d.ts.map +0 -1
- package/lib/types/features/agent/chat/WaitingMessages.d.ts.map +0 -1
- package/lib/types/features/agent/chat/hooks/useAgentPlans.d.ts +0 -22
- package/lib/types/features/agent/chat/hooks/useAgentPlans.d.ts.map +0 -1
- package/lib/types/features/agent/chat/hooks/useAgentStream.d.ts +0 -44
- package/lib/types/features/agent/chat/hooks/useAgentStream.d.ts.map +0 -1
- package/lib/types/features/agent/chat/hooks/useArtifacts.d.ts +0 -18
- package/lib/types/features/agent/chat/hooks/useArtifacts.d.ts.map +0 -1
- package/lib/types/features/agent/chat/hooks/useDocumentPanel.d.ts +0 -23
- package/lib/types/features/agent/chat/hooks/useDocumentPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/hooks/useFileProcessing.d.ts +0 -27
- package/lib/types/features/agent/chat/hooks/useFileProcessing.d.ts.map +0 -1
- package/lib/types/features/agent/chat/index.d.ts +0 -21
- package/lib/types/features/agent/chat/index.d.ts.map +0 -1
- package/lib/types/features/agent/chat/types/document.d.ts.map +0 -1
- package/lib/types/features/agent/chat/useArtifactUrlCache.d.ts +0 -28
- package/lib/types/features/agent/chat/useArtifactUrlCache.d.ts.map +0 -1
- package/lib/types/features/agent/index.d.ts +0 -3
- package/lib/types/features/agent/index.d.ts.map +0 -1
- package/lib/types/features/errors/PanelErrorBoundary.d.ts +0 -5
- package/lib/types/features/errors/PanelErrorBoundary.d.ts.map +0 -1
- package/lib/types/features/errors/RowErrorBoundary.d.ts +0 -8
- package/lib/types/features/errors/RowErrorBoundary.d.ts.map +0 -1
- package/lib/types/features/errors/VertesiaErrorBoundary.d.ts +0 -12
- package/lib/types/features/errors/VertesiaErrorBoundary.d.ts.map +0 -1
- package/lib/types/features/errors/WidgetErrorBoundary.d.ts +0 -5
- package/lib/types/features/errors/WidgetErrorBoundary.d.ts.map +0 -1
- package/lib/types/features/errors/index.d.ts +0 -5
- package/lib/types/features/errors/index.d.ts.map +0 -1
- package/lib/types/features/facets/AgentRunnerFacetsNav.d.ts +0 -17
- package/lib/types/features/facets/AgentRunnerFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/CollectionsFacetsNav.d.ts +0 -14
- package/lib/types/features/facets/CollectionsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/DocumentsFacetsNav.d.ts +0 -12
- package/lib/types/features/facets/DocumentsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/EnvironmentFacet.d.ts +0 -10
- package/lib/types/features/facets/EnvironmentFacet.d.ts.map +0 -1
- package/lib/types/features/facets/InteractionsFacetsNav.d.ts +0 -13
- package/lib/types/features/facets/InteractionsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/PromptsFacetsNav.d.ts +0 -15
- package/lib/types/features/facets/PromptsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/RunsFacetsNav.d.ts +0 -22
- package/lib/types/features/facets/RunsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/WorkflowExecutionsFacetsNav.d.ts +0 -14
- package/lib/types/features/facets/WorkflowExecutionsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/index.d.ts +0 -17
- package/lib/types/features/facets/index.d.ts.map +0 -1
- package/lib/types/features/facets/utils/SearchInterface.d.ts +0 -16
- package/lib/types/features/facets/utils/SearchInterface.d.ts.map +0 -1
- package/lib/types/features/facets/utils/StringFacet.d.ts +0 -11
- package/lib/types/features/facets/utils/StringFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/StringListFacet.d.ts +0 -11
- package/lib/types/features/facets/utils/StringListFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/TypeFacet.d.ts +0 -16
- package/lib/types/features/facets/utils/TypeFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/VEnvironmentFacet.d.ts +0 -12
- package/lib/types/features/facets/utils/VEnvironmentFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/VInteractionFacet.d.ts +0 -15
- package/lib/types/features/facets/utils/VInteractionFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/VStringFacet.d.ts +0 -21
- package/lib/types/features/facets/utils/VStringFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/VTypeFacet.d.ts +0 -12
- package/lib/types/features/facets/utils/VTypeFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/VUserFacet.d.ts +0 -11
- package/lib/types/features/facets/utils/VUserFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/utils.d.ts +0 -4
- package/lib/types/features/facets/utils/utils.d.ts.map +0 -1
- package/lib/types/features/index.d.ts +0 -13
- package/lib/types/features/index.d.ts.map +0 -1
- package/lib/types/features/layout/GenericPageNavHeader.d.ts +0 -14
- package/lib/types/features/layout/GenericPageNavHeader.d.ts.map +0 -1
- package/lib/types/features/layout/NotFoundView.d.ts +0 -5
- package/lib/types/features/layout/NotFoundView.d.ts.map +0 -1
- package/lib/types/features/layout/index.d.ts +0 -3
- package/lib/types/features/layout/index.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/AnnotatedImageSlider.d.ts +0 -13
- package/lib/types/features/magic-pdf/AnnotatedImageSlider.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/DownloadPopover.d.ts +0 -7
- package/lib/types/features/magic-pdf/DownloadPopover.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/ExtractedContentView.d.ts +0 -8
- package/lib/types/features/magic-pdf/ExtractedContentView.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/MagicPdfProvider.d.ts +0 -58
- package/lib/types/features/magic-pdf/MagicPdfProvider.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/MagicPdfView.d.ts +0 -7
- package/lib/types/features/magic-pdf/MagicPdfView.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/index.d.ts +0 -2
- package/lib/types/features/magic-pdf/index.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/types.d.ts +0 -2
- package/lib/types/features/magic-pdf/types.d.ts.map +0 -1
- package/lib/types/features/oauth/OAuthProviderConnectButton.d.ts +0 -11
- package/lib/types/features/oauth/OAuthProviderConnectButton.d.ts.map +0 -1
- package/lib/types/features/oauth/RemoteMcpConnectionButton.d.ts +0 -25
- package/lib/types/features/oauth/RemoteMcpConnectionButton.d.ts.map +0 -1
- package/lib/types/features/oauth/index.d.ts.map +0 -1
- package/lib/types/features/oauth/useOAuthPopup.d.ts.map +0 -1
- package/lib/types/features/pdf-viewer/PdfPageRenderer.d.ts +0 -83
- package/lib/types/features/pdf-viewer/PdfPageRenderer.d.ts.map +0 -1
- package/lib/types/features/pdf-viewer/PdfPageSlider.d.ts +0 -29
- package/lib/types/features/pdf-viewer/PdfPageSlider.d.ts.map +0 -1
- package/lib/types/features/pdf-viewer/SimplePdfViewer.d.ts +0 -19
- package/lib/types/features/pdf-viewer/SimplePdfViewer.d.ts.map +0 -1
- package/lib/types/features/pdf-viewer/index.d.ts.map +0 -1
- package/lib/types/features/permissions/SecureButton.d.ts +0 -8
- package/lib/types/features/permissions/SecureButton.d.ts.map +0 -1
- package/lib/types/features/permissions/SecureSidebarItem.d.ts +0 -8
- package/lib/types/features/permissions/SecureSidebarItem.d.ts.map +0 -1
- package/lib/types/features/permissions/UserPermissionsProvider.d.ts +0 -21
- package/lib/types/features/permissions/UserPermissionsProvider.d.ts.map +0 -1
- package/lib/types/features/permissions/helpers.d.ts +0 -5
- package/lib/types/features/permissions/helpers.d.ts.map +0 -1
- package/lib/types/features/permissions/index.d.ts +0 -5
- package/lib/types/features/permissions/index.d.ts.map +0 -1
- package/lib/types/features/store/collections/BrowseCollectionView.d.ts +0 -7
- package/lib/types/features/store/collections/BrowseCollectionView.d.ts.map +0 -1
- package/lib/types/features/store/collections/CollectionsTable.d.ts +0 -10
- package/lib/types/features/store/collections/CollectionsTable.d.ts.map +0 -1
- package/lib/types/features/store/collections/CreateCollection.d.ts +0 -13
- package/lib/types/features/store/collections/CreateCollection.d.ts.map +0 -1
- package/lib/types/features/store/collections/EditCollectionView.d.ts +0 -8
- package/lib/types/features/store/collections/EditCollectionView.d.ts.map +0 -1
- package/lib/types/features/store/collections/SelectCollection.d.ts +0 -20
- package/lib/types/features/store/collections/SelectCollection.d.ts.map +0 -1
- package/lib/types/features/store/collections/SharedPropsEditor.d.ts +0 -7
- package/lib/types/features/store/collections/SharedPropsEditor.d.ts.map +0 -1
- package/lib/types/features/store/collections/SyncMemberHeadsToggle.d.ts +0 -7
- package/lib/types/features/store/collections/SyncMemberHeadsToggle.d.ts.map +0 -1
- package/lib/types/features/store/collections/index.d.ts +0 -8
- package/lib/types/features/store/collections/index.d.ts.map +0 -1
- package/lib/types/features/store/index.d.ts +0 -4
- package/lib/types/features/store/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/DocumentPreviewPanel.d.ts +0 -8
- package/lib/types/features/store/objects/DocumentPreviewPanel.d.ts.map +0 -1
- package/lib/types/features/store/objects/DocumentSearchResults.d.ts +0 -20
- package/lib/types/features/store/objects/DocumentSearchResults.d.ts.map +0 -1
- package/lib/types/features/store/objects/DocumentSelectionProvider.d.ts +0 -33
- package/lib/types/features/store/objects/DocumentSelectionProvider.d.ts.map +0 -1
- package/lib/types/features/store/objects/DocumentTable.d.ts +0 -25
- package/lib/types/features/store/objects/DocumentTable.d.ts.map +0 -1
- package/lib/types/features/store/objects/ExportPropertiesModal.d.ts +0 -12
- package/lib/types/features/store/objects/ExportPropertiesModal.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/ContentDispositionButton.d.ts +0 -9
- package/lib/types/features/store/objects/components/ContentDispositionButton.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/ContentOverview.d.ts +0 -9
- package/lib/types/features/store/objects/components/ContentOverview.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/DocumentIcon.d.ts +0 -19
- package/lib/types/features/store/objects/components/DocumentIcon.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/DocumentInput.d.ts +0 -8
- package/lib/types/features/store/objects/components/DocumentInput.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/PropertiesEditorModal.d.ts +0 -9
- package/lib/types/features/store/objects/components/PropertiesEditorModal.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/SaveVersionConfirmModal.d.ts +0 -9
- package/lib/types/features/store/objects/components/SaveVersionConfirmModal.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/SelectDocument.d.ts +0 -11
- package/lib/types/features/store/objects/components/SelectDocument.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/SelectDocumentModal.d.ts +0 -9
- package/lib/types/features/store/objects/components/SelectDocumentModal.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/TextEditorPanel.d.ts +0 -10
- package/lib/types/features/store/objects/components/TextEditorPanel.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/VectorSearchWidget.d.ts +0 -12
- package/lib/types/features/store/objects/components/VectorSearchWidget.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/index.d.ts +0 -10
- package/lib/types/features/store/objects/components/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/useContentPanelHooks.d.ts +0 -30
- package/lib/types/features/store/objects/components/useContentPanelHooks.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/useDownloadFile.d.ts +0 -39
- package/lib/types/features/store/objects/components/useDownloadFile.d.ts.map +0 -1
- package/lib/types/features/store/objects/index.d.ts +0 -11
- package/lib/types/features/store/objects/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/layout/DocumentTableColumn.d.ts +0 -18
- package/lib/types/features/store/objects/layout/DocumentTableColumn.d.ts.map +0 -1
- package/lib/types/features/store/objects/layout/documentLayout.d.ts +0 -21
- package/lib/types/features/store/objects/layout/documentLayout.d.ts.map +0 -1
- package/lib/types/features/store/objects/layout/index.d.ts +0 -3
- package/lib/types/features/store/objects/layout/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/layout/renderers.d.ts +0 -3
- package/lib/types/features/store/objects/layout/renderers.d.ts.map +0 -1
- package/lib/types/features/store/objects/search/DocumentSearchContext.d.ts +0 -52
- package/lib/types/features/store/objects/search/DocumentSearchContext.d.ts.map +0 -1
- package/lib/types/features/store/objects/search/DocumentSearchProvider.d.ts +0 -14
- package/lib/types/features/store/objects/search/DocumentSearchProvider.d.ts.map +0 -1
- package/lib/types/features/store/objects/search/index.d.ts +0 -3
- package/lib/types/features/store/objects/search/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/ObjectsActionContext.d.ts +0 -9
- package/lib/types/features/store/objects/selection/ObjectsActionContext.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/ObjectsActionContextClass.d.ts +0 -16
- package/lib/types/features/store/objects/selection/ObjectsActionContextClass.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/ObjectsActionHooks.d.ts +0 -7
- package/lib/types/features/store/objects/selection/ObjectsActionHooks.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/ObjectsActionSpec.d.ts +0 -32
- package/lib/types/features/store/objects/selection/ObjectsActionSpec.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/SelectionActions.d.ts +0 -11
- package/lib/types/features/store/objects/selection/SelectionActions.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/AddToCollectionAction.d.ts +0 -4
- package/lib/types/features/store/objects/selection/actions/AddToCollectionAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/ChangeTypeAction.d.ts +0 -4
- package/lib/types/features/store/objects/selection/actions/ChangeTypeAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/ConfirmAction.d.ts +0 -16
- package/lib/types/features/store/objects/selection/actions/ConfirmAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/DeleteObjectsAction.d.ts +0 -5
- package/lib/types/features/store/objects/selection/actions/DeleteObjectsAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/ExportPropertiesAction.d.ts +0 -4
- package/lib/types/features/store/objects/selection/actions/ExportPropertiesAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/RemoveFromCollectionAction.d.ts +0 -4
- package/lib/types/features/store/objects/selection/actions/RemoveFromCollectionAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/StartWorkflowComponent.d.ts +0 -4
- package/lib/types/features/store/objects/selection/actions/StartWorkflowComponent.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/index.d.ts +0 -8
- package/lib/types/features/store/objects/selection/actions/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/index.d.ts +0 -5
- package/lib/types/features/store/objects/selection/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/upload/DocumentUploadModal.d.ts +0 -39
- package/lib/types/features/store/objects/upload/DocumentUploadModal.d.ts.map +0 -1
- package/lib/types/features/store/objects/upload/index.d.ts +0 -4
- package/lib/types/features/store/objects/upload/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/upload/useSmartFileUploadProcessing.d.ts +0 -30
- package/lib/types/features/store/objects/upload/useSmartFileUploadProcessing.d.ts.map +0 -1
- package/lib/types/features/store/objects/upload/useUploadHandler.d.ts +0 -50
- package/lib/types/features/store/objects/upload/useUploadHandler.d.ts.map +0 -1
- package/lib/types/features/store/types/ContentObjectTypesSearch.d.ts +0 -6
- package/lib/types/features/store/types/ContentObjectTypesSearch.d.ts.map +0 -1
- package/lib/types/features/store/types/ContentObjectTypesTable.d.ts +0 -8
- package/lib/types/features/store/types/ContentObjectTypesTable.d.ts.map +0 -1
- package/lib/types/features/store/types/CreateOrUpdateTypeModal.d.ts +0 -16
- package/lib/types/features/store/types/CreateOrUpdateTypeModal.d.ts.map +0 -1
- package/lib/types/features/store/types/ObjectSchemaEditor.d.ts +0 -9
- package/lib/types/features/store/types/ObjectSchemaEditor.d.ts.map +0 -1
- package/lib/types/features/store/types/SelectContentType.d.ts +0 -11
- package/lib/types/features/store/types/SelectContentType.d.ts.map +0 -1
- package/lib/types/features/store/types/SelectContentTypeModal.d.ts +0 -33
- package/lib/types/features/store/types/SelectContentTypeModal.d.ts.map +0 -1
- package/lib/types/features/store/types/TableLayoutEditor.d.ts +0 -10
- package/lib/types/features/store/types/TableLayoutEditor.d.ts.map +0 -1
- package/lib/types/features/store/types/TypeRegistry.d.ts +0 -10
- package/lib/types/features/store/types/TypeRegistry.d.ts.map +0 -1
- package/lib/types/features/store/types/TypeRegistryProvider.d.ts +0 -15
- package/lib/types/features/store/types/TypeRegistryProvider.d.ts.map +0 -1
- package/lib/types/features/store/types/index.d.ts +0 -11
- package/lib/types/features/store/types/index.d.ts.map +0 -1
- package/lib/types/features/store/types/search/ObjectTypeSearchContext.d.ts +0 -36
- package/lib/types/features/store/types/search/ObjectTypeSearchContext.d.ts.map +0 -1
- package/lib/types/features/store/types/search/ObjectTypeSearchProvider.d.ts +0 -11
- package/lib/types/features/store/types/search/ObjectTypeSearchProvider.d.ts.map +0 -1
- package/lib/types/features/store/types/search/index.d.ts +0 -3
- package/lib/types/features/store/types/search/index.d.ts.map +0 -1
- package/lib/types/features/user/UserAvatar.d.ts +0 -9
- package/lib/types/features/user/UserAvatar.d.ts.map +0 -1
- package/lib/types/features/user/UserInfo.d.ts +0 -60
- package/lib/types/features/user/UserInfo.d.ts.map +0 -1
- package/lib/types/features/user/index.d.ts +0 -3
- package/lib/types/features/user/index.d.ts.map +0 -1
- package/lib/types/features/utils/index.d.ts +0 -6
- package/lib/types/features/utils/index.d.ts.map +0 -1
- package/lib/types/features/utils/mimeType.d.ts.map +0 -1
- package/lib/types/features/utils/print.d.ts.map +0 -1
- package/lib/types/features/utils/rendition.d.ts +0 -4
- package/lib/types/features/utils/rendition.d.ts.map +0 -1
- package/lib/types/features/utils/text.d.ts.map +0 -1
- package/lib/types/features/utils/workflowStatus.d.ts +0 -10
- package/lib/types/features/utils/workflowStatus.d.ts.map +0 -1
- package/lib/types/i18n/index.d.ts +0 -14
- package/lib/types/i18n/index.d.ts.map +0 -1
- package/lib/types/i18n/instance.d.ts.map +0 -1
- package/lib/types/layout/AppLayout.d.ts +0 -13
- package/lib/types/layout/AppLayout.d.ts.map +0 -1
- package/lib/types/layout/FullHeightLayout.d.ts +0 -31
- package/lib/types/layout/FullHeightLayout.d.ts.map +0 -1
- package/lib/types/layout/Navbar.d.ts +0 -33
- package/lib/types/layout/Navbar.d.ts.map +0 -1
- package/lib/types/layout/RegionTag.d.ts +0 -4
- package/lib/types/layout/RegionTag.d.ts.map +0 -1
- package/lib/types/layout/Sidebar.d.ts +0 -34
- package/lib/types/layout/Sidebar.d.ts.map +0 -1
- package/lib/types/layout/SidebarContext.d.ts.map +0 -1
- package/lib/types/layout/TitleBar.d.ts +0 -6
- package/lib/types/layout/TitleBar.d.ts.map +0 -1
- package/lib/types/layout/index.d.ts +0 -8
- package/lib/types/layout/index.d.ts.map +0 -1
- package/lib/types/router/FixLinks.d.ts +0 -7
- package/lib/types/router/FixLinks.d.ts.map +0 -1
- package/lib/types/router/HistoryNavigator.d.ts +0 -59
- package/lib/types/router/HistoryNavigator.d.ts.map +0 -1
- package/lib/types/router/Nav.d.ts +0 -39
- package/lib/types/router/Nav.d.ts.map +0 -1
- package/lib/types/router/NestedNavigationContext.d.ts +0 -9
- package/lib/types/router/NestedNavigationContext.d.ts.map +0 -1
- package/lib/types/router/NestedRouterProvider.d.ts +0 -14
- package/lib/types/router/NestedRouterProvider.d.ts.map +0 -1
- package/lib/types/router/PathMatcher.d.ts +0 -36
- package/lib/types/router/PathMatcher.d.ts.map +0 -1
- package/lib/types/router/PathWithParams.d.ts.map +0 -1
- package/lib/types/router/Route404.d.ts +0 -4
- package/lib/types/router/Route404.d.ts.map +0 -1
- package/lib/types/router/RouteComponent.d.ts +0 -6
- package/lib/types/router/RouteComponent.d.ts.map +0 -1
- package/lib/types/router/Router.d.ts +0 -76
- package/lib/types/router/Router.d.ts.map +0 -1
- package/lib/types/router/RouterProvider.d.ts +0 -15
- package/lib/types/router/RouterProvider.d.ts.map +0 -1
- package/lib/types/router/index.d.ts +0 -11
- package/lib/types/router/index.d.ts.map +0 -1
- package/lib/types/router/path.d.ts.map +0 -1
- package/lib/types/session/UserSession.d.ts +0 -37
- package/lib/types/session/UserSession.d.ts.map +0 -1
- package/lib/types/session/UserSessionProvider.d.ts +0 -7
- package/lib/types/session/UserSessionProvider.d.ts.map +0 -1
- package/lib/types/session/auth/composable.d.ts +0 -30
- package/lib/types/session/auth/composable.d.ts.map +0 -1
- package/lib/types/session/auth/domainRouting.d.ts.map +0 -1
- package/lib/types/session/auth/firebase.d.ts +0 -10
- package/lib/types/session/auth/firebase.d.ts.map +0 -1
- package/lib/types/session/auth/useAuthState.d.ts.map +0 -1
- package/lib/types/session/auth/useCurrentTenant.d.ts.map +0 -1
- package/lib/types/session/constants.d.ts.map +0 -1
- package/lib/types/session/index.d.ts +0 -8
- package/lib/types/session/index.d.ts.map +0 -1
- package/lib/types/session/useUXTracking.d.ts +0 -6
- package/lib/types/session/useUXTracking.d.ts.map +0 -1
- package/lib/types/shell/SplashScreen.d.ts +0 -7
- package/lib/types/shell/SplashScreen.d.ts.map +0 -1
- package/lib/types/shell/VertesiaShell.d.ts +0 -10
- package/lib/types/shell/VertesiaShell.d.ts.map +0 -1
- package/lib/types/shell/apps/AppInstallationProvider.d.ts +0 -12
- package/lib/types/shell/apps/AppInstallationProvider.d.ts.map +0 -1
- package/lib/types/shell/apps/AppProjectSelector.d.ts +0 -12
- package/lib/types/shell/apps/AppProjectSelector.d.ts.map +0 -1
- package/lib/types/shell/apps/StandaloneApp.d.ts +0 -23
- package/lib/types/shell/apps/StandaloneApp.d.ts.map +0 -1
- package/lib/types/shell/apps/index.d.ts +0 -4
- package/lib/types/shell/apps/index.d.ts.map +0 -1
- package/lib/types/shell/index.d.ts +0 -8
- package/lib/types/shell/index.d.ts.map +0 -1
- package/lib/types/shell/login/EnterpriseSigninButton.d.ts +0 -6
- package/lib/types/shell/login/EnterpriseSigninButton.d.ts.map +0 -1
- package/lib/types/shell/login/GitHubSignInButton.d.ts +0 -6
- package/lib/types/shell/login/GitHubSignInButton.d.ts.map +0 -1
- package/lib/types/shell/login/GoogleSignInButton.d.ts +0 -6
- package/lib/types/shell/login/GoogleSignInButton.d.ts.map +0 -1
- package/lib/types/shell/login/InviteAcceptModal.d.ts +0 -2
- package/lib/types/shell/login/InviteAcceptModal.d.ts.map +0 -1
- package/lib/types/shell/login/MicrosoftSigninButton.d.ts +0 -6
- package/lib/types/shell/login/MicrosoftSigninButton.d.ts.map +0 -1
- package/lib/types/shell/login/PreviewIcon.d.ts +0 -6
- package/lib/types/shell/login/PreviewIcon.d.ts.map +0 -1
- package/lib/types/shell/login/SignInModal.d.ts +0 -7
- package/lib/types/shell/login/SignInModal.d.ts.map +0 -1
- package/lib/types/shell/login/SigninScreen.d.ts +0 -9
- package/lib/types/shell/login/SigninScreen.d.ts.map +0 -1
- package/lib/types/shell/login/SignupForm.d.ts +0 -8
- package/lib/types/shell/login/SignupForm.d.ts.map +0 -1
- package/lib/types/shell/login/TerminalLogin.d.ts +0 -2
- package/lib/types/shell/login/TerminalLogin.d.ts.map +0 -1
- package/lib/types/shell/login/UserInfo.d.ts +0 -6
- package/lib/types/shell/login/UserInfo.d.ts.map +0 -1
- package/lib/types/shell/login/UserSessionMenu.d.ts +0 -9
- package/lib/types/shell/login/UserSessionMenu.d.ts.map +0 -1
- package/lib/types/shell/utils.d.ts.map +0 -1
- package/lib/types/widgets/Progress.d.ts +0 -6
- package/lib/types/widgets/Progress.d.ts.map +0 -1
- package/lib/types/widgets/SvgIcon.d.ts +0 -7
- package/lib/types/widgets/SvgIcon.d.ts.map +0 -1
- package/lib/types/widgets/form/Form.d.ts +0 -22
- package/lib/types/widgets/form/Form.d.ts.map +0 -1
- package/lib/types/widgets/form/FormContext.d.ts +0 -20
- package/lib/types/widgets/form/FormContext.d.ts.map +0 -1
- package/lib/types/widgets/form/ManagedObject.d.ts +0 -82
- package/lib/types/widgets/form/ManagedObject.d.ts.map +0 -1
- package/lib/types/widgets/form/fields.d.ts +0 -16
- package/lib/types/widgets/form/fields.d.ts.map +0 -1
- package/lib/types/widgets/form/index.d.ts +0 -7
- package/lib/types/widgets/form/index.d.ts.map +0 -1
- package/lib/types/widgets/form/inputs.d.ts +0 -8
- package/lib/types/widgets/form/inputs.d.ts.map +0 -1
- package/lib/types/widgets/form/schema.d.ts +0 -47
- package/lib/types/widgets/form/schema.d.ts.map +0 -1
- package/lib/types/widgets/index.d.ts +0 -11
- package/lib/types/widgets/index.d.ts.map +0 -1
- package/lib/types/widgets/json-view/JSONCode.d.ts +0 -5
- package/lib/types/widgets/json-view/JSONCode.d.ts.map +0 -1
- package/lib/types/widgets/json-view/JSONDisplay.d.ts +0 -8
- package/lib/types/widgets/json-view/JSONDisplay.d.ts.map +0 -1
- package/lib/types/widgets/json-view/JSONEditor.d.ts +0 -28
- package/lib/types/widgets/json-view/JSONEditor.d.ts.map +0 -1
- package/lib/types/widgets/json-view/JSONSwitcher.d.ts +0 -6
- package/lib/types/widgets/json-view/JSONSwitcher.d.ts.map +0 -1
- package/lib/types/widgets/json-view/JSONView.d.ts +0 -7
- package/lib/types/widgets/json-view/JSONView.d.ts.map +0 -1
- package/lib/types/widgets/json-view/index.d.ts +0 -7
- package/lib/types/widgets/json-view/index.d.ts.map +0 -1
- package/lib/types/widgets/json-view/types.d.ts.map +0 -1
- package/lib/types/widgets/markdown/ArtifactContentRenderer.d.ts.map +0 -1
- package/lib/types/widgets/markdown/CodeBlockContext.d.ts +0 -21
- package/lib/types/widgets/markdown/CodeBlockContext.d.ts.map +0 -1
- package/lib/types/widgets/markdown/CodeBlockPlaceholder.d.ts +0 -42
- package/lib/types/widgets/markdown/CodeBlockPlaceholder.d.ts.map +0 -1
- package/lib/types/widgets/markdown/CodeBlockPlaceholder.test.d.ts +0 -2
- package/lib/types/widgets/markdown/CodeBlockPlaceholder.test.d.ts.map +0 -1
- package/lib/types/widgets/markdown/CodeBlockRendering.d.ts +0 -23
- package/lib/types/widgets/markdown/CodeBlockRendering.d.ts.map +0 -1
- package/lib/types/widgets/markdown/MarkdownFigure.d.ts +0 -15
- package/lib/types/widgets/markdown/MarkdownFigure.d.ts.map +0 -1
- package/lib/types/widgets/markdown/MarkdownImage.d.ts +0 -16
- package/lib/types/widgets/markdown/MarkdownImage.d.ts.map +0 -1
- package/lib/types/widgets/markdown/MarkdownLink.d.ts +0 -17
- package/lib/types/widgets/markdown/MarkdownLink.d.ts.map +0 -1
- package/lib/types/widgets/markdown/MarkdownRenderer.d.ts +0 -26
- package/lib/types/widgets/markdown/MarkdownRenderer.d.ts.map +0 -1
- package/lib/types/widgets/markdown/MermaidDiagram.d.ts +0 -23
- package/lib/types/widgets/markdown/MermaidDiagram.d.ts.map +0 -1
- package/lib/types/widgets/markdown/codeBlockHandlers.d.ts +0 -57
- package/lib/types/widgets/markdown/codeBlockHandlers.d.ts.map +0 -1
- package/lib/types/widgets/markdown/codeBlockHandlers.test.d.ts +0 -2
- package/lib/types/widgets/markdown/codeBlockHandlers.test.d.ts.map +0 -1
- package/lib/types/widgets/markdown/index.d.ts +0 -13
- package/lib/types/widgets/markdown/index.d.ts.map +0 -1
- package/lib/types/widgets/markdown/normalizeCustomSchemeLinks.d.ts.map +0 -1
- package/lib/types/widgets/markdown/normalizeDirectives.d.ts.map +0 -1
- package/lib/types/widgets/markdown/preprocessMathDelimiters.d.ts.map +0 -1
- package/lib/types/widgets/markdown/remarkDirectiveHandler.d.ts +0 -2
- package/lib/types/widgets/markdown/remarkDirectiveHandler.d.ts.map +0 -1
- package/lib/types/widgets/markdown/useArtifactContent.d.ts.map +0 -1
- package/lib/types/widgets/markdown/useResolvedUrl.d.ts.map +0 -1
- package/lib/types/widgets/monacoEditor/MonacoEditor.d.ts +0 -40
- package/lib/types/widgets/monacoEditor/MonacoEditor.d.ts.map +0 -1
- package/lib/types/widgets/monacoEditor/foldingProviders.d.ts.map +0 -1
- package/lib/types/widgets/monacoEditor/index.d.ts +0 -3
- package/lib/types/widgets/monacoEditor/index.d.ts.map +0 -1
- package/lib/types/widgets/properties/PropertiesView.d.ts +0 -11
- package/lib/types/widgets/properties/PropertiesView.d.ts.map +0 -1
- package/lib/types/widgets/properties/index.d.ts +0 -2
- package/lib/types/widgets/properties/index.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/ManagedSchema.d.ts +0 -75
- package/lib/types/widgets/schema-editor/ManagedSchema.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/Editable.d.ts +0 -40
- package/lib/types/widgets/schema-editor/editor/Editable.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/EditableSchemaProperty.d.ts +0 -8
- package/lib/types/widgets/schema-editor/editor/EditableSchemaProperty.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/PropertyEditor.d.ts +0 -5
- package/lib/types/widgets/schema-editor/editor/PropertyEditor.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/PropertyViewer.d.ts +0 -4
- package/lib/types/widgets/schema-editor/editor/PropertyViewer.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/SchemaContext.d.ts +0 -3
- package/lib/types/widgets/schema-editor/editor/SchemaContext.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/SchemaEditor.d.ts +0 -9
- package/lib/types/widgets/schema-editor/editor/SchemaEditor.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/index.d.ts +0 -7
- package/lib/types/widgets/schema-editor/index.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/json-schema4-utils.d.ts +0 -16
- package/lib/types/widgets/schema-editor/json-schema4-utils.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/type-signature.d.ts.map +0 -1
- package/lib/types/widgets/upload/DropZone.d.ts +0 -41
- package/lib/types/widgets/upload/DropZone.d.ts.map +0 -1
- package/lib/types/widgets/upload/UploadResultCategory.d.ts +0 -26
- package/lib/types/widgets/upload/UploadResultCategory.d.ts.map +0 -1
- package/lib/types/widgets/upload/UploadSummary.d.ts +0 -38
- package/lib/types/widgets/upload/UploadSummary.d.ts.map +0 -1
- package/lib/types/widgets/upload/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/Attributes/index.d.ts +0 -6
- package/lib/types/widgets/xml-viewer/components/Attributes/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/CDataTag/index.d.ts +0 -8
- package/lib/types/widgets/xml-viewer/components/CDataTag/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/CollapseIcon/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/CommentTag/index.d.ts +0 -9
- package/lib/types/widgets/xml-viewer/components/CommentTag/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/DeclarationTag/index.d.ts +0 -8
- package/lib/types/widgets/xml-viewer/components/DeclarationTag/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/Elements/index.d.ts +0 -8
- package/lib/types/widgets/xml-viewer/components/Elements/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/InvalidXml/index.d.ts +0 -2
- package/lib/types/widgets/xml-viewer/components/InvalidXml/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/Tag/index.d.ts +0 -13
- package/lib/types/widgets/xml-viewer/components/Tag/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/TextElement/index.d.ts +0 -8
- package/lib/types/widgets/xml-viewer/components/TextElement/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/XMLViewer.d.ts +0 -3
- package/lib/types/widgets/xml-viewer/components/XMLViewer.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/types.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/constants/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/context/xml-viewer-context.d.ts +0 -4
- package/lib/types/widgets/xml-viewer/context/xml-viewer-context.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/helpers/index.d.ts +0 -13
- package/lib/types/widgets/xml-viewer/helpers/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/hooks/useCollapsible.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/hooks/useXMLViewer.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/index.d.ts +0 -3
- package/lib/types/widgets/xml-viewer/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/types/index.d.ts +0 -16
- package/lib/types/widgets/xml-viewer/types/index.d.ts.map +0 -1
- package/src/shell/login/EnterpriseSigninButton.tsx +0 -111
- package/src/shell/login/GitHubSignInButton.tsx +0 -36
- package/src/shell/login/GoogleSignInButton.tsx +0 -38
- package/src/shell/login/MicrosoftSigninButton.tsx +0 -28
- /package/lib/{types/core → core}/components/popup/position.d.ts +0 -0
- /package/lib/{types/core → core}/components/popup/utils.d.ts +0 -0
- /package/lib/{types/core → core}/components/shadcn/filters/animateChangeInHeight.d.ts +0 -0
- /package/lib/{types/core → core}/components/shadcn/filters/filter-styles.d.ts +0 -0
- /package/lib/{esm/core → core}/components/shadcn/filters/filter-styles.js +0 -0
- /package/lib/{types/core → core}/components/shadcn/filters/index.d.ts +0 -0
- /package/lib/{esm/core → core}/components/shadcn/filters/index.js +0 -0
- /package/lib/{esm/core → core}/components/shadcn/filters/types.js +0 -0
- /package/lib/{types/core → core}/components/styles.d.ts +0 -0
- /package/lib/{types/core → core}/components/toast/ToastProps.d.ts +0 -0
- /package/lib/{esm/core → core}/components/toast/ToastProps.js +0 -0
- /package/lib/{types/core → core}/hooks/useClickOutside.d.ts +0 -0
- /package/lib/{types/core → core}/hooks/useCopyToClipboard.d.ts +0 -0
- /package/lib/{esm/core → core}/hooks/useCopyToClipboard.js +0 -0
- /package/lib/{types/core → core}/hooks/useDarkMode.d.ts +0 -0
- /package/lib/{types/core → core}/hooks/useDebounce.d.ts +0 -0
- /package/lib/{types/core → core}/hooks/useFlag.d.ts +0 -0
- /package/lib/{types/core → core}/hooks/useIsFistRendering.d.ts +0 -0
- /package/lib/{types/features → features}/agent/chat/WaitingMessages.d.ts +0 -0
- /package/lib/{types/features → features}/agent/chat/types/document.d.ts +0 -0
- /package/lib/{esm/features → features}/agent/chat/types/document.js +0 -0
- /package/lib/{esm/features → features}/facets/utils/utils.js +0 -0
- /package/lib/{esm/features → features}/magic-pdf/types.js +0 -0
- /package/lib/{types/features → features}/oauth/index.d.ts +0 -0
- /package/lib/{esm/features → features}/oauth/index.js +0 -0
- /package/lib/{types/features → features}/oauth/useOAuthPopup.d.ts +0 -0
- /package/lib/{esm/features → features}/oauth/useOAuthPopup.js +0 -0
- /package/lib/{types/features → features}/pdf-viewer/index.d.ts +0 -0
- /package/lib/{esm/features → features}/pdf-viewer/index.js +0 -0
- /package/lib/{esm/features → features}/permissions/helpers.js +0 -0
- /package/lib/{esm/features → features}/store/objects/selection/ObjectsActionSpec.js +0 -0
- /package/lib/{esm/features → features}/store/types/TypeRegistry.js +0 -0
- /package/lib/{types/features → features}/utils/mimeType.d.ts +0 -0
- /package/lib/{esm/features → features}/utils/mimeType.js +0 -0
- /package/lib/{types/features → features}/utils/print.d.ts +0 -0
- /package/lib/{types/features → features}/utils/text.d.ts +0 -0
- /package/lib/{types/i18n → i18n}/instance.d.ts +0 -0
- /package/lib/{esm/i18n → i18n}/instance.js +0 -0
- /package/lib/{esm/layout → layout}/RegionTag.js +0 -0
- /package/lib/{types/layout → layout}/SidebarContext.d.ts +0 -0
- /package/lib/{types/router → router}/PathWithParams.d.ts +0 -0
- /package/lib/{types/router → router}/path.d.ts +0 -0
- /package/lib/{types/session → session}/auth/domainRouting.d.ts +0 -0
- /package/lib/{esm/session → session}/auth/domainRouting.js +0 -0
- /package/lib/{types/session → session}/auth/useAuthState.d.ts +0 -0
- /package/lib/{types/session → session}/auth/useCurrentTenant.d.ts +0 -0
- /package/lib/{types/session → session}/constants.d.ts +0 -0
- /package/lib/{esm/session → session}/constants.js +0 -0
- /package/lib/{types/shell → shell}/utils.d.ts +0 -0
- /package/lib/{esm/widgets → widgets}/Progress.js +0 -0
- /package/lib/{types/widgets → widgets}/json-view/types.d.ts +0 -0
- /package/lib/{esm/widgets → widgets}/json-view/types.js +0 -0
- /package/lib/{types/widgets → widgets}/markdown/ArtifactContentRenderer.d.ts +0 -0
- /package/lib/{esm/widgets → widgets}/markdown/CodeBlockContext.js +0 -0
- /package/lib/{types/widgets → widgets}/markdown/normalizeCustomSchemeLinks.d.ts +0 -0
- /package/lib/{types/widgets → widgets}/markdown/normalizeDirectives.d.ts +0 -0
- /package/lib/{types/widgets → widgets}/markdown/preprocessMathDelimiters.d.ts +0 -0
- /package/lib/{types/widgets → widgets}/markdown/useArtifactContent.d.ts +0 -0
- /package/lib/{types/widgets → widgets}/markdown/useResolvedUrl.d.ts +0 -0
- /package/lib/{types/widgets → widgets}/monacoEditor/foldingProviders.d.ts +0 -0
- /package/lib/{types/widgets → widgets}/schema-editor/type-signature.d.ts +0 -0
- /package/lib/{esm/widgets → widgets}/schema-editor/type-signature.js +0 -0
- /package/lib/{types/widgets → widgets}/upload/index.d.ts +0 -0
- /package/lib/{esm/widgets → widgets}/upload/index.js +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/components/Attributes/index.js +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/components/CDataTag/index.js +0 -0
- /package/lib/{types/widgets → widgets}/xml-viewer/components/CollapseIcon/index.d.ts +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/components/CommentTag/index.js +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/components/DeclarationTag/index.js +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/components/Elements/index.js +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/components/InvalidXml/index.js +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/components/Tag/index.js +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/components/TextElement/index.js +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/components/XMLViewer.js +0 -0
- /package/lib/{types/widgets → widgets}/xml-viewer/components/types.d.ts +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/components/types.js +0 -0
- /package/lib/{types/widgets → widgets}/xml-viewer/constants/index.d.ts +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/constants/index.js +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/context/xml-viewer-context.js +0 -0
- /package/lib/{types/widgets → widgets}/xml-viewer/hooks/useCollapsible.d.ts +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/hooks/useCollapsible.js +0 -0
- /package/lib/{types/widgets → widgets}/xml-viewer/hooks/useXMLViewer.d.ts +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/types/index.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vertesia-ui-layout.js","sources":["esm/layout/FullHeightLayout.js","esm/layout/SidebarContext.js","esm/layout/TitleBar.js","esm/i18n/instance.js","esm/layout/Navbar.js","esm/i18n/index.js","esm/layout/Sidebar.js","esm/layout/AppLayout.js","esm/layout/RegionTag.js"],"sourcesContent":["import { jsx as _jsx } from \"react/jsx-runtime\";\nimport clsx from 'clsx';\nexport function FullHeightLayout({ className, children }) {\n return (_jsx(\"div\", { className: clsx(\"flex flex-col\", \"h-full\", \"overflow-y-auto\", \"px-2\", className), children: children }));\n}\nFullHeightLayout.Fixed = function Fixed({ heightClass, className, children }) {\n return (_jsx(\"div\", { className: clsx(\"w-full\", heightClass, className), children: children }));\n};\nFullHeightLayout.Body = function Body({ className, children }) {\n return (_jsx(\"div\", { className: clsx(\"grow overflow-auto\", \"min-h-0\", \"p-2\", className), children: children }));\n};\nFullHeightLayout.VR = function VDivider({}) {\n return (_jsx(\"div\", { className: \"w-[1px] border border-red-200\" }));\n};\nFullHeightLayout.HR = function HDivider({}) {\n return (_jsx(\"div\", { className: \"w-full h-1 border-b border-red-200\" }));\n};\nFullHeightLayout.Flex = function Flex({ className, children }) {\n return (_jsx(\"div\", { className: clsx(\"grow flex flex-col\", \"overflow-hidden min-h-0\", \"p-2\", className), children: children }));\n};\nFullHeightLayout.Tab = function Tab({ children }) {\n return (_jsx(\"div\", { className: \"flex flex-col h-full\", children: children }));\n};\n//# sourceMappingURL=FullHeightLayout.js.map","import { createContext, useContext } from \"react\";\nexport const SidebarContext = createContext({\n isOpen: false,\n toggleMobile: () => void 0,\n toggleDesktop: () => void 0,\n});\nexport function useSidebarToggle() {\n return useContext(SidebarContext);\n}\n//# sourceMappingURL=SidebarContext.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nexport function TitleBar({ title }) {\n return _jsx(\"div\", { className: 'self-center text-lg font-semibold', children: title });\n}\n//# sourceMappingURL=TitleBar.js.map","import i18next from 'i18next';\nimport { initReactI18next } from 'react-i18next';\nimport ar from './locales/ar.json';\nimport de from './locales/de.json';\nimport en from './locales/en.json';\nimport es from './locales/es.json';\nimport fr from './locales/fr.json';\nimport it from './locales/it.json';\nimport ja from './locales/ja.json';\nimport ko from './locales/ko.json';\nimport pt from './locales/pt.json';\nimport ru from './locales/ru.json';\nimport tr from './locales/tr.json';\nimport zh from './locales/zh.json';\nimport zhTW from './locales/zh-TW.json';\nexport const NAMESPACE = 'vertesia.ui';\n// Scoped instance — does NOT touch the global i18next singleton\nconst i18nInstance = i18next.createInstance();\nvoid i18nInstance.use(initReactI18next).init({\n resources: {\n ar: { [NAMESPACE]: ar },\n de: { [NAMESPACE]: de },\n en: { [NAMESPACE]: en },\n es: { [NAMESPACE]: es },\n fr: { [NAMESPACE]: fr },\n it: { [NAMESPACE]: it },\n ja: { [NAMESPACE]: ja },\n ko: { [NAMESPACE]: ko },\n pt: { [NAMESPACE]: pt },\n ru: { [NAMESPACE]: ru },\n tr: { [NAMESPACE]: tr },\n zh: { [NAMESPACE]: zh },\n 'zh-TW': { [NAMESPACE]: zhTW },\n },\n fallbackLng: 'en',\n ns: [NAMESPACE],\n defaultNS: NAMESPACE,\n interpolation: {\n escapeValue: false, // React already escapes\n },\n react: {\n useSuspense: false, // Translations are bundled, no async loading\n },\n});\nexport { i18nInstance };\n//# sourceMappingURL=instance.js.map","import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport { Menu, Search } from 'lucide-react';\nimport { Button } from '@vertesia/ui/core';\nimport { useSidebarToggle } from './SidebarContext.js';\nimport { TitleBar } from './TitleBar.js';\nimport { useUITranslation } from '../i18n/index.js';\nexport function Navbar({ children, logo, onSearch, title }) {\n return (_jsxs(\"div\", { className: \"sticky top-0 z-40 flex h-16 shrink-0 items-center gap-x-4 border-b px-4 shadow-2xs sm:gap-x-6 sm:px-6 lg:px-8\", children: [_jsx(HamburgerButton, {}), _jsx(\"div\", { className: \"lg:hidden\", children: logo }), onSearch && _jsx(NavbarSeparator, { visible: 'mobile' }), _jsxs(\"div\", { className: \"flex flex-1 gap-x-4 self-stretch lg:gap-x-6\", children: [_jsx(TitleBar, { title: title }), onSearch && _jsx(SearchBox, { onSearch: onSearch }), _jsx(\"div\", { className: \"flex items-center gap-x-4 lg:gap-x-6 ml-auto\", children: children })] })] }));\n}\nfunction SearchBox({}) {\n const { t } = useUITranslation();\n return (_jsxs(\"form\", { className: \"relative flex flex-1\", action: \"#\", method: \"GET\", children: [_jsx(\"label\", { htmlFor: \"search-field\", className: \"sr-only\", children: t('layout.search') }), _jsx(Search, { className: \"pointer-events-none absolute inset-y-0 left-0 h-full w-5 text-gray-400\", \"aria-hidden\": \"true\" }), _jsx(\"input\", { id: \"search-field\", className: \"block h-full w-full border-0 py-0 pl-8 pr-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm\", placeholder: t('layout.searchPlaceholder'), type: \"search\", name: \"search\" })] }));\n}\nexport function HamburgerButton() {\n const { toggleDesktop, toggleMobile } = useSidebarToggle();\n const toggle = () => {\n if (window.innerWidth < 1024) {\n toggleMobile();\n }\n else {\n toggleDesktop();\n }\n };\n return (_jsx(_Fragment, { children: _jsx(Button, { variant: 'ghost', size: 'icon', onClick: () => toggle(), className: \"p-2 rounded-full transition-colors w-full text-center \", children: _jsx(Menu, { \"aria-hidden\": \"true\", size: 24 }) }) }));\n}\nexport function NavbarSeparator({ visible }) {\n let visibility = \"\";\n if (visible) {\n visibility = visible === \"mobile\" ? \"lg:hidden\" : \"hidden lg:block\";\n }\n return (_jsx(\"div\", { className: `h-6 w-px bg-gray-900/10 dark:bg-slate-900/0.1 ${visibility}`, \"aria-hidden\": \"true\" }));\n}\nexport function NavbarIconButton({ title, icon: Icon, onClick }) {\n return (_jsxs(\"button\", { type: \"button\", className: \"-m-2.5 p-2.5 text-gray-400 dark:text-slate-50 hover:text-gray-500\", onClick: onClick, children: [_jsx(\"span\", { className: \"sr-only\", children: title }), _jsx(Icon, { className: \"size-6\", \"aria-hidden\": \"true\", title: title })] }));\n}\nexport function NavbarButton({ children, onClick }) {\n return (_jsx(Button, { onClick: onClick, children: children }));\n}\nexport function NavbarLink({ href, onClick, children }) {\n return (_jsx(\"a\", { className: \"dark:text-slate-50\", href: href, onClick: onClick, children: children }));\n}\n//# sourceMappingURL=Navbar.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useEffect } from 'react';\nimport { I18nextProvider, useTranslation } from 'react-i18next';\nimport { i18nInstance, NAMESPACE } from './instance.js';\nfunction detectLanguage(lng) {\n return lng ?? navigator.language?.split('-')[0] ?? 'en';\n}\nexport function I18nProvider({ lng, children }) {\n // Set language synchronously on first render to avoid flash of wrong language\n const language = detectLanguage(lng);\n if (i18nInstance.language !== language) {\n void i18nInstance.changeLanguage(language);\n }\n // Also react to prop changes\n useEffect(() => {\n const lang = detectLanguage(lng);\n if (i18nInstance.language !== lang) {\n void i18nInstance.changeLanguage(lang);\n }\n }, [lng]);\n return (_jsx(I18nextProvider, { i18n: i18nInstance, children: children }));\n}\n/**\n * Hook for components inside @vertesia/ui to get translation functions.\n * Always binds to the 'vertesia.ui' namespace on the scoped instance.\n */\nexport function useUITranslation() {\n return useTranslation(NAMESPACE, { i18n: i18nInstance });\n}\nexport { i18nInstance, NAMESPACE } from './instance.js';\n//# sourceMappingURL=index.js.map","import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport clsx from 'clsx';\nimport { useSidebarToggle } from './SidebarContext';\nimport { Dot } from 'lucide-react';\nimport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider } from '@vertesia/ui/core';\nimport { Nav } from \"@vertesia/ui/router\";\nexport function Sidebar({ children, logo, className }) {\n return (_jsxs(\"div\", { className: clsx(className || \"bg-indigo-600 dark:bg-indigo-950\", \"flex flex-col h-full\"), children: [logo &&\n _jsx(\"div\", { className: \"-mx-2 flex h-auto my-4 shrink-0 self-start\", children: logo }), _jsx(\"div\", { className: \"flex-1 min-h-0 overflow-hidden px-0 lg:px-2\", children: _jsx(\"nav\", { className: \"h-full flex flex-col\", children: _jsx(\"ul\", { role: \"list\", className: \"flex flex-col gap-y-2 overflow-y-auto h-full\", children: children }) }) })] }));\n}\nexport function SidebarSection({ children, title, action, isFooter = false, className }) {\n const { isOpen } = useSidebarToggle();\n let header = isOpen ? _jsxs(_Fragment, { children: [title || \"\", action] }) : _jsx(Dot, { className: 'size-6' });\n return (_jsxs(\"li\", { className: isFooter ? 'mt-auto' : '', children: [title && _jsx(\"div\", { className: \"text-xs font-medium h-8 flex items-center gap-x-2 px-2 text-sidebar-foreground/70\", children: header }), _jsx(\"ul\", { \"data-sidebar\": \"menu\", className: clsx(\"flex w-full min-w-0 flex-col gap-1\", className), children: children })] }));\n}\nexport function SidebarTooltip({ children, text }) {\n const { isOpen } = useSidebarToggle();\n return (isOpen ? _jsx(_Fragment, { children: children }) :\n _jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: children }), _jsx(TooltipContent, { side: 'right', children: text })] }) }));\n}\nexport function SidebarItem({ external, className, tools, children, icon: Icon, href, to, current, onClick, replace }) {\n const { toggleMobile } = useSidebarToggle();\n const _closeSideBar = () => {\n setTimeout(() => {\n toggleMobile(false);\n }, 100);\n };\n const onClickWrapper = (event) => {\n if (external) {\n window.open(href, '_blank');\n event.preventDefault(); // Prevent default link behavior\n event.stopPropagation(); // Stop the event from propagating\n }\n else if (onClick) {\n onClick(event);\n }\n };\n return (_jsx(\"li\", { children: _jsx(Nav, { to: to, onClick: _closeSideBar, replace: replace, children: _jsx(SidebarTooltip, { text: children, children: _jsxs(\"a\", { href: href, onClick: onClickWrapper, className: clsx(current\n ? 'bg-sidebar-accent text-sidebar-accent-foreground'\n : 'text-sidebar-foreground hover:text-sidebar-accent-foreground hover:bg-sidebar-accent', 'group flex gap-x-3 rounded-md px-2 py-1.5 text-sm items-center h-8', className), children: [Icon &&\n _jsx(Icon, { className: clsx(current\n ? 'bg-sidebar-accent text-sidebar-accent-foreground'\n : 'text-sidebar-foreground hover:text-sidebar-accent-foreground hover:bg-sidebar-accent', 'size-4 shrink-0'), \"aria-hidden\": \"true\" }), children, tools && _jsx(\"div\", { className: 'flex items-center ml-auto', children: tools })] }) }) }) }));\n}\n//# sourceMappingURL=Sidebar.js.map","import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport clsx from 'clsx';\nimport { useEffect, useState } from 'react';\nimport { SidePanel } from '@vertesia/ui/core';\n// import { FullHeightLayout } from './FullHeightLayout.js'\nimport { Navbar } from './Navbar.js';\nimport { Sidebar } from './Sidebar.js';\nimport { SidebarContext } from './SidebarContext.js';\nexport function AppLayout({ sidebarClassName, className, title, children, logo, navbar, sidebar, mainNav }) {\n if (localStorage.getItem('desktopSidebarOpen') === null) {\n localStorage.setItem('desktopSidebarOpen', 'true');\n }\n const [sidebarOpen, setSidebarOpen] = useState(false);\n const [desktopSidebarOpen, setDesktopSidebarOpen] = useState(localStorage.getItem('desktopSidebarOpen') === 'true');\n const [isLargeScreen, setIsLargeScreen] = useState(window.innerWidth >= 1024);\n useEffect(() => {\n const handleResize = () => {\n setIsLargeScreen(window.innerWidth >= 1024);\n };\n window.addEventListener('resize', handleResize);\n return () => window.removeEventListener('resize', handleResize);\n }, []);\n const sidebarContextValue = {\n isOpen: isLargeScreen ? desktopSidebarOpen : sidebarOpen,\n toggleDesktop: (value) => {\n if (value === undefined) {\n setDesktopSidebarOpen(!desktopSidebarOpen);\n }\n else {\n setDesktopSidebarOpen(value);\n }\n localStorage.setItem('desktopSidebarOpen', JSON.stringify(!desktopSidebarOpen));\n },\n toggleMobile: (value) => {\n if (value === undefined) {\n setSidebarOpen(!sidebarOpen);\n }\n else {\n setSidebarOpen(value);\n }\n },\n };\n return (_jsx(_Fragment, { children: _jsx(\"div\", { className: 'flex flex-col h-screen overflow-y-hidden', children: _jsxs(SidebarContext.Provider, { value: sidebarContextValue, children: [_jsx(\"div\", { className: 'w-full', children: mainNav }), _jsxs(\"div\", { className: 'flex h-full overflow-y-auto w-full', children: [_jsx(\"div\", { className: \"lg:hidden\", children: _jsx(SidePanel, { className: 'bg-sidebar', isOpen: sidebarOpen, onClose: () => setSidebarOpen(false), side: \"left\", panelWidth: 288, resizable: false, backdrop: true, children: _jsx(Sidebar, { logo: logo, className: sidebarClassName, children: sidebar }) }) }), _jsx(\"div\", { className: `hidden lg:block relative transition-all duration-300 ${desktopSidebarOpen ? 'w-72' : 'w-12'}`, children: _jsx(Sidebar, { logo: logo, className: sidebarClassName, children: sidebar }) }), _jsxs(\"div\", { className: \"w-full h-full overflow-y-hidden\", children: [navbar ? (_jsx(Navbar, { title: title, logo: logo, children: navbar })) : null, _jsx(\"main\", { className: clsx(\"flex-1 h-full w-full relative flex flex-col\", className), children: children })] })] })] }) }) }));\n}\n//# sourceMappingURL=AppLayout.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { cn } from '@vertesia/ui/core';\nimport { Env } from '@vertesia/ui/env';\nconst regionLabels = {\n eu: 'EU',\n jp: 'JP',\n};\nexport function RegionTag({ className }) {\n const region = Env.region;\n // Only show for non-US regions (US is default, no need to display)\n if (!region || region === 'us')\n return null;\n return (_jsx(\"div\", { className: cn('text-[0.6rem] font-semibold px-1.5 rounded-3xl leading-4', 'bg-info text-white', className), children: regionLabels[region] ?? region.toUpperCase() }));\n}\n//# sourceMappingURL=RegionTag.js.map"],"names":["FullHeightLayout","className","children","_jsx","clsx","Fixed","heightClass","Body","VR","HR","Flex","Tab","SidebarContext","createContext","isOpen","toggleMobile","toggleDesktop","useSidebarToggle","useContext","TitleBar","title","NAMESPACE","i18nInstance","i18next","createInstance","Navbar","logo","onSearch","_jsxs","HamburgerButton","NavbarSeparator","visible","SearchBox","t","useTranslation","i18n","action","method","htmlFor","Search","id","placeholder","type","name","_Fragment","Button","variant","size","onClick","window","innerWidth","Menu","visibility","NavbarIconButton","icon","Icon","NavbarButton","NavbarLink","href","Sidebar","role","SidebarSection","isFooter","header","Dot","SidebarTooltip","text","TooltipProvider","Tooltip","TooltipTrigger","asChild","TooltipContent","side","SidebarItem","external","tools","to","current","replace","Nav","setTimeout","event","open","preventDefault","stopPropagation","AppLayout","sidebarClassName","navbar","sidebar","mainNav","localStorage","getItem","setItem","sidebarOpen","setSidebarOpen","useState","desktopSidebarOpen","setDesktopSidebarOpen","isLargeScreen","setIsLargeScreen","useEffect","handleResize","addEventListener","removeEventListener","sidebarContextValue","value","undefined","JSON","stringify","Provider","SidePanel","onClose","panelWidth","resizable","backdrop","use","initReactI18next","init","resources","ar","de","en","es","fr","it","ja","ko","pt","ru","tr","zh","fallbackLng","ns","defaultNS","interpolation","escapeValue","react","useSuspense","regionLabels","eu","jp","RegionTag","region","Env","cn","toUpperCase"],"mappings":"yhBAEO,SAASA,GAAiBC,UAAEA,EAASC,SAAEA,IAC1C,OAAQC,EAAK,MAAO,CAAEF,UAAWG,EAAK,gBAAiB,SAAU,kBAAmB,OAAQH,GAAYC,SAAUA,GACtH,CACAF,EAAiBK,MAAQ,UAAeC,YAAEA,EAAWL,UAAEA,EAASC,SAAEA,IAC9D,OAAQC,EAAK,MAAO,CAAEF,UAAWG,EAAK,SAAUE,EAAaL,GAAYC,SAAUA,GACvF,EACAF,EAAiBO,KAAO,UAAcN,UAAEA,EAASC,SAAEA,IAC/C,OAAQC,EAAK,MAAO,CAAEF,UAAWG,EAAK,qBAAsB,UAAW,MAAOH,GAAYC,SAAUA,GACxG,EACAF,EAAiBQ,GAAK,aAClB,OAAQL,EAAK,MAAO,CAAEF,UAAW,iCACrC,EACAD,EAAiBS,GAAK,aAClB,OAAQ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AAC/G,GACLgH,UAAWhH,EACXiH,cAAe,CACXC,aAAa,GAEjBC,MAAO,CACHC,aAAa,KKtCrB,MAAMC,EAAe,CACjBC,GAAI,KACJC,GAAI,MAED,SAASC,GAAU5I,UAAEA,IACxB,MAAM6I,EAASC,EAAID,OAEnB,OAAKA,GAAqB,OAAXA,EAEP3I,EAAK,MAAO,CAAEF,UAAW+I,EAAG,2DAA4D,qBAAsB/I,GAAYC,SAAUwI,EAAaI,IAAWA,EAAOG,gBADhK,IAEf"}
|
|
1
|
+
{"version":3,"file":"vertesia-ui-layout.js","sources":["layout/SidebarContext.js","layout/TitleBar.js","layout/Navbar.js","layout/Sidebar.js","layout/AppLayout.js","layout/ErrorPage.js","layout/FullHeightLayout.js","layout/RegionTag.js"],"sourcesContent":["import { createContext, useContext } from 'react';\nexport const SidebarContext = createContext({\n isOpen: false,\n toggleMobile: () => void 0,\n toggleDesktop: () => void 0,\n});\nexport function useSidebarToggle() {\n return useContext(SidebarContext);\n}\n//# sourceMappingURL=SidebarContext.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nexport function TitleBar({ title }) {\n return _jsx(\"div\", { className: \"self-center text-lg font-semibold\", children: title });\n}\n//# sourceMappingURL=TitleBar.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { Button } from '@vertesia/ui/core';\nimport { useUITranslation } from '@vertesia/ui/i18n';\nimport { Menu, Search } from 'lucide-react';\nimport { useSidebarToggle } from './SidebarContext.js';\nimport { TitleBar } from './TitleBar.js';\nexport function Navbar({ children, logo, onSearch, title }) {\n return (_jsxs(\"div\", { className: \"sticky top-0 z-40 flex h-16 shrink-0 items-center gap-x-4 border-b px-4 shadow-2xs sm:gap-x-6 sm:px-6 lg:px-8\", children: [_jsx(HamburgerButton, {}), _jsx(\"div\", { className: \"lg:hidden\", children: logo }), onSearch && _jsx(NavbarSeparator, { visible: \"mobile\" }), _jsxs(\"div\", { className: \"flex flex-1 gap-x-4 self-stretch lg:gap-x-6\", children: [_jsx(TitleBar, { title: title }), onSearch && _jsx(SearchBox, { onSearch: onSearch }), _jsx(\"div\", { className: \"flex items-center gap-x-4 lg:gap-x-6 ms-auto\", children: children })] })] }));\n}\nfunction SearchBox(_props) {\n const { t } = useUITranslation();\n return (_jsxs(\"form\", { className: \"relative flex flex-1\", action: \"#\", method: \"GET\", children: [_jsx(\"label\", { htmlFor: \"search-field\", className: \"sr-only\", children: t('layout.search') }), _jsx(Search, { className: \"pointer-events-none absolute inset-y-0 start-0 h-full w-5 text-gray-400\", \"aria-hidden\": \"true\" }), _jsx(\"input\", { id: \"search-field\", className: \"block h-full w-full border-0 py-0 ps-8 pe-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm\", placeholder: t('layout.searchPlaceholder'), type: \"search\", name: \"search\" })] }));\n}\nexport function HamburgerButton() {\n const { toggleDesktop, toggleMobile } = useSidebarToggle();\n const toggle = () => {\n if (window.innerWidth < 1024) {\n toggleMobile();\n }\n else {\n toggleDesktop();\n }\n };\n return (_jsx(Button, { variant: \"ghost\", size: \"icon\", onClick: () => toggle(), className: \"p-2 rounded-full transition-colors w-full text-center \", children: _jsx(Menu, { \"aria-hidden\": \"true\", size: 24 }) }));\n}\nexport function NavbarSeparator({ visible }) {\n let visibility = '';\n if (visible) {\n visibility = visible === 'mobile' ? 'lg:hidden' : 'hidden lg:block';\n }\n return _jsx(\"div\", { className: `h-6 w-px bg-gray-900/10 dark:bg-slate-900/0.1 ${visibility}`, \"aria-hidden\": \"true\" });\n}\nexport function NavbarIconButton({ title, icon: Icon, onClick }) {\n return (_jsxs(\"button\", { type: \"button\", className: \"-m-2.5 p-2.5 text-gray-400 dark:text-slate-50 hover:text-gray-500\", onClick: onClick, children: [_jsx(\"span\", { className: \"sr-only\", children: title }), _jsx(Icon, { className: \"size-6\", \"aria-hidden\": \"true\", title: title })] }));\n}\nexport function NavbarButton({ children, onClick }) {\n return _jsx(Button, { onClick: onClick, children: children });\n}\nexport function NavbarLink({ href, onClick, children }) {\n return (_jsx(\"a\", { className: \"dark:text-slate-50\", href: href, onClick: onClick, children: children }));\n}\n//# sourceMappingURL=Navbar.js.map","import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@vertesia/ui/core';\nimport { Nav, useRouterContext } from '@vertesia/ui/router';\nimport clsx from 'clsx';\nimport { Dot } from 'lucide-react';\nimport { useSidebarToggle } from './SidebarContext';\nexport function Sidebar({ children, logo, className }) {\n return (_jsxs(\"div\", { className: clsx(className || 'bg-indigo-600 dark:bg-indigo-950', 'flex flex-col h-full'), children: [logo && _jsx(\"div\", { className: \"-mx-2 flex h-auto my-4 shrink-0 self-start\", children: logo }), _jsx(\"div\", { className: \"flex-1 min-h-0 overflow-hidden px-0 lg:px-2\", children: _jsx(\"nav\", { className: \"h-full flex flex-col\", children: _jsx(\"ul\", { className: \"flex flex-col gap-y-2 overflow-y-auto h-full\", children: children }) }) })] }));\n}\nexport function SidebarSection({ children, title, action, isFooter = false, className }) {\n const { isOpen } = useSidebarToggle();\n const header = isOpen ? (_jsxs(_Fragment, { children: [title || '', action] })) : (_jsx(Dot, { className: \"size-6\" }));\n return (_jsxs(\"li\", { className: isFooter ? 'mt-auto' : '', children: [title && (_jsx(\"div\", { className: \"text-xs font-medium h-8 flex items-center gap-x-2 px-2 text-sidebar-foreground/70\", children: header })), _jsx(\"ul\", { \"data-sidebar\": \"menu\", className: clsx('flex w-full min-w-0 flex-col gap-1', className), children: children })] }));\n}\nexport function SidebarTooltip({ children, text }) {\n const { isOpen } = useSidebarToggle();\n return isOpen ? (children) : (_jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: children }), _jsx(TooltipContent, { side: \"right\", children: text })] }) }));\n}\nexport function SidebarItem({ external, className, tools, children, icon: Icon, href, to, current, onClick, replace, skipStickyParams, }) {\n const { toggleMobile } = useSidebarToggle();\n const { router } = useRouterContext();\n // Append the active tenant sticky params (account `a` + project `p`) the router holds to internal\n // hrefs, so opening a nav item in a new tab or copying its address preserves the current\n // account/project.\n const resolvedHref = !skipStickyParams && href.startsWith('/') ? router.getTopRouter().navigator.addStickyParams(href) : href;\n const _closeSideBar = () => {\n setTimeout(() => {\n toggleMobile(false);\n }, 100);\n };\n const onClickWrapper = (event) => {\n if (external) {\n window.open(resolvedHref, '_blank');\n event.preventDefault(); // Prevent default link behavior\n event.stopPropagation(); // Stop the event from propagating\n }\n else if (onClick) {\n onClick(event);\n }\n };\n return (_jsx(\"li\", { children: _jsx(Nav, { to: to, onClick: _closeSideBar, replace: replace, children: _jsx(SidebarTooltip, { text: children, children: _jsxs(\"a\", { href: resolvedHref, onClick: onClickWrapper, className: clsx(current\n ? 'bg-sidebar-accent text-sidebar-accent-foreground'\n : 'text-sidebar-foreground hover:text-sidebar-accent-foreground hover:bg-sidebar-accent', 'group flex gap-x-3 rounded-md px-2 py-1.5 text-sm items-center h-8', className), children: [Icon && (_jsx(Icon, { className: clsx(current\n ? 'bg-sidebar-accent text-sidebar-accent-foreground'\n : 'text-sidebar-foreground hover:text-sidebar-accent-foreground hover:bg-sidebar-accent', 'size-4 shrink-0'), \"aria-hidden\": \"true\" })), children, tools && _jsx(\"div\", { className: \"flex items-center ms-auto\", children: tools })] }) }) }) }));\n}\n//# sourceMappingURL=Sidebar.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { SidePanel } from '@vertesia/ui/core';\nimport { useLanguage } from '@vertesia/ui/i18n';\nimport clsx from 'clsx';\nimport { useEffect, useState } from 'react';\n// import { FullHeightLayout } from './FullHeightLayout.js'\nimport { Navbar } from './Navbar.js';\nimport { Sidebar } from './Sidebar.js';\nimport { SidebarContext } from './SidebarContext.js';\nexport function AppLayout({ sidebarClassName, className, title, children, logo, navbar, sidebar, mainNav, }) {\n if (localStorage.getItem('desktopSidebarOpen') === null) {\n localStorage.setItem('desktopSidebarOpen', 'true');\n }\n const { isRTL } = useLanguage();\n const [sidebarOpen, setSidebarOpen] = useState(false);\n const [desktopSidebarOpen, setDesktopSidebarOpen] = useState(localStorage.getItem('desktopSidebarOpen') === 'true');\n const [isLargeScreen, setIsLargeScreen] = useState(window.innerWidth >= 1024);\n useEffect(() => {\n const handleResize = () => {\n setIsLargeScreen(window.innerWidth >= 1024);\n };\n window.addEventListener('resize', handleResize);\n return () => window.removeEventListener('resize', handleResize);\n }, []);\n const sidebarContextValue = {\n isOpen: isLargeScreen ? desktopSidebarOpen : sidebarOpen,\n toggleDesktop: (value) => {\n if (value === undefined) {\n setDesktopSidebarOpen(!desktopSidebarOpen);\n }\n else {\n setDesktopSidebarOpen(value);\n }\n localStorage.setItem('desktopSidebarOpen', JSON.stringify(!desktopSidebarOpen));\n },\n toggleMobile: (value) => {\n if (value === undefined) {\n setSidebarOpen(!sidebarOpen);\n }\n else {\n setSidebarOpen(value);\n }\n },\n };\n return (_jsx(\"div\", { className: \"flex flex-col h-screen overflow-y-hidden\", children: _jsxs(SidebarContext.Provider, { value: sidebarContextValue, children: [_jsx(\"div\", { className: \"w-full\", children: mainNav }), _jsxs(\"div\", { className: \"flex h-full overflow-y-auto w-full\", children: [_jsx(\"div\", { className: \"lg:hidden\", children: _jsx(SidePanel, { className: \"bg-sidebar\", isOpen: sidebarOpen, onClose: () => setSidebarOpen(false), side: isRTL ? 'right' : 'left', panelWidth: 288, resizable: false, backdrop: true, children: _jsx(Sidebar, { logo: logo, className: sidebarClassName, children: sidebar }) }) }), _jsx(\"div\", { className: `hidden lg:block relative transition-all duration-300 ${desktopSidebarOpen ? 'w-72' : 'w-12'}`, children: _jsx(Sidebar, { logo: logo, className: sidebarClassName, children: sidebar }) }), _jsxs(\"div\", { className: \"w-full h-full overflow-y-hidden\", children: [navbar ? (_jsx(Navbar, { title: title, logo: logo, children: navbar })) : null, _jsx(\"main\", { className: clsx('flex-1 h-full w-full relative flex flex-col', className), children: children })] })] })] }) }));\n}\n//# sourceMappingURL=AppLayout.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { Button } from '@vertesia/ui/core';\nexport function ErrorPage({ title = 'Something went wrong', message = 'An unexpected error occurred. Please try again.', actionLabel = 'Try again', onAction, }) {\n return (_jsx(\"div\", { className: \"flex min-h-screen items-center justify-center bg-white px-6 py-12 text-center\", children: _jsxs(\"div\", { className: \"max-w-md space-y-6\", children: [_jsx(\"div\", { className: \"mx-auto flex h-16 w-16 items-center justify-center rounded-full bg-destructive text-3xl font-semibold text-destructive\", children: \"!\" }), _jsxs(\"div\", { className: \"space-y-2\", children: [_jsx(\"h1\", { className: \"text-2xl font-semibold tracking-tight\", children: title }), _jsx(\"p\", { className: \"text-sm leading-6 text-muted\", children: message })] }), onAction ? _jsx(Button, { onClick: onAction, children: actionLabel }) : null] }) }));\n}\n//# sourceMappingURL=ErrorPage.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport clsx from 'clsx';\nexport function FullHeightLayout({ className, children }) {\n return _jsx(\"div\", { className: clsx('flex flex-col', 'h-full', 'overflow-y-auto', 'px-2', className), children: children });\n}\nFullHeightLayout.Fixed = function Fixed({ heightClass, className, children }) {\n return _jsx(\"div\", { className: clsx('w-full', heightClass, className), children: children });\n};\nFullHeightLayout.Body = function Body({ className, children }) {\n return _jsx(\"div\", { className: clsx('grow overflow-auto', 'min-h-0', 'p-2', className), children: children });\n};\nFullHeightLayout.VR = function VDivider() {\n return _jsx(\"div\", { className: \"w-[1px] border border-red-200\" });\n};\nFullHeightLayout.HR = function HDivider() {\n return _jsx(\"div\", { className: \"w-full h-1 border-b border-red-200\" });\n};\nFullHeightLayout.Flex = function Flex({ className, children }) {\n return _jsx(\"div\", { className: clsx('grow flex flex-col', 'overflow-hidden min-h-0', 'p-2', className), children: children });\n};\nFullHeightLayout.Tab = function Tab({ children }) {\n return _jsx(\"div\", { className: \"flex flex-col h-full\", children: children });\n};\n//# sourceMappingURL=FullHeightLayout.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { cn } from '@vertesia/ui/core';\nimport { Env } from '@vertesia/ui/env';\nconst regionLabels = {\n eu: 'EU',\n jp: 'JP',\n};\nexport function RegionTag({ className }) {\n const region = Env.region;\n // Only show for non-US regions (US is default, no need to display)\n if (!region || region === 'us')\n return null;\n return (_jsx(\"div\", { className: cn('text-[0.6rem] font-semibold px-1.5 rounded-3xl leading-4', 'bg-info text-white', className), children: regionLabels[region] ?? region.toUpperCase() }));\n}\n//# sourceMappingURL=RegionTag.js.map"],"names":["SidebarContext","createContext","isOpen","toggleMobile","toggleDesktop","useSidebarToggle","useContext","TitleBar","title","_jsx","className","children","Navbar","logo","onSearch","_jsxs","HamburgerButton","NavbarSeparator","visible","SearchBox","_props","t","useUITranslation","action","method","htmlFor","Search","id","placeholder","type","name","Button","variant","size","onClick","window","innerWidth","Menu","visibility","NavbarIconButton","icon","Icon","NavbarButton","NavbarLink","href","Sidebar","clsx","SidebarSection","isFooter","header","_Fragment","Dot","SidebarTooltip","text","TooltipProvider","Tooltip","TooltipTrigger","asChild","TooltipContent","side","SidebarItem","external","tools","to","current","replace","skipStickyParams","router","useRouterContext","resolvedHref","startsWith","getTopRouter","navigator","addStickyParams","Nav","setTimeout","event","open","preventDefault","stopPropagation","AppLayout","sidebarClassName","navbar","sidebar","mainNav","localStorage","getItem","setItem","isRTL","useLanguage","sidebarOpen","setSidebarOpen","useState","desktopSidebarOpen","setDesktopSidebarOpen","isLargeScreen","setIsLargeScreen","useEffect","handleResize","addEventListener","removeEventListener","sidebarContextValue","value","undefined","JSON","stringify","Provider","SidePanel","onClose","panelWidth","resizable","backdrop","ErrorPage","message","actionLabel","onAction","FullHeightLayout","Fixed","heightClass","Body","VR","HR","Flex","Tab","regionLabels","eu","jp","RegionTag","region","Env","cn","toUpperCase"],"mappings":"yhBACY,MAACA,EAAiBC,EAAc,CACxCC,QAAQ,EACRC,aAAc,OACdC,cAAe,SAEZ,SAASC,IACZ,OAAOC,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AiBI,GAAK,WAClB,OAAO/G,EAAK,MAAO,CAAEC,UAAW,iCACpC,EACA0G,EAAiBK,GAAK,WAClB,OAAOhH,EAAK,MAAO,CAAEC,UAAW,sCACpC,EACA0G,EAAiBM,KAAO,UAAchH,UAAEA,EAASC,SAAEA,IAC/C,OAAOF,EAAK,MAAO,CAAEC,UAAWoC,EAAK,qBAAsB,0BAA2B,MAAOpC,GAAYC,SAAUA,GACvH,EACAyG,EAAiBO,IAAM,UAAahH,SAAEA,IAClC,OAAOF,EAAK,MAAO,CAAEC,UAAW,uBAAwBC,SAAUA,GACtE,ECnBA,MAAMiH,EAAe,CACjBC,GAAI,KACJC,GAAI,MAED,SAASC,GAAUrH,UAAEA,IACxB,MAAMsH,EAASC,EAAID,OAEnB,OAAKA,GAAqB,OAAXA,EAEPvH,EAAK,MAAO,CAAEC,UAAWwH,EAAG,2DAA4D,qBAAsBxH,GAAYC,SAAUiH,EAAaI,IAAWA,EAAOG,gBADhK,IAEf"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as t,jsxs as e}from"react/jsx-runtime";import{useRef as n,useEffect as a,createContext as r,useContext as i,useState as s,useMemo as o}from"react";import{useSafeLayoutEffect as h}from"@vertesia/ui/core";function c(t){return"/"===t||""===t}function l(t,e){return e=t.endsWith("/")&&e.startsWith("/")?t+e.substring(1):t.endsWith("/")||e.startsWith("/")?t+e:t+"/"+e}function u(t){if(""===t)return[];if("/"===t)return[""];let e=0,n=t.length;return t.startsWith("./")?e=2:t.startsWith("/")&&(e=1),t.endsWith("/")&&(n=t.length-1),(e>0||n<t.length?t.substring(e,n):t).split("/")}function d(t){if("string"==typeof t)return u(t);if(Array.isArray(t))return t;throw new Error(`Unsupported path object: ${t}`)}var p=Object.freeze({__proto__:null,getPathSegments:u,isRootPath:c,joinPath:l,toSegments:d});class m{path;params;hash;constructor(t){let e=t.lastIndexOf("#");e>-1?(this.hash=t.substring(e),t=t.substring(0,e)):this.hash="",e=t.indexOf("?"),e>-1?(this.path=t.substring(0,e),this.params=new URLSearchParams(t.substring(e+1))):(this.path=t,this.params=new URLSearchParams)}add(t){for(const[e,n]of Object.entries(t))this.params.set(e,n);return this}toString(){return this.path+"?"+this.params.toString()+this.hash}}const f=Symbol("BASE_PATH");class g{name;type;location;state;_canceled=!1;constructor(t,e,n,a){this.name=t,this.type=e,this.location=n,this.state=a}get isPageLoad(){return"initial"===this.type}get isBackForward(){return"popState"===this.type}get isLinkClick(){return"linkClick"===this.type}get isNavigation(){return"navigate"===this.type}get isCancelable(){return"beforeChange"===this.name}cancel(){if("afterChange"===this.name)throw new Error("Cannot cancel afterChange event");this._canceled=!0}}class w extends g{constructor(t,e,n){super("beforeChange",t,e,n)}}class v extends g{constructor(t,e,n){super("afterChange",t,e,n)}}class P{stickyParams;_popStateListener;_linkNavListener;_listeners=[];constructor(){}addListener(t){this._listeners.push(t)}fireLocationChange(t){for(const e of this._listeners)e(t)}firePageLoad(){this.fireLocationChange(new v("initial",new URL(window.location.href)))}addStickyParams(t){return this.stickyParams?new m(t).add(this.stickyParams).toString():t}navigate(t,e={}){if(e.stepsBack&&e.stepsBack>0)this.stepBack(e.stepsBack,e);else{if(e.basePath){let n=e.basePath;n.startsWith("/")||(n="/"+n),t=l(n,t)}t=this.addStickyParams(t),this._navigate(new URL(t,window.location.href),"navigate",e)}}stepBack(t,e={}){const n=window.history.state.historyChain||[],a=n.length>=t?new URL(n[n.length-t].href,window.location.href):new URL(window.location.origin,window.location.href);this._navigate(a,"popState",e);const r={from:window.location.href,historyChain:n.slice(0,-t),data:e.state||void 0,title:e.title||document.title};window.history.replaceState(r,"",a.href),this.fireLocationChange(new v("popState",a,e.state))}_navigate(t,e,n){const a=new w(e,t,n.state);if(this.fireLocationChange(a),a._canceled)return;const r=window.history.state,i={title:n.title||document.title,href:window.location.pathname+window.location.search+window.location.hash};let s=[];!n.replace&&r?.historyChain&&(s=[...r.historyChain]),n.replace||(s.push(i),s.length>10&&(s=s.slice(-10)));const o={from:window.location.href,historyChain:s,data:n.state||void 0,title:n.title||document.title};window.history[n.replace?"replaceState":"pushState"](o,"",t.href),this.fireLocationChange(new v(e,t,n.state))}start(){if("undefined"==typeof window)return;const t=t=>{let e;const n=new URL(window.location.href);let a;t.state?(e="popState",a=t.state.data):e="linkClick",this.fireLocationChange(new v(e,n,a))};this._popStateListener=t,this._linkNavListener=t=>{const e=t.target;if("a"===e.tagName.toLowerCase()&&(e.hasAttribute("download")||e.href?.startsWith("blob:")))return;const n=function(t){if(t&&"a"===t.tagName.toLowerCase()){const e=t?.href.trim();if("string"==typeof e&&e.length>0)return new URL(e)}return null}(e);if(n&&n.origin===window.location.origin){t.preventDefault();const e=new URL(this.addStickyParams(n.href)),a=t[f]||t.target[f];a&&(e.pathname=l(a,e.pathname)),this._navigate(e,"linkClick",{})}},window.addEventListener("popstate",t),document.body.addEventListener("click",this._linkNavListener)}stop(){this._popStateListener&&window.removeEventListener("popstate",this._popStateListener),this._linkNavListener&&document.body.removeEventListener("click",this._linkNavListener)}}function b({basePath:e,children:r}){const i=n(null);return a(()=>{if(i.current){const t=i.current,n=t=>{"a"===t.target.tagName.toLowerCase()&&(t[f]=e)};return t.addEventListener("click",n),()=>{t.removeEventListener("click",n)}}},[i.current]),t("div",{ref:i,className:"h-full w-full",children:r})}class L{tree=new C;loadMapping(t){for(const[e,n]of Object.entries(t))this.addSegments(u(e),n)}addPath(t,e){this.addSegments(u(t),e)}addSegments(t,e){let n=this.tree;for(let a=0,r=t.length;a<r;a++){const i=t[a];if(":"===i[0]){let e=n.wildcard;if(e){if(!(e instanceof S))throw new Error(`Failed to index path segments: ${t.join("/")}. A wildcard ":" segment will overwrite an existing wildcard segment at path: ${"/"+t.slice(0,a).join("/")}`)}else e=new S(i),n.wildcard=e;n=e}else{if("*"===i){if(n.wildcard)throw new Error(`Failed to index path segments: ${t.join("/")}. A wildcard "*" segment already exists at path: ${"/"+t.slice(0,a).join("/")}`);if(n.wildcard=new _(i,e),a<r-1)throw new Error(`Failed to index path segments: ${t.join("/")}. A wildcard segment must be the last segment`);return}{let t=n.children[i];t||(t=new k(i),n.children[i]=t),n=t}}}if(void 0!==n.value)throw new Error(`Failed to index path segments: ${t.join("/")}. A value already exists at path: ${"/"+t.join("/")}`);n.value=e}match(t){const e=d(t);if(0===e.length)return null;const n={};let a,r,i=this.tree;for(const t of e){const e=i.match(t,n);if(!e)return null;i=e}if(!i.value){if(i instanceof y&&i.wildcard instanceof _&&(i=i.wildcard.match("",n),!i.value))throw new Error("Wildcard segment node `*` must have a value");if(!i.value)return null}return n._&&n._.length>0?(a=e.slice(0,-n._.length),r=n._):a=e,{params:n,matchedSegments:a,remainingSegments:r,value:i.value}}}class y{name;value;children={};wildcard;constructor(t,e){this.name=t,this.value=e}match(t,e){let n=this.children[t];if(n)return n;if(this.wildcard){if(this.wildcard instanceof _)return this.wildcard.match(t,e);if(this.wildcard instanceof S)return e[this.wildcard.paramName]=t,this.wildcard;throw new Error("Unknown wildcard segment node type: "+this.wildcard.constructor.name)}return null}}class C extends y{constructor(){super("#root")}}class k extends y{constructor(t,e){super(t,e)}}class S extends y{paramName;constructor(t,e){super(t,e),this.paramName=t.substring(1)}}class _{name;value;constructor(t,e){this.name=t,this.value=e}match(t,e){return e._?t&&e._.push(t):e._=t?[t]:[],this}}class x{index;matcher=new L;constructor(t,e){this.index=e;for(const e of t)this.matcher.addPath(e.path,e)}match(t){const e=c(t)&&this.index;return this.matcher.match(e?this.index:t)}}class R extends x{prompt;observer;navigator=new P;constructor(t,e){super(t),this.navigator.addListener(t=>{if((!(t.isCancelable&&this.prompt&&this.prompt.when)||window.confirm(this.prompt.message))&&(this.observer&&this.observer(t),"afterChange"===t.name)){const n=this.match(t.location.pathname);n&&n.value?e({...n,state:t.state}):e(null)}})}getTopRouter(){return this}setStickyParams(t){this.navigator.stickyParams=null!=t?t:void 0}withObserver(t){return this.observer=t,this}start(){this.navigator.start(),this.navigator.firePageLoad()}stop(){this.navigator.stop()}navigate(t,e){this.navigator.navigate(t,e)}}class E extends x{parent;basePath;constructor(t,e,n){super(n),this.parent=t,this.basePath=e}getTopRouter(){return this.parent instanceof R?this.parent:this.parent.getTopRouter()}navigate(t,e){let n;if(e?.isBasePathNested??!0){const a=e?.basePath;n=a?l(this.basePath,a):this.basePath,this.parent.navigate(t,{...e,basePath:n})}else this.parent.navigate(t,{...e,basePath:e?.basePath})}}const N=r(void 0);function j(){const t=i(N);if(!t)throw new Error("useRouter must be used within a RouterProvider");return t}function U(){const{navigate:t}=j();return t}function A(){const{matchedRoutePath:t,router:e}=j();return e instanceof E?e.basePath:t}function B(t){const{params:e}=j();return t?e[t]:e}function W(){const{location:t}=j();return t}function $(t){a(()=>{const e=document.title;return document.title=t,()=>{document.title=e}},[t])}function O(t){const{router:e}=j();a(()=>(e.getTopRouter().prompt=t,()=>{e.getTopRouter().prompt=void 0}),[]),a(()=>{if(t.when){const e=t.when,n=function(t){e&&(t.preventDefault(),t.returnValue="")};return window.addEventListener("beforeunload",n),()=>{window.removeEventListener("beforeunload",n)}}},[t.when])}function T({children:e,to:n,onClick:a,replace:r=!0}){const i=U();return t("span",{onClick:t=>{const e=t.target.closest("a"),s=e?.getAttribute("href"),o=n??s;e&&o&&(t.stopPropagation(),t.preventDefault(),i(o,{replace:r}),a?.(t))},children:e})}function z({children:e,href:n,className:a,topLevelNav:r,clearBreadcrumbs:i=!1}){const{router:s}=j();return t("a",{href:n,className:a,onClick:t=>{t.stopPropagation(),t.preventDefault();(r?s.getTopRouter():s).navigate(n,{replace:i})},children:e})}function F({spinner:e}){const n=j(),a=n.route;if(a.Component){const e=a.Component;return t(e,{...n.params})}if(a.LazyComponent)return t(D,{route:a,spinner:e});throw new Error(`Invalid route for ${a.path}. Either Component or LazyCOmponent must be specified.`)}function D({route:e,spinner:n}){const[r,i]=s(null);return a(()=>{e.LazyComponent().then(t=>{if(!t.default)throw new Error(`Lazy module for ${e.path} does not have a default export`);i(()=>t.default)})},[e]),r?t(r,{}):n||null}function I({basePath:e,fixLinks:n=!1,children:a}){const r=j(),i=n?e=>t(b,{basePath:r.matchedRoutePath,children:e}):t=>t;return t(N.Provider,{value:{...r,navigate:(t,n)=>{if(!1===n?.isBasePathNested)return r.navigate(t,n);const a=n?.basePath?l(e,n.basePath):e;return r.navigate(t,{...n,basePath:a})}},children:i(a||t(F,{}))})}function H(){const t=j();return e("div",{children:["Route not found for path ",t.matchedRoutePath]})}function M(){return{params:{},matchedSegments:[],state:null,value:{path:"virtual:404",Component:()=>t(H,{})}}}function V({routes:e,index:n,children:r,fixLinks:i=!1}){const h=j(),[c,l]=s(void 0),u=o(()=>{if("undefined"==typeof window)return null;const t=h.matchedRoutePath,a=new E(h.router,t,e);return a.index=n,a},[]);a(()=>{if(u){if(h.matchedRoutePath!==u.basePath)return;const t=u.match(h.remainingPath||"/")||M();l(t)}},[u,h.remainingPath]);const d=i?e=>t(b,{basePath:h.matchedRoutePath,children:e}):t=>t;return c&&t(N.Provider,{value:{...h,router:u,route:c.value,params:c.params,matchedRoutePath:"/"+c.matchedSegments.join("/"),remainingPath:c.remainingSegments?"/"+c.remainingSegments.join("/"):void 0,navigate:(t,e)=>{if(u)return u.navigate(t,e)}},children:d(r||t(F,{}))})}function q({routes:e,index:n,onChange:a,children:r}){const[i,c]=s(void 0),l=o(()=>{if("undefined"==typeof window)return null;const t=new R(e,e=>{null===e&&(e=M()),c({location:window.location,route:e.value,params:e.params,state:e.state,router:t,matchedRoutePath:"/"+e.matchedSegments.join("/"),remainingPath:e.remainingSegments?"/"+e.remainingSegments.join("/"):void 0,navigate:(e,n)=>t.navigate(e,n)})}).withObserver(a);return t.index=n,t},[]);return h(()=>(l&&l.start(),()=>{l&&l.stop()}),[]),i&&t(N.Provider,{value:i,children:r||t(F,{})})}export{v as AfterLocationChangeEvent,f as BASE_PATH,x as BaseRouter,w as BeforeLocationChangeEvent,b as FixLinks,P as HistoryNavigator,g as LocationChangeEvent,T as Nav,z as NavLink,I as NestedNavigationContext,E as NestedRouter,V as NestedRouterProvider,p as Path,L as PathMatcher,N as ReactRouterContext,F as RouteComponent,R as Router,q as RouterProvider,W as useLocation,U as useNavigate,O as useNavigationPrompt,$ as usePageTitle,B as useParams,A as useRouterBasePath,j as useRouterContext};
|
|
1
|
+
import{jsx as t,jsxs as e}from"react/jsx-runtime";import{useRef as n,useEffect as a,createContext as r,useContext as i,useState as s,useMemo as o}from"react";import{useSafeLayoutEffect as h}from"@vertesia/ui/core";class c{path;params;hash;constructor(t){let e=t.lastIndexOf("#");e>-1?(this.hash=t.substring(e),t=t.substring(0,e)):this.hash="",e=t.indexOf("?"),e>-1?(this.path=t.substring(0,e),this.params=new URLSearchParams(t.substring(e+1))):(this.path=t,this.params=new URLSearchParams)}add(t){for(const[e,n]of Object.entries(t))this.params.set(e,n);return this}toString(){return`${this.path}?${this.params.toString()}${this.hash}`}}function l(t){return"/"===t||""===t}function d(t,e){return e=t.endsWith("/")&&e.startsWith("/")?t+e.substring(1):t.endsWith("/")||e.startsWith("/")?t+e:`${t}/${e}`}function u(t){if(""===t)return[];if("/"===t)return[""];let e=0,n=t.length;return t.startsWith("./")?e=2:t.startsWith("/")&&(e=1),t.endsWith("/")&&(n=t.length-1),(e>0||n<t.length?t.substring(e,n):t).split("/")}function m(t){if("string"==typeof t)return u(t);if(Array.isArray(t))return t;throw new Error(`Unsupported path object: ${t}`)}var f=Object.freeze({__proto__:null,getPathSegments:u,isRootPath:l,joinPath:d,toSegments:m});const p=Symbol("BASE_PATH");class w{name;type;location;state;_canceled=!1;constructor(t,e,n,a){this.name=t,this.type=e,this.location=n,this.state=a}get isPageLoad(){return"initial"===this.type}get isBackForward(){return"popState"===this.type}get isLinkClick(){return"linkClick"===this.type}get isNavigation(){return"navigate"===this.type}get isCancelable(){return"beforeChange"===this.name}cancel(){if("afterChange"===this.name)throw new Error("Cannot cancel afterChange event");this._canceled=!0}}class g extends w{constructor(t,e,n){super("beforeChange",t,e,n)}}class v extends w{constructor(t,e,n){super("afterChange",t,e,n)}}class P{stickyParams;_popStateListener;_linkNavListener;_listeners=[];addListener(t){this._listeners.push(t)}fireLocationChange(t){for(const e of this._listeners)e(t)}firePageLoad(){this.fireLocationChange(new v("initial",new URL(window.location.href)))}addStickyParams(t){return this.stickyParams?new c(t).add(this.stickyParams).toString():t}normalizeCurrentUrl(){if("undefined"==typeof window||!this.stickyParams)return;const t=window.location.pathname+window.location.search+window.location.hash,e=this.addStickyParams(t);if(e!==t){const t=new URL(e,window.location.href);window.history.replaceState(window.history.state,"",t.href)}}navigate(t,e={}){if(e.stepsBack&&e.stepsBack>0)this.stepBack(e.stepsBack,e);else{if(e.basePath){let n=e.basePath;n.startsWith("/")||(n=`/${n}`),t=d(n,t)}t=this.addStickyParams(t),this._navigate(new URL(t,window.location.href),"navigate",e)}}stepBack(t,e={}){const n=window.history.state.historyChain||[],a=n.length>=t?new URL(n[n.length-t].href,window.location.href):new URL(window.location.origin,window.location.href);this._navigate(a,"popState",e);const r={from:window.location.href,historyChain:n.slice(0,-t),data:e.state||void 0,title:e.title||document.title};window.history.replaceState(r,"",a.href),this.fireLocationChange(new v("popState",a,e.state))}_navigate(t,e,n){const a=new g(e,t,n.state);if(this.fireLocationChange(a),a._canceled)return;const r=window.history.state,i={title:n.title||document.title,href:window.location.pathname+window.location.search+window.location.hash};let s=[];!n.replace&&r?.historyChain&&(s=[...r.historyChain]),n.replace||(s.push(i),s.length>10&&(s=s.slice(-10)));const o={from:window.location.href,historyChain:s,data:n.state||void 0,title:n.title||document.title};window.history[n.replace?"replaceState":"pushState"](o,"",t.href),this.fireLocationChange(new v(e,t,n.state))}start(){if("undefined"==typeof window)return;const t=t=>{let e;const n=new URL(window.location.href);let a;t.state?(e="popState",a=t.state.data):e="linkClick",this.fireLocationChange(new v(e,n,a))};this._popStateListener=t,this._linkNavListener=t=>{const e=t.target;if("a"===e.tagName.toLowerCase()&&(e.hasAttribute("download")||e.href?.startsWith("blob:")))return;const n=function(t){if(t&&"a"===t.tagName.toLowerCase()){const e=t?.href.trim();if("string"==typeof e&&e.length>0)return new URL(e)}return null}(e);if(n&&n.origin===window.location.origin){t.preventDefault();const e=new URL(this.addStickyParams(n.href)),a=t[p]||t.target[p];a&&(e.pathname=d(a,e.pathname)),this._navigate(e,"linkClick",{})}},window.addEventListener("popstate",t),document.body.addEventListener("click",this._linkNavListener)}stop(){this._popStateListener&&window.removeEventListener("popstate",this._popStateListener),this._linkNavListener&&document.body.removeEventListener("click",this._linkNavListener)}}function b({basePath:e,children:r}){const i=n(null);return a(()=>{if(i.current){const t=i.current,n=t=>{"a"===t.target.tagName.toLowerCase()&&(t[p]=e)};return t.addEventListener("click",n),()=>{t.removeEventListener("click",n)}}},[e]),t("div",{ref:i,className:"h-full w-full",children:r})}class L{tree=new k;loadMapping(t){for(const[e,n]of Object.entries(t))this.addSegments(u(e),n)}addPath(t,e){this.addSegments(u(t),e)}addSegments(t,e){let n=this.tree;for(let a=0,r=t.length;a<r;a++){const i=t[a];if(":"===i[0]){let e=n.wildcard;if(e){if(!(e instanceof S))throw new Error(`Failed to index path segments: ${t.join("/")}. A wildcard ":" segment will overwrite an existing wildcard segment at path: /${t.slice(0,a).join("/")}`)}else e=new S(i),n.wildcard=e;n=e}else{if("*"===i){if(n.wildcard)throw new Error(`Failed to index path segments: ${t.join("/")}. A wildcard "*" segment already exists at path: /${t.slice(0,a).join("/")}`);if(n.wildcard=new _(i,e),a<r-1)throw new Error(`Failed to index path segments: ${t.join("/")}. A wildcard segment must be the last segment`);return}{let t=n.children[i];t||(t=new C(i),n.children[i]=t),n=t}}}if(void 0!==n.value)throw new Error(`Failed to index path segments: ${t.join("/")}. A value already exists at path: /${t.join("/")}`);n.value=e}match(t){const e=m(t);if(0===e.length)return null;const n={};let a,r,i=this.tree;for(const t of e){const e=i.match(t,n);if(!e)return null;i=e}if(!i.value){if(i instanceof y&&i.wildcard instanceof _&&(i=i.wildcard.match("",n),!i.value))throw new Error("Wildcard segment node `*` must have a value");if(!i.value)return null}return n._&&n._.length>0?(a=e.slice(0,-n._.length),r=n._):a=e,{params:n,matchedSegments:a,remainingSegments:r,value:i.value}}}class y{name;value;children={};wildcard;constructor(t,e){this.name=t,this.value=e}match(t,e){const n=this.children[t];if(n)return n;if(this.wildcard){if(this.wildcard instanceof _)return this.wildcard.match(t,e);if(this.wildcard instanceof S)return e[this.wildcard.paramName]=t,this.wildcard;throw new Error(`Unknown wildcard segment node type: ${this.wildcard.constructor.name}`)}return null}}class k extends y{constructor(){super("#root")}}class C extends y{}class S extends y{paramName;constructor(t,e){super(t,e),this.paramName=t.substring(1)}}class _{name;value;constructor(t,e){this.name=t,this.value=e}match(t,e){return e._?t&&e._.push(t):e._=t?[t]:[],this}}class x{index;matcher=new L;constructor(t,e){this.index=e;for(const e of t)this.matcher.addPath(e.path,e)}match(t){const e=l(t)&&this.index;return this.matcher.match(e?this.index:t)}}class R extends x{prompt;observer;navigator=new P;constructor(t,e){super(t),this.navigator.addListener(t=>{if((!t.isCancelable||!this.prompt?.when||window.confirm(this.prompt.message))&&(this.observer&&this.observer(t),"afterChange"===t.name)){const n=this.match(t.location.pathname);e(n?.value?{...n,state:t.state}:null)}})}getTopRouter(){return this}setStickyParams(t){this.navigator.stickyParams=null!=t?t:void 0,this.navigator.normalizeCurrentUrl()}withObserver(t){return this.observer=t,this}start(){this.navigator.start(),this.navigator.firePageLoad()}stop(){this.navigator.stop()}navigate(t,e){this.navigator.navigate(t,e)}}class E extends x{parent;basePath;constructor(t,e,n){super(n),this.parent=t,this.basePath=e}getTopRouter(){return this.parent instanceof R?this.parent:this.parent.getTopRouter()}navigate(t,e){let n;if(e?.isBasePathNested??!0){const a=e?.basePath;n=a?d(this.basePath,a):this.basePath,this.parent.navigate(t,{...e,basePath:n})}else this.parent.navigate(t,{...e,basePath:e?.basePath})}}const $=r(void 0);function N(){const t=i($);if(!t)throw new Error("useRouter must be used within a RouterProvider");return t}function j(){const{navigate:t}=N();return t}function U(){const{matchedRoutePath:t,router:e}=N();return e instanceof E?e.basePath:t}function W(t){const{params:e}=N();return t?e[t]:e}function A(){const{location:t}=N();return t}function B(t){a(()=>{const e=document.title;return document.title=t,()=>{document.title=e}},[t])}function z(t){const{router:e}=N(),n=e.getTopRouter();a(()=>(n.prompt=t,()=>{n.prompt=void 0}),[t,n]),a(()=>{if(t.when){const e=t.when,n=t=>{e&&(t.preventDefault(),t.returnValue="")};return window.addEventListener("beforeunload",n),()=>{window.removeEventListener("beforeunload",n)}}},[t.when])}function O({children:e,to:n,onClick:a,replace:r=!0}){const i=j();return t("span",{onClick:t=>{const e=t.target.closest("a"),s=e?.getAttribute("href"),o=n??s;e&&o&&(t.stopPropagation(),t.preventDefault(),i(o,{replace:r}),a?.(t))},children:e})}function T({children:e,href:n,className:a,target:r,topLevelNav:i,clearBreadcrumbs:s=!1,replace:o,skipStickyParams:h}){const{router:c}=N(),l=!n||n.startsWith("#"),d=/^[a-z][a-z0-9+.-]*:/i.test(n)||n.startsWith("//")||!!r&&"_self"!==r,u=!l&&!d,m=!h&&u?c.getTopRouter().navigator.addStickyParams(n):n;return t("a",{href:m,className:a,target:r,onClick:t=>{if(t.defaultPrevented||!u)return;t.stopPropagation(),t.preventDefault();(i?c.getTopRouter():c).navigate(n,{replace:o??s})},children:e})}function F({spinner:e}){const n=N(),a=n.route;if(a.Component){const e=a.Component;return t(e,{...n.params})}if(a.LazyComponent)return t(D,{route:a,spinner:e});throw new Error(`Invalid route for ${a.path}. Either Component or LazyCOmponent must be specified.`)}function D({route:e,spinner:n}){const[r,i]=s(null);return a(()=>{e.LazyComponent().then(t=>{if(!t.default)throw new Error(`Lazy module for ${e.path} does not have a default export`);i(()=>t.default)})},[e]),r?t(r,{}):n||null}function I({basePath:e,fixLinks:n=!1,children:a}){const r=N(),i=n?e=>t(b,{basePath:r.matchedRoutePath,children:e}):t=>t;return t($.Provider,{value:{...r,navigate:(t,n)=>{if(!1===n?.isBasePathNested)return r.navigate(t,n);const a=n?.basePath?d(e,n.basePath):e;return r.navigate(t,{...n,basePath:a})}},children:i(a||t(F,{}))})}function H(){const t=N();return e("div",{children:["Route not found for path ",t.matchedRoutePath]})}function M(){return{params:{},matchedSegments:[],state:null,value:{path:"virtual:404",Component:()=>t(H,{})}}}function V({routes:e,index:a,children:r,fixLinks:i=!1}){const s=N(),h=n(s.matchedRoutePath),c=o(()=>{if("undefined"==typeof window)return null;const t=new E(s.router,h.current,e);return t.index=a,t},[s.router,a,e]),l=o(()=>{if(c&&s.matchedRoutePath===c.basePath)return c.match(s.remainingPath||"/")||M()},[s.matchedRoutePath,s.remainingPath,c]),d=i?e=>t(b,{basePath:s.matchedRoutePath,children:e}):t=>t;return l&&t($.Provider,{value:{...s,router:c,route:l.value,params:l.params,matchedRoutePath:`/${l.matchedSegments.join("/")}`,remainingPath:l.remainingSegments?`/${l.remainingSegments.join("/")}`:void 0,navigate:(t,e)=>{if(c)return c.navigate(t,e)}},children:d(r||t(F,{}))})}function q({routes:e,index:n,onChange:a,children:r}){const[i,c]=s(void 0),l=o(()=>{if("undefined"==typeof window)return null;const t=new R(e,e=>{null===e&&(e=M()),c({location:window.location,route:e.value,params:e.params,state:e.state,router:t,matchedRoutePath:`/${e.matchedSegments.join("/")}`,remainingPath:e.remainingSegments?`/${e.remainingSegments.join("/")}`:void 0,navigate:(e,n)=>t.navigate(e,n)})}).withObserver(a);return t.index=n,t},[n,a,e]);return h(()=>(l?.start(),()=>{l?.stop()}),[l]),i&&t($.Provider,{value:i,children:r||t(F,{})})}export{v as AfterLocationChangeEvent,p as BASE_PATH,x as BaseRouter,g as BeforeLocationChangeEvent,b as FixLinks,P as HistoryNavigator,w as LocationChangeEvent,O as Nav,T as NavLink,I as NestedNavigationContext,E as NestedRouter,V as NestedRouterProvider,f as Path,L as PathMatcher,$ as ReactRouterContext,F as RouteComponent,R as Router,q as RouterProvider,A as useLocation,j as useNavigate,z as useNavigationPrompt,B as usePageTitle,W as useParams,U as useRouterBasePath,N as useRouterContext};
|
|
2
2
|
//# sourceMappingURL=vertesia-ui-router.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vertesia-ui-router.js","sources":["esm/router/path.js","esm/router/PathWithParams.js","esm/router/HistoryNavigator.js","esm/router/FixLinks.js","esm/router/PathMatcher.js","esm/router/Router.js","esm/router/Nav.js","esm/router/RouteComponent.js","esm/router/NestedNavigationContext.js","esm/router/Route404.js","esm/router/NestedRouterProvider.js","esm/router/RouterProvider.js"],"sourcesContent":["export function isRootPath(path) {\n return path === '/' || path === '';\n}\nexport function joinPath(path1, path2) {\n if (path1.endsWith('/') && path2.startsWith('/')) {\n path2 = path1 + path2.substring(1);\n }\n else if (path1.endsWith('/')) {\n path2 = path1 + path2;\n }\n else if (path2.startsWith('/')) {\n path2 = path1 + path2;\n }\n else {\n path2 = path1 + '/' + path2;\n }\n return path2;\n}\nexport function getPathSegments(path) {\n if (path === '') {\n return [];\n }\n if (path === '/') {\n return [''];\n }\n let s = 0, e = path.length;\n if (path.startsWith('./')) {\n s = 2;\n }\n else if (path.startsWith('/')) {\n s = 1;\n }\n if (path.endsWith('/')) {\n e = path.length - 1;\n }\n return (s > 0 || e < path.length ? path.substring(s, e) : path).split('/');\n}\nexport function toSegments(path) {\n if (typeof path === 'string') {\n return getPathSegments(path);\n }\n else if (Array.isArray(path)) {\n return path;\n }\n else {\n throw new Error(`Unsupported path object: ${path}`);\n }\n}\n// export class Path {\n// static parse(path: string, abs = false) {\n// if (abs !== undefined) {\n// abs = path.startsWith('/');\n// }\n// return new Path(getPathSegments(path), abs);\n// }\n// constructor(public segments: string[], public isAbsolute = false) {\n// }\n// getParameters() {\n// const out = [];\n// for (const segment of this.segments) {\n// if (segment[0] === ':') {\n// out.push(segment.substring(1));\n// }\n// }\n// if (this.segments[this.segments.length - 1] === '*') {\n// out.push('_');\n// }\n// return out;\n// }\n// resolveParameters(path: string) {\n// const params: PathMatchParams = {};\n// const resolvedSegments = getPathSegments(path);\n// if (resolvedSegments.length < this.segments.length) {\n// return null;\n// }\n// const segments = this.segments;\n// for (let i = 0, l = segments.length; i < l; i++) {\n// const seg = segments[i];\n// if (seg[0] === ':') {\n// params[seg.substring(1)] = resolvedSegments[i];\n// }\n// }\n// if (resolvedSegments.length - this.segments.length) {\n// params._ = resolvedSegments.slice(this.segments.length);\n// }\n// return params;\n// }\n// match(path: string | string[] | Path) {\n// const segments = toSegments(path);\n// if (segments.length < this.segments.length) {\n// return false;\n// }\n// let params: PathMatchParams | undefined;\n// const mySegments = this.segments;\n// for (let i = 0, l = mySegments.length; i < l; i++) {\n// const segment = mySegments[i];\n// if (segment === ':') {\n// if (!params) params = {};\n// params[segment.substring(1)] = segment;\n// } else if (segment !== segments[i]) {\n// if (i === l - 1 && segment === '*') {\n// if (!params) params = {};\n// params._ = segments.slice(i);\n// return params;\n// }\n// return false;\n// }\n// }\n// return params ? params : false;\n// }\n// join(path: Path | string | string[]) {\n// const segments = toSegments(path);\n// return new Path(this.segments.concat(segments), this.isAbsolute);\n// }\n// getRelativePath(path: Path | string | string[], asAbsolute: boolean = false) {\n// const segments = toSegments(path);\n// const extraSegmentsCount = segments.length - this.segments.length;\n// if (extraSegmentsCount <= 0) {\n// return null;\n// }\n// return new Path(segments.slice(this.segments.length), asAbsolute);\n// }\n// prependSegments(segments: string[]) {\n// this.segments = segments.concat(this.segments);\n// }\n// appendSegments(segments: string[]) {\n// this.segments = this.segments.concat(segments);\n// }\n// toAbsolutePath() {\n// return '/' + this.segments.join('/');\n// }\n// toRelativePath() {\n// return this.segments.join('/');\n// }\n// toString() {\n// const path = this.segments.join('/');\n// return this.isAbsolute ? '/' + path : path;\n// }\n// }\n//# sourceMappingURL=path.js.map","export class PathWithParams {\n path;\n params;\n hash;\n constructor(path) {\n let i = path.lastIndexOf('#');\n if (i > -1) {\n this.hash = path.substring(i);\n path = path.substring(0, i);\n }\n else {\n this.hash = '';\n }\n i = path.indexOf('?');\n if (i > -1) {\n this.path = path.substring(0, i);\n this.params = new URLSearchParams(path.substring(i + 1));\n }\n else {\n this.path = path;\n this.params = new URLSearchParams();\n }\n }\n add(params) {\n for (const [key, value] of Object.entries(params)) {\n this.params.set(key, value);\n }\n return this;\n }\n toString() {\n return this.path + '?' + this.params.toString() + this.hash;\n }\n}\n//# sourceMappingURL=PathWithParams.js.map","import { joinPath } from \"./path\";\nimport { PathWithParams } from \"./PathWithParams\";\nconst BASE_PATH = Symbol('BASE_PATH');\nexport { BASE_PATH };\nexport class LocationChangeEvent {\n name;\n type;\n location;\n state;\n _canceled = false;\n constructor(name, type, location, state) {\n this.name = name;\n this.type = type;\n this.location = location;\n this.state = state;\n }\n get isPageLoad() {\n return this.type === 'initial';\n }\n get isBackForward() {\n return this.type === 'popState';\n }\n get isLinkClick() {\n return this.type === 'linkClick';\n }\n get isNavigation() {\n return this.type === 'navigate';\n }\n get isCancelable() {\n return this.name === 'beforeChange';\n }\n cancel() {\n if (this.name === 'afterChange') {\n throw new Error('Cannot cancel afterChange event');\n }\n this._canceled = true;\n }\n}\nexport class BeforeLocationChangeEvent extends LocationChangeEvent {\n constructor(type, location, state) {\n super('beforeChange', type, location, state);\n }\n}\nexport class AfterLocationChangeEvent extends LocationChangeEvent {\n constructor(type, location, state) {\n super('afterChange', type, location, state);\n }\n}\nfunction getElementHrefAsUrl(elem) {\n if (elem && elem.tagName.toLowerCase() === 'a') {\n const href = elem?.href.trim();\n if (typeof href === 'string' && href.length > 0) {\n return new URL(href);\n }\n }\n return null;\n}\nexport class HistoryNavigator {\n // params to preserve in the query string when navigating\n stickyParams;\n _popStateListener;\n _linkNavListener;\n _listeners = [];\n constructor() {\n }\n addListener(listener) {\n this._listeners.push(listener);\n }\n fireLocationChange(event) {\n for (const listener of this._listeners) {\n listener(event);\n }\n }\n /**\n * Should be called when the page is first loaded.\n * It will fire a location change event with type `initial` and the current window.location as the location\n */\n firePageLoad() {\n this.fireLocationChange(new AfterLocationChangeEvent('initial', new URL(window.location.href)));\n }\n addStickyParams(path) {\n if (this.stickyParams) {\n return new PathWithParams(path).add(this.stickyParams).toString();\n }\n return path;\n }\n navigate(to, options = {}) {\n if (options.stepsBack && options.stepsBack > 0) {\n this.stepBack(options.stepsBack, options);\n return;\n }\n if (options.basePath) {\n let basePath = options.basePath;\n if (!basePath.startsWith('/')) {\n basePath = '/' + basePath;\n }\n to = joinPath(basePath, to);\n }\n to = this.addStickyParams(to);\n this._navigate(new URL(to, window.location.href), 'navigate', options);\n }\n stepBack(steps, options = {}) {\n const historyChain = window.history.state.historyChain || [];\n const to = historyChain.length >= steps\n ? new URL(historyChain[historyChain.length - steps].href, window.location.href)\n : new URL(window.location.origin, window.location.href);\n this._navigate(to, 'popState', options);\n const stateToStore = {\n from: window.location.href,\n historyChain: historyChain.slice(0, -steps),\n data: options.state || undefined,\n title: options.title || document.title\n };\n window.history['replaceState'](stateToStore, '', to.href);\n this.fireLocationChange(new AfterLocationChangeEvent('popState', to, options.state));\n }\n _navigate(to, type, options) {\n const beforeEvent = new BeforeLocationChangeEvent(type, to, options.state);\n this.fireLocationChange(beforeEvent);\n if (beforeEvent._canceled) {\n return;\n }\n // Build navigation chain by preserving previous history\n const currentState = window.history.state;\n const currentTitle = options.title || document.title;\n // Create new history chain entry\n const newChainEntry = {\n title: currentTitle,\n href: window.location.pathname + window.location.search + window.location.hash\n };\n // Build the history chain - clear if using replace\n let historyChain = [];\n if (!options.replace && currentState?.historyChain) {\n historyChain = [...currentState.historyChain];\n }\n // Only add to chain if not replacing\n if (!options.replace) {\n historyChain.push(newChainEntry);\n // Limit chain length to prevent memory issues (keep last 10 entries)\n if (historyChain.length > 10) {\n historyChain = historyChain.slice(-10);\n }\n }\n const stateToStore = {\n from: window.location.href,\n historyChain: historyChain,\n data: options.state || undefined,\n title: options.title || document.title\n };\n window.history[options.replace ? 'replaceState' : 'pushState'](stateToStore, '', to.href);\n this.fireLocationChange(new AfterLocationChangeEvent(type, to, options.state));\n }\n start() {\n if (typeof window === \"undefined\") {\n return;\n }\n const _popStateListener = (ev) => {\n let type;\n const to = new URL(window.location.href);\n let state = undefined;\n if (ev.state) {\n type = 'popState';\n state = ev.state.data;\n }\n else {\n type = 'linkClick';\n }\n this.fireLocationChange(new AfterLocationChangeEvent(type, to, state));\n };\n const _linkNavListener = (ev) => {\n const target = ev.target;\n // Skip anchors with download attribute or blob: URLs - they are file downloads, not navigation\n if (target.tagName.toLowerCase() === 'a' && (target.hasAttribute('download') ||\n target.href?.startsWith('blob:'))) {\n return;\n }\n const url = getElementHrefAsUrl(target);\n if (url && url.origin === window.location.origin) {\n ev.preventDefault();\n const to = new URL(this.addStickyParams(url.href));\n const basePath = ev[BASE_PATH] || ev.target[BASE_PATH];\n if (basePath) {\n to.pathname = joinPath(basePath, to.pathname);\n }\n this._navigate(to, 'linkClick', {});\n }\n };\n this._popStateListener = _popStateListener;\n this._linkNavListener = _linkNavListener;\n window.addEventListener('popstate', _popStateListener);\n document.body.addEventListener('click', this._linkNavListener);\n }\n stop() {\n this._popStateListener && window.removeEventListener('popstate', this._popStateListener);\n this._linkNavListener && document.body.removeEventListener('click', this._linkNavListener);\n }\n}\n//# sourceMappingURL=HistoryNavigator.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useEffect, useRef } from \"react\";\nimport { BASE_PATH } from \"./HistoryNavigator\";\nexport function FixLinks({ basePath, children }) {\n const ref = useRef(null);\n useEffect(() => {\n if (ref.current) {\n const divElem = ref.current;\n const listener = (ev) => {\n const elem = ev.target;\n if (elem.tagName.toLowerCase() === 'a') {\n ev[BASE_PATH] = basePath;\n }\n };\n divElem.addEventListener('click', listener);\n return () => {\n divElem.removeEventListener('click', listener);\n };\n }\n }, [ref.current]);\n return (_jsx(\"div\", { ref: ref, className: \"h-full w-full\", children: children }));\n}\n//# sourceMappingURL=FixLinks.js.map","import { getPathSegments, toSegments } from \"./path\";\n/**\n * Path matcher which support :param and *wildcard segments.\n * The wildcard segment is only supported as the last segment\n */\nexport class PathMatcher {\n tree = new RootSegmentNode();\n loadMapping(mapping) {\n for (const [key, value] of Object.entries(mapping)) {\n this.addSegments(getPathSegments(key), value);\n }\n }\n addPath(path, value) {\n this.addSegments(getPathSegments(path), value);\n }\n addSegments(segments, value) {\n let node = this.tree;\n for (let i = 0, l = segments.length; i < l; i++) {\n const segment = segments[i];\n if (segment[0] === ':') {\n let childNode = node.wildcard;\n if (!childNode) {\n childNode = new VariableSegmentNode(segment);\n node.wildcard = childNode;\n }\n else if (!(childNode instanceof VariableSegmentNode)) {\n throw new Error(`Failed to index path segments: ${segments.join('/')}. A wildcard \":\" segment will overwrite an existing wildcard segment at path: ${'/' + segments.slice(0, i).join(\"/\")}`);\n }\n node = childNode;\n }\n else if (segment === '*') {\n if (node.wildcard) {\n throw new Error(`Failed to index path segments: ${segments.join('/')}. A wildcard \"*\" segment already exists at path: ${'/' + segments.slice(0, i).join(\"/\")}`);\n }\n node.wildcard = new WildcardSegmentNode(segment, value);\n if (i < l - 1) {\n throw new Error(`Failed to index path segments: ${segments.join('/')}. A wildcard segment must be the last segment`);\n }\n return;\n }\n else {\n let childNode = node.children[segment];\n if (!childNode) {\n childNode = new LiteralSegmentNode(segment);\n node.children[segment] = childNode;\n } // else // a literal segment already exists\n node = childNode;\n }\n }\n if (node.value !== undefined) {\n throw new Error(`Failed to index path segments: ${segments.join('/')}. A value already exists at path: ${'/' + segments.join(\"/\")}`);\n }\n node.value = value;\n }\n match(path) {\n const segments = toSegments(path);\n if (segments.length === 0) {\n return null;\n }\n const params = {};\n let node = this.tree;\n for (const segment of segments) {\n const match = node.match(segment, params);\n if (match) {\n node = match;\n }\n else {\n return null;\n }\n }\n if (!node.value) { // not a leaf node (partial match)\n if (node instanceof ParentSegmentNode) {\n if (node.wildcard instanceof WildcardSegmentNode) {\n node = node.wildcard.match('', params);\n if (!node.value) {\n throw new Error(\"Wildcard segment node `*` must have a value\");\n }\n }\n }\n if (!node.value)\n return null; // not a leaf node, neither a trailing wildcard (partial match)\n }\n let matchedSegments, remainingSegments;\n if (params._ && params._.length > 0) {\n matchedSegments = segments.slice(0, -params._.length);\n remainingSegments = params._;\n }\n else {\n matchedSegments = segments;\n }\n return { params, matchedSegments, remainingSegments, value: node.value };\n }\n}\nclass ParentSegmentNode {\n name;\n value;\n children = {};\n wildcard;\n constructor(name, value) {\n this.name = name;\n this.value = value;\n }\n match(segment, params) {\n let node = this.children[segment];\n if (node) {\n return node;\n }\n else if (this.wildcard) {\n if (this.wildcard instanceof WildcardSegmentNode) {\n return this.wildcard.match(segment, params);\n }\n else if (this.wildcard instanceof VariableSegmentNode) {\n params[this.wildcard.paramName] = segment;\n return this.wildcard;\n }\n else {\n throw new Error(\"Unknown wildcard segment node type: \" + this.wildcard.constructor.name);\n }\n }\n else {\n return null;\n }\n }\n}\nclass RootSegmentNode extends ParentSegmentNode {\n constructor() {\n super(\"#root\");\n }\n}\nclass LiteralSegmentNode extends ParentSegmentNode {\n constructor(name, value) {\n super(name, value);\n }\n}\nclass VariableSegmentNode extends ParentSegmentNode {\n paramName;\n constructor(name, value) {\n super(name, value);\n this.paramName = name.substring(1);\n }\n}\nclass WildcardSegmentNode {\n name;\n value;\n constructor(name, value) {\n this.name = name;\n this.value = value;\n }\n match(segment, params) {\n if (!params._) {\n params._ = segment ? [segment] : [];\n }\n else {\n segment && params._.push(segment);\n }\n return this;\n }\n}\n//# sourceMappingURL=PathMatcher.js.map","import { createContext, useContext, useEffect } from \"react\";\nimport { HistoryNavigator } from \"./HistoryNavigator\";\nimport { PathMatcher } from \"./PathMatcher\";\nimport { isRootPath, joinPath } from \"./path\";\nexport class BaseRouter {\n // the path to use when navigating to the root of the router\n index;\n matcher = new PathMatcher();\n constructor(routes, index) {\n this.index = index;\n for (const route of routes) {\n this.matcher.addPath(route.path, route);\n }\n }\n match(path) {\n const useIndex = isRootPath(path) && this.index;\n return this.matcher.match(useIndex ? this.index : path);\n }\n}\nexport class Router extends BaseRouter {\n prompt;\n observer;\n navigator = new HistoryNavigator();\n constructor(routes, updateState) {\n super(routes);\n this.navigator.addListener((event) => {\n if (event.isCancelable && this.prompt && !!this.prompt.when) {\n if (!window.confirm(this.prompt.message))\n return;\n }\n if (this.observer) {\n this.observer(event);\n }\n // only process afterChange events\n if (event.name === \"afterChange\") {\n const match = this.match(event.location.pathname);\n if (match && match.value) {\n updateState({\n ...match,\n state: event.state,\n });\n }\n else {\n updateState(null);\n }\n }\n });\n }\n getTopRouter() {\n return this;\n }\n /**\n * Subsequent navigations will preserve the given params in the query string.\n * Use null to clear the sticky params.\n * @param params\n */\n setStickyParams(params) {\n this.navigator.stickyParams = params != null ? params : undefined;\n }\n withObserver(observer) {\n this.observer = observer;\n return this;\n }\n start() {\n this.navigator.start();\n // initialize with the current location\n this.navigator.firePageLoad();\n }\n stop() {\n this.navigator.stop();\n }\n navigate(path, options) {\n this.navigator.navigate(path, options);\n }\n}\nexport class NestedRouter extends BaseRouter {\n parent;\n basePath;\n constructor(parent, basePath, routes) {\n super(routes);\n this.parent = parent;\n this.basePath = basePath;\n }\n getTopRouter() {\n if (this.parent instanceof Router) {\n return this.parent;\n }\n else {\n return this.parent.getTopRouter();\n }\n }\n navigate(path, options) {\n // base path is nested by default in a NestedRouter unless explicitly set to false by caller\n const isBasePathNested = options?.isBasePathNested ?? true;\n let basePath;\n if (isBasePathNested) {\n const childBasePath = options?.basePath;\n // e.g. \"/store\" + \"/objects/123\" => \"/store/objects/123\"\n basePath = childBasePath ? joinPath(this.basePath, childBasePath) : this.basePath;\n this.parent.navigate(path, {\n ...options,\n basePath,\n });\n }\n else {\n // isBasePathNested === false: navigate to an absolute path without adding this router's basePath\n // Pass through to parent without adding our basePath prefix\n this.parent.navigate(path, {\n ...options,\n basePath: options?.basePath,\n });\n }\n }\n}\nconst ReactRouterContext = createContext(undefined);\nexport { ReactRouterContext };\nexport function useRouterContext() {\n const ctx = useContext(ReactRouterContext);\n if (!ctx) {\n throw new Error(\"useRouter must be used within a RouterProvider\");\n }\n return ctx;\n}\nexport function useNavigate() {\n const { navigate } = useRouterContext();\n return navigate;\n}\nexport function useRouterBasePath() {\n const { matchedRoutePath, router } = useRouterContext();\n return router instanceof NestedRouter ? router.basePath : matchedRoutePath;\n}\nexport function useParams(arg) {\n const { params } = useRouterContext();\n if (arg) {\n return params[arg];\n }\n else {\n return params;\n }\n}\nexport function useLocation() {\n const { location } = useRouterContext();\n return location;\n}\nexport function usePageTitle(title) {\n useEffect(() => {\n const prev = document.title;\n document.title = title;\n return () => { document.title = prev; };\n }, [title]);\n}\nexport function useNavigationPrompt(prompt) {\n const { router } = useRouterContext();\n useEffect(() => {\n router.getTopRouter().prompt = prompt;\n return () => {\n router.getTopRouter().prompt = undefined;\n };\n }, []);\n useEffect(() => {\n if (prompt.when) {\n const doBlock = prompt.when;\n const listener = function (ev) {\n if (doBlock) {\n ev.preventDefault();\n ev.returnValue = \"\";\n }\n };\n window.addEventListener(\"beforeunload\", listener);\n return () => {\n window.removeEventListener(\"beforeunload\", listener);\n };\n }\n }, [prompt.when]);\n}\n//# sourceMappingURL=Router.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useNavigate, useRouterContext } from \"./Router\";\nexport function Nav({ children, to, onClick, replace = true }) {\n const navigate = useNavigate();\n const _onClick = (ev) => {\n const link = ev.target.closest('a');\n const rawHref = link?.getAttribute('href');\n const target = to ?? rawHref;\n if (link && target) {\n ev.stopPropagation();\n ev.preventDefault();\n navigate(target, { replace });\n onClick?.(ev);\n }\n };\n return (_jsx(\"span\", { onClick: _onClick, children: children }));\n}\nexport function NavLink({ children, href, className, topLevelNav, clearBreadcrumbs = false }) {\n const { router } = useRouterContext();\n const _onClick = (ev) => {\n ev.stopPropagation();\n ev.preventDefault();\n const actualRouter = topLevelNav ? router.getTopRouter() : router;\n actualRouter.navigate(href, { replace: clearBreadcrumbs });\n };\n return (_jsx(\"a\", { href: href, className: className, onClick: _onClick, children: children }));\n}\n//# sourceMappingURL=Nav.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useEffect, useState } from \"react\";\nimport { useRouterContext } from \"./Router\";\nexport function RouteComponent({ spinner }) {\n const ctx = useRouterContext();\n const route = ctx.route;\n if (route.Component) {\n const Component = route.Component;\n return _jsx(Component, { ...ctx.params });\n }\n else if (route.LazyComponent) {\n return _jsx(LazyRouteComponent, { route: route, spinner: spinner });\n }\n else {\n throw new Error(`Invalid route for ${route.path}. Either Component or LazyCOmponent must be specified.`);\n }\n}\nfunction LazyRouteComponent({ route, spinner }) {\n const [Component, setComponent] = useState(null);\n useEffect(() => {\n route.LazyComponent().then(module => {\n if (!module.default) {\n throw new Error(`Lazy module for ${route.path} does not have a default export`);\n }\n // we need to wrap the component type in an arrow function\n // otherwise the setState function will execute the function as a state update function\n setComponent(() => module.default);\n });\n }, [route]);\n return Component ? (_jsx(Component, {})) : spinner || null;\n}\n//# sourceMappingURL=RouteComponent.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { FixLinks } from \"./FixLinks\";\nimport { RouteComponent } from \"./RouteComponent\";\nimport { ReactRouterContext, useRouterContext } from \"./Router\";\nimport { joinPath } from \"./path\";\nexport function NestedNavigationContext({ basePath, fixLinks = false, children }) {\n const ctx = useRouterContext();\n const wrapWithFixLinks = fixLinks ?\n (elem) => _jsx(FixLinks, { basePath: ctx.matchedRoutePath, children: elem })\n : (elem) => elem;\n return (_jsx(ReactRouterContext.Provider, { value: {\n ...ctx,\n navigate: (to, options) => {\n if (options?.isBasePathNested === false) {\n // Navigate to an absolute path without adding this context's basePath\n return ctx.navigate(to, options);\n }\n const actualBasePath = options?.basePath ? joinPath(basePath, options.basePath) : basePath;\n return ctx.navigate(to, { ...options, basePath: actualBasePath });\n }\n }, children: wrapWithFixLinks(children ? children : _jsx(RouteComponent, {})) }));\n}\n//# sourceMappingURL=NestedNavigationContext.js.map","import { jsxs as _jsxs, jsx as _jsx } from \"react/jsx-runtime\";\nimport { useRouterContext } from \"./Router\";\nexport function Route404Component() {\n const ctx = useRouterContext();\n return _jsxs(\"div\", { children: [\"Route not found for path \", ctx.matchedRoutePath] });\n}\nexport function createRoute404() {\n return {\n params: {},\n matchedSegments: [],\n state: null,\n value: {\n path: 'virtual:404',\n Component: () => _jsx(Route404Component, {})\n }\n };\n}\n//# sourceMappingURL=Route404.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useEffect, useMemo, useState } from \"react\";\nimport { FixLinks } from \"./FixLinks\";\nimport { createRoute404 } from \"./Route404\";\nimport { RouteComponent } from \"./RouteComponent\";\nimport { NestedRouter, ReactRouterContext, useRouterContext } from \"./Router\";\nexport function NestedRouterProvider({ routes, index, children, fixLinks = false }) {\n const ctx = useRouterContext();\n const [nestedRouteMatch, setNestedRouteMatch] = useState(undefined);\n const nestedRouter = useMemo(() => {\n if (typeof window === 'undefined')\n return null;\n const basePath = ctx.matchedRoutePath;\n const nestedRouter = new NestedRouter(ctx.router, basePath, routes);\n nestedRouter.index = index;\n return nestedRouter;\n }, []);\n useEffect(() => {\n if (nestedRouter) {\n if (ctx.matchedRoutePath !== nestedRouter.basePath) {\n // the change doesn't belong to this nested router\n // it should be handled by the top level router which will change the page or the nested router\n return;\n }\n const route = nestedRouter.match(ctx.remainingPath || '/') || createRoute404();\n setNestedRouteMatch(route);\n }\n }, [nestedRouter, ctx.remainingPath]);\n const wrapWithFixLinks = fixLinks ?\n (elem) => _jsx(FixLinks, { basePath: ctx.matchedRoutePath, children: elem })\n : (elem) => elem;\n return nestedRouteMatch && (_jsx(ReactRouterContext.Provider, { value: {\n ...ctx,\n router: nestedRouter,\n route: nestedRouteMatch.value,\n params: nestedRouteMatch.params,\n matchedRoutePath: '/' + nestedRouteMatch.matchedSegments.join('/'),\n remainingPath: nestedRouteMatch.remainingSegments ? '/' + nestedRouteMatch.remainingSegments.join('/') : undefined,\n navigate: (to, options) => {\n if (nestedRouter) {\n return nestedRouter.navigate(to, options);\n }\n }\n }, children: wrapWithFixLinks(children ? children : _jsx(RouteComponent, {})) }));\n}\n//# sourceMappingURL=NestedRouterProvider.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useSafeLayoutEffect } from \"@vertesia/ui/core\";\n//import { useSafeLayoutEffect } from \"../core\";\nimport { useMemo, useState } from \"react\";\nimport { RouteComponent } from \"./RouteComponent\";\nimport { ReactRouterContext, Router } from \"./Router\";\nimport { createRoute404 } from \"./Route404\";\nexport function RouterProvider({ routes, index, onChange, children }) {\n const [state, setState] = useState(undefined);\n const router = useMemo(() => {\n if (typeof window === 'undefined')\n return null;\n const router = new Router(routes, (match) => {\n if (match === null) {\n match = createRoute404();\n }\n setState({\n location: window.location,\n route: match.value,\n params: match.params,\n state: match.state,\n router: router,\n matchedRoutePath: '/' + match.matchedSegments.join('/'),\n remainingPath: match.remainingSegments ? '/' + match.remainingSegments.join('/') : undefined,\n navigate: (to, options) => {\n return router.navigate(to, options);\n }\n });\n }).withObserver(onChange);\n router.index = index;\n return router;\n }, []);\n useSafeLayoutEffect(() => {\n router && router.start();\n return () => {\n router && router.stop();\n };\n }, []);\n return state && (_jsx(ReactRouterContext.Provider, { value: state, children: children ? children : _jsx(RouteComponent, {}) }));\n}\n//# sourceMappingURL=RouterProvider.js.map"],"names":["isRootPath","path","joinPath","path1","path2","endsWith","startsWith","substring","getPathSegments","s","e","length","split","toSegments","Array","isArray","Error","PathWithParams","params","hash","constructor","i","lastIndexOf","this","indexOf","URLSearchParams","add","key","value","Object","entries","set","toString","BASE_PATH","Symbol","LocationChangeEvent","name","type","location","state","_canceled","isPageLoad","isBackForward","isLinkClick","isNavigation","isCancelable","cancel","BeforeLocationChangeEvent","super","AfterLocationChangeEvent","HistoryNavigator","stickyParams","_popStateListener","_linkNavListener","_listeners","addListener","listener","push","fireLocationChange","event","firePageLoad","URL","window","href","addStickyParams","navigate","to","options","stepsBack","stepBack","basePath","_navigate","steps","historyChain","history","origin","stateToStore","from","slice","data","undefined","title","document","beforeEvent","currentState","newChainEntry","pathname","search","replace","start","ev","target","tagName","toLowerCase","hasAttribute","url","elem","trim","getElementHrefAsUrl","preventDefault","addEventListener","body","stop","removeEventListener","FixLinks","children","ref","useRef","useEffect","current","divElem","_jsx","className","PathMatcher","tree","RootSegmentNode","loadMapping","mapping","addSegments","addPath","segments","node","l","segment","childNode","wildcard","VariableSegmentNode","join","WildcardSegmentNode","LiteralSegmentNode","match","matchedSegments","remainingSegments","ParentSegmentNode","_","paramName","BaseRouter","index","matcher","routes","route","useIndex","Router","prompt","observer","navigator","updateState","when","confirm","message","getTopRouter","setStickyParams","withObserver","NestedRouter","parent","isBasePathNested","childBasePath","ReactRouterContext","createContext","useRouterContext","ctx","useContext","useNavigate","useRouterBasePath","matchedRoutePath","router","useParams","arg","useLocation","usePageTitle","prev","useNavigationPrompt","doBlock","returnValue","Nav","onClick","link","closest","rawHref","getAttribute","stopPropagation","NavLink","topLevelNav","clearBreadcrumbs","RouteComponent","spinner","Component","LazyComponent","LazyRouteComponent","setComponent","useState","then","module","default","NestedNavigationContext","fixLinks","wrapWithFixLinks","Provider","actualBasePath","Route404Component","_jsxs","createRoute404","NestedRouterProvider","nestedRouteMatch","setNestedRouteMatch","nestedRouter","useMemo","remainingPath","RouterProvider","onChange","setState","useSafeLayoutEffect"],"mappings":"sNAAO,SAASA,EAAWC,GACvB,MAAgB,MAATA,GAAyB,KAATA,CAC3B,CACO,SAASC,EAASC,EAAOC,GAa5B,OAXIA,EADAD,EAAME,SAAS,MAAQD,EAAME,WAAW,KAChCH,EAAQC,EAAMG,UAAU,GAE3BJ,EAAME,SAAS,MAGfD,EAAME,WAAW,KAFdH,EAAQC,EAMRD,EAAQ,IAAMC,CAG9B,CACO,SAASI,EAAgBP,GAC5B,GAAa,KAATA,EACA,MAAO,GAEX,GAAa,MAATA,EACA,MAAO,CAAC,IAEZ,IAAIQ,EAAI,EAAGC,EAAIT,EAAKU,OAUpB,OATIV,EAAKK,WAAW,MAChBG,EAAI,EAECR,EAAKK,WAAW,OACrBG,EAAI,GAEJR,EAAKI,SAAS,OACdK,EAAIT,EAAKU,OAAS,IAEdF,EAAI,GAAKC,EAAIT,EAAKU,OAASV,EAAKM,UAAUE,EAAGC,GAAKT,GAAMW,MAAM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"version":3,"file":"vertesia-ui-router.js","sources":["router/PathWithParams.js","router/path.js","router/HistoryNavigator.js","router/FixLinks.js","router/PathMatcher.js","router/Router.js","router/Nav.js","router/RouteComponent.js","router/NestedNavigationContext.js","router/Route404.js","router/NestedRouterProvider.js","router/RouterProvider.js"],"sourcesContent":["export class PathWithParams {\n path;\n params;\n hash;\n constructor(path) {\n let i = path.lastIndexOf('#');\n if (i > -1) {\n this.hash = path.substring(i);\n path = path.substring(0, i);\n }\n else {\n this.hash = '';\n }\n i = path.indexOf('?');\n if (i > -1) {\n this.path = path.substring(0, i);\n this.params = new URLSearchParams(path.substring(i + 1));\n }\n else {\n this.path = path;\n this.params = new URLSearchParams();\n }\n }\n add(params) {\n for (const [key, value] of Object.entries(params)) {\n this.params.set(key, value);\n }\n return this;\n }\n toString() {\n return `${this.path}?${this.params.toString()}${this.hash}`;\n }\n}\n//# sourceMappingURL=PathWithParams.js.map","export function isRootPath(path) {\n return path === '/' || path === '';\n}\nexport function joinPath(path1, path2) {\n if (path1.endsWith('/') && path2.startsWith('/')) {\n path2 = path1 + path2.substring(1);\n }\n else if (path1.endsWith('/')) {\n path2 = path1 + path2;\n }\n else if (path2.startsWith('/')) {\n path2 = path1 + path2;\n }\n else {\n path2 = `${path1}/${path2}`;\n }\n return path2;\n}\nexport function getPathSegments(path) {\n if (path === '') {\n return [];\n }\n if (path === '/') {\n return [''];\n }\n let s = 0, e = path.length;\n if (path.startsWith('./')) {\n s = 2;\n }\n else if (path.startsWith('/')) {\n s = 1;\n }\n if (path.endsWith('/')) {\n e = path.length - 1;\n }\n return (s > 0 || e < path.length ? path.substring(s, e) : path).split('/');\n}\nexport function toSegments(path) {\n if (typeof path === 'string') {\n return getPathSegments(path);\n }\n else if (Array.isArray(path)) {\n return path;\n }\n else {\n throw new Error(`Unsupported path object: ${path}`);\n }\n}\n// export class Path {\n// static parse(path: string, abs = false) {\n// if (abs !== undefined) {\n// abs = path.startsWith('/');\n// }\n// return new Path(getPathSegments(path), abs);\n// }\n// constructor(public segments: string[], public isAbsolute = false) {\n// }\n// getParameters() {\n// const out = [];\n// for (const segment of this.segments) {\n// if (segment[0] === ':') {\n// out.push(segment.substring(1));\n// }\n// }\n// if (this.segments[this.segments.length - 1] === '*') {\n// out.push('_');\n// }\n// return out;\n// }\n// resolveParameters(path: string) {\n// const params: PathMatchParams = {};\n// const resolvedSegments = getPathSegments(path);\n// if (resolvedSegments.length < this.segments.length) {\n// return null;\n// }\n// const segments = this.segments;\n// for (let i = 0, l = segments.length; i < l; i++) {\n// const seg = segments[i];\n// if (seg[0] === ':') {\n// params[seg.substring(1)] = resolvedSegments[i];\n// }\n// }\n// if (resolvedSegments.length - this.segments.length) {\n// params._ = resolvedSegments.slice(this.segments.length);\n// }\n// return params;\n// }\n// match(path: string | string[] | Path) {\n// const segments = toSegments(path);\n// if (segments.length < this.segments.length) {\n// return false;\n// }\n// let params: PathMatchParams | undefined;\n// const mySegments = this.segments;\n// for (let i = 0, l = mySegments.length; i < l; i++) {\n// const segment = mySegments[i];\n// if (segment === ':') {\n// if (!params) params = {};\n// params[segment.substring(1)] = segment;\n// } else if (segment !== segments[i]) {\n// if (i === l - 1 && segment === '*') {\n// if (!params) params = {};\n// params._ = segments.slice(i);\n// return params;\n// }\n// return false;\n// }\n// }\n// return params ? params : false;\n// }\n// join(path: Path | string | string[]) {\n// const segments = toSegments(path);\n// return new Path(this.segments.concat(segments), this.isAbsolute);\n// }\n// getRelativePath(path: Path | string | string[], asAbsolute: boolean = false) {\n// const segments = toSegments(path);\n// const extraSegmentsCount = segments.length - this.segments.length;\n// if (extraSegmentsCount <= 0) {\n// return null;\n// }\n// return new Path(segments.slice(this.segments.length), asAbsolute);\n// }\n// prependSegments(segments: string[]) {\n// this.segments = segments.concat(this.segments);\n// }\n// appendSegments(segments: string[]) {\n// this.segments = this.segments.concat(segments);\n// }\n// toAbsolutePath() {\n// return '/' + this.segments.join('/');\n// }\n// toRelativePath() {\n// return this.segments.join('/');\n// }\n// toString() {\n// const path = this.segments.join('/');\n// return this.isAbsolute ? '/' + path : path;\n// }\n// }\n//# sourceMappingURL=path.js.map","import { PathWithParams } from './PathWithParams';\nimport { joinPath } from './path';\nconst BASE_PATH = Symbol('BASE_PATH');\nexport { BASE_PATH };\nexport class LocationChangeEvent {\n name;\n type;\n location;\n state;\n _canceled = false;\n constructor(name, type, location, state) {\n this.name = name;\n this.type = type;\n this.location = location;\n this.state = state;\n }\n get isPageLoad() {\n return this.type === 'initial';\n }\n get isBackForward() {\n return this.type === 'popState';\n }\n get isLinkClick() {\n return this.type === 'linkClick';\n }\n get isNavigation() {\n return this.type === 'navigate';\n }\n get isCancelable() {\n return this.name === 'beforeChange';\n }\n cancel() {\n if (this.name === 'afterChange') {\n throw new Error('Cannot cancel afterChange event');\n }\n this._canceled = true;\n }\n}\nexport class BeforeLocationChangeEvent extends LocationChangeEvent {\n constructor(type, location, state) {\n super('beforeChange', type, location, state);\n }\n}\nexport class AfterLocationChangeEvent extends LocationChangeEvent {\n constructor(type, location, state) {\n super('afterChange', type, location, state);\n }\n}\nfunction getElementHrefAsUrl(elem) {\n if (elem && elem.tagName.toLowerCase() === 'a') {\n const href = elem?.href.trim();\n if (typeof href === 'string' && href.length > 0) {\n return new URL(href);\n }\n }\n return null;\n}\nexport class HistoryNavigator {\n // params to preserve in the query string when navigating\n stickyParams;\n _popStateListener;\n _linkNavListener;\n _listeners = [];\n addListener(listener) {\n this._listeners.push(listener);\n }\n fireLocationChange(event) {\n for (const listener of this._listeners) {\n listener(event);\n }\n }\n /**\n * Should be called when the page is first loaded.\n * It will fire a location change event with type `initial` and the current window.location as the location\n */\n firePageLoad() {\n this.fireLocationChange(new AfterLocationChangeEvent('initial', new URL(window.location.href)));\n }\n addStickyParams(path) {\n if (this.stickyParams) {\n return new PathWithParams(path).add(this.stickyParams).toString();\n }\n return path;\n }\n /**\n * Rewrite the current browser URL in place so that the sticky params are present, without\n * navigating. Used on load / when the params first become known so the address bar reflects\n * the active account/project before the first navigation.\n *\n * Idempotent and side-effect-light: only calls replaceState when the URL would actually\n * change, preserves the existing history state, and never fires a location-change event\n * (so there is no route re-match or component remount).\n */\n normalizeCurrentUrl() {\n if (typeof window === 'undefined' || !this.stickyParams) {\n return;\n }\n const current = window.location.pathname + window.location.search + window.location.hash;\n const normalized = this.addStickyParams(current);\n if (normalized !== current) {\n const to = new URL(normalized, window.location.href);\n window.history.replaceState(window.history.state, '', to.href);\n }\n }\n navigate(to, options = {}) {\n if (options.stepsBack && options.stepsBack > 0) {\n this.stepBack(options.stepsBack, options);\n return;\n }\n if (options.basePath) {\n let basePath = options.basePath;\n if (!basePath.startsWith('/')) {\n basePath = `/${basePath}`;\n }\n to = joinPath(basePath, to);\n }\n to = this.addStickyParams(to);\n this._navigate(new URL(to, window.location.href), 'navigate', options);\n }\n stepBack(steps, options = {}) {\n const historyChain = window.history.state.historyChain || [];\n const to = historyChain.length >= steps\n ? new URL(historyChain[historyChain.length - steps].href, window.location.href)\n : new URL(window.location.origin, window.location.href);\n this._navigate(to, 'popState', options);\n const stateToStore = {\n from: window.location.href,\n historyChain: historyChain.slice(0, -steps),\n data: options.state || undefined,\n title: options.title || document.title,\n };\n window.history.replaceState(stateToStore, '', to.href);\n this.fireLocationChange(new AfterLocationChangeEvent('popState', to, options.state));\n }\n _navigate(to, type, options) {\n const beforeEvent = new BeforeLocationChangeEvent(type, to, options.state);\n this.fireLocationChange(beforeEvent);\n if (beforeEvent._canceled) {\n return;\n }\n // Build navigation chain by preserving previous history\n const currentState = window.history.state;\n const currentTitle = options.title || document.title;\n // Create new history chain entry\n const newChainEntry = {\n title: currentTitle,\n href: window.location.pathname + window.location.search + window.location.hash,\n };\n // Build the history chain - clear if using replace\n let historyChain = [];\n if (!options.replace && currentState?.historyChain) {\n historyChain = [...currentState.historyChain];\n }\n // Only add to chain if not replacing\n if (!options.replace) {\n historyChain.push(newChainEntry);\n // Limit chain length to prevent memory issues (keep last 10 entries)\n if (historyChain.length > 10) {\n historyChain = historyChain.slice(-10);\n }\n }\n const stateToStore = {\n from: window.location.href,\n historyChain: historyChain,\n data: options.state || undefined,\n title: options.title || document.title,\n };\n window.history[options.replace ? 'replaceState' : 'pushState'](stateToStore, '', to.href);\n this.fireLocationChange(new AfterLocationChangeEvent(type, to, options.state));\n }\n start() {\n if (typeof window === 'undefined') {\n return;\n }\n const _popStateListener = (ev) => {\n let type;\n const to = new URL(window.location.href);\n let state;\n if (ev.state) {\n type = 'popState';\n state = ev.state.data;\n }\n else {\n type = 'linkClick';\n }\n this.fireLocationChange(new AfterLocationChangeEvent(type, to, state));\n };\n const _linkNavListener = (ev) => {\n const target = ev.target;\n // Skip anchors with download attribute or blob: URLs - they are file downloads, not navigation\n if (target.tagName.toLowerCase() === 'a' &&\n (target.hasAttribute('download') ||\n target.href?.startsWith('blob:'))) {\n return;\n }\n const url = getElementHrefAsUrl(target);\n if (url && url.origin === window.location.origin) {\n ev.preventDefault();\n const to = new URL(this.addStickyParams(url.href));\n const basePath = ev[BASE_PATH] ||\n ev.target[BASE_PATH];\n if (basePath) {\n to.pathname = joinPath(basePath, to.pathname);\n }\n this._navigate(to, 'linkClick', {});\n }\n };\n this._popStateListener = _popStateListener;\n this._linkNavListener = _linkNavListener;\n window.addEventListener('popstate', _popStateListener);\n document.body.addEventListener('click', this._linkNavListener);\n }\n stop() {\n if (this._popStateListener)\n window.removeEventListener('popstate', this._popStateListener);\n if (this._linkNavListener)\n document.body.removeEventListener('click', this._linkNavListener);\n }\n}\n//# sourceMappingURL=HistoryNavigator.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useEffect, useRef } from 'react';\nimport { BASE_PATH } from './HistoryNavigator';\nexport function FixLinks({ basePath, children }) {\n const ref = useRef(null);\n useEffect(() => {\n if (ref.current) {\n const divElem = ref.current;\n const listener = (ev) => {\n const elem = ev.target;\n if (elem.tagName.toLowerCase() === 'a') {\n ev[BASE_PATH] = basePath;\n }\n };\n divElem.addEventListener('click', listener);\n return () => {\n divElem.removeEventListener('click', listener);\n };\n }\n }, [basePath]);\n return (_jsx(\"div\", { ref: ref, className: \"h-full w-full\", children: children }));\n}\n//# sourceMappingURL=FixLinks.js.map","import { getPathSegments, toSegments } from './path';\n/**\n * Path matcher which support :param and *wildcard segments.\n * The wildcard segment is only supported as the last segment\n */\nexport class PathMatcher {\n tree = new RootSegmentNode();\n loadMapping(mapping) {\n for (const [key, value] of Object.entries(mapping)) {\n this.addSegments(getPathSegments(key), value);\n }\n }\n addPath(path, value) {\n this.addSegments(getPathSegments(path), value);\n }\n addSegments(segments, value) {\n let node = this.tree;\n for (let i = 0, l = segments.length; i < l; i++) {\n const segment = segments[i];\n if (segment[0] === ':') {\n let childNode = node.wildcard;\n if (!childNode) {\n childNode = new VariableSegmentNode(segment);\n node.wildcard = childNode;\n }\n else if (!(childNode instanceof VariableSegmentNode)) {\n throw new Error(`Failed to index path segments: ${segments.join('/')}. A wildcard \":\" segment will overwrite an existing wildcard segment at path: ${`/${segments.slice(0, i).join('/')}`}`);\n }\n node = childNode;\n }\n else if (segment === '*') {\n if (node.wildcard) {\n throw new Error(`Failed to index path segments: ${segments.join('/')}. A wildcard \"*\" segment already exists at path: ${`/${segments.slice(0, i).join('/')}`}`);\n }\n node.wildcard = new WildcardSegmentNode(segment, value);\n if (i < l - 1) {\n throw new Error(`Failed to index path segments: ${segments.join('/')}. A wildcard segment must be the last segment`);\n }\n return;\n }\n else {\n let childNode = node.children[segment];\n if (!childNode) {\n childNode = new LiteralSegmentNode(segment);\n node.children[segment] = childNode;\n } // else // a literal segment already exists\n node = childNode;\n }\n }\n if (node.value !== undefined) {\n throw new Error(`Failed to index path segments: ${segments.join('/')}. A value already exists at path: ${`/${segments.join('/')}`}`);\n }\n node.value = value;\n }\n match(path) {\n const segments = toSegments(path);\n if (segments.length === 0) {\n return null;\n }\n const params = {};\n let node = this.tree;\n for (const segment of segments) {\n const match = node.match(segment, params);\n if (match) {\n node = match;\n }\n else {\n return null;\n }\n }\n if (!node.value) {\n // not a leaf node (partial match)\n if (node instanceof ParentSegmentNode) {\n if (node.wildcard instanceof WildcardSegmentNode) {\n node = node.wildcard.match('', params);\n if (!node.value) {\n throw new Error('Wildcard segment node `*` must have a value');\n }\n }\n }\n if (!node.value)\n return null; // not a leaf node, neither a trailing wildcard (partial match)\n }\n let matchedSegments, remainingSegments;\n if (params._ && params._.length > 0) {\n matchedSegments = segments.slice(0, -params._.length);\n remainingSegments = params._;\n }\n else {\n matchedSegments = segments;\n }\n return { params, matchedSegments, remainingSegments, value: node.value };\n }\n}\nclass ParentSegmentNode {\n name;\n value;\n children = {};\n wildcard;\n constructor(name, value) {\n this.name = name;\n this.value = value;\n }\n match(segment, params) {\n const node = this.children[segment];\n if (node) {\n return node;\n }\n else if (this.wildcard) {\n if (this.wildcard instanceof WildcardSegmentNode) {\n return this.wildcard.match(segment, params);\n }\n else if (this.wildcard instanceof VariableSegmentNode) {\n params[this.wildcard.paramName] = segment;\n return this.wildcard;\n }\n else {\n throw new Error(`Unknown wildcard segment node type: ${this.wildcard.constructor.name}`);\n }\n }\n else {\n return null;\n }\n }\n}\nclass RootSegmentNode extends ParentSegmentNode {\n constructor() {\n super('#root');\n }\n}\nclass LiteralSegmentNode extends ParentSegmentNode {\n}\nclass VariableSegmentNode extends ParentSegmentNode {\n paramName;\n constructor(name, value) {\n super(name, value);\n this.paramName = name.substring(1);\n }\n}\nclass WildcardSegmentNode {\n name;\n value;\n constructor(name, value) {\n this.name = name;\n this.value = value;\n }\n match(segment, params) {\n if (!params._) {\n params._ = segment ? [segment] : [];\n }\n else {\n if (segment)\n params._.push(segment);\n }\n return this;\n }\n}\n//# sourceMappingURL=PathMatcher.js.map","import { createContext, useContext, useEffect } from 'react';\nimport { HistoryNavigator } from './HistoryNavigator';\nimport { PathMatcher } from './PathMatcher';\nimport { isRootPath, joinPath } from './path';\nexport class BaseRouter {\n // the path to use when navigating to the root of the router\n index;\n matcher = new PathMatcher();\n constructor(routes, index) {\n this.index = index;\n for (const route of routes) {\n this.matcher.addPath(route.path, route);\n }\n }\n match(path) {\n const useIndex = isRootPath(path) && this.index;\n // biome-ignore lint/style/noNonNullAssertion: intentional non-null assertion; TS can't prove narrowing here\n return this.matcher.match(useIndex ? this.index : path);\n }\n}\nexport class Router extends BaseRouter {\n prompt;\n observer;\n navigator = new HistoryNavigator();\n constructor(routes, updateState) {\n super(routes);\n this.navigator.addListener((event) => {\n if (event.isCancelable && this.prompt?.when) {\n if (!window.confirm(this.prompt.message))\n return;\n }\n if (this.observer) {\n this.observer(event);\n }\n // only process afterChange events\n if (event.name === 'afterChange') {\n const match = this.match(event.location.pathname);\n if (match?.value) {\n updateState({\n ...match,\n state: event.state,\n });\n }\n else {\n updateState(null);\n }\n }\n });\n }\n getTopRouter() {\n return this;\n }\n /**\n * Subsequent navigations will preserve the given params in the query string.\n * Use null to clear the sticky params.\n * @param params\n */\n setStickyParams(params) {\n this.navigator.stickyParams = params != null ? params : undefined;\n // Reflect the params in the current URL immediately, so the address bar is correct on\n // load (not only after the first navigation).\n this.navigator.normalizeCurrentUrl();\n }\n withObserver(observer) {\n this.observer = observer;\n return this;\n }\n start() {\n this.navigator.start();\n // initialize with the current location\n this.navigator.firePageLoad();\n }\n stop() {\n this.navigator.stop();\n }\n navigate(path, options) {\n this.navigator.navigate(path, options);\n }\n}\nexport class NestedRouter extends BaseRouter {\n parent;\n basePath;\n constructor(parent, basePath, routes) {\n super(routes);\n this.parent = parent;\n this.basePath = basePath;\n }\n getTopRouter() {\n if (this.parent instanceof Router) {\n return this.parent;\n }\n else {\n return this.parent.getTopRouter();\n }\n }\n navigate(path, options) {\n // base path is nested by default in a NestedRouter unless explicitly set to false by caller\n const isBasePathNested = options?.isBasePathNested ?? true;\n let basePath;\n if (isBasePathNested) {\n const childBasePath = options?.basePath;\n // e.g. \"/store\" + \"/objects/123\" => \"/store/objects/123\"\n basePath = childBasePath ? joinPath(this.basePath, childBasePath) : this.basePath;\n this.parent.navigate(path, {\n ...options,\n basePath,\n });\n }\n else {\n // isBasePathNested === false: navigate to an absolute path without adding this router's basePath\n // Pass through to parent without adding our basePath prefix\n this.parent.navigate(path, {\n ...options,\n basePath: options?.basePath,\n });\n }\n }\n}\nconst ReactRouterContext = createContext(undefined);\nexport { ReactRouterContext };\nexport function useRouterContext() {\n const ctx = useContext(ReactRouterContext);\n if (!ctx) {\n throw new Error('useRouter must be used within a RouterProvider');\n }\n return ctx;\n}\nexport function useNavigate() {\n const { navigate } = useRouterContext();\n return navigate;\n}\nexport function useRouterBasePath() {\n const { matchedRoutePath, router } = useRouterContext();\n return router instanceof NestedRouter ? router.basePath : matchedRoutePath;\n}\nexport function useParams(arg) {\n const { params } = useRouterContext();\n if (arg) {\n return params[arg];\n }\n else {\n return params;\n }\n}\nexport function useLocation() {\n const { location } = useRouterContext();\n return location;\n}\nexport function usePageTitle(title) {\n useEffect(() => {\n const prev = document.title;\n document.title = title;\n return () => {\n document.title = prev;\n };\n }, [title]);\n}\nexport function useNavigationPrompt(prompt) {\n const { router } = useRouterContext();\n const topRouter = router.getTopRouter();\n useEffect(() => {\n topRouter.prompt = prompt;\n return () => {\n topRouter.prompt = undefined;\n };\n }, [prompt, topRouter]);\n useEffect(() => {\n if (prompt.when) {\n const doBlock = prompt.when;\n const listener = (ev) => {\n if (doBlock) {\n ev.preventDefault();\n ev.returnValue = '';\n }\n };\n window.addEventListener('beforeunload', listener);\n return () => {\n window.removeEventListener('beforeunload', listener);\n };\n }\n }, [prompt.when]);\n}\n//# sourceMappingURL=Router.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useNavigate, useRouterContext } from './Router';\nexport function Nav({ children, to, onClick, replace = true }) {\n const navigate = useNavigate();\n const _onClick = (ev) => {\n const link = ev.target.closest('a');\n const rawHref = link?.getAttribute('href');\n const target = to ?? rawHref;\n if (link && target) {\n ev.stopPropagation();\n ev.preventDefault();\n navigate(target, { replace });\n onClick?.(ev);\n }\n };\n return (_jsx(\"span\", { onClick: _onClick, children: children }));\n}\nexport function NavLink({ children, href, className, target, topLevelNav, clearBreadcrumbs = false, replace, skipStickyParams, }) {\n const { router } = useRouterContext();\n // In-app route = not an external URL, `_blank` target, or bare hash. Relative paths count too —\n // they must be routed, else the global link listener re-applies the module base path (wrong URL).\n const isAnchorOrEmpty = !href || href.startsWith('#');\n const isExternal = /^[a-z][a-z0-9+.-]*:/i.test(href) || href.startsWith('//') || (!!target && target !== '_self');\n const isInternal = !isAnchorOrEmpty && !isExternal;\n const resolvedHref = !skipStickyParams && isInternal ? router.getTopRouter().navigator.addStickyParams(href) : href;\n const _onClick = (ev) => {\n if (ev.defaultPrevented || !isInternal) {\n return;\n }\n ev.stopPropagation();\n ev.preventDefault();\n const actualRouter = topLevelNav ? router.getTopRouter() : router;\n actualRouter.navigate(href, { replace: replace ?? clearBreadcrumbs });\n };\n return (_jsx(\"a\", { href: resolvedHref, className: className, target: target, onClick: _onClick, children: children }));\n}\n//# sourceMappingURL=Nav.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useEffect, useState } from 'react';\nimport { useRouterContext } from './Router';\nexport function RouteComponent({ spinner }) {\n const ctx = useRouterContext();\n const route = ctx.route;\n if (route.Component) {\n const Component = route.Component;\n return _jsx(Component, { ...ctx.params });\n }\n else if (route.LazyComponent) {\n return _jsx(LazyRouteComponent, { route: route, spinner: spinner });\n }\n else {\n throw new Error(`Invalid route for ${route.path}. Either Component or LazyCOmponent must be specified.`);\n }\n}\nfunction LazyRouteComponent({ route, spinner }) {\n const [Component, setComponent] = useState(null);\n useEffect(() => {\n void route.LazyComponent().then((module) => {\n if (!module.default) {\n throw new Error(`Lazy module for ${route.path} does not have a default export`);\n }\n // we need to wrap the component type in an arrow function\n // otherwise the setState function will execute the function as a state update function\n setComponent(() => module.default);\n });\n }, [route]);\n return Component ? _jsx(Component, {}) : spinner || null;\n}\n//# sourceMappingURL=RouteComponent.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { FixLinks } from './FixLinks';\nimport { joinPath } from './path';\nimport { RouteComponent } from './RouteComponent';\nimport { ReactRouterContext, useRouterContext } from './Router';\nexport function NestedNavigationContext({ basePath, fixLinks = false, children }) {\n const ctx = useRouterContext();\n const wrapWithFixLinks = fixLinks\n ? (elem) => _jsx(FixLinks, { basePath: ctx.matchedRoutePath, children: elem })\n : (elem) => elem;\n return (_jsx(ReactRouterContext.Provider, { value: {\n ...ctx,\n navigate: (to, options) => {\n if (options?.isBasePathNested === false) {\n // Navigate to an absolute path without adding this context's basePath\n return ctx.navigate(to, options);\n }\n const actualBasePath = options?.basePath ? joinPath(basePath, options.basePath) : basePath;\n return ctx.navigate(to, { ...options, basePath: actualBasePath });\n },\n }, children: wrapWithFixLinks(children ? children : _jsx(RouteComponent, {})) }));\n}\n//# sourceMappingURL=NestedNavigationContext.js.map","import { jsxs as _jsxs, jsx as _jsx } from \"react/jsx-runtime\";\nimport { useRouterContext } from './Router';\nexport function Route404Component() {\n const ctx = useRouterContext();\n return _jsxs(\"div\", { children: [\"Route not found for path \", ctx.matchedRoutePath] });\n}\nexport function createRoute404() {\n return {\n params: {},\n matchedSegments: [],\n state: null,\n value: {\n path: 'virtual:404',\n Component: () => _jsx(Route404Component, {}),\n },\n };\n}\n//# sourceMappingURL=Route404.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useMemo, useRef } from 'react';\nimport { FixLinks } from './FixLinks';\nimport { createRoute404 } from './Route404';\nimport { RouteComponent } from './RouteComponent';\nimport { NestedRouter, ReactRouterContext, useRouterContext } from './Router';\nexport function NestedRouterProvider({ routes, index, children, fixLinks = false }) {\n const ctx = useRouterContext();\n // Capture basePath once at mount. When the parent router switches to a different\n // top-level route (e.g. /store -> /studio), the lazy loader briefly keeps rendering\n // this (now-stale) module with a new ctx. Keeping basePath stable lets the\n // ctx.matchedRoutePath !== nestedRouter.basePath check below detect the mismatch and\n // skip rendering instead of running match() against the wrong route table.\n const basePathRef = useRef(ctx.matchedRoutePath);\n const nestedRouter = useMemo(() => {\n if (typeof window === 'undefined')\n return null;\n const nestedRouter = new NestedRouter(ctx.router, basePathRef.current, routes);\n nestedRouter.index = index;\n return nestedRouter;\n }, [ctx.router, index, routes]);\n const nestedRouteMatch = useMemo(() => {\n if (!nestedRouter) {\n return undefined;\n }\n if (ctx.matchedRoutePath !== nestedRouter.basePath) {\n // The change belongs to another router level and will be handled there.\n return undefined;\n }\n return nestedRouter.match(ctx.remainingPath || '/') || createRoute404();\n }, [ctx.matchedRoutePath, ctx.remainingPath, nestedRouter]);\n const wrapWithFixLinks = fixLinks\n ? (elem) => _jsx(FixLinks, { basePath: ctx.matchedRoutePath, children: elem })\n : (elem) => elem;\n return (nestedRouteMatch && (_jsx(ReactRouterContext.Provider, { value: {\n ...ctx,\n // biome-ignore lint/style/noNonNullAssertion: intentional non-null assertion; TS can't prove narrowing here\n router: nestedRouter,\n route: nestedRouteMatch.value,\n params: nestedRouteMatch.params,\n matchedRoutePath: `/${nestedRouteMatch.matchedSegments.join('/')}`,\n remainingPath: nestedRouteMatch.remainingSegments\n ? `/${nestedRouteMatch.remainingSegments.join('/')}`\n : undefined,\n navigate: (to, options) => {\n if (nestedRouter) {\n return nestedRouter.navigate(to, options);\n }\n },\n }, children: wrapWithFixLinks(children ? children : _jsx(RouteComponent, {})) })));\n}\n//# sourceMappingURL=NestedRouterProvider.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useSafeLayoutEffect } from '@vertesia/ui/core';\nimport { useMemo, useState } from 'react';\nimport { createRoute404 } from './Route404';\nimport { RouteComponent } from './RouteComponent';\nimport { ReactRouterContext, Router } from './Router';\nexport function RouterProvider({ routes, index, onChange, children }) {\n const [state, setState] = useState(undefined);\n const router = useMemo(() => {\n if (typeof window === 'undefined')\n return null;\n const router = new Router(routes, (match) => {\n if (match === null) {\n match = createRoute404();\n }\n setState({\n location: window.location,\n route: match.value,\n params: match.params,\n state: match.state,\n router: router,\n matchedRoutePath: `/${match.matchedSegments.join('/')}`,\n remainingPath: match.remainingSegments ? `/${match.remainingSegments.join('/')}` : undefined,\n navigate: (to, options) => {\n return router.navigate(to, options);\n },\n });\n }).withObserver(onChange);\n router.index = index;\n return router;\n }, [index, onChange, routes]);\n useSafeLayoutEffect(() => {\n router?.start();\n return () => {\n router?.stop();\n };\n }, [router]);\n return (state && (_jsx(ReactRouterContext.Provider, { value: state, children: children ? children : _jsx(RouteComponent, {}) })));\n}\n//# sourceMappingURL=RouterProvider.js.map"],"names":["PathWithParams","path","params","hash","constructor","i","lastIndexOf","this","substring","indexOf","URLSearchParams","add","key","value","Object","entries","set","toString","isRootPath","joinPath","path1","path2","endsWith","startsWith","getPathSegments","s","e","length","split","toSegments","Array","isArray","Error","BASE_PATH","Symbol","LocationChangeEvent","name","type","location","state","_canceled","isPageLoad","isBackForward","isLinkClick","isNavigation","isCancelable","cancel","BeforeLocationChangeEvent","super","AfterLocationChangeEvent","HistoryNavigator","stickyParams","_popStateListener","_linkNavListener","_listeners","addListener","listener","push","fireLocationChange","event","firePageLoad","URL","window","href","addStickyParams","normalizeCurrentUrl","current","pathname","search","normalized","to","history","replaceState","navigate","options","stepsBack","stepBack","basePath","_navigate","steps","historyChain","origin","stateToStore","from","slice","data","undefined","title","document","beforeEvent","currentState","newChainEntry","replace","start","ev","target","tagName","toLowerCase","hasAttribute","url","elem","trim","getElementHrefAsUrl","preventDefault","addEventListener","body","stop","removeEventListener","FixLinks","children","ref","useRef","useEffect","divElem","_jsx","className","PathMatcher","tree","RootSegmentNode","loadMapping","mapping","addSegments","addPath","segments","node","l","segment","childNode","wildcard","VariableSegmentNode","join","WildcardSegmentNode","LiteralSegmentNode","match","matchedSegments","remainingSegments","ParentSegmentNode","_","paramName","BaseRouter","index","matcher","routes","route","useIndex","Router","prompt","observer","navigator","updateState","when","confirm","message","getTopRouter","setStickyParams","withObserver","NestedRouter","parent","isBasePathNested","childBasePath","ReactRouterContext","createContext","useRouterContext","ctx","useContext","useNavigate","useRouterBasePath","matchedRoutePath","router","useParams","arg","useLocation","usePageTitle","prev","useNavigationPrompt","topRouter","doBlock","returnValue","Nav","onClick","link","closest","rawHref","getAttribute","stopPropagation","NavLink","topLevelNav","clearBreadcrumbs","skipStickyParams","isAnchorOrEmpty","isExternal","test","isInternal","resolvedHref","defaultPrevented","RouteComponent","spinner","Component","LazyComponent","LazyRouteComponent","setComponent","useState","then","module","default","NestedNavigationContext","fixLinks","wrapWithFixLinks","Provider","actualBasePath","Route404Component","_jsxs","createRoute404","NestedRouterProvider","basePathRef","nestedRouter","useMemo","nestedRouteMatch","remainingPath","RouterProvider","onChange","setState","useSafeLayoutEffect"],"mappings":"sNAAO,MAAMA,EACTC,KACAC,OACAC,KACA,WAAAC,CAAYH,GACR,IAAII,EAAIJ,EAAKK,YAAY,KACrBD,GAAI,GACJE,KAAKJ,KAAOF,EAAKO,UAAUH,GAC3BJ,EAAOA,EAAKO,UAAU,EAAGH,IAGzBE,KAAKJ,KAAO,GAEhBE,EAAIJ,EAAKQ,QAAQ,KACbJ,GAAI,GACJE,KAAKN,KAAOA,EAAKO,UAAU,EAAGH,GAC9BE,KAAKL,OAAS,IAAIQ,gBAAgBT,EAAKO,UAAUH,EAAI,MAGrDE,KAAKN,KAAOA,EACZM,KAAKL,OAAS,IAAIQ,gBAE1B,CACA,GAAAC,CAAIT,GACA,IAAK,MAAOU,EAAKC,KAAUC,OAAOC,QAAQb,GACtCK,KAAKL,OAAOc,IAAIJ,EAAKC,GAEzB,OAAON,IACX,CACA,QAAAU,GACI,MAAO,GAAGV,KAAKN,QAAQM,KAAKL,OAAOe,aAAaV,KAAKJ,MACzD,EC/BG,SAASe,EAAWjB,GACvB,MAAgB,MAATA,GAAyB,KAATA,CAC3B,CACO,SAASkB,EAASC,EAAOC,GAa5B,OAXIA,EADAD,EAAME,SAAS,MAAQD,EAAME,WAAW,KAChCH,EAAQC,EAAMb,UAAU,GAE3BY,EAAME,SAAS,MAGfD,EAAME,WAAW,KAFdH,EAAQC,EAMR,GAAGD,KAASC,GAG5B,CACO,SAASG,EAAgBvB,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