@mohou/ui 1.0.20
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 +10 -0
- package/lib/types/blocks/activity-feed.d.ts +12 -0
- package/lib/types/blocks/activity-feed.d.ts.map +1 -0
- package/lib/types/blocks/app-shell.d.ts +17 -0
- package/lib/types/blocks/app-shell.d.ts.map +1 -0
- package/lib/types/blocks/attachment-gallery.d.ts +15 -0
- package/lib/types/blocks/attachment-gallery.d.ts.map +1 -0
- package/lib/types/blocks/bar-chart.d.ts +19 -0
- package/lib/types/blocks/bar-chart.d.ts.map +1 -0
- package/lib/types/blocks/comment-thread.d.ts +17 -0
- package/lib/types/blocks/comment-thread.d.ts.map +1 -0
- package/lib/types/blocks/dashboard-shell.d.ts +35 -0
- package/lib/types/blocks/dashboard-shell.d.ts.map +1 -0
- package/lib/types/blocks/description-list.d.ts +14 -0
- package/lib/types/blocks/description-list.d.ts.map +1 -0
- package/lib/types/blocks/detail-panel.d.ts +16 -0
- package/lib/types/blocks/detail-panel.d.ts.map +1 -0
- package/lib/types/blocks/donut-chart.d.ts +21 -0
- package/lib/types/blocks/donut-chart.d.ts.map +1 -0
- package/lib/types/blocks/env-badge.d.ts +11 -0
- package/lib/types/blocks/env-badge.d.ts.map +1 -0
- package/lib/types/blocks/env-table.d.ts +29 -0
- package/lib/types/blocks/env-table.d.ts.map +1 -0
- package/lib/types/blocks/file-tree.d.ts +12 -0
- package/lib/types/blocks/file-tree.d.ts.map +1 -0
- package/lib/types/blocks/filter-bar.d.ts +15 -0
- package/lib/types/blocks/filter-bar.d.ts.map +1 -0
- package/lib/types/blocks/form-sheet.d.ts +47 -0
- package/lib/types/blocks/form-sheet.d.ts.map +1 -0
- package/lib/types/blocks/gauge.d.ts +14 -0
- package/lib/types/blocks/gauge.d.ts.map +1 -0
- package/lib/types/blocks/list-detail.d.ts +42 -0
- package/lib/types/blocks/list-detail.d.ts.map +1 -0
- package/lib/types/blocks/notification-center.d.ts +16 -0
- package/lib/types/blocks/notification-center.d.ts.map +1 -0
- package/lib/types/blocks/page-header.d.ts +15 -0
- package/lib/types/blocks/page-header.d.ts.map +1 -0
- package/lib/types/blocks/progress-ring.d.ts +13 -0
- package/lib/types/blocks/progress-ring.d.ts.map +1 -0
- package/lib/types/blocks/radar-chart.d.ts +19 -0
- package/lib/types/blocks/radar-chart.d.ts.map +1 -0
- package/lib/types/blocks/request-inspector.d.ts +14 -0
- package/lib/types/blocks/request-inspector.d.ts.map +1 -0
- package/lib/types/blocks/reveal.d.ts +30 -0
- package/lib/types/blocks/reveal.d.ts.map +1 -0
- package/lib/types/blocks/run-timeline.d.ts +12 -0
- package/lib/types/blocks/run-timeline.d.ts.map +1 -0
- package/lib/types/blocks/scrollspy.d.ts +15 -0
- package/lib/types/blocks/scrollspy.d.ts.map +1 -0
- package/lib/types/blocks/settings-split.d.ts +47 -0
- package/lib/types/blocks/settings-split.d.ts.map +1 -0
- package/lib/types/blocks/severity-chip.d.ts +23 -0
- package/lib/types/blocks/severity-chip.d.ts.map +1 -0
- package/lib/types/blocks/sparkline.d.ts +14 -0
- package/lib/types/blocks/sparkline.d.ts.map +1 -0
- package/lib/types/blocks/stat-card.d.ts +17 -0
- package/lib/types/blocks/stat-card.d.ts.map +1 -0
- package/lib/types/blocks/status-badge.d.ts +21 -0
- package/lib/types/blocks/status-badge.d.ts.map +1 -0
- package/lib/types/blocks/table-page.d.ts +35 -0
- package/lib/types/blocks/table-page.d.ts.map +1 -0
- package/lib/types/blocks/terminal.d.ts +12 -0
- package/lib/types/blocks/terminal.d.ts.map +1 -0
- package/lib/types/blocks/test-step-list.d.ts +17 -0
- package/lib/types/blocks/test-step-list.d.ts.map +1 -0
- package/lib/types/blocks/trend-card.d.ts +20 -0
- package/lib/types/blocks/trend-card.d.ts.map +1 -0
- package/lib/types/blocks/wizard-shell.d.ts +47 -0
- package/lib/types/blocks/wizard-shell.d.ts.map +1 -0
- package/lib/types/components/accordion.d.ts +14 -0
- package/lib/types/components/accordion.d.ts.map +1 -0
- package/lib/types/components/alert-dialog.d.ts +26 -0
- package/lib/types/components/alert-dialog.d.ts.map +1 -0
- package/lib/types/components/alert.d.ts +18 -0
- package/lib/types/components/alert.d.ts.map +1 -0
- package/lib/types/components/aspect-ratio.d.ts +9 -0
- package/lib/types/components/aspect-ratio.d.ts.map +1 -0
- package/lib/types/components/attachment.d.ts +28 -0
- package/lib/types/components/attachment.d.ts.map +1 -0
- package/lib/types/components/avatar.d.ts +16 -0
- package/lib/types/components/avatar.d.ts.map +1 -0
- package/lib/types/components/badge.d.ts +15 -0
- package/lib/types/components/badge.d.ts.map +1 -0
- package/lib/types/components/breadcrumb.d.ts +15 -0
- package/lib/types/components/breadcrumb.d.ts.map +1 -0
- package/lib/types/components/bubble.d.ts +21 -0
- package/lib/types/components/bubble.d.ts.map +1 -0
- package/lib/types/components/button-group.d.ts +17 -0
- package/lib/types/components/button-group.d.ts.map +1 -0
- package/lib/types/components/button.d.ts +16 -0
- package/lib/types/components/button.d.ts.map +1 -0
- package/lib/types/components/calendar.d.ts +15 -0
- package/lib/types/components/calendar.d.ts.map +1 -0
- package/lib/types/components/card.d.ts +19 -0
- package/lib/types/components/card.d.ts.map +1 -0
- package/lib/types/components/chart.d.ts +52 -0
- package/lib/types/components/chart.d.ts.map +1 -0
- package/lib/types/components/checkbox.d.ts +9 -0
- package/lib/types/components/checkbox.d.ts.map +1 -0
- package/lib/types/components/collapsible.d.ts +10 -0
- package/lib/types/components/collapsible.d.ts.map +1 -0
- package/lib/types/components/combobox.d.ts +29 -0
- package/lib/types/components/combobox.d.ts.map +1 -0
- package/lib/types/components/command.d.ts +26 -0
- package/lib/types/components/command.d.ts.map +1 -0
- package/lib/types/components/context-menu.d.ts +34 -0
- package/lib/types/components/context-menu.d.ts.map +1 -0
- package/lib/types/components/dialog.d.ts +30 -0
- package/lib/types/components/dialog.d.ts.map +1 -0
- package/lib/types/components/drawer.d.ts +21 -0
- package/lib/types/components/drawer.d.ts.map +1 -0
- package/lib/types/components/dropdown-menu.d.ts +37 -0
- package/lib/types/components/dropdown-menu.d.ts.map +1 -0
- package/lib/types/components/empty.d.ts +24 -0
- package/lib/types/components/empty.d.ts.map +1 -0
- package/lib/types/components/field.d.ts +31 -0
- package/lib/types/components/field.d.ts.map +1 -0
- package/lib/types/components/hover-card.d.ts +10 -0
- package/lib/types/components/hover-card.d.ts.map +1 -0
- package/lib/types/components/input-group.d.ts +23 -0
- package/lib/types/components/input-group.d.ts.map +1 -0
- package/lib/types/components/input.d.ts +11 -0
- package/lib/types/components/input.d.ts.map +1 -0
- package/lib/types/components/item.d.ts +27 -0
- package/lib/types/components/item.d.ts.map +1 -0
- package/lib/types/components/kbd.d.ts +8 -0
- package/lib/types/components/kbd.d.ts.map +1 -0
- package/lib/types/components/label.d.ts +11 -0
- package/lib/types/components/label.d.ts.map +1 -0
- package/lib/types/components/marker.d.ts +15 -0
- package/lib/types/components/marker.d.ts.map +1 -0
- package/lib/types/components/menubar.d.ts +34 -0
- package/lib/types/components/menubar.d.ts.map +1 -0
- package/lib/types/components/message-scroller.d.ts +15 -0
- package/lib/types/components/message-scroller.d.ts.map +1 -0
- package/lib/types/components/message.d.ts +15 -0
- package/lib/types/components/message.d.ts.map +1 -0
- package/lib/types/components/native-select.d.ts +13 -0
- package/lib/types/components/native-select.d.ts.map +1 -0
- package/lib/types/components/navigation-menu.d.ts +16 -0
- package/lib/types/components/navigation-menu.d.ts.map +1 -0
- package/lib/types/components/pagination.d.ts +22 -0
- package/lib/types/components/pagination.d.ts.map +1 -0
- package/lib/types/components/popover.d.ts +17 -0
- package/lib/types/components/popover.d.ts.map +1 -0
- package/lib/types/components/progress.d.ts +15 -0
- package/lib/types/components/progress.d.ts.map +1 -0
- package/lib/types/components/questionnaire.d.ts +24 -0
- package/lib/types/components/questionnaire.d.ts.map +1 -0
- package/lib/types/components/radio-group.d.ts +10 -0
- package/lib/types/components/radio-group.d.ts.map +1 -0
- package/lib/types/components/resizable.d.ts +15 -0
- package/lib/types/components/resizable.d.ts.map +1 -0
- package/lib/types/components/scroll-area.d.ts +9 -0
- package/lib/types/components/scroll-area.d.ts.map +1 -0
- package/lib/types/components/select.d.ts +23 -0
- package/lib/types/components/select.d.ts.map +1 -0
- package/lib/types/components/separator.d.ts +9 -0
- package/lib/types/components/separator.d.ts.map +1 -0
- package/lib/types/components/sheet.d.ts +28 -0
- package/lib/types/components/sheet.d.ts.map +1 -0
- package/lib/types/components/sidebar.d.ts +68 -0
- package/lib/types/components/sidebar.d.ts.map +1 -0
- package/lib/types/components/skeleton.d.ts +10 -0
- package/lib/types/components/skeleton.d.ts.map +1 -0
- package/lib/types/components/slider.d.ts +8 -0
- package/lib/types/components/slider.d.ts.map +1 -0
- package/lib/types/components/spinner.d.ts +9 -0
- package/lib/types/components/spinner.d.ts.map +1 -0
- package/lib/types/components/switch.d.ts +13 -0
- package/lib/types/components/switch.d.ts.map +1 -0
- package/lib/types/components/table.d.ts +18 -0
- package/lib/types/components/table.d.ts.map +1 -0
- package/lib/types/components/tabs.d.ts +18 -0
- package/lib/types/components/tabs.d.ts.map +1 -0
- package/lib/types/components/textarea.d.ts +11 -0
- package/lib/types/components/textarea.d.ts.map +1 -0
- package/lib/types/components/toast.d.ts +35 -0
- package/lib/types/components/toast.d.ts.map +1 -0
- package/lib/types/components/toggle-group.d.ts +16 -0
- package/lib/types/components/toggle-group.d.ts.map +1 -0
- package/lib/types/components/toggle.d.ts +13 -0
- package/lib/types/components/toggle.d.ts.map +1 -0
- package/lib/types/components/tooltip.d.ts +14 -0
- package/lib/types/components/tooltip.d.ts.map +1 -0
- package/lib/types/composites/autocomplete.d.ts +15 -0
- package/lib/types/composites/autocomplete.d.ts.map +1 -0
- package/lib/types/composites/cascader.d.ts +18 -0
- package/lib/types/composites/cascader.d.ts.map +1 -0
- package/lib/types/composites/color-picker.d.ts +12 -0
- package/lib/types/composites/color-picker.d.ts.map +1 -0
- package/lib/types/composites/confirm-dialog.d.ts +17 -0
- package/lib/types/composites/confirm-dialog.d.ts.map +1 -0
- package/lib/types/composites/copyable.d.ts +12 -0
- package/lib/types/composites/copyable.d.ts.map +1 -0
- package/lib/types/composites/currency-input.d.ts +13 -0
- package/lib/types/composites/currency-input.d.ts.map +1 -0
- package/lib/types/composites/date-chrome.d.ts +8 -0
- package/lib/types/composites/date-chrome.d.ts.map +1 -0
- package/lib/types/composites/date-picker.d.ts +17 -0
- package/lib/types/composites/date-picker.d.ts.map +1 -0
- package/lib/types/composites/date-range-picker.d.ts +18 -0
- package/lib/types/composites/date-range-picker.d.ts.map +1 -0
- package/lib/types/composites/date-time-picker.d.ts +18 -0
- package/lib/types/composites/date-time-picker.d.ts.map +1 -0
- package/lib/types/composites/date-time-range-picker.d.ts +17 -0
- package/lib/types/composites/date-time-range-picker.d.ts.map +1 -0
- package/lib/types/composites/duration-input.d.ts +14 -0
- package/lib/types/composites/duration-input.d.ts.map +1 -0
- package/lib/types/composites/live-refresh.d.ts +46 -0
- package/lib/types/composites/live-refresh.d.ts.map +1 -0
- package/lib/types/composites/mini-calendar.d.ts +13 -0
- package/lib/types/composites/mini-calendar.d.ts.map +1 -0
- package/lib/types/composites/number-field.d.ts +15 -0
- package/lib/types/composites/number-field.d.ts.map +1 -0
- package/lib/types/composites/password-field.d.ts +13 -0
- package/lib/types/composites/password-field.d.ts.map +1 -0
- package/lib/types/composites/phone-input.d.ts +12 -0
- package/lib/types/composites/phone-input.d.ts.map +1 -0
- package/lib/types/composites/rating.d.ts +13 -0
- package/lib/types/composites/rating.d.ts.map +1 -0
- package/lib/types/composites/relative-date-picker.d.ts +16 -0
- package/lib/types/composites/relative-date-picker.d.ts.map +1 -0
- package/lib/types/composites/search-input.d.ts +16 -0
- package/lib/types/composites/search-input.d.ts.map +1 -0
- package/lib/types/composites/slider-range.d.ts +14 -0
- package/lib/types/composites/slider-range.d.ts.map +1 -0
- package/lib/types/composites/tag-input.d.ts +14 -0
- package/lib/types/composites/tag-input.d.ts.map +1 -0
- package/lib/types/composites/time-picker.d.ts +28 -0
- package/lib/types/composites/time-picker.d.ts.map +1 -0
- package/lib/types/composites/time-range-picker.d.ts +16 -0
- package/lib/types/composites/time-range-picker.d.ts.map +1 -0
- package/lib/types/composites/timezone-select.d.ts +22 -0
- package/lib/types/composites/timezone-select.d.ts.map +1 -0
- package/lib/types/composites/transfer.d.ts +17 -0
- package/lib/types/composites/transfer.d.ts.map +1 -0
- package/lib/types/composites/user-picker.d.ts +17 -0
- package/lib/types/composites/user-picker.d.ts.map +1 -0
- package/lib/types/hooks/use-html-dark.d.ts +4 -0
- package/lib/types/hooks/use-html-dark.d.ts.map +1 -0
- package/lib/types/hooks/use-mobile.d.ts +2 -0
- package/lib/types/hooks/use-mobile.d.ts.map +1 -0
- package/lib/types/i18n/context.d.ts +310 -0
- package/lib/types/i18n/context.d.ts.map +1 -0
- package/lib/types/i18n/en.d.ts +290 -0
- package/lib/types/i18n/en.d.ts.map +1 -0
- package/lib/types/i18n/zh.d.ts +3 -0
- package/lib/types/i18n/zh.d.ts.map +1 -0
- package/lib/types/index.d.ts +151 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/lib/clipboard.d.ts +3 -0
- package/lib/types/lib/clipboard.d.ts.map +1 -0
- package/lib/types/lib/defined.d.ts +3 -0
- package/lib/types/lib/defined.d.ts.map +1 -0
- package/lib/types/lib/icons.d.ts +16 -0
- package/lib/types/lib/icons.d.ts.map +1 -0
- package/lib/types/lib/illustrations.d.ts +18 -0
- package/lib/types/lib/illustrations.d.ts.map +1 -0
- package/lib/types/lib/utils.d.ts +3 -0
- package/lib/types/lib/utils.d.ts.map +1 -0
- package/lib/types/products/cells.d.ts +13 -0
- package/lib/types/products/cells.d.ts.map +1 -0
- package/lib/types/products/code-block.d.ts +14 -0
- package/lib/types/products/code-block.d.ts.map +1 -0
- package/lib/types/products/code-editor.d.ts +21 -0
- package/lib/types/products/code-editor.d.ts.map +1 -0
- package/lib/types/products/commit-graph.d.ts +38 -0
- package/lib/types/products/commit-graph.d.ts.map +1 -0
- package/lib/types/products/data-grid.d.ts +79 -0
- package/lib/types/products/data-grid.d.ts.map +1 -0
- package/lib/types/products/diff-viewer.d.ts +15 -0
- package/lib/types/products/diff-viewer.d.ts.map +1 -0
- package/lib/types/products/event-calendar.d.ts +23 -0
- package/lib/types/products/event-calendar.d.ts.map +1 -0
- package/lib/types/products/export-csv.d.ts +2 -0
- package/lib/types/products/export-csv.d.ts.map +1 -0
- package/lib/types/products/file-dropzone.d.ts +12 -0
- package/lib/types/products/file-dropzone.d.ts.map +1 -0
- package/lib/types/products/full-calendar/animations.d.ts +12 -0
- package/lib/types/products/full-calendar/animations.d.ts.map +1 -0
- package/lib/types/products/full-calendar/calendar-body.d.ts +2 -0
- package/lib/types/products/full-calendar/calendar-body.d.ts.map +1 -0
- package/lib/types/products/full-calendar/constants.d.ts +3 -0
- package/lib/types/products/full-calendar/constants.d.ts.map +1 -0
- package/lib/types/products/full-calendar/contexts/calendar-context.d.ts +42 -0
- package/lib/types/products/full-calendar/contexts/calendar-context.d.ts.map +1 -0
- package/lib/types/products/full-calendar/contexts/dnd-context.d.ts +16 -0
- package/lib/types/products/full-calendar/contexts/dnd-context.d.ts.map +1 -0
- package/lib/types/products/full-calendar/dialogs/add-edit-event-dialog.d.ts +21 -0
- package/lib/types/products/full-calendar/dialogs/add-edit-event-dialog.d.ts.map +1 -0
- package/lib/types/products/full-calendar/dialogs/delete-event-dialog.d.ts +4 -0
- package/lib/types/products/full-calendar/dialogs/delete-event-dialog.d.ts.map +1 -0
- package/lib/types/products/full-calendar/dialogs/event-details-dialog.d.ts +7 -0
- package/lib/types/products/full-calendar/dialogs/event-details-dialog.d.ts.map +1 -0
- package/lib/types/products/full-calendar/dialogs/events-list-dialog.d.ts +9 -0
- package/lib/types/products/full-calendar/dialogs/events-list-dialog.d.ts.map +1 -0
- package/lib/types/products/full-calendar/dnd/draggable-event.d.ts +11 -0
- package/lib/types/products/full-calendar/dnd/draggable-event.d.ts.map +1 -0
- package/lib/types/products/full-calendar/dnd/droppable-area.d.ts +11 -0
- package/lib/types/products/full-calendar/dnd/droppable-area.d.ts.map +1 -0
- package/lib/types/products/full-calendar/dnd/resizable-event.d.ts +10 -0
- package/lib/types/products/full-calendar/dnd/resizable-event.d.ts.map +1 -0
- package/lib/types/products/full-calendar/header/calendar-header.d.ts +2 -0
- package/lib/types/products/full-calendar/header/calendar-header.d.ts.map +1 -0
- package/lib/types/products/full-calendar/header/date-navigator.d.ts +9 -0
- package/lib/types/products/full-calendar/header/date-navigator.d.ts.map +1 -0
- package/lib/types/products/full-calendar/header/filter.d.ts +2 -0
- package/lib/types/products/full-calendar/header/filter.d.ts.map +1 -0
- package/lib/types/products/full-calendar/header/today-button.d.ts +2 -0
- package/lib/types/products/full-calendar/header/today-button.d.ts.map +1 -0
- package/lib/types/products/full-calendar/header/user-select.d.ts +2 -0
- package/lib/types/products/full-calendar/header/user-select.d.ts.map +1 -0
- package/lib/types/products/full-calendar/header/view-tabs.d.ts +4 -0
- package/lib/types/products/full-calendar/header/view-tabs.d.ts.map +1 -0
- package/lib/types/products/full-calendar/helpers.d.ts +42 -0
- package/lib/types/products/full-calendar/helpers.d.ts.map +1 -0
- package/lib/types/products/full-calendar/hooks/use-time-range-create.d.ts +25 -0
- package/lib/types/products/full-calendar/hooks/use-time-range-create.d.ts.map +1 -0
- package/lib/types/products/full-calendar/hooks.d.ts +11 -0
- package/lib/types/products/full-calendar/hooks.d.ts.map +1 -0
- package/lib/types/products/full-calendar/interfaces.d.ts +21 -0
- package/lib/types/products/full-calendar/interfaces.d.ts.map +1 -0
- package/lib/types/products/full-calendar/settings/settings.d.ts +2 -0
- package/lib/types/products/full-calendar/settings/settings.d.ts.map +1 -0
- package/lib/types/products/full-calendar/shims/avatar-group.d.ts +7 -0
- package/lib/types/products/full-calendar/shims/avatar-group.d.ts.map +1 -0
- package/lib/types/products/full-calendar/shims/day-picker.d.ts +2 -0
- package/lib/types/products/full-calendar/shims/day-picker.d.ts.map +1 -0
- package/lib/types/products/full-calendar/shims/motion.d.ts +32 -0
- package/lib/types/products/full-calendar/shims/motion.d.ts.map +1 -0
- package/lib/types/products/full-calendar/shims/next-themes.d.ts +5 -0
- package/lib/types/products/full-calendar/shims/next-themes.d.ts.map +1 -0
- package/lib/types/products/full-calendar/shims/re-resizable.d.ts +19 -0
- package/lib/types/products/full-calendar/shims/re-resizable.d.ts.map +1 -0
- package/lib/types/products/full-calendar/shims/sonner.d.ts +5 -0
- package/lib/types/products/full-calendar/shims/sonner.d.ts.map +1 -0
- package/lib/types/products/full-calendar/types.d.ts +3 -0
- package/lib/types/products/full-calendar/types.d.ts.map +1 -0
- package/lib/types/products/full-calendar/views/agenda-view/agenda-events.d.ts +3 -0
- package/lib/types/products/full-calendar/views/agenda-view/agenda-events.d.ts.map +1 -0
- package/lib/types/products/full-calendar/views/month-view/calendar-month-view.d.ts +8 -0
- package/lib/types/products/full-calendar/views/month-view/calendar-month-view.d.ts.map +1 -0
- package/lib/types/products/full-calendar/views/month-view/day-cell.d.ts +12 -0
- package/lib/types/products/full-calendar/views/month-view/day-cell.d.ts.map +1 -0
- package/lib/types/products/full-calendar/views/month-view/event-bullet.d.ts +6 -0
- package/lib/types/products/full-calendar/views/month-view/event-bullet.d.ts.map +1 -0
- package/lib/types/products/full-calendar/views/month-view/month-event-badge.d.ts +17 -0
- package/lib/types/products/full-calendar/views/month-view/month-event-badge.d.ts.map +1 -0
- package/lib/types/products/full-calendar/views/week-and-day-view/calendar-day-view.d.ts +8 -0
- package/lib/types/products/full-calendar/views/week-and-day-view/calendar-day-view.d.ts.map +1 -0
- package/lib/types/products/full-calendar/views/week-and-day-view/calendar-time-line.d.ts +2 -0
- package/lib/types/products/full-calendar/views/week-and-day-view/calendar-time-line.d.ts.map +1 -0
- package/lib/types/products/full-calendar/views/week-and-day-view/calendar-week-view.d.ts +8 -0
- package/lib/types/products/full-calendar/views/week-and-day-view/calendar-week-view.d.ts.map +1 -0
- package/lib/types/products/full-calendar/views/week-and-day-view/day-view-multi-day-events-row.d.ts +8 -0
- package/lib/types/products/full-calendar/views/week-and-day-view/day-view-multi-day-events-row.d.ts.map +1 -0
- package/lib/types/products/full-calendar/views/week-and-day-view/event-block.d.ts +12 -0
- package/lib/types/products/full-calendar/views/week-and-day-view/event-block.d.ts.map +1 -0
- package/lib/types/products/full-calendar/views/week-and-day-view/render-grouped-events.d.ts +8 -0
- package/lib/types/products/full-calendar/views/week-and-day-view/render-grouped-events.d.ts.map +1 -0
- package/lib/types/products/full-calendar/views/week-and-day-view/week-view-multi-day-events-row.d.ts +8 -0
- package/lib/types/products/full-calendar/views/week-and-day-view/week-view-multi-day-events-row.d.ts.map +1 -0
- package/lib/types/products/full-calendar/views/year-view/calendar-year-view.d.ts +8 -0
- package/lib/types/products/full-calendar/views/year-view/calendar-year-view.d.ts.map +1 -0
- package/lib/types/products/gantt.d.ts +17 -0
- package/lib/types/products/gantt.d.ts.map +1 -0
- package/lib/types/products/jira-wiki-parse.d.ts +55 -0
- package/lib/types/products/jira-wiki-parse.d.ts.map +1 -0
- package/lib/types/products/jira-wiki.d.ts +39 -0
- package/lib/types/products/jira-wiki.d.ts.map +1 -0
- package/lib/types/products/jql-input.d.ts +22 -0
- package/lib/types/products/jql-input.d.ts.map +1 -0
- package/lib/types/products/json-viewer.d.ts +12 -0
- package/lib/types/products/json-viewer.d.ts.map +1 -0
- package/lib/types/products/kanban-issue-panel.d.ts +15 -0
- package/lib/types/products/kanban-issue-panel.d.ts.map +1 -0
- package/lib/types/products/kanban.d.ts +43 -0
- package/lib/types/products/kanban.d.ts.map +1 -0
- package/lib/types/products/log-viewer.d.ts +25 -0
- package/lib/types/products/log-viewer.d.ts.map +1 -0
- package/lib/types/products/markdown-editor.d.ts +16 -0
- package/lib/types/products/markdown-editor.d.ts.map +1 -0
- package/lib/types/products/markdown.d.ts +13 -0
- package/lib/types/products/markdown.d.ts.map +1 -0
- package/lib/types/products/rich-text-editor.d.ts +13 -0
- package/lib/types/products/rich-text-editor.d.ts.map +1 -0
- package/lib/types/products/sortable-list.d.ts +16 -0
- package/lib/types/products/sortable-list.d.ts.map +1 -0
- package/lib/types/products/stepper.d.ts +39 -0
- package/lib/types/products/stepper.d.ts.map +1 -0
- package/lib/types/products/timeline.d.ts +17 -0
- package/lib/types/products/timeline.d.ts.map +1 -0
- package/lib/types/products/tree-view.d.ts +17 -0
- package/lib/types/products/tree-view.d.ts.map +1 -0
- package/lib/types/sdk/app-error-boundary.d.ts +33 -0
- package/lib/types/sdk/app-error-boundary.d.ts.map +1 -0
- package/lib/types/sdk/app-id.d.ts +6 -0
- package/lib/types/sdk/app-id.d.ts.map +1 -0
- package/lib/types/sdk/use-app.d.ts +32 -0
- package/lib/types/sdk/use-app.d.ts.map +1 -0
- package/package.json +67 -0
- package/src/blocks/activity-feed.tsx +16 -0
- package/src/blocks/app-shell.tsx +38 -0
- package/src/blocks/attachment-gallery.tsx +36 -0
- package/src/blocks/bar-chart.tsx +46 -0
- package/src/blocks/comment-thread.tsx +37 -0
- package/src/blocks/dashboard-shell.tsx +108 -0
- package/src/blocks/description-list.tsx +23 -0
- package/src/blocks/detail-panel.tsx +43 -0
- package/src/blocks/donut-chart.tsx +54 -0
- package/src/blocks/env-badge.tsx +30 -0
- package/src/blocks/env-table.tsx +315 -0
- package/src/blocks/file-tree.tsx +12 -0
- package/src/blocks/filter-bar.tsx +22 -0
- package/src/blocks/form-sheet.tsx +159 -0
- package/src/blocks/gauge.tsx +36 -0
- package/src/blocks/list-detail.tsx +120 -0
- package/src/blocks/notification-center.tsx +29 -0
- package/src/blocks/page-header.tsx +31 -0
- package/src/blocks/progress-ring.tsx +43 -0
- package/src/blocks/radar-chart.tsx +47 -0
- package/src/blocks/request-inspector.tsx +41 -0
- package/src/blocks/reveal.tsx +56 -0
- package/src/blocks/run-timeline.tsx +12 -0
- package/src/blocks/scrollspy.tsx +48 -0
- package/src/blocks/settings-split.tsx +153 -0
- package/src/blocks/severity-chip.tsx +34 -0
- package/src/blocks/sparkline.tsx +27 -0
- package/src/blocks/stat-card.tsx +50 -0
- package/src/blocks/status-badge.tsx +40 -0
- package/src/blocks/table-page.tsx +82 -0
- package/src/blocks/terminal.tsx +28 -0
- package/src/blocks/test-step-list.tsx +26 -0
- package/src/blocks/trend-card.tsx +57 -0
- package/src/blocks/wizard-shell.tsx +131 -0
- package/src/cdn-modules.d.ts +5 -0
- package/src/components/accordion.tsx +79 -0
- package/src/components/alert-dialog.tsx +192 -0
- package/src/components/alert.tsx +83 -0
- package/src/components/aspect-ratio.tsx +26 -0
- package/src/components/attachment.tsx +211 -0
- package/src/components/avatar.tsx +111 -0
- package/src/components/badge.tsx +59 -0
- package/src/components/breadcrumb.tsx +129 -0
- package/src/components/bubble.tsx +132 -0
- package/src/components/button-group.tsx +93 -0
- package/src/components/button.tsx +65 -0
- package/src/components/calendar.tsx +224 -0
- package/src/components/card.tsx +110 -0
- package/src/components/chart.tsx +378 -0
- package/src/components/checkbox.tsx +33 -0
- package/src/components/collapsible.tsx +23 -0
- package/src/components/combobox.tsx +299 -0
- package/src/components/command.tsx +201 -0
- package/src/components/context-menu.tsx +274 -0
- package/src/components/dialog.tsx +179 -0
- package/src/components/drawer.tsx +230 -0
- package/src/components/dropdown-menu.tsx +274 -0
- package/src/components/empty.tsx +130 -0
- package/src/components/field.tsx +242 -0
- package/src/components/hover-card.tsx +53 -0
- package/src/components/input-group.tsx +161 -0
- package/src/components/input.tsx +27 -0
- package/src/components/item.tsx +205 -0
- package/src/components/kbd.tsx +30 -0
- package/src/components/label.tsx +26 -0
- package/src/components/marker.tsx +75 -0
- package/src/components/menubar.tsx +283 -0
- package/src/components/message-scroller.tsx +133 -0
- package/src/components/message.tsx +96 -0
- package/src/components/native-select.tsx +65 -0
- package/src/components/navigation-menu.tsx +172 -0
- package/src/components/pagination.tsx +138 -0
- package/src/components/popover.tsx +95 -0
- package/src/components/progress.tsx +89 -0
- package/src/components/questionnaire.tsx +332 -0
- package/src/components/radio-group.tsx +40 -0
- package/src/components/resizable.tsx +56 -0
- package/src/components/scroll-area.tsx +56 -0
- package/src/components/select.tsx +207 -0
- package/src/components/separator.tsx +28 -0
- package/src/components/sheet.tsx +158 -0
- package/src/components/sidebar.tsx +725 -0
- package/src/components/skeleton.tsx +20 -0
- package/src/components/slider.tsx +56 -0
- package/src/components/spinner.tsx +16 -0
- package/src/components/switch.tsx +38 -0
- package/src/components/table.tsx +121 -0
- package/src/components/tabs.tsx +88 -0
- package/src/components/textarea.tsx +25 -0
- package/src/components/toast.tsx +273 -0
- package/src/components/toggle-group.tsx +92 -0
- package/src/components/toggle.tsx +47 -0
- package/src/components/tooltip.tsx +72 -0
- package/src/composites/autocomplete.tsx +61 -0
- package/src/composites/cascader.tsx +52 -0
- package/src/composites/color-picker.tsx +25 -0
- package/src/composites/confirm-dialog.tsx +62 -0
- package/src/composites/copyable.tsx +44 -0
- package/src/composites/currency-input.tsx +37 -0
- package/src/composites/date-chrome.tsx +156 -0
- package/src/composites/date-picker.tsx +97 -0
- package/src/composites/date-range-picker.tsx +99 -0
- package/src/composites/date-time-picker.tsx +121 -0
- package/src/composites/date-time-range-picker.tsx +57 -0
- package/src/composites/duration-input.tsx +128 -0
- package/src/composites/live-refresh.tsx +348 -0
- package/src/composites/mini-calendar.tsx +30 -0
- package/src/composites/number-field.tsx +59 -0
- package/src/composites/password-field.tsx +50 -0
- package/src/composites/phone-input.tsx +28 -0
- package/src/composites/rating.tsx +45 -0
- package/src/composites/relative-date-picker.tsx +68 -0
- package/src/composites/search-input.tsx +55 -0
- package/src/composites/slider-range.tsx +36 -0
- package/src/composites/tag-input.tsx +62 -0
- package/src/composites/time-picker.tsx +208 -0
- package/src/composites/time-range-picker.tsx +31 -0
- package/src/composites/timezone-select.tsx +257 -0
- package/src/composites/transfer.tsx +58 -0
- package/src/composites/user-picker.tsx +46 -0
- package/src/hooks/use-html-dark.ts +36 -0
- package/src/hooks/use-mobile.ts +22 -0
- package/src/i18n/context.tsx +71 -0
- package/src/i18n/en.ts +308 -0
- package/src/i18n/zh.ts +290 -0
- package/src/index.ts +151 -0
- package/src/lib/clipboard.ts +10 -0
- package/src/lib/defined.ts +8 -0
- package/src/lib/icons.tsx +16 -0
- package/src/lib/illustrations.tsx +573 -0
- package/src/lib/utils.ts +6 -0
- package/src/products/cells.tsx +18 -0
- package/src/products/code-block.tsx +91 -0
- package/src/products/code-editor.tsx +271 -0
- package/src/products/column-meta.d.ts +9 -0
- package/src/products/commit-graph.tsx +643 -0
- package/src/products/data-grid.tsx +692 -0
- package/src/products/diff-viewer.tsx +224 -0
- package/src/products/event-calendar.tsx +49 -0
- package/src/products/export-csv.ts +26 -0
- package/src/products/file-dropzone.tsx +47 -0
- package/src/products/full-calendar/animations.ts +38 -0
- package/src/products/full-calendar/calendar-body.tsx +76 -0
- package/src/products/full-calendar/constants.ts +10 -0
- package/src/products/full-calendar/contexts/calendar-context.tsx +254 -0
- package/src/products/full-calendar/contexts/dnd-context.tsx +156 -0
- package/src/products/full-calendar/dialogs/add-edit-event-dialog.tsx +186 -0
- package/src/products/full-calendar/dialogs/delete-event-dialog.tsx +39 -0
- package/src/products/full-calendar/dialogs/event-details-dialog.tsx +99 -0
- package/src/products/full-calendar/dialogs/events-list-dialog.tsx +86 -0
- package/src/products/full-calendar/dnd/draggable-event.tsx +45 -0
- package/src/products/full-calendar/dnd/droppable-area.tsx +45 -0
- package/src/products/full-calendar/dnd/resizable-event.tsx +178 -0
- package/src/products/full-calendar/header/calendar-header.tsx +64 -0
- package/src/products/full-calendar/header/date-navigator.tsx +110 -0
- package/src/products/full-calendar/header/filter.tsx +58 -0
- package/src/products/full-calendar/header/today-button.tsx +45 -0
- package/src/products/full-calendar/header/user-select.tsx +64 -0
- package/src/products/full-calendar/header/view-tabs.tsx +36 -0
- package/src/products/full-calendar/helpers.ts +463 -0
- package/src/products/full-calendar/hooks/use-time-range-create.ts +152 -0
- package/src/products/full-calendar/hooks.ts +70 -0
- package/src/products/full-calendar/interfaces.ts +23 -0
- package/src/products/full-calendar/settings/settings.tsx +80 -0
- package/src/products/full-calendar/shims/avatar-group.tsx +16 -0
- package/src/products/full-calendar/shims/day-picker.tsx +1 -0
- package/src/products/full-calendar/shims/motion.tsx +97 -0
- package/src/products/full-calendar/shims/next-themes.ts +6 -0
- package/src/products/full-calendar/shims/re-resizable.tsx +25 -0
- package/src/products/full-calendar/shims/sonner.ts +4 -0
- package/src/products/full-calendar/types.ts +8 -0
- package/src/products/full-calendar/views/agenda-view/agenda-events.tsx +140 -0
- package/src/products/full-calendar/views/month-view/calendar-month-view.tsx +69 -0
- package/src/products/full-calendar/views/month-view/day-cell.tsx +200 -0
- package/src/products/full-calendar/views/month-view/event-bullet.tsx +40 -0
- package/src/products/full-calendar/views/month-view/month-event-badge.tsx +143 -0
- package/src/products/full-calendar/views/week-and-day-view/calendar-day-view.tsx +295 -0
- package/src/products/full-calendar/views/week-and-day-view/calendar-time-line.tsx +35 -0
- package/src/products/full-calendar/views/week-and-day-view/calendar-week-view.tsx +251 -0
- package/src/products/full-calendar/views/week-and-day-view/day-view-multi-day-events-row.tsx +73 -0
- package/src/products/full-calendar/views/week-and-day-view/event-block.tsx +114 -0
- package/src/products/full-calendar/views/week-and-day-view/render-grouped-events.tsx +49 -0
- package/src/products/full-calendar/views/week-and-day-view/week-view-multi-day-events-row.tsx +145 -0
- package/src/products/full-calendar/views/year-view/calendar-year-view.tsx +161 -0
- package/src/products/gantt.tsx +47 -0
- package/src/products/jira-wiki-parse.ts +197 -0
- package/src/products/jira-wiki.tsx +287 -0
- package/src/products/jql-input.tsx +391 -0
- package/src/products/json-viewer.tsx +43 -0
- package/src/products/kanban-issue-panel.tsx +104 -0
- package/src/products/kanban.tsx +245 -0
- package/src/products/log-viewer.tsx +404 -0
- package/src/products/markdown-editor.tsx +77 -0
- package/src/products/markdown.tsx +50 -0
- package/src/products/rich-text-editor.tsx +89 -0
- package/src/products/sortable-list.tsx +67 -0
- package/src/products/stepper.tsx +237 -0
- package/src/products/timeline.tsx +39 -0
- package/src/products/tree-view.tsx +62 -0
- package/src/sdk/app-error-boundary.tsx +240 -0
- package/src/sdk/app-id.ts +7 -0
- package/src/sdk/use-app.ts +43 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
import { useEffect, useState } from 'react'
|
|
3
|
+
|
|
4
|
+
/** True when the iframe/host document is in dark mode (class, data-theme, or --background). */
|
|
5
|
+
export function htmlIsDark(el?: HTMLElement | null): boolean {
|
|
6
|
+
if (typeof document === 'undefined') return false
|
|
7
|
+
const root = el ?? document.documentElement
|
|
8
|
+
if (root.classList.contains('dark')) return true
|
|
9
|
+
if (root.classList.contains('light')) return false
|
|
10
|
+
const theme = root.getAttribute('data-theme')
|
|
11
|
+
if (theme === 'dark') return true
|
|
12
|
+
if (theme === 'light') return false
|
|
13
|
+
try {
|
|
14
|
+
const bg =
|
|
15
|
+
root.style.getPropertyValue('--background').trim() ||
|
|
16
|
+
getComputedStyle(root).getPropertyValue('--background').trim()
|
|
17
|
+
const oklch = bg.match(/oklch\(\s*([0-9.]+)/i)
|
|
18
|
+
if (oklch) return Number(oklch[1]) < 0.5
|
|
19
|
+
} catch {
|
|
20
|
+
/* jsdom */
|
|
21
|
+
}
|
|
22
|
+
return false
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export function useHtmlDark(): boolean {
|
|
26
|
+
const [dark, setDark] = useState(() => htmlIsDark())
|
|
27
|
+
useEffect(() => {
|
|
28
|
+
const el = document.documentElement
|
|
29
|
+
const read = () => setDark(htmlIsDark(el))
|
|
30
|
+
read()
|
|
31
|
+
const obs = new MutationObserver(read)
|
|
32
|
+
obs.observe(el, { attributes: true, attributeFilter: ['class', 'data-theme', 'style'] })
|
|
33
|
+
return () => obs.disconnect()
|
|
34
|
+
}, [])
|
|
35
|
+
return dark
|
|
36
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
|
|
3
|
+
const MOBILE_BREAKPOINT = 768
|
|
4
|
+
|
|
5
|
+
export function useIsMobile() {
|
|
6
|
+
const [isMobile, setIsMobile] = React.useState<boolean | undefined>(undefined)
|
|
7
|
+
|
|
8
|
+
React.useEffect(() => {
|
|
9
|
+
// SSR, node-render harnesses and bare jsdom have no matchMedia; a layout hook must not be
|
|
10
|
+
// the reason a view throws. Treat "unknown" as wide.
|
|
11
|
+
if (typeof window.matchMedia !== 'function') return
|
|
12
|
+
const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`)
|
|
13
|
+
const onChange = () => {
|
|
14
|
+
setIsMobile(window.innerWidth < MOBILE_BREAKPOINT)
|
|
15
|
+
}
|
|
16
|
+
mql.addEventListener('change', onChange)
|
|
17
|
+
setIsMobile(window.innerWidth < MOBILE_BREAKPOINT)
|
|
18
|
+
return () => mql.removeEventListener('change', onChange)
|
|
19
|
+
}, [])
|
|
20
|
+
|
|
21
|
+
return !!isMobile
|
|
22
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
|
|
2
|
+
import * as React from 'react'
|
|
3
|
+
import { enUS, zhCN } from 'date-fns/locale'
|
|
4
|
+
import type { Locale } from 'date-fns'
|
|
5
|
+
|
|
6
|
+
import { en, type UiMessages } from './en'
|
|
7
|
+
import { zh } from './zh'
|
|
8
|
+
|
|
9
|
+
export type UiLocale = 'en' | 'zh'
|
|
10
|
+
|
|
11
|
+
type UiI18nValue = {
|
|
12
|
+
locale: UiLocale
|
|
13
|
+
messages: UiMessages
|
|
14
|
+
dateLocale: Locale
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const dictionaries: Record<UiLocale, UiMessages> = { en, zh }
|
|
18
|
+
const dateLocales: Record<UiLocale, Locale> = { en: enUS, zh: zhCN }
|
|
19
|
+
|
|
20
|
+
const UiI18nContext = React.createContext<UiI18nValue>({
|
|
21
|
+
locale: 'en',
|
|
22
|
+
messages: en,
|
|
23
|
+
dateLocale: enUS,
|
|
24
|
+
})
|
|
25
|
+
|
|
26
|
+
export function UiProvider({
|
|
27
|
+
locale = 'en',
|
|
28
|
+
messages,
|
|
29
|
+
children,
|
|
30
|
+
}: {
|
|
31
|
+
locale?: UiLocale
|
|
32
|
+
messages?: UiMessages
|
|
33
|
+
children: React.ReactNode
|
|
34
|
+
}) {
|
|
35
|
+
const value = React.useMemo<UiI18nValue>(
|
|
36
|
+
() => ({
|
|
37
|
+
locale,
|
|
38
|
+
messages: messages ?? dictionaries[locale],
|
|
39
|
+
dateLocale: dateLocales[locale],
|
|
40
|
+
}),
|
|
41
|
+
[locale, messages],
|
|
42
|
+
)
|
|
43
|
+
return <UiI18nContext.Provider value={value}>{children}</UiI18nContext.Provider>
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function useUiI18n() {
|
|
47
|
+
return React.useContext(UiI18nContext)
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function useUiMessages() {
|
|
51
|
+
return useUiI18n().messages
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function useUiLocale() {
|
|
55
|
+
return useUiI18n().locale
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function useDateLocale() {
|
|
59
|
+
return useUiI18n().dateLocale
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function useLabels<K extends keyof UiMessages>(
|
|
63
|
+
key: K,
|
|
64
|
+
override?: Partial<UiMessages[K]>,
|
|
65
|
+
): UiMessages[K] {
|
|
66
|
+
const group = useUiMessages()[key]
|
|
67
|
+
if (!override) return group
|
|
68
|
+
return { ...group, ...override }
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export { en, zh, dictionaries }
|
package/src/i18n/en.ts
ADDED
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
export const en = {
|
|
2
|
+
common: {
|
|
3
|
+
today: 'Today',
|
|
4
|
+
clear: 'Clear',
|
|
5
|
+
cancel: 'Cancel',
|
|
6
|
+
confirm: 'Confirm',
|
|
7
|
+
save: 'Save',
|
|
8
|
+
delete: 'Delete',
|
|
9
|
+
search: 'Search…',
|
|
10
|
+
previous: 'Previous',
|
|
11
|
+
next: 'Next',
|
|
12
|
+
copy: 'Copy',
|
|
13
|
+
close: 'Close',
|
|
14
|
+
},
|
|
15
|
+
datePicker: {
|
|
16
|
+
placeholder: 'Pick a date',
|
|
17
|
+
},
|
|
18
|
+
dateRangePicker: {
|
|
19
|
+
placeholder: 'Pick a date range',
|
|
20
|
+
},
|
|
21
|
+
dateTimePicker: {
|
|
22
|
+
placeholder: 'Pick date and time',
|
|
23
|
+
},
|
|
24
|
+
dateTimeRange: {
|
|
25
|
+
start: 'Start',
|
|
26
|
+
end: 'End',
|
|
27
|
+
},
|
|
28
|
+
timeRange: {
|
|
29
|
+
to: 'to',
|
|
30
|
+
},
|
|
31
|
+
timezoneSelect: {
|
|
32
|
+
search: 'Search city or offset…',
|
|
33
|
+
empty: 'No timezone found.',
|
|
34
|
+
common: 'Common',
|
|
35
|
+
typeToSearch: (count: number) => `Type to search ${count} timezones`,
|
|
36
|
+
aria: (city: string) => `Timezone ${city}`,
|
|
37
|
+
},
|
|
38
|
+
relativeDate: {
|
|
39
|
+
today: 'Today',
|
|
40
|
+
last7d: 'Last 7d',
|
|
41
|
+
last30d: 'Last 30d',
|
|
42
|
+
sprint: 'This sprint',
|
|
43
|
+
custom: 'Custom',
|
|
44
|
+
},
|
|
45
|
+
searchInput: {
|
|
46
|
+
placeholder: 'Search…',
|
|
47
|
+
},
|
|
48
|
+
tagInput: {
|
|
49
|
+
placeholder: 'Add tag…',
|
|
50
|
+
},
|
|
51
|
+
userPicker: {
|
|
52
|
+
placeholder: 'Select user',
|
|
53
|
+
},
|
|
54
|
+
passwordField: {
|
|
55
|
+
show: 'Show password',
|
|
56
|
+
hide: 'Hide password',
|
|
57
|
+
},
|
|
58
|
+
numberField: {
|
|
59
|
+
decrease: 'Decrease',
|
|
60
|
+
increase: 'Increase',
|
|
61
|
+
},
|
|
62
|
+
durationInput: {
|
|
63
|
+
hours: 'h',
|
|
64
|
+
minutes: 'm',
|
|
65
|
+
decrease: (unit: string) => `Decrease ${unit}`,
|
|
66
|
+
increase: (unit: string) => `Increase ${unit}`,
|
|
67
|
+
},
|
|
68
|
+
copyable: {
|
|
69
|
+
copy: 'Copy',
|
|
70
|
+
},
|
|
71
|
+
confirmDialog: {
|
|
72
|
+
confirm: 'Confirm',
|
|
73
|
+
cancel: 'Cancel',
|
|
74
|
+
},
|
|
75
|
+
eventCalendar: {
|
|
76
|
+
today: 'Today',
|
|
77
|
+
prev: 'Prev',
|
|
78
|
+
next: 'Next',
|
|
79
|
+
month: 'Month',
|
|
80
|
+
week: 'Week',
|
|
81
|
+
day: 'Day',
|
|
82
|
+
year: 'Year',
|
|
83
|
+
agenda: 'Agenda',
|
|
84
|
+
noEvents: 'No events in this range',
|
|
85
|
+
happeningNow: 'Happening now',
|
|
86
|
+
noAppointments: 'No appointments or consultations at the moment',
|
|
87
|
+
allDay: 'All day',
|
|
88
|
+
newEvent: 'New event',
|
|
89
|
+
editEvent: 'Edit event',
|
|
90
|
+
addEvent: 'Add Event',
|
|
91
|
+
eventTitle: 'Event title',
|
|
92
|
+
titlePlaceholder: 'Title',
|
|
93
|
+
descriptionPlaceholder: 'Description',
|
|
94
|
+
start: 'Start',
|
|
95
|
+
end: 'End',
|
|
96
|
+
save: 'Save',
|
|
97
|
+
saveChanges: 'Save Changes',
|
|
98
|
+
createEvent: 'Create Event',
|
|
99
|
+
delete: 'Delete',
|
|
100
|
+
more: (count: number) => `+${count} more`,
|
|
101
|
+
eventsCount: (count: number) => `${count} events`,
|
|
102
|
+
allUsers: 'All',
|
|
103
|
+
selectUser: 'Select a user',
|
|
104
|
+
clearFilter: 'Clear Filter',
|
|
105
|
+
settings: 'Calendar settings',
|
|
106
|
+
settingsAria: 'Calendar settings',
|
|
107
|
+
useDotBadge: 'Use dot badge',
|
|
108
|
+
use24Hour: 'Use 24 hour format',
|
|
109
|
+
scrollHour: 'Scroll hour',
|
|
110
|
+
agendaGroupBy: 'Agenda view group by',
|
|
111
|
+
groupByDate: 'Date',
|
|
112
|
+
groupByColor: 'Color',
|
|
113
|
+
searchAgenda: 'Type a command or search...',
|
|
114
|
+
formatError: 'Error while formatting',
|
|
115
|
+
weekdays: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] as [
|
|
116
|
+
string,
|
|
117
|
+
string,
|
|
118
|
+
string,
|
|
119
|
+
string,
|
|
120
|
+
string,
|
|
121
|
+
string,
|
|
122
|
+
string,
|
|
123
|
+
],
|
|
124
|
+
weekdaysSun: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] as [
|
|
125
|
+
string,
|
|
126
|
+
string,
|
|
127
|
+
string,
|
|
128
|
+
string,
|
|
129
|
+
string,
|
|
130
|
+
string,
|
|
131
|
+
string,
|
|
132
|
+
],
|
|
133
|
+
},
|
|
134
|
+
dataGrid: {
|
|
135
|
+
search: 'Search…',
|
|
136
|
+
filterColumn: (label: string) => `Filter ${label}…`,
|
|
137
|
+
clear: 'Clear',
|
|
138
|
+
clearFilters: 'Clear filters',
|
|
139
|
+
noResults: 'No results',
|
|
140
|
+
noResultsHint: 'Try a different search, or clear column filters.',
|
|
141
|
+
selectAll: 'Select all',
|
|
142
|
+
selectRow: 'Select row',
|
|
143
|
+
row: 'row',
|
|
144
|
+
rows: 'rows',
|
|
145
|
+
rowsLabel: 'Rows',
|
|
146
|
+
export: 'Export',
|
|
147
|
+
view: 'View',
|
|
148
|
+
columns: 'Columns',
|
|
149
|
+
previousPage: 'Previous page',
|
|
150
|
+
nextPage: 'Next page',
|
|
151
|
+
selected: (count: number) => `${count} selected`,
|
|
152
|
+
},
|
|
153
|
+
fileDropzone: {
|
|
154
|
+
drop: 'Drop files here, or click to browse',
|
|
155
|
+
},
|
|
156
|
+
kanbanIssue: {
|
|
157
|
+
assignee: 'Assignee',
|
|
158
|
+
reporter: 'Reporter',
|
|
159
|
+
updated: 'Updated',
|
|
160
|
+
unassigned: 'Unassigned',
|
|
161
|
+
description: 'Description',
|
|
162
|
+
noDescription: 'No description.',
|
|
163
|
+
comments: 'Comments',
|
|
164
|
+
noComments: 'No comments.',
|
|
165
|
+
},
|
|
166
|
+
markdownEditor: {
|
|
167
|
+
edit: 'Edit',
|
|
168
|
+
split: 'Split',
|
|
169
|
+
preview: 'Preview',
|
|
170
|
+
},
|
|
171
|
+
codeEditor: {
|
|
172
|
+
find: 'Find',
|
|
173
|
+
replace: 'Replace',
|
|
174
|
+
next: 'next',
|
|
175
|
+
previous: 'previous',
|
|
176
|
+
all: 'all',
|
|
177
|
+
matchCase: 'match case',
|
|
178
|
+
regexp: 'regexp',
|
|
179
|
+
byWord: 'by word',
|
|
180
|
+
replaceOne: 'replace',
|
|
181
|
+
replaceAll: 'replace all',
|
|
182
|
+
close: 'close',
|
|
183
|
+
goToLine: 'Go to line',
|
|
184
|
+
go: 'go',
|
|
185
|
+
currentMatch: 'current match',
|
|
186
|
+
onLine: 'on line',
|
|
187
|
+
},
|
|
188
|
+
richText: {
|
|
189
|
+
placeholder: 'Write…',
|
|
190
|
+
bold: 'Bold',
|
|
191
|
+
italic: 'Italic',
|
|
192
|
+
bullet: 'Bullet list',
|
|
193
|
+
ordered: 'Ordered list',
|
|
194
|
+
code: 'Code',
|
|
195
|
+
},
|
|
196
|
+
pagination: {
|
|
197
|
+
previous: 'Previous',
|
|
198
|
+
next: 'Next',
|
|
199
|
+
previousPage: 'Go to previous page',
|
|
200
|
+
nextPage: 'Go to next page',
|
|
201
|
+
},
|
|
202
|
+
questionnaire: {
|
|
203
|
+
previous: 'Previous',
|
|
204
|
+
skip: 'Skip',
|
|
205
|
+
next: 'Next',
|
|
206
|
+
submit: 'Submit',
|
|
207
|
+
},
|
|
208
|
+
command: {
|
|
209
|
+
title: 'Command Palette',
|
|
210
|
+
description: 'Search for a command to run...',
|
|
211
|
+
},
|
|
212
|
+
jiraWiki: {
|
|
213
|
+
empty: 'Empty',
|
|
214
|
+
},
|
|
215
|
+
jqlInput: {
|
|
216
|
+
placeholder: 'project = TMS AND status = Open',
|
|
217
|
+
},
|
|
218
|
+
logViewer: {
|
|
219
|
+
title: 'Logs',
|
|
220
|
+
search: 'Search',
|
|
221
|
+
closeSearch: 'Close search',
|
|
222
|
+
pauseScroll: 'Pause auto-scroll',
|
|
223
|
+
resumeScroll: 'Resume auto-scroll',
|
|
224
|
+
copyAll: 'Copy all logs',
|
|
225
|
+
copied: 'Copied',
|
|
226
|
+
download: 'Download logs',
|
|
227
|
+
clear: 'Clear logs',
|
|
228
|
+
filterPlaceholder: 'Filter logs…',
|
|
229
|
+
clearSearch: 'Clear search',
|
|
230
|
+
empty: 'No log entries.',
|
|
231
|
+
emptySearch: 'No matching log entries.',
|
|
232
|
+
newBelow: 'New logs below',
|
|
233
|
+
scrollLatest: 'Scroll to latest',
|
|
234
|
+
lines: (n: number) => `${n} lines`,
|
|
235
|
+
linesFiltered: (shown: number, total: number) =>
|
|
236
|
+
`${shown} / ${total} lines`,
|
|
237
|
+
},
|
|
238
|
+
envTable: {
|
|
239
|
+
empty: 'No environment variables.',
|
|
240
|
+
hideAll: 'Hide all',
|
|
241
|
+
revealAll: 'Reveal all',
|
|
242
|
+
hideAllValues: 'Hide all values',
|
|
243
|
+
revealAllValues: 'Reveal all values',
|
|
244
|
+
copyEnv: 'Copy .env',
|
|
245
|
+
copied: 'Copied!',
|
|
246
|
+
hideKey: (key: string) => `Hide ${key}`,
|
|
247
|
+
revealKey: (key: string) => `Reveal ${key}`,
|
|
248
|
+
copyValue: (key: string) => `Copy ${key} value`,
|
|
249
|
+
},
|
|
250
|
+
commitGraph: {
|
|
251
|
+
empty: 'No commits.',
|
|
252
|
+
parent: 'Parent',
|
|
253
|
+
parents: 'Parents',
|
|
254
|
+
justNow: 'just now',
|
|
255
|
+
minutesAgo: (n: number) => `${n}m ago`,
|
|
256
|
+
hoursAgo: (n: number) => `${n}h ago`,
|
|
257
|
+
daysAgo: (n: number) => `${n}d ago`,
|
|
258
|
+
},
|
|
259
|
+
appError: {
|
|
260
|
+
title: 'This mini-app hit an error',
|
|
261
|
+
renderHint:
|
|
262
|
+
'A component threw while rendering. Nothing else in the panel is affected.',
|
|
263
|
+
moduleHint: 'The UI bundle did not load — it usually needs recompiling.',
|
|
264
|
+
uncaughtHint: 'An unhandled error stopped this view.',
|
|
265
|
+
asyncHint: 'A background task failed without being handled.',
|
|
266
|
+
retry: 'Retry',
|
|
267
|
+
details: 'Show details',
|
|
268
|
+
hideDetails: 'Hide details',
|
|
269
|
+
reported: 'Reported to the host',
|
|
270
|
+
},
|
|
271
|
+
listDetail: {
|
|
272
|
+
back: 'Back to list',
|
|
273
|
+
},
|
|
274
|
+
formSheet: {
|
|
275
|
+
discardTitle: 'Discard these changes?',
|
|
276
|
+
discardBody: 'They have not been saved. Closing now throws them away.',
|
|
277
|
+
keepEditing: 'Keep editing',
|
|
278
|
+
discard: 'Discard',
|
|
279
|
+
},
|
|
280
|
+
wizardShell: {
|
|
281
|
+
back: 'Back',
|
|
282
|
+
next: 'Next',
|
|
283
|
+
finish: 'Finish',
|
|
284
|
+
working: 'Working…',
|
|
285
|
+
stepOf: (n: number, total: number) => `Step ${n} of ${total}`,
|
|
286
|
+
},
|
|
287
|
+
settingsSplit: {
|
|
288
|
+
nav: 'Section navigation',
|
|
289
|
+
},
|
|
290
|
+
liveRefresh: {
|
|
291
|
+
live: 'LIVE',
|
|
292
|
+
off: 'Tap to enable live refresh',
|
|
293
|
+
paused: 'paused',
|
|
294
|
+
refreshing: 'Refreshing…',
|
|
295
|
+
failed: 'Refresh failed',
|
|
296
|
+
turnOff: 'Off',
|
|
297
|
+
custom: 'Custom',
|
|
298
|
+
customUnit: 'min · Enter',
|
|
299
|
+
customInvalid: 'One decimal, 0.1–99.9 min',
|
|
300
|
+
justNow: 'just now',
|
|
301
|
+
secondsAgo: (n: number) => `${n}s ago`,
|
|
302
|
+
minutesAgo: (n: number) => `${n}m ago`,
|
|
303
|
+
everySeconds: (n: number) => `Every ${n}s`,
|
|
304
|
+
everyMinutes: (n: number) => `Every ${n} min`,
|
|
305
|
+
},
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
export type UiMessages = typeof en
|