@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,95 @@
|
|
|
1
|
+
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "./dropdown-menu.mjs";
|
|
2
|
+
import { cn } from "@corensystem/coren-utils";
|
|
3
|
+
import { ChevronRight, MoreHorizontal } from "lucide-react";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
7
|
+
//#region src/breadcrumb.tsx
|
|
8
|
+
/** Displays the path to the current resource using a hierarchy of links. */
|
|
9
|
+
const Breadcrumb = React.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("nav", {
|
|
10
|
+
ref,
|
|
11
|
+
"aria-label": "breadcrumb",
|
|
12
|
+
...props
|
|
13
|
+
}));
|
|
14
|
+
Breadcrumb.displayName = "Breadcrumb";
|
|
15
|
+
const BreadcrumbList = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("ol", {
|
|
16
|
+
ref,
|
|
17
|
+
className: cn("wwc:flex wwc:flex-wrap wwc:items-center wwc:gap-1.5 wwc:break-words wwc:text-sm wwc:text-muted-foreground wwc:sm:gap-2.5", className),
|
|
18
|
+
...props
|
|
19
|
+
}));
|
|
20
|
+
BreadcrumbList.displayName = "BreadcrumbList";
|
|
21
|
+
const BreadcrumbItem = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("li", {
|
|
22
|
+
ref,
|
|
23
|
+
className: cn("wwc:inline-flex wwc:items-center wwc:gap-1.5", className),
|
|
24
|
+
...props
|
|
25
|
+
}));
|
|
26
|
+
BreadcrumbItem.displayName = "BreadcrumbItem";
|
|
27
|
+
const BreadcrumbLink = React.forwardRef(({ asChild, className, ...props }, ref) => {
|
|
28
|
+
return /* @__PURE__ */ jsx(asChild ? Slot : "a", {
|
|
29
|
+
ref,
|
|
30
|
+
className: cn("wwc:transition-colors wwc:hover:text-foreground", className),
|
|
31
|
+
...props
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
BreadcrumbLink.displayName = "BreadcrumbLink";
|
|
35
|
+
const BreadcrumbPage = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("span", {
|
|
36
|
+
ref,
|
|
37
|
+
role: "link",
|
|
38
|
+
"aria-disabled": "true",
|
|
39
|
+
"aria-current": "page",
|
|
40
|
+
className: cn("wwc:font-normal wwc:text-foreground", className),
|
|
41
|
+
...props
|
|
42
|
+
}));
|
|
43
|
+
BreadcrumbPage.displayName = "BreadcrumbPage";
|
|
44
|
+
const BreadcrumbSeparator = ({ children, className, ...props }) => /* @__PURE__ */ jsx("li", {
|
|
45
|
+
role: "presentation",
|
|
46
|
+
"aria-hidden": "true",
|
|
47
|
+
className: cn("wwc:[&>svg]:w-3.5 wwc:[&>svg]:h-3.5", className),
|
|
48
|
+
...props,
|
|
49
|
+
children: children ?? /* @__PURE__ */ jsx(ChevronRight, {})
|
|
50
|
+
});
|
|
51
|
+
BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
|
|
52
|
+
/**
|
|
53
|
+
* The "…" between breadcrumbs. Pass `items` (the collapsed middle levels) to make it an
|
|
54
|
+
* interactive dropdown — clicking it opens a menu of those levels (built on the same `DropdownMenu`
|
|
55
|
+
* the toolbar action menus use). Without `items` it renders a static, decorative ellipsis.
|
|
56
|
+
*/
|
|
57
|
+
const BreadcrumbEllipsis = ({ className, items, ...props }) => {
|
|
58
|
+
if (!items || items.length === 0) return /* @__PURE__ */ jsxs("span", {
|
|
59
|
+
role: "presentation",
|
|
60
|
+
"aria-hidden": "true",
|
|
61
|
+
className: cn("wwc:flex wwc:h-9 wwc:w-9 wwc:items-center wwc:justify-center", className),
|
|
62
|
+
...props,
|
|
63
|
+
children: [/* @__PURE__ */ jsx(MoreHorizontal, { className: "wwc:h-4 wwc:w-4" }), /* @__PURE__ */ jsx("span", {
|
|
64
|
+
className: "wwc:sr-only",
|
|
65
|
+
children: "More"
|
|
66
|
+
})]
|
|
67
|
+
});
|
|
68
|
+
return /* @__PURE__ */ jsxs(DropdownMenu, { children: [/* @__PURE__ */ jsxs(DropdownMenuTrigger, {
|
|
69
|
+
"aria-label": "Show collapsed breadcrumbs",
|
|
70
|
+
className: cn("wwc:flex wwc:h-9 wwc:w-9 wwc:items-center wwc:justify-center wwc:rounded-sm wwc:transition-colors wwc:hover:text-foreground wwc:focus-visible:outline-none wwc:focus-visible:ring-1 wwc:focus-visible:ring-ring wwc:data-[state=open]:text-foreground", className),
|
|
71
|
+
children: [/* @__PURE__ */ jsx(MoreHorizontal, { className: "wwc:h-4 wwc:w-4" }), /* @__PURE__ */ jsx("span", {
|
|
72
|
+
className: "wwc:sr-only",
|
|
73
|
+
children: "More"
|
|
74
|
+
})]
|
|
75
|
+
}), /* @__PURE__ */ jsx(DropdownMenuContent, {
|
|
76
|
+
align: "start",
|
|
77
|
+
children: items.map((item, index) => item.href ? /* @__PURE__ */ jsx(DropdownMenuItem, {
|
|
78
|
+
asChild: true,
|
|
79
|
+
disabled: item.disabled,
|
|
80
|
+
children: /* @__PURE__ */ jsx("a", {
|
|
81
|
+
href: item.href,
|
|
82
|
+
children: item.label
|
|
83
|
+
})
|
|
84
|
+
}, index) : /* @__PURE__ */ jsx(DropdownMenuItem, {
|
|
85
|
+
disabled: item.disabled,
|
|
86
|
+
onSelect: item.onSelect,
|
|
87
|
+
children: item.label
|
|
88
|
+
}, index))
|
|
89
|
+
})] });
|
|
90
|
+
};
|
|
91
|
+
BreadcrumbEllipsis.displayName = "BreadcrumbEllipsis";
|
|
92
|
+
//#endregion
|
|
93
|
+
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
94
|
+
|
|
95
|
+
//# sourceMappingURL=breadcrumb.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb.mjs","names":[],"sources":["../src/breadcrumb.tsx"],"sourcesContent":["import {cn} from \"@corensystem/coren-utils\";\nimport {Slot} from \"@radix-ui/react-slot\";\nimport {ChevronRight, MoreHorizontal} from \"lucide-react\";\nimport * as React from \"react\";\n\nimport {DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger} from \"./dropdown-menu\";\n\n/** Displays the path to the current resource using a hierarchy of links. */\nconst Breadcrumb = React.forwardRef<\n\tHTMLElement,\n\tReact.ComponentPropsWithoutRef<\"nav\"> & {\n\t\tseparator?: React.ReactNode;\n\t}\n>(({...props}, ref) => <nav ref={ref} aria-label=\"breadcrumb\" {...props} />);\nBreadcrumb.displayName = \"Breadcrumb\";\n\nconst BreadcrumbList = React.forwardRef<HTMLOListElement, React.ComponentPropsWithoutRef<\"ol\">>(\n\t({className, ...props}, ref) => (\n\t\t<ol\n\t\t\tref={ref}\n\t\t\tclassName={cn(\n\t\t\t\t\"wwc:flex wwc:flex-wrap wwc:items-center wwc:gap-1.5 wwc:break-words wwc:text-sm wwc:text-muted-foreground wwc:sm:gap-2.5\",\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t),\n);\nBreadcrumbList.displayName = \"BreadcrumbList\";\n\nconst BreadcrumbItem = React.forwardRef<HTMLLIElement, React.ComponentPropsWithoutRef<\"li\">>(\n\t({className, ...props}, ref) => (\n\t\t<li ref={ref} className={cn(\"wwc:inline-flex wwc:items-center wwc:gap-1.5\", className)} {...props} />\n\t),\n);\nBreadcrumbItem.displayName = \"BreadcrumbItem\";\n\nconst BreadcrumbLink = React.forwardRef<\n\tHTMLAnchorElement,\n\tReact.ComponentPropsWithoutRef<\"a\"> & {\n\t\tasChild?: boolean;\n\t}\n>(({asChild, className, ...props}, ref) => {\n\tconst Comp = asChild ? Slot : \"a\";\n\n\treturn <Comp ref={ref} className={cn(\"wwc:transition-colors wwc:hover:text-foreground\", className)} {...props} />;\n});\nBreadcrumbLink.displayName = \"BreadcrumbLink\";\n\nconst BreadcrumbPage = React.forwardRef<HTMLSpanElement, React.ComponentPropsWithoutRef<\"span\">>(\n\t({className, ...props}, ref) => (\n\t\t<span\n\t\t\tref={ref}\n\t\t\trole=\"link\"\n\t\t\taria-disabled=\"true\"\n\t\t\taria-current=\"page\"\n\t\t\tclassName={cn(\"wwc:font-normal wwc:text-foreground\", className)}\n\t\t\t{...props}\n\t\t/>\n\t),\n);\nBreadcrumbPage.displayName = \"BreadcrumbPage\";\n\nconst BreadcrumbSeparator = ({children, className, ...props}: React.ComponentProps<\"li\">) => (\n\t<li\n\t\trole=\"presentation\"\n\t\taria-hidden=\"true\"\n\t\tclassName={cn(\"wwc:[&>svg]:w-3.5 wwc:[&>svg]:h-3.5\", className)}\n\t\t{...props}\n\t>\n\t\t{children ?? <ChevronRight />}\n\t</li>\n);\nBreadcrumbSeparator.displayName = \"BreadcrumbSeparator\";\n\n/** A collapsed breadcrumb level shown inside the ellipsis dropdown. */\nexport interface BreadcrumbMenuItem {\n\tlabel: React.ReactNode;\n\t/** Renders the item as a link. */\n\thref?: string;\n\t/** Called when the item is chosen (e.g. for client-side routing). */\n\tonSelect?: () => void;\n\tdisabled?: boolean;\n}\n\n/**\n * The \"…\" between breadcrumbs. Pass `items` (the collapsed middle levels) to make it an\n * interactive dropdown — clicking it opens a menu of those levels (built on the same `DropdownMenu`\n * the toolbar action menus use). Without `items` it renders a static, decorative ellipsis.\n */\nconst BreadcrumbEllipsis = ({\n\tclassName,\n\titems,\n\t...props\n}: React.ComponentProps<\"span\"> & {items?: BreadcrumbMenuItem[]}) => {\n\tif (!items || items.length === 0) {\n\t\treturn (\n\t\t\t<span\n\t\t\t\trole=\"presentation\"\n\t\t\t\taria-hidden=\"true\"\n\t\t\t\tclassName={cn(\"wwc:flex wwc:h-9 wwc:w-9 wwc:items-center wwc:justify-center\", className)}\n\t\t\t\t{...props}\n\t\t\t>\n\t\t\t\t<MoreHorizontal className=\"wwc:h-4 wwc:w-4\" />\n\t\t\t\t<span className=\"wwc:sr-only\">More</span>\n\t\t\t</span>\n\t\t);\n\t}\n\n\treturn (\n\t\t<DropdownMenu>\n\t\t\t<DropdownMenuTrigger\n\t\t\t\taria-label=\"Show collapsed breadcrumbs\"\n\t\t\t\tclassName={cn(\n\t\t\t\t\t\"wwc:flex wwc:h-9 wwc:w-9 wwc:items-center wwc:justify-center wwc:rounded-sm wwc:transition-colors wwc:hover:text-foreground wwc:focus-visible:outline-none wwc:focus-visible:ring-1 wwc:focus-visible:ring-ring wwc:data-[state=open]:text-foreground\",\n\t\t\t\t\tclassName,\n\t\t\t\t)}\n\t\t\t>\n\t\t\t\t<MoreHorizontal className=\"wwc:h-4 wwc:w-4\" />\n\t\t\t\t<span className=\"wwc:sr-only\">More</span>\n\t\t\t</DropdownMenuTrigger>\n\t\t\t<DropdownMenuContent align=\"start\">\n\t\t\t\t{items.map((item, index) =>\n\t\t\t\t\titem.href ? (\n\t\t\t\t\t\t<DropdownMenuItem key={index} asChild disabled={item.disabled}>\n\t\t\t\t\t\t\t<a href={item.href}>{item.label}</a>\n\t\t\t\t\t\t</DropdownMenuItem>\n\t\t\t\t\t) : (\n\t\t\t\t\t\t<DropdownMenuItem key={index} disabled={item.disabled} onSelect={item.onSelect}>\n\t\t\t\t\t\t\t{item.label}\n\t\t\t\t\t\t</DropdownMenuItem>\n\t\t\t\t\t),\n\t\t\t\t)}\n\t\t\t</DropdownMenuContent>\n\t\t</DropdownMenu>\n\t);\n};\nBreadcrumbEllipsis.displayName = \"BreadcrumbEllipsis\";\n\nexport {\n\tBreadcrumb,\n\tBreadcrumbList,\n\tBreadcrumbItem,\n\tBreadcrumbLink,\n\tBreadcrumbPage,\n\tBreadcrumbSeparator,\n\tBreadcrumbEllipsis,\n};\n"],"mappings":";;;;;;;;AAQA,MAAM,aAAa,MAAM,YAKtB,EAAC,GAAG,SAAQ,QAAQ,oBAAC,OAAD;CAAU;CAAK,cAAW;CAAa,GAAI;AAAQ,CAAA,CAAC;AAC3E,WAAW,cAAc;AAEzB,MAAM,iBAAiB,MAAM,YAC3B,EAAC,WAAW,GAAG,SAAQ,QACvB,oBAAC,MAAD;CACM;CACL,WAAW,GACV,4HACA,SACD;CACA,GAAI;AACJ,CAAA,CAEH;AACA,eAAe,cAAc;AAE7B,MAAM,iBAAiB,MAAM,YAC3B,EAAC,WAAW,GAAG,SAAQ,QACvB,oBAAC,MAAD;CAAS;CAAK,WAAW,GAAG,gDAAgD,SAAS;CAAG,GAAI;AAAQ,CAAA,CAEtG;AACA,eAAe,cAAc;AAE7B,MAAM,iBAAiB,MAAM,YAK1B,EAAC,SAAS,WAAW,GAAG,SAAQ,QAAQ;CAG1C,OAAO,oBAFM,UAAU,OAAO,KAEvB;EAAW;EAAK,WAAW,GAAG,mDAAmD,SAAS;EAAG,GAAI;CAAQ,CAAA;AACjH,CAAC;AACD,eAAe,cAAc;AAE7B,MAAM,iBAAiB,MAAM,YAC3B,EAAC,WAAW,GAAG,SAAQ,QACvB,oBAAC,QAAD;CACM;CACL,MAAK;CACL,iBAAc;CACd,gBAAa;CACb,WAAW,GAAG,uCAAuC,SAAS;CAC9D,GAAI;AACJ,CAAA,CAEH;AACA,eAAe,cAAc;AAE7B,MAAM,uBAAuB,EAAC,UAAU,WAAW,GAAG,YACrD,oBAAC,MAAD;CACC,MAAK;CACL,eAAY;CACZ,WAAW,GAAG,uCAAuC,SAAS;CAC9D,GAAI;CAEH,UAAA,YAAY,oBAAC,cAAD,CAAe,CAAA;AACzB,CAAA;AAEL,oBAAoB,cAAc;;;;;;AAiBlC,MAAM,sBAAsB,EAC3B,WACA,OACA,GAAG,YACiE;CACpE,IAAI,CAAC,SAAS,MAAM,WAAW,GAC9B,OACC,qBAAC,QAAD;EACC,MAAK;EACL,eAAY;EACZ,WAAW,GAAG,gEAAgE,SAAS;EACvF,GAAI;EAJL,UAAA,CAMC,oBAAC,gBAAD,EAAgB,WAAU,kBAAmB,CAAA,GAC7C,oBAAC,QAAD;GAAM,WAAU;GAAc,UAAA;EAAU,CAAA,CACnC;;CAIR,OACC,qBAAC,cAAD,EAAA,UAAA,CACC,qBAAC,qBAAD;EACC,cAAW;EACX,WAAW,GACV,yPACA,SACD;EALD,UAAA,CAOC,oBAAC,gBAAD,EAAgB,WAAU,kBAAmB,CAAA,GAC7C,oBAAC,QAAD;GAAM,WAAU;GAAc,UAAA;EAAU,CAAA,CACpB;CACrB,CAAA,GAAA,oBAAC,qBAAD;EAAqB,OAAM;EACzB,UAAA,MAAM,KAAK,MAAM,UACjB,KAAK,OACJ,oBAAC,kBAAD;GAA8B,SAAA;GAAQ,UAAU,KAAK;GACpD,UAAA,oBAAC,KAAD;IAAG,MAAM,KAAK;IAAO,UAAA,KAAK;GAAS,CAAA;EAClB,GAFK,KAEL,IAElB,oBAAC,kBAAD;GAA8B,UAAU,KAAK;GAAU,UAAU,KAAK;GACpE,UAAA,KAAK;EACW,GAFK,KAEL,CAEpB;CACoB,CAAA,CACR,EAAA,CAAA;AAEhB;AACA,mBAAmB,cAAc"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbMenuItem, BreadcrumbPage, BreadcrumbSeparator } from "./breadcrumb.mjs";
|
|
2
|
+
export { Breadcrumb as Breadcrumbs, BreadcrumbEllipsis as BreadcrumbsEllipsis, BreadcrumbItem as BreadcrumbsItem, BreadcrumbLink as BreadcrumbsLink, BreadcrumbList as BreadcrumbsList, type BreadcrumbMenuItem as BreadcrumbsMenuItem, BreadcrumbPage as BreadcrumbsPage, BreadcrumbSeparator as BreadcrumbsSeparator };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "./breadcrumb.mjs";
|
|
2
|
+
export { Breadcrumb as Breadcrumbs, BreadcrumbEllipsis as BreadcrumbsEllipsis, BreadcrumbItem as BreadcrumbsItem, BreadcrumbLink as BreadcrumbsLink, BreadcrumbList as BreadcrumbsList, BreadcrumbPage as BreadcrumbsPage, BreadcrumbSeparator as BreadcrumbsSeparator };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
//#region src/browser-tabs.d.ts
|
|
3
|
+
export type BrowserTabItem = {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
icon?: React.ReactNode;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export interface BrowserTabsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
10
|
+
tabs: BrowserTabItem[];
|
|
11
|
+
activeId?: string;
|
|
12
|
+
onActiveChange?: (id: string) => void;
|
|
13
|
+
onTabClose?: (id: string) => void;
|
|
14
|
+
closeable?: boolean;
|
|
15
|
+
trailing?: React.ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* Enable horizontal drag-to-reorder (browser-style). Fires with the full tab-id list in its new
|
|
18
|
+
* order every time the dragged tab crosses another. Omit to keep tabs fixed.
|
|
19
|
+
*/
|
|
20
|
+
onReorder?: (orderedIds: string[]) => void;
|
|
21
|
+
}
|
|
22
|
+
interface BrowserTabProps {
|
|
23
|
+
tab: BrowserTabItem;
|
|
24
|
+
active: boolean;
|
|
25
|
+
closeable: boolean;
|
|
26
|
+
onSelect: () => void;
|
|
27
|
+
onClose?: () => void;
|
|
28
|
+
draggable?: boolean;
|
|
29
|
+
dragging?: boolean;
|
|
30
|
+
onDragStart?: React.DragEventHandler<HTMLDivElement>;
|
|
31
|
+
onDragEnter?: React.DragEventHandler<HTMLDivElement>;
|
|
32
|
+
onDragOver?: React.DragEventHandler<HTMLDivElement>;
|
|
33
|
+
onDrop?: React.DragEventHandler<HTMLDivElement>;
|
|
34
|
+
onDragEnd?: React.DragEventHandler<HTMLDivElement>;
|
|
35
|
+
}
|
|
36
|
+
declare const BrowserTab: React.ForwardRefExoticComponent<BrowserTabProps & React.RefAttributes<HTMLDivElement>>;
|
|
37
|
+
declare const BrowserTabs: React.ForwardRefExoticComponent<BrowserTabsProps & React.RefAttributes<HTMLDivElement>>;
|
|
38
|
+
//#endregion
|
|
39
|
+
export { BrowserTab, BrowserTabs };
|
|
40
|
+
//# sourceMappingURL=browser-tabs.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"browser-tabs.d.mts","names":[],"sources":["../src/browser-tabs.tsx"],"mappings":";;YAIY;EACX;EACA;EACA,OAAO,MAAM;EACb;;iBAGgB,yBAAyB,MAAM,eAAe;EAC9D,MAAM;EACN;EACA,kBAAkB;EAClB,cAAc;EACd;EACA,WAAW,MAAM;;;;;EAKjB,aAAa;;UAiBJ;EACT,KAAK;EACL;EACA;EACA;EACA;EACA;EACA;EACA,cAAc,MAAM,iBAAiB;EACrC,cAAc,MAAM,iBAAiB;EACrC,aAAa,MAAM,iBAAiB;EACpC,SAAS,MAAM,iBAAiB;EAChC,YAAY,MAAM,iBAAiB;;cAG9B,YAAU,MAAA,0BAAA,kBAAA,MAAA,cAAA;cAuEV,aAAW,MAAA,0BAAA,mBAAA,MAAA,cAAA"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { cn } from "@corensystem/coren-utils";
|
|
2
|
+
import { X } from "lucide-react";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
//#region src/browser-tabs.tsx
|
|
6
|
+
const cornerMaskLeft = {
|
|
7
|
+
WebkitMaskImage: "radial-gradient(circle 12px at top left, transparent 12px, black 12px)",
|
|
8
|
+
maskImage: "radial-gradient(circle 12px at top left, transparent 12px, black 12px)"
|
|
9
|
+
};
|
|
10
|
+
const cornerMaskRight = {
|
|
11
|
+
WebkitMaskImage: "radial-gradient(circle 12px at top right, transparent 12px, black 12px)",
|
|
12
|
+
maskImage: "radial-gradient(circle 12px at top right, transparent 12px, black 12px)"
|
|
13
|
+
};
|
|
14
|
+
const BrowserTab = React.forwardRef(({ tab, active, closeable, onSelect, onClose, draggable, dragging, ...dragHandlers }, ref) => {
|
|
15
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
16
|
+
ref,
|
|
17
|
+
role: "tab",
|
|
18
|
+
"aria-selected": active,
|
|
19
|
+
"aria-disabled": tab.disabled || void 0,
|
|
20
|
+
tabIndex: tab.disabled ? -1 : 0,
|
|
21
|
+
draggable,
|
|
22
|
+
...dragHandlers,
|
|
23
|
+
className: cn("wwc:relative wwc:flex wwc:h-9 wwc:min-w-0 wwc:max-w-[240px] wwc:items-center wwc:gap-2 wwc:rounded-t-lg wwc:px-3 wwc:text-sm wwc:transition-colors wwc:select-none wwc:focus-visible:outline-none wwc:focus-visible:ring-2 wwc:focus-visible:ring-ring", active ? "wwc:z-10 wwc:bg-card wwc:text-foreground wwc:font-medium" : "wwc:bg-background/60 wwc:text-muted-foreground wwc:hover:bg-muted wwc:hover:text-foreground wwc:cursor-pointer", draggable && "wwc:cursor-grab wwc:active:cursor-grabbing", dragging && "wwc:opacity-40", tab.disabled && "wwc:opacity-50 wwc:pointer-events-none"),
|
|
24
|
+
onClick: () => {
|
|
25
|
+
if (tab.disabled || active) return;
|
|
26
|
+
onSelect();
|
|
27
|
+
},
|
|
28
|
+
onKeyDown: (e) => {
|
|
29
|
+
if (tab.disabled || active) return;
|
|
30
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
31
|
+
e.preventDefault();
|
|
32
|
+
onSelect();
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
children: [
|
|
36
|
+
tab.icon && /* @__PURE__ */ jsx("span", {
|
|
37
|
+
className: "wwc:flex wwc:h-3.5 wwc:w-3.5 wwc:shrink-0 wwc:items-center wwc:justify-center",
|
|
38
|
+
children: tab.icon
|
|
39
|
+
}),
|
|
40
|
+
/* @__PURE__ */ jsx("span", {
|
|
41
|
+
className: "wwc:truncate",
|
|
42
|
+
children: tab.label
|
|
43
|
+
}),
|
|
44
|
+
closeable && onClose && !tab.disabled && /* @__PURE__ */ jsx("button", {
|
|
45
|
+
type: "button",
|
|
46
|
+
"aria-label": `Close ${tab.label}`,
|
|
47
|
+
onClick: (e) => {
|
|
48
|
+
e.stopPropagation();
|
|
49
|
+
onClose();
|
|
50
|
+
},
|
|
51
|
+
className: "wwc:ml-1 wwc:grid wwc:shrink-0 wwc:place-items-center wwc:rounded wwc:p-0.5 wwc:text-muted-foreground wwc:hover:bg-destructive/10 wwc:hover:text-destructive wwc:focus-visible:outline-none wwc:focus-visible:ring-1 wwc:focus-visible:ring-ring",
|
|
52
|
+
children: /* @__PURE__ */ jsx(X, { className: "wwc:h-3 wwc:w-3" })
|
|
53
|
+
}),
|
|
54
|
+
active && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("span", {
|
|
55
|
+
"aria-hidden": true,
|
|
56
|
+
className: "wwc:pointer-events-none wwc:absolute wwc:-left-3 wwc:bottom-0 wwc:h-3 wwc:w-3 wwc:bg-card",
|
|
57
|
+
style: cornerMaskLeft
|
|
58
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
59
|
+
"aria-hidden": true,
|
|
60
|
+
className: "wwc:pointer-events-none wwc:absolute wwc:-right-3 wwc:bottom-0 wwc:h-3 wwc:w-3 wwc:bg-card",
|
|
61
|
+
style: cornerMaskRight
|
|
62
|
+
})] })
|
|
63
|
+
]
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
BrowserTab.displayName = "BrowserTab";
|
|
67
|
+
const BrowserTabs = React.forwardRef(({ tabs, activeId, onActiveChange, onTabClose, closeable = false, trailing, onReorder, className, ...rest }, ref) => {
|
|
68
|
+
const isControlled = activeId !== void 0;
|
|
69
|
+
const [internalActive, setInternalActive] = React.useState(() => tabs[0]?.id);
|
|
70
|
+
const resolvedActive = isControlled ? activeId : internalActive;
|
|
71
|
+
const [dragId, setDragId] = React.useState(null);
|
|
72
|
+
const reorderable = typeof onReorder === "function";
|
|
73
|
+
const handleSelect = (id) => {
|
|
74
|
+
if (!isControlled) setInternalActive(id);
|
|
75
|
+
onActiveChange?.(id);
|
|
76
|
+
};
|
|
77
|
+
const handleDragStart = (event, id) => {
|
|
78
|
+
setDragId(id);
|
|
79
|
+
if (event.dataTransfer) {
|
|
80
|
+
event.dataTransfer.effectAllowed = "move";
|
|
81
|
+
try {
|
|
82
|
+
event.dataTransfer.setData("text/plain", id);
|
|
83
|
+
} catch {}
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
const handleDragOverTab = (event, overId) => {
|
|
87
|
+
if (!reorderable || dragId === null) return;
|
|
88
|
+
event.preventDefault();
|
|
89
|
+
if (event.dataTransfer) event.dataTransfer.dropEffect = "move";
|
|
90
|
+
if (overId === dragId) return;
|
|
91
|
+
const ids = tabs.map((tab) => tab.id);
|
|
92
|
+
const from = ids.indexOf(dragId);
|
|
93
|
+
const to = ids.indexOf(overId);
|
|
94
|
+
if (from === -1 || to === -1) return;
|
|
95
|
+
ids.splice(from, 1);
|
|
96
|
+
ids.splice(to, 0, dragId);
|
|
97
|
+
onReorder?.(ids);
|
|
98
|
+
};
|
|
99
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
100
|
+
ref,
|
|
101
|
+
role: "tablist",
|
|
102
|
+
className: cn("wwc:relative wwc:flex wwc:items-end wwc:gap-1 wwc:bg-muted wwc:px-2 wwc:pt-2", className),
|
|
103
|
+
...rest,
|
|
104
|
+
children: [tabs.map((tab) => /* @__PURE__ */ jsx(BrowserTab, {
|
|
105
|
+
tab,
|
|
106
|
+
active: tab.id === resolvedActive,
|
|
107
|
+
closeable,
|
|
108
|
+
onSelect: () => handleSelect(tab.id),
|
|
109
|
+
onClose: onTabClose ? () => onTabClose(tab.id) : void 0,
|
|
110
|
+
draggable: reorderable && !tab.disabled,
|
|
111
|
+
dragging: dragId === tab.id,
|
|
112
|
+
onDragStart: reorderable ? (event) => handleDragStart(event, tab.id) : void 0,
|
|
113
|
+
onDragEnter: reorderable ? (event) => event.preventDefault() : void 0,
|
|
114
|
+
onDragOver: reorderable ? (event) => handleDragOverTab(event, tab.id) : void 0,
|
|
115
|
+
onDrop: reorderable ? (event) => event.preventDefault() : void 0,
|
|
116
|
+
onDragEnd: reorderable ? () => setDragId(null) : void 0
|
|
117
|
+
}, tab.id)), trailing && /* @__PURE__ */ jsx("div", {
|
|
118
|
+
className: "wwc:ml-auto wwc:flex wwc:shrink-0 wwc:items-center",
|
|
119
|
+
children: trailing
|
|
120
|
+
})]
|
|
121
|
+
});
|
|
122
|
+
});
|
|
123
|
+
BrowserTabs.displayName = "BrowserTabs";
|
|
124
|
+
//#endregion
|
|
125
|
+
export { BrowserTab, BrowserTabs };
|
|
126
|
+
|
|
127
|
+
//# sourceMappingURL=browser-tabs.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"browser-tabs.mjs","names":[],"sources":["../src/browser-tabs.tsx"],"sourcesContent":["import {cn} from \"@corensystem/coren-utils\";\nimport {X} from \"lucide-react\";\nimport * as React from \"react\";\n\nexport type BrowserTabItem = {\n\tid: string;\n\tlabel: string;\n\ticon?: React.ReactNode;\n\tdisabled?: boolean;\n};\n\nexport interface BrowserTabsProps extends React.HTMLAttributes<HTMLDivElement> {\n\ttabs: BrowserTabItem[];\n\tactiveId?: string;\n\tonActiveChange?: (id: string) => void;\n\tonTabClose?: (id: string) => void;\n\tcloseable?: boolean;\n\ttrailing?: React.ReactNode;\n\t/**\n\t * Enable horizontal drag-to-reorder (browser-style). Fires with the full tab-id list in its new\n\t * order every time the dragged tab crosses another. Omit to keep tabs fixed.\n\t */\n\tonReorder?: (orderedIds: string[]) => void;\n}\n\n// Mask carves a quarter-circle out of a 12x12 square so only an L-shaped sliver of\n// `bg-background` remains, merging the active tab's bottom corner into the panel\n// below — without the inline `boxShadow` + `var(--background)` trick that fails in\n// Firefox/Safari.\nconst cornerMaskLeft: React.CSSProperties = {\n\tWebkitMaskImage: \"radial-gradient(circle 12px at top left, transparent 12px, black 12px)\",\n\tmaskImage: \"radial-gradient(circle 12px at top left, transparent 12px, black 12px)\",\n};\n\nconst cornerMaskRight: React.CSSProperties = {\n\tWebkitMaskImage: \"radial-gradient(circle 12px at top right, transparent 12px, black 12px)\",\n\tmaskImage: \"radial-gradient(circle 12px at top right, transparent 12px, black 12px)\",\n};\n\ninterface BrowserTabProps {\n\ttab: BrowserTabItem;\n\tactive: boolean;\n\tcloseable: boolean;\n\tonSelect: () => void;\n\tonClose?: () => void;\n\tdraggable?: boolean;\n\tdragging?: boolean;\n\tonDragStart?: React.DragEventHandler<HTMLDivElement>;\n\tonDragEnter?: React.DragEventHandler<HTMLDivElement>;\n\tonDragOver?: React.DragEventHandler<HTMLDivElement>;\n\tonDrop?: React.DragEventHandler<HTMLDivElement>;\n\tonDragEnd?: React.DragEventHandler<HTMLDivElement>;\n}\n\nconst BrowserTab = React.forwardRef<HTMLDivElement, BrowserTabProps>(\n\t({tab, active, closeable, onSelect, onClose, draggable, dragging, ...dragHandlers}, ref) => {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tref={ref}\n\t\t\t\trole=\"tab\"\n\t\t\t\taria-selected={active}\n\t\t\t\taria-disabled={tab.disabled || undefined}\n\t\t\t\ttabIndex={tab.disabled ? -1 : 0}\n\t\t\t\tdraggable={draggable}\n\t\t\t\t{...dragHandlers}\n\t\t\t\tclassName={cn(\n\t\t\t\t\t\"wwc:relative wwc:flex wwc:h-9 wwc:min-w-0 wwc:max-w-[240px] wwc:items-center wwc:gap-2 wwc:rounded-t-lg wwc:px-3 wwc:text-sm wwc:transition-colors wwc:select-none wwc:focus-visible:outline-none wwc:focus-visible:ring-2 wwc:focus-visible:ring-ring\",\n\t\t\t\t\tactive\n\t\t\t\t\t\t? \"wwc:z-10 wwc:bg-card wwc:text-foreground wwc:font-medium\"\n\t\t\t\t\t\t: \"wwc:bg-background/60 wwc:text-muted-foreground wwc:hover:bg-muted wwc:hover:text-foreground wwc:cursor-pointer\",\n\t\t\t\t\tdraggable && \"wwc:cursor-grab wwc:active:cursor-grabbing\",\n\t\t\t\t\tdragging && \"wwc:opacity-40\",\n\t\t\t\t\ttab.disabled && \"wwc:opacity-50 wwc:pointer-events-none\",\n\t\t\t\t)}\n\t\t\t\tonClick={() => {\n\t\t\t\t\tif (tab.disabled || active) return;\n\t\t\t\t\tonSelect();\n\t\t\t\t}}\n\t\t\t\tonKeyDown={(e) => {\n\t\t\t\t\tif (tab.disabled || active) return;\n\t\t\t\t\tif (e.key === \"Enter\" || e.key === \" \") {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\tonSelect();\n\t\t\t\t\t}\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t{tab.icon && (\n\t\t\t\t\t<span className=\"wwc:flex wwc:h-3.5 wwc:w-3.5 wwc:shrink-0 wwc:items-center wwc:justify-center\">\n\t\t\t\t\t\t{tab.icon}\n\t\t\t\t\t</span>\n\t\t\t\t)}\n\t\t\t\t<span className=\"wwc:truncate\">{tab.label}</span>\n\t\t\t\t{closeable && onClose && !tab.disabled && (\n\t\t\t\t\t<button\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\taria-label={`Close ${tab.label}`}\n\t\t\t\t\t\tonClick={(e) => {\n\t\t\t\t\t\t\te.stopPropagation();\n\t\t\t\t\t\t\tonClose();\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tclassName=\"wwc:ml-1 wwc:grid wwc:shrink-0 wwc:place-items-center wwc:rounded wwc:p-0.5 wwc:text-muted-foreground wwc:hover:bg-destructive/10 wwc:hover:text-destructive wwc:focus-visible:outline-none wwc:focus-visible:ring-1 wwc:focus-visible:ring-ring\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<X className=\"wwc:h-3 wwc:w-3\" />\n\t\t\t\t\t</button>\n\t\t\t\t)}\n\t\t\t\t{active && (\n\t\t\t\t\t<>\n\t\t\t\t\t\t<span\n\t\t\t\t\t\t\taria-hidden\n\t\t\t\t\t\t\tclassName=\"wwc:pointer-events-none wwc:absolute wwc:-left-3 wwc:bottom-0 wwc:h-3 wwc:w-3 wwc:bg-card\"\n\t\t\t\t\t\t\tstyle={cornerMaskLeft}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<span\n\t\t\t\t\t\t\taria-hidden\n\t\t\t\t\t\t\tclassName=\"wwc:pointer-events-none wwc:absolute wwc:-right-3 wwc:bottom-0 wwc:h-3 wwc:w-3 wwc:bg-card\"\n\t\t\t\t\t\t\tstyle={cornerMaskRight}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t);\n\t},\n);\nBrowserTab.displayName = \"BrowserTab\";\n\nconst BrowserTabs = React.forwardRef<HTMLDivElement, BrowserTabsProps>(\n\t({tabs, activeId, onActiveChange, onTabClose, closeable = false, trailing, onReorder, className, ...rest}, ref) => {\n\t\tconst isControlled = activeId !== undefined;\n\t\tconst [internalActive, setInternalActive] = React.useState<string | undefined>(() => tabs[0]?.id);\n\t\tconst resolvedActive = isControlled ? activeId : internalActive;\n\t\tconst [dragId, setDragId] = React.useState<string | null>(null);\n\t\tconst reorderable = typeof onReorder === \"function\";\n\n\t\tconst handleSelect = (id: string) => {\n\t\t\tif (!isControlled) setInternalActive(id);\n\t\t\tonActiveChange?.(id);\n\t\t};\n\n\t\tconst handleDragStart = (event: React.DragEvent, id: string) => {\n\t\t\tsetDragId(id);\n\t\t\tif (event.dataTransfer) {\n\t\t\t\tevent.dataTransfer.effectAllowed = \"move\";\n\t\t\t\t// Some browsers require data to be set for the drag to begin.\n\t\t\t\ttry {\n\t\t\t\t\tevent.dataTransfer.setData(\"text/plain\", id);\n\t\t\t\t} catch {\n\t\t\t\t\t/* no-op */\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tconst handleDragOverTab = (event: React.DragEvent, overId: string) => {\n\t\t\tif (!reorderable || dragId === null) return;\n\t\t\tevent.preventDefault();\n\t\t\tif (event.dataTransfer) event.dataTransfer.dropEffect = \"move\";\n\t\t\tif (overId === dragId) return;\n\t\t\tconst ids = tabs.map((tab) => tab.id);\n\t\t\tconst from = ids.indexOf(dragId);\n\t\t\tconst to = ids.indexOf(overId);\n\t\t\tif (from === -1 || to === -1) return;\n\t\t\tids.splice(from, 1);\n\t\t\tids.splice(to, 0, dragId);\n\t\t\tonReorder?.(ids);\n\t\t};\n\n\t\treturn (\n\t\t\t<div\n\t\t\t\tref={ref}\n\t\t\t\trole=\"tablist\"\n\t\t\t\tclassName={cn(\"wwc:relative wwc:flex wwc:items-end wwc:gap-1 wwc:bg-muted wwc:px-2 wwc:pt-2\", className)}\n\t\t\t\t{...rest}\n\t\t\t>\n\t\t\t\t{tabs.map((tab) => (\n\t\t\t\t\t<BrowserTab\n\t\t\t\t\t\tkey={tab.id}\n\t\t\t\t\t\ttab={tab}\n\t\t\t\t\t\tactive={tab.id === resolvedActive}\n\t\t\t\t\t\tcloseable={closeable}\n\t\t\t\t\t\tonSelect={() => handleSelect(tab.id)}\n\t\t\t\t\t\tonClose={onTabClose ? () => onTabClose(tab.id) : undefined}\n\t\t\t\t\t\tdraggable={reorderable && !tab.disabled}\n\t\t\t\t\t\tdragging={dragId === tab.id}\n\t\t\t\t\t\tonDragStart={reorderable ? (event) => handleDragStart(event, tab.id) : undefined}\n\t\t\t\t\t\tonDragEnter={reorderable ? (event) => event.preventDefault() : undefined}\n\t\t\t\t\t\tonDragOver={reorderable ? (event) => handleDragOverTab(event, tab.id) : undefined}\n\t\t\t\t\t\tonDrop={reorderable ? (event) => event.preventDefault() : undefined}\n\t\t\t\t\t\tonDragEnd={reorderable ? () => setDragId(null) : undefined}\n\t\t\t\t\t/>\n\t\t\t\t))}\n\t\t\t\t{trailing && <div className=\"wwc:ml-auto wwc:flex wwc:shrink-0 wwc:items-center\">{trailing}</div>}\n\t\t\t</div>\n\t\t);\n\t},\n);\nBrowserTabs.displayName = \"BrowserTabs\";\n\nexport {BrowserTab, BrowserTabs};\n"],"mappings":"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"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
//#region src/building-model-placeholder.d.ts
|
|
3
|
+
/** One floor of the building, bottom-to-top order preserved by the array (index 0 = top). */
|
|
4
|
+
export interface BuildingModelFloor {
|
|
5
|
+
/** Stable id, matched against `activeId`. */
|
|
6
|
+
id: string;
|
|
7
|
+
/** Short floor label, e.g. "GF" / "RF". */
|
|
8
|
+
label: string;
|
|
9
|
+
/** Completion percentage shown on the plate label. Omit to hide it. */
|
|
10
|
+
value?: number;
|
|
11
|
+
/** When false, the plate is dashed / faded (no blueprint for that floor). Default true. */
|
|
12
|
+
hasBlueprint?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface BuildingModelPlaceholderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
15
|
+
/** Floors ordered top → bottom (roof first). One extruded box is stacked per floor. */
|
|
16
|
+
floors: BuildingModelFloor[];
|
|
17
|
+
/** Id of the highlighted floor. */
|
|
18
|
+
activeId?: string;
|
|
19
|
+
/** Fires when a floor box is clicked. */
|
|
20
|
+
onFloorSelect?: (id: string) => void;
|
|
21
|
+
/** Initial camera orientation (degrees). Default `{x: 62, y: -28}`. */
|
|
22
|
+
defaultRotation?: {
|
|
23
|
+
x: number;
|
|
24
|
+
y: number;
|
|
25
|
+
};
|
|
26
|
+
/** Show the "placeholder" badge (bottom-left). Default true. */
|
|
27
|
+
showBadge?: boolean;
|
|
28
|
+
/** Badge text. Default "No 3D model — showing floor placeholder". */
|
|
29
|
+
badgeLabel?: React.ReactNode;
|
|
30
|
+
/** Plate edge length (px). Default 176. */
|
|
31
|
+
plateSize?: number;
|
|
32
|
+
/** Vertical gap between floors (px). Default 34. */
|
|
33
|
+
plateGap?: number;
|
|
34
|
+
/** Wall height of each floor box (px). Default 30. */
|
|
35
|
+
wallHeight?: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* A dependency-free 3D building placeholder: one extruded box (slab + four walls) per floor, stacked
|
|
39
|
+
* along the up-axis and viewed isometrically via CSS 3D. Drag to orbit, click a floor to select it
|
|
40
|
+
* (highlighted). Meant as the fallback when a real BIM / 3D model isn't available yet — swap it for the
|
|
41
|
+
* model renderer when one exists; the surrounding chrome stays the same.
|
|
42
|
+
*/
|
|
43
|
+
declare const BuildingModelPlaceholder: React.ForwardRefExoticComponent<BuildingModelPlaceholderProps & React.RefAttributes<HTMLDivElement>>;
|
|
44
|
+
//#endregion
|
|
45
|
+
export { BuildingModelPlaceholder };
|
|
46
|
+
//# sourceMappingURL=building-model-placeholder.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"building-model-placeholder.d.mts","names":[],"sources":["../src/building-model-placeholder.tsx"],"mappings":";;;iBAOiB;;EAEhB;;EAEA;;EAEA;;EAEA;;iBAGgB,sCAAsC,MAAM,eAAe;;EAE3E,QAAQ;;EAER;;EAEA,iBAAiB;;EAEjB;IAAmB;IAAW;;;EAE9B;;EAEA,aAAa,MAAM;;EAEnB;;EAEA;;EAEA;;;;;;;;cAuCK,0BAAwB,MAAA,0BAAA,gCAAA,MAAA,cAAA"}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { cn } from "@corensystem/coren-utils";
|
|
2
|
+
import { Boxes } from "lucide-react";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
//#region src/building-model-placeholder.tsx
|
|
6
|
+
const FLOAT_SHADOW = "wwc:shadow-[0_4px_12px_rgba(0,0,0,0.06)]";
|
|
7
|
+
function wallFaces(plateSize, wallH) {
|
|
8
|
+
return [
|
|
9
|
+
{
|
|
10
|
+
key: "n",
|
|
11
|
+
w: plateSize,
|
|
12
|
+
h: wallH,
|
|
13
|
+
transform: `translateY(-${plateSize / 2}px) translateZ(${wallH / 2}px) rotateX(90deg)`
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
key: "s",
|
|
17
|
+
w: plateSize,
|
|
18
|
+
h: wallH,
|
|
19
|
+
transform: `translateY(${plateSize / 2}px) translateZ(${wallH / 2}px) rotateX(90deg)`
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
key: "e",
|
|
23
|
+
w: wallH,
|
|
24
|
+
h: plateSize,
|
|
25
|
+
transform: `translateX(${plateSize / 2}px) translateZ(${wallH / 2}px) rotateY(90deg)`
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
key: "w",
|
|
29
|
+
w: wallH,
|
|
30
|
+
h: plateSize,
|
|
31
|
+
transform: `translateX(-${plateSize / 2}px) translateZ(${wallH / 2}px) rotateY(90deg)`
|
|
32
|
+
}
|
|
33
|
+
];
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* A dependency-free 3D building placeholder: one extruded box (slab + four walls) per floor, stacked
|
|
37
|
+
* along the up-axis and viewed isometrically via CSS 3D. Drag to orbit, click a floor to select it
|
|
38
|
+
* (highlighted). Meant as the fallback when a real BIM / 3D model isn't available yet — swap it for the
|
|
39
|
+
* model renderer when one exists; the surrounding chrome stays the same.
|
|
40
|
+
*/
|
|
41
|
+
const BuildingModelPlaceholder = React.forwardRef(({ className, floors, activeId, onFloorSelect, defaultRotation, showBadge = true, badgeLabel = "No 3D model — showing floor placeholder", plateSize = 176, plateGap = 34, wallHeight = 30, ...props }, ref) => {
|
|
42
|
+
const n = floors.length;
|
|
43
|
+
const walls = React.useMemo(() => wallFaces(plateSize, wallHeight), [plateSize, wallHeight]);
|
|
44
|
+
const [rotation, setRotation] = React.useState(defaultRotation ?? {
|
|
45
|
+
x: 62,
|
|
46
|
+
y: -28
|
|
47
|
+
});
|
|
48
|
+
const [orbiting, setOrbiting] = React.useState(false);
|
|
49
|
+
const orbitStart = React.useRef(null);
|
|
50
|
+
const draggedRef = React.useRef(false);
|
|
51
|
+
const startOrbit = (e) => {
|
|
52
|
+
if (e.button !== 0) return;
|
|
53
|
+
orbitStart.current = {
|
|
54
|
+
px: e.clientX,
|
|
55
|
+
py: e.clientY,
|
|
56
|
+
rx: rotation.x,
|
|
57
|
+
ry: rotation.y
|
|
58
|
+
};
|
|
59
|
+
draggedRef.current = false;
|
|
60
|
+
setOrbiting(true);
|
|
61
|
+
e.currentTarget.setPointerCapture?.(e.pointerId);
|
|
62
|
+
};
|
|
63
|
+
const moveOrbit = (e) => {
|
|
64
|
+
const s = orbitStart.current;
|
|
65
|
+
if (!s) return;
|
|
66
|
+
if (Math.abs(e.clientX - s.px) + Math.abs(e.clientY - s.py) > 4) draggedRef.current = true;
|
|
67
|
+
setRotation({
|
|
68
|
+
x: Math.max(12, Math.min(86, s.rx - (e.clientY - s.py) * .3)),
|
|
69
|
+
y: s.ry + (e.clientX - s.px) * .4
|
|
70
|
+
});
|
|
71
|
+
};
|
|
72
|
+
const endOrbit = (e) => {
|
|
73
|
+
if (!orbitStart.current) return;
|
|
74
|
+
orbitStart.current = null;
|
|
75
|
+
setOrbiting(false);
|
|
76
|
+
e.currentTarget.releasePointerCapture?.(e.pointerId);
|
|
77
|
+
};
|
|
78
|
+
const clickFloor = (id) => {
|
|
79
|
+
if (draggedRef.current) return;
|
|
80
|
+
onFloorSelect?.(id);
|
|
81
|
+
};
|
|
82
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
83
|
+
ref,
|
|
84
|
+
className: cn("wwc:relative wwc:h-full wwc:w-full wwc:overflow-hidden wwc:bg-zinc-100 dark:wwc:bg-zinc-900", className),
|
|
85
|
+
...props,
|
|
86
|
+
children: [
|
|
87
|
+
/* @__PURE__ */ jsx("div", {
|
|
88
|
+
className: cn("wwc:absolute wwc:inset-0 wwc:z-0", orbiting ? "wwc:cursor-grabbing" : "wwc:cursor-grab"),
|
|
89
|
+
onPointerDown: startOrbit,
|
|
90
|
+
onPointerMove: moveOrbit,
|
|
91
|
+
onPointerUp: endOrbit,
|
|
92
|
+
onPointerCancel: endOrbit
|
|
93
|
+
}),
|
|
94
|
+
/* @__PURE__ */ jsx("div", {
|
|
95
|
+
className: "wwc:pointer-events-none wwc:absolute wwc:inset-0 wwc:flex wwc:items-center wwc:justify-center",
|
|
96
|
+
style: { perspective: "1400px" },
|
|
97
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
98
|
+
style: {
|
|
99
|
+
width: plateSize,
|
|
100
|
+
height: plateSize,
|
|
101
|
+
transformStyle: "preserve-3d",
|
|
102
|
+
transform: `rotateX(${rotation.x}deg) rotateZ(${rotation.y}deg)`
|
|
103
|
+
},
|
|
104
|
+
children: floors.map((floor, i) => {
|
|
105
|
+
const z = (n - 1 - i - (n - 1) / 2) * plateGap;
|
|
106
|
+
const active = floor.id === activeId;
|
|
107
|
+
const hasBlueprint = floor.hasBlueprint ?? true;
|
|
108
|
+
const slab = active ? "wwc:border-primary wwc:bg-primary/30" : hasBlueprint ? "wwc:border-zinc-400/70 wwc:bg-white/80 dark:wwc:border-zinc-600 dark:wwc:bg-zinc-800/80" : "wwc:border-dashed wwc:border-zinc-400/60 wwc:bg-white/45 dark:wwc:bg-zinc-800/45";
|
|
109
|
+
const wall = active ? "wwc:border-primary wwc:bg-primary/15" : hasBlueprint ? "wwc:border-zinc-400/60 wwc:bg-white/25 dark:wwc:border-zinc-600 dark:wwc:bg-zinc-700/30" : "wwc:border-dashed wwc:border-zinc-400/50 wwc:bg-white/10 dark:wwc:bg-zinc-700/15";
|
|
110
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
111
|
+
role: "button",
|
|
112
|
+
tabIndex: 0,
|
|
113
|
+
"aria-pressed": active,
|
|
114
|
+
"aria-label": floor.value != null ? `${floor.label} — ${floor.value}%` : floor.label,
|
|
115
|
+
className: cn("wwc:pointer-events-auto wwc:absolute wwc:inset-0", !active && "wwc:cursor-pointer"),
|
|
116
|
+
style: {
|
|
117
|
+
transformStyle: "preserve-3d",
|
|
118
|
+
transform: `translateZ(${z}px)`
|
|
119
|
+
},
|
|
120
|
+
onPointerDown: startOrbit,
|
|
121
|
+
onPointerMove: moveOrbit,
|
|
122
|
+
onPointerUp: endOrbit,
|
|
123
|
+
onClick: () => clickFloor(floor.id),
|
|
124
|
+
onKeyDown: (e) => {
|
|
125
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
126
|
+
e.preventDefault();
|
|
127
|
+
onFloorSelect?.(floor.id);
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
children: [
|
|
131
|
+
/* @__PURE__ */ jsx("div", {
|
|
132
|
+
className: cn("wwc:absolute wwc:inset-0 wwc:rounded-sm wwc:border", slab, active && "wwc:ring-2 wwc:ring-primary"),
|
|
133
|
+
style: { boxShadow: "0 10px 18px rgba(0,0,0,0.10)" }
|
|
134
|
+
}),
|
|
135
|
+
walls.map((face) => /* @__PURE__ */ jsx("div", {
|
|
136
|
+
className: cn("wwc:absolute wwc:border", wall),
|
|
137
|
+
style: {
|
|
138
|
+
width: face.w,
|
|
139
|
+
height: face.h,
|
|
140
|
+
left: `calc(50% - ${face.w / 2}px)`,
|
|
141
|
+
top: `calc(50% - ${face.h / 2}px)`,
|
|
142
|
+
transform: face.transform
|
|
143
|
+
}
|
|
144
|
+
}, face.key)),
|
|
145
|
+
/* @__PURE__ */ jsxs("div", {
|
|
146
|
+
className: "wwc:pointer-events-none wwc:absolute wwc:left-1/2 wwc:top-1/2 wwc:flex wwc:items-center wwc:gap-1 wwc:whitespace-nowrap wwc:rounded wwc:bg-background/90 wwc:px-1.5 wwc:py-0.5 wwc:text-[10px] wwc:font-semibold wwc:shadow-sm",
|
|
147
|
+
style: { transform: `translate(-50%, -50%) translateZ(${wallHeight + 1}px) rotateZ(${-rotation.y}deg) rotateX(${-rotation.x}deg)` },
|
|
148
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
149
|
+
className: "wwc:text-foreground",
|
|
150
|
+
children: floor.label
|
|
151
|
+
}), floor.value != null && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("span", {
|
|
152
|
+
className: "wwc:h-2.5 wwc:w-px wwc:bg-border",
|
|
153
|
+
"aria-hidden": "true"
|
|
154
|
+
}), /* @__PURE__ */ jsxs("span", {
|
|
155
|
+
className: active ? "wwc:text-primary" : "wwc:text-muted-foreground",
|
|
156
|
+
children: [floor.value, "%"]
|
|
157
|
+
})] })]
|
|
158
|
+
})
|
|
159
|
+
]
|
|
160
|
+
}, floor.id);
|
|
161
|
+
})
|
|
162
|
+
})
|
|
163
|
+
}),
|
|
164
|
+
showBadge && /* @__PURE__ */ jsxs("div", {
|
|
165
|
+
className: cn("wwc:pointer-events-none wwc:absolute wwc:bottom-3 wwc:left-3 wwc:z-10 wwc:flex wwc:items-center wwc:gap-1.5 wwc:rounded-md wwc:bg-white/90 wwc:px-2 wwc:py-1 wwc:text-[11px] wwc:font-medium wwc:text-muted-foreground dark:wwc:bg-zinc-900/90", FLOAT_SHADOW),
|
|
166
|
+
children: [/* @__PURE__ */ jsx(Boxes, { className: "wwc:size-3.5" }), badgeLabel]
|
|
167
|
+
})
|
|
168
|
+
]
|
|
169
|
+
});
|
|
170
|
+
});
|
|
171
|
+
BuildingModelPlaceholder.displayName = "BuildingModelPlaceholder";
|
|
172
|
+
//#endregion
|
|
173
|
+
export { BuildingModelPlaceholder };
|
|
174
|
+
|
|
175
|
+
//# sourceMappingURL=building-model-placeholder.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"building-model-placeholder.mjs","names":[],"sources":["../src/building-model-placeholder.tsx"],"sourcesContent":["import {cn} from \"@corensystem/coren-utils\";\nimport {Boxes} from \"lucide-react\";\nimport * as React from \"react\";\n\nconst FLOAT_SHADOW = \"wwc:shadow-[0_4px_12px_rgba(0,0,0,0.06)]\";\n\n/** One floor of the building, bottom-to-top order preserved by the array (index 0 = top). */\nexport interface BuildingModelFloor {\n\t/** Stable id, matched against `activeId`. */\n\tid: string;\n\t/** Short floor label, e.g. \"GF\" / \"RF\". */\n\tlabel: string;\n\t/** Completion percentage shown on the plate label. Omit to hide it. */\n\tvalue?: number;\n\t/** When false, the plate is dashed / faded (no blueprint for that floor). Default true. */\n\thasBlueprint?: boolean;\n}\n\nexport interface BuildingModelPlaceholderProps extends React.HTMLAttributes<HTMLDivElement> {\n\t/** Floors ordered top → bottom (roof first). One extruded box is stacked per floor. */\n\tfloors: BuildingModelFloor[];\n\t/** Id of the highlighted floor. */\n\tactiveId?: string;\n\t/** Fires when a floor box is clicked. */\n\tonFloorSelect?: (id: string) => void;\n\t/** Initial camera orientation (degrees). Default `{x: 62, y: -28}`. */\n\tdefaultRotation?: {x: number; y: number};\n\t/** Show the \"placeholder\" badge (bottom-left). Default true. */\n\tshowBadge?: boolean;\n\t/** Badge text. Default \"No 3D model — showing floor placeholder\". */\n\tbadgeLabel?: React.ReactNode;\n\t/** Plate edge length (px). Default 176. */\n\tplateSize?: number;\n\t/** Vertical gap between floors (px). Default 34. */\n\tplateGap?: number;\n\t/** Wall height of each floor box (px). Default 30. */\n\twallHeight?: number;\n}\n\n// The four vertical walls of a floor box, each centred on the box centre then rotated up to its edge.\nfunction wallFaces(plateSize: number, wallH: number) {\n\treturn [\n\t\t{\n\t\t\tkey: \"n\",\n\t\t\tw: plateSize,\n\t\t\th: wallH,\n\t\t\ttransform: `translateY(-${plateSize / 2}px) translateZ(${wallH / 2}px) rotateX(90deg)`,\n\t\t},\n\t\t{\n\t\t\tkey: \"s\",\n\t\t\tw: plateSize,\n\t\t\th: wallH,\n\t\t\ttransform: `translateY(${plateSize / 2}px) translateZ(${wallH / 2}px) rotateX(90deg)`,\n\t\t},\n\t\t{\n\t\t\tkey: \"e\",\n\t\t\tw: wallH,\n\t\t\th: plateSize,\n\t\t\ttransform: `translateX(${plateSize / 2}px) translateZ(${wallH / 2}px) rotateY(90deg)`,\n\t\t},\n\t\t{\n\t\t\tkey: \"w\",\n\t\t\tw: wallH,\n\t\t\th: plateSize,\n\t\t\ttransform: `translateX(-${plateSize / 2}px) translateZ(${wallH / 2}px) rotateY(90deg)`,\n\t\t},\n\t];\n}\n\n/**\n * A dependency-free 3D building placeholder: one extruded box (slab + four walls) per floor, stacked\n * along the up-axis and viewed isometrically via CSS 3D. Drag to orbit, click a floor to select it\n * (highlighted). Meant as the fallback when a real BIM / 3D model isn't available yet — swap it for the\n * model renderer when one exists; the surrounding chrome stays the same.\n */\nconst BuildingModelPlaceholder = React.forwardRef<HTMLDivElement, BuildingModelPlaceholderProps>(\n\t(\n\t\t{\n\t\t\tclassName,\n\t\t\tfloors,\n\t\t\tactiveId,\n\t\t\tonFloorSelect,\n\t\t\tdefaultRotation,\n\t\t\tshowBadge = true,\n\t\t\tbadgeLabel = \"No 3D model — showing floor placeholder\",\n\t\t\tplateSize = 176,\n\t\t\tplateGap = 34,\n\t\t\twallHeight = 30,\n\t\t\t...props\n\t\t},\n\t\tref,\n\t) => {\n\t\tconst n = floors.length;\n\t\tconst walls = React.useMemo(() => wallFaces(plateSize, wallHeight), [plateSize, wallHeight]);\n\t\tconst [rotation, setRotation] = React.useState(defaultRotation ?? {x: 62, y: -28});\n\t\tconst [orbiting, setOrbiting] = React.useState(false);\n\t\tconst orbitStart = React.useRef<{px: number; py: number; rx: number; ry: number} | null>(null);\n\t\tconst draggedRef = React.useRef(false);\n\n\t\tconst startOrbit = (e: React.PointerEvent) => {\n\t\t\tif (e.button !== 0) return;\n\t\t\torbitStart.current = {px: e.clientX, py: e.clientY, rx: rotation.x, ry: rotation.y};\n\t\t\tdraggedRef.current = false;\n\t\t\tsetOrbiting(true);\n\t\t\t(e.currentTarget as Element).setPointerCapture?.(e.pointerId);\n\t\t};\n\t\tconst moveOrbit = (e: React.PointerEvent) => {\n\t\t\tconst s = orbitStart.current;\n\t\t\tif (!s) return;\n\t\t\tif (Math.abs(e.clientX - s.px) + Math.abs(e.clientY - s.py) > 4) draggedRef.current = true;\n\t\t\tsetRotation({\n\t\t\t\tx: Math.max(12, Math.min(86, s.rx - (e.clientY - s.py) * 0.3)),\n\t\t\t\ty: s.ry + (e.clientX - s.px) * 0.4,\n\t\t\t});\n\t\t};\n\t\tconst endOrbit = (e: React.PointerEvent) => {\n\t\t\tif (!orbitStart.current) return;\n\t\t\torbitStart.current = null;\n\t\t\tsetOrbiting(false);\n\t\t\t(e.currentTarget as Element).releasePointerCapture?.(e.pointerId);\n\t\t};\n\t\tconst clickFloor = (id: string) => {\n\t\t\tif (draggedRef.current) return;\n\t\t\tonFloorSelect?.(id);\n\t\t};\n\n\t\treturn (\n\t\t\t<div\n\t\t\t\tref={ref}\n\t\t\t\tclassName={cn(\n\t\t\t\t\t\"wwc:relative wwc:h-full wwc:w-full wwc:overflow-hidden wwc:bg-zinc-100 dark:wwc:bg-zinc-900\",\n\t\t\t\t\tclassName,\n\t\t\t\t)}\n\t\t\t\t{...props}\n\t\t\t>\n\t\t\t\t{/* Orbit surface: drag empty backdrop to rotate. Behind the floor boxes. */}\n\t\t\t\t<div\n\t\t\t\t\tclassName={cn(\"wwc:absolute wwc:inset-0 wwc:z-0\", orbiting ? \"wwc:cursor-grabbing\" : \"wwc:cursor-grab\")}\n\t\t\t\t\tonPointerDown={startOrbit}\n\t\t\t\t\tonPointerMove={moveOrbit}\n\t\t\t\t\tonPointerUp={endOrbit}\n\t\t\t\t\tonPointerCancel={endOrbit}\n\t\t\t\t/>\n\n\t\t\t\t<div\n\t\t\t\t\tclassName=\"wwc:pointer-events-none wwc:absolute wwc:inset-0 wwc:flex wwc:items-center wwc:justify-center\"\n\t\t\t\t\tstyle={{perspective: \"1400px\"}}\n\t\t\t\t>\n\t\t\t\t\t<div\n\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\twidth: plateSize,\n\t\t\t\t\t\t\theight: plateSize,\n\t\t\t\t\t\t\ttransformStyle: \"preserve-3d\",\n\t\t\t\t\t\t\ttransform: `rotateX(${rotation.x}deg) rotateZ(${rotation.y}deg)`,\n\t\t\t\t\t\t}}\n\t\t\t\t\t>\n\t\t\t\t\t\t{floors.map((floor, i) => {\n\t\t\t\t\t\t\tconst level = n - 1 - i; // roof (i=0) sits highest\n\t\t\t\t\t\t\tconst z = (level - (n - 1) / 2) * plateGap;\n\t\t\t\t\t\t\tconst active = floor.id === activeId;\n\t\t\t\t\t\t\tconst hasBlueprint = floor.hasBlueprint ?? true;\n\t\t\t\t\t\t\tconst slab = active\n\t\t\t\t\t\t\t\t? \"wwc:border-primary wwc:bg-primary/30\"\n\t\t\t\t\t\t\t\t: hasBlueprint\n\t\t\t\t\t\t\t\t\t? \"wwc:border-zinc-400/70 wwc:bg-white/80 dark:wwc:border-zinc-600 dark:wwc:bg-zinc-800/80\"\n\t\t\t\t\t\t\t\t\t: \"wwc:border-dashed wwc:border-zinc-400/60 wwc:bg-white/45 dark:wwc:bg-zinc-800/45\";\n\t\t\t\t\t\t\tconst wall = active\n\t\t\t\t\t\t\t\t? \"wwc:border-primary wwc:bg-primary/15\"\n\t\t\t\t\t\t\t\t: hasBlueprint\n\t\t\t\t\t\t\t\t\t? \"wwc:border-zinc-400/60 wwc:bg-white/25 dark:wwc:border-zinc-600 dark:wwc:bg-zinc-700/30\"\n\t\t\t\t\t\t\t\t\t: \"wwc:border-dashed wwc:border-zinc-400/50 wwc:bg-white/10 dark:wwc:bg-zinc-700/15\";\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\tkey={floor.id}\n\t\t\t\t\t\t\t\t\trole=\"button\"\n\t\t\t\t\t\t\t\t\ttabIndex={0}\n\t\t\t\t\t\t\t\t\taria-pressed={active}\n\t\t\t\t\t\t\t\t\taria-label={floor.value != null ? `${floor.label} — ${floor.value}%` : floor.label}\n\t\t\t\t\t\t\t\t\tclassName={cn(\"wwc:pointer-events-auto wwc:absolute wwc:inset-0\", !active && \"wwc:cursor-pointer\")}\n\t\t\t\t\t\t\t\t\tstyle={{transformStyle: \"preserve-3d\", transform: `translateZ(${z}px)`}}\n\t\t\t\t\t\t\t\t\tonPointerDown={startOrbit}\n\t\t\t\t\t\t\t\t\tonPointerMove={moveOrbit}\n\t\t\t\t\t\t\t\t\tonPointerUp={endOrbit}\n\t\t\t\t\t\t\t\t\tonClick={() => clickFloor(floor.id)}\n\t\t\t\t\t\t\t\t\tonKeyDown={(e) => {\n\t\t\t\t\t\t\t\t\t\tif (e.key === \"Enter\" || e.key === \" \") {\n\t\t\t\t\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t\t\t\t\tonFloorSelect?.(floor.id);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\t\tclassName={cn(\n\t\t\t\t\t\t\t\t\t\t\t\"wwc:absolute wwc:inset-0 wwc:rounded-sm wwc:border\",\n\t\t\t\t\t\t\t\t\t\t\tslab,\n\t\t\t\t\t\t\t\t\t\t\tactive && \"wwc:ring-2 wwc:ring-primary\",\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\tstyle={{boxShadow: \"0 10px 18px rgba(0,0,0,0.10)\"}}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t{walls.map((face) => (\n\t\t\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\t\t\tkey={face.key}\n\t\t\t\t\t\t\t\t\t\t\tclassName={cn(\"wwc:absolute wwc:border\", wall)}\n\t\t\t\t\t\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\t\t\t\t\t\twidth: face.w,\n\t\t\t\t\t\t\t\t\t\t\t\theight: face.h,\n\t\t\t\t\t\t\t\t\t\t\t\tleft: `calc(50% - ${face.w / 2}px)`,\n\t\t\t\t\t\t\t\t\t\t\t\ttop: `calc(50% - ${face.h / 2}px)`,\n\t\t\t\t\t\t\t\t\t\t\t\ttransform: face.transform,\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\t\tclassName=\"wwc:pointer-events-none wwc:absolute wwc:left-1/2 wwc:top-1/2 wwc:flex wwc:items-center wwc:gap-1 wwc:whitespace-nowrap wwc:rounded wwc:bg-background/90 wwc:px-1.5 wwc:py-0.5 wwc:text-[10px] wwc:font-semibold wwc:shadow-sm\"\n\t\t\t\t\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\t\t\t\t\ttransform: `translate(-50%, -50%) translateZ(${wallHeight + 1}px) rotateZ(${-rotation.y}deg) rotateX(${-rotation.x}deg)`,\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t<span className=\"wwc:text-foreground\">{floor.label}</span>\n\t\t\t\t\t\t\t\t\t\t{floor.value != null && (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t<span className=\"wwc:h-2.5 wwc:w-px wwc:bg-border\" aria-hidden=\"true\" />\n\t\t\t\t\t\t\t\t\t\t\t\t<span className={active ? \"wwc:text-primary\" : \"wwc:text-muted-foreground\"}>\n\t\t\t\t\t\t\t\t\t\t\t\t\t{floor.value}%\n\t\t\t\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t\t\t</>\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t})}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t{showBadge && (\n\t\t\t\t\t<div\n\t\t\t\t\t\tclassName={cn(\n\t\t\t\t\t\t\t\"wwc:pointer-events-none wwc:absolute wwc:bottom-3 wwc:left-3 wwc:z-10 wwc:flex wwc:items-center wwc:gap-1.5 wwc:rounded-md wwc:bg-white/90 wwc:px-2 wwc:py-1 wwc:text-[11px] wwc:font-medium wwc:text-muted-foreground dark:wwc:bg-zinc-900/90\",\n\t\t\t\t\t\t\tFLOAT_SHADOW,\n\t\t\t\t\t\t)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<Boxes className=\"wwc:size-3.5\" />\n\t\t\t\t\t\t{badgeLabel}\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t);\n\t},\n);\nBuildingModelPlaceholder.displayName = \"BuildingModelPlaceholder\";\n\nexport {BuildingModelPlaceholder};\n"],"mappings":";;;;;AAIA,MAAM,eAAe;AAoCrB,SAAS,UAAU,WAAmB,OAAe;CACpD,OAAO;EACN;GACC,KAAK;GACL,GAAG;GACH,GAAG;GACH,WAAW,eAAe,YAAY,EAAE,iBAAiB,QAAQ,EAAE;EACpE;EACA;GACC,KAAK;GACL,GAAG;GACH,GAAG;GACH,WAAW,cAAc,YAAY,EAAE,iBAAiB,QAAQ,EAAE;EACnE;EACA;GACC,KAAK;GACL,GAAG;GACH,GAAG;GACH,WAAW,cAAc,YAAY,EAAE,iBAAiB,QAAQ,EAAE;EACnE;EACA;GACC,KAAK;GACL,GAAG;GACH,GAAG;GACH,WAAW,eAAe,YAAY,EAAE,iBAAiB,QAAQ,EAAE;EACpE;CACD;AACD;;;;;;;AAQA,MAAM,2BAA2B,MAAM,YAErC,EACC,WACA,QACA,UACA,eACA,iBACA,YAAY,MACZ,aAAa,2CACb,YAAY,KACZ,WAAW,IACX,aAAa,IACb,GAAG,SAEJ,QACI;CACJ,MAAM,IAAI,OAAO;CACjB,MAAM,QAAQ,MAAM,cAAc,UAAU,WAAW,UAAU,GAAG,CAAC,WAAW,UAAU,CAAC;CAC3F,MAAM,CAAC,UAAU,eAAe,MAAM,SAAS,mBAAmB;EAAC,GAAG;EAAI,GAAG;CAAG,CAAC;CACjF,MAAM,CAAC,UAAU,eAAe,MAAM,SAAS,KAAK;CACpD,MAAM,aAAa,MAAM,OAAgE,IAAI;CAC7F,MAAM,aAAa,MAAM,OAAO,KAAK;CAErC,MAAM,cAAc,MAA0B;EAC7C,IAAI,EAAE,WAAW,GAAG;EACpB,WAAW,UAAU;GAAC,IAAI,EAAE;GAAS,IAAI,EAAE;GAAS,IAAI,SAAS;GAAG,IAAI,SAAS;EAAC;EAClF,WAAW,UAAU;EACrB,YAAY,IAAI;EAChB,EAAG,cAA0B,oBAAoB,EAAE,SAAS;CAC7D;CACA,MAAM,aAAa,MAA0B;EAC5C,MAAM,IAAI,WAAW;EACrB,IAAI,CAAC,GAAG;EACR,IAAI,KAAK,IAAI,EAAE,UAAU,EAAE,EAAE,IAAI,KAAK,IAAI,EAAE,UAAU,EAAE,EAAE,IAAI,GAAG,WAAW,UAAU;EACtF,YAAY;GACX,GAAG,KAAK,IAAI,IAAI,KAAK,IAAI,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAG,CAAC;GAC7D,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM;EAChC,CAAC;CACF;CACA,MAAM,YAAY,MAA0B;EAC3C,IAAI,CAAC,WAAW,SAAS;EACzB,WAAW,UAAU;EACrB,YAAY,KAAK;EACjB,EAAG,cAA0B,wBAAwB,EAAE,SAAS;CACjE;CACA,MAAM,cAAc,OAAe;EAClC,IAAI,WAAW,SAAS;EACxB,gBAAgB,EAAE;CACnB;CAEA,OACC,qBAAC,OAAD;EACM;EACL,WAAW,GACV,+FACA,SACD;EACA,GAAI;EANL,UAAA;GASC,oBAAC,OAAD;IACC,WAAW,GAAG,oCAAoC,WAAW,wBAAwB,iBAAiB;IACtG,eAAe;IACf,eAAe;IACf,aAAa;IACb,iBAAiB;GACjB,CAAA;GAED,oBAAC,OAAD;IACC,WAAU;IACV,OAAO,EAAC,aAAa,SAAQ;IAE7B,UAAA,oBAAC,OAAD;KACC,OAAO;MACN,OAAO;MACP,QAAQ;MACR,gBAAgB;MAChB,WAAW,WAAW,SAAS,EAAE,eAAe,SAAS,EAAE;KAC5D;KAEC,UAAA,OAAO,KAAK,OAAO,MAAM;MAEzB,MAAM,KADQ,IAAI,IAAI,KACF,IAAI,KAAK,KAAK;MAClC,MAAM,SAAS,MAAM,OAAO;MAC5B,MAAM,eAAe,MAAM,gBAAgB;MAC3C,MAAM,OAAO,SACV,yCACA,eACC,4FACA;MACJ,MAAM,OAAO,SACV,yCACA,eACC,4FACA;MACJ,OACC,qBAAC,OAAD;OAEC,MAAK;OACL,UAAU;OACV,gBAAc;OACd,cAAY,MAAM,SAAS,OAAO,GAAG,MAAM,MAAM,KAAK,MAAM,MAAM,KAAK,MAAM;OAC7E,WAAW,GAAG,oDAAoD,CAAC,UAAU,oBAAoB;OACjG,OAAO;QAAC,gBAAgB;QAAe,WAAW,cAAc,EAAE;OAAI;OACtE,eAAe;OACf,eAAe;OACf,aAAa;OACb,eAAe,WAAW,MAAM,EAAE;OAClC,YAAY,MAAM;QACjB,IAAI,EAAE,QAAQ,WAAW,EAAE,QAAQ,KAAK;SACvC,EAAE,eAAe;SACjB,gBAAgB,MAAM,EAAE;QACzB;OACD;OAjBD,UAAA;QAmBC,oBAAC,OAAD;SACC,WAAW,GACV,sDACA,MACA,UAAU,6BACX;SACA,OAAO,EAAC,WAAW,+BAA8B;QACjD,CAAA;QACA,MAAM,KAAK,SACX,oBAAC,OAAD;SAEC,WAAW,GAAG,2BAA2B,IAAI;SAC7C,OAAO;UACN,OAAO,KAAK;UACZ,QAAQ,KAAK;UACb,MAAM,cAAc,KAAK,IAAI,EAAE;UAC/B,KAAK,cAAc,KAAK,IAAI,EAAE;UAC9B,WAAW,KAAK;SACjB;QACA,GATK,KAAK,GASV,CACD;QACD,qBAAC,OAAD;SACC,WAAU;SACV,OAAO,EACN,WAAW,oCAAoC,aAAa,EAAE,cAAc,CAAC,SAAS,EAAE,eAAe,CAAC,SAAS,EAAE,MACpH;SAJD,UAAA,CAMC,oBAAC,QAAD;UAAM,WAAU;UAAuB,UAAA,MAAM;SAAY,CAAA,GACxD,MAAM,SAAS,QACf,qBAAA,YAAA,EAAA,UAAA,CACC,oBAAC,QAAD;UAAM,WAAU;UAAmC,eAAY;SAAQ,CAAA,GACvE,qBAAC,QAAD;UAAM,WAAW,SAAS,qBAAqB;UAA/C,UAAA,CACE,MAAM,OAAM,GACR;SACL,CAAA,CAAA,EAAA,CAAA,CAEC;;OACD;MAvDC,GAAA,MAAM,EAuDP;KAEP,CAAC;IACG,CAAA;GACD,CAAA;GAEJ,aACA,qBAAC,OAAD;IACC,WAAW,GACV,kPACA,YACD;IAJD,UAAA,CAMC,oBAAC,OAAD,EAAO,WAAU,eAAgB,CAAA,GAChC,UACG;;EAEF;;AAEP,CACD;AACA,yBAAyB,cAAc"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
//#region src/building-progress.d.ts
|
|
3
|
+
/** One floor/level row in the building progress stack. */
|
|
4
|
+
export interface BuildingFloor {
|
|
5
|
+
/** Stable id, matched against `activeId` to pick the highlighted floor. */
|
|
6
|
+
id: string;
|
|
7
|
+
/** Short floor label, e.g. "GF" or "RF" (rendered uppercase). */
|
|
8
|
+
label: string;
|
|
9
|
+
/** Completion percentage, 0–100. */
|
|
10
|
+
value: number;
|
|
11
|
+
}
|
|
12
|
+
export interface BuildingProgressProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onSelect"> {
|
|
13
|
+
/** Floors ordered top → bottom (roof first, base last), mirroring the building elevation. */
|
|
14
|
+
floors: BuildingFloor[];
|
|
15
|
+
/** Id of the highlighted (currently viewed) floor. */
|
|
16
|
+
activeId?: string;
|
|
17
|
+
/** Fires when a floor is clicked. When provided, the rows render as buttons. */
|
|
18
|
+
onFloorSelect?: (id: string) => void;
|
|
19
|
+
/** Pixels each floor widens toward the base, giving the tapered building silhouette. Default 24. */
|
|
20
|
+
taperStep?: number;
|
|
21
|
+
/** Density. `compact` shrinks the rows, bars and text. Default `default`. */
|
|
22
|
+
size?: "default" | "compact";
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* A building elevation progress stack: one row per floor (top → bottom) with a completion bar and
|
|
26
|
+
* percentage, tapering wider toward the base like a building silhouette. The `activeId` floor is
|
|
27
|
+
* highlighted; pass `onFloorSelect` to make the rows interactive.
|
|
28
|
+
*/
|
|
29
|
+
declare const BuildingProgress: React.ForwardRefExoticComponent<BuildingProgressProps & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
+
//#endregion
|
|
31
|
+
export { BuildingProgress };
|
|
32
|
+
//# sourceMappingURL=building-progress.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"building-progress.d.mts","names":[],"sources":["../src/building-progress.tsx"],"mappings":";;;iBAIiB;;EAEhB;;EAEA;;EAEA;;iBAGgB,8BAA8B,KAAK,MAAM,eAAe;;EAExE,QAAQ;;EAER;;EAEA,iBAAiB;;EAEjB;;EAEA;;;;;;;cAsCK,kBAAgB,MAAA,0BAAA,wBAAA,MAAA,cAAA"}
|