@k2b/ui 0.54.0 → 0.56.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 (145) hide show
  1. package/dist/browser/actions/Toolbar.js +16 -7
  2. package/dist/browser/actions/Toolbar.js.map +1 -1
  3. package/dist/browser/chat/ChatComposer.js +28 -27
  4. package/dist/browser/chat/ChatComposer.js.map +1 -1
  5. package/dist/browser/content/Lightbox.js +917 -283
  6. package/dist/browser/content/Lightbox.js.map +1 -1
  7. package/dist/browser/content/MapDialog.js +686 -0
  8. package/dist/browser/content/MapDialog.js.map +1 -0
  9. package/dist/browser/content/MapTile.js +139 -0
  10. package/dist/browser/content/MapTile.js.map +1 -0
  11. package/dist/browser/content/MapView.js +19 -8
  12. package/dist/browser/content/MapView.js.map +1 -1
  13. package/dist/browser/content/PdfPages.js +9 -4
  14. package/dist/browser/content/PdfPages.js.map +1 -1
  15. package/dist/browser/content/PdfThumbnails.js +271 -0
  16. package/dist/browser/content/PdfThumbnails.js.map +1 -0
  17. package/dist/browser/content/PdfViewer.js +11 -3
  18. package/dist/browser/content/PdfViewer.js.map +1 -1
  19. package/dist/browser/content/Timeline.js +116 -117
  20. package/dist/browser/content/Timeline.js.map +1 -1
  21. package/dist/browser/content/code-highlight.js +24 -11
  22. package/dist/browser/content/code-highlight.js.map +1 -1
  23. package/dist/browser/content/index.js +8 -1
  24. package/dist/browser/content/index.js.map +1 -1
  25. package/dist/browser/content/lightbox-messages.js +64 -18
  26. package/dist/browser/content/lightbox-messages.js.map +1 -1
  27. package/dist/browser/content/lightbox-renderers.js +6 -0
  28. package/dist/browser/content/lightbox-renderers.js.map +1 -0
  29. package/dist/browser/content/map-dialog-messages.js +47 -0
  30. package/dist/browser/content/map-dialog-messages.js.map +1 -0
  31. package/dist/browser/content/map-navigation.js +15 -0
  32. package/dist/browser/content/map-navigation.js.map +1 -0
  33. package/dist/browser/content/map-view-messages.js +4 -0
  34. package/dist/browser/content/map-view-messages.js.map +1 -1
  35. package/dist/browser/content/map-view-types.js.map +1 -1
  36. package/dist/browser/content/map-view-worker.js +3 -3
  37. package/dist/browser/content/pdf-messages.js +16 -2
  38. package/dist/browser/content/pdf-messages.js.map +1 -1
  39. package/dist/browser/content/pdf-viewer-engine.js +15 -15
  40. package/dist/browser/content/pdf-viewer-worker.js +4 -5
  41. package/dist/browser/feedback/dialog-core.js +21 -9
  42. package/dist/browser/feedback/dialog-core.js.map +1 -1
  43. package/dist/browser/feedback/prompt-confirm.js +2 -0
  44. package/dist/browser/feedback/prompt-confirm.js.map +1 -1
  45. package/dist/browser/internal/truncated-title.js +9 -0
  46. package/dist/browser/internal/truncated-title.js.map +1 -0
  47. package/dist/browser/layout/Breadcrumbs.js +97 -0
  48. package/dist/browser/layout/Breadcrumbs.js.map +1 -0
  49. package/dist/browser/layout/DetailPanel.js +3 -5
  50. package/dist/browser/layout/DetailPanel.js.map +1 -1
  51. package/dist/browser/layout/PanelDialog.js +3 -1
  52. package/dist/browser/layout/PanelDialog.js.map +1 -1
  53. package/dist/browser/layout/index.js +1 -0
  54. package/dist/browser/layout/index.js.map +1 -1
  55. package/dist/browser/surfaces/Skeleton.js +32 -0
  56. package/dist/browser/surfaces/Skeleton.js.map +1 -1
  57. package/dist/browser/surfaces/index.js +1 -1
  58. package/dist/browser/surfaces/index.js.map +1 -1
  59. package/dist/ssr/actions/CommandMenu.js +2 -2
  60. package/dist/ssr/actions/CommandMenu.js.map +1 -1
  61. package/dist/ssr/actions/Toolbar.js +16 -7
  62. package/dist/ssr/actions/Toolbar.js.map +1 -1
  63. package/dist/ssr/chat/ChatComposer.js +31 -30
  64. package/dist/ssr/chat/ChatComposer.js.map +1 -1
  65. package/dist/ssr/content/Lightbox.js +659 -150
  66. package/dist/ssr/content/Lightbox.js.map +1 -1
  67. package/dist/ssr/content/MapDialog.js +469 -0
  68. package/dist/ssr/content/MapDialog.js.map +1 -0
  69. package/dist/ssr/content/MapTile.js +92 -0
  70. package/dist/ssr/content/MapTile.js.map +1 -0
  71. package/dist/ssr/content/MapView.js +12 -8
  72. package/dist/ssr/content/MapView.js.map +1 -1
  73. package/dist/ssr/content/PdfPages.js +9 -4
  74. package/dist/ssr/content/PdfPages.js.map +1 -1
  75. package/dist/ssr/content/PdfThumbnails.js +189 -0
  76. package/dist/ssr/content/PdfThumbnails.js.map +1 -0
  77. package/dist/ssr/content/PdfViewer.js +11 -3
  78. package/dist/ssr/content/PdfViewer.js.map +1 -1
  79. package/dist/ssr/content/Timeline.js +2 -5
  80. package/dist/ssr/content/Timeline.js.map +1 -1
  81. package/dist/ssr/content/code-highlight.js +24 -11
  82. package/dist/ssr/content/code-highlight.js.map +1 -1
  83. package/dist/ssr/content/index.js +8 -1
  84. package/dist/ssr/content/index.js.map +1 -1
  85. package/dist/ssr/content/lightbox-messages.js +64 -18
  86. package/dist/ssr/content/lightbox-messages.js.map +1 -1
  87. package/dist/ssr/content/lightbox-renderers.js +6 -0
  88. package/dist/ssr/content/lightbox-renderers.js.map +1 -0
  89. package/dist/ssr/content/map-dialog-messages.js +47 -0
  90. package/dist/ssr/content/map-dialog-messages.js.map +1 -0
  91. package/dist/ssr/content/map-navigation.js +15 -0
  92. package/dist/ssr/content/map-navigation.js.map +1 -0
  93. package/dist/ssr/content/map-view-messages.js +4 -0
  94. package/dist/ssr/content/map-view-messages.js.map +1 -1
  95. package/dist/ssr/content/map-view-types.js.map +1 -1
  96. package/dist/ssr/content/pdf-messages.js +16 -2
  97. package/dist/ssr/content/pdf-messages.js.map +1 -1
  98. package/dist/ssr/feedback/dialog-core.js +21 -9
  99. package/dist/ssr/feedback/dialog-core.js.map +1 -1
  100. package/dist/ssr/feedback/prompt-confirm.js +1 -0
  101. package/dist/ssr/feedback/prompt-confirm.js.map +1 -1
  102. package/dist/ssr/inputs/ChoiceInputs.js +2 -2
  103. package/dist/ssr/inputs/ChoiceInputs.js.map +1 -1
  104. package/dist/ssr/inputs/SignatureInput.js +2 -2
  105. package/dist/ssr/inputs/SignatureInput.js.map +1 -1
  106. package/dist/ssr/inputs/markdown/SlashCommands.js +2 -2
  107. package/dist/ssr/inputs/markdown/SlashCommands.js.map +1 -1
  108. package/dist/ssr/internal/truncated-title.js +9 -0
  109. package/dist/ssr/internal/truncated-title.js.map +1 -0
  110. package/dist/ssr/layout/Breadcrumbs.js +62 -0
  111. package/dist/ssr/layout/Breadcrumbs.js.map +1 -0
  112. package/dist/ssr/layout/DetailPanel.js +1 -4
  113. package/dist/ssr/layout/DetailPanel.js.map +1 -1
  114. package/dist/ssr/layout/PanelDialog.js +1 -0
  115. package/dist/ssr/layout/PanelDialog.js.map +1 -1
  116. package/dist/ssr/layout/index.js +1 -0
  117. package/dist/ssr/layout/index.js.map +1 -1
  118. package/dist/ssr/surfaces/Skeleton.js +32 -0
  119. package/dist/ssr/surfaces/Skeleton.js.map +1 -1
  120. package/dist/ssr/surfaces/index.js +1 -1
  121. package/dist/ssr/surfaces/index.js.map +1 -1
  122. package/dist/styles.css +1 -1
  123. package/dist/types/actions/Toolbar.d.ts +6 -0
  124. package/dist/types/chat/ChatComposer.d.ts +1 -0
  125. package/dist/types/content/Lightbox.d.ts +54 -14
  126. package/dist/types/content/MapDialog.d.ts +105 -0
  127. package/dist/types/content/MapTile.d.ts +37 -0
  128. package/dist/types/content/PdfPages.d.ts +7 -1
  129. package/dist/types/content/PdfThumbnails.d.ts +26 -0
  130. package/dist/types/content/PdfViewer.d.ts +12 -3
  131. package/dist/types/content/index.d.ts +7 -2
  132. package/dist/types/content/lightbox-messages.d.ts +31 -8
  133. package/dist/types/content/lightbox-renderers.d.ts +3 -0
  134. package/dist/types/content/map-dialog-messages.d.ts +19 -0
  135. package/dist/types/content/map-navigation.d.ts +13 -0
  136. package/dist/types/content/map-view-messages.d.ts +2 -0
  137. package/dist/types/content/map-view-types.d.ts +5 -0
  138. package/dist/types/content/pdf-messages.d.ts +7 -0
  139. package/dist/types/feedback/dialog-core.d.ts +6 -0
  140. package/dist/types/internal/truncated-title.d.ts +7 -0
  141. package/dist/types/layout/Breadcrumbs.d.ts +19 -0
  142. package/dist/types/layout/index.d.ts +1 -0
  143. package/dist/types/surfaces/Skeleton.d.ts +13 -1
  144. package/dist/types/surfaces/index.d.ts +1 -1
  145. 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 { 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 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,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,QAAQ,eAAe;AAC9G,SAAS,QAAQ,QAAsG,YAAY;AACnI,SAAS,OAAO,IAAI,QAAQ,QAAsE,YAAY;AAC9G,SAAwB,YAAY,EAA0B,aAAa,EAAE,UAAU,QAAQ,gBAAgB;AAC/G,SACE,cAAc,EACd,OAAO,IA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AAS,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":[]}
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 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,QAA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AAa;AAC5E,SAAS,uBAAuB,EAAE,gBAAgB,QAAmC,qBAAqB;AAkB1G,SACE,wBAAwB,EACxB,gCAAgC,EAIhC,kBAAkB,EAClB,uBAAuB,EACvB,qBAAqB,QAChB,wBAAwB;AAC/B,SAKE,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,0BAA0B,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;QA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,wCAAwC;MACnD,aAAa,EAAE,wDAAwD;MACvE,QAAQ,EAAE;IACZ;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":[]}
@@ -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":[]}
@@ -0,0 +1,47 @@
1
+ import { i18n } from "@k2b/stdlib";
2
+ import { useLocale } from "../intl/locale";
3
+ const mapDialogMessages = i18n.define({
4
+ baseLocale: "en",
5
+ messages: {
6
+ en: {
7
+ open: "Open map",
8
+ close: "Close",
9
+ more: "More actions",
10
+ places: "Places",
11
+ copyAddress: "Copy address",
12
+ copied: "Copied",
13
+ navigate: ({
14
+ platform
15
+ }) => platform === "ios" ? "Open in Apple Maps" : platform === "android" ? "Open in maps app" : "Open in OpenStreetMap",
16
+ loading: "Loading places …",
17
+ empty: "No places on this map.",
18
+ enlarge: "Enlarge list",
19
+ shrink: "Shrink list",
20
+ noLocation: "Location denied · allow it in your browser",
21
+ locationFailed: "Location unavailable"
22
+ },
23
+ de: {
24
+ open: "Karte öffnen",
25
+ close: "Schließen",
26
+ more: "Weitere Aktionen",
27
+ places: "Orte",
28
+ copyAddress: "Adresse kopieren",
29
+ copied: "Kopiert",
30
+ navigate: ({
31
+ platform
32
+ }) => platform === "ios" ? "In Apple Karten öffnen" : platform === "android" ? "In Navi-App öffnen" : "In OpenStreetMap öffnen",
33
+ loading: "Orte werden geladen …",
34
+ empty: "Keine Orte auf dieser Karte.",
35
+ enlarge: "Liste vergrößern",
36
+ shrink: "Liste verkleinern",
37
+ noLocation: "Standort nicht erlaubt · im Browser freigeben",
38
+ locationFailed: "Standort nicht verfügbar"
39
+ }
40
+ }
41
+ });
42
+ export const useMapDialogMessages = () => {
43
+ const locale = useLocale();
44
+ return () => mapDialogMessages.resolve([locale()]).t;
45
+ };
46
+ export const checkMapDialogMessages = () => mapDialogMessages.check();
47
+ //# sourceMappingURL=map-dialog-messages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":["content/map-dialog-messages.ts"],"sourcesContent":["import { i18n } from \"@k2b/stdlib\";\nimport { useLocale } from \"../intl/locale\";\nimport type { GeoNavigationPlatform } from \"./map-navigation\";\n\nconst mapDialogMessages = i18n.define({\n baseLocale: \"en\",\n messages: {\n en: {\n open: \"Open map\",\n close: \"Close\",\n more: \"More actions\",\n places: \"Places\",\n copyAddress: \"Copy address\",\n copied: \"Copied\",\n navigate: ({ platform }: { platform: GeoNavigationPlatform }): string =>\n platform === \"ios\" ? \"Open in Apple Maps\" : platform === \"android\" ? \"Open in maps app\" : \"Open in OpenStreetMap\",\n loading: \"Loading places …\",\n empty: \"No places on this map.\",\n enlarge: \"Enlarge list\",\n shrink: \"Shrink list\",\n noLocation: \"Location denied · allow it in your browser\",\n locationFailed: \"Location unavailable\",\n },\n de: {\n open: \"Karte öffnen\",\n close: \"Schließen\",\n more: \"Weitere Aktionen\",\n places: \"Orte\",\n copyAddress: \"Adresse kopieren\",\n copied: \"Kopiert\",\n navigate: ({ platform }) =>\n platform === \"ios\" ? \"In Apple Karten öffnen\" : platform === \"android\" ? \"In Navi-App öffnen\" : \"In OpenStreetMap öffnen\",\n loading: \"Orte werden geladen …\",\n empty: \"Keine Orte auf dieser Karte.\",\n enlarge: \"Liste vergrößern\",\n shrink: \"Liste verkleinern\",\n noLocation: \"Standort nicht erlaubt · im Browser freigeben\",\n locationFailed: \"Standort nicht verfügbar\",\n },\n },\n});\nexport const useMapDialogMessages = () => {\n const locale = useLocale();\n return () => mapDialogMessages.resolve([locale()]).t;\n};\nexport const checkMapDialogMessages = () => mapDialogMessages.check();\n"],"mappings":"AAAA,SAAS,IAAI,QAAQ,aAAa;AAClC,SAAS,SAAS,QAAQ,gBAAgB;AAG1C,MAAM,iBAAiB,GAAG,IAAI,CAAC,MAAM,CAAC;EACpC,UAAU,EAAE,IAAI;EAChB,QAAQ,EAAE;IACR,EAAE,EAAE;MACF,IAAI,EAAE,UAAU;MAChB,KAAK,EAAE,OAAO;MACd,IAAI,EAAE,cAAc;MACpB,MAAM,EAAE,QAAQ;MAChB,WAAW,EAAE,cAAc;MAC3B,MAAM,EAAE,QAAQ;MAChB,QAAQ,EAAE,CAAC;QAAE;MAA8C,CAAC,KAC1D,QAAQ,KAAK,KAAK,GAAG,oBAAoB,GAAG,QAAQ,KAAK,SAAS,GAAG,kBAAkB,GAAG,uBAAuB;MACnH,OAAO,EAAE,kBAAkB;MAC3B,KAAK,EAAE,wBAAwB;MAC/B,OAAO,EAAE,cAAc;MACvB,MAAM,EAAE,aAAa;MACrB,UAAU,EAAE,4CAA4C;MACxD,cAAc,EAAE;IAClB,CAAC;IACD,EAAE,EAAE;MACF,IAAI,EAAE,cAAc;MACpB,KAAK,EAAE,WAAW;MAClB,IAAI,EAAE,kBAAkB;MACxB,MAAM,EAAE,MAAM;MACd,WAAW,EAAE,kBAAkB;MAC/B,MAAM,EAAE,SAAS;MACjB,QAAQ,EAAE,CAAC;QAAE;MAAS,CAAC,KACrB,QAAQ,KAAK,KAAK,GAAG,wBAAwB,GAAG,QAAQ,KAAK,SAAS,GAAG,oBAAoB,GAAG,yBAAyB;MAC3H,OAAO,EAAE,uBAAuB;MAChC,KAAK,EAAE,8BAA8B;MACrC,OAAO,EAAE,kBAAkB;MAC3B,MAAM,EAAE,mBAAmB;MAC3B,UAAU,EAAE,+CAA+C;MAC3D,cAAc,EAAE;IAClB;EACF;AACF,CAAC,CAAC;AACF,OAAO,MAAM,oBAAoB,GAAG,MAAM;EACxC,MAAM,MAAM,GAAG,SAAS,CAAC,CAAC;EAC1B,OAAO,MAAM,iBAAiB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACtD,CAAC;AACD,OAAO,MAAM,sBAAsB,GAAG,MAAM,iBAAiB,CAAC,KAAK,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,15 @@
1
+ /** Phones open their own maps app; everything else gets OpenStreetMap. */
2
+ export const geoNavigationPlatform = userAgent => /android/i.test(userAgent) ? "android" : /iphone|ipad|ipod/i.test(userAgent) ? "ios" : "desktop";
3
+
4
+ /**
5
+ * A link into a navigation app. There is no live navigation; the link leaves the page only on click and carries
6
+ * just the destination and an optional name. Without a point it navigates to the address text.
7
+ */
8
+ export const geoNavigationHref = (target, platform) => {
9
+ const point = target.point ? `${target.point.lat},${target.point.lon}` : null;
10
+ const text = encodeURIComponent(target.text);
11
+ if (platform === "android") return point ? `geo:0,0?q=${point}${target.name ? `(${encodeURIComponent(target.name)})` : ""}` : `geo:0,0?q=${text}`;
12
+ if (platform === "ios") return `https://maps.apple.com/?daddr=${point ? encodeURIComponent(point) : text}`;
13
+ return point ? `https://www.openstreetmap.org/directions?route=%3B${encodeURIComponent(point)}` : `https://www.openstreetmap.org/search?query=${text}`;
14
+ };
15
+ //# sourceMappingURL=map-navigation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":["content/map-navigation.ts"],"sourcesContent":["import type { MapViewPoint } from \"./map-view-types\";\n\nexport type GeoNavigationPlatform = \"android\" | \"ios\" | \"desktop\";\n\n/** Phones open their own maps app; everything else gets OpenStreetMap. */\nexport const geoNavigationPlatform = (userAgent: string): GeoNavigationPlatform =>\n /android/i.test(userAgent) ? \"android\" : /iphone|ipad|ipod/i.test(userAgent) ? \"ios\" : \"desktop\";\n\n/**\n * A link into a navigation app. There is no live navigation; the link leaves the page only on click and carries\n * just the destination and an optional name. Without a point it navigates to the address text.\n */\nexport const geoNavigationHref = (\n target: { point?: MapViewPoint | null; text: string; name?: string },\n platform: GeoNavigationPlatform,\n): string => {\n const point = target.point ? `${target.point.lat},${target.point.lon}` : null;\n const text = encodeURIComponent(target.text);\n if (platform === \"android\")\n return point ? `geo:0,0?q=${point}${target.name ? `(${encodeURIComponent(target.name)})` : \"\"}` : `geo:0,0?q=${text}`;\n if (platform === \"ios\") return `https://maps.apple.com/?daddr=${point ? encodeURIComponent(point) : text}`;\n return point\n ? `https://www.openstreetmap.org/directions?route=%3B${encodeURIComponent(point)}`\n : `https://www.openstreetmap.org/search?query=${text}`;\n};\n"],"mappings":"AAIA;AACA,OAAO,MAAM,qBAAqB,GAAI,SAAiB,IACrD,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,SAAS,GAAG,mBAAmB,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,KAAK,GAAG,SAAS;;AAElG;AACA;AACA;AACA;AACA,OAAO,MAAM,iBAAiB,GAAG,CAC/B,MAAoE,EACpE,QAA+B,KACpB;EACX,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,GAAG,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,IAAI,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,GAAG,IAAI;EAC7E,MAAM,IAAI,GAAG,kBAAkB,CAAC,MAAM,CAAC,IAAI,CAAC;EAC5C,IAAI,QAAQ,KAAK,SAAS,EACxB,OAAO,KAAK,GAAG,aAAa,KAAK,GAAG,MAAM,CAAC,IAAI,GAAG,IAAI,kBAAkB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,GAAG,EAAE,EAAE,GAAG,aAAa,IAAI,EAAE;EACvH,IAAI,QAAQ,KAAK,KAAK,EAAE,OAAO,iCAAiC,KAAK,GAAG,kBAAkB,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE;EAC1G,OAAO,KAAK,GACR,qDAAqD,kBAAkB,CAAC,KAAK,CAAC,EAAE,GAChF,8CAA8C,IAAI,EAAE;AAC1D,CAAC","ignoreList":[]}
@@ -14,9 +14,11 @@ const mapViewMessages = i18n.define({
14
14
  locate: "Show my location",
15
15
  loading: "Loading map …",
16
16
  error: "Map image did not load. The pins stay.",
17
+ errorShort: "Map image did not load",
17
18
  retry: "Try again",
18
19
  reload: "Reload page",
19
20
  noWebgl: "This browser cannot show the map image. The pins stay.",
21
+ noWebglShort: "No map image in this browser",
20
22
  ownLocation: "Your location",
21
23
  canvasTitle: "Map. Arrow keys move it.",
22
24
  gestureWindows: "Use Ctrl + scroll to zoom the map",
@@ -34,9 +36,11 @@ const mapViewMessages = i18n.define({
34
36
  locate: "Ich bin hier",
35
37
  loading: "Karte lädt …",
36
38
  error: "Kartenbild nicht geladen, die Pins bleiben.",
39
+ errorShort: "Kartenbild nicht geladen",
37
40
  retry: "Erneut versuchen",
38
41
  reload: "Seite neu laden",
39
42
  noWebgl: "Dieser Browser kann das Kartenbild nicht zeigen, die Pins bleiben.",
43
+ noWebglShort: "Kein Kartenbild in diesem Browser",
40
44
  ownLocation: "Dein Standort",
41
45
  canvasTitle: "Karte. Pfeiltasten verschieben sie.",
42
46
  gestureWindows: "Strg + Scrollen zoomt die Karte",
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["content/map-view-messages.ts"],"sourcesContent":["import { i18n } from \"@k2b/stdlib\";\nimport { useLocale } from \"../intl/locale\";\n\nconst mapViewMessages = i18n.define({\n baseLocale: \"en\",\n messages: {\n en: {\n mapLabel: \"Map\",\n summary: ({ count }: { count: number }) => `Map with ${count} ${count === 1 ? \"place\" : \"places\"}`,\n pins: \"Places on the map\",\n zoomIn: \"Zoom in\",\n zoomOut: \"Zoom out\",\n locate: \"Show my location\",\n loading: \"Loading map …\",\n error: \"Map image did not load. The pins stay.\",\n retry: \"Try again\",\n reload: \"Reload page\",\n noWebgl: \"This browser cannot show the map image. The pins stay.\",\n ownLocation: \"Your location\",\n canvasTitle: \"Map. Arrow keys move it.\",\n gestureWindows: \"Use Ctrl + scroll to zoom the map\",\n gestureMac: \"Use ⌘ + scroll to zoom the map\",\n gestureMobile: \"Use two fingers to move the map\",\n },\n de: {\n mapLabel: \"Karte\",\n summary: ({ count }) => `Karte mit ${count} ${count === 1 ? \"Ort\" : \"Orten\"}`,\n pins: \"Orte auf der Karte\",\n zoomIn: \"Vergrößern\",\n zoomOut: \"Verkleinern\",\n locate: \"Ich bin hier\",\n loading: \"Karte lädt …\",\n error: \"Kartenbild nicht geladen, die Pins bleiben.\",\n retry: \"Erneut versuchen\",\n reload: \"Seite neu laden\",\n noWebgl: \"Dieser Browser kann das Kartenbild nicht zeigen, die Pins bleiben.\",\n ownLocation: \"Dein Standort\",\n canvasTitle: \"Karte. Pfeiltasten verschieben sie.\",\n gestureWindows: \"Strg + Scrollen zoomt die Karte\",\n gestureMac: \"⌘ + Scrollen zoomt die Karte\",\n gestureMobile: \"Mit zwei Fingern verschieben\",\n },\n },\n});\nexport const useMapViewMessages = () => {\n const locale = useLocale();\n return () => mapViewMessages.resolve([locale()]).t;\n};\nexport const checkMapViewMessages = () => mapViewMessages.check();\n"],"mappings":"AAAA,SAAS,IAAI,QAAQ,aAAa;AAClC,SAAS,SAAS,QAAQ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AC,CAAC;EAC1B,OAAO,MAAM,eAAe,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACpD,CAAC;AACD,OAAO,MAAM,oBAAoB,GAAG,MAAM,eAAe,CAAC,KAAK,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":[],"sources":["content/map-view-messages.ts"],"sourcesContent":["import { i18n } from \"@k2b/stdlib\";\nimport { useLocale } from \"../intl/locale\";\n\nconst mapViewMessages = i18n.define({\n baseLocale: \"en\",\n messages: {\n en: {\n mapLabel: \"Map\",\n summary: ({ count }: { count: number }) => `Map with ${count} ${count === 1 ? \"place\" : \"places\"}`,\n pins: \"Places on the map\",\n zoomIn: \"Zoom in\",\n zoomOut: \"Zoom out\",\n locate: \"Show my location\",\n loading: \"Loading map …\",\n error: \"Map image did not load. The pins stay.\",\n errorShort: \"Map image did not load\",\n retry: \"Try again\",\n reload: \"Reload page\",\n noWebgl: \"This browser cannot show the map image. The pins stay.\",\n noWebglShort: \"No map image in this browser\",\n ownLocation: \"Your location\",\n canvasTitle: \"Map. Arrow keys move it.\",\n gestureWindows: \"Use Ctrl + scroll to zoom the map\",\n gestureMac: \"Use ⌘ + scroll to zoom the map\",\n gestureMobile: \"Use two fingers to move the map\",\n },\n de: {\n mapLabel: \"Karte\",\n summary: ({ count }) => `Karte mit ${count} ${count === 1 ? \"Ort\" : \"Orten\"}`,\n pins: \"Orte auf der Karte\",\n zoomIn: \"Vergrößern\",\n zoomOut: \"Verkleinern\",\n locate: \"Ich bin hier\",\n loading: \"Karte lädt …\",\n error: \"Kartenbild nicht geladen, die Pins bleiben.\",\n errorShort: \"Kartenbild nicht geladen\",\n retry: \"Erneut versuchen\",\n reload: \"Seite neu laden\",\n noWebgl: \"Dieser Browser kann das Kartenbild nicht zeigen, die Pins bleiben.\",\n noWebglShort: \"Kein Kartenbild in diesem Browser\",\n ownLocation: \"Dein Standort\",\n canvasTitle: \"Karte. Pfeiltasten verschieben sie.\",\n gestureWindows: \"Strg + Scrollen zoomt die Karte\",\n gestureMac: \"⌘ + Scrollen zoomt die Karte\",\n gestureMobile: \"Mit zwei Fingern verschieben\",\n },\n },\n});\nexport const useMapViewMessages = () => {\n const locale = useLocale();\n return () => mapViewMessages.resolve([locale()]).t;\n};\nexport const checkMapViewMessages = () => mapViewMessages.check();\n"],"mappings":"AAAA,SAAS,IAAI,QAAQ,aAAa;AAClC,SAAS,SAAS,QAAQ,gBAAgB;AAE1C,MAAM,eAAe,GAAG,IAAI,CAAC,MAAM,CAAC;EAClC,UAAU,EAAE,IAAI;EAChB,QAAQ,EAAE;IACR,EAAE,EAAE;MACF,QAAQ,EAAE,KAAK;MACf,OAAO,EAAE,CAAC;QAAE;MAAyB,CAAC,KAAK,YAAY,KAAK,IAAI,KAAK,KAAK,CAAC,GAAG,OAAO,GAAG,QAAQ,EAAE;MAClG,IAAI,EAAE,mBAAmB;MACzB,MAAM,EAAE,SAAS;MACjB,OAAO,EAAE,UAAU;MACnB,MAAM,EAAE,kBAAkB;MAC1B,OAAO,EAAE,eAAe;MACxB,KAAK,EAAE,wCAAwC;MAC/C,UAAU,EAAE,wBAAwB;MACpC,KAAK,EAAE,WAAW;MAClB,MAAM,EAAE,aAAa;MACrB,OAAO,EAAE,wDAAwD;MACjE,YAAY,EAAE,8BAA8B;MAC5C,WAAW,EAAE,eAAe;MAC5B,WAAW,EAAE,0BAA0B;MACvC,cAAc,EAAE,mCAAmC;MACnD,UAAU,EAAE,gCAAgC;MAC5C,aAAa,EAAE;IACjB,CAAC;IACD,EAAE,EAAE;MACF,QAAQ,EAAE,OAAO;MACjB,OAAO,EAAE,CAAC;QAAE;MAAM,CAAC,KAAK,aAAa,KAAK,IAAI,KAAK,KAAK,CAAC,GAAG,KAAK,GAAG,OAAO,EAAE;MAC7E,IAAI,EAAE,oBAAoB;MAC1B,MAAM,EAAE,YAAY;MACpB,OAAO,EAAE,aAAa;MACtB,MAAM,EAAE,cAAc;MACtB,OAAO,EAAE,cAAc;MACvB,KAAK,EAAE,6CAA6C;MACpD,UAAU,EAAE,0BAA0B;MACtC,KAAK,EAAE,kBAAkB;MACzB,MAAM,EAAE,iBAAiB;MACzB,OAAO,EAAE,oEAAoE;MAC7E,YAAY,EAAE,mCAAmC;MACjD,WAAW,EAAE,eAAe;MAC5B,WAAW,EAAE,qCAAqC;MAClD,cAAc,EAAE,iCAAiC;MACjD,UAAU,EAAE,8BAA8B;MAC1C,aAAa,EAAE;IACjB;EACF;AACF,CAAC,CAAC;AACF,OAAO,MAAM,kBAAkB,GAAG,MAAM;EACtC,MAAM,MAAM,GAAG,SAAS,CAAC,CAAC;EAC1B,OAAO,MAAM,eAAe,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACpD,CAAC;AACD,OAAO,MAAM,oBAAoB,GAAG,MAAM,eAAe,CAAC,KAAK,CAAC,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["content/map-view-types.ts"],"sourcesContent":["import type { StyleSpecification } from \"maplibre-gl\";\nimport type { JSX } from \"solid-js\";\n\nexport type MapViewPoint = { lat: number; lon: number };\nexport type MapViewTone = \"accent\" | \"second\" | \"neutral\" | \"warning\";\nexport type MapViewMarker = {\n id: string;\n point: MapViewPoint;\n /** A number, a single letter, or \"+\". Omit for a drop pin. */\n mark?: number | string;\n label: string;\n tone?: MapViewTone;\n selected?: boolean;\n};\nexport type MapViewLineTone = \"accent\" | \"muted\" | \"preview\" | \"previous\";\nexport type MapViewLine = { id: string; tone?: MapViewLineTone } & ({ polyline6: string } | { points: MapViewPoint[] });\nexport type MapViewArea = { id: string; polygon: MapViewPoint[]; tone?: MapViewTone };\nexport type MapViewOwnLocation = { point: MapViewPoint; accuracyMeters?: number };\nexport type MapViewStyle = string | StyleSpecification;\nexport type MapViewStyleSource = MapViewStyle | { light: MapViewStyle; dark: MapViewStyle };\nexport type MapViewFit = \"all\" | \"markers\";\nexport type MapViewFrameProps = {\n markers?: MapViewMarker[];\n lines?: MapViewLine[];\n areas?: MapViewArea[];\n ownLocation?: MapViewOwnLocation;\n height: number;\n padding?: number;\n fit?: MapViewFit;\n selectedId?: string;\n attribution?: JSX.Element;\n class?: string;\n};\nexport type MapViewSnapshot = { data: Blob; width: number; height: number };\nexport type MapViewSnapshotOptions = { signal?: AbortSignal; timeoutMs?: number };\nexport type MapViewHandle = {\n /** Capture the current complete view; never loads, pans, refits, or retries provider resources. */\n snapshot: (options?: MapViewSnapshotOptions) => Promise<MapViewSnapshot>;\n};\nexport type MapViewProps = Omit<MapViewFrameProps, \"attribution\"> & {\n style: MapViewStyleSource;\n /** Browser-only handle; remains safely callable after disposal (rejects disposed). */\n ref?: (handle: MapViewHandle) => void;\n attribution: JSX.Element;\n onSelect?: (id: string) => void;\n infoTile?: (marker: MapViewMarker) => JSX.Element;\n notice?: JSX.Element;\n empty?: JSX.Element;\n onLocate?: () => void;\n /** Observe rendering and resource failures without receiving provider responses or URLs. */\n onStateChange?: (state: \"static\" | \"loading\" | \"ready\" | \"error\" | \"no-webgl\" | \"empty\") => void;\n};\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"names":[],"sources":["content/map-view-types.ts"],"sourcesContent":["import type { StyleSpecification } from \"maplibre-gl\";\nimport type { JSX } from \"solid-js\";\n\nexport type MapViewPoint = { lat: number; lon: number };\nexport type MapViewTone = \"accent\" | \"second\" | \"neutral\" | \"warning\";\nexport type MapViewMarker = {\n id: string;\n point: MapViewPoint;\n /** A number, a single letter, or \"+\". Omit for a drop pin. */\n mark?: number | string;\n label: string;\n tone?: MapViewTone;\n selected?: boolean;\n};\nexport type MapViewLineTone = \"accent\" | \"muted\" | \"preview\" | \"previous\";\nexport type MapViewLine = { id: string; tone?: MapViewLineTone } & ({ polyline6: string } | { points: MapViewPoint[] });\nexport type MapViewArea = { id: string; polygon: MapViewPoint[]; tone?: MapViewTone };\nexport type MapViewOwnLocation = { point: MapViewPoint; accuracyMeters?: number };\nexport type MapViewStyle = string | StyleSpecification;\nexport type MapViewStyleSource = MapViewStyle | { light: MapViewStyle; dark: MapViewStyle };\nexport type MapViewFit = \"all\" | \"markers\";\nexport type MapViewFrameProps = {\n markers?: MapViewMarker[];\n lines?: MapViewLine[];\n areas?: MapViewArea[];\n ownLocation?: MapViewOwnLocation;\n height: number;\n padding?: number;\n fit?: MapViewFit;\n selectedId?: string;\n attribution?: JSX.Element;\n class?: string;\n};\nexport type MapViewSnapshot = { data: Blob; width: number; height: number };\nexport type MapViewSnapshotOptions = { signal?: AbortSignal; timeoutMs?: number };\nexport type MapViewHandle = {\n /** Capture the current complete view; never loads, pans, refits, or retries provider resources. */\n snapshot: (options?: MapViewSnapshotOptions) => Promise<MapViewSnapshot>;\n};\nexport type MapViewProps = Omit<MapViewFrameProps, \"attribution\"> & {\n style: MapViewStyleSource;\n /** Browser-only handle; remains safely callable after disposal (rejects disposed). */\n ref?: (handle: MapViewHandle) => void;\n attribution: JSX.Element;\n /**\n * A calm picture: the map image loads, but there are no controls, gestures, pin selection, or info tile, and pins\n * are labelled images. MapTile uses it; its own button opens the full map.\n */\n still?: boolean;\n onSelect?: (id: string) => void;\n infoTile?: (marker: MapViewMarker) => JSX.Element;\n notice?: JSX.Element;\n empty?: JSX.Element;\n onLocate?: () => void;\n /** Observe rendering and resource failures without receiving provider responses or URLs. */\n onStateChange?: (state: \"static\" | \"loading\" | \"ready\" | \"error\" | \"no-webgl\" | \"empty\") => void;\n};\n"],"mappings":"","ignoreList":[]}