@k2b/ui 0.55.0 → 0.57.0

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.
Files changed (126) hide show
  1. package/dist/browser/actions/SplitButton.js +5 -7
  2. package/dist/browser/actions/SplitButton.js.map +1 -1
  3. package/dist/browser/actions/Toolbar.js +16 -7
  4. package/dist/browser/actions/Toolbar.js.map +1 -1
  5. package/dist/browser/actions/ViewTabs.js +6 -5
  6. package/dist/browser/actions/ViewTabs.js.map +1 -1
  7. package/dist/browser/chat/ChatComposer.js +28 -27
  8. package/dist/browser/chat/ChatComposer.js.map +1 -1
  9. package/dist/browser/content/Lightbox.js +917 -283
  10. package/dist/browser/content/Lightbox.js.map +1 -1
  11. package/dist/browser/content/PdfPages.js +8 -3
  12. package/dist/browser/content/PdfPages.js.map +1 -1
  13. package/dist/browser/content/PdfThumbnails.js +271 -0
  14. package/dist/browser/content/PdfThumbnails.js.map +1 -0
  15. package/dist/browser/content/PdfViewer.js +11 -3
  16. package/dist/browser/content/PdfViewer.js.map +1 -1
  17. package/dist/browser/content/Timeline.js +116 -117
  18. package/dist/browser/content/Timeline.js.map +1 -1
  19. package/dist/browser/content/code-highlight.js +24 -11
  20. package/dist/browser/content/code-highlight.js.map +1 -1
  21. package/dist/browser/content/index.js +5 -1
  22. package/dist/browser/content/index.js.map +1 -1
  23. package/dist/browser/content/lightbox-messages.js +64 -18
  24. package/dist/browser/content/lightbox-messages.js.map +1 -1
  25. package/dist/browser/content/lightbox-renderers.js +6 -0
  26. package/dist/browser/content/lightbox-renderers.js.map +1 -0
  27. package/dist/browser/content/map-view-worker.js +3 -3
  28. package/dist/browser/content/pdf-messages.js +16 -2
  29. package/dist/browser/content/pdf-messages.js.map +1 -1
  30. package/dist/browser/content/pdf-viewer-engine.js +15 -15
  31. package/dist/browser/content/pdf-viewer-worker.js +4 -5
  32. package/dist/browser/feedback/prompt-confirm.js +2 -0
  33. package/dist/browser/feedback/prompt-confirm.js.map +1 -1
  34. package/dist/browser/internal/truncated-title.js +9 -0
  35. package/dist/browser/internal/truncated-title.js.map +1 -0
  36. package/dist/browser/intl/messages.js +1 -1
  37. package/dist/browser/intl/messages.js.map +1 -1
  38. package/dist/browser/layout/DetailPanel.js +3 -5
  39. package/dist/browser/layout/DetailPanel.js.map +1 -1
  40. package/dist/browser/layout/FloatingWindow.js +416 -122
  41. package/dist/browser/layout/FloatingWindow.js.map +1 -1
  42. package/dist/browser/layout/PanelDialog.js +3 -1
  43. package/dist/browser/layout/PanelDialog.js.map +1 -1
  44. package/dist/browser/layout/PersonPopover.js +406 -0
  45. package/dist/browser/layout/PersonPopover.js.map +1 -0
  46. package/dist/browser/layout/floating-window-geometry.js +58 -2
  47. package/dist/browser/layout/floating-window-geometry.js.map +1 -1
  48. package/dist/browser/layout/floating-window-messages.js +12 -0
  49. package/dist/browser/layout/floating-window-messages.js.map +1 -1
  50. package/dist/browser/layout/index.js +1 -0
  51. package/dist/browser/layout/index.js.map +1 -1
  52. package/dist/ssr/actions/CommandMenu.js +2 -2
  53. package/dist/ssr/actions/CommandMenu.js.map +1 -1
  54. package/dist/ssr/actions/SplitButton.js +5 -7
  55. package/dist/ssr/actions/SplitButton.js.map +1 -1
  56. package/dist/ssr/actions/Toolbar.js +16 -7
  57. package/dist/ssr/actions/Toolbar.js.map +1 -1
  58. package/dist/ssr/actions/ViewTabs.js +6 -5
  59. package/dist/ssr/actions/ViewTabs.js.map +1 -1
  60. package/dist/ssr/chat/ChatComposer.js +31 -30
  61. package/dist/ssr/chat/ChatComposer.js.map +1 -1
  62. package/dist/ssr/content/Lightbox.js +659 -150
  63. package/dist/ssr/content/Lightbox.js.map +1 -1
  64. package/dist/ssr/content/PdfPages.js +8 -3
  65. package/dist/ssr/content/PdfPages.js.map +1 -1
  66. package/dist/ssr/content/PdfThumbnails.js +189 -0
  67. package/dist/ssr/content/PdfThumbnails.js.map +1 -0
  68. package/dist/ssr/content/PdfViewer.js +11 -3
  69. package/dist/ssr/content/PdfViewer.js.map +1 -1
  70. package/dist/ssr/content/Timeline.js +2 -5
  71. package/dist/ssr/content/Timeline.js.map +1 -1
  72. package/dist/ssr/content/code-highlight.js +24 -11
  73. package/dist/ssr/content/code-highlight.js.map +1 -1
  74. package/dist/ssr/content/index.js +5 -1
  75. package/dist/ssr/content/index.js.map +1 -1
  76. package/dist/ssr/content/lightbox-messages.js +64 -18
  77. package/dist/ssr/content/lightbox-messages.js.map +1 -1
  78. package/dist/ssr/content/lightbox-renderers.js +6 -0
  79. package/dist/ssr/content/lightbox-renderers.js.map +1 -0
  80. package/dist/ssr/content/pdf-messages.js +16 -2
  81. package/dist/ssr/content/pdf-messages.js.map +1 -1
  82. package/dist/ssr/feedback/prompt-confirm.js +1 -0
  83. package/dist/ssr/feedback/prompt-confirm.js.map +1 -1
  84. package/dist/ssr/inputs/ChoiceInputs.js +2 -2
  85. package/dist/ssr/inputs/ChoiceInputs.js.map +1 -1
  86. package/dist/ssr/inputs/SignatureInput.js +2 -2
  87. package/dist/ssr/inputs/SignatureInput.js.map +1 -1
  88. package/dist/ssr/inputs/markdown/SlashCommands.js +2 -2
  89. package/dist/ssr/inputs/markdown/SlashCommands.js.map +1 -1
  90. package/dist/ssr/internal/truncated-title.js +9 -0
  91. package/dist/ssr/internal/truncated-title.js.map +1 -0
  92. package/dist/ssr/intl/messages.js +1 -1
  93. package/dist/ssr/intl/messages.js.map +1 -1
  94. package/dist/ssr/layout/DetailPanel.js +1 -4
  95. package/dist/ssr/layout/DetailPanel.js.map +1 -1
  96. package/dist/ssr/layout/FloatingWindow.js +286 -73
  97. package/dist/ssr/layout/FloatingWindow.js.map +1 -1
  98. package/dist/ssr/layout/PanelDialog.js +1 -0
  99. package/dist/ssr/layout/PanelDialog.js.map +1 -1
  100. package/dist/ssr/layout/PersonPopover.js +248 -0
  101. package/dist/ssr/layout/PersonPopover.js.map +1 -0
  102. package/dist/ssr/layout/floating-window-geometry.js +58 -2
  103. package/dist/ssr/layout/floating-window-geometry.js.map +1 -1
  104. package/dist/ssr/layout/floating-window-messages.js +12 -0
  105. package/dist/ssr/layout/floating-window-messages.js.map +1 -1
  106. package/dist/ssr/layout/index.js +1 -0
  107. package/dist/ssr/layout/index.js.map +1 -1
  108. package/dist/styles.css +1 -1
  109. package/dist/types/actions/SplitButton.d.ts +2 -0
  110. package/dist/types/actions/Toolbar.d.ts +6 -0
  111. package/dist/types/chat/ChatComposer.d.ts +1 -0
  112. package/dist/types/content/Lightbox.d.ts +54 -14
  113. package/dist/types/content/PdfPages.d.ts +7 -1
  114. package/dist/types/content/PdfThumbnails.d.ts +26 -0
  115. package/dist/types/content/PdfViewer.d.ts +12 -3
  116. package/dist/types/content/index.d.ts +4 -2
  117. package/dist/types/content/lightbox-messages.d.ts +31 -8
  118. package/dist/types/content/lightbox-renderers.d.ts +3 -0
  119. package/dist/types/content/pdf-messages.d.ts +7 -0
  120. package/dist/types/internal/truncated-title.d.ts +7 -0
  121. package/dist/types/layout/FloatingWindow.d.ts +29 -1
  122. package/dist/types/layout/PersonPopover.d.ts +70 -0
  123. package/dist/types/layout/floating-window-geometry.d.ts +20 -3
  124. package/dist/types/layout/floating-window-messages.d.ts +6 -0
  125. package/dist/types/layout/index.d.ts +3 -2
  126. package/package.json +20 -20
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["content/index.ts"],"sourcesContent":["export type { ChartDateFormat, ChartDatum, ChartDatumRole, ChartFormat, ChartNumberFormat } from \"../charts/core\";\nexport { BalanceSummary, type BalanceSummaryProps } from \"./BalanceSummary\";\nexport type {\n CalendarAttendee,\n CalendarCommand,\n CalendarController,\n CalendarCustomView,\n CalendarDayBadge,\n CalendarEvent,\n CalendarEventColor,\n CalendarEventLink,\n CalendarEventRenderContext,\n CalendarEventTimeChange,\n CalendarExternalDrag,\n CalendarLabels,\n CalendarProps,\n CalendarQuickCreateControls,\n CalendarRange,\n CalendarRecurrence,\n CalendarResource,\n CalendarSelectionControls,\n CalendarView,\n} from \"./Calendar\";\nexport { default as Calendar } from \"./Calendar\";\n\nexport type { ChartKind, ChartKindProps, ChartLabels, ChartProps, ChartRenderOptions } from \"./Chart\";\nexport { default as Chart } from \"./Chart\";\nexport type { ChartExplorerColumn, ChartExplorerProps, ChartFrameRequest, ChartLegendEntry } from \"./ChartExplorer\";\nexport { ChartExplorer } from \"./ChartExplorer\";\nexport type { ChartExplorerControlsProps } from \"./ChartExplorerControls\";\nexport { ChartExplorerControls } from \"./ChartExplorerControls\";\nexport { ChartFilterControls, type ChartFilterControlsProps } from \"./ChartFilterControls\";\nexport { ChartSnapshotView } from \"./ChartSnapshotView\";\nexport type { CodeDisplayLanguage, CodeDisplayProps } from \"./CodeDisplay\";\nexport { default as CodeDisplay } from \"./CodeDisplay\";\nexport { type ChartCursor, createChartCursor } from \"./chart-cursor\";\nexport type {\n ChartExplorerCharts,\n ChartExplorerController,\n ChartExplorerData,\n ChartExplorerOptions,\n ChartExplorerRequest,\n ChartExplorerRow,\n ChartExplorerSnapshot,\n} from \"./chart-explorer\";\nexport { createChartExplorer } from \"./chart-explorer\";\nexport type { ChartDatumRef, ChartSelection, ChartTooltip, ChartTooltipFormatter } from \"./chart-inspection-core\";\nexport type { ChartSnapshot } from \"./chart-snapshot\";\nexport { prepareChartSnapshot } from \"./chart-snapshot\";\nexport type {\n StateTimelineChartOptions,\n StateTimelineDomain,\n StateTimelineInterval,\n StateTimelineRow,\n StateTimelineState,\n} from \"./chart-state-timeline\";\nexport type { ChartTimeAxis } from \"./chart-time-axis\";\nexport { highlightSql } from \"./code-highlight\";\nexport { type CollectionSelection, createCollectionSelection, type SelectionModifiers } from \"./collection-selection\";\nexport type {\n DataTableColumn,\n DataTableControlsProps,\n DataTableFooter,\n DataTableHeaderProps,\n DataTablePanelFooterProps,\n DataTablePanelProps,\n DataTableProps,\n DataTableRenderCell,\n DataTableRenderHeader,\n DataTableSort,\n} from \"./DataTable\";\nexport { default as DataTable } from \"./DataTable\";\nexport type { DataTableToolsProps, DataTableView, DataTableViewOptions } from \"./DataTableTools\";\nexport { createDataTableView, DataTableTools } from \"./DataTableTools\";\nexport type { DocCodeHighlighter, DocCodeProps, DocConcept, DocNoteVariant, DocRow } from \"./Docs\";\nexport { DocCode, DocConceptGrid, DocInlineCode, DocLead, DocNote, DocPage, DocRows, DocSection } from \"./Docs\";\nexport type {\n DataTableColumnType,\n DataTableNumberFormat,\n DataTableStatusState,\n DataTableTypedColumn,\n} from \"./data-table-columns\";\nexport { filterRows, sortRows } from \"./data-table-columns\";\nexport { FileBrowserPanel, type FileBrowserPanelProps, type FileSource, openFileBrowser } from \"./FileBrowser\";\nexport { FileGrid, type FileGridGroup, type FileGridOpenProps, type FileGridProps, type FileGridSelectableProps } from \"./FileGrid\";\nexport { default as FileTree, type FileTreeActions, type FileTreeEntry, type FileTreeProps } from \"./FileTree\";\nexport { type FileType, FileTypeIcon, type FileTypeIconProps, fileKindLabel, fileTypeOf } from \"./FileTypeIcon\";\nexport {\n canPreviewFile,\n default as FileView,\n type FileViewContent,\n type FileViewFile,\n type FileViewPreviewKind,\n type FileViewProps,\n type FileViewRenderer,\n type FileViewRendererProps,\n formatFileViewSize,\n getFileViewPreviewKind,\n} from \"./FileView\";\nexport { FlowAmount, type FlowAmountDirection, type FlowAmountProps, flowDirection } from \"./FlowAmount\";\nexport type { KbdProps } from \"./Kbd\";\nexport { Kbd } from \"./Kbd\";\nexport type { LabelChipProps } from \"./LabelChip\";\nexport { LabelChip } from \"./LabelChip\";\nexport type { LightboxAction, LightboxImage } from \"./Lightbox\";\nexport { default as Lightbox } from \"./Lightbox\";\nexport type { LoadMoreProps } from \"./LoadMore\";\nexport { LoadMore } from \"./LoadMore\";\nexport type { LogTableEntry } from \"./LogEntriesTable\";\nexport { default as LogEntriesTable } from \"./LogEntriesTable\";\nexport { MapAttribution } from \"./MapAttribution\";\nexport {\n MapDialog,\n type MapDialogFact,\n type MapDialogMapView,\n type MapDialogMenuItem,\n type MapDialogProps,\n type MapPlace,\n type MapPlaceLink,\n type MapPlaceSource,\n} from \"./MapDialog\";\nexport { MAP_DIALOG_PARAM, MapTile, type MapTileProps, mapDialogOptions } from \"./MapTile\";\nexport { MapView } from \"./MapView\";\nexport { MapViewFrame } from \"./MapViewFrame\";\nexport { default as MarkdownView, type MarkdownRenderOptions, type MarkdownViewProps, renderSafeMarkdown } from \"./MarkdownView\";\nexport { type MatchRange, MatchText, type MatchTextProps, matchParts } from \"./MatchText\";\nexport type {\n MessageEventGroupProps,\n MessageEventRowProps,\n MessageGroupEntry,\n MessageRowAction,\n MessageRowAttachment,\n MessageRowAuthor,\n MessageRowFile,\n MessageRowMedia,\n MessageRowOrigin,\n MessageRowProgress,\n MessageRowProps,\n MessageRowQuote,\n MessageRowReaction,\n MessageRowStatus,\n MessageRowThread,\n MessageSystemRowProps,\n} from \"./MessageRow\";\nexport { MessageEventGroup, MessageEventRow, MessageRow, MessageSystemRow, startsMessageGroup } from \"./MessageRow\";\nexport { type GeoNavigationPlatform, geoNavigationHref, geoNavigationPlatform } from \"./map-navigation\";\nexport { type MapPaletteColors, type MapTheme, mapPalette } from \"./map-palette\";\nexport { type MapStyleOptions, mapAttribution, mapStyle } from \"./map-style\";\nexport { MAP_SNAPSHOT_MAX_PIXELS, MapSnapshotError, type MapSnapshotErrorCode } from \"./map-view-snapshot\";\nexport type {\n MapViewArea,\n MapViewFit,\n MapViewFrameProps,\n MapViewHandle,\n MapViewLine,\n MapViewLineTone,\n MapViewMarker,\n MapViewOwnLocation,\n MapViewPoint,\n MapViewProps,\n MapViewSnapshot,\n MapViewSnapshotOptions,\n MapViewStyle,\n MapViewStyleSource,\n MapViewTone,\n} from \"./map-view-types\";\nexport {\n MARKDOWN_CALLOUT_CLASSES,\n MARKDOWN_CALLOUT_ICON_ATTRIBUTES,\n type MarkdownInfoBlock,\n type MarkdownInfoBlockRenderInput,\n type MarkdownInfoBlockType,\n markdownInfoBlocks,\n renderMarkdownInfoBlock,\n scanMarkdownInfoBlock,\n} from \"./markdown-info-blocks\";\nexport {\n type MarkdownLinkInput,\n type MarkdownReference,\n type MarkdownReferenceKind,\n type MarkdownReferenceType,\n markdownLinkReference,\n markdownReferenceIcon,\n markdownReferenceType,\n markdownReferenceTypeLabel,\n markStandaloneLinks,\n renderMarkdownLink,\n} from \"./markdown-links\";\nexport { Pagination, type PaginationProps } from \"./Pagination\";\nexport type { PdfViewerProps, PdfViewerRequest } from \"./PdfViewer\";\nexport { default as PdfViewer } from \"./PdfViewer\";\nexport type { RangeOption, RangePickerProps } from \"./RangePicker\";\nexport { default as RangePicker } from \"./RangePicker\";\nexport { ReactionBar, type ReactionBarItem, type ReactionBarProps } from \"./ReactionBar\";\nexport type {\n ReferenceChipObjectProps,\n ReferenceChipPersonProps,\n ReferenceChipProps,\n ReferenceChipTimeProps,\n} from \"./ReferenceChip\";\nexport { REFERENCE_CHIP_MAX_CHARACTERS, ReferenceChip, truncateMiddle } from \"./ReferenceChip\";\nexport type { StepsProps } from \"./Steps\";\nexport { Steps } from \"./Steps\";\nexport type { StructuredDataPreviewMode, StructuredDataPreviewProps, StructuredDataValue } from \"./StructuredDataPreview\";\nexport { default as StructuredDataPreview, isStructuredDataValue } from \"./StructuredDataPreview\";\nexport { ThumbnailStrip, type ThumbnailStripItem, type ThumbnailStripProps } from \"./ThumbnailStrip\";\nexport type { TimelineColor, TimelineController, TimelineItem, TimelineProps } from \"./Timeline\";\nexport { default as Timeline } from \"./Timeline\";\nexport { VideoPlayer, type VideoPlayerProps } from \"./VideoPlayer\";\nexport type { VirtualFeedController, VirtualFeedProps, VirtualFeedScrollOptions } from \"./VirtualFeed\";\nexport { VirtualFeed } from \"./VirtualFeed\";\nexport type { ZoomPanAction, ZoomPanFullscreen, ZoomPanViewportProps } from \"./ZoomPanViewport\";\nexport { ZoomPanViewport } from \"./ZoomPanViewport\";\n"],"mappings":"AACA,SAAS,cAAc,QAAkC,kBAAkB;AAsB3E,SAAS,OAAO,IAAI,QAAQ,QAAQ,YAAY;AAGhD,SAAS,OAAO,IAAI,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sourcesContent":["export type { ChartDateFormat, ChartDatum, ChartDatumRole, ChartFormat, ChartNumberFormat } from \"../charts/core\";\nexport { BalanceSummary, type BalanceSummaryProps } from \"./BalanceSummary\";\nexport type {\n CalendarAttendee,\n CalendarCommand,\n CalendarController,\n CalendarCustomView,\n CalendarDayBadge,\n CalendarEvent,\n CalendarEventColor,\n CalendarEventLink,\n CalendarEventRenderContext,\n CalendarEventTimeChange,\n CalendarExternalDrag,\n CalendarLabels,\n CalendarProps,\n CalendarQuickCreateControls,\n CalendarRange,\n CalendarRecurrence,\n CalendarResource,\n CalendarSelectionControls,\n CalendarView,\n} from \"./Calendar\";\nexport { default as Calendar } from \"./Calendar\";\n\nexport type { ChartKind, ChartKindProps, ChartLabels, ChartProps, ChartRenderOptions } from \"./Chart\";\nexport { default as Chart } from \"./Chart\";\nexport type { ChartExplorerColumn, ChartExplorerProps, ChartFrameRequest, ChartLegendEntry } from \"./ChartExplorer\";\nexport { ChartExplorer } from \"./ChartExplorer\";\nexport type { ChartExplorerControlsProps } from \"./ChartExplorerControls\";\nexport { ChartExplorerControls } from \"./ChartExplorerControls\";\nexport { ChartFilterControls, type ChartFilterControlsProps } from \"./ChartFilterControls\";\nexport { ChartSnapshotView } from \"./ChartSnapshotView\";\nexport type { CodeDisplayLanguage, CodeDisplayProps } from \"./CodeDisplay\";\nexport { default as CodeDisplay } from \"./CodeDisplay\";\nexport { type ChartCursor, createChartCursor } from \"./chart-cursor\";\nexport type {\n ChartExplorerCharts,\n ChartExplorerController,\n ChartExplorerData,\n ChartExplorerOptions,\n ChartExplorerRequest,\n ChartExplorerRow,\n ChartExplorerSnapshot,\n} from \"./chart-explorer\";\nexport { createChartExplorer } from \"./chart-explorer\";\nexport type { ChartDatumRef, ChartSelection, ChartTooltip, ChartTooltipFormatter } from \"./chart-inspection-core\";\nexport type { ChartSnapshot } from \"./chart-snapshot\";\nexport { prepareChartSnapshot } from \"./chart-snapshot\";\nexport type {\n StateTimelineChartOptions,\n StateTimelineDomain,\n StateTimelineInterval,\n StateTimelineRow,\n StateTimelineState,\n} from \"./chart-state-timeline\";\nexport type { ChartTimeAxis } from \"./chart-time-axis\";\nexport { highlightSql } from \"./code-highlight\";\nexport { type CollectionSelection, createCollectionSelection, type SelectionModifiers } from \"./collection-selection\";\nexport type {\n DataTableColumn,\n DataTableControlsProps,\n DataTableFooter,\n DataTableHeaderProps,\n DataTablePanelFooterProps,\n DataTablePanelProps,\n DataTableProps,\n DataTableRenderCell,\n DataTableRenderHeader,\n DataTableSort,\n} from \"./DataTable\";\nexport { default as DataTable } from \"./DataTable\";\nexport type { DataTableToolsProps, DataTableView, DataTableViewOptions } from \"./DataTableTools\";\nexport { createDataTableView, DataTableTools } from \"./DataTableTools\";\nexport type { DocCodeHighlighter, DocCodeProps, DocConcept, DocNoteVariant, DocRow } from \"./Docs\";\nexport { DocCode, DocConceptGrid, DocInlineCode, DocLead, DocNote, DocPage, DocRows, DocSection } from \"./Docs\";\nexport type {\n DataTableColumnType,\n DataTableNumberFormat,\n DataTableStatusState,\n DataTableTypedColumn,\n} from \"./data-table-columns\";\nexport { filterRows, sortRows } from \"./data-table-columns\";\nexport { FileBrowserPanel, type FileBrowserPanelProps, type FileSource, openFileBrowser } from \"./FileBrowser\";\nexport { FileGrid, type FileGridGroup, type FileGridOpenProps, type FileGridProps, type FileGridSelectableProps } from \"./FileGrid\";\nexport { default as FileTree, type FileTreeActions, type FileTreeEntry, type FileTreeProps } from \"./FileTree\";\nexport { type FileType, FileTypeIcon, type FileTypeIconProps, fileKindLabel, fileTypeOf } from \"./FileTypeIcon\";\nexport {\n default as FileView,\n type FileViewContent,\n type FileViewProps,\n type FileViewRenderer,\n type FileViewRendererProps,\n formatFileViewSize,\n} from \"./FileView\";\nexport { FlowAmount, type FlowAmountDirection, type FlowAmountProps, flowDirection } from \"./FlowAmount\";\n// Choosing a renderer needs no renderer: these come from their own small module, so an app that only asks which kind\n// a file is never loads FileView and its PDF, video and code dependencies.\nexport { canPreviewFile, type FileViewFile, type FileViewPreviewKind, getFileViewPreviewKind } from \"./file-view-preview\";\nexport type { KbdProps } from \"./Kbd\";\nexport { Kbd } from \"./Kbd\";\nexport type { LabelChipProps } from \"./LabelChip\";\nexport { LabelChip } from \"./LabelChip\";\nexport type { LightboxAction, LightboxItem, LightboxProps } from \"./Lightbox\";\nexport { default as Lightbox } from \"./Lightbox\";\nexport type { LoadMoreProps } from \"./LoadMore\";\nexport { LoadMore } from \"./LoadMore\";\nexport type { LogTableEntry } from \"./LogEntriesTable\";\nexport { default as LogEntriesTable } from \"./LogEntriesTable\";\nexport { MapAttribution } from \"./MapAttribution\";\nexport {\n MapDialog,\n type MapDialogFact,\n type MapDialogMapView,\n type MapDialogMenuItem,\n type MapDialogProps,\n type MapPlace,\n type MapPlaceLink,\n type MapPlaceSource,\n} from \"./MapDialog\";\nexport { MAP_DIALOG_PARAM, MapTile, type MapTileProps, mapDialogOptions } from \"./MapTile\";\nexport { MapView } from \"./MapView\";\nexport { MapViewFrame } from \"./MapViewFrame\";\nexport { default as MarkdownView, type MarkdownRenderOptions, type MarkdownViewProps, renderSafeMarkdown } from \"./MarkdownView\";\nexport { type MatchRange, MatchText, type MatchTextProps, matchParts } from \"./MatchText\";\nexport type {\n MessageEventGroupProps,\n MessageEventRowProps,\n MessageGroupEntry,\n MessageRowAction,\n MessageRowAttachment,\n MessageRowAuthor,\n MessageRowFile,\n MessageRowMedia,\n MessageRowOrigin,\n MessageRowProgress,\n MessageRowProps,\n MessageRowQuote,\n MessageRowReaction,\n MessageRowStatus,\n MessageRowThread,\n MessageSystemRowProps,\n} from \"./MessageRow\";\nexport { MessageEventGroup, MessageEventRow, MessageRow, MessageSystemRow, startsMessageGroup } from \"./MessageRow\";\nexport { type GeoNavigationPlatform, geoNavigationHref, geoNavigationPlatform } from \"./map-navigation\";\nexport { type MapPaletteColors, type MapTheme, mapPalette } from \"./map-palette\";\nexport { type MapStyleOptions, mapAttribution, mapStyle } from \"./map-style\";\nexport { MAP_SNAPSHOT_MAX_PIXELS, MapSnapshotError, type MapSnapshotErrorCode } from \"./map-view-snapshot\";\nexport type {\n MapViewArea,\n MapViewFit,\n MapViewFrameProps,\n MapViewHandle,\n MapViewLine,\n MapViewLineTone,\n MapViewMarker,\n MapViewOwnLocation,\n MapViewPoint,\n MapViewProps,\n MapViewSnapshot,\n MapViewSnapshotOptions,\n MapViewStyle,\n MapViewStyleSource,\n MapViewTone,\n} from \"./map-view-types\";\nexport {\n MARKDOWN_CALLOUT_CLASSES,\n MARKDOWN_CALLOUT_ICON_ATTRIBUTES,\n type MarkdownInfoBlock,\n type MarkdownInfoBlockRenderInput,\n type MarkdownInfoBlockType,\n markdownInfoBlocks,\n renderMarkdownInfoBlock,\n scanMarkdownInfoBlock,\n} from \"./markdown-info-blocks\";\nexport {\n type MarkdownLinkInput,\n type MarkdownReference,\n type MarkdownReferenceKind,\n type MarkdownReferenceType,\n markdownLinkReference,\n markdownReferenceIcon,\n markdownReferenceType,\n markdownReferenceTypeLabel,\n markStandaloneLinks,\n renderMarkdownLink,\n} from \"./markdown-links\";\nexport { Pagination, type PaginationProps } from \"./Pagination\";\nexport { PdfThumbnails, type PdfThumbnailsProps } from \"./PdfThumbnails\";\nexport type { PdfViewerProps, PdfViewerRequest } from \"./PdfViewer\";\nexport { default as PdfViewer } from \"./PdfViewer\";\nexport type { RangeOption, RangePickerProps } from \"./RangePicker\";\nexport { default as RangePicker } from \"./RangePicker\";\nexport { ReactionBar, type ReactionBarItem, type ReactionBarProps } from \"./ReactionBar\";\nexport type {\n ReferenceChipObjectProps,\n ReferenceChipPersonProps,\n ReferenceChipProps,\n ReferenceChipTimeProps,\n} from \"./ReferenceChip\";\nexport { REFERENCE_CHIP_MAX_CHARACTERS, ReferenceChip, truncateMiddle } from \"./ReferenceChip\";\nexport type { StepsProps } from \"./Steps\";\nexport { Steps } from \"./Steps\";\nexport type { StructuredDataPreviewMode, StructuredDataPreviewProps, StructuredDataValue } from \"./StructuredDataPreview\";\nexport { default as StructuredDataPreview, isStructuredDataValue } from \"./StructuredDataPreview\";\nexport { ThumbnailStrip, type ThumbnailStripItem, type ThumbnailStripProps } from \"./ThumbnailStrip\";\nexport type { TimelineColor, TimelineController, TimelineItem, TimelineProps } from \"./Timeline\";\nexport { default as Timeline } from \"./Timeline\";\nexport { VideoPlayer, type VideoPlayerProps } from \"./VideoPlayer\";\nexport type { VirtualFeedController, VirtualFeedProps, VirtualFeedScrollOptions } from \"./VirtualFeed\";\nexport { VirtualFeed } from \"./VirtualFeed\";\nexport type { ZoomPanAction, ZoomPanFullscreen, ZoomPanViewportProps } from \"./ZoomPanViewport\";\nexport { ZoomPanViewport } from \"./ZoomPanViewport\";\n"],"mappings":"AACA,SAAS,cAAc,QAAkC,kBAAkB;AAsB3E,SAAS,OAAO,IAAI,QAAQ,QAAQ,YAAY;AAGhD,SAAS,OAAO,IAAI,KAAK,QAAQ,SAAS;AAE1C,SAAS,aAAa,QAAQ,iBAAiB;AAE/C,SAAS,qBAAqB,QAAQ,yBAAyB;AAC/D,SAAS,mBAAmB,QAAuC,uBAAuB;AAC1F,SAAS,iBAAiB,QAAQ,qBAAqB;AAEvD,SAAS,OAAO,IAAI,WAAW,QAAQ,eAAe;AACtD,SAA2B,iBAAiB,QAAQ,gBAAgB;AAUpE,SAAS,mBAAmB,QAAQ,kBAAkB;AAGtD,SAAS,oBAAoB,QAAQ,kBAAkB;AASvD,SAAS,YAAY,QAAQ,kBAAkB;AAC/C,SAAmC,yBAAyB,QAAiC,wBAAwB;AAarH,SAAS,OAAO,IAAI,SAAS,QAAQ,aAAa;AAElD,SAAS,mBAAmB,EAAE,cAAc,QAAQ,kBAAkB;AAEtE,SAAS,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,QAAQ,QAAQ;AAO/G,SAAS,UAAU,EAAE,QAAQ,QAAQ,sBAAsB;AAC3D,SAAS,gBAAgB,EAA+C,eAAe,QAA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EAC1B,mBAAmB,EACnB,kBAAkB,QACb,kBAAkB;AACzB,SAAS,UAAU,QAA8B,cAAc;AAC/D,SAAS,aAAa,QAAiC,iBAAiB;AAExE,SAAS,OAAO,IAAI,SAAS,QAAQ,aAAa;AAElD,SAAS,OAAO,IAAI,WAAW,QAAQ,eAAe;AACtD,SAAS,WAAW,QAAqD,eAAe;AAOxF,SAAS,6BAA6B,EAAE,aAAa,EAAE,cAAc,QAAQ,iBAAiB;AAE9F,SAAS,KAAK,QAAQ,SAAS;AAE/B,SAAS,OAAO,IAAI,qBAAqB,EAAE,qBAAqB,QAAQ,yBAAyB;AACjG,SAAS,cAAc,QAA2D,kBAAkB;AAEpG,SAAS,OAAO,IAAI,QAAQ,QAAQ,YAAY;AAChD,SAAS,WAAW,QAA+B,eAAe;AAElE,SAAS,WAAW,QAAQ,eAAe;AAE3C,SAAS,eAAe,QAAQ,mBAAmB","ignoreList":[]}
@@ -4,26 +4,72 @@ const lightboxMessages = i18n.define({
4
4
  baseLocale: "en",
5
5
  messages: {
6
6
  en: {
7
- closeLightbox: "Close lightbox",
8
- downloadImage: "Download image",
9
- imageLightbox: "Image lightbox",
10
- imageNavigation: "Image navigation",
11
- nextImage: "Next image",
12
- previousImage: "Previous image",
13
- goToImage: ({
14
- index
15
- }) => `Go to image ${index}`
7
+ actions: "Actions",
8
+ close: "Close",
9
+ closeHint: "Close (Esc)",
10
+ download: "Download",
11
+ open: "Open",
12
+ previous: "Previous file",
13
+ next: "Next file",
14
+ files: "Files",
15
+ view: "View",
16
+ zoomIn: "Zoom in",
17
+ zoomOut: "Zoom out",
18
+ percent: ({
19
+ value
20
+ }) => `${value} %`,
21
+ page: ({
22
+ number,
23
+ total
24
+ }) => `Page ${number} / ${total}`,
25
+ sheet: ({
26
+ number,
27
+ total
28
+ }) => `Sheet ${number} / ${total}`,
29
+ loading: "Preview loads",
30
+ converting: "Converting for the preview …",
31
+ failed: "The preview could not be loaded",
32
+ failedHint: "You can still download the file.",
33
+ retry: "Try again",
34
+ notPossible: "Preview not possible",
35
+ notPossibleHint: "The file could not be converted for the preview.",
36
+ noPreview: "There is no preview for this file",
37
+ noPreviewHint: "Download it and open it with a suitable program.",
38
+ viewOnly: "view only"
16
39
  },
17
40
  de: {
18
- closeLightbox: "Bildansicht schließen",
19
- downloadImage: "Bild herunterladen",
20
- imageLightbox: "Bildansicht",
21
- imageNavigation: "Bildnavigation",
22
- nextImage: "Nächstes Bild",
23
- previousImage: "Vorheriges Bild",
24
- goToImage: ({
25
- index
26
- }) => `Zu Bild ${index} wechseln`
41
+ actions: "Aktionen",
42
+ close: "Schließen",
43
+ closeHint: "Schließen (Esc)",
44
+ download: "Herunterladen",
45
+ open: "Öffnen",
46
+ previous: "Vorherige Datei",
47
+ next: "Nächste Datei",
48
+ files: "Dateien",
49
+ view: "Ansicht",
50
+ zoomIn: "Vergrößern",
51
+ zoomOut: "Verkleinern",
52
+ percent: ({
53
+ value
54
+ }) => `${value} %`,
55
+ page: ({
56
+ number,
57
+ total
58
+ }) => `Seite ${number} / ${total}`,
59
+ sheet: ({
60
+ number,
61
+ total
62
+ }) => `Blatt ${number} / ${total}`,
63
+ loading: "Vorschau lädt",
64
+ converting: "Wird für die Vorschau umgewandelt …",
65
+ failed: "Die Vorschau konnte nicht geladen werden",
66
+ failedHint: "Herunterladen geht trotzdem.",
67
+ retry: "Erneut versuchen",
68
+ notPossible: "Vorschau nicht möglich",
69
+ notPossibleHint: "Die Datei ließ sich nicht für die Vorschau umwandeln.",
70
+ noPreview: "Für diese Datei gibt es keine Vorschau",
71
+ noPreviewHint: "Herunterladen und mit einem passenden Programm öffnen.",
72
+ viewOnly: "nur Ansicht"
27
73
  }
28
74
  }
29
75
  });
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["content/lightbox-messages.ts"],"sourcesContent":["import { i18n } from \"@k2b/stdlib\";\nimport { useLocale } from \"../intl/locale\";\n\nconst lightboxMessages = i18n.define({\n baseLocale: \"en\",\n messages: {\n en: {\n closeLightbox: \"Close lightbox\",\n downloadImage: \"Download image\",\n imageLightbox: \"Image lightbox\",\n imageNavigation: \"Image navigation\",\n nextImage: \"Next image\",\n previousImage: \"Previous image\",\n goToImage: ({ index }: { index: number }) => `Go to image ${index}`,\n },\n de: {\n closeLightbox: \"Bildansicht schließen\",\n downloadImage: \"Bild herunterladen\",\n imageLightbox: \"Bildansicht\",\n imageNavigation: \"Bildnavigation\",\n nextImage: \"Nächstes Bild\",\n previousImage: \"Vorheriges Bild\",\n goToImage: ({ index }) => `Zu Bild ${index} wechseln`,\n },\n },\n});\n\nexport type LightboxMessages = ReturnType<(typeof lightboxMessages)[\"resolve\"]>[\"t\"];\n\n/** Resolved from the inherited render locale. */\nexport const useLightboxMessages = (): (() => LightboxMessages) => {\n const locale = useLocale();\n return () => lightboxMessages.resolve([locale()]).t;\n};\n\nexport const checkLightboxMessages = () => lightboxMessages.check();\n"],"mappings":"AAAA,SAAS,IAAI,QAAQ,aAAa;AAClC,SAAS,SAAS,QAAQ,gBAAgB;AAE1C,MAAM,gBAAgB,GAAG,IAAI,CAAC,MAAM,CAAC;EACnC,UAAU,EAAE,IAAI;EAChB,QAAQ,EAAE;IACR,EAAE,EAAE;MACF,aAAa,EAAE,gBAAgB;MAC/B,aAAa,EAAE,gBAAgB;MAC/B,aAAa,EAAE,gBAAgB;MAC/B,eAAe,EAAE,kBAAkB;MACnC,SAAS,EAAE,YAAY;MACvB,aAAa,EAAE,gBAAgB;MAC/B,SAAS,EAAE,CAAC;QAAE;MAAyB,CAAC,KAAK,eAAe,KAAK;IACnE,CAAC;IACD,EAAE,EAAE;MACF,aAAa,EAAE,uBAAuB;MACtC,aAAa,EAAE,oBAAoB;MACnC,aAAa,EAAE,aAAa;MAC5B,eAAe,EAAE,gBAAgB;MACjC,SAAS,EAAE,eAAe;MAC1B,aAAa,EAAE,iBAAiB;MAChC,SAAS,EAAE,CAAC;QAAE;MAAM,CAAC,KAAK,WAAW,KAAK;IAC5C;EACF;AACF,CAAC,CAAC;AAIF;AACA,OAAO,MAAM,mBAAmB,GAAG,MAAgC;EACjE,MAAM,MAAM,GAAG,SAAS,CAAC,CAAC;EAC1B,OAAO,MAAM,gBAAgB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACrD,CAAC;AAED,OAAO,MAAM,qBAAqB,GAAG,MAAM,gBAAgB,CAAC,KAAK,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":[],"sources":["content/lightbox-messages.ts"],"sourcesContent":["import { i18n } from \"@k2b/stdlib\";\nimport { useLocale } from \"../intl/locale\";\n\nconst lightboxMessages = i18n.define({\n baseLocale: \"en\",\n messages: {\n en: {\n actions: \"Actions\",\n close: \"Close\",\n closeHint: \"Close (Esc)\",\n download: \"Download\",\n open: \"Open\",\n previous: \"Previous file\",\n next: \"Next file\",\n files: \"Files\",\n view: \"View\",\n zoomIn: \"Zoom in\",\n zoomOut: \"Zoom out\",\n percent: ({ value }: { value: number }): string => `${value} %`,\n page: ({ number, total }: { number: number; total: number }): string => `Page ${number} / ${total}`,\n sheet: ({ number, total }: { number: number; total: number }): string => `Sheet ${number} / ${total}`,\n loading: \"Preview loads\",\n converting: \"Converting for the preview …\",\n failed: \"The preview could not be loaded\",\n failedHint: \"You can still download the file.\",\n retry: \"Try again\",\n notPossible: \"Preview not possible\",\n notPossibleHint: \"The file could not be converted for the preview.\",\n noPreview: \"There is no preview for this file\",\n noPreviewHint: \"Download it and open it with a suitable program.\",\n viewOnly: \"view only\",\n },\n de: {\n actions: \"Aktionen\",\n close: \"Schließen\",\n closeHint: \"Schließen (Esc)\",\n download: \"Herunterladen\",\n open: \"Öffnen\",\n previous: \"Vorherige Datei\",\n next: \"Nächste Datei\",\n files: \"Dateien\",\n view: \"Ansicht\",\n zoomIn: \"Vergrößern\",\n zoomOut: \"Verkleinern\",\n percent: ({ value }) => `${value} %`,\n page: ({ number, total }) => `Seite ${number} / ${total}`,\n sheet: ({ number, total }) => `Blatt ${number} / ${total}`,\n loading: \"Vorschau lädt\",\n converting: \"Wird für die Vorschau umgewandelt …\",\n failed: \"Die Vorschau konnte nicht geladen werden\",\n failedHint: \"Herunterladen geht trotzdem.\",\n retry: \"Erneut versuchen\",\n notPossible: \"Vorschau nicht möglich\",\n notPossibleHint: \"Die Datei ließ sich nicht für die Vorschau umwandeln.\",\n noPreview: \"Für diese Datei gibt es keine Vorschau\",\n noPreviewHint: \"Herunterladen und mit einem passenden Programm öffnen.\",\n viewOnly: \"nur Ansicht\",\n },\n },\n});\n\nexport type LightboxMessages = ReturnType<(typeof lightboxMessages)[\"resolve\"]>[\"t\"];\n\n/** Resolved from the inherited render locale. */\nexport const useLightboxMessages = (): (() => LightboxMessages) => {\n const locale = useLocale();\n return () => lightboxMessages.resolve([locale()]).t;\n};\n\nexport const checkLightboxMessages = () => lightboxMessages.check();\n"],"mappings":"AAAA,SAAS,IAAI,QAAQ,aAAa;AAClC,SAAS,SAAS,QAAQ,gBAAgB;AAE1C,MAAM,gBAAgB,GAAG,IAAI,CAAC,MAAM,CAAC;EACnC,UAAU,EAAE,IAAI;EAChB,QAAQ,EAAE;IACR,EAAE,EAAE;MACF,OAAO,EAAE,SAAS;MAClB,KAAK,EAAE,OAAO;MACd,SAAS,EAAE,aAAa;MACxB,QAAQ,EAAE,UAAU;MACpB,IAAI,EAAE,MAAM;MACZ,QAAQ,EAAE,eAAe;MACzB,IAAI,EAAE,WAAW;MACjB,KAAK,EAAE,OAAO;MACd,IAAI,EAAE,MAAM;MACZ,MAAM,EAAE,SAAS;MACjB,OAAO,EAAE,UAAU;MACnB,OAAO,EAAE,CAAC;QAAE;MAAyB,CAAC,KAAa,GAAG,KAAK,IAAI;MAC/D,IAAI,EAAE,CAAC;QAAE,MAAM;QAAE;MAAyC,CAAC,KAAa,QAAQ,MAAM,MAAM,KAAK,EAAE;MACnG,KAAK,EAAE,CAAC;QAAE,MAAM;QAAE;MAAyC,CAAC,KAAa,SAAS,MAAM,MAAM,KA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AAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACrD,CAAC;AAED,OAAO,MAAM,qBAAqB,GAAG,MAAM,gBAAgB,CAAC,KAAK,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ // The Lightbox's heavy renderers in one module of their own, loaded when a file needs one. It is not part of the
2
+ // package index, so an app that only offers the Lightbox never carries the document, PDF and video code up front.
3
+ export { default as FileView } from "./FileView";
4
+ export { default as PdfViewer } from "./PdfViewer";
5
+ export { default as VideoPlayer } from "./VideoPlayer";
6
+ //# sourceMappingURL=lightbox-renderers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":["content/lightbox-renderers.ts"],"sourcesContent":["// The Lightbox's heavy renderers in one module of their own, loaded when a file needs one. It is not part of the\n// package index, so an app that only offers the Lightbox never carries the document, PDF and video code up front.\nexport { default as FileView } from \"./FileView\";\nexport { default as PdfViewer } from \"./PdfViewer\";\nexport { default as VideoPlayer } from \"./VideoPlayer\";\n"],"mappings":"AAAA;AACA;AACA,SAAS,OAAO,IAAI,QAAQ,QAAQ,YAAY;AAChD,SAAS,OAAO,IAAI,SAAS,QAAQ,aAAa;AAClD,SAAS,OAAO,IAAI,WAAW,QAAQ,eAAe","ignoreList":[]}