@corensystem/coren-ui 1.0.0-next.20260924.75108.887a9c2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/intent.js +20 -0
- package/dist/accordion.d.mts +11 -0
- package/dist/accordion.d.mts.map +1 -0
- package/dist/accordion.mjs +42 -0
- package/dist/accordion.mjs.map +1 -0
- package/dist/activity-log.d.mts +29 -0
- package/dist/activity-log.d.mts.map +1 -0
- package/dist/activity-log.mjs +60 -0
- package/dist/activity-log.mjs.map +1 -0
- package/dist/activity-sheet.d.mts +18 -0
- package/dist/activity-sheet.d.mts.map +1 -0
- package/dist/activity-sheet.mjs +167 -0
- package/dist/activity-sheet.mjs.map +1 -0
- package/dist/add-clinic-location-dialog.d.mts +21 -0
- package/dist/add-clinic-location-dialog.d.mts.map +1 -0
- package/dist/add-clinic-location-dialog.mjs +96 -0
- package/dist/add-clinic-location-dialog.mjs.map +1 -0
- package/dist/add-clinic-visit-dialog.d.mts +51 -0
- package/dist/add-clinic-visit-dialog.d.mts.map +1 -0
- package/dist/add-clinic-visit-dialog.mjs +307 -0
- package/dist/add-clinic-visit-dialog.mjs.map +1 -0
- package/dist/add-observation-dialog.d.mts +36 -0
- package/dist/add-observation-dialog.d.mts.map +1 -0
- package/dist/add-observation-dialog.mjs +269 -0
- package/dist/add-observation-dialog.mjs.map +1 -0
- package/dist/alert-dialog.d.mts +24 -0
- package/dist/alert-dialog.d.mts.map +1 -0
- package/dist/alert-dialog.mjs +62 -0
- package/dist/alert-dialog.mjs.map +1 -0
- package/dist/alert.d.mts +12 -0
- package/dist/alert.d.mts.map +1 -0
- package/dist/alert.mjs +36 -0
- package/dist/alert.mjs.map +1 -0
- package/dist/app-card.d.mts +21 -0
- package/dist/app-card.d.mts.map +1 -0
- package/dist/app-card.mjs +49 -0
- package/dist/app-card.mjs.map +1 -0
- package/dist/app-shell.d.mts +39 -0
- package/dist/app-shell.d.mts.map +1 -0
- package/dist/app-shell.mjs +79 -0
- package/dist/app-shell.mjs.map +1 -0
- package/dist/aspect-ratio.d.mts +8 -0
- package/dist/aspect-ratio.d.mts.map +1 -0
- package/dist/aspect-ratio.mjs +14 -0
- package/dist/aspect-ratio.mjs.map +1 -0
- package/dist/asset-list-item.d.mts +36 -0
- package/dist/asset-list-item.d.mts.map +1 -0
- package/dist/asset-list-item.mjs +51 -0
- package/dist/asset-list-item.mjs.map +1 -0
- package/dist/assign-doctor-dialog.d.mts +28 -0
- package/dist/assign-doctor-dialog.d.mts.map +1 -0
- package/dist/assign-doctor-dialog.mjs +194 -0
- package/dist/assign-doctor-dialog.mjs.map +1 -0
- package/dist/attention-list.d.mts +29 -0
- package/dist/attention-list.d.mts.map +1 -0
- package/dist/attention-list.mjs +82 -0
- package/dist/attention-list.mjs.map +1 -0
- package/dist/avatar-status-dot.d.mts +22 -0
- package/dist/avatar-status-dot.d.mts.map +1 -0
- package/dist/avatar-status-dot.mjs +72 -0
- package/dist/avatar-status-dot.mjs.map +1 -0
- package/dist/avatar.d.mts +34 -0
- package/dist/avatar.d.mts.map +1 -0
- package/dist/avatar.mjs +103 -0
- package/dist/avatar.mjs.map +1 -0
- package/dist/badge.d.mts +18 -0
- package/dist/badge.d.mts.map +1 -0
- package/dist/badge.mjs +39 -0
- package/dist/badge.mjs.map +1 -0
- package/dist/banner.d.mts +18 -0
- package/dist/banner.d.mts.map +1 -0
- package/dist/banner.mjs +74 -0
- package/dist/banner.mjs.map +1 -0
- package/dist/blockquote.d.mts +13 -0
- package/dist/blockquote.d.mts.map +1 -0
- package/dist/blockquote.mjs +22 -0
- package/dist/blockquote.mjs.map +1 -0
- package/dist/blueprint-segment.d.mts +33 -0
- package/dist/blueprint-segment.d.mts.map +1 -0
- package/dist/blueprint-segment.mjs +59 -0
- package/dist/blueprint-segment.mjs.map +1 -0
- package/dist/bottom-sheet-switcher.d.mts +32 -0
- package/dist/bottom-sheet-switcher.d.mts.map +1 -0
- package/dist/bottom-sheet-switcher.mjs +40 -0
- package/dist/bottom-sheet-switcher.mjs.map +1 -0
- package/dist/bottom-sheet.d.mts +23 -0
- package/dist/bottom-sheet.d.mts.map +1 -0
- package/dist/bottom-sheet.mjs +91 -0
- package/dist/bottom-sheet.mjs.map +1 -0
- package/dist/breadcrumb.d.mts +39 -0
- package/dist/breadcrumb.d.mts.map +1 -0
- package/dist/breadcrumb.mjs +95 -0
- package/dist/breadcrumb.mjs.map +1 -0
- package/dist/breadcrumbs.d.mts +2 -0
- package/dist/breadcrumbs.mjs +2 -0
- package/dist/browser-tabs.d.mts +40 -0
- package/dist/browser-tabs.d.mts.map +1 -0
- package/dist/browser-tabs.mjs +127 -0
- package/dist/browser-tabs.mjs.map +1 -0
- package/dist/building-model-placeholder.d.mts +46 -0
- package/dist/building-model-placeholder.d.mts.map +1 -0
- package/dist/building-model-placeholder.mjs +175 -0
- package/dist/building-model-placeholder.mjs.map +1 -0
- package/dist/building-progress.d.mts +32 -0
- package/dist/building-progress.d.mts.map +1 -0
- package/dist/building-progress.mjs +74 -0
- package/dist/building-progress.mjs.map +1 -0
- package/dist/building-viewer.d.mts +91 -0
- package/dist/building-viewer.d.mts.map +1 -0
- package/dist/building-viewer.mjs +567 -0
- package/dist/building-viewer.mjs.map +1 -0
- package/dist/button-group.d.mts +8 -0
- package/dist/button-group.d.mts.map +1 -0
- package/dist/button-group.mjs +21 -0
- package/dist/button-group.mjs.map +1 -0
- package/dist/button.d.mts +21 -0
- package/dist/button.d.mts.map +1 -0
- package/dist/button.mjs +79 -0
- package/dist/button.mjs.map +1 -0
- package/dist/calendar-view.d.mts +47 -0
- package/dist/calendar-view.d.mts.map +1 -0
- package/dist/calendar-view.mjs +165 -0
- package/dist/calendar-view.mjs.map +1 -0
- package/dist/calendar.d.mts +15 -0
- package/dist/calendar.d.mts.map +1 -0
- package/dist/calendar.mjs +94 -0
- package/dist/calendar.mjs.map +1 -0
- package/dist/camera-detail-panel.d.mts +44 -0
- package/dist/camera-detail-panel.d.mts.map +1 -0
- package/dist/camera-detail-panel.mjs +105 -0
- package/dist/camera-detail-panel.mjs.map +1 -0
- package/dist/canvas-file-picker.d.mts +28 -0
- package/dist/canvas-file-picker.d.mts.map +1 -0
- package/dist/canvas-file-picker.mjs +90 -0
- package/dist/canvas-file-picker.mjs.map +1 -0
- package/dist/canvas-header.d.mts +28 -0
- package/dist/canvas-header.d.mts.map +1 -0
- package/dist/canvas-header.mjs +42 -0
- package/dist/canvas-header.mjs.map +1 -0
- package/dist/canvas-navigator.d.mts +87 -0
- package/dist/canvas-navigator.d.mts.map +1 -0
- package/dist/canvas-navigator.mjs +426 -0
- package/dist/canvas-navigator.mjs.map +1 -0
- package/dist/canvas-toolbar.d.mts +37 -0
- package/dist/canvas-toolbar.d.mts.map +1 -0
- package/dist/canvas-toolbar.mjs +65 -0
- package/dist/canvas-toolbar.mjs.map +1 -0
- package/dist/capture-route-minimap.d.mts +40 -0
- package/dist/capture-route-minimap.d.mts.map +1 -0
- package/dist/capture-route-minimap.mjs +438 -0
- package/dist/capture-route-minimap.mjs.map +1 -0
- package/dist/card.d.mts +17 -0
- package/dist/card.d.mts.map +1 -0
- package/dist/card.mjs +63 -0
- package/dist/card.mjs.map +1 -0
- package/dist/carousel.d.mts +23 -0
- package/dist/carousel.d.mts.map +1 -0
- package/dist/carousel.mjs +141 -0
- package/dist/carousel.mjs.map +1 -0
- package/dist/catalogue-view-toggle.d.mts +53 -0
- package/dist/catalogue-view-toggle.d.mts.map +1 -0
- package/dist/catalogue-view-toggle.mjs +54 -0
- package/dist/catalogue-view-toggle.mjs.map +1 -0
- package/dist/chart.d.mts +91 -0
- package/dist/chart.d.mts.map +1 -0
- package/dist/chart.mjs +254 -0
- package/dist/chart.mjs.map +1 -0
- package/dist/chat/core-ai-chat-header.d.mts +95 -0
- package/dist/chat/core-ai-chat-header.d.mts.map +1 -0
- package/dist/chat/core-ai-chat-header.mjs +237 -0
- package/dist/chat/core-ai-chat-header.mjs.map +1 -0
- package/dist/chat/core-ai-chat-message.d.mts +18 -0
- package/dist/chat/core-ai-chat-message.d.mts.map +1 -0
- package/dist/chat/core-ai-chat-message.mjs +82 -0
- package/dist/chat/core-ai-chat-message.mjs.map +1 -0
- package/dist/chat/core-ai-chat.d.mts +116 -0
- package/dist/chat/core-ai-chat.d.mts.map +1 -0
- package/dist/chat/core-ai-chat.mjs +325 -0
- package/dist/chat/core-ai-chat.mjs.map +1 -0
- package/dist/chat/core-chart-renderer.d.mts +10 -0
- package/dist/chat/core-chart-renderer.d.mts.map +1 -0
- package/dist/chat/core-chart-renderer.mjs +177 -0
- package/dist/chat/core-chart-renderer.mjs.map +1 -0
- package/dist/chat/core-chat-input.d.mts +9 -0
- package/dist/chat/core-chat-input.d.mts.map +1 -0
- package/dist/chat/core-chat-input.mjs +66 -0
- package/dist/chat/core-chat-input.mjs.map +1 -0
- package/dist/chat/core-chat-message.d.mts +11 -0
- package/dist/chat/core-chat-message.d.mts.map +1 -0
- package/dist/chat/core-chat-message.mjs +101 -0
- package/dist/chat/core-chat-message.mjs.map +1 -0
- package/dist/chat/core-chat-panel.d.mts +16 -0
- package/dist/chat/core-chat-panel.d.mts.map +1 -0
- package/dist/chat/core-chat-panel.mjs +139 -0
- package/dist/chat/core-chat-panel.mjs.map +1 -0
- package/dist/chat/core-chat-widget.d.mts +12 -0
- package/dist/chat/core-chat-widget.d.mts.map +1 -0
- package/dist/chat/core-chat-widget.mjs +116 -0
- package/dist/chat/core-chat-widget.mjs.map +1 -0
- package/dist/chat-layout.d.mts +38 -0
- package/dist/chat-layout.d.mts.map +1 -0
- package/dist/chat-layout.mjs +94 -0
- package/dist/chat-layout.mjs.map +1 -0
- package/dist/chat-message.d.mts +40 -0
- package/dist/chat-message.d.mts.map +1 -0
- package/dist/chat-message.mjs +84 -0
- package/dist/chat-message.mjs.map +1 -0
- package/dist/checkbox.d.mts +8 -0
- package/dist/checkbox.d.mts.map +1 -0
- package/dist/checkbox.mjs +22 -0
- package/dist/checkbox.mjs.map +1 -0
- package/dist/chip.d.mts +54 -0
- package/dist/chip.d.mts.map +1 -0
- package/dist/chip.mjs +142 -0
- package/dist/chip.mjs.map +1 -0
- package/dist/citation.d.mts +22 -0
- package/dist/citation.d.mts.map +1 -0
- package/dist/citation.mjs +70 -0
- package/dist/citation.mjs.map +1 -0
- package/dist/clickable-card.d.mts +28 -0
- package/dist/clickable-card.d.mts.map +1 -0
- package/dist/clickable-card.mjs +87 -0
- package/dist/clickable-card.mjs.map +1 -0
- package/dist/code.d.mts +21 -0
- package/dist/code.d.mts.map +1 -0
- package/dist/code.mjs +48 -0
- package/dist/code.mjs.map +1 -0
- package/dist/collapsible.d.mts +10 -0
- package/dist/collapsible.d.mts.map +1 -0
- package/dist/collapsible.mjs +16 -0
- package/dist/collapsible.mjs.map +1 -0
- package/dist/combobox.d.mts +116 -0
- package/dist/combobox.d.mts.map +1 -0
- package/dist/combobox.mjs +149 -0
- package/dist/combobox.mjs.map +1 -0
- package/dist/command-palette.d.mts +43 -0
- package/dist/command-palette.d.mts.map +1 -0
- package/dist/command-palette.mjs +70 -0
- package/dist/command-palette.mjs.map +1 -0
- package/dist/command.d.mts +91 -0
- package/dist/command.d.mts.map +1 -0
- package/dist/command.mjs +82 -0
- package/dist/command.mjs.map +1 -0
- package/dist/comment-composer.d.mts +29 -0
- package/dist/comment-composer.d.mts.map +1 -0
- package/dist/comment-composer.mjs +253 -0
- package/dist/comment-composer.mjs.map +1 -0
- package/dist/comment-thread.d.mts +66 -0
- package/dist/comment-thread.d.mts.map +1 -0
- package/dist/comment-thread.mjs +180 -0
- package/dist/comment-thread.mjs.map +1 -0
- package/dist/compare-bars.d.mts +29 -0
- package/dist/compare-bars.d.mts.map +1 -0
- package/dist/compare-bars.mjs +118 -0
- package/dist/compare-bars.mjs.map +1 -0
- package/dist/compare-view.d.mts +75 -0
- package/dist/compare-view.d.mts.map +1 -0
- package/dist/compare-view.mjs +383 -0
- package/dist/compare-view.mjs.map +1 -0
- package/dist/confirm-dialog.d.mts +37 -0
- package/dist/confirm-dialog.d.mts.map +1 -0
- package/dist/confirm-dialog.mjs +40 -0
- package/dist/confirm-dialog.mjs.map +1 -0
- package/dist/context-menu.d.mts +31 -0
- package/dist/context-menu.d.mts.map +1 -0
- package/dist/context-menu.mjs +84 -0
- package/dist/context-menu.mjs.map +1 -0
- package/dist/context-toolbar.d.mts +22 -0
- package/dist/context-toolbar.d.mts.map +1 -0
- package/dist/context-toolbar.mjs +81 -0
- package/dist/context-toolbar.mjs.map +1 -0
- package/dist/copy-button.d.mts +15 -0
- package/dist/copy-button.d.mts.map +1 -0
- package/dist/copy-button.mjs +33 -0
- package/dist/copy-button.mjs.map +1 -0
- package/dist/core-mark.d.mts +25 -0
- package/dist/core-mark.d.mts.map +1 -0
- package/dist/core-mark.mjs +74 -0
- package/dist/core-mark.mjs.map +1 -0
- package/dist/data/mock-data.d.mts +9 -0
- package/dist/data/mock-data.d.mts.map +1 -0
- package/dist/data/mock-data.mjs +159 -0
- package/dist/data/mock-data.mjs.map +1 -0
- package/dist/data/rnglf-zones.d.mts +17 -0
- package/dist/data/rnglf-zones.d.mts.map +1 -0
- package/dist/data/rnglf-zones.mjs +1400 -0
- package/dist/data/rnglf-zones.mjs.map +1 -0
- package/dist/data-table.d.mts +202 -0
- package/dist/data-table.d.mts.map +1 -0
- package/dist/data-table.mjs +520 -0
- package/dist/data-table.mjs.map +1 -0
- package/dist/date-picker.d.mts +111 -0
- package/dist/date-picker.d.mts.map +1 -0
- package/dist/date-picker.mjs +546 -0
- package/dist/date-picker.mjs.map +1 -0
- package/dist/date-range-input.d.mts +26 -0
- package/dist/date-range-input.d.mts.map +1 -0
- package/dist/date-range-input.mjs +60 -0
- package/dist/date-range-input.mjs.map +1 -0
- package/dist/date-time-input.d.mts +27 -0
- package/dist/date-time-input.d.mts.map +1 -0
- package/dist/date-time-input.mjs +110 -0
- package/dist/date-time-input.mjs.map +1 -0
- package/dist/detail-panel-shell.d.mts +37 -0
- package/dist/detail-panel-shell.d.mts.map +1 -0
- package/dist/detail-panel-shell.mjs +86 -0
- package/dist/detail-panel-shell.mjs.map +1 -0
- package/dist/dialog.d.mts +105 -0
- package/dist/dialog.d.mts.map +1 -0
- package/dist/dialog.mjs +137 -0
- package/dist/dialog.mjs.map +1 -0
- package/dist/divider.d.mts +8 -0
- package/dist/divider.d.mts.map +1 -0
- package/dist/divider.mjs +18 -0
- package/dist/divider.mjs.map +1 -0
- package/dist/drawer.d.mts +26 -0
- package/dist/drawer.d.mts.map +1 -0
- package/dist/drawer.mjs +53 -0
- package/dist/drawer.mjs.map +1 -0
- package/dist/drawing-actions.d.mts +29 -0
- package/dist/drawing-actions.d.mts.map +1 -0
- package/dist/drawing-actions.mjs +124 -0
- package/dist/drawing-actions.mjs.map +1 -0
- package/dist/dropdown-menu.d.mts +31 -0
- package/dist/dropdown-menu.d.mts.map +1 -0
- package/dist/dropdown-menu.mjs +84 -0
- package/dist/dropdown-menu.mjs.map +1 -0
- package/dist/empty.d.mts +34 -0
- package/dist/empty.d.mts.map +1 -0
- package/dist/empty.mjs +119 -0
- package/dist/empty.mjs.map +1 -0
- package/dist/error-page.d.mts +20 -0
- package/dist/error-page.d.mts.map +1 -0
- package/dist/error-page.mjs +96 -0
- package/dist/error-page.mjs.map +1 -0
- package/dist/export-dialog.d.mts +58 -0
- package/dist/export-dialog.d.mts.map +1 -0
- package/dist/export-dialog.mjs +248 -0
- package/dist/export-dialog.mjs.map +1 -0
- package/dist/field.d.mts +11 -0
- package/dist/field.d.mts.map +1 -0
- package/dist/field.mjs +34 -0
- package/dist/field.mjs.map +1 -0
- package/dist/file-input.d.mts +17 -0
- package/dist/file-input.d.mts.map +1 -0
- package/dist/file-input.mjs +114 -0
- package/dist/file-input.mjs.map +1 -0
- package/dist/file-system/context.d.mts +28 -0
- package/dist/file-system/context.d.mts.map +1 -0
- package/dist/file-system/context.mjs +42 -0
- package/dist/file-system/context.mjs.map +1 -0
- package/dist/file-system/file-system-details.d.mts +12 -0
- package/dist/file-system/file-system-details.d.mts.map +1 -0
- package/dist/file-system/file-system-details.mjs +166 -0
- package/dist/file-system/file-system-details.mjs.map +1 -0
- package/dist/file-system/file-system-filters.d.mts +16 -0
- package/dist/file-system/file-system-filters.d.mts.map +1 -0
- package/dist/file-system/file-system-filters.mjs +205 -0
- package/dist/file-system/file-system-filters.mjs.map +1 -0
- package/dist/file-system/file-system-new.d.mts +16 -0
- package/dist/file-system/file-system-new.d.mts.map +1 -0
- package/dist/file-system/file-system-new.mjs +204 -0
- package/dist/file-system/file-system-new.mjs.map +1 -0
- package/dist/file-system/file-system-path.d.mts +7 -0
- package/dist/file-system/file-system-path.d.mts.map +1 -0
- package/dist/file-system/file-system-path.mjs +22 -0
- package/dist/file-system/file-system-path.mjs.map +1 -0
- package/dist/file-system/file-system-project.d.mts +16 -0
- package/dist/file-system/file-system-project.d.mts.map +1 -0
- package/dist/file-system/file-system-project.mjs +253 -0
- package/dist/file-system/file-system-project.mjs.map +1 -0
- package/dist/file-system/file-system-table.d.mts +17 -0
- package/dist/file-system/file-system-table.d.mts.map +1 -0
- package/dist/file-system/file-system-table.mjs +95 -0
- package/dist/file-system/file-system-table.mjs.map +1 -0
- package/dist/file-system/file-system.d.mts +35 -0
- package/dist/file-system/file-system.d.mts.map +1 -0
- package/dist/file-system/file-system.mjs +179 -0
- package/dist/file-system/file-system.mjs.map +1 -0
- package/dist/file-system/index.d.mts +9 -0
- package/dist/file-system/index.mjs +9 -0
- package/dist/file-system/model.d.mts +156 -0
- package/dist/file-system/model.d.mts.map +1 -0
- package/dist/file-system/model.mjs +200 -0
- package/dist/file-system/model.mjs.map +1 -0
- package/dist/filter.d.mts +92 -0
- package/dist/filter.d.mts.map +1 -0
- package/dist/filter.mjs +267 -0
- package/dist/filter.mjs.map +1 -0
- package/dist/float-shadow.d.mts +10 -0
- package/dist/float-shadow.d.mts.map +1 -0
- package/dist/float-shadow.mjs +11 -0
- package/dist/float-shadow.mjs.map +1 -0
- package/dist/floating-assistant.d.mts +75 -0
- package/dist/floating-assistant.d.mts.map +1 -0
- package/dist/floating-assistant.mjs +114 -0
- package/dist/floating-assistant.mjs.map +1 -0
- package/dist/floor-progress-bar.d.mts +17 -0
- package/dist/floor-progress-bar.d.mts.map +1 -0
- package/dist/floor-progress-bar.mjs +38 -0
- package/dist/floor-progress-bar.mjs.map +1 -0
- package/dist/fonts/LICENSE.md +41 -0
- package/dist/fonts/figtree-italic-300-900-latin-ext.woff2 +0 -0
- package/dist/fonts/figtree-italic-300-900-latin.woff2 +0 -0
- package/dist/fonts/figtree-normal-300-900-latin-ext.woff2 +0 -0
- package/dist/fonts/figtree-normal-300-900-latin.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-italic-400-latin-ext.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-italic-400-latin.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-normal-400-latin-ext.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-normal-400-latin.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-normal-500-latin-ext.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-normal-500-latin.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-normal-600-latin-ext.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-normal-600-latin.woff2 +0 -0
- package/dist/fonts/lora-italic-400-700-latin-ext.woff2 +0 -0
- package/dist/fonts/lora-italic-400-700-latin.woff2 +0 -0
- package/dist/fonts/lora-normal-400-700-latin-ext.woff2 +0 -0
- package/dist/fonts/lora-normal-400-700-latin.woff2 +0 -0
- package/dist/footprint-viewer.d.mts +88 -0
- package/dist/footprint-viewer.d.mts.map +1 -0
- package/dist/footprint-viewer.mjs +657 -0
- package/dist/footprint-viewer.mjs.map +1 -0
- package/dist/form-action-bar.d.mts +32 -0
- package/dist/form-action-bar.d.mts.map +1 -0
- package/dist/form-action-bar.mjs +42 -0
- package/dist/form-action-bar.mjs.map +1 -0
- package/dist/form-dialog.d.mts +116 -0
- package/dist/form-dialog.d.mts.map +1 -0
- package/dist/form-dialog.mjs +149 -0
- package/dist/form-dialog.mjs.map +1 -0
- package/dist/form-layout.d.mts +33 -0
- package/dist/form-layout.d.mts.map +1 -0
- package/dist/form-layout.mjs +90 -0
- package/dist/form-layout.mjs.map +1 -0
- package/dist/form.d.mts +29 -0
- package/dist/form.d.mts.map +1 -0
- package/dist/form.mjs +93 -0
- package/dist/form.mjs.map +1 -0
- package/dist/fragment-viewer/cinematic.d.mts +76 -0
- package/dist/fragment-viewer/cinematic.d.mts.map +1 -0
- package/dist/fragment-viewer/cinematic.mjs +382 -0
- package/dist/fragment-viewer/cinematic.mjs.map +1 -0
- package/dist/fragment-viewer/context.d.mts +106 -0
- package/dist/fragment-viewer/context.d.mts.map +1 -0
- package/dist/fragment-viewer/context.mjs +168 -0
- package/dist/fragment-viewer/context.mjs.map +1 -0
- package/dist/fragment-viewer/runtime.d.mts +288 -0
- package/dist/fragment-viewer/runtime.d.mts.map +1 -0
- package/dist/fragment-viewer/runtime.mjs +782 -0
- package/dist/fragment-viewer/runtime.mjs.map +1 -0
- package/dist/fragment-viewer.d.mts +62 -0
- package/dist/fragment-viewer.d.mts.map +1 -0
- package/dist/fragment-viewer.mjs +144 -0
- package/dist/fragment-viewer.mjs.map +1 -0
- package/dist/gantt.d.mts +72 -0
- package/dist/gantt.d.mts.map +1 -0
- package/dist/gantt.mjs +281 -0
- package/dist/gantt.mjs.map +1 -0
- package/dist/graph-canvas.d.mts +60 -0
- package/dist/graph-canvas.d.mts.map +1 -0
- package/dist/graph-canvas.mjs +105 -0
- package/dist/graph-canvas.mjs.map +1 -0
- package/dist/grid.d.mts +16 -0
- package/dist/grid.d.mts.map +1 -0
- package/dist/grid.mjs +47 -0
- package/dist/grid.mjs.map +1 -0
- package/dist/heading.d.mts +16 -0
- package/dist/heading.d.mts.map +1 -0
- package/dist/heading.mjs +43 -0
- package/dist/heading.mjs.map +1 -0
- package/dist/house-shape.d.mts +22 -0
- package/dist/house-shape.d.mts.map +1 -0
- package/dist/house-shape.mjs +103 -0
- package/dist/house-shape.mjs.map +1 -0
- package/dist/hover-card.d.mts +10 -0
- package/dist/hover-card.d.mts.map +1 -0
- package/dist/hover-card.mjs +22 -0
- package/dist/hover-card.mjs.map +1 -0
- package/dist/icon-button.d.mts +20 -0
- package/dist/icon-button.d.mts.map +1 -0
- package/dist/icon-button.mjs +52 -0
- package/dist/icon-button.mjs.map +1 -0
- package/dist/icon.d.mts +16 -0
- package/dist/icon.d.mts.map +1 -0
- package/dist/icon.mjs +32 -0
- package/dist/icon.mjs.map +1 -0
- package/dist/image-zoom.d.mts +23 -0
- package/dist/image-zoom.d.mts.map +1 -0
- package/dist/image-zoom.mjs +51 -0
- package/dist/image-zoom.mjs.map +1 -0
- package/dist/index.d.mts +3 -0
- package/dist/index.mjs +2 -0
- package/dist/inline-comment-composer.d.mts +40 -0
- package/dist/inline-comment-composer.d.mts.map +1 -0
- package/dist/inline-comment-composer.mjs +174 -0
- package/dist/inline-comment-composer.mjs.map +1 -0
- package/dist/input-group.d.mts +8 -0
- package/dist/input-group.d.mts.map +1 -0
- package/dist/input-group.mjs +21 -0
- package/dist/input-group.mjs.map +1 -0
- package/dist/input-otp.d.mts +40 -0
- package/dist/input-otp.d.mts.map +1 -0
- package/dist/input-otp.mjs +44 -0
- package/dist/input-otp.mjs.map +1 -0
- package/dist/input.d.mts +7 -0
- package/dist/input.d.mts.map +1 -0
- package/dist/input.mjs +18 -0
- package/dist/input.mjs.map +1 -0
- package/dist/item.d.mts +10 -0
- package/dist/item.d.mts.map +1 -0
- package/dist/item.mjs +33 -0
- package/dist/item.mjs.map +1 -0
- package/dist/kbd.d.mts +8 -0
- package/dist/kbd.d.mts.map +1 -0
- package/dist/kbd.mjs +15 -0
- package/dist/kbd.mjs.map +1 -0
- package/dist/kiosk-body.d.mts +13 -0
- package/dist/kiosk-body.d.mts.map +1 -0
- package/dist/kiosk-body.mjs +352 -0
- package/dist/kiosk-body.mjs.map +1 -0
- package/dist/kpi-bar.d.mts +29 -0
- package/dist/kpi-bar.d.mts.map +1 -0
- package/dist/kpi-bar.mjs +46 -0
- package/dist/kpi-bar.mjs.map +1 -0
- package/dist/kpi-summary.d.mts +24 -0
- package/dist/kpi-summary.d.mts.map +1 -0
- package/dist/kpi-summary.mjs +22 -0
- package/dist/kpi-summary.mjs.map +1 -0
- package/dist/label.d.mts +19 -0
- package/dist/label.d.mts.map +1 -0
- package/dist/label.mjs +27 -0
- package/dist/label.mjs.map +1 -0
- package/dist/legend.d.mts +87 -0
- package/dist/legend.d.mts.map +1 -0
- package/dist/legend.mjs +210 -0
- package/dist/legend.mjs.map +1 -0
- package/dist/lightbox.d.mts +28 -0
- package/dist/lightbox.d.mts.map +1 -0
- package/dist/lightbox.mjs +142 -0
- package/dist/lightbox.mjs.map +1 -0
- package/dist/link-type-detail.d.mts +73 -0
- package/dist/link-type-detail.d.mts.map +1 -0
- package/dist/link-type-detail.mjs +628 -0
- package/dist/link-type-detail.mjs.map +1 -0
- package/dist/link-type-wizard.d.mts +35 -0
- package/dist/link-type-wizard.d.mts.map +1 -0
- package/dist/link-type-wizard.mjs +303 -0
- package/dist/link-type-wizard.mjs.map +1 -0
- package/dist/link.d.mts +14 -0
- package/dist/link.d.mts.map +1 -0
- package/dist/link.mjs +30 -0
- package/dist/link.mjs.map +1 -0
- package/dist/list.d.mts +19 -0
- package/dist/list.d.mts.map +1 -0
- package/dist/list.mjs +27 -0
- package/dist/list.mjs.map +1 -0
- package/dist/map-compare-layout.d.mts +53 -0
- package/dist/map-compare-layout.d.mts.map +1 -0
- package/dist/map-compare-layout.mjs +164 -0
- package/dist/map-compare-layout.mjs.map +1 -0
- package/dist/map-compass.d.mts +22 -0
- package/dist/map-compass.d.mts.map +1 -0
- package/dist/map-compass.mjs +56 -0
- package/dist/map-compass.mjs.map +1 -0
- package/dist/map-control-panel.d.mts +92 -0
- package/dist/map-control-panel.d.mts.map +1 -0
- package/dist/map-control-panel.mjs +153 -0
- package/dist/map-control-panel.mjs.map +1 -0
- package/dist/map-controls.d.mts +24 -0
- package/dist/map-controls.d.mts.map +1 -0
- package/dist/map-controls.mjs +322 -0
- package/dist/map-controls.mjs.map +1 -0
- package/dist/map-hover-card.d.mts +28 -0
- package/dist/map-hover-card.d.mts.map +1 -0
- package/dist/map-hover-card.mjs +56 -0
- package/dist/map-hover-card.mjs.map +1 -0
- package/dist/map-legend.d.mts +41 -0
- package/dist/map-legend.d.mts.map +1 -0
- package/dist/map-legend.mjs +97 -0
- package/dist/map-legend.mjs.map +1 -0
- package/dist/map-minimap.d.mts +44 -0
- package/dist/map-minimap.d.mts.map +1 -0
- package/dist/map-minimap.mjs +108 -0
- package/dist/map-minimap.mjs.map +1 -0
- package/dist/map-toolbar.d.mts +60 -0
- package/dist/map-toolbar.d.mts.map +1 -0
- package/dist/map-toolbar.mjs +195 -0
- package/dist/map-toolbar.mjs.map +1 -0
- package/dist/map-transition.d.mts +51 -0
- package/dist/map-transition.d.mts.map +1 -0
- package/dist/map-transition.mjs +59 -0
- package/dist/map-transition.mjs.map +1 -0
- package/dist/map.d.mts +14 -0
- package/dist/map.d.mts.map +1 -0
- package/dist/map.mjs +47 -0
- package/dist/map.mjs.map +1 -0
- package/dist/mapbox-token.d.mts +12 -0
- package/dist/mapbox-token.d.mts.map +1 -0
- package/dist/mapbox-token.mjs +15 -0
- package/dist/mapbox-token.mjs.map +1 -0
- package/dist/markdown.d.mts +18 -0
- package/dist/markdown.d.mts.map +1 -0
- package/dist/markdown.mjs +41 -0
- package/dist/markdown.mjs.map +1 -0
- package/dist/mega-menu.d.mts +36 -0
- package/dist/mega-menu.d.mts.map +1 -0
- package/dist/mega-menu.mjs +89 -0
- package/dist/mega-menu.mjs.map +1 -0
- package/dist/menubar.d.mts +32 -0
- package/dist/menubar.d.mts.map +1 -0
- package/dist/menubar.mjs +96 -0
- package/dist/menubar.mjs.map +1 -0
- package/dist/metadata-list.d.mts +2 -0
- package/dist/metadata-list.mjs +2 -0
- package/dist/metric-card.d.mts +28 -0
- package/dist/metric-card.d.mts.map +1 -0
- package/dist/metric-card.mjs +55 -0
- package/dist/metric-card.mjs.map +1 -0
- package/dist/milestone-table.d.mts +35 -0
- package/dist/milestone-table.d.mts.map +1 -0
- package/dist/milestone-table.mjs +84 -0
- package/dist/milestone-table.mjs.map +1 -0
- package/dist/minimap.d.mts +23 -0
- package/dist/minimap.d.mts.map +1 -0
- package/dist/minimap.mjs +64 -0
- package/dist/minimap.mjs.map +1 -0
- package/dist/more-menu.d.mts +27 -0
- package/dist/more-menu.d.mts.map +1 -0
- package/dist/more-menu.mjs +34 -0
- package/dist/more-menu.mjs.map +1 -0
- package/dist/multi-select.d.mts +38 -0
- package/dist/multi-select.d.mts.map +1 -0
- package/dist/multi-select.mjs +106 -0
- package/dist/multi-select.mjs.map +1 -0
- package/dist/navigation/core-app-sidebar.d.mts +461 -0
- package/dist/navigation/core-app-sidebar.d.mts.map +1 -0
- package/dist/navigation/core-app-sidebar.mjs +1288 -0
- package/dist/navigation/core-app-sidebar.mjs.map +1 -0
- package/dist/navigation/core-app-top-bar.d.mts +116 -0
- package/dist/navigation/core-app-top-bar.d.mts.map +1 -0
- package/dist/navigation/core-app-top-bar.mjs +224 -0
- package/dist/navigation/core-app-top-bar.mjs.map +1 -0
- package/dist/navigation/core-context-tabs.d.mts +12 -0
- package/dist/navigation/core-context-tabs.d.mts.map +1 -0
- package/dist/navigation/core-context-tabs.mjs +32 -0
- package/dist/navigation/core-context-tabs.mjs.map +1 -0
- package/dist/navigation/core-dashboard-header.d.mts +20 -0
- package/dist/navigation/core-dashboard-header.d.mts.map +1 -0
- package/dist/navigation/core-dashboard-header.mjs +227 -0
- package/dist/navigation/core-dashboard-header.mjs.map +1 -0
- package/dist/navigation/core-filter-strip.d.mts +12 -0
- package/dist/navigation/core-filter-strip.d.mts.map +1 -0
- package/dist/navigation/core-filter-strip.mjs +289 -0
- package/dist/navigation/core-filter-strip.mjs.map +1 -0
- package/dist/navigation/core-org-project-switcher.d.mts +12 -0
- package/dist/navigation/core-org-project-switcher.d.mts.map +1 -0
- package/dist/navigation/core-org-project-switcher.mjs +201 -0
- package/dist/navigation/core-org-project-switcher.mjs.map +1 -0
- package/dist/navigation/switcher.d.mts +38 -0
- package/dist/navigation/switcher.d.mts.map +1 -0
- package/dist/navigation/switcher.mjs +144 -0
- package/dist/navigation/switcher.mjs.map +1 -0
- package/dist/navigation-menu.d.mts +16 -0
- package/dist/navigation-menu.d.mts.map +1 -0
- package/dist/navigation-menu.mjs +64 -0
- package/dist/navigation-menu.mjs.map +1 -0
- package/dist/neighborhood-scene.d.mts +21 -0
- package/dist/neighborhood-scene.d.mts.map +1 -0
- package/dist/neighborhood-scene.mjs +285 -0
- package/dist/neighborhood-scene.mjs.map +1 -0
- package/dist/node-graph.d.mts +154 -0
- package/dist/node-graph.d.mts.map +1 -0
- package/dist/node-graph.mjs +349 -0
- package/dist/node-graph.mjs.map +1 -0
- package/dist/notification-center.d.mts +40 -0
- package/dist/notification-center.d.mts.map +1 -0
- package/dist/notification-center.mjs +224 -0
- package/dist/notification-center.mjs.map +1 -0
- package/dist/number-input.d.mts +23 -0
- package/dist/number-input.d.mts.map +1 -0
- package/dist/number-input.mjs +79 -0
- package/dist/number-input.mjs.map +1 -0
- package/dist/object-drawing-toolbar.d.mts +38 -0
- package/dist/object-drawing-toolbar.d.mts.map +1 -0
- package/dist/object-drawing-toolbar.mjs +172 -0
- package/dist/object-drawing-toolbar.mjs.map +1 -0
- package/dist/object-type-detail.d.mts +27 -0
- package/dist/object-type-detail.d.mts.map +1 -0
- package/dist/object-type-detail.mjs +1389 -0
- package/dist/object-type-detail.mjs.map +1 -0
- package/dist/object-type-wizard.d.mts +78 -0
- package/dist/object-type-wizard.d.mts.map +1 -0
- package/dist/object-type-wizard.mjs +885 -0
- package/dist/object-type-wizard.mjs.map +1 -0
- package/dist/observation-detail-panel.d.mts +89 -0
- package/dist/observation-detail-panel.d.mts.map +1 -0
- package/dist/observation-detail-panel.mjs +168 -0
- package/dist/observation-detail-panel.mjs.map +1 -0
- package/dist/observations-map.d.mts +288 -0
- package/dist/observations-map.d.mts.map +1 -0
- package/dist/observations-map.mjs +1087 -0
- package/dist/observations-map.mjs.map +1 -0
- package/dist/operations-drawer.d.mts +51 -0
- package/dist/operations-drawer.d.mts.map +1 -0
- package/dist/operations-drawer.mjs +193 -0
- package/dist/operations-drawer.mjs.map +1 -0
- package/dist/outline.d.mts +27 -0
- package/dist/outline.d.mts.map +1 -0
- package/dist/outline.mjs +47 -0
- package/dist/outline.mjs.map +1 -0
- package/dist/overflow-list.d.mts +23 -0
- package/dist/overflow-list.d.mts.map +1 -0
- package/dist/overflow-list.mjs +38 -0
- package/dist/overflow-list.mjs.map +1 -0
- package/dist/overlay.d.mts +17 -0
- package/dist/overlay.d.mts.map +1 -0
- package/dist/overlay.mjs +32 -0
- package/dist/overlay.mjs.map +1 -0
- package/dist/page-content-header.d.mts +43 -0
- package/dist/page-content-header.d.mts.map +1 -0
- package/dist/page-content-header.mjs +224 -0
- package/dist/page-content-header.mjs.map +1 -0
- package/dist/pages/almanar-blocks-data.d.mts +4 -0
- package/dist/pages/almanar-blocks-data.d.mts.map +1 -0
- package/dist/pages/almanar-blocks-data.mjs +691 -0
- package/dist/pages/almanar-blocks-data.mjs.map +1 -0
- package/dist/pages/almanar-hierarchy-data.d.mts +9 -0
- package/dist/pages/almanar-hierarchy-data.d.mts.map +1 -0
- package/dist/pages/almanar-hierarchy-data.mjs +816 -0
- package/dist/pages/almanar-hierarchy-data.mjs.map +1 -0
- package/dist/pages/almanar-villa-taxonomy.d.mts +9 -0
- package/dist/pages/almanar-villa-taxonomy.d.mts.map +1 -0
- package/dist/pages/almanar-villa-taxonomy.mjs +1569 -0
- package/dist/pages/almanar-villa-taxonomy.mjs.map +1 -0
- package/dist/pages/app-marketplace-shared.d.mts +146 -0
- package/dist/pages/app-marketplace-shared.d.mts.map +1 -0
- package/dist/pages/app-marketplace-shared.mjs +739 -0
- package/dist/pages/app-marketplace-shared.mjs.map +1 -0
- package/dist/pages/capture-ui-enhanced.d.mts +125 -0
- package/dist/pages/capture-ui-enhanced.d.mts.map +1 -0
- package/dist/pages/capture-ui-enhanced.mjs +915 -0
- package/dist/pages/capture-ui-enhanced.mjs.map +1 -0
- package/dist/pages/core-admin-panel.d.mts +10 -0
- package/dist/pages/core-admin-panel.d.mts.map +1 -0
- package/dist/pages/core-admin-panel.mjs +3076 -0
- package/dist/pages/core-admin-panel.mjs.map +1 -0
- package/dist/pages/core-analytics-overview.d.mts +10 -0
- package/dist/pages/core-analytics-overview.d.mts.map +1 -0
- package/dist/pages/core-analytics-overview.mjs +904 -0
- package/dist/pages/core-analytics-overview.mjs.map +1 -0
- package/dist/pages/core-app-installer.d.mts +17 -0
- package/dist/pages/core-app-installer.d.mts.map +1 -0
- package/dist/pages/core-app-installer.mjs +94 -0
- package/dist/pages/core-app-installer.mjs.map +1 -0
- package/dist/pages/core-blueprint-viewer-3.d.mts +25 -0
- package/dist/pages/core-blueprint-viewer-3.d.mts.map +1 -0
- package/dist/pages/core-blueprint-viewer-3.mjs +688 -0
- package/dist/pages/core-blueprint-viewer-3.mjs.map +1 -0
- package/dist/pages/core-blueprint-viewer.d.mts +14 -0
- package/dist/pages/core-blueprint-viewer.d.mts.map +1 -0
- package/dist/pages/core-blueprint-viewer.mjs +665 -0
- package/dist/pages/core-blueprint-viewer.mjs.map +1 -0
- package/dist/pages/core-building-viewer-capture.d.mts +18 -0
- package/dist/pages/core-building-viewer-capture.d.mts.map +1 -0
- package/dist/pages/core-building-viewer-capture.mjs +268 -0
- package/dist/pages/core-building-viewer-capture.mjs.map +1 -0
- package/dist/pages/core-building-viewer.d.mts +20 -0
- package/dist/pages/core-building-viewer.d.mts.map +1 -0
- package/dist/pages/core-building-viewer.mjs +299 -0
- package/dist/pages/core-building-viewer.mjs.map +1 -0
- package/dist/pages/core-clinic.d.mts +14 -0
- package/dist/pages/core-clinic.d.mts.map +1 -0
- package/dist/pages/core-clinic.mjs +2175 -0
- package/dist/pages/core-clinic.mjs.map +1 -0
- package/dist/pages/core-content-area.d.mts +15 -0
- package/dist/pages/core-content-area.d.mts.map +1 -0
- package/dist/pages/core-content-area.mjs +192 -0
- package/dist/pages/core-content-area.mjs.map +1 -0
- package/dist/pages/core-core-connect-v3.d.mts +16 -0
- package/dist/pages/core-core-connect-v3.d.mts.map +1 -0
- package/dist/pages/core-core-connect-v3.mjs +30 -0
- package/dist/pages/core-core-connect-v3.mjs.map +1 -0
- package/dist/pages/core-core-connect.d.mts +15 -0
- package/dist/pages/core-core-connect.d.mts.map +1 -0
- package/dist/pages/core-core-connect.mjs +21 -0
- package/dist/pages/core-core-connect.mjs.map +1 -0
- package/dist/pages/core-design-canvas.d.mts +10 -0
- package/dist/pages/core-design-canvas.d.mts.map +1 -0
- package/dist/pages/core-design-canvas.mjs +322 -0
- package/dist/pages/core-design-canvas.mjs.map +1 -0
- package/dist/pages/core-login-page.d.mts +8 -0
- package/dist/pages/core-login-page.d.mts.map +1 -0
- package/dist/pages/core-login-page.mjs +141 -0
- package/dist/pages/core-login-page.mjs.map +1 -0
- package/dist/pages/core-map-compare-layout.d.mts +20 -0
- package/dist/pages/core-map-compare-layout.d.mts.map +1 -0
- package/dist/pages/core-map-compare-layout.mjs +187 -0
- package/dist/pages/core-map-compare-layout.mjs.map +1 -0
- package/dist/pages/core-observations-map-view.d.mts +19 -0
- package/dist/pages/core-observations-map-view.d.mts.map +1 -0
- package/dist/pages/core-observations-map-view.mjs +1273 -0
- package/dist/pages/core-observations-map-view.mjs.map +1 -0
- package/dist/pages/core-org-ai-report.d.mts +9 -0
- package/dist/pages/core-org-ai-report.d.mts.map +1 -0
- package/dist/pages/core-org-ai-report.mjs +474 -0
- package/dist/pages/core-org-ai-report.mjs.map +1 -0
- package/dist/pages/core-org-overview.d.mts +11 -0
- package/dist/pages/core-org-overview.d.mts.map +1 -0
- package/dist/pages/core-org-overview.mjs +718 -0
- package/dist/pages/core-org-overview.mjs.map +1 -0
- package/dist/pages/core-org-performance.d.mts +11 -0
- package/dist/pages/core-org-performance.d.mts.map +1 -0
- package/dist/pages/core-org-performance.mjs +1398 -0
- package/dist/pages/core-org-performance.mjs.map +1 -0
- package/dist/pages/core-org-reality-capture.d.mts +10 -0
- package/dist/pages/core-org-reality-capture.d.mts.map +1 -0
- package/dist/pages/core-org-reality-capture.mjs +1962 -0
- package/dist/pages/core-org-reality-capture.mjs.map +1 -0
- package/dist/pages/core-org-workforce-intelligence.d.mts +12 -0
- package/dist/pages/core-org-workforce-intelligence.d.mts.map +1 -0
- package/dist/pages/core-org-workforce-intelligence.mjs +1215 -0
- package/dist/pages/core-org-workforce-intelligence.mjs.map +1 -0
- package/dist/pages/core-progress-details.d.mts +10 -0
- package/dist/pages/core-progress-details.d.mts.map +1 -0
- package/dist/pages/core-progress-details.mjs +758 -0
- package/dist/pages/core-progress-details.mjs.map +1 -0
- package/dist/pages/core-project-overview.d.mts +9 -0
- package/dist/pages/core-project-overview.d.mts.map +1 -0
- package/dist/pages/core-project-overview.mjs +246 -0
- package/dist/pages/core-project-overview.mjs.map +1 -0
- package/dist/pages/core-project-quality-issues.d.mts +9 -0
- package/dist/pages/core-project-quality-issues.d.mts.map +1 -0
- package/dist/pages/core-project-quality-issues.mjs +508 -0
- package/dist/pages/core-project-quality-issues.mjs.map +1 -0
- package/dist/pages/core-project-reality-capture.d.mts +9 -0
- package/dist/pages/core-project-reality-capture.d.mts.map +1 -0
- package/dist/pages/core-project-reality-capture.mjs +496 -0
- package/dist/pages/core-project-reality-capture.mjs.map +1 -0
- package/dist/pages/core-project-schedule-cost.d.mts +9 -0
- package/dist/pages/core-project-schedule-cost.d.mts.map +1 -0
- package/dist/pages/core-project-schedule-cost.mjs +548 -0
- package/dist/pages/core-project-schedule-cost.mjs.map +1 -0
- package/dist/pages/core-project-setup.d.mts +10 -0
- package/dist/pages/core-project-setup.d.mts.map +1 -0
- package/dist/pages/core-project-setup.mjs +283 -0
- package/dist/pages/core-project-setup.mjs.map +1 -0
- package/dist/pages/core-project-workforce-safety.d.mts +9 -0
- package/dist/pages/core-project-workforce-safety.d.mts.map +1 -0
- package/dist/pages/core-project-workforce-safety.mjs +465 -0
- package/dist/pages/core-project-workforce-safety.mjs.map +1 -0
- package/dist/pages/core-safety-manager.d.mts +14 -0
- package/dist/pages/core-safety-manager.d.mts.map +1 -0
- package/dist/pages/core-safety-manager.mjs +3081 -0
- package/dist/pages/core-safety-manager.mjs.map +1 -0
- package/dist/pages/core-site-reality.d.mts +25 -0
- package/dist/pages/core-site-reality.d.mts.map +1 -0
- package/dist/pages/core-site-reality.mjs +505 -0
- package/dist/pages/core-site-reality.mjs.map +1 -0
- package/dist/pages/core-task-monitor.d.mts +4 -0
- package/dist/pages/core-task-monitor.d.mts.map +1 -0
- package/dist/pages/core-task-monitor.mjs +587 -0
- package/dist/pages/core-task-monitor.mjs.map +1 -0
- package/dist/pages/core-timesheet.d.mts +2 -0
- package/dist/pages/core-timesheet.mjs +2 -0
- package/dist/pages/core-verifytime-command-center.d.mts +4 -0
- package/dist/pages/core-verifytime-command-center.d.mts.map +1 -0
- package/dist/pages/core-verifytime-command-center.mjs +1089 -0
- package/dist/pages/core-verifytime-command-center.mjs.map +1 -0
- package/dist/pages/core-wc3-workspace.d.mts +71 -0
- package/dist/pages/core-wc3-workspace.d.mts.map +1 -0
- package/dist/pages/core-wc3-workspace.mjs +1015 -0
- package/dist/pages/core-wc3-workspace.mjs.map +1 -0
- package/dist/pages/core-work-permit.d.mts +14 -0
- package/dist/pages/core-work-permit.d.mts.map +1 -0
- package/dist/pages/core-work-permit.mjs +281 -0
- package/dist/pages/core-work-permit.mjs.map +1 -0
- package/dist/pages/core-workforce.d.mts +24 -0
- package/dist/pages/core-workforce.d.mts.map +1 -0
- package/dist/pages/core-workforce.mjs +1253 -0
- package/dist/pages/core-workforce.mjs.map +1 -0
- package/dist/pages/org-logos.d.mts +9 -0
- package/dist/pages/org-logos.d.mts.map +1 -0
- package/dist/pages/org-logos.mjs +11 -0
- package/dist/pages/org-logos.mjs.map +1 -0
- package/dist/pages/state-machine-fixtures.d.mts +34 -0
- package/dist/pages/state-machine-fixtures.d.mts.map +1 -0
- package/dist/pages/state-machine-fixtures.mjs +73 -0
- package/dist/pages/state-machine-fixtures.mjs.map +1 -0
- package/dist/pages/state-machine.d.mts +407 -0
- package/dist/pages/state-machine.d.mts.map +1 -0
- package/dist/pages/state-machine.mjs +2254 -0
- package/dist/pages/state-machine.mjs.map +1 -0
- package/dist/pages/typeform/AttachmentInput.d.mts +11 -0
- package/dist/pages/typeform/AttachmentInput.d.mts.map +1 -0
- package/dist/pages/typeform/AttachmentInput.mjs +59 -0
- package/dist/pages/typeform/AttachmentInput.mjs.map +1 -0
- package/dist/pages/typeform/BuildMethodScreen.d.mts +10 -0
- package/dist/pages/typeform/BuildMethodScreen.d.mts.map +1 -0
- package/dist/pages/typeform/BuildMethodScreen.mjs +176 -0
- package/dist/pages/typeform/BuildMethodScreen.mjs.map +1 -0
- package/dist/pages/typeform/BuilderFlow.d.mts +29 -0
- package/dist/pages/typeform/BuilderFlow.d.mts.map +1 -0
- package/dist/pages/typeform/BuilderFlow.mjs +111 -0
- package/dist/pages/typeform/BuilderFlow.mjs.map +1 -0
- package/dist/pages/typeform/BuilderScreen.d.mts +14 -0
- package/dist/pages/typeform/BuilderScreen.d.mts.map +1 -0
- package/dist/pages/typeform/BuilderScreen.mjs +668 -0
- package/dist/pages/typeform/BuilderScreen.mjs.map +1 -0
- package/dist/pages/typeform/DataSourceSelect.d.mts +13 -0
- package/dist/pages/typeform/DataSourceSelect.d.mts.map +1 -0
- package/dist/pages/typeform/DataSourceSelect.mjs +36 -0
- package/dist/pages/typeform/DataSourceSelect.mjs.map +1 -0
- package/dist/pages/typeform/DerivedCountDisplay.d.mts +10 -0
- package/dist/pages/typeform/DerivedCountDisplay.d.mts.map +1 -0
- package/dist/pages/typeform/DerivedCountDisplay.mjs +20 -0
- package/dist/pages/typeform/DerivedCountDisplay.mjs.map +1 -0
- package/dist/pages/typeform/FillerRJSF.d.mts +10 -0
- package/dist/pages/typeform/FillerRJSF.d.mts.map +1 -0
- package/dist/pages/typeform/FillerRJSF.mjs +314 -0
- package/dist/pages/typeform/FillerRJSF.mjs.map +1 -0
- package/dist/pages/typeform/FormBuilderWidgetRJSF.d.mts +9 -0
- package/dist/pages/typeform/FormBuilderWidgetRJSF.d.mts.map +1 -0
- package/dist/pages/typeform/FormBuilderWidgetRJSF.mjs +22 -0
- package/dist/pages/typeform/FormBuilderWidgetRJSF.mjs.map +1 -0
- package/dist/pages/typeform/PublishScreen.d.mts +18 -0
- package/dist/pages/typeform/PublishScreen.d.mts.map +1 -0
- package/dist/pages/typeform/PublishScreen.mjs +163 -0
- package/dist/pages/typeform/PublishScreen.mjs.map +1 -0
- package/dist/pages/typeform/QuestionInspector.d.mts +7 -0
- package/dist/pages/typeform/QuestionInspector.d.mts.map +1 -0
- package/dist/pages/typeform/QuestionInspector.mjs +749 -0
- package/dist/pages/typeform/QuestionInspector.mjs.map +1 -0
- package/dist/pages/typeform/QuestionRenderer.d.mts +23 -0
- package/dist/pages/typeform/QuestionRenderer.d.mts.map +1 -0
- package/dist/pages/typeform/QuestionRenderer.mjs +170 -0
- package/dist/pages/typeform/QuestionRenderer.mjs.map +1 -0
- package/dist/pages/typeform/RatingInput.d.mts +14 -0
- package/dist/pages/typeform/RatingInput.d.mts.map +1 -0
- package/dist/pages/typeform/RatingInput.mjs +58 -0
- package/dist/pages/typeform/RatingInput.mjs.map +1 -0
- package/dist/pages/typeform/RuleGroupEditor.d.mts +9 -0
- package/dist/pages/typeform/RuleGroupEditor.d.mts.map +1 -0
- package/dist/pages/typeform/RuleGroupEditor.mjs +183 -0
- package/dist/pages/typeform/RuleGroupEditor.mjs.map +1 -0
- package/dist/pages/typeform/SignaturePad.d.mts +11 -0
- package/dist/pages/typeform/SignaturePad.d.mts.map +1 -0
- package/dist/pages/typeform/SignaturePad.mjs +111 -0
- package/dist/pages/typeform/SignaturePad.mjs.map +1 -0
- package/dist/pages/typeform/TableInput.d.mts +15 -0
- package/dist/pages/typeform/TableInput.d.mts.map +1 -0
- package/dist/pages/typeform/TableInput.mjs +73 -0
- package/dist/pages/typeform/TableInput.mjs.map +1 -0
- package/dist/pages/typeform/WorkspaceScreen.d.mts +20 -0
- package/dist/pages/typeform/WorkspaceScreen.d.mts.map +1 -0
- package/dist/pages/typeform/WorkspaceScreen.mjs +158 -0
- package/dist/pages/typeform/WorkspaceScreen.mjs.map +1 -0
- package/dist/pages/typeform/coreRjsfTheme.d.mts +4 -0
- package/dist/pages/typeform/coreRjsfTheme.d.mts.map +1 -0
- package/dist/pages/typeform/coreRjsfTheme.mjs +142 -0
- package/dist/pages/typeform/coreRjsfTheme.mjs.map +1 -0
- package/dist/pages/typeform/dataSources.d.mts +35 -0
- package/dist/pages/typeform/dataSources.d.mts.map +1 -0
- package/dist/pages/typeform/dataSources.mjs +210 -0
- package/dist/pages/typeform/dataSources.mjs.map +1 -0
- package/dist/pages/typeform/fillerShared.d.mts +21 -0
- package/dist/pages/typeform/fillerShared.d.mts.map +1 -0
- package/dist/pages/typeform/fillerShared.mjs +112 -0
- package/dist/pages/typeform/fillerShared.mjs.map +1 -0
- package/dist/pages/typeform/logic.d.mts +46 -0
- package/dist/pages/typeform/logic.d.mts.map +1 -0
- package/dist/pages/typeform/logic.mjs +193 -0
- package/dist/pages/typeform/logic.mjs.map +1 -0
- package/dist/pages/typeform/model.d.mts +144 -0
- package/dist/pages/typeform/model.d.mts.map +1 -0
- package/dist/pages/typeform/model.mjs +328 -0
- package/dist/pages/typeform/model.mjs.map +1 -0
- package/dist/pages/typeform/schemaToJsonSchema.d.mts +9 -0
- package/dist/pages/typeform/schemaToJsonSchema.d.mts.map +1 -0
- package/dist/pages/typeform/schemaToJsonSchema.mjs +119 -0
- package/dist/pages/typeform/schemaToJsonSchema.mjs.map +1 -0
- package/dist/pages/typeform/useFormBuilder.d.mts +34 -0
- package/dist/pages/typeform/useFormBuilder.d.mts.map +1 -0
- package/dist/pages/typeform/useFormBuilder.mjs +389 -0
- package/dist/pages/typeform/useFormBuilder.mjs.map +1 -0
- package/dist/pages/view-mode-thumbs.d.mts +6 -0
- package/dist/pages/view-mode-thumbs.d.mts.map +1 -0
- package/dist/pages/view-mode-thumbs.mjs +8 -0
- package/dist/pages/view-mode-thumbs.mjs.map +1 -0
- package/dist/pages/wc3-action-type-detail.d.mts +166 -0
- package/dist/pages/wc3-action-type-detail.d.mts.map +1 -0
- package/dist/pages/wc3-action-type-detail.mjs +2182 -0
- package/dist/pages/wc3-action-type-detail.mjs.map +1 -0
- package/dist/pages/wc3-action-type-run-dialog.d.mts +23 -0
- package/dist/pages/wc3-action-type-run-dialog.d.mts.map +1 -0
- package/dist/pages/wc3-action-type-run-dialog.mjs +383 -0
- package/dist/pages/wc3-action-type-run-dialog.mjs.map +1 -0
- package/dist/pages/wc3-action-type-wizard.d.mts +75 -0
- package/dist/pages/wc3-action-type-wizard.d.mts.map +1 -0
- package/dist/pages/wc3-action-type-wizard.mjs +702 -0
- package/dist/pages/wc3-action-type-wizard.mjs.map +1 -0
- package/dist/pages/wc3-analysis-data-view.d.mts +15 -0
- package/dist/pages/wc3-analysis-data-view.d.mts.map +1 -0
- package/dist/pages/wc3-analysis-data-view.mjs +129 -0
- package/dist/pages/wc3-analysis-data-view.mjs.map +1 -0
- package/dist/pages/wc3-analysis-data.d.mts +181 -0
- package/dist/pages/wc3-analysis-data.d.mts.map +1 -0
- package/dist/pages/wc3-analysis-data.mjs +4074 -0
- package/dist/pages/wc3-analysis-data.mjs.map +1 -0
- package/dist/pages/wc3-analysis-object-view.d.mts +12 -0
- package/dist/pages/wc3-analysis-object-view.d.mts.map +1 -0
- package/dist/pages/wc3-analysis-object-view.mjs +196 -0
- package/dist/pages/wc3-analysis-object-view.mjs.map +1 -0
- package/dist/pages/wc3-analysis-saved-view.d.mts +6 -0
- package/dist/pages/wc3-analysis-saved-view.d.mts.map +1 -0
- package/dist/pages/wc3-analysis-saved-view.mjs +540 -0
- package/dist/pages/wc3-analysis-saved-view.mjs.map +1 -0
- package/dist/pages/wc3-analysis-shared.d.mts +346 -0
- package/dist/pages/wc3-analysis-shared.d.mts.map +1 -0
- package/dist/pages/wc3-analysis-shared.mjs +1119 -0
- package/dist/pages/wc3-analysis-shared.mjs.map +1 -0
- package/dist/pages/wc3-analysis-views.d.mts +25 -0
- package/dist/pages/wc3-analysis-views.d.mts.map +1 -0
- package/dist/pages/wc3-analysis-views.mjs +48 -0
- package/dist/pages/wc3-analysis-views.mjs.map +1 -0
- package/dist/pages/wc3-fs-data.d.mts +12 -0
- package/dist/pages/wc3-fs-data.d.mts.map +1 -0
- package/dist/pages/wc3-fs-data.mjs +745 -0
- package/dist/pages/wc3-fs-data.mjs.map +1 -0
- package/dist/pages/wc3-fs-location-field.d.mts +13 -0
- package/dist/pages/wc3-fs-location-field.d.mts.map +1 -0
- package/dist/pages/wc3-fs-location-field.mjs +56 -0
- package/dist/pages/wc3-fs-location-field.mjs.map +1 -0
- package/dist/pages/wc3-fs-path-label.d.mts +12 -0
- package/dist/pages/wc3-fs-path-label.d.mts.map +1 -0
- package/dist/pages/wc3-fs-path-label.mjs +36 -0
- package/dist/pages/wc3-fs-path-label.mjs.map +1 -0
- package/dist/pages/wc3-fs-records.d.mts +17 -0
- package/dist/pages/wc3-fs-records.d.mts.map +1 -0
- package/dist/pages/wc3-fs-records.mjs +107 -0
- package/dist/pages/wc3-fs-records.mjs.map +1 -0
- package/dist/pages/wc3-fs-store.d.mts +43 -0
- package/dist/pages/wc3-fs-store.d.mts.map +1 -0
- package/dist/pages/wc3-fs-store.mjs +81 -0
- package/dist/pages/wc3-fs-store.mjs.map +1 -0
- package/dist/pages/wc3-fs-types.d.mts +19 -0
- package/dist/pages/wc3-fs-types.d.mts.map +1 -0
- package/dist/pages/wc3-fs-types.mjs +66 -0
- package/dist/pages/wc3-fs-types.mjs.map +1 -0
- package/dist/pages/wc3-graph-explorer-flow.d.mts +14 -0
- package/dist/pages/wc3-graph-explorer-flow.d.mts.map +1 -0
- package/dist/pages/wc3-graph-explorer-flow.mjs +275 -0
- package/dist/pages/wc3-graph-explorer-flow.mjs.map +1 -0
- package/dist/pages/wc3-group-detail.d.mts +26 -0
- package/dist/pages/wc3-group-detail.d.mts.map +1 -0
- package/dist/pages/wc3-group-detail.mjs +358 -0
- package/dist/pages/wc3-group-detail.mjs.map +1 -0
- package/dist/pages/wc3-group-wizard.d.mts +28 -0
- package/dist/pages/wc3-group-wizard.d.mts.map +1 -0
- package/dist/pages/wc3-group-wizard.mjs +120 -0
- package/dist/pages/wc3-group-wizard.mjs.map +1 -0
- package/dist/pages/wc3-health-view.d.mts +34 -0
- package/dist/pages/wc3-health-view.d.mts.map +1 -0
- package/dist/pages/wc3-health-view.mjs +413 -0
- package/dist/pages/wc3-health-view.mjs.map +1 -0
- package/dist/pages/wc3-home-view.d.mts +24 -0
- package/dist/pages/wc3-home-view.d.mts.map +1 -0
- package/dist/pages/wc3-home-view.mjs +59 -0
- package/dist/pages/wc3-home-view.mjs.map +1 -0
- package/dist/pages/wc3-interface-detail.d.mts +66 -0
- package/dist/pages/wc3-interface-detail.d.mts.map +1 -0
- package/dist/pages/wc3-interface-detail.mjs +1060 -0
- package/dist/pages/wc3-interface-detail.mjs.map +1 -0
- package/dist/pages/wc3-interface-wizard.d.mts +39 -0
- package/dist/pages/wc3-interface-wizard.d.mts.map +1 -0
- package/dist/pages/wc3-interface-wizard.mjs +226 -0
- package/dist/pages/wc3-interface-wizard.mjs.map +1 -0
- package/dist/pages/wc3-lineage-data-view.d.mts +6 -0
- package/dist/pages/wc3-lineage-data-view.d.mts.map +1 -0
- package/dist/pages/wc3-lineage-data-view.mjs +481 -0
- package/dist/pages/wc3-lineage-data-view.mjs.map +1 -0
- package/dist/pages/wc3-lineage-data.d.mts +191 -0
- package/dist/pages/wc3-lineage-data.d.mts.map +1 -0
- package/dist/pages/wc3-lineage-data.mjs +1061 -0
- package/dist/pages/wc3-lineage-data.mjs.map +1 -0
- package/dist/pages/wc3-lineage-impact-view.d.mts +13 -0
- package/dist/pages/wc3-lineage-impact-view.d.mts.map +1 -0
- package/dist/pages/wc3-lineage-impact-view.mjs +247 -0
- package/dist/pages/wc3-lineage-impact-view.mjs.map +1 -0
- package/dist/pages/wc3-lineage-shared.d.mts +137 -0
- package/dist/pages/wc3-lineage-shared.d.mts.map +1 -0
- package/dist/pages/wc3-lineage-shared.mjs +150 -0
- package/dist/pages/wc3-lineage-shared.mjs.map +1 -0
- package/dist/pages/wc3-lineage-views.d.mts +7 -0
- package/dist/pages/wc3-lineage-views.d.mts.map +1 -0
- package/dist/pages/wc3-lineage-views.mjs +13 -0
- package/dist/pages/wc3-lineage-views.mjs.map +1 -0
- package/dist/pages/wc3-lineage-workflow-view.d.mts +12 -0
- package/dist/pages/wc3-lineage-workflow-view.d.mts.map +1 -0
- package/dist/pages/wc3-lineage-workflow-view.mjs +326 -0
- package/dist/pages/wc3-lineage-workflow-view.mjs.map +1 -0
- package/dist/pages/wc3-object-type-detail.d.mts +18 -0
- package/dist/pages/wc3-object-type-detail.d.mts.map +1 -0
- package/dist/pages/wc3-object-type-detail.mjs +977 -0
- package/dist/pages/wc3-object-type-detail.mjs.map +1 -0
- package/dist/pages/wc3-ontology-data.d.mts +246 -0
- package/dist/pages/wc3-ontology-data.d.mts.map +1 -0
- package/dist/pages/wc3-ontology-data.mjs +8542 -0
- package/dist/pages/wc3-ontology-data.mjs.map +1 -0
- package/dist/pages/wc3-ontology-glyphs.d.mts +14 -0
- package/dist/pages/wc3-ontology-glyphs.d.mts.map +1 -0
- package/dist/pages/wc3-ontology-glyphs.mjs +53 -0
- package/dist/pages/wc3-ontology-glyphs.mjs.map +1 -0
- package/dist/pages/wc3-ontology-scope.d.mts +62 -0
- package/dist/pages/wc3-ontology-scope.d.mts.map +1 -0
- package/dist/pages/wc3-ontology-scope.mjs +109 -0
- package/dist/pages/wc3-ontology-scope.mjs.map +1 -0
- package/dist/pages/wc3-ontology-views.d.mts +34 -0
- package/dist/pages/wc3-ontology-views.d.mts.map +1 -0
- package/dist/pages/wc3-ontology-views.mjs +1253 -0
- package/dist/pages/wc3-ontology-views.mjs.map +1 -0
- package/dist/pages/wc3-permit-policy.d.mts +56 -0
- package/dist/pages/wc3-permit-policy.d.mts.map +1 -0
- package/dist/pages/wc3-permit-policy.mjs +478 -0
- package/dist/pages/wc3-permit-policy.mjs.map +1 -0
- package/dist/pages/wc3-pipeline-detail.d.mts +13 -0
- package/dist/pages/wc3-pipeline-detail.d.mts.map +1 -0
- package/dist/pages/wc3-pipeline-detail.mjs +818 -0
- package/dist/pages/wc3-pipeline-detail.mjs.map +1 -0
- package/dist/pages/wc3-pipeline-list-view.d.mts +5 -0
- package/dist/pages/wc3-pipeline-list-view.d.mts.map +1 -0
- package/dist/pages/wc3-pipeline-list-view.mjs +692 -0
- package/dist/pages/wc3-pipeline-list-view.mjs.map +1 -0
- package/dist/pages/wc3-pipeline-shared.d.mts +301 -0
- package/dist/pages/wc3-pipeline-shared.d.mts.map +1 -0
- package/dist/pages/wc3-pipeline-shared.mjs +703 -0
- package/dist/pages/wc3-pipeline-shared.mjs.map +1 -0
- package/dist/pages/wc3-pipeline-side-views.d.mts +7 -0
- package/dist/pages/wc3-pipeline-side-views.d.mts.map +1 -0
- package/dist/pages/wc3-pipeline-side-views.mjs +998 -0
- package/dist/pages/wc3-pipeline-side-views.mjs.map +1 -0
- package/dist/pages/wc3-pipeline-views.d.mts +15 -0
- package/dist/pages/wc3-pipeline-views.d.mts.map +1 -0
- package/dist/pages/wc3-pipeline-views.mjs +23 -0
- package/dist/pages/wc3-pipeline-views.mjs.map +1 -0
- package/dist/pages/wc3-process-bottlenecks.d.mts +22 -0
- package/dist/pages/wc3-process-bottlenecks.d.mts.map +1 -0
- package/dist/pages/wc3-process-bottlenecks.mjs +352 -0
- package/dist/pages/wc3-process-bottlenecks.mjs.map +1 -0
- package/dist/pages/wc3-process-create.d.mts +24 -0
- package/dist/pages/wc3-process-create.d.mts.map +1 -0
- package/dist/pages/wc3-process-create.mjs +230 -0
- package/dist/pages/wc3-process-create.mjs.map +1 -0
- package/dist/pages/wc3-process-data.d.mts +238 -0
- package/dist/pages/wc3-process-data.d.mts.map +1 -0
- package/dist/pages/wc3-process-data.mjs +2251 -0
- package/dist/pages/wc3-process-data.mjs.map +1 -0
- package/dist/pages/wc3-process-detail.d.mts +21 -0
- package/dist/pages/wc3-process-detail.d.mts.map +1 -0
- package/dist/pages/wc3-process-detail.mjs +21 -0
- package/dist/pages/wc3-process-detail.mjs.map +1 -0
- package/dist/pages/wc3-process-list-view.d.mts +5 -0
- package/dist/pages/wc3-process-list-view.d.mts.map +1 -0
- package/dist/pages/wc3-process-list-view.mjs +602 -0
- package/dist/pages/wc3-process-list-view.mjs.map +1 -0
- package/dist/pages/wc3-process-shared.d.mts +443 -0
- package/dist/pages/wc3-process-shared.d.mts.map +1 -0
- package/dist/pages/wc3-process-shared.mjs +980 -0
- package/dist/pages/wc3-process-shared.mjs.map +1 -0
- package/dist/pages/wc3-process-views.d.mts +19 -0
- package/dist/pages/wc3-process-views.d.mts.map +1 -0
- package/dist/pages/wc3-process-views.mjs +23 -0
- package/dist/pages/wc3-process-views.mjs.map +1 -0
- package/dist/pages/wc3-product-catalogue-view.d.mts +5 -0
- package/dist/pages/wc3-product-catalogue-view.d.mts.map +1 -0
- package/dist/pages/wc3-product-catalogue-view.mjs +587 -0
- package/dist/pages/wc3-product-catalogue-view.mjs.map +1 -0
- package/dist/pages/wc3-product-data.d.mts +206 -0
- package/dist/pages/wc3-product-data.d.mts.map +1 -0
- package/dist/pages/wc3-product-data.mjs +2669 -0
- package/dist/pages/wc3-product-data.mjs.map +1 -0
- package/dist/pages/wc3-product-detail.d.mts +31 -0
- package/dist/pages/wc3-product-detail.d.mts.map +1 -0
- package/dist/pages/wc3-product-detail.mjs +1137 -0
- package/dist/pages/wc3-product-detail.mjs.map +1 -0
- package/dist/pages/wc3-product-install-dialog.d.mts +99 -0
- package/dist/pages/wc3-product-install-dialog.d.mts.map +1 -0
- package/dist/pages/wc3-product-install-dialog.mjs +808 -0
- package/dist/pages/wc3-product-install-dialog.mjs.map +1 -0
- package/dist/pages/wc3-product-shared.d.mts +152 -0
- package/dist/pages/wc3-product-shared.d.mts.map +1 -0
- package/dist/pages/wc3-product-shared.mjs +268 -0
- package/dist/pages/wc3-product-shared.mjs.map +1 -0
- package/dist/pages/wc3-product-views.d.mts +7 -0
- package/dist/pages/wc3-product-views.d.mts.map +1 -0
- package/dist/pages/wc3-product-views.mjs +7 -0
- package/dist/pages/wc3-product-views.mjs.map +1 -0
- package/dist/pages/wc3-shared-property-detail.d.mts +95 -0
- package/dist/pages/wc3-shared-property-detail.d.mts.map +1 -0
- package/dist/pages/wc3-shared-property-detail.mjs +546 -0
- package/dist/pages/wc3-shared-property-detail.mjs.map +1 -0
- package/dist/pages/wc3-shared-property-view.d.mts +10 -0
- package/dist/pages/wc3-shared-property-view.d.mts.map +1 -0
- package/dist/pages/wc3-shared-property-view.mjs +455 -0
- package/dist/pages/wc3-shared-property-view.mjs.map +1 -0
- package/dist/pages/wc3-shared-property-wizard.d.mts +31 -0
- package/dist/pages/wc3-shared-property-wizard.d.mts.map +1 -0
- package/dist/pages/wc3-shared-property-wizard.mjs +181 -0
- package/dist/pages/wc3-shared-property-wizard.mjs.map +1 -0
- package/dist/pages/work-permit-templates.d.mts +30 -0
- package/dist/pages/work-permit-templates.d.mts.map +1 -0
- package/dist/pages/work-permit-templates.mjs +793 -0
- package/dist/pages/work-permit-templates.mjs.map +1 -0
- package/dist/pages/workforce-analytics.d.mts +11 -0
- package/dist/pages/workforce-analytics.d.mts.map +1 -0
- package/dist/pages/workforce-analytics.mjs +561 -0
- package/dist/pages/workforce-analytics.mjs.map +1 -0
- package/dist/pages/workforce-compliance-settings.d.mts +9 -0
- package/dist/pages/workforce-compliance-settings.d.mts.map +1 -0
- package/dist/pages/workforce-compliance-settings.mjs +375 -0
- package/dist/pages/workforce-compliance-settings.mjs.map +1 -0
- package/dist/pages/workforce-compliance.d.mts +81 -0
- package/dist/pages/workforce-compliance.d.mts.map +1 -0
- package/dist/pages/workforce-compliance.mjs +805 -0
- package/dist/pages/workforce-compliance.mjs.map +1 -0
- package/dist/pages/workforce-crews.d.mts +5 -0
- package/dist/pages/workforce-crews.d.mts.map +1 -0
- package/dist/pages/workforce-crews.mjs +1091 -0
- package/dist/pages/workforce-crews.mjs.map +1 -0
- package/dist/pages/workforce-map-view.d.mts +8 -0
- package/dist/pages/workforce-map-view.d.mts.map +1 -0
- package/dist/pages/workforce-map-view.mjs +953 -0
- package/dist/pages/workforce-map-view.mjs.map +1 -0
- package/dist/pages/workforce-obs.d.mts +5 -0
- package/dist/pages/workforce-obs.d.mts.map +1 -0
- package/dist/pages/workforce-obs.mjs +649 -0
- package/dist/pages/workforce-obs.mjs.map +1 -0
- package/dist/pagination.d.mts +32 -0
- package/dist/pagination.d.mts.map +1 -0
- package/dist/pagination.mjs +67 -0
- package/dist/pagination.mjs.map +1 -0
- package/dist/permission-matrix.d.mts +43 -0
- package/dist/permission-matrix.d.mts.map +1 -0
- package/dist/permission-matrix.mjs +146 -0
- package/dist/permission-matrix.mjs.map +1 -0
- package/dist/popover.d.mts +19 -0
- package/dist/popover.d.mts.map +1 -0
- package/dist/popover.mjs +31 -0
- package/dist/popover.mjs.map +1 -0
- package/dist/product-package-detail.d.mts +173 -0
- package/dist/product-package-detail.d.mts.map +1 -0
- package/dist/product-package-detail.mjs +521 -0
- package/dist/product-package-detail.mjs.map +1 -0
- package/dist/progress-comparison.d.mts +93 -0
- package/dist/progress-comparison.d.mts.map +1 -0
- package/dist/progress-comparison.mjs +253 -0
- package/dist/progress-comparison.mjs.map +1 -0
- package/dist/progress-list-item.d.mts +46 -0
- package/dist/progress-list-item.d.mts.map +1 -0
- package/dist/progress-list-item.mjs +79 -0
- package/dist/progress-list-item.mjs.map +1 -0
- package/dist/progress-sheet.d.mts +39 -0
- package/dist/progress-sheet.d.mts.map +1 -0
- package/dist/progress-sheet.mjs +760 -0
- package/dist/progress-sheet.mjs.map +1 -0
- package/dist/progress-stat.d.mts +26 -0
- package/dist/progress-stat.d.mts.map +1 -0
- package/dist/progress-stat.mjs +54 -0
- package/dist/progress-stat.mjs.map +1 -0
- package/dist/progress.d.mts +13 -0
- package/dist/progress.d.mts.map +1 -0
- package/dist/progress.mjs +32 -0
- package/dist/progress.mjs.map +1 -0
- package/dist/prompt-input.d.mts +108 -0
- package/dist/prompt-input.d.mts.map +1 -0
- package/dist/prompt-input.mjs +400 -0
- package/dist/prompt-input.mjs.map +1 -0
- package/dist/property-list.d.mts +37 -0
- package/dist/property-list.d.mts.map +1 -0
- package/dist/property-list.mjs +60 -0
- package/dist/property-list.mjs.map +1 -0
- package/dist/push-panel.d.mts +75 -0
- package/dist/push-panel.d.mts.map +1 -0
- package/dist/push-panel.mjs +182 -0
- package/dist/push-panel.mjs.map +1 -0
- package/dist/radio-group.d.mts +9 -0
- package/dist/radio-group.d.mts.map +1 -0
- package/dist/radio-group.mjs +27 -0
- package/dist/radio-group.mjs.map +1 -0
- package/dist/record-detail-shell.d.mts +46 -0
- package/dist/record-detail-shell.d.mts.map +1 -0
- package/dist/record-detail-shell.mjs +29 -0
- package/dist/record-detail-shell.mjs.map +1 -0
- package/dist/resizable.d.mts +11 -0
- package/dist/resizable.d.mts.map +1 -0
- package/dist/resizable.mjs +23 -0
- package/dist/resizable.mjs.map +1 -0
- package/dist/resize-handle.d.mts +19 -0
- package/dist/resize-handle.d.mts.map +1 -0
- package/dist/resize-handle.mjs +45 -0
- package/dist/resize-handle.mjs.map +1 -0
- package/dist/responder-detail-panel.d.mts +72 -0
- package/dist/responder-detail-panel.d.mts.map +1 -0
- package/dist/responder-detail-panel.mjs +232 -0
- package/dist/responder-detail-panel.mjs.map +1 -0
- package/dist/rule-row.d.mts +63 -0
- package/dist/rule-row.d.mts.map +1 -0
- package/dist/rule-row.mjs +97 -0
- package/dist/rule-row.mjs.map +1 -0
- package/dist/schedule-week-bar.d.mts +24 -0
- package/dist/schedule-week-bar.d.mts.map +1 -0
- package/dist/schedule-week-bar.mjs +99 -0
- package/dist/schedule-week-bar.mjs.map +1 -0
- package/dist/score-gauge.d.mts +24 -0
- package/dist/score-gauge.d.mts.map +1 -0
- package/dist/score-gauge.mjs +73 -0
- package/dist/score-gauge.mjs.map +1 -0
- package/dist/scroll-area.d.mts +27 -0
- package/dist/scroll-area.d.mts.map +1 -0
- package/dist/scroll-area.mjs +35 -0
- package/dist/scroll-area.mjs.map +1 -0
- package/dist/search-filter-bar.d.mts +22 -0
- package/dist/search-filter-bar.d.mts.map +1 -0
- package/dist/search-filter-bar.mjs +56 -0
- package/dist/search-filter-bar.mjs.map +1 -0
- package/dist/section-header.d.mts +22 -0
- package/dist/section-header.d.mts.map +1 -0
- package/dist/section-header.mjs +32 -0
- package/dist/section-header.mjs.map +1 -0
- package/dist/section-panel.d.mts +47 -0
- package/dist/section-panel.d.mts.map +1 -0
- package/dist/section-panel.mjs +78 -0
- package/dist/section-panel.mjs.map +1 -0
- package/dist/section.d.mts +15 -0
- package/dist/section.d.mts.map +1 -0
- package/dist/section.mjs +34 -0
- package/dist/section.mjs.map +1 -0
- package/dist/segmented-control.d.mts +26 -0
- package/dist/segmented-control.d.mts.map +1 -0
- package/dist/segmented-control.mjs +70 -0
- package/dist/segmented-control.mjs.map +1 -0
- package/dist/select.d.mts +87 -0
- package/dist/select.d.mts.map +1 -0
- package/dist/select.mjs +280 -0
- package/dist/select.mjs.map +1 -0
- package/dist/selectable-card.d.mts +39 -0
- package/dist/selectable-card.d.mts.map +1 -0
- package/dist/selectable-card.mjs +102 -0
- package/dist/selectable-card.mjs.map +1 -0
- package/dist/separator.d.mts +8 -0
- package/dist/separator.d.mts.map +1 -0
- package/dist/separator.mjs +18 -0
- package/dist/separator.mjs.map +1 -0
- package/dist/services/chatService.d.mts +11 -0
- package/dist/services/chatService.d.mts.map +1 -0
- package/dist/services/chatService.mjs +44 -0
- package/dist/services/chatService.mjs.map +1 -0
- package/dist/setup-steps-checklist.d.mts +50 -0
- package/dist/setup-steps-checklist.d.mts.map +1 -0
- package/dist/setup-steps-checklist.mjs +183 -0
- package/dist/setup-steps-checklist.mjs.map +1 -0
- package/dist/sheet.d.mts +41 -0
- package/dist/sheet.d.mts.map +1 -0
- package/dist/sheet.mjs +71 -0
- package/dist/sheet.mjs.map +1 -0
- package/dist/side-menu.d.mts +61 -0
- package/dist/side-menu.d.mts.map +1 -0
- package/dist/side-menu.mjs +160 -0
- package/dist/side-menu.mjs.map +1 -0
- package/dist/sidebar.d.mts +36 -0
- package/dist/sidebar.d.mts.map +1 -0
- package/dist/sidebar.mjs +159 -0
- package/dist/sidebar.mjs.map +1 -0
- package/dist/single-house-view.d.mts +13 -0
- package/dist/single-house-view.d.mts.map +1 -0
- package/dist/single-house-view.mjs +506 -0
- package/dist/single-house-view.mjs.map +1 -0
- package/dist/site-image-viewer/batches.mjs +362 -0
- package/dist/site-image-viewer/batches.mjs.map +1 -0
- package/dist/site-image-viewer/blocks-zone-1a.mjs +1815 -0
- package/dist/site-image-viewer/blocks-zone-1a.mjs.map +1 -0
- package/dist/site-image-viewer/blocks-zone-1b.mjs +2623 -0
- package/dist/site-image-viewer/blocks-zone-1b.mjs.map +1 -0
- package/dist/site-image-viewer/legend-items.d.mts +6 -0
- package/dist/site-image-viewer/legend-items.d.mts.map +1 -0
- package/dist/site-image-viewer/legend-items.mjs +104 -0
- package/dist/site-image-viewer/legend-items.mjs.map +1 -0
- package/dist/site-image-viewer/milestone-ramp.d.mts +81 -0
- package/dist/site-image-viewer/milestone-ramp.d.mts.map +1 -0
- package/dist/site-image-viewer/milestone-ramp.mjs +112 -0
- package/dist/site-image-viewer/milestone-ramp.mjs.map +1 -0
- package/dist/site-image-viewer/phases.mjs +60 -0
- package/dist/site-image-viewer/phases.mjs.map +1 -0
- package/dist/site-image-viewer/site-legend.d.mts +20 -0
- package/dist/site-image-viewer/site-legend.d.mts.map +1 -0
- package/dist/site-image-viewer/site-legend.mjs +113 -0
- package/dist/site-image-viewer/site-legend.mjs.map +1 -0
- package/dist/site-image-viewer/types.d.mts +32 -0
- package/dist/site-image-viewer/types.d.mts.map +1 -0
- package/dist/site-image-viewer/types.mjs +1 -0
- package/dist/site-image-viewer/villa-hover-card.d.mts +15 -0
- package/dist/site-image-viewer/villa-hover-card.d.mts.map +1 -0
- package/dist/site-image-viewer/villa-hover-card.mjs +48 -0
- package/dist/site-image-viewer/villa-hover-card.mjs.map +1 -0
- package/dist/site-image-viewer/villas.mjs +34494 -0
- package/dist/site-image-viewer/villas.mjs.map +1 -0
- package/dist/site-image-viewer/zone1b-villas.mjs +36211 -0
- package/dist/site-image-viewer/zone1b-villas.mjs.map +1 -0
- package/dist/site-image-viewer/zones-marketing.mjs +114 -0
- package/dist/site-image-viewer/zones-marketing.mjs.map +1 -0
- package/dist/site-image-viewer/zones.mjs +114 -0
- package/dist/site-image-viewer/zones.mjs.map +1 -0
- package/dist/site-image-viewer-fixtures.d.mts +44 -0
- package/dist/site-image-viewer-fixtures.d.mts.map +1 -0
- package/dist/site-image-viewer-fixtures.mjs +112 -0
- package/dist/site-image-viewer-fixtures.mjs.map +1 -0
- package/dist/site-image-viewer.d.mts +98 -0
- package/dist/site-image-viewer.d.mts.map +1 -0
- package/dist/site-image-viewer.mjs +501 -0
- package/dist/site-image-viewer.mjs.map +1 -0
- package/dist/site-panel.d.mts +123 -0
- package/dist/site-panel.d.mts.map +1 -0
- package/dist/site-panel.mjs +1413 -0
- package/dist/site-panel.mjs.map +1 -0
- package/dist/site-reality-viewer.d.mts +46 -0
- package/dist/site-reality-viewer.d.mts.map +1 -0
- package/dist/site-reality-viewer.mjs +436 -0
- package/dist/site-reality-viewer.mjs.map +1 -0
- package/dist/site-toolbar.d.mts +54 -0
- package/dist/site-toolbar.d.mts.map +1 -0
- package/dist/site-toolbar.mjs +110 -0
- package/dist/site-toolbar.mjs.map +1 -0
- package/dist/skeleton.d.mts +6 -0
- package/dist/skeleton.d.mts.map +1 -0
- package/dist/skeleton.mjs +14 -0
- package/dist/skeleton.mjs.map +1 -0
- package/dist/slider.d.mts +8 -0
- package/dist/slider.d.mts.map +1 -0
- package/dist/slider.mjs +20 -0
- package/dist/slider.mjs.map +1 -0
- package/dist/sonner.d.mts +8 -0
- package/dist/sonner.d.mts.map +1 -0
- package/dist/sonner.mjs +20 -0
- package/dist/sonner.mjs.map +1 -0
- package/dist/spinner.d.mts +12 -0
- package/dist/spinner.d.mts.map +1 -0
- package/dist/spinner.mjs +38 -0
- package/dist/spinner.mjs.map +1 -0
- package/dist/stack.d.mts +18 -0
- package/dist/stack.d.mts.map +1 -0
- package/dist/stack.mjs +61 -0
- package/dist/stack.mjs.map +1 -0
- package/dist/stage-content.d.mts +13 -0
- package/dist/stage-content.d.mts.map +1 -0
- package/dist/stage-content.mjs +664 -0
- package/dist/stage-content.mjs.map +1 -0
- package/dist/status-dot.d.mts +18 -0
- package/dist/status-dot.d.mts.map +1 -0
- package/dist/status-dot.mjs +89 -0
- package/dist/status-dot.mjs.map +1 -0
- package/dist/stepper.d.mts +19 -0
- package/dist/stepper.d.mts.map +1 -0
- package/dist/stepper.mjs +113 -0
- package/dist/stepper.mjs.map +1 -0
- package/dist/styles.css +1 -0
- package/dist/styles.tw4.css +1 -0
- package/dist/switch.d.mts +12 -0
- package/dist/switch.d.mts.map +1 -0
- package/dist/switch.mjs +17 -0
- package/dist/switch.mjs.map +1 -0
- package/dist/tab-list.d.mts +33 -0
- package/dist/tab-list.d.mts.map +1 -0
- package/dist/tab-list.mjs +90 -0
- package/dist/tab-list.mjs.map +1 -0
- package/dist/table.d.mts +14 -0
- package/dist/table.d.mts.map +1 -0
- package/dist/table.mjs +60 -0
- package/dist/table.mjs.map +1 -0
- package/dist/tabs.d.mts +42 -0
- package/dist/tabs.d.mts.map +1 -0
- package/dist/tabs.mjs +258 -0
- package/dist/tabs.mjs.map +1 -0
- package/dist/task-monitor.d.mts +70 -0
- package/dist/task-monitor.d.mts.map +1 -0
- package/dist/task-monitor.mjs +319 -0
- package/dist/task-monitor.mjs.map +1 -0
- package/dist/text.d.mts +18 -0
- package/dist/text.d.mts.map +1 -0
- package/dist/text.mjs +60 -0
- package/dist/text.mjs.map +1 -0
- package/dist/textarea.d.mts +7 -0
- package/dist/textarea.d.mts.map +1 -0
- package/dist/textarea.mjs +15 -0
- package/dist/textarea.mjs.map +1 -0
- package/dist/thinking-pill.d.mts +15 -0
- package/dist/thinking-pill.d.mts.map +1 -0
- package/dist/thinking-pill.mjs +28 -0
- package/dist/thinking-pill.mjs.map +1 -0
- package/dist/thumbnail.d.mts +20 -0
- package/dist/thumbnail.d.mts.map +1 -0
- package/dist/thumbnail.mjs +81 -0
- package/dist/thumbnail.mjs.map +1 -0
- package/dist/time-input.d.mts +15 -0
- package/dist/time-input.d.mts.map +1 -0
- package/dist/time-input.mjs +21 -0
- package/dist/time-input.mjs.map +1 -0
- package/dist/time-scrubber.d.mts +93 -0
- package/dist/time-scrubber.d.mts.map +1 -0
- package/dist/time-scrubber.mjs +420 -0
- package/dist/time-scrubber.mjs.map +1 -0
- package/dist/timeline-range-selector.d.mts +30 -0
- package/dist/timeline-range-selector.d.mts.map +1 -0
- package/dist/timeline-range-selector.mjs +232 -0
- package/dist/timeline-range-selector.mjs.map +1 -0
- package/dist/timestamp-picker.d.mts +32 -0
- package/dist/timestamp-picker.d.mts.map +1 -0
- package/dist/timestamp-picker.mjs +143 -0
- package/dist/timestamp-picker.mjs.map +1 -0
- package/dist/timestamp.d.mts +15 -0
- package/dist/timestamp.d.mts.map +1 -0
- package/dist/timestamp.mjs +61 -0
- package/dist/timestamp.mjs.map +1 -0
- package/dist/toast.d.mts +18 -0
- package/dist/toast.d.mts.map +1 -0
- package/dist/toast.mjs +59 -0
- package/dist/toast.mjs.map +1 -0
- package/dist/toaster.d.mts +5 -0
- package/dist/toaster.d.mts.map +1 -0
- package/dist/toaster.mjs +23 -0
- package/dist/toaster.mjs.map +1 -0
- package/dist/toggle-group.d.mts +16 -0
- package/dist/toggle-group.d.mts.map +1 -0
- package/dist/toggle-group.mjs +41 -0
- package/dist/toggle-group.mjs.map +1 -0
- package/dist/toggle.d.mts +16 -0
- package/dist/toggle.d.mts.map +1 -0
- package/dist/toggle.mjs +38 -0
- package/dist/toggle.mjs.map +1 -0
- package/dist/tokenizer.d.mts +23 -0
- package/dist/tokenizer.d.mts.map +1 -0
- package/dist/tokenizer.mjs +87 -0
- package/dist/tokenizer.mjs.map +1 -0
- package/dist/tones.d.mts +59 -0
- package/dist/tones.d.mts.map +1 -0
- package/dist/tones.mjs +177 -0
- package/dist/tones.mjs.map +1 -0
- package/dist/tool-call.d.mts +29 -0
- package/dist/tool-call.d.mts.map +1 -0
- package/dist/tool-call.mjs +89 -0
- package/dist/tool-call.mjs.map +1 -0
- package/dist/toolbar-color-picker.d.mts +50 -0
- package/dist/toolbar-color-picker.d.mts.map +1 -0
- package/dist/toolbar-color-picker.mjs +238 -0
- package/dist/toolbar-color-picker.mjs.map +1 -0
- package/dist/toolbar-pager.d.mts +17 -0
- package/dist/toolbar-pager.d.mts.map +1 -0
- package/dist/toolbar-pager.mjs +40 -0
- package/dist/toolbar-pager.mjs.map +1 -0
- package/dist/toolbar-stats.d.mts +34 -0
- package/dist/toolbar-stats.d.mts.map +1 -0
- package/dist/toolbar-stats.mjs +53 -0
- package/dist/toolbar-stats.mjs.map +1 -0
- package/dist/toolbar.d.mts +98 -0
- package/dist/toolbar.d.mts.map +1 -0
- package/dist/toolbar.mjs +86 -0
- package/dist/toolbar.mjs.map +1 -0
- package/dist/tooltip.d.mts +30 -0
- package/dist/tooltip.d.mts.map +1 -0
- package/dist/tooltip.mjs +83 -0
- package/dist/tooltip.mjs.map +1 -0
- package/dist/tree-list.d.mts +38 -0
- package/dist/tree-list.d.mts.map +1 -0
- package/dist/tree-list.mjs +95 -0
- package/dist/tree-list.mjs.map +1 -0
- package/dist/tree-row.d.mts +84 -0
- package/dist/tree-row.d.mts.map +1 -0
- package/dist/tree-row.mjs +150 -0
- package/dist/tree-row.mjs.map +1 -0
- package/dist/trend-chart.d.mts +28 -0
- package/dist/trend-chart.d.mts.map +1 -0
- package/dist/trend-chart.mjs +33 -0
- package/dist/trend-chart.mjs.map +1 -0
- package/dist/turn-timer.d.mts +23 -0
- package/dist/turn-timer.d.mts.map +1 -0
- package/dist/turn-timer.mjs +51 -0
- package/dist/turn-timer.mjs.map +1 -0
- package/dist/typeahead-item.d.mts +34 -0
- package/dist/typeahead-item.d.mts.map +1 -0
- package/dist/typeahead-item.mjs +74 -0
- package/dist/typeahead-item.mjs.map +1 -0
- package/dist/types/chat.d.mts +66 -0
- package/dist/types/chat.d.mts.map +1 -0
- package/dist/types/chat.mjs +1 -0
- package/dist/types.d.mts +44 -0
- package/dist/types.d.mts.map +1 -0
- package/dist/types.mjs +49 -0
- package/dist/types.mjs.map +1 -0
- package/dist/typography.d.mts +17 -0
- package/dist/typography.d.mts.map +1 -0
- package/dist/typography.mjs +75 -0
- package/dist/typography.mjs.map +1 -0
- package/dist/use-debounced-value.d.mts +11 -0
- package/dist/use-debounced-value.d.mts.map +1 -0
- package/dist/use-debounced-value.mjs +25 -0
- package/dist/use-debounced-value.mjs.map +1 -0
- package/dist/use-document-dir.d.mts +15 -0
- package/dist/use-document-dir.d.mts.map +1 -0
- package/dist/use-document-dir.mjs +33 -0
- package/dist/use-document-dir.mjs.map +1 -0
- package/dist/use-persistent-state.d.mts +9 -0
- package/dist/use-persistent-state.d.mts.map +1 -0
- package/dist/use-persistent-state.mjs +29 -0
- package/dist/use-persistent-state.mjs.map +1 -0
- package/dist/use-toast.d.mts +47 -0
- package/dist/use-toast.d.mts.map +1 -0
- package/dist/use-toast.mjs +119 -0
- package/dist/use-toast.mjs.map +1 -0
- package/dist/vertical-zoom-tools.d.mts +27 -0
- package/dist/vertical-zoom-tools.d.mts.map +1 -0
- package/dist/vertical-zoom-tools.mjs +66 -0
- package/dist/vertical-zoom-tools.mjs.map +1 -0
- package/dist/view-tab-bar.d.mts +75 -0
- package/dist/view-tab-bar.d.mts.map +1 -0
- package/dist/view-tab-bar.mjs +80 -0
- package/dist/view-tab-bar.mjs.map +1 -0
- package/dist/viewer-toolbar.d.mts +41 -0
- package/dist/viewer-toolbar.d.mts.map +1 -0
- package/dist/viewer-toolbar.mjs +271 -0
- package/dist/viewer-toolbar.mjs.map +1 -0
- package/dist/violation-list.d.mts +26 -0
- package/dist/violation-list.d.mts.map +1 -0
- package/dist/violation-list.mjs +53 -0
- package/dist/violation-list.mjs.map +1 -0
- package/dist/walkthrough-modal.d.mts +12 -0
- package/dist/walkthrough-modal.d.mts.map +1 -0
- package/dist/walkthrough-modal.mjs +28 -0
- package/dist/walkthrough-modal.mjs.map +1 -0
- package/dist/walkthrough-tile.d.mts +17 -0
- package/dist/walkthrough-tile.d.mts.map +1 -0
- package/dist/walkthrough-tile.mjs +75 -0
- package/dist/walkthrough-tile.mjs.map +1 -0
- package/dist/week-selector.d.mts +45 -0
- package/dist/week-selector.d.mts.map +1 -0
- package/dist/week-selector.mjs +101 -0
- package/dist/week-selector.mjs.map +1 -0
- package/dist/widget-card.d.mts +18 -0
- package/dist/widget-card.d.mts.map +1 -0
- package/dist/widget-card.mjs +46 -0
- package/dist/widget-card.mjs.map +1 -0
- package/dist/wizard-dialog.d.mts +68 -0
- package/dist/wizard-dialog.d.mts.map +1 -0
- package/dist/wizard-dialog.mjs +108 -0
- package/dist/wizard-dialog.mjs.map +1 -0
- package/dist/work-item-card.d.mts +38 -0
- package/dist/work-item-card.d.mts.map +1 -0
- package/dist/work-item-card.mjs +231 -0
- package/dist/work-item-card.mjs.map +1 -0
- package/dist/worker-profile.d.mts +244 -0
- package/dist/worker-profile.d.mts.map +1 -0
- package/dist/worker-profile.mjs +621 -0
- package/dist/worker-profile.mjs.map +1 -0
- package/dist/zoom-tools.d.mts +29 -0
- package/dist/zoom-tools.d.mts.map +1 -0
- package/dist/zoom-tools.mjs +94 -0
- package/dist/zoom-tools.mjs.map +1 -0
- package/package.json +1792 -0
- package/skills/core-ui-charts/SKILL.md +243 -0
- package/skills/core-ui-chat/SKILL.md +260 -0
- package/skills/core-ui-components/SKILL.md +299 -0
- package/skills/core-ui-composition/SKILL.md +186 -0
- package/skills/core-ui-data-table/SKILL.md +243 -0
- package/skills/core-ui-forms/SKILL.md +289 -0
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { cn } from "@corensystem/coren-utils";
|
|
2
|
+
import { TrendingDown, TrendingUp } from "lucide-react";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
//#region src/compare-bars.tsx
|
|
6
|
+
const SIZES = {
|
|
7
|
+
compact: {
|
|
8
|
+
gap: "wwc:gap-2",
|
|
9
|
+
hero: "wwc:text-xl",
|
|
10
|
+
pill: "wwc:gap-0.5 wwc:rounded wwc:px-1.5 wwc:py-0.5",
|
|
11
|
+
pillText: "wwc:text-[11px]",
|
|
12
|
+
pillIcon: "wwc:size-3",
|
|
13
|
+
legendText: "wwc:text-[10px]",
|
|
14
|
+
legendDot: "wwc:size-1.5",
|
|
15
|
+
barGap: "wwc:gap-0.5",
|
|
16
|
+
bar: "wwc:h-2"
|
|
17
|
+
},
|
|
18
|
+
default: {
|
|
19
|
+
gap: "wwc:gap-2.5",
|
|
20
|
+
hero: "wwc:text-2xl",
|
|
21
|
+
pill: "wwc:gap-0.5 wwc:rounded wwc:px-2 wwc:py-0.5",
|
|
22
|
+
pillText: "wwc:text-xs",
|
|
23
|
+
pillIcon: "wwc:size-3.5",
|
|
24
|
+
legendText: "wwc:text-xs",
|
|
25
|
+
legendDot: "wwc:size-2",
|
|
26
|
+
barGap: "wwc:gap-1",
|
|
27
|
+
bar: "wwc:h-2.5"
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* The dual-bar comparison primitive: two hero percentages (primary vs secondary) with a variance pill
|
|
32
|
+
* between them, a two-item legend, and a pair of stacked progress bars. This is the presentational core
|
|
33
|
+
* shared by the `ProgressComparison` widget — use it directly when you just need the bars block without
|
|
34
|
+
* the surrounding card/stats/header.
|
|
35
|
+
*/
|
|
36
|
+
const CompareBars = React.forwardRef(({ className, primary, secondary, variance, size = "compact", ...props }, ref) => {
|
|
37
|
+
const sz = SIZES[size];
|
|
38
|
+
const delta = variance ?? primary.value - secondary.value;
|
|
39
|
+
const negative = delta < 0;
|
|
40
|
+
const positive = delta > 0;
|
|
41
|
+
const TrendIcon = negative ? TrendingDown : TrendingUp;
|
|
42
|
+
const clamp = (v) => Math.min(100, Math.max(0, v));
|
|
43
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
44
|
+
ref,
|
|
45
|
+
className: cn("wwc:flex wwc:flex-col", sz.gap, className),
|
|
46
|
+
...props,
|
|
47
|
+
children: [
|
|
48
|
+
/* @__PURE__ */ jsxs("div", {
|
|
49
|
+
className: "wwc:flex wwc:items-center wwc:justify-between wwc:gap-2",
|
|
50
|
+
children: [
|
|
51
|
+
/* @__PURE__ */ jsxs("span", {
|
|
52
|
+
className: cn("wwc:font-bold wwc:leading-none wwc:text-foreground", sz.hero),
|
|
53
|
+
children: [primary.value, "%"]
|
|
54
|
+
}),
|
|
55
|
+
/* @__PURE__ */ jsxs("div", {
|
|
56
|
+
className: cn("wwc:flex wwc:items-center", sz.pill, negative ? "wwc:bg-destructive/10 wwc:text-destructive" : positive ? "wwc:bg-emerald-50 wwc:text-emerald-600" : "wwc:bg-muted wwc:text-muted-foreground"),
|
|
57
|
+
children: [
|
|
58
|
+
/* @__PURE__ */ jsx(TrendIcon, { className: sz.pillIcon }),
|
|
59
|
+
/* @__PURE__ */ jsxs("span", {
|
|
60
|
+
className: cn("wwc:font-semibold", sz.pillText),
|
|
61
|
+
children: [
|
|
62
|
+
delta > 0 ? "+" : "",
|
|
63
|
+
delta,
|
|
64
|
+
"%"
|
|
65
|
+
]
|
|
66
|
+
}),
|
|
67
|
+
/* @__PURE__ */ jsx("span", {
|
|
68
|
+
className: sz.pillText,
|
|
69
|
+
children: "variance"
|
|
70
|
+
})
|
|
71
|
+
]
|
|
72
|
+
}),
|
|
73
|
+
/* @__PURE__ */ jsxs("span", {
|
|
74
|
+
className: cn("wwc:font-bold wwc:leading-none wwc:text-zinc-500", sz.hero),
|
|
75
|
+
children: [secondary.value, "%"]
|
|
76
|
+
})
|
|
77
|
+
]
|
|
78
|
+
}),
|
|
79
|
+
/* @__PURE__ */ jsxs("div", {
|
|
80
|
+
className: "wwc:flex wwc:items-center wwc:justify-between",
|
|
81
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
82
|
+
className: "wwc:flex wwc:items-center wwc:gap-1.5",
|
|
83
|
+
children: [/* @__PURE__ */ jsx("span", { className: cn("wwc:rounded-sm wwc:bg-primary", sz.legendDot) }), /* @__PURE__ */ jsx("span", {
|
|
84
|
+
className: cn("wwc:text-foreground", sz.legendText),
|
|
85
|
+
children: primary.label
|
|
86
|
+
})]
|
|
87
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
88
|
+
className: "wwc:flex wwc:items-center wwc:gap-1.5",
|
|
89
|
+
children: [/* @__PURE__ */ jsx("span", { className: cn("wwc:rounded-sm wwc:bg-zinc-500", sz.legendDot) }), /* @__PURE__ */ jsx("span", {
|
|
90
|
+
className: cn("wwc:text-zinc-500", sz.legendText),
|
|
91
|
+
children: secondary.label
|
|
92
|
+
})]
|
|
93
|
+
})]
|
|
94
|
+
}),
|
|
95
|
+
/* @__PURE__ */ jsxs("div", {
|
|
96
|
+
className: cn("wwc:flex wwc:flex-col", sz.barGap),
|
|
97
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
98
|
+
className: cn("wwc:w-full wwc:overflow-hidden wwc:rounded-sm wwc:bg-muted", sz.bar),
|
|
99
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
100
|
+
className: "wwc:h-full wwc:rounded-sm wwc:bg-primary",
|
|
101
|
+
style: { width: `${clamp(primary.value)}%` }
|
|
102
|
+
})
|
|
103
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
104
|
+
className: cn("wwc:w-full wwc:overflow-hidden wwc:rounded-sm wwc:bg-muted", sz.bar),
|
|
105
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
106
|
+
className: "wwc:h-full wwc:rounded-sm wwc:bg-zinc-500/40",
|
|
107
|
+
style: { width: `${clamp(secondary.value)}%` }
|
|
108
|
+
})
|
|
109
|
+
})]
|
|
110
|
+
})
|
|
111
|
+
]
|
|
112
|
+
});
|
|
113
|
+
});
|
|
114
|
+
CompareBars.displayName = "CompareBars";
|
|
115
|
+
//#endregion
|
|
116
|
+
export { CompareBars };
|
|
117
|
+
|
|
118
|
+
//# sourceMappingURL=compare-bars.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compare-bars.mjs","names":[],"sources":["../src/compare-bars.tsx"],"sourcesContent":["import {cn} from \"@corensystem/coren-utils\";\nimport {TrendingDown, TrendingUp} from \"lucide-react\";\nimport * as React from \"react\";\n\n/** One source in the comparison (e.g. Approved / Planned, actual / baseline). */\nexport interface CompareBarsSource {\n\t/** Legend label, e.g. \"Approved\". */\n\tlabel: string;\n\t/** Percentage 0–100. */\n\tvalue: number;\n}\n\nexport interface CompareBarsProps extends React.HTMLAttributes<HTMLDivElement> {\n\t/** Left / primary source, rendered dark — most commonly the actual / approved value. */\n\tprimary: CompareBarsSource;\n\t/** Right / secondary source, rendered lighter — most commonly the planned / baseline value. */\n\tsecondary: CompareBarsSource;\n\t/** Variance shown in the pill. Defaults to `primary.value - secondary.value`. */\n\tvariance?: number;\n\t/** Density. `compact` (default) matches the ProgressComparison panel; `default` is a touch larger. */\n\tsize?: \"compact\" | \"default\";\n}\n\ninterface Sz {\n\tgap: string;\n\thero: string;\n\tpill: string;\n\tpillText: string;\n\tpillIcon: string;\n\tlegendText: string;\n\tlegendDot: string;\n\tbarGap: string;\n\tbar: string;\n}\n\nconst SIZES: Record<\"compact\" | \"default\", Sz> = {\n\tcompact: {\n\t\tgap: \"wwc:gap-2\",\n\t\thero: \"wwc:text-xl\",\n\t\tpill: \"wwc:gap-0.5 wwc:rounded wwc:px-1.5 wwc:py-0.5\",\n\t\tpillText: \"wwc:text-[11px]\",\n\t\tpillIcon: \"wwc:size-3\",\n\t\tlegendText: \"wwc:text-[10px]\",\n\t\tlegendDot: \"wwc:size-1.5\",\n\t\tbarGap: \"wwc:gap-0.5\",\n\t\tbar: \"wwc:h-2\",\n\t},\n\tdefault: {\n\t\tgap: \"wwc:gap-2.5\",\n\t\thero: \"wwc:text-2xl\",\n\t\tpill: \"wwc:gap-0.5 wwc:rounded wwc:px-2 wwc:py-0.5\",\n\t\tpillText: \"wwc:text-xs\",\n\t\tpillIcon: \"wwc:size-3.5\",\n\t\tlegendText: \"wwc:text-xs\",\n\t\tlegendDot: \"wwc:size-2\",\n\t\tbarGap: \"wwc:gap-1\",\n\t\tbar: \"wwc:h-2.5\",\n\t},\n};\n\n/**\n * The dual-bar comparison primitive: two hero percentages (primary vs secondary) with a variance pill\n * between them, a two-item legend, and a pair of stacked progress bars. This is the presentational core\n * shared by the `ProgressComparison` widget — use it directly when you just need the bars block without\n * the surrounding card/stats/header.\n */\nconst CompareBars = React.forwardRef<HTMLDivElement, CompareBarsProps>(\n\t({className, primary, secondary, variance, size = \"compact\", ...props}, ref) => {\n\t\tconst sz = SIZES[size];\n\t\tconst delta = variance ?? primary.value - secondary.value;\n\t\tconst negative = delta < 0;\n\t\tconst positive = delta > 0;\n\t\tconst TrendIcon = negative ? TrendingDown : TrendingUp;\n\t\tconst clamp = (v: number) => Math.min(100, Math.max(0, v));\n\t\treturn (\n\t\t\t<div ref={ref} className={cn(\"wwc:flex wwc:flex-col\", sz.gap, className)} {...props}>\n\t\t\t\t<div className=\"wwc:flex wwc:items-center wwc:justify-between wwc:gap-2\">\n\t\t\t\t\t<span className={cn(\"wwc:font-bold wwc:leading-none wwc:text-foreground\", sz.hero)}>{primary.value}%</span>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclassName={cn(\n\t\t\t\t\t\t\t\"wwc:flex wwc:items-center\",\n\t\t\t\t\t\t\tsz.pill,\n\t\t\t\t\t\t\tnegative\n\t\t\t\t\t\t\t\t? \"wwc:bg-destructive/10 wwc:text-destructive\"\n\t\t\t\t\t\t\t\t: positive\n\t\t\t\t\t\t\t\t\t? \"wwc:bg-emerald-50 wwc:text-emerald-600\"\n\t\t\t\t\t\t\t\t\t: \"wwc:bg-muted wwc:text-muted-foreground\",\n\t\t\t\t\t\t)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<TrendIcon className={sz.pillIcon} />\n\t\t\t\t\t\t<span className={cn(\"wwc:font-semibold\", sz.pillText)}>\n\t\t\t\t\t\t\t{delta > 0 ? \"+\" : \"\"}\n\t\t\t\t\t\t\t{delta}%\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t<span className={sz.pillText}>variance</span>\n\t\t\t\t\t</div>\n\t\t\t\t\t<span className={cn(\"wwc:font-bold wwc:leading-none wwc:text-zinc-500\", sz.hero)}>{secondary.value}%</span>\n\t\t\t\t</div>\n\n\t\t\t\t<div className=\"wwc:flex wwc:items-center wwc:justify-between\">\n\t\t\t\t\t<div className=\"wwc:flex wwc:items-center wwc:gap-1.5\">\n\t\t\t\t\t\t<span className={cn(\"wwc:rounded-sm wwc:bg-primary\", sz.legendDot)} />\n\t\t\t\t\t\t<span className={cn(\"wwc:text-foreground\", sz.legendText)}>{primary.label}</span>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div className=\"wwc:flex wwc:items-center wwc:gap-1.5\">\n\t\t\t\t\t\t<span className={cn(\"wwc:rounded-sm wwc:bg-zinc-500\", sz.legendDot)} />\n\t\t\t\t\t\t<span className={cn(\"wwc:text-zinc-500\", sz.legendText)}>{secondary.label}</span>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div className={cn(\"wwc:flex wwc:flex-col\", sz.barGap)}>\n\t\t\t\t\t<div className={cn(\"wwc:w-full wwc:overflow-hidden wwc:rounded-sm wwc:bg-muted\", sz.bar)}>\n\t\t\t\t\t\t<div className=\"wwc:h-full wwc:rounded-sm wwc:bg-primary\" style={{width: `${clamp(primary.value)}%`}} />\n\t\t\t\t\t</div>\n\t\t\t\t\t<div className={cn(\"wwc:w-full wwc:overflow-hidden wwc:rounded-sm wwc:bg-muted\", sz.bar)}>\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclassName=\"wwc:h-full wwc:rounded-sm wwc:bg-zinc-500/40\"\n\t\t\t\t\t\t\tstyle={{width: `${clamp(secondary.value)}%`}}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t},\n);\nCompareBars.displayName = \"CompareBars\";\n\nexport {CompareBars};\n"],"mappings":";;;;;AAmCA,MAAM,QAA2C;CAChD,SAAS;EACR,KAAK;EACL,MAAM;EACN,MAAM;EACN,UAAU;EACV,UAAU;EACV,YAAY;EACZ,WAAW;EACX,QAAQ;EACR,KAAK;CACN;CACA,SAAS;EACR,KAAK;EACL,MAAM;EACN,MAAM;EACN,UAAU;EACV,UAAU;EACV,YAAY;EACZ,WAAW;EACX,QAAQ;EACR,KAAK;CACN;AACD;;;;;;;AAQA,MAAM,cAAc,MAAM,YACxB,EAAC,WAAW,SAAS,WAAW,UAAU,OAAO,WAAW,GAAG,SAAQ,QAAQ;CAC/E,MAAM,KAAK,MAAM;CACjB,MAAM,QAAQ,YAAY,QAAQ,QAAQ,UAAU;CACpD,MAAM,WAAW,QAAQ;CACzB,MAAM,WAAW,QAAQ;CACzB,MAAM,YAAY,WAAW,eAAe;CAC5C,MAAM,SAAS,MAAc,KAAK,IAAI,KAAK,KAAK,IAAI,GAAG,CAAC,CAAC;CACzD,OACC,qBAAC,OAAD;EAAU;EAAK,WAAW,GAAG,yBAAyB,GAAG,KAAK,SAAS;EAAG,GAAI;EAA9E,UAAA;GACC,qBAAC,OAAD;IAAK,WAAU;IAAf,UAAA;KACC,qBAAC,QAAD;MAAM,WAAW,GAAG,sDAAsD,GAAG,IAAI;MAAjF,UAAA,CAAqF,QAAQ,OAAM,GAAO;;KAC1G,qBAAC,OAAD;MACC,WAAW,GACV,6BACA,GAAG,MACH,WACG,+CACA,WACC,2CACA,wCACL;MATD,UAAA;OAWC,oBAAC,WAAD,EAAW,WAAW,GAAG,SAAW,CAAA;OACpC,qBAAC,QAAD;QAAM,WAAW,GAAG,qBAAqB,GAAG,QAAQ;QAApD,UAAA;SACE,QAAQ,IAAI,MAAM;SAClB;SAAM;QACF;;OACN,oBAAC,QAAD;QAAM,WAAW,GAAG;QAAU,UAAA;OAAc,CAAA;MACxC;;KACL,qBAAC,QAAD;MAAM,WAAW,GAAG,oDAAoD,GAAG,IAAI;MAA/E,UAAA,CAAmF,UAAU,OAAM,GAAO;;IACtG;;GAEL,qBAAC,OAAD;IAAK,WAAU;IAAf,UAAA,CACC,qBAAC,OAAD;KAAK,WAAU;KAAf,UAAA,CACC,oBAAC,QAAD,EAAM,WAAW,GAAG,iCAAiC,GAAG,SAAS,EAAI,CAAA,GACrE,oBAAC,QAAD;MAAM,WAAW,GAAG,uBAAuB,GAAG,UAAU;MAAI,UAAA,QAAQ;KAAY,CAAA,CAC5E;IACL,CAAA,GAAA,qBAAC,OAAD;KAAK,WAAU;KAAf,UAAA,CACC,oBAAC,QAAD,EAAM,WAAW,GAAG,kCAAkC,GAAG,SAAS,EAAI,CAAA,GACtE,oBAAC,QAAD;MAAM,WAAW,GAAG,qBAAqB,GAAG,UAAU;MAAI,UAAA,UAAU;KAAY,CAAA,CAC5E;IACD,CAAA,CAAA;;GAEL,qBAAC,OAAD;IAAK,WAAW,GAAG,yBAAyB,GAAG,MAAM;IAArD,UAAA,CACC,oBAAC,OAAD;KAAK,WAAW,GAAG,8DAA8D,GAAG,GAAG;KACtF,UAAA,oBAAC,OAAD;MAAK,WAAU;MAA2C,OAAO,EAAC,OAAO,GAAG,MAAM,QAAQ,KAAK,EAAE,GAAE;KAAI,CAAA;IACnG,CAAA,GACL,oBAAC,OAAD;KAAK,WAAW,GAAG,8DAA8D,GAAG,GAAG;KACtF,UAAA,oBAAC,OAAD;MACC,WAAU;MACV,OAAO,EAAC,OAAO,GAAG,MAAM,UAAU,KAAK,EAAE,GAAE;KAC3C,CAAA;IACG,CAAA,CACD;;EACD;;AAEP,CACD;AACA,YAAY,cAAc"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
//#region src/compare-view.d.ts
|
|
3
|
+
/** How the two sources are compared. Mirrors the map toolbar's `SplitMode`. */
|
|
4
|
+
export type CompareMode = "side-by-side" | "swipe";
|
|
5
|
+
export interface CompareViewProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
6
|
+
/** First source (e.g. as-planned / yesterday). Fills the box; the two sources should be geo-aligned. */
|
|
7
|
+
before: React.ReactNode;
|
|
8
|
+
/** Second source (e.g. as-built / today). Omit to show `before` alone as a single pan/zoom map. */
|
|
9
|
+
after?: React.ReactNode;
|
|
10
|
+
/** `swipe` (default) overlays the two with a draggable reveal divider; `side-by-side` shows two panes. */
|
|
11
|
+
mode?: CompareMode;
|
|
12
|
+
/** Divider position as a percentage 0–100 (swipe mode). Controlled when provided. */
|
|
13
|
+
position?: number;
|
|
14
|
+
/** Uncontrolled starting divider position. Default 50. */
|
|
15
|
+
defaultPosition?: number;
|
|
16
|
+
/** Called with the new divider position while dragging. */
|
|
17
|
+
onPositionChange?: (position: number) => void;
|
|
18
|
+
/** Optional chip labels for each source. */
|
|
19
|
+
beforeLabel?: React.ReactNode;
|
|
20
|
+
afterLabel?: React.ReactNode;
|
|
21
|
+
/** Make the content pannable (drag) and zoomable (wheel). The two sources stay geo-aligned. */
|
|
22
|
+
interactive?: boolean;
|
|
23
|
+
/** Initial zoom (only when `interactive`). Default 1 (fit). */
|
|
24
|
+
defaultScale?: number;
|
|
25
|
+
/** Zoom bounds (only when `interactive`). Default 1 → 6. */
|
|
26
|
+
minScale?: number;
|
|
27
|
+
maxScale?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Side-by-side + interactive: when locked, both panes pan/zoom together in the same coordinates.
|
|
30
|
+
* Controlled when provided; the lock toggle sits on the dividing line.
|
|
31
|
+
*/
|
|
32
|
+
locked?: boolean;
|
|
33
|
+
defaultLocked?: boolean;
|
|
34
|
+
onLockedChange?: (locked: boolean) => void;
|
|
35
|
+
/** Reports the region currently visible (fractions 0–1 of the content) as it pans/zooms — feed a `MapMinimap`. */
|
|
36
|
+
onViewChange?: (view: {
|
|
37
|
+
x: number;
|
|
38
|
+
y: number;
|
|
39
|
+
width: number;
|
|
40
|
+
height: number;
|
|
41
|
+
}) => void;
|
|
42
|
+
/**
|
|
43
|
+
* Side-by-side only: reports the *after* pane's visible region when it moves independently of the
|
|
44
|
+
* *before* pane (i.e. while the divider lock is open) — feed a second `MapMinimap`.
|
|
45
|
+
*/
|
|
46
|
+
onViewChangeAfter?: (view: {
|
|
47
|
+
x: number;
|
|
48
|
+
y: number;
|
|
49
|
+
width: number;
|
|
50
|
+
height: number;
|
|
51
|
+
}) => void;
|
|
52
|
+
/** Imperative handle for driving the view (e.g. from a minimap): `.setCenter(x, y)` recenters on a fraction. */
|
|
53
|
+
viewControllerRef?: React.MutableRefObject<CompareViewApi | null>;
|
|
54
|
+
}
|
|
55
|
+
/** Imperative controls exposed via `viewControllerRef`. */
|
|
56
|
+
export interface CompareViewApi {
|
|
57
|
+
/** Recenter the view on a point given as fractions (0–1) of the content. */
|
|
58
|
+
setCenter: (x: number, y: number) => void;
|
|
59
|
+
/** Zoom about the center by a factor (>1 zooms in, <1 zooms out); clamped to the scale bounds. */
|
|
60
|
+
zoomBy: (factor: number) => void;
|
|
61
|
+
/** Side-by-side + unlocked: recenter the *after* pane on a fraction (0–1). Falls back to both panes when synced. */
|
|
62
|
+
setCenterAfter: (x: number, y: number) => void;
|
|
63
|
+
/** Side-by-side + unlocked: zoom the *after* pane about its center. Falls back to both panes when synced. */
|
|
64
|
+
zoomByAfter: (factor: number) => void;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Compares two geo-aligned sources. `swipe` stacks them and reveals more of one as you drag a
|
|
68
|
+
* center divider; `side-by-side` splits the box into two panes. With `interactive`, the content
|
|
69
|
+
* pans (drag) and zooms (wheel); in side-by-side a lock on the divider keeps both panes in sync.
|
|
70
|
+
* Pass any nodes (images, maps, canvases) for `before`/`after`.
|
|
71
|
+
*/
|
|
72
|
+
declare const CompareView: React.ForwardRefExoticComponent<CompareViewProps & React.RefAttributes<HTMLDivElement>>;
|
|
73
|
+
//#endregion
|
|
74
|
+
export { CompareView };
|
|
75
|
+
//# sourceMappingURL=compare-view.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compare-view.d.mts","names":[],"sources":["../src/compare-view.tsx"],"mappings":";;;YAKY;iBAEK,yBAAyB,KAAK,MAAM,eAAe;;EAEnE,QAAQ,MAAM;;EAEd,QAAQ,MAAM;;EAEd,OAAO;;EAEP;;EAEA;;EAEA,oBAAoB;;EAEpB,cAAc,MAAM;EACpB,aAAa,MAAM;;EAGnB;;EAEA;;EAEA;EACA;;;;;EAKA;EACA;EACA,kBAAkB;;EAGlB,gBAAgB;IAAO;IAAW;IAAW;IAAe;;;;;;EAK5D,qBAAqB;IAAO;IAAW;IAAW;IAAe;;;EAEjE,oBAAoB,MAAM,iBAAiB;;;iBAI3B;;EAEhB,YAAY,WAAW;;EAEvB,SAAS;;EAET,iBAAiB,WAAW;;EAE5B,cAAc;;;;;;;;cA8BT,aAAW,MAAA,0BAAA,mBAAA,MAAA,cAAA"}
|
|
@@ -0,0 +1,383 @@
|
|
|
1
|
+
import { cn } from "@corensystem/coren-utils";
|
|
2
|
+
import { ChevronLeft, ChevronRight, Lock, LockOpen } from "lucide-react";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
//#region src/compare-view.tsx
|
|
6
|
+
const clampPos = (n) => Math.min(100, Math.max(0, n));
|
|
7
|
+
function CornerLabel({ side, children }) {
|
|
8
|
+
return /* @__PURE__ */ jsx("span", {
|
|
9
|
+
className: cn("wwc:pointer-events-none wwc:absolute wwc:top-2 wwc:z-30 wwc:rounded-md wwc:bg-card/85 wwc:px-2 wwc:py-0.5 wwc:text-xs wwc:font-medium wwc:text-foreground wwc:shadow-sm wwc:backdrop-blur", side === "start" ? "wwc:left-2" : "wwc:right-2"),
|
|
10
|
+
children
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Compares two geo-aligned sources. `swipe` stacks them and reveals more of one as you drag a
|
|
15
|
+
* center divider; `side-by-side` splits the box into two panes. With `interactive`, the content
|
|
16
|
+
* pans (drag) and zooms (wheel); in side-by-side a lock on the divider keeps both panes in sync.
|
|
17
|
+
* Pass any nodes (images, maps, canvases) for `before`/`after`.
|
|
18
|
+
*/
|
|
19
|
+
const CompareView = React.forwardRef(({ className, before, after, mode = "swipe", position: positionProp, defaultPosition = 50, onPositionChange, beforeLabel, afterLabel, interactive = false, defaultScale = 1, minScale = 1, maxScale = 6, locked: lockedProp, defaultLocked = true, onLockedChange, onViewChange, onViewChangeAfter, viewControllerRef, ...rest }, ref) => {
|
|
20
|
+
const [posInternal, setPosInternal] = React.useState(defaultPosition);
|
|
21
|
+
const position = positionProp ?? posInternal;
|
|
22
|
+
const setPosition = (p) => {
|
|
23
|
+
if (positionProp === void 0) setPosInternal(p);
|
|
24
|
+
onPositionChange?.(p);
|
|
25
|
+
};
|
|
26
|
+
const [lockedInternal, setLockedInternal] = React.useState(defaultLocked);
|
|
27
|
+
const locked = lockedProp ?? lockedInternal;
|
|
28
|
+
const setLocked = (l) => {
|
|
29
|
+
if (lockedProp === void 0) setLockedInternal(l);
|
|
30
|
+
onLockedChange?.(l);
|
|
31
|
+
};
|
|
32
|
+
const init = {
|
|
33
|
+
x: 0,
|
|
34
|
+
y: 0,
|
|
35
|
+
scale: defaultScale
|
|
36
|
+
};
|
|
37
|
+
const [tA, setTA] = React.useState(init);
|
|
38
|
+
const [tB, setTB] = React.useState(init);
|
|
39
|
+
const vpA = React.useRef(null);
|
|
40
|
+
const vpB = React.useRef(null);
|
|
41
|
+
const dividerDrag = React.useRef(false);
|
|
42
|
+
const pan = React.useRef(null);
|
|
43
|
+
const live = React.useRef({
|
|
44
|
+
tA,
|
|
45
|
+
tB,
|
|
46
|
+
locked,
|
|
47
|
+
mode,
|
|
48
|
+
minScale,
|
|
49
|
+
maxScale,
|
|
50
|
+
interactive,
|
|
51
|
+
position
|
|
52
|
+
});
|
|
53
|
+
live.current = {
|
|
54
|
+
tA,
|
|
55
|
+
tB,
|
|
56
|
+
locked,
|
|
57
|
+
mode,
|
|
58
|
+
minScale,
|
|
59
|
+
maxScale,
|
|
60
|
+
interactive,
|
|
61
|
+
position
|
|
62
|
+
};
|
|
63
|
+
const clampX = React.useCallback((t, rect) => {
|
|
64
|
+
const { minScale: mn, maxScale: mx } = live.current;
|
|
65
|
+
const scale = Math.min(mx, Math.max(mn, t.scale));
|
|
66
|
+
const minX = Math.min(0, rect.width * (1 - scale));
|
|
67
|
+
const minY = Math.min(0, rect.height * (1 - scale));
|
|
68
|
+
return {
|
|
69
|
+
scale,
|
|
70
|
+
x: Math.min(0, Math.max(minX, t.x)),
|
|
71
|
+
y: Math.min(0, Math.max(minY, t.y))
|
|
72
|
+
};
|
|
73
|
+
}, []);
|
|
74
|
+
const commit = React.useCallback((side, t) => {
|
|
75
|
+
if (live.current.mode === "swipe" || live.current.locked) {
|
|
76
|
+
setTA(t);
|
|
77
|
+
setTB(t);
|
|
78
|
+
} else if (side === "a") setTA(t);
|
|
79
|
+
else setTB(t);
|
|
80
|
+
}, []);
|
|
81
|
+
const updateDivider = React.useCallback((clientX) => {
|
|
82
|
+
const rect = vpA.current?.getBoundingClientRect();
|
|
83
|
+
if (rect) setPosition(clampPos((clientX - rect.left) / rect.width * 100));
|
|
84
|
+
}, []);
|
|
85
|
+
React.useEffect(() => {
|
|
86
|
+
const move = (e) => {
|
|
87
|
+
if (dividerDrag.current) {
|
|
88
|
+
updateDivider(e.clientX);
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
const p = pan.current;
|
|
92
|
+
if (!p || !live.current.interactive) return;
|
|
93
|
+
const rect = (p.side === "a" ? vpA : vpB).current?.getBoundingClientRect();
|
|
94
|
+
if (!rect) return;
|
|
95
|
+
const cur = p.side === "a" ? live.current.tA : live.current.tB;
|
|
96
|
+
commit(p.side, clampX({
|
|
97
|
+
x: p.ox + (e.clientX - p.sx),
|
|
98
|
+
y: p.oy + (e.clientY - p.sy),
|
|
99
|
+
scale: cur.scale
|
|
100
|
+
}, rect));
|
|
101
|
+
};
|
|
102
|
+
const up = () => {
|
|
103
|
+
dividerDrag.current = false;
|
|
104
|
+
pan.current = null;
|
|
105
|
+
};
|
|
106
|
+
window.addEventListener("pointermove", move);
|
|
107
|
+
window.addEventListener("pointerup", up);
|
|
108
|
+
window.addEventListener("pointercancel", up);
|
|
109
|
+
return () => {
|
|
110
|
+
window.removeEventListener("pointermove", move);
|
|
111
|
+
window.removeEventListener("pointerup", up);
|
|
112
|
+
window.removeEventListener("pointercancel", up);
|
|
113
|
+
};
|
|
114
|
+
}, [
|
|
115
|
+
clampX,
|
|
116
|
+
commit,
|
|
117
|
+
updateDivider
|
|
118
|
+
]);
|
|
119
|
+
React.useEffect(() => {
|
|
120
|
+
if (!interactive) return;
|
|
121
|
+
const makeWheel = (side, el) => (e) => {
|
|
122
|
+
e.preventDefault();
|
|
123
|
+
const rect = el.getBoundingClientRect();
|
|
124
|
+
const cx = e.clientX - rect.left;
|
|
125
|
+
const cy = e.clientY - rect.top;
|
|
126
|
+
const cur = side === "a" ? live.current.tA : live.current.tB;
|
|
127
|
+
const factor = e.deltaY < 0 ? 1.15 : 1 / 1.15;
|
|
128
|
+
const scale = Math.min(live.current.maxScale, Math.max(live.current.minScale, cur.scale * factor));
|
|
129
|
+
const k = scale / cur.scale;
|
|
130
|
+
commit(side, clampX({
|
|
131
|
+
x: cx - (cx - cur.x) * k,
|
|
132
|
+
y: cy - (cy - cur.y) * k,
|
|
133
|
+
scale
|
|
134
|
+
}, rect));
|
|
135
|
+
};
|
|
136
|
+
const attached = [];
|
|
137
|
+
if (vpA.current) {
|
|
138
|
+
const h = makeWheel("a", vpA.current);
|
|
139
|
+
vpA.current.addEventListener("wheel", h, { passive: false });
|
|
140
|
+
attached.push([vpA.current, h]);
|
|
141
|
+
}
|
|
142
|
+
if (mode === "side-by-side" && vpB.current) {
|
|
143
|
+
const h = makeWheel("b", vpB.current);
|
|
144
|
+
vpB.current.addEventListener("wheel", h, { passive: false });
|
|
145
|
+
attached.push([vpB.current, h]);
|
|
146
|
+
}
|
|
147
|
+
return () => attached.forEach(([el, h]) => el.removeEventListener("wheel", h));
|
|
148
|
+
}, [
|
|
149
|
+
interactive,
|
|
150
|
+
mode,
|
|
151
|
+
clampX,
|
|
152
|
+
commit
|
|
153
|
+
]);
|
|
154
|
+
React.useEffect(() => {
|
|
155
|
+
if (!onViewChange) return;
|
|
156
|
+
const rect = vpA.current?.getBoundingClientRect();
|
|
157
|
+
if (!rect || !rect.width || !rect.height) return;
|
|
158
|
+
onViewChange({
|
|
159
|
+
x: -tA.x / (rect.width * tA.scale),
|
|
160
|
+
y: -tA.y / (rect.height * tA.scale),
|
|
161
|
+
width: 1 / tA.scale,
|
|
162
|
+
height: 1 / tA.scale
|
|
163
|
+
});
|
|
164
|
+
}, [tA, onViewChange]);
|
|
165
|
+
React.useEffect(() => {
|
|
166
|
+
if (!onViewChangeAfter || mode !== "side-by-side") return;
|
|
167
|
+
const rect = vpB.current?.getBoundingClientRect();
|
|
168
|
+
if (!rect || !rect.width || !rect.height) return;
|
|
169
|
+
onViewChangeAfter({
|
|
170
|
+
x: -tB.x / (rect.width * tB.scale),
|
|
171
|
+
y: -tB.y / (rect.height * tB.scale),
|
|
172
|
+
width: 1 / tB.scale,
|
|
173
|
+
height: 1 / tB.scale
|
|
174
|
+
});
|
|
175
|
+
}, [
|
|
176
|
+
tB,
|
|
177
|
+
onViewChangeAfter,
|
|
178
|
+
mode
|
|
179
|
+
]);
|
|
180
|
+
React.useEffect(() => {
|
|
181
|
+
if (!viewControllerRef) return;
|
|
182
|
+
viewControllerRef.current = {
|
|
183
|
+
setCenter: (cx, cy) => {
|
|
184
|
+
const rect = vpA.current?.getBoundingClientRect();
|
|
185
|
+
if (!rect) return;
|
|
186
|
+
const s = live.current.tA.scale;
|
|
187
|
+
commit("a", clampX({
|
|
188
|
+
x: rect.width / 2 - cx * rect.width * s,
|
|
189
|
+
y: rect.height / 2 - cy * rect.height * s,
|
|
190
|
+
scale: s
|
|
191
|
+
}, rect));
|
|
192
|
+
},
|
|
193
|
+
zoomBy: (factor) => {
|
|
194
|
+
const rect = vpA.current?.getBoundingClientRect();
|
|
195
|
+
if (!rect) return;
|
|
196
|
+
const cur = live.current.tA;
|
|
197
|
+
const scale = Math.min(live.current.maxScale, Math.max(live.current.minScale, cur.scale * factor));
|
|
198
|
+
const k = scale / cur.scale;
|
|
199
|
+
const cx = rect.width / 2;
|
|
200
|
+
const cy = rect.height / 2;
|
|
201
|
+
commit("a", clampX({
|
|
202
|
+
x: cx - (cx - cur.x) * k,
|
|
203
|
+
y: cy - (cy - cur.y) * k,
|
|
204
|
+
scale
|
|
205
|
+
}, rect));
|
|
206
|
+
},
|
|
207
|
+
setCenterAfter: (cx, cy) => {
|
|
208
|
+
const rect = vpB.current?.getBoundingClientRect();
|
|
209
|
+
if (!rect) return;
|
|
210
|
+
const s = live.current.tB.scale;
|
|
211
|
+
commit("b", clampX({
|
|
212
|
+
x: rect.width / 2 - cx * rect.width * s,
|
|
213
|
+
y: rect.height / 2 - cy * rect.height * s,
|
|
214
|
+
scale: s
|
|
215
|
+
}, rect));
|
|
216
|
+
},
|
|
217
|
+
zoomByAfter: (factor) => {
|
|
218
|
+
const rect = vpB.current?.getBoundingClientRect();
|
|
219
|
+
if (!rect) return;
|
|
220
|
+
const cur = live.current.tB;
|
|
221
|
+
const scale = Math.min(live.current.maxScale, Math.max(live.current.minScale, cur.scale * factor));
|
|
222
|
+
const k = scale / cur.scale;
|
|
223
|
+
const cx = rect.width / 2;
|
|
224
|
+
const cy = rect.height / 2;
|
|
225
|
+
commit("b", clampX({
|
|
226
|
+
x: cx - (cx - cur.x) * k,
|
|
227
|
+
y: cy - (cy - cur.y) * k,
|
|
228
|
+
scale
|
|
229
|
+
}, rect));
|
|
230
|
+
}
|
|
231
|
+
};
|
|
232
|
+
return () => {
|
|
233
|
+
if (viewControllerRef) viewControllerRef.current = null;
|
|
234
|
+
};
|
|
235
|
+
}, [
|
|
236
|
+
viewControllerRef,
|
|
237
|
+
clampX,
|
|
238
|
+
commit
|
|
239
|
+
]);
|
|
240
|
+
const xf = (t) => ({
|
|
241
|
+
transform: `translate(${t.x}px, ${t.y}px) scale(${t.scale})`,
|
|
242
|
+
transformOrigin: "0 0"
|
|
243
|
+
});
|
|
244
|
+
const startPan = (side) => (e) => {
|
|
245
|
+
if (!interactive) return;
|
|
246
|
+
const cur = side === "a" ? tA : tB;
|
|
247
|
+
pan.current = {
|
|
248
|
+
side,
|
|
249
|
+
sx: e.clientX,
|
|
250
|
+
sy: e.clientY,
|
|
251
|
+
ox: cur.x,
|
|
252
|
+
oy: cur.y
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
const paneInteractive = interactive ? "wwc:cursor-grab wwc:touch-none wwc:active:cursor-grabbing" : "";
|
|
256
|
+
if (after == null) return /* @__PURE__ */ jsxs("div", {
|
|
257
|
+
ref,
|
|
258
|
+
className: cn("wwc:relative wwc:h-full wwc:w-full wwc:overflow-hidden", className),
|
|
259
|
+
...rest,
|
|
260
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
261
|
+
ref: vpA,
|
|
262
|
+
onPointerDown: startPan("a"),
|
|
263
|
+
className: cn("wwc:absolute wwc:inset-0", paneInteractive),
|
|
264
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
265
|
+
className: "wwc:absolute wwc:inset-0",
|
|
266
|
+
style: interactive ? xf(tA) : void 0,
|
|
267
|
+
children: before
|
|
268
|
+
})
|
|
269
|
+
}), beforeLabel != null && /* @__PURE__ */ jsx(CornerLabel, {
|
|
270
|
+
side: "start",
|
|
271
|
+
children: beforeLabel
|
|
272
|
+
})]
|
|
273
|
+
});
|
|
274
|
+
if (mode === "side-by-side") return /* @__PURE__ */ jsxs("div", {
|
|
275
|
+
ref,
|
|
276
|
+
className: cn("wwc:relative wwc:grid wwc:h-full wwc:w-full wwc:grid-cols-2 wwc:overflow-hidden", className),
|
|
277
|
+
...rest,
|
|
278
|
+
children: [
|
|
279
|
+
/* @__PURE__ */ jsxs("div", {
|
|
280
|
+
ref: vpA,
|
|
281
|
+
onPointerDown: startPan("a"),
|
|
282
|
+
className: cn("wwc:relative wwc:overflow-hidden wwc:border-r wwc:border-border", paneInteractive),
|
|
283
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
284
|
+
className: "wwc:absolute wwc:inset-0",
|
|
285
|
+
style: interactive ? xf(tA) : void 0,
|
|
286
|
+
children: before
|
|
287
|
+
}), beforeLabel != null && /* @__PURE__ */ jsx(CornerLabel, {
|
|
288
|
+
side: "start",
|
|
289
|
+
children: beforeLabel
|
|
290
|
+
})]
|
|
291
|
+
}),
|
|
292
|
+
/* @__PURE__ */ jsxs("div", {
|
|
293
|
+
ref: vpB,
|
|
294
|
+
onPointerDown: startPan("b"),
|
|
295
|
+
className: cn("wwc:relative wwc:overflow-hidden", paneInteractive),
|
|
296
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
297
|
+
className: "wwc:absolute wwc:inset-0",
|
|
298
|
+
style: interactive ? xf(tB) : void 0,
|
|
299
|
+
children: after
|
|
300
|
+
}), afterLabel != null && /* @__PURE__ */ jsx(CornerLabel, {
|
|
301
|
+
side: "end",
|
|
302
|
+
children: afterLabel
|
|
303
|
+
})]
|
|
304
|
+
}),
|
|
305
|
+
interactive && /* @__PURE__ */ jsx("button", {
|
|
306
|
+
type: "button",
|
|
307
|
+
onClick: () => setLocked(!locked),
|
|
308
|
+
"aria-pressed": locked,
|
|
309
|
+
title: locked ? "Panning & zoom are synced — click to unlock" : "Panes move independently — click to sync",
|
|
310
|
+
className: "wwc:absolute wwc:left-1/2 wwc:top-1/2 wwc:z-30 wwc:flex wwc:h-8 wwc:w-8 wwc:-translate-x-1/2 wwc:-translate-y-1/2 wwc:items-center wwc:justify-center wwc:rounded-full wwc:border wwc:border-border wwc:bg-card wwc:text-foreground wwc:shadow-md wwc:transition-colors wwc:hover:bg-accent wwc:focus-visible:outline-none wwc:focus-visible:ring-2 wwc:focus-visible:ring-ring",
|
|
311
|
+
children: locked ? /* @__PURE__ */ jsx(Lock, { className: "wwc:h-4 wwc:w-4" }) : /* @__PURE__ */ jsx(LockOpen, { className: "wwc:h-4 wwc:w-4 wwc:text-muted-foreground" })
|
|
312
|
+
})
|
|
313
|
+
]
|
|
314
|
+
});
|
|
315
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
316
|
+
ref,
|
|
317
|
+
className: cn("wwc:relative wwc:h-full wwc:w-full wwc:select-none wwc:overflow-hidden", className),
|
|
318
|
+
...rest,
|
|
319
|
+
children: [
|
|
320
|
+
/* @__PURE__ */ jsx("div", {
|
|
321
|
+
ref: vpA,
|
|
322
|
+
onPointerDown: startPan("a"),
|
|
323
|
+
className: cn("wwc:absolute wwc:inset-0", paneInteractive),
|
|
324
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
325
|
+
className: "wwc:absolute wwc:inset-0",
|
|
326
|
+
style: interactive ? xf(tA) : void 0,
|
|
327
|
+
children: after
|
|
328
|
+
})
|
|
329
|
+
}),
|
|
330
|
+
/* @__PURE__ */ jsx("div", {
|
|
331
|
+
className: "wwc:pointer-events-none wwc:absolute wwc:inset-0",
|
|
332
|
+
style: { clipPath: `inset(0 ${100 - position}% 0 0)` },
|
|
333
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
334
|
+
className: "wwc:absolute wwc:inset-0",
|
|
335
|
+
style: interactive ? xf(tA) : void 0,
|
|
336
|
+
children: before
|
|
337
|
+
})
|
|
338
|
+
}),
|
|
339
|
+
beforeLabel != null && /* @__PURE__ */ jsx(CornerLabel, {
|
|
340
|
+
side: "start",
|
|
341
|
+
children: beforeLabel
|
|
342
|
+
}),
|
|
343
|
+
afterLabel != null && /* @__PURE__ */ jsx(CornerLabel, {
|
|
344
|
+
side: "end",
|
|
345
|
+
children: afterLabel
|
|
346
|
+
}),
|
|
347
|
+
/* @__PURE__ */ jsxs("div", {
|
|
348
|
+
className: "wwc:absolute wwc:inset-y-0 wwc:z-30 wwc:flex wwc:w-5 wwc:-translate-x-1/2 wwc:cursor-ew-resize wwc:touch-none wwc:items-center wwc:justify-center",
|
|
349
|
+
style: { left: `${position}%` },
|
|
350
|
+
onPointerDown: (e) => {
|
|
351
|
+
e.stopPropagation();
|
|
352
|
+
dividerDrag.current = true;
|
|
353
|
+
updateDivider(e.clientX);
|
|
354
|
+
},
|
|
355
|
+
children: [/* @__PURE__ */ jsx("div", { className: "wwc:h-full wwc:w-0.5 wwc:bg-white wwc:shadow-[0_0_0_1px_rgba(0,0,0,0.25)]" }), /* @__PURE__ */ jsxs("button", {
|
|
356
|
+
type: "button",
|
|
357
|
+
role: "slider",
|
|
358
|
+
"aria-label": "Drag to compare",
|
|
359
|
+
"aria-orientation": "vertical",
|
|
360
|
+
"aria-valuemin": 0,
|
|
361
|
+
"aria-valuemax": 100,
|
|
362
|
+
"aria-valuenow": Math.round(position),
|
|
363
|
+
onKeyDown: (e) => {
|
|
364
|
+
if (e.key === "ArrowLeft") {
|
|
365
|
+
e.preventDefault();
|
|
366
|
+
setPosition(clampPos(position - 2));
|
|
367
|
+
} else if (e.key === "ArrowRight") {
|
|
368
|
+
e.preventDefault();
|
|
369
|
+
setPosition(clampPos(position + 2));
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
className: "wwc:absolute wwc:left-1/2 wwc:top-1/2 wwc:flex wwc:h-9 wwc:w-9 wwc:-translate-x-1/2 wwc:-translate-y-1/2 wwc:items-center wwc:justify-center wwc:rounded-full wwc:border wwc:border-border wwc:bg-card wwc:text-foreground wwc:shadow-md wwc:focus-visible:outline-none wwc:focus-visible:ring-2 wwc:focus-visible:ring-ring",
|
|
373
|
+
children: [/* @__PURE__ */ jsx(ChevronLeft, { className: "wwc:-mr-1 wwc:h-3.5 wwc:w-3.5" }), /* @__PURE__ */ jsx(ChevronRight, { className: "wwc:-ml-1 wwc:h-3.5 wwc:w-3.5" })]
|
|
374
|
+
})]
|
|
375
|
+
})
|
|
376
|
+
]
|
|
377
|
+
});
|
|
378
|
+
});
|
|
379
|
+
CompareView.displayName = "CompareView";
|
|
380
|
+
//#endregion
|
|
381
|
+
export { CompareView };
|
|
382
|
+
|
|
383
|
+
//# sourceMappingURL=compare-view.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compare-view.mjs","names":[],"sources":["../src/compare-view.tsx"],"sourcesContent":["import {cn} from \"@corensystem/coren-utils\";\nimport {ChevronLeft, ChevronRight, Lock, LockOpen} from \"lucide-react\";\nimport * as React from \"react\";\n\n/** How the two sources are compared. Mirrors the map toolbar's `SplitMode`. */\nexport type CompareMode = \"side-by-side\" | \"swipe\";\n\nexport interface CompareViewProps extends Omit<React.HTMLAttributes<HTMLDivElement>, \"onChange\"> {\n\t/** First source (e.g. as-planned / yesterday). Fills the box; the two sources should be geo-aligned. */\n\tbefore: React.ReactNode;\n\t/** Second source (e.g. as-built / today). Omit to show `before` alone as a single pan/zoom map. */\n\tafter?: React.ReactNode;\n\t/** `swipe` (default) overlays the two with a draggable reveal divider; `side-by-side` shows two panes. */\n\tmode?: CompareMode;\n\t/** Divider position as a percentage 0–100 (swipe mode). Controlled when provided. */\n\tposition?: number;\n\t/** Uncontrolled starting divider position. Default 50. */\n\tdefaultPosition?: number;\n\t/** Called with the new divider position while dragging. */\n\tonPositionChange?: (position: number) => void;\n\t/** Optional chip labels for each source. */\n\tbeforeLabel?: React.ReactNode;\n\tafterLabel?: React.ReactNode;\n\n\t/** Make the content pannable (drag) and zoomable (wheel). The two sources stay geo-aligned. */\n\tinteractive?: boolean;\n\t/** Initial zoom (only when `interactive`). Default 1 (fit). */\n\tdefaultScale?: number;\n\t/** Zoom bounds (only when `interactive`). Default 1 → 6. */\n\tminScale?: number;\n\tmaxScale?: number;\n\t/**\n\t * Side-by-side + interactive: when locked, both panes pan/zoom together in the same coordinates.\n\t * Controlled when provided; the lock toggle sits on the dividing line.\n\t */\n\tlocked?: boolean;\n\tdefaultLocked?: boolean;\n\tonLockedChange?: (locked: boolean) => void;\n\n\t/** Reports the region currently visible (fractions 0–1 of the content) as it pans/zooms — feed a `MapMinimap`. */\n\tonViewChange?: (view: {x: number; y: number; width: number; height: number}) => void;\n\t/**\n\t * Side-by-side only: reports the *after* pane's visible region when it moves independently of the\n\t * *before* pane (i.e. while the divider lock is open) — feed a second `MapMinimap`.\n\t */\n\tonViewChangeAfter?: (view: {x: number; y: number; width: number; height: number}) => void;\n\t/** Imperative handle for driving the view (e.g. from a minimap): `.setCenter(x, y)` recenters on a fraction. */\n\tviewControllerRef?: React.MutableRefObject<CompareViewApi | null>;\n}\n\n/** Imperative controls exposed via `viewControllerRef`. */\nexport interface CompareViewApi {\n\t/** Recenter the view on a point given as fractions (0–1) of the content. */\n\tsetCenter: (x: number, y: number) => void;\n\t/** Zoom about the center by a factor (>1 zooms in, <1 zooms out); clamped to the scale bounds. */\n\tzoomBy: (factor: number) => void;\n\t/** Side-by-side + unlocked: recenter the *after* pane on a fraction (0–1). Falls back to both panes when synced. */\n\tsetCenterAfter: (x: number, y: number) => void;\n\t/** Side-by-side + unlocked: zoom the *after* pane about its center. Falls back to both panes when synced. */\n\tzoomByAfter: (factor: number) => void;\n}\n\ninterface XForm {\n\tx: number;\n\ty: number;\n\tscale: number;\n}\n\nconst clampPos = (n: number) => Math.min(100, Math.max(0, n));\n\nfunction CornerLabel({side, children}: {side: \"start\" | \"end\"; children: React.ReactNode}) {\n\treturn (\n\t\t<span\n\t\t\tclassName={cn(\n\t\t\t\t\"wwc:pointer-events-none wwc:absolute wwc:top-2 wwc:z-30 wwc:rounded-md wwc:bg-card/85 wwc:px-2 wwc:py-0.5 wwc:text-xs wwc:font-medium wwc:text-foreground wwc:shadow-sm wwc:backdrop-blur\",\n\t\t\t\tside === \"start\" ? \"wwc:left-2\" : \"wwc:right-2\",\n\t\t\t)}\n\t\t>\n\t\t\t{children}\n\t\t</span>\n\t);\n}\n\n/**\n * Compares two geo-aligned sources. `swipe` stacks them and reveals more of one as you drag a\n * center divider; `side-by-side` splits the box into two panes. With `interactive`, the content\n * pans (drag) and zooms (wheel); in side-by-side a lock on the divider keeps both panes in sync.\n * Pass any nodes (images, maps, canvases) for `before`/`after`.\n */\nconst CompareView = React.forwardRef<HTMLDivElement, CompareViewProps>(\n\t(\n\t\t{\n\t\t\tclassName,\n\t\t\tbefore,\n\t\t\tafter,\n\t\t\tmode = \"swipe\",\n\t\t\tposition: positionProp,\n\t\t\tdefaultPosition = 50,\n\t\t\tonPositionChange,\n\t\t\tbeforeLabel,\n\t\t\tafterLabel,\n\t\t\tinteractive = false,\n\t\t\tdefaultScale = 1,\n\t\t\tminScale = 1,\n\t\t\tmaxScale = 6,\n\t\t\tlocked: lockedProp,\n\t\t\tdefaultLocked = true,\n\t\t\tonLockedChange,\n\t\t\tonViewChange,\n\t\t\tonViewChangeAfter,\n\t\t\tviewControllerRef,\n\t\t\t...rest\n\t\t},\n\t\tref,\n\t) => {\n\t\t// divider position (controlled/uncontrolled)\n\t\tconst [posInternal, setPosInternal] = React.useState(defaultPosition);\n\t\tconst position = positionProp ?? posInternal;\n\t\tconst setPosition = (p: number) => {\n\t\t\tif (positionProp === undefined) setPosInternal(p);\n\t\t\tonPositionChange?.(p);\n\t\t};\n\n\t\t// lock (controlled/uncontrolled)\n\t\tconst [lockedInternal, setLockedInternal] = React.useState(defaultLocked);\n\t\tconst locked = lockedProp ?? lockedInternal;\n\t\tconst setLocked = (l: boolean) => {\n\t\t\tif (lockedProp === undefined) setLockedInternal(l);\n\t\t\tonLockedChange?.(l);\n\t\t};\n\n\t\t// pan/zoom transforms per pane\n\t\tconst init: XForm = {x: 0, y: 0, scale: defaultScale};\n\t\tconst [tA, setTA] = React.useState<XForm>(init);\n\t\tconst [tB, setTB] = React.useState<XForm>(init);\n\n\t\tconst vpA = React.useRef<HTMLDivElement | null>(null);\n\t\tconst vpB = React.useRef<HTMLDivElement | null>(null);\n\t\tconst dividerDrag = React.useRef(false);\n\t\tconst pan = React.useRef<{side: \"a\" | \"b\"; sx: number; sy: number; ox: number; oy: number} | null>(null);\n\n\t\t// Latest values for the once-attached window/native listeners.\n\t\tconst live = React.useRef({tA, tB, locked, mode, minScale, maxScale, interactive, position});\n\t\tlive.current = {tA, tB, locked, mode, minScale, maxScale, interactive, position};\n\n\t\tconst clampX = React.useCallback((t: XForm, rect: DOMRect): XForm => {\n\t\t\tconst {minScale: mn, maxScale: mx} = live.current;\n\t\t\tconst scale = Math.min(mx, Math.max(mn, t.scale));\n\t\t\tconst minX = Math.min(0, rect.width * (1 - scale));\n\t\t\tconst minY = Math.min(0, rect.height * (1 - scale));\n\t\t\treturn {scale, x: Math.min(0, Math.max(minX, t.x)), y: Math.min(0, Math.max(minY, t.y))};\n\t\t}, []);\n\n\t\tconst commit = React.useCallback((side: \"a\" | \"b\", t: XForm) => {\n\t\t\tif (live.current.mode === \"swipe\" || live.current.locked) {\n\t\t\t\tsetTA(t);\n\t\t\t\tsetTB(t);\n\t\t\t} else if (side === \"a\") setTA(t);\n\t\t\telse setTB(t);\n\t\t}, []);\n\n\t\tconst updateDivider = React.useCallback((clientX: number) => {\n\t\t\tconst rect = vpA.current?.getBoundingClientRect();\n\t\t\tif (rect) setPosition(clampPos(((clientX - rect.left) / rect.width) * 100));\n\t\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t\t}, []);\n\n\t\t// window pointer handlers (attached once): divider drag + content pan\n\t\tReact.useEffect(() => {\n\t\t\tconst move = (e: PointerEvent) => {\n\t\t\t\tif (dividerDrag.current) {\n\t\t\t\t\tupdateDivider(e.clientX);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst p = pan.current;\n\t\t\t\tif (!p || !live.current.interactive) return;\n\t\t\t\tconst rect = (p.side === \"a\" ? vpA : vpB).current?.getBoundingClientRect();\n\t\t\t\tif (!rect) return;\n\t\t\t\tconst cur = p.side === \"a\" ? live.current.tA : live.current.tB;\n\t\t\t\tcommit(p.side, clampX({x: p.ox + (e.clientX - p.sx), y: p.oy + (e.clientY - p.sy), scale: cur.scale}, rect));\n\t\t\t};\n\t\t\tconst up = () => {\n\t\t\t\tdividerDrag.current = false;\n\t\t\t\tpan.current = null;\n\t\t\t};\n\t\t\twindow.addEventListener(\"pointermove\", move);\n\t\t\twindow.addEventListener(\"pointerup\", up);\n\t\t\twindow.addEventListener(\"pointercancel\", up);\n\t\t\treturn () => {\n\t\t\t\twindow.removeEventListener(\"pointermove\", move);\n\t\t\t\twindow.removeEventListener(\"pointerup\", up);\n\t\t\t\twindow.removeEventListener(\"pointercancel\", up);\n\t\t\t};\n\t\t}, [clampX, commit, updateDivider]);\n\n\t\t// native wheel-to-zoom (non-passive so we can preventDefault)\n\t\tReact.useEffect(() => {\n\t\t\tif (!interactive) return;\n\t\t\tconst makeWheel = (side: \"a\" | \"b\", el: HTMLDivElement) => (e: WheelEvent) => {\n\t\t\t\te.preventDefault();\n\t\t\t\tconst rect = el.getBoundingClientRect();\n\t\t\t\tconst cx = e.clientX - rect.left;\n\t\t\t\tconst cy = e.clientY - rect.top;\n\t\t\t\tconst cur = side === \"a\" ? live.current.tA : live.current.tB;\n\t\t\t\tconst factor = e.deltaY < 0 ? 1.15 : 1 / 1.15;\n\t\t\t\tconst scale = Math.min(live.current.maxScale, Math.max(live.current.minScale, cur.scale * factor));\n\t\t\t\tconst k = scale / cur.scale;\n\t\t\t\tcommit(side, clampX({x: cx - (cx - cur.x) * k, y: cy - (cy - cur.y) * k, scale}, rect));\n\t\t\t};\n\t\t\tconst attached: Array<[HTMLDivElement, (e: WheelEvent) => void]> = [];\n\t\t\tif (vpA.current) {\n\t\t\t\tconst h = makeWheel(\"a\", vpA.current);\n\t\t\t\tvpA.current.addEventListener(\"wheel\", h, {passive: false});\n\t\t\t\tattached.push([vpA.current, h]);\n\t\t\t}\n\t\t\tif (mode === \"side-by-side\" && vpB.current) {\n\t\t\t\tconst h = makeWheel(\"b\", vpB.current);\n\t\t\t\tvpB.current.addEventListener(\"wheel\", h, {passive: false});\n\t\t\t\tattached.push([vpB.current, h]);\n\t\t\t}\n\t\t\treturn () => attached.forEach(([el, h]) => el.removeEventListener(\"wheel\", h));\n\t\t}, [interactive, mode, clampX, commit]);\n\n\t\t// Report the visible region (fractions of the content) whenever the primary view changes.\n\t\tReact.useEffect(() => {\n\t\t\tif (!onViewChange) return;\n\t\t\tconst rect = vpA.current?.getBoundingClientRect();\n\t\t\tif (!rect || !rect.width || !rect.height) return;\n\t\t\tonViewChange({\n\t\t\t\tx: -tA.x / (rect.width * tA.scale),\n\t\t\t\ty: -tA.y / (rect.height * tA.scale),\n\t\t\t\twidth: 1 / tA.scale,\n\t\t\t\theight: 1 / tA.scale,\n\t\t\t});\n\t\t}, [tA, onViewChange]);\n\n\t\t// Report the after pane's region (side-by-side only) so a second minimap can track it independently.\n\t\tReact.useEffect(() => {\n\t\t\tif (!onViewChangeAfter || mode !== \"side-by-side\") return;\n\t\t\tconst rect = vpB.current?.getBoundingClientRect();\n\t\t\tif (!rect || !rect.width || !rect.height) return;\n\t\t\tonViewChangeAfter({\n\t\t\t\tx: -tB.x / (rect.width * tB.scale),\n\t\t\t\ty: -tB.y / (rect.height * tB.scale),\n\t\t\t\twidth: 1 / tB.scale,\n\t\t\t\theight: 1 / tB.scale,\n\t\t\t});\n\t\t}, [tB, onViewChangeAfter, mode]);\n\n\t\t// Imperative handle for external navigation (e.g. a minimap): recenter on a content fraction.\n\t\tReact.useEffect(() => {\n\t\t\tif (!viewControllerRef) return;\n\t\t\tviewControllerRef.current = {\n\t\t\t\tsetCenter: (cx, cy) => {\n\t\t\t\t\tconst rect = vpA.current?.getBoundingClientRect();\n\t\t\t\t\tif (!rect) return;\n\t\t\t\t\tconst s = live.current.tA.scale;\n\t\t\t\t\tcommit(\n\t\t\t\t\t\t\"a\",\n\t\t\t\t\t\tclampX(\n\t\t\t\t\t\t\t{x: rect.width / 2 - cx * rect.width * s, y: rect.height / 2 - cy * rect.height * s, scale: s},\n\t\t\t\t\t\t\trect,\n\t\t\t\t\t\t),\n\t\t\t\t\t);\n\t\t\t\t},\n\t\t\t\tzoomBy: (factor) => {\n\t\t\t\t\tconst rect = vpA.current?.getBoundingClientRect();\n\t\t\t\t\tif (!rect) return;\n\t\t\t\t\tconst cur = live.current.tA;\n\t\t\t\t\tconst scale = Math.min(live.current.maxScale, Math.max(live.current.minScale, cur.scale * factor));\n\t\t\t\t\tconst k = scale / cur.scale;\n\t\t\t\t\tconst cx = rect.width / 2;\n\t\t\t\t\tconst cy = rect.height / 2;\n\t\t\t\t\tcommit(\"a\", clampX({x: cx - (cx - cur.x) * k, y: cy - (cy - cur.y) * k, scale}, rect));\n\t\t\t\t},\n\t\t\t\tsetCenterAfter: (cx, cy) => {\n\t\t\t\t\tconst rect = vpB.current?.getBoundingClientRect();\n\t\t\t\t\tif (!rect) return;\n\t\t\t\t\tconst s = live.current.tB.scale;\n\t\t\t\t\tcommit(\n\t\t\t\t\t\t\"b\",\n\t\t\t\t\t\tclampX(\n\t\t\t\t\t\t\t{x: rect.width / 2 - cx * rect.width * s, y: rect.height / 2 - cy * rect.height * s, scale: s},\n\t\t\t\t\t\t\trect,\n\t\t\t\t\t\t),\n\t\t\t\t\t);\n\t\t\t\t},\n\t\t\t\tzoomByAfter: (factor) => {\n\t\t\t\t\tconst rect = vpB.current?.getBoundingClientRect();\n\t\t\t\t\tif (!rect) return;\n\t\t\t\t\tconst cur = live.current.tB;\n\t\t\t\t\tconst scale = Math.min(live.current.maxScale, Math.max(live.current.minScale, cur.scale * factor));\n\t\t\t\t\tconst k = scale / cur.scale;\n\t\t\t\t\tconst cx = rect.width / 2;\n\t\t\t\t\tconst cy = rect.height / 2;\n\t\t\t\t\tcommit(\"b\", clampX({x: cx - (cx - cur.x) * k, y: cy - (cy - cur.y) * k, scale}, rect));\n\t\t\t\t},\n\t\t\t};\n\t\t\treturn () => {\n\t\t\t\tif (viewControllerRef) viewControllerRef.current = null;\n\t\t\t};\n\t\t}, [viewControllerRef, clampX, commit]);\n\n\t\tconst xf = (t: XForm): React.CSSProperties => ({\n\t\t\ttransform: `translate(${t.x}px, ${t.y}px) scale(${t.scale})`,\n\t\t\ttransformOrigin: \"0 0\",\n\t\t});\n\t\tconst startPan = (side: \"a\" | \"b\") => (e: React.PointerEvent) => {\n\t\t\tif (!interactive) return;\n\t\t\tconst cur = side === \"a\" ? tA : tB;\n\t\t\tpan.current = {side, sx: e.clientX, sy: e.clientY, ox: cur.x, oy: cur.y};\n\t\t};\n\t\tconst paneInteractive = interactive ? \"wwc:cursor-grab wwc:touch-none wwc:active:cursor-grabbing\" : \"\";\n\n\t\t// No second source → a single pan/zoom map (no divider, no panes).\n\t\tif (after == null) {\n\t\t\treturn (\n\t\t\t\t<div ref={ref} className={cn(\"wwc:relative wwc:h-full wwc:w-full wwc:overflow-hidden\", className)} {...rest}>\n\t\t\t\t\t<div ref={vpA} onPointerDown={startPan(\"a\")} className={cn(\"wwc:absolute wwc:inset-0\", paneInteractive)}>\n\t\t\t\t\t\t<div className=\"wwc:absolute wwc:inset-0\" style={interactive ? xf(tA) : undefined}>\n\t\t\t\t\t\t\t{before}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t{beforeLabel != null && <CornerLabel side=\"start\">{beforeLabel}</CornerLabel>}\n\t\t\t\t</div>\n\t\t\t);\n\t\t}\n\n\t\tif (mode === \"side-by-side\") {\n\t\t\treturn (\n\t\t\t\t<div\n\t\t\t\t\tref={ref}\n\t\t\t\t\tclassName={cn(\"wwc:relative wwc:grid wwc:h-full wwc:w-full wwc:grid-cols-2 wwc:overflow-hidden\", className)}\n\t\t\t\t\t{...rest}\n\t\t\t\t>\n\t\t\t\t\t<div\n\t\t\t\t\t\tref={vpA}\n\t\t\t\t\t\tonPointerDown={startPan(\"a\")}\n\t\t\t\t\t\tclassName={cn(\"wwc:relative wwc:overflow-hidden wwc:border-r wwc:border-border\", paneInteractive)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<div className=\"wwc:absolute wwc:inset-0\" style={interactive ? xf(tA) : undefined}>\n\t\t\t\t\t\t\t{before}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t{beforeLabel != null && <CornerLabel side=\"start\">{beforeLabel}</CornerLabel>}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div\n\t\t\t\t\t\tref={vpB}\n\t\t\t\t\t\tonPointerDown={startPan(\"b\")}\n\t\t\t\t\t\tclassName={cn(\"wwc:relative wwc:overflow-hidden\", paneInteractive)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<div className=\"wwc:absolute wwc:inset-0\" style={interactive ? xf(tB) : undefined}>\n\t\t\t\t\t\t\t{after}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t{afterLabel != null && <CornerLabel side=\"end\">{afterLabel}</CornerLabel>}\n\t\t\t\t\t</div>\n\n\t\t\t\t\t{interactive && (\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\tonClick={() => setLocked(!locked)}\n\t\t\t\t\t\t\taria-pressed={locked}\n\t\t\t\t\t\t\ttitle={\n\t\t\t\t\t\t\t\tlocked ? \"Panning & zoom are synced — click to unlock\" : \"Panes move independently — click to sync\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tclassName=\"wwc:absolute wwc:left-1/2 wwc:top-1/2 wwc:z-30 wwc:flex wwc:h-8 wwc:w-8 wwc:-translate-x-1/2 wwc:-translate-y-1/2 wwc:items-center wwc:justify-center wwc:rounded-full wwc:border wwc:border-border wwc:bg-card wwc:text-foreground wwc:shadow-md wwc:transition-colors wwc:hover:bg-accent wwc:focus-visible:outline-none wwc:focus-visible:ring-2 wwc:focus-visible:ring-ring\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{locked ? (\n\t\t\t\t\t\t\t\t<Lock className=\"wwc:h-4 wwc:w-4\" />\n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t<LockOpen className=\"wwc:h-4 wwc:w-4 wwc:text-muted-foreground\" />\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</button>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<div\n\t\t\t\tref={ref}\n\t\t\t\tclassName={cn(\"wwc:relative wwc:h-full wwc:w-full wwc:select-none wwc:overflow-hidden\", className)}\n\t\t\t\t{...rest}\n\t\t\t>\n\t\t\t\t{/* base layer: after (revealed on the right of the divider) */}\n\t\t\t\t<div ref={vpA} onPointerDown={startPan(\"a\")} className={cn(\"wwc:absolute wwc:inset-0\", paneInteractive)}>\n\t\t\t\t\t<div className=\"wwc:absolute wwc:inset-0\" style={interactive ? xf(tA) : undefined}>\n\t\t\t\t\t\t{after}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t{/* top layer: before, clipped to the left of the divider (clip is in screen space) */}\n\t\t\t\t<div\n\t\t\t\t\tclassName=\"wwc:pointer-events-none wwc:absolute wwc:inset-0\"\n\t\t\t\t\tstyle={{clipPath: `inset(0 ${100 - position}% 0 0)`}}\n\t\t\t\t>\n\t\t\t\t\t<div className=\"wwc:absolute wwc:inset-0\" style={interactive ? xf(tA) : undefined}>\n\t\t\t\t\t\t{before}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t{beforeLabel != null && <CornerLabel side=\"start\">{beforeLabel}</CornerLabel>}\n\t\t\t\t{afterLabel != null && <CornerLabel side=\"end\">{afterLabel}</CornerLabel>}\n\n\t\t\t\t{/* reveal divider + handle */}\n\t\t\t\t<div\n\t\t\t\t\tclassName=\"wwc:absolute wwc:inset-y-0 wwc:z-30 wwc:flex wwc:w-5 wwc:-translate-x-1/2 wwc:cursor-ew-resize wwc:touch-none wwc:items-center wwc:justify-center\"\n\t\t\t\t\tstyle={{left: `${position}%`}}\n\t\t\t\t\tonPointerDown={(e) => {\n\t\t\t\t\t\te.stopPropagation();\n\t\t\t\t\t\tdividerDrag.current = true;\n\t\t\t\t\t\tupdateDivider(e.clientX);\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t<div className=\"wwc:h-full wwc:w-0.5 wwc:bg-white wwc:shadow-[0_0_0_1px_rgba(0,0,0,0.25)]\" />\n\t\t\t\t\t<button\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\trole=\"slider\"\n\t\t\t\t\t\taria-label=\"Drag to compare\"\n\t\t\t\t\t\taria-orientation=\"vertical\"\n\t\t\t\t\t\taria-valuemin={0}\n\t\t\t\t\t\taria-valuemax={100}\n\t\t\t\t\t\taria-valuenow={Math.round(position)}\n\t\t\t\t\t\tonKeyDown={(e) => {\n\t\t\t\t\t\t\tif (e.key === \"ArrowLeft\") {\n\t\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t\tsetPosition(clampPos(position - 2));\n\t\t\t\t\t\t\t} else if (e.key === \"ArrowRight\") {\n\t\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t\tsetPosition(clampPos(position + 2));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tclassName=\"wwc:absolute wwc:left-1/2 wwc:top-1/2 wwc:flex wwc:h-9 wwc:w-9 wwc:-translate-x-1/2 wwc:-translate-y-1/2 wwc:items-center wwc:justify-center wwc:rounded-full wwc:border wwc:border-border wwc:bg-card wwc:text-foreground wwc:shadow-md wwc:focus-visible:outline-none wwc:focus-visible:ring-2 wwc:focus-visible:ring-ring\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<ChevronLeft className=\"wwc:-mr-1 wwc:h-3.5 wwc:w-3.5\" />\n\t\t\t\t\t\t<ChevronRight className=\"wwc:-ml-1 wwc:h-3.5 wwc:w-3.5\" />\n\t\t\t\t\t</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t},\n);\nCompareView.displayName = \"CompareView\";\n\nexport {CompareView};\n"],"mappings":"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"}
|