@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 @@
|
|
|
1
|
+
{"version":3,"file":"chart.mjs","names":[],"sources":["../src/chart.tsx"],"sourcesContent":["import type {ECharts, EChartsOption} from \"echarts\";\n\nimport {cssColorToRgb, getChartColors, getCssVarAsRgb} from \"@corensystem/coren-utils\";\nimport * as echarts from \"echarts\";\nimport * as React from \"react\";\n\nimport {WidgetCard, WidgetCardActions, WidgetCardBody, WidgetCardHeader, WidgetCardTitle} from \"./widget-card\";\n\nexport type ChartConfig = {\n\t[k in string]: {\n\t\tlabel?: React.ReactNode;\n\t\ticon?: React.ComponentType;\n\t} & ({color?: string; theme?: never} | {color?: never; theme: Record<\"light\" | \"dark\", string>});\n};\n\nexport type ChartSemanticTone =\n\t| \"primary\"\n\t| \"success\"\n\t| \"warning\"\n\t| \"destructive\"\n\t| \"muted\"\n\t| \"chart-1\"\n\t| \"chart-2\"\n\t| \"chart-3\"\n\t| \"chart-4\"\n\t| \"chart-5\";\n\nexport type ChartSeriesTheme = {tone: ChartSemanticTone; colorIndex?: never} | {tone?: never; colorIndex: number};\n\nconst TONE_VARIABLES: Record<ChartSemanticTone, string> = {\n\tprimary: \"--primary\",\n\tsuccess: \"--success\",\n\twarning: \"--warning\",\n\tdestructive: \"--destructive\",\n\tmuted: \"--muted-foreground\",\n\t\"chart-1\": \"--chart-1\",\n\t\"chart-2\": \"--chart-2\",\n\t\"chart-3\": \"--chart-3\",\n\t\"chart-4\": \"--chart-4\",\n\t\"chart-5\": \"--chart-5\",\n};\n\nconst CANVAS_UNSAFE_COLOR = /(?:var\\(|oklch\\(|oklab\\(|lab\\(|lch\\(|color\\()/i;\n\nfunction themedSeriesColor(theme: ChartSeriesTheme): string {\n\tif (theme.tone) return getCssVarAsRgb(TONE_VARIABLES[theme.tone]);\n\tconst colors = getChartColors();\n\treturn colors[((theme.colorIndex % colors.length) + colors.length) % colors.length];\n}\n\nfunction normalizeColorValue(value: unknown, key?: string): unknown {\n\tif (Array.isArray(value)) return value.map((item) => normalizeColorValue(item, key));\n\tif (value && typeof value === \"object\")\n\t\treturn Object.fromEntries(\n\t\t\tObject.entries(value).map(([childKey, childValue]) => [childKey, normalizeColorValue(childValue, childKey)]),\n\t\t);\n\tif (typeof value === \"string\" && key && /(?:^color$|color$)/i.test(key) && CANVAS_UNSAFE_COLOR.test(value))\n\t\treturn cssColorToRgb(value);\n\treturn value;\n}\n\n/**\n * Returns an ECharts option whose CSS Color 4 values are converted to canvas-safe RGB strings.\n * Optional series themes let consumers use Core semantic tones or palette indexes without\n * reading CSS variables or introducing raw color literals.\n *\n * Colors are resolved against the theme that is live **at call time** — the returned option holds\n * concrete RGB strings, so a memoised result goes stale the moment the theme is switched. Prefer\n * `<ChartContainer seriesThemes={...} />`, which re-resolves them on every theme change; call this\n * directly only when you need the option object itself, and key your memo on {@link useThemeVersion}.\n */\nexport function createThemedChartOption(option: EChartsOption, seriesThemes: ChartSeriesTheme[] = []): EChartsOption {\n\tconst normalized = normalizeColorValue(option) as EChartsOption;\n\tif (!seriesThemes.length || !Array.isArray(normalized.series)) return normalized;\n\treturn {\n\t\t...normalized,\n\t\tseries: normalized.series.map((series, index) => {\n\t\t\tconst theme = seriesThemes[index];\n\t\t\tif (!theme || !series || typeof series !== \"object\") return series;\n\t\t\tconst color = themedSeriesColor(theme);\n\t\t\tconst record = series as Record<string, unknown>;\n\t\t\treturn {\n\t\t\t\t...record,\n\t\t\t\tlineStyle: {...(record.lineStyle as Record<string, unknown> | undefined), color},\n\t\t\t\titemStyle: {...(record.itemStyle as Record<string, unknown> | undefined), color},\n\t\t\t};\n\t\t}),\n\t};\n}\n\n/**\n * A counter that changes whenever the live theme does, so anything resolved from a CSS variable can\n * be read again.\n *\n * Every color here comes out of `getComputedStyle(document.documentElement)`, which returns a\n * concrete RGB string for whichever theme was live when it ran. Toggling `.dark` (or `.wwc-invert`,\n * or `data-theme`) on `<html>` swaps the variables underneath but recomputes nothing — a chart\n * memoised on mount keeps painting light-mode colors on a dark card until something invalidates it.\n * That is what this hook is: an attribute observer over `<html>` plus the system-preference media\n * query, both of which mean \"read the variables again\".\n *\n * Use it as a dependency of any memo that resolves theme colors itself.\n */\nexport function useThemeVersion(): number {\n\tconst [version, setVersion] = React.useState(0);\n\n\tReact.useEffect(() => {\n\t\tconst bump = () => setVersion((current) => current + 1);\n\n\t\tconst observer = new MutationObserver(bump);\n\t\tobserver.observe(document.documentElement, {attributes: true, attributeFilter: [\"class\", \"data-theme\"]});\n\n\t\tconst media = window.matchMedia(\"(prefers-color-scheme: dark)\");\n\t\tmedia.addEventListener(\"change\", bump);\n\n\t\treturn () => {\n\t\t\tobserver.disconnect();\n\t\t\tmedia.removeEventListener(\"change\", bump);\n\t\t};\n\t}, []);\n\n\treturn version;\n}\n\n/**\n * Hook that returns theme-aware colors derived from CSS variables.\n * Returns chart colors (--chart-1 through --chart-5) and common UI colors.\n * Recomputes on every theme change, so an option built from these values is never stale.\n */\nexport function useChartTheme() {\n\tconst themeVersion = useThemeVersion();\n\n\t// The version is taken as an argument rather than closed over: it is a real input here, since\n\t// every value below reads the live CSS variables and the version is what says they moved.\n\treturn React.useMemo(() => readChartTheme(themeVersion), [themeVersion]);\n}\n\n/** Reads the whole palette from the document. The version argument only dates the answer. */\nfunction readChartTheme(_themeVersion: number) {\n\treturn {\n\t\tcolors: getChartColors(),\n\t\ttextColor: getCssVarAsRgb(\"--foreground\"),\n\t\tmutedColor: getCssVarAsRgb(\"--muted-foreground\"),\n\t\tborderColor: getCssVarAsRgb(\"--border\"),\n\t\tbackgroundColor: getCssVarAsRgb(\"--background\"),\n\t};\n}\n\ntype ChartPalette = {textColor: string; mutedColor: string; borderColor: string};\n\n/**\n * Defaults a `color` on a text-ish ECharts node. The caller's own value wins — spreading the\n * existing record last is what makes this a default rather than an override.\n */\nfunction withTextColor(node: unknown, color: string): Record<string, unknown> {\n\treturn {color, ...((node ?? {}) as Record<string, unknown>)};\n}\n\n/** The same, for the `lineStyle.color` of an axis line, tick, or gridline. */\nfunction withLineColor(node: unknown, color: string): Record<string, unknown> {\n\tconst record = (node ?? {}) as Record<string, unknown>;\n\treturn {...record, lineStyle: {color, ...((record.lineStyle ?? {}) as Record<string, unknown>)}};\n}\n\nfunction themedAxis(axis: unknown, palette: ChartPalette): unknown {\n\tif (Array.isArray(axis)) return axis.map((entry) => themedAxis(entry, palette));\n\tif (!axis || typeof axis !== \"object\") return axis;\n\tconst record = axis as Record<string, unknown>;\n\treturn {\n\t\t...record,\n\t\taxisLabel: withTextColor(record.axisLabel, palette.mutedColor),\n\t\taxisLine: withLineColor(record.axisLine, palette.borderColor),\n\t\taxisTick: withLineColor(record.axisTick, palette.borderColor),\n\t\tsplitLine: withLineColor(record.splitLine, palette.borderColor),\n\t};\n}\n\nfunction themedTextNode(node: unknown, color: string): unknown {\n\tif (Array.isArray(node)) return node.map((entry) => themedTextNode(entry, color));\n\tif (!node || typeof node !== \"object\") return node;\n\tconst record = node as Record<string, unknown>;\n\treturn {...record, textStyle: withTextColor(record.textStyle, color)};\n}\n\n/**\n * Fills in the chart's own furniture — label text, axis lines, gridlines — from the live theme.\n *\n * Left unset, ECharts falls back to its built-in `#333` text and `#ccc` lines, which are literals\n * and stay put when the page inverts. Anything the option already states is kept, so this only ever\n * colors what the caller left to chance. Axes absent from the option are not invented.\n */\nfunction withThemeDefaults(option: EChartsOption): EChartsOption {\n\tif (typeof document === \"undefined\") return option;\n\n\tconst palette: ChartPalette = {\n\t\ttextColor: getCssVarAsRgb(\"--foreground\"),\n\t\tmutedColor: getCssVarAsRgb(\"--muted-foreground\"),\n\t\tborderColor: getCssVarAsRgb(\"--border\"),\n\t};\n\tconst record = option as Record<string, unknown>;\n\tconst themed: Record<string, unknown> = {...record, textStyle: withTextColor(record.textStyle, palette.textColor)};\n\n\tif (record.xAxis) themed.xAxis = themedAxis(record.xAxis, palette);\n\tif (record.yAxis) themed.yAxis = themedAxis(record.yAxis, palette);\n\tif (record.radiusAxis) themed.radiusAxis = themedAxis(record.radiusAxis, palette);\n\tif (record.angleAxis) themed.angleAxis = themedAxis(record.angleAxis, palette);\n\tif (record.legend) themed.legend = themedTextNode(record.legend, palette.mutedColor);\n\tif (record.title) themed.title = themedTextNode(record.title, palette.textColor);\n\n\treturn themed as EChartsOption;\n}\n\ninterface ChartContainerProps {\n\tconfig?: ChartConfig;\n\toption: EChartsOption;\n\t/**\n\t * Core semantic tones or palette indexes applied to `option.series` in order. Prefer this over\n\t * calling {@link createThemedChartOption} yourself: the colors are resolved here, on every theme\n\t * change, so the series survive a switch to dark mode.\n\t */\n\tseriesThemes?: ChartSeriesTheme[];\n\tclassName?: string;\n\tstyle?: React.CSSProperties;\n\theight?: number | string;\n\tonEvents?: Record<string, (params: unknown) => void>;\n\t/** When set, the chart is framed in a WidgetCard with this name in the grey header band. */\n\ttitle?: React.ReactNode;\n\t/** Right-aligned header slot (info icon, menu, ...). Only rendered alongside a `title`. */\n\tactions?: React.ReactNode;\n\t/** Headline figure rendered above the chart, inside the card body. */\n\tvalue?: React.ReactNode;\n}\n\n/**\n * ECharts wrapper that manages its own instance to prevent hover/tooltip issues.\n * Uses echarts directly instead of echarts-for-react to avoid re-render problems.\n * Passing `title` frames the chart in the shared analytics container (grey header band + body).\n *\n * Colors are re-resolved and re-applied on every theme change, not only when `option` changes\n * identity — a memoised option is the normal thing for a caller to pass, and it must not freeze the\n * chart in the theme it was first painted in.\n */\nconst ChartContainer = React.forwardRef<HTMLDivElement, ChartContainerProps>(\n\t({config: _config, option, seriesThemes, className, style, height, onEvents, title, actions, value}, ref) => {\n\t\tconst chartRef = React.useRef<HTMLDivElement>(null);\n\t\tconst instanceRef = React.useRef<ECharts | null>(null);\n\t\tconst themeVersion = useThemeVersion();\n\n\t\t// Initialize chart on mount\n\t\tReact.useEffect(() => {\n\t\t\tif (!chartRef.current) return;\n\n\t\t\tconst instance = echarts.init(chartRef.current);\n\t\t\tinstanceRef.current = instance;\n\n\t\t\t// Bind events\n\t\t\tif (onEvents) {\n\t\t\t\tfor (const [event, handler] of Object.entries(onEvents)) {\n\t\t\t\t\tinstance.on(event, handler as (...args: unknown[]) => void);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Handle resize\n\t\t\tconst observer = new ResizeObserver(() => {\n\t\t\t\tinstance.resize();\n\t\t\t});\n\t\t\tobserver.observe(chartRef.current);\n\n\t\t\treturn () => {\n\t\t\t\tobserver.disconnect();\n\t\t\t\tinstance.dispose();\n\t\t\t\tinstanceRef.current = null;\n\t\t\t};\n\t\t}, []);\n\n\t\t// A caller writing `seriesThemes={[{tone: \"primary\"}]}` inline hands us a new array every render;\n\t\t// its contents are what matter, so the effect keys on those and reads the latest array by ref.\n\t\tconst seriesThemesRef = React.useRef(seriesThemes);\n\t\tseriesThemesRef.current = seriesThemes;\n\t\tconst seriesThemesKey = JSON.stringify(seriesThemes ?? []);\n\n\t\t// Update option without destroying chart — on a new option, and on a theme change.\n\t\tReact.useEffect(() => {\n\t\t\tif (instanceRef.current) {\n\t\t\t\tconst themed = withThemeDefaults(createThemedChartOption(option, seriesThemesRef.current));\n\t\t\t\tinstanceRef.current.setOption(themed, {notMerge: false, lazyUpdate: true});\n\t\t\t}\n\t\t}, [option, seriesThemesKey, themeVersion]);\n\n\t\t// Merge refs\n\t\tReact.useImperativeHandle(ref, () => chartRef.current!, []);\n\n\t\tconst chartStyle: React.CSSProperties = {\n\t\t\t...style,\n\t\t\theight: height ?? style?.height ?? 300,\n\t\t\twidth: \"100%\",\n\t\t};\n\n\t\tconst canvas = <div ref={chartRef} style={chartStyle} />;\n\n\t\tif (title === undefined) {\n\t\t\treturn <div className={className}>{canvas}</div>;\n\t\t}\n\n\t\treturn (\n\t\t\t<WidgetCard className={className}>\n\t\t\t\t<WidgetCardHeader>\n\t\t\t\t\t<WidgetCardTitle>{title}</WidgetCardTitle>\n\t\t\t\t\t{actions && <WidgetCardActions>{actions}</WidgetCardActions>}\n\t\t\t\t</WidgetCardHeader>\n\t\t\t\t<WidgetCardBody>\n\t\t\t\t\t{value !== undefined && <div className=\"wwc:text-3xl wwc:font-semibold wwc:tracking-tight\">{value}</div>}\n\t\t\t\t\t{canvas}\n\t\t\t\t</WidgetCardBody>\n\t\t\t</WidgetCard>\n\t\t);\n\t},\n);\nChartContainer.displayName = \"ChartContainer\";\n\nexport {ChartContainer};\n"],"mappings":"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"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
//#region src/chat/core-ai-chat-header.d.ts
|
|
3
|
+
export type AIChatHeaderVariant = "header" | "toolbar";
|
|
4
|
+
export interface AIChatModel {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
description?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface AIChatMode {
|
|
11
|
+
id: string;
|
|
12
|
+
label: string;
|
|
13
|
+
icon?: React.ReactNode;
|
|
14
|
+
description?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface AIChatHeaderAction {
|
|
17
|
+
id: string;
|
|
18
|
+
label: string;
|
|
19
|
+
icon: React.ReactNode;
|
|
20
|
+
onSelect: () => void;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
tone?: "default" | "destructive";
|
|
23
|
+
}
|
|
24
|
+
export interface AIChatHeaderContext {
|
|
25
|
+
/** Primary usage line, e.g. "Context used: 0.2%" or "12k / 200k tokens". */
|
|
26
|
+
usage?: React.ReactNode;
|
|
27
|
+
/** Background process line — automatically prefixed with a small spinner. */
|
|
28
|
+
status?: React.ReactNode;
|
|
29
|
+
}
|
|
30
|
+
export interface AIChatHeaderProps {
|
|
31
|
+
/**
|
|
32
|
+
* Layout variant.
|
|
33
|
+
* - `"toolbar"` (default): left pane toggle + context (usage + spinner status) on the left.
|
|
34
|
+
* Right cluster leads with a hamburger overflow when more than `maxVisibleActions` actions
|
|
35
|
+
* (or any `menuActions`) are passed.
|
|
36
|
+
* - `"header"`: model/mode dropdowns on the left. Right cluster trails with a kebab for `menuActions`.
|
|
37
|
+
*/
|
|
38
|
+
variant?: AIChatHeaderVariant;
|
|
39
|
+
/** When provided, renders the left pane toggle button. */
|
|
40
|
+
onTogglePane?: () => void;
|
|
41
|
+
/** Current state of the left pane — flips the icon between PanelLeft / PanelLeftClose. */
|
|
42
|
+
paneOpen?: boolean;
|
|
43
|
+
/** aria-label for the pane toggle. Defaults to "Toggle side panel". */
|
|
44
|
+
paneToggleLabel?: string;
|
|
45
|
+
/** Context block rendered between the pane toggle and the action cluster. */
|
|
46
|
+
context?: AIChatHeaderContext;
|
|
47
|
+
models?: AIChatModel[];
|
|
48
|
+
selectedModelId?: string;
|
|
49
|
+
onSelectModel?: (id: string) => void;
|
|
50
|
+
modes?: AIChatMode[];
|
|
51
|
+
selectedModeId?: string;
|
|
52
|
+
onSelectMode?: (id: string) => void;
|
|
53
|
+
/**
|
|
54
|
+
* When set, the left cluster collapses to a back button plus `backTitle`, hiding the variant's
|
|
55
|
+
* own left content. Used for drill-ins like the history list, so returning restores the view
|
|
56
|
+
* underneath untouched.
|
|
57
|
+
*/
|
|
58
|
+
onBack?: () => void;
|
|
59
|
+
/** Title shown next to the back button. */
|
|
60
|
+
backTitle?: React.ReactNode;
|
|
61
|
+
/** aria-label for the back button. Defaults to "Back". */
|
|
62
|
+
backLabel?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Conversation name shown in the header. Pass it (even as `""`) to render the name slot;
|
|
65
|
+
* omit it to leave the header as it was. With `onSessionNameChange` it becomes click-to-edit.
|
|
66
|
+
*/
|
|
67
|
+
sessionName?: string;
|
|
68
|
+
/** Commit handler for the edited name. Omit to render the name as static text. */
|
|
69
|
+
onSessionNameChange?: (next: string) => void;
|
|
70
|
+
/** Shown when `sessionName` is empty — the untitled state. Defaults to "New chat". */
|
|
71
|
+
sessionNamePlaceholder?: string;
|
|
72
|
+
/** aria-label for the rename control. Defaults to "Rename chat". */
|
|
73
|
+
sessionNameLabel?: string;
|
|
74
|
+
/** Right-side icon-button actions. Defaults: toolbar caps at 4; header has no cap. */
|
|
75
|
+
actions?: AIChatHeaderAction[];
|
|
76
|
+
/** Cap on directly-rendered actions before overflow kicks in. Overrides the variant default. */
|
|
77
|
+
maxVisibleActions?: number;
|
|
78
|
+
/** Additional actions hidden behind the overflow menu. */
|
|
79
|
+
menuActions?: AIChatHeaderAction[];
|
|
80
|
+
/** aria-label for the overflow trigger. Defaults to "More actions". */
|
|
81
|
+
menuLabel?: string;
|
|
82
|
+
/** Slot rendered after the variant's left content. */
|
|
83
|
+
leftExtra?: React.ReactNode;
|
|
84
|
+
/** Slot rendered before the right action cluster. */
|
|
85
|
+
rightExtra?: React.ReactNode;
|
|
86
|
+
className?: string;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Bar above the AI chat conversation. Two variants share the same right-side action cluster:
|
|
90
|
+
* - `toolbar` (default) — pane toggle + context info on the left, hamburger-led overflow on the right.
|
|
91
|
+
* - `header` — model/mode dropdowns on the left, kebab-trailing overflow on the right.
|
|
92
|
+
*/
|
|
93
|
+
export declare function AIChatHeader({ variant, onTogglePane, paneOpen, paneToggleLabel, context, models, selectedModelId, onSelectModel, modes, selectedModeId, onSelectMode, onBack, backTitle, backLabel, sessionName, onSessionNameChange, sessionNamePlaceholder, sessionNameLabel, actions, maxVisibleActions, menuActions, menuLabel, leftExtra, rightExtra, className }: AIChatHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
94
|
+
//#endregion
|
|
95
|
+
//# sourceMappingURL=core-ai-chat-header.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core-ai-chat-header.d.mts","names":[],"sources":["../../src/chat/core-ai-chat-header.tsx"],"mappings":";;YAQY;iBAEK;EAChB;EACA;EACA,OAAO,MAAM;EACb;;iBAGgB;EAChB;EACA;EACA,OAAO,MAAM;EACb;;iBAGgB;EAChB;EACA;EACA,MAAM,MAAM;EACZ;EACA;EACA;;iBAGgB;;EAEhB,QAAQ,MAAM;;EAEd,SAAS,MAAM;;iBAGC;;;;;;;;EAQhB,UAAU;;EAIV;;EAEA;;EAEA;;EAEA,UAAU;EAGV,SAAS;EACT;EACA,iBAAiB;EACjB,QAAQ;EACR;EACA,gBAAgB;;;;;;EAQhB;;EAEA,YAAY,MAAM;;EAElB;;;;;EAOA;;EAEA,uBAAuB;;EAEvB;;EAEA;;EAEA,UAAU;;EAEV;;EAEA,cAAc;;EAEd;;EAEA,YAAY,MAAM;;EAElB,aAAa,MAAM;EAEnB;;;;;;;wBAQe,eACf,SACA,cACA,UACA,iBACA,SACA,QACA,iBACA,eACA,OACA,gBACA,cACA,QACA,WACA,WACA,aACA,qBACA,wBACA,kBACA,SACA,mBACA,aACA,WACA,WACA,YACA,aACE,gDAAiB,IAAA"}
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import { HoverTooltip } from "../tooltip.mjs";
|
|
2
|
+
import { Button } from "../button.mjs";
|
|
3
|
+
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "../dropdown-menu.mjs";
|
|
4
|
+
import { cn } from "@corensystem/coren-utils";
|
|
5
|
+
import { ArrowLeft, Loader2, Menu, MoreVertical, PanelLeft, PanelLeftClose } from "lucide-react";
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
//#region src/chat/core-ai-chat-header.tsx
|
|
9
|
+
/**
|
|
10
|
+
* Bar above the AI chat conversation. Two variants share the same right-side action cluster:
|
|
11
|
+
* - `toolbar` (default) — pane toggle + context info on the left, hamburger-led overflow on the right.
|
|
12
|
+
* - `header` — model/mode dropdowns on the left, kebab-trailing overflow on the right.
|
|
13
|
+
*/
|
|
14
|
+
function AIChatHeader({ variant = "toolbar", onTogglePane, paneOpen, paneToggleLabel = "Toggle side panel", context, models, selectedModelId, onSelectModel, modes, selectedModeId, onSelectMode, onBack, backTitle, backLabel = "Back", sessionName, onSessionNameChange, sessionNamePlaceholder = "New chat", sessionNameLabel = "Rename chat", actions, maxVisibleActions, menuActions, menuLabel = "More actions", leftExtra, rightExtra, className }) {
|
|
15
|
+
const isToolbar = variant === "toolbar";
|
|
16
|
+
const effectiveCap = maxVisibleActions ?? (isToolbar ? 4 : Number.POSITIVE_INFINITY);
|
|
17
|
+
const allActions = actions ?? [];
|
|
18
|
+
const visibleActions = allActions.slice(0, effectiveCap);
|
|
19
|
+
const combinedMenuActions = [...allActions.slice(effectiveCap), ...menuActions ?? []];
|
|
20
|
+
const hasOverflow = combinedMenuActions.length > 0;
|
|
21
|
+
const OverflowIcon = isToolbar ? Menu : MoreVertical;
|
|
22
|
+
const showModelDropdown = models !== void 0 && models.length > 0 && onSelectModel !== void 0;
|
|
23
|
+
const showModeDropdown = modes !== void 0 && modes.length > 0 && onSelectMode !== void 0;
|
|
24
|
+
const selectedModel = showModelDropdown ? models.find((m) => m.id === selectedModelId) ?? models[0] : void 0;
|
|
25
|
+
const selectedMode = showModeDropdown ? modes.find((m) => m.id === selectedModeId) ?? modes[0] : void 0;
|
|
26
|
+
const hasUsage = context?.usage !== void 0;
|
|
27
|
+
const hasStatus = context?.status !== void 0;
|
|
28
|
+
const hasContext = hasUsage || hasStatus;
|
|
29
|
+
const hasPaneToggle = onTogglePane !== void 0;
|
|
30
|
+
const showSessionName = sessionName !== void 0;
|
|
31
|
+
const canRename = showSessionName && onSessionNameChange !== void 0;
|
|
32
|
+
const [isRenaming, setIsRenaming] = React.useState(false);
|
|
33
|
+
const [draft, setDraft] = React.useState(sessionName ?? "");
|
|
34
|
+
const renameInputRef = React.useRef(null);
|
|
35
|
+
React.useEffect(() => {
|
|
36
|
+
if (!isRenaming) setDraft(sessionName ?? "");
|
|
37
|
+
}, [sessionName, isRenaming]);
|
|
38
|
+
React.useEffect(() => {
|
|
39
|
+
if (isRenaming) renameInputRef.current?.select();
|
|
40
|
+
}, [isRenaming]);
|
|
41
|
+
const commitRename = () => {
|
|
42
|
+
const next = draft.trim();
|
|
43
|
+
setIsRenaming(false);
|
|
44
|
+
if (next !== (sessionName ?? "")) onSessionNameChange?.(next);
|
|
45
|
+
};
|
|
46
|
+
const cancelRename = () => {
|
|
47
|
+
setDraft(sessionName ?? "");
|
|
48
|
+
setIsRenaming(false);
|
|
49
|
+
};
|
|
50
|
+
const sessionNameNode = !showSessionName ? null : isRenaming ? /* @__PURE__ */ jsx("input", {
|
|
51
|
+
ref: renameInputRef,
|
|
52
|
+
value: draft,
|
|
53
|
+
autoFocus: true,
|
|
54
|
+
"aria-label": sessionNameLabel,
|
|
55
|
+
placeholder: sessionNamePlaceholder,
|
|
56
|
+
onChange: (e) => setDraft(e.target.value),
|
|
57
|
+
onBlur: commitRename,
|
|
58
|
+
onKeyDown: (e) => {
|
|
59
|
+
if (e.key === "Enter") {
|
|
60
|
+
e.preventDefault();
|
|
61
|
+
commitRename();
|
|
62
|
+
} else if (e.key === "Escape") {
|
|
63
|
+
e.preventDefault();
|
|
64
|
+
cancelRename();
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
size: Math.max(8, Math.min((draft || sessionNamePlaceholder).length, 28)),
|
|
68
|
+
className: "wwc:min-w-0 wwc:max-w-44 wwc:rounded wwc:border wwc:border-input wwc:bg-background wwc:px-1.5 wwc:py-0.5 wwc:text-sm wwc:font-medium wwc:text-foreground wwc:outline-none wwc:focus-visible:ring-2 wwc:focus-visible:ring-ring"
|
|
69
|
+
}) : canRename ? /* @__PURE__ */ jsx(HoverTooltip, {
|
|
70
|
+
content: sessionNameLabel,
|
|
71
|
+
children: /* @__PURE__ */ jsx("button", {
|
|
72
|
+
type: "button",
|
|
73
|
+
onClick: () => setIsRenaming(true),
|
|
74
|
+
"aria-label": sessionNameLabel,
|
|
75
|
+
className: cn("wwc:min-w-0 wwc:max-w-44 wwc:truncate wwc:rounded wwc:px-1.5 wwc:py-0.5 wwc:text-sm wwc:font-medium wwc:transition-colors wwc:hover:bg-muted wwc:focus-visible:outline-none wwc:focus-visible:ring-2 wwc:focus-visible:ring-ring", sessionName ? "wwc:text-foreground" : "wwc:text-muted-foreground"),
|
|
76
|
+
children: sessionName || sessionNamePlaceholder
|
|
77
|
+
})
|
|
78
|
+
}) : /* @__PURE__ */ jsx("span", {
|
|
79
|
+
className: cn("wwc:min-w-0 wwc:max-w-44 wwc:truncate wwc:px-1.5 wwc:text-sm wwc:font-medium", sessionName ? "wwc:text-foreground" : "wwc:text-muted-foreground"),
|
|
80
|
+
children: sessionName || sessionNamePlaceholder
|
|
81
|
+
});
|
|
82
|
+
const overflowMenu = hasOverflow ? /* @__PURE__ */ jsxs(DropdownMenu, { children: [/* @__PURE__ */ jsx(HoverTooltip, {
|
|
83
|
+
content: menuLabel,
|
|
84
|
+
children: /* @__PURE__ */ jsx(DropdownMenuTrigger, {
|
|
85
|
+
asChild: true,
|
|
86
|
+
children: /* @__PURE__ */ jsx(Button, {
|
|
87
|
+
type: "button",
|
|
88
|
+
variant: "ghost",
|
|
89
|
+
icon: true,
|
|
90
|
+
"aria-label": menuLabel,
|
|
91
|
+
children: /* @__PURE__ */ jsx(OverflowIcon, {})
|
|
92
|
+
})
|
|
93
|
+
})
|
|
94
|
+
}), /* @__PURE__ */ jsx(DropdownMenuContent, {
|
|
95
|
+
align: "end",
|
|
96
|
+
className: "wwc:min-w-40",
|
|
97
|
+
children: combinedMenuActions.map((action) => /* @__PURE__ */ jsxs(DropdownMenuItem, {
|
|
98
|
+
onSelect: action.onSelect,
|
|
99
|
+
disabled: action.disabled,
|
|
100
|
+
className: cn("wwc:gap-2 wwc:[&_svg]:h-3.5 wwc:[&_svg]:w-3.5 wwc:[&_svg]:shrink-0", action.tone === "destructive" && "wwc:text-destructive wwc:focus:text-destructive wwc:focus:bg-destructive/10"),
|
|
101
|
+
children: [action.icon, /* @__PURE__ */ jsx("span", { children: action.label })]
|
|
102
|
+
}, action.id))
|
|
103
|
+
})] }) : null;
|
|
104
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
105
|
+
className: cn("wwc:flex wwc:min-h-12 wwc:w-full wwc:items-center wwc:justify-between wwc:gap-3 wwc:border-b wwc:bg-card wwc:px-2 wwc:py-1.5", className),
|
|
106
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
107
|
+
className: "wwc:flex wwc:min-w-0 wwc:flex-1 wwc:items-center wwc:gap-2",
|
|
108
|
+
children: [onBack !== void 0 ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(HoverTooltip, {
|
|
109
|
+
content: backLabel,
|
|
110
|
+
children: /* @__PURE__ */ jsx(Button, {
|
|
111
|
+
type: "button",
|
|
112
|
+
variant: "ghost",
|
|
113
|
+
icon: true,
|
|
114
|
+
onClick: onBack,
|
|
115
|
+
"aria-label": backLabel,
|
|
116
|
+
className: "wwc:flex-shrink-0",
|
|
117
|
+
children: /* @__PURE__ */ jsx(ArrowLeft, {})
|
|
118
|
+
})
|
|
119
|
+
}), backTitle !== void 0 && /* @__PURE__ */ jsx("span", {
|
|
120
|
+
className: "wwc:min-w-0 wwc:truncate wwc:text-sm wwc:font-medium wwc:text-foreground",
|
|
121
|
+
children: backTitle
|
|
122
|
+
})] }) : isToolbar ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
123
|
+
hasPaneToggle && /* @__PURE__ */ jsx(HoverTooltip, {
|
|
124
|
+
content: paneToggleLabel,
|
|
125
|
+
children: /* @__PURE__ */ jsx(Button, {
|
|
126
|
+
type: "button",
|
|
127
|
+
variant: "ghost",
|
|
128
|
+
icon: true,
|
|
129
|
+
onClick: onTogglePane,
|
|
130
|
+
"aria-label": paneToggleLabel,
|
|
131
|
+
"aria-pressed": paneOpen,
|
|
132
|
+
className: "wwc:flex-shrink-0 wwc:text-primary",
|
|
133
|
+
children: paneOpen ? /* @__PURE__ */ jsx(PanelLeftClose, {}) : /* @__PURE__ */ jsx(PanelLeft, {})
|
|
134
|
+
})
|
|
135
|
+
}),
|
|
136
|
+
sessionNameNode,
|
|
137
|
+
hasContext && /* @__PURE__ */ jsxs("div", {
|
|
138
|
+
className: "wwc:flex wwc:min-w-0 wwc:flex-col wwc:gap-0.5 wwc:text-xs wwc:text-muted-foreground",
|
|
139
|
+
children: [hasUsage && /* @__PURE__ */ jsx("div", {
|
|
140
|
+
className: "wwc:truncate wwc:leading-tight",
|
|
141
|
+
children: context.usage
|
|
142
|
+
}), hasStatus && /* @__PURE__ */ jsxs("div", {
|
|
143
|
+
className: "wwc:flex wwc:items-center wwc:gap-1.5 wwc:truncate wwc:leading-tight",
|
|
144
|
+
children: [/* @__PURE__ */ jsx(Loader2, { className: "wwc:h-3 wwc:w-3 wwc:flex-shrink-0 wwc:animate-spin wwc:text-primary" }), /* @__PURE__ */ jsx("span", {
|
|
145
|
+
className: "wwc:truncate",
|
|
146
|
+
children: context.status
|
|
147
|
+
})]
|
|
148
|
+
})]
|
|
149
|
+
})
|
|
150
|
+
] }) : /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
151
|
+
sessionNameNode,
|
|
152
|
+
showModelDropdown && selectedModel && /* @__PURE__ */ jsxs(DropdownMenu, { children: [/* @__PURE__ */ jsx(DropdownMenuTrigger, {
|
|
153
|
+
asChild: true,
|
|
154
|
+
children: /* @__PURE__ */ jsxs(Button, {
|
|
155
|
+
variant: "ghost",
|
|
156
|
+
size: "sm",
|
|
157
|
+
className: "wwc:gap-1.5 wwc:px-2",
|
|
158
|
+
children: [selectedModel.icon, /* @__PURE__ */ jsx("span", {
|
|
159
|
+
className: "wwc:font-medium",
|
|
160
|
+
children: selectedModel.label
|
|
161
|
+
})]
|
|
162
|
+
})
|
|
163
|
+
}), /* @__PURE__ */ jsx(DropdownMenuContent, {
|
|
164
|
+
align: "start",
|
|
165
|
+
className: "wwc:min-w-44",
|
|
166
|
+
children: models.map((model) => /* @__PURE__ */ jsxs(DropdownMenuItem, {
|
|
167
|
+
onSelect: () => onSelectModel?.(model.id),
|
|
168
|
+
className: cn("wwc:gap-2 wwc:[&_svg]:h-3.5 wwc:[&_svg]:w-3.5 wwc:[&_svg]:shrink-0", model.id === selectedModel.id && "wwc:bg-accent"),
|
|
169
|
+
children: [model.icon, /* @__PURE__ */ jsxs("div", {
|
|
170
|
+
className: "wwc:flex wwc:flex-col",
|
|
171
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
172
|
+
className: "wwc:font-medium",
|
|
173
|
+
children: model.label
|
|
174
|
+
}), model.description && /* @__PURE__ */ jsx("span", {
|
|
175
|
+
className: "wwc:text-[11px] wwc:text-muted-foreground",
|
|
176
|
+
children: model.description
|
|
177
|
+
})]
|
|
178
|
+
})]
|
|
179
|
+
}, model.id))
|
|
180
|
+
})] }),
|
|
181
|
+
showModeDropdown && selectedMode && /* @__PURE__ */ jsxs(DropdownMenu, { children: [/* @__PURE__ */ jsx(DropdownMenuTrigger, {
|
|
182
|
+
asChild: true,
|
|
183
|
+
children: /* @__PURE__ */ jsxs(Button, {
|
|
184
|
+
variant: "ghost",
|
|
185
|
+
size: "sm",
|
|
186
|
+
className: "wwc:gap-1.5 wwc:px-2",
|
|
187
|
+
children: [selectedMode.icon, /* @__PURE__ */ jsx("span", {
|
|
188
|
+
className: "wwc:font-medium",
|
|
189
|
+
children: selectedMode.label
|
|
190
|
+
})]
|
|
191
|
+
})
|
|
192
|
+
}), /* @__PURE__ */ jsx(DropdownMenuContent, {
|
|
193
|
+
align: "start",
|
|
194
|
+
className: "wwc:min-w-40",
|
|
195
|
+
children: modes.map((mode) => /* @__PURE__ */ jsxs(DropdownMenuItem, {
|
|
196
|
+
onSelect: () => onSelectMode?.(mode.id),
|
|
197
|
+
className: cn("wwc:gap-2 wwc:[&_svg]:h-3.5 wwc:[&_svg]:w-3.5 wwc:[&_svg]:shrink-0", mode.id === selectedMode.id && "wwc:bg-accent"),
|
|
198
|
+
children: [mode.icon, /* @__PURE__ */ jsxs("div", {
|
|
199
|
+
className: "wwc:flex wwc:flex-col",
|
|
200
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
201
|
+
className: "wwc:font-medium",
|
|
202
|
+
children: mode.label
|
|
203
|
+
}), mode.description && /* @__PURE__ */ jsx("span", {
|
|
204
|
+
className: "wwc:text-[11px] wwc:text-muted-foreground",
|
|
205
|
+
children: mode.description
|
|
206
|
+
})]
|
|
207
|
+
})]
|
|
208
|
+
}, mode.id))
|
|
209
|
+
})] })
|
|
210
|
+
] }), leftExtra]
|
|
211
|
+
}), (rightExtra !== void 0 || visibleActions.length > 0 || hasOverflow) && /* @__PURE__ */ jsxs("div", {
|
|
212
|
+
className: "wwc:flex wwc:flex-shrink-0 wwc:items-center wwc:gap-0.5",
|
|
213
|
+
children: [
|
|
214
|
+
rightExtra,
|
|
215
|
+
isToolbar && overflowMenu,
|
|
216
|
+
visibleActions.map((action) => /* @__PURE__ */ jsx(HoverTooltip, {
|
|
217
|
+
content: action.label,
|
|
218
|
+
children: /* @__PURE__ */ jsx(Button, {
|
|
219
|
+
type: "button",
|
|
220
|
+
variant: "ghost",
|
|
221
|
+
icon: true,
|
|
222
|
+
onClick: action.onSelect,
|
|
223
|
+
disabled: action.disabled,
|
|
224
|
+
"aria-label": action.label,
|
|
225
|
+
className: cn(action.tone === "destructive" && "wwc:text-destructive wwc:hover:text-destructive"),
|
|
226
|
+
children: action.icon
|
|
227
|
+
})
|
|
228
|
+
}, action.id)),
|
|
229
|
+
!isToolbar && overflowMenu
|
|
230
|
+
]
|
|
231
|
+
})]
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
//#endregion
|
|
235
|
+
export { AIChatHeader };
|
|
236
|
+
|
|
237
|
+
//# sourceMappingURL=core-ai-chat-header.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core-ai-chat-header.mjs","names":[],"sources":["../../src/chat/core-ai-chat-header.tsx"],"sourcesContent":["import {cn} from \"@corensystem/coren-utils\";\nimport {ArrowLeft, Loader2, Menu, MoreVertical, PanelLeft, PanelLeftClose} from \"lucide-react\";\nimport * as React from \"react\";\n\nimport {Button} from \"../button\";\nimport {DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger} from \"../dropdown-menu\";\nimport {HoverTooltip} from \"../tooltip\";\n\nexport type AIChatHeaderVariant = \"header\" | \"toolbar\";\n\nexport interface AIChatModel {\n\tid: string;\n\tlabel: string;\n\ticon?: React.ReactNode;\n\tdescription?: string;\n}\n\nexport interface AIChatMode {\n\tid: string;\n\tlabel: string;\n\ticon?: React.ReactNode;\n\tdescription?: string;\n}\n\nexport interface AIChatHeaderAction {\n\tid: string;\n\tlabel: string;\n\ticon: React.ReactNode;\n\tonSelect: () => void;\n\tdisabled?: boolean;\n\ttone?: \"default\" | \"destructive\";\n}\n\nexport interface AIChatHeaderContext {\n\t/** Primary usage line, e.g. \"Context used: 0.2%\" or \"12k / 200k tokens\". */\n\tusage?: React.ReactNode;\n\t/** Background process line — automatically prefixed with a small spinner. */\n\tstatus?: React.ReactNode;\n}\n\nexport interface AIChatHeaderProps {\n\t/**\n\t * Layout variant.\n\t * - `\"toolbar\"` (default): left pane toggle + context (usage + spinner status) on the left.\n\t * Right cluster leads with a hamburger overflow when more than `maxVisibleActions` actions\n\t * (or any `menuActions`) are passed.\n\t * - `\"header\"`: model/mode dropdowns on the left. Right cluster trails with a kebab for `menuActions`.\n\t */\n\tvariant?: AIChatHeaderVariant;\n\n\t// --- toolbar variant ---\n\t/** When provided, renders the left pane toggle button. */\n\tonTogglePane?: () => void;\n\t/** Current state of the left pane — flips the icon between PanelLeft / PanelLeftClose. */\n\tpaneOpen?: boolean;\n\t/** aria-label for the pane toggle. Defaults to \"Toggle side panel\". */\n\tpaneToggleLabel?: string;\n\t/** Context block rendered between the pane toggle and the action cluster. */\n\tcontext?: AIChatHeaderContext;\n\n\t// --- header variant ---\n\tmodels?: AIChatModel[];\n\tselectedModelId?: string;\n\tonSelectModel?: (id: string) => void;\n\tmodes?: AIChatMode[];\n\tselectedModeId?: string;\n\tonSelectMode?: (id: string) => void;\n\n\t// --- back mode ---\n\t/**\n\t * When set, the left cluster collapses to a back button plus `backTitle`, hiding the variant's\n\t * own left content. Used for drill-ins like the history list, so returning restores the view\n\t * underneath untouched.\n\t */\n\tonBack?: () => void;\n\t/** Title shown next to the back button. */\n\tbackTitle?: React.ReactNode;\n\t/** aria-label for the back button. Defaults to \"Back\". */\n\tbackLabel?: string;\n\n\t// --- shared ---\n\t/**\n\t * Conversation name shown in the header. Pass it (even as `\"\"`) to render the name slot;\n\t * omit it to leave the header as it was. With `onSessionNameChange` it becomes click-to-edit.\n\t */\n\tsessionName?: string;\n\t/** Commit handler for the edited name. Omit to render the name as static text. */\n\tonSessionNameChange?: (next: string) => void;\n\t/** Shown when `sessionName` is empty — the untitled state. Defaults to \"New chat\". */\n\tsessionNamePlaceholder?: string;\n\t/** aria-label for the rename control. Defaults to \"Rename chat\". */\n\tsessionNameLabel?: string;\n\t/** Right-side icon-button actions. Defaults: toolbar caps at 4; header has no cap. */\n\tactions?: AIChatHeaderAction[];\n\t/** Cap on directly-rendered actions before overflow kicks in. Overrides the variant default. */\n\tmaxVisibleActions?: number;\n\t/** Additional actions hidden behind the overflow menu. */\n\tmenuActions?: AIChatHeaderAction[];\n\t/** aria-label for the overflow trigger. Defaults to \"More actions\". */\n\tmenuLabel?: string;\n\t/** Slot rendered after the variant's left content. */\n\tleftExtra?: React.ReactNode;\n\t/** Slot rendered before the right action cluster. */\n\trightExtra?: React.ReactNode;\n\n\tclassName?: string;\n}\n\n/**\n * Bar above the AI chat conversation. Two variants share the same right-side action cluster:\n * - `toolbar` (default) — pane toggle + context info on the left, hamburger-led overflow on the right.\n * - `header` — model/mode dropdowns on the left, kebab-trailing overflow on the right.\n */\nexport function AIChatHeader({\n\tvariant = \"toolbar\",\n\tonTogglePane,\n\tpaneOpen,\n\tpaneToggleLabel = \"Toggle side panel\",\n\tcontext,\n\tmodels,\n\tselectedModelId,\n\tonSelectModel,\n\tmodes,\n\tselectedModeId,\n\tonSelectMode,\n\tonBack,\n\tbackTitle,\n\tbackLabel = \"Back\",\n\tsessionName,\n\tonSessionNameChange,\n\tsessionNamePlaceholder = \"New chat\",\n\tsessionNameLabel = \"Rename chat\",\n\tactions,\n\tmaxVisibleActions,\n\tmenuActions,\n\tmenuLabel = \"More actions\",\n\tleftExtra,\n\trightExtra,\n\tclassName,\n}: AIChatHeaderProps) {\n\tconst isToolbar = variant === \"toolbar\";\n\n\t// Toolbar caps at 4 by default; header has no cap.\n\tconst effectiveCap = maxVisibleActions ?? (isToolbar ? 4 : Number.POSITIVE_INFINITY);\n\tconst allActions = actions ?? [];\n\tconst visibleActions = allActions.slice(0, effectiveCap);\n\tconst overflowedActions = allActions.slice(effectiveCap);\n\tconst combinedMenuActions = [...overflowedActions, ...(menuActions ?? [])];\n\tconst hasOverflow = combinedMenuActions.length > 0;\n\tconst OverflowIcon = isToolbar ? Menu : MoreVertical;\n\n\tconst showModelDropdown = models !== undefined && models.length > 0 && onSelectModel !== undefined;\n\tconst showModeDropdown = modes !== undefined && modes.length > 0 && onSelectMode !== undefined;\n\tconst selectedModel = showModelDropdown ? (models.find((m) => m.id === selectedModelId) ?? models[0]) : undefined;\n\tconst selectedMode = showModeDropdown ? (modes.find((m) => m.id === selectedModeId) ?? modes[0]) : undefined;\n\n\tconst hasUsage = context?.usage !== undefined;\n\tconst hasStatus = context?.status !== undefined;\n\tconst hasContext = hasUsage || hasStatus;\n\tconst hasPaneToggle = onTogglePane !== undefined;\n\n\tconst showSessionName = sessionName !== undefined;\n\tconst canRename = showSessionName && onSessionNameChange !== undefined;\n\tconst [isRenaming, setIsRenaming] = React.useState(false);\n\tconst [draft, setDraft] = React.useState(sessionName ?? \"\");\n\tconst renameInputRef = React.useRef<HTMLInputElement>(null);\n\n\t// Re-seed the draft whenever the committed name changes underneath us — the name is expected to be\n\t// set from the conversation itself, which can land while the field is untouched.\n\tReact.useEffect(() => {\n\t\tif (!isRenaming) setDraft(sessionName ?? \"\");\n\t}, [sessionName, isRenaming]);\n\n\tReact.useEffect(() => {\n\t\tif (isRenaming) renameInputRef.current?.select();\n\t}, [isRenaming]);\n\n\tconst commitRename = () => {\n\t\tconst next = draft.trim();\n\t\tsetIsRenaming(false);\n\t\tif (next !== (sessionName ?? \"\")) onSessionNameChange?.(next);\n\t};\n\n\tconst cancelRename = () => {\n\t\tsetDraft(sessionName ?? \"\");\n\t\tsetIsRenaming(false);\n\t};\n\n\tconst sessionNameNode = !showSessionName ? null : isRenaming ? (\n\t\t<input\n\t\t\tref={renameInputRef}\n\t\t\tvalue={draft}\n\t\t\tautoFocus\n\t\t\taria-label={sessionNameLabel}\n\t\t\tplaceholder={sessionNamePlaceholder}\n\t\t\tonChange={(e) => setDraft(e.target.value)}\n\t\t\tonBlur={commitRename}\n\t\t\tonKeyDown={(e) => {\n\t\t\t\tif (e.key === \"Enter\") {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t\tcommitRename();\n\t\t\t\t} else if (e.key === \"Escape\") {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t\tcancelRename();\n\t\t\t\t}\n\t\t\t}}\n\t\t\t// Sized to its own text rather than `flex-1` or a fixed width: either would shove the model/mode\n\t\t\t// dropdowns sideways the moment the field opens.\n\t\t\tsize={Math.max(8, Math.min((draft || sessionNamePlaceholder).length, 28))}\n\t\t\tclassName=\"wwc:min-w-0 wwc:max-w-44 wwc:rounded wwc:border wwc:border-input wwc:bg-background wwc:px-1.5 wwc:py-0.5 wwc:text-sm wwc:font-medium wwc:text-foreground wwc:outline-none wwc:focus-visible:ring-2 wwc:focus-visible:ring-ring\"\n\t\t/>\n\t) : canRename ? (\n\t\t<HoverTooltip content={sessionNameLabel}>\n\t\t\t<button\n\t\t\t\ttype=\"button\"\n\t\t\t\tonClick={() => setIsRenaming(true)}\n\t\t\t\taria-label={sessionNameLabel}\n\t\t\t\tclassName={cn(\n\t\t\t\t\t\"wwc:min-w-0 wwc:max-w-44 wwc:truncate wwc:rounded wwc:px-1.5 wwc:py-0.5 wwc:text-sm wwc:font-medium wwc:transition-colors wwc:hover:bg-muted wwc:focus-visible:outline-none wwc:focus-visible:ring-2 wwc:focus-visible:ring-ring\",\n\t\t\t\t\tsessionName ? \"wwc:text-foreground\" : \"wwc:text-muted-foreground\",\n\t\t\t\t)}\n\t\t\t>\n\t\t\t\t{sessionName || sessionNamePlaceholder}\n\t\t\t</button>\n\t\t</HoverTooltip>\n\t) : (\n\t\t<span\n\t\t\tclassName={cn(\n\t\t\t\t\"wwc:min-w-0 wwc:max-w-44 wwc:truncate wwc:px-1.5 wwc:text-sm wwc:font-medium\",\n\t\t\t\tsessionName ? \"wwc:text-foreground\" : \"wwc:text-muted-foreground\",\n\t\t\t)}\n\t\t>\n\t\t\t{sessionName || sessionNamePlaceholder}\n\t\t</span>\n\t);\n\n\tconst overflowMenu = hasOverflow ? (\n\t\t<DropdownMenu>\n\t\t\t<HoverTooltip content={menuLabel}>\n\t\t\t\t<DropdownMenuTrigger asChild>\n\t\t\t\t\t<Button type=\"button\" variant=\"ghost\" icon aria-label={menuLabel}>\n\t\t\t\t\t\t<OverflowIcon />\n\t\t\t\t\t</Button>\n\t\t\t\t</DropdownMenuTrigger>\n\t\t\t</HoverTooltip>\n\t\t\t<DropdownMenuContent align=\"end\" className=\"wwc:min-w-40\">\n\t\t\t\t{combinedMenuActions.map((action) => (\n\t\t\t\t\t<DropdownMenuItem\n\t\t\t\t\t\tkey={action.id}\n\t\t\t\t\t\tonSelect={action.onSelect}\n\t\t\t\t\t\tdisabled={action.disabled}\n\t\t\t\t\t\tclassName={cn(\n\t\t\t\t\t\t\t\"wwc:gap-2 wwc:[&_svg]:h-3.5 wwc:[&_svg]:w-3.5 wwc:[&_svg]:shrink-0\",\n\t\t\t\t\t\t\taction.tone === \"destructive\" &&\n\t\t\t\t\t\t\t\t\"wwc:text-destructive wwc:focus:text-destructive wwc:focus:bg-destructive/10\",\n\t\t\t\t\t\t)}\n\t\t\t\t\t>\n\t\t\t\t\t\t{action.icon}\n\t\t\t\t\t\t<span>{action.label}</span>\n\t\t\t\t\t</DropdownMenuItem>\n\t\t\t\t))}\n\t\t\t</DropdownMenuContent>\n\t\t</DropdownMenu>\n\t) : null;\n\n\treturn (\n\t\t<div\n\t\t\tclassName={cn(\n\t\t\t\t\"wwc:flex wwc:min-h-12 wwc:w-full wwc:items-center wwc:justify-between wwc:gap-3 wwc:border-b wwc:bg-card wwc:px-2 wwc:py-1.5\",\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t>\n\t\t\t<div className=\"wwc:flex wwc:min-w-0 wwc:flex-1 wwc:items-center wwc:gap-2\">\n\t\t\t\t{onBack !== undefined ? (\n\t\t\t\t\t<>\n\t\t\t\t\t\t<HoverTooltip content={backLabel}>\n\t\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\t\t\t\ticon\n\t\t\t\t\t\t\t\tonClick={onBack}\n\t\t\t\t\t\t\t\taria-label={backLabel}\n\t\t\t\t\t\t\t\tclassName=\"wwc:flex-shrink-0\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<ArrowLeft />\n\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t</HoverTooltip>\n\t\t\t\t\t\t{backTitle !== undefined && (\n\t\t\t\t\t\t\t<span className=\"wwc:min-w-0 wwc:truncate wwc:text-sm wwc:font-medium wwc:text-foreground\">\n\t\t\t\t\t\t\t\t{backTitle}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</>\n\t\t\t\t) : isToolbar ? (\n\t\t\t\t\t<>\n\t\t\t\t\t\t{hasPaneToggle && (\n\t\t\t\t\t\t\t<HoverTooltip content={paneToggleLabel}>\n\t\t\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\t\t\t\t\ticon\n\t\t\t\t\t\t\t\t\tonClick={onTogglePane}\n\t\t\t\t\t\t\t\t\taria-label={paneToggleLabel}\n\t\t\t\t\t\t\t\t\taria-pressed={paneOpen}\n\t\t\t\t\t\t\t\t\tclassName=\"wwc:flex-shrink-0 wwc:text-primary\"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{paneOpen ? <PanelLeftClose /> : <PanelLeft />}\n\t\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t\t</HoverTooltip>\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t{sessionNameNode}\n\t\t\t\t\t\t{hasContext && (\n\t\t\t\t\t\t\t<div className=\"wwc:flex wwc:min-w-0 wwc:flex-col wwc:gap-0.5 wwc:text-xs wwc:text-muted-foreground\">\n\t\t\t\t\t\t\t\t{hasUsage && <div className=\"wwc:truncate wwc:leading-tight\">{context!.usage}</div>}\n\t\t\t\t\t\t\t\t{hasStatus && (\n\t\t\t\t\t\t\t\t\t<div className=\"wwc:flex wwc:items-center wwc:gap-1.5 wwc:truncate wwc:leading-tight\">\n\t\t\t\t\t\t\t\t\t\t<Loader2 className=\"wwc:h-3 wwc:w-3 wwc:flex-shrink-0 wwc:animate-spin wwc:text-primary\" />\n\t\t\t\t\t\t\t\t\t\t<span className=\"wwc:truncate\">{context!.status}</span>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</>\n\t\t\t\t) : (\n\t\t\t\t\t<>\n\t\t\t\t\t\t{sessionNameNode}\n\t\t\t\t\t\t{showModelDropdown && selectedModel && (\n\t\t\t\t\t\t\t<DropdownMenu>\n\t\t\t\t\t\t\t\t<DropdownMenuTrigger asChild>\n\t\t\t\t\t\t\t\t\t<Button variant=\"ghost\" size=\"sm\" className=\"wwc:gap-1.5 wwc:px-2\">\n\t\t\t\t\t\t\t\t\t\t{selectedModel.icon}\n\t\t\t\t\t\t\t\t\t\t<span className=\"wwc:font-medium\">{selectedModel.label}</span>\n\t\t\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t\t\t</DropdownMenuTrigger>\n\t\t\t\t\t\t\t\t<DropdownMenuContent align=\"start\" className=\"wwc:min-w-44\">\n\t\t\t\t\t\t\t\t\t{models!.map((model) => (\n\t\t\t\t\t\t\t\t\t\t<DropdownMenuItem\n\t\t\t\t\t\t\t\t\t\t\tkey={model.id}\n\t\t\t\t\t\t\t\t\t\t\tonSelect={() => onSelectModel?.(model.id)}\n\t\t\t\t\t\t\t\t\t\t\tclassName={cn(\n\t\t\t\t\t\t\t\t\t\t\t\t\"wwc:gap-2 wwc:[&_svg]:h-3.5 wwc:[&_svg]:w-3.5 wwc:[&_svg]:shrink-0\",\n\t\t\t\t\t\t\t\t\t\t\t\tmodel.id === selectedModel.id && \"wwc:bg-accent\",\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\t\t{model.icon}\n\t\t\t\t\t\t\t\t\t\t\t<div className=\"wwc:flex wwc:flex-col\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span className=\"wwc:font-medium\">{model.label}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t{model.description && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span className=\"wwc:text-[11px] wwc:text-muted-foreground\">{model.description}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</DropdownMenuItem>\n\t\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\t</DropdownMenuContent>\n\t\t\t\t\t\t\t</DropdownMenu>\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t{showModeDropdown && selectedMode && (\n\t\t\t\t\t\t\t<DropdownMenu>\n\t\t\t\t\t\t\t\t<DropdownMenuTrigger asChild>\n\t\t\t\t\t\t\t\t\t<Button variant=\"ghost\" size=\"sm\" className=\"wwc:gap-1.5 wwc:px-2\">\n\t\t\t\t\t\t\t\t\t\t{selectedMode.icon}\n\t\t\t\t\t\t\t\t\t\t<span className=\"wwc:font-medium\">{selectedMode.label}</span>\n\t\t\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t\t\t</DropdownMenuTrigger>\n\t\t\t\t\t\t\t\t<DropdownMenuContent align=\"start\" className=\"wwc:min-w-40\">\n\t\t\t\t\t\t\t\t\t{modes!.map((mode) => (\n\t\t\t\t\t\t\t\t\t\t<DropdownMenuItem\n\t\t\t\t\t\t\t\t\t\t\tkey={mode.id}\n\t\t\t\t\t\t\t\t\t\t\tonSelect={() => onSelectMode?.(mode.id)}\n\t\t\t\t\t\t\t\t\t\t\tclassName={cn(\n\t\t\t\t\t\t\t\t\t\t\t\t\"wwc:gap-2 wwc:[&_svg]:h-3.5 wwc:[&_svg]:w-3.5 wwc:[&_svg]:shrink-0\",\n\t\t\t\t\t\t\t\t\t\t\t\tmode.id === selectedMode.id && \"wwc:bg-accent\",\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\t\t{mode.icon}\n\t\t\t\t\t\t\t\t\t\t\t<div className=\"wwc:flex wwc:flex-col\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span className=\"wwc:font-medium\">{mode.label}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t{mode.description && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span className=\"wwc:text-[11px] wwc:text-muted-foreground\">{mode.description}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</DropdownMenuItem>\n\t\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\t</DropdownMenuContent>\n\t\t\t\t\t\t\t</DropdownMenu>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</>\n\t\t\t\t)}\n\t\t\t\t{leftExtra}\n\t\t\t</div>\n\n\t\t\t{(rightExtra !== undefined || visibleActions.length > 0 || hasOverflow) && (\n\t\t\t\t<div className=\"wwc:flex wwc:flex-shrink-0 wwc:items-center wwc:gap-0.5\">\n\t\t\t\t\t{rightExtra}\n\t\t\t\t\t{/* Toolbar: overflow leads. Header: overflow trails. */}\n\t\t\t\t\t{isToolbar && overflowMenu}\n\t\t\t\t\t{visibleActions.map((action) => (\n\t\t\t\t\t\t<HoverTooltip key={action.id} content={action.label}>\n\t\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\t\t\t\ticon\n\t\t\t\t\t\t\t\tonClick={action.onSelect}\n\t\t\t\t\t\t\t\tdisabled={action.disabled}\n\t\t\t\t\t\t\t\taria-label={action.label}\n\t\t\t\t\t\t\t\tclassName={cn(action.tone === \"destructive\" && \"wwc:text-destructive wwc:hover:text-destructive\")}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{action.icon}\n\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t</HoverTooltip>\n\t\t\t\t\t))}\n\t\t\t\t\t{!isToolbar && overflowMenu}\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t);\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Message } from "../types/chat.mjs";
|
|
2
|
+
//#region src/chat/core-ai-chat-message.d.ts
|
|
3
|
+
export interface AIChatMessageProps {
|
|
4
|
+
message: Message;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* AI-style chat message:
|
|
8
|
+
* - User messages: small grey rounded pill, right-aligned
|
|
9
|
+
* - Assistant messages: full-width plain text/content, no bubble
|
|
10
|
+
* - No timestamps, no sender names
|
|
11
|
+
*/
|
|
12
|
+
export declare function AIChatMessage({ message }: AIChatMessageProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
/** Three-dot typing indicator, full-width assistant style. */
|
|
14
|
+
export declare function AIChatTypingIndicator({ className }: {
|
|
15
|
+
className?: string;
|
|
16
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
//#endregion
|
|
18
|
+
//# sourceMappingURL=core-ai-chat-message.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core-ai-chat-message.d.mts","names":[],"sources":["../../src/chat/core-ai-chat-message.tsx"],"mappings":";;iBAOiB;EAChB,SAAS;;;;;;;;wBASM,gBAAe,WAAU,iDAAkB,IAAA;;wBAiD3C,wBAAuB;EAAa;gCAAmB,IAAA"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Card, CardContent } from "../card.mjs";
|
|
2
|
+
import { ChartRenderer } from "./core-chart-renderer.mjs";
|
|
3
|
+
import { cn } from "@corensystem/coren-utils";
|
|
4
|
+
import { AtSign, Paperclip } from "lucide-react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
//#region src/chat/core-ai-chat-message.tsx
|
|
7
|
+
/**
|
|
8
|
+
* AI-style chat message:
|
|
9
|
+
* - User messages: small grey rounded pill, right-aligned
|
|
10
|
+
* - Assistant messages: full-width plain text/content, no bubble
|
|
11
|
+
* - No timestamps, no sender names
|
|
12
|
+
*/
|
|
13
|
+
function AIChatMessage({ message }) {
|
|
14
|
+
const isUser = message.role === "user";
|
|
15
|
+
const isChart = message.type === "chart";
|
|
16
|
+
const attachments = message.attachments ?? [];
|
|
17
|
+
if (isUser) return /* @__PURE__ */ jsx("div", {
|
|
18
|
+
className: "wwc:flex wwc:justify-end",
|
|
19
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
20
|
+
className: "wwc:max-w-[80%] wwc:rounded-2xl wwc:rounded-br-md wwc:bg-muted wwc:px-4 wwc:py-2 wwc:text-sm wwc:text-foreground",
|
|
21
|
+
children: [attachments.length > 0 && /* @__PURE__ */ jsx("div", {
|
|
22
|
+
className: "wwc:mb-1.5 wwc:flex wwc:flex-wrap wwc:justify-end wwc:gap-1",
|
|
23
|
+
children: attachments.map((attachment) => /* @__PURE__ */ jsxs("span", {
|
|
24
|
+
className: "wwc:inline-flex wwc:max-w-full wwc:items-center wwc:gap-1 wwc:rounded-md wwc:border wwc:bg-card wwc:px-1.5 wwc:py-0.5 wwc:text-xs wwc:text-muted-foreground",
|
|
25
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
26
|
+
className: "wwc:flex wwc:h-3 wwc:w-3 wwc:flex-shrink-0 wwc:items-center wwc:justify-center wwc:[&_svg]:h-3 wwc:[&_svg]:w-3",
|
|
27
|
+
children: attachment.icon ?? (attachment.type === "file" ? /* @__PURE__ */ jsx(Paperclip, {}) : /* @__PURE__ */ jsx(AtSign, {}))
|
|
28
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
29
|
+
className: "wwc:truncate",
|
|
30
|
+
children: attachment.label
|
|
31
|
+
})]
|
|
32
|
+
}, attachment.id))
|
|
33
|
+
}), /* @__PURE__ */ jsx("p", {
|
|
34
|
+
className: "wwc:whitespace-pre-wrap wwc:leading-relaxed",
|
|
35
|
+
children: message.content
|
|
36
|
+
})]
|
|
37
|
+
})
|
|
38
|
+
});
|
|
39
|
+
return /* @__PURE__ */ jsx("div", {
|
|
40
|
+
className: "wwc:w-full",
|
|
41
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
42
|
+
className: "wwc:text-sm wwc:leading-relaxed wwc:text-foreground",
|
|
43
|
+
children: [/* @__PURE__ */ jsx("p", {
|
|
44
|
+
className: "wwc:whitespace-pre-wrap",
|
|
45
|
+
children: message.content
|
|
46
|
+
}), isChart && /* @__PURE__ */ jsx(Card, {
|
|
47
|
+
className: "wwc:mt-3 wwc:overflow-hidden",
|
|
48
|
+
children: /* @__PURE__ */ jsx(CardContent, {
|
|
49
|
+
className: "wwc:p-3",
|
|
50
|
+
children: /* @__PURE__ */ jsx(ChartRenderer, {
|
|
51
|
+
chartData: message.chartData,
|
|
52
|
+
height: 220
|
|
53
|
+
})
|
|
54
|
+
})
|
|
55
|
+
})]
|
|
56
|
+
})
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
/** Three-dot typing indicator, full-width assistant style. */
|
|
60
|
+
function AIChatTypingIndicator({ className }) {
|
|
61
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
62
|
+
className: cn("wwc:flex wwc:w-full wwc:items-center wwc:gap-1.5", className),
|
|
63
|
+
children: [
|
|
64
|
+
/* @__PURE__ */ jsx("span", {
|
|
65
|
+
className: "wwc:h-2 wwc:w-2 wwc:rounded-full wwc:bg-muted-foreground/50 wwc:animate-bounce",
|
|
66
|
+
style: { animationDelay: "0ms" }
|
|
67
|
+
}),
|
|
68
|
+
/* @__PURE__ */ jsx("span", {
|
|
69
|
+
className: "wwc:h-2 wwc:w-2 wwc:rounded-full wwc:bg-muted-foreground/50 wwc:animate-bounce",
|
|
70
|
+
style: { animationDelay: "150ms" }
|
|
71
|
+
}),
|
|
72
|
+
/* @__PURE__ */ jsx("span", {
|
|
73
|
+
className: "wwc:h-2 wwc:w-2 wwc:rounded-full wwc:bg-muted-foreground/50 wwc:animate-bounce",
|
|
74
|
+
style: { animationDelay: "300ms" }
|
|
75
|
+
})
|
|
76
|
+
]
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
//#endregion
|
|
80
|
+
export { AIChatMessage, AIChatTypingIndicator };
|
|
81
|
+
|
|
82
|
+
//# sourceMappingURL=core-ai-chat-message.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core-ai-chat-message.mjs","names":[],"sources":["../../src/chat/core-ai-chat-message.tsx"],"sourcesContent":["import {cn} from \"@corensystem/coren-utils\";\nimport {AtSign, Paperclip} from \"lucide-react\";\n\nimport {Card, CardContent} from \"../card\";\nimport type {Message} from \"../types/chat\";\nimport {ChartRenderer} from \"./core-chart-renderer\";\n\nexport interface AIChatMessageProps {\n\tmessage: Message;\n}\n\n/**\n * AI-style chat message:\n * - User messages: small grey rounded pill, right-aligned\n * - Assistant messages: full-width plain text/content, no bubble\n * - No timestamps, no sender names\n */\nexport function AIChatMessage({message}: AIChatMessageProps) {\n\tconst isUser = message.role === \"user\";\n\tconst isChart = message.type === \"chart\";\n\n\tconst attachments = message.attachments ?? [];\n\n\tif (isUser) {\n\t\treturn (\n\t\t\t<div className=\"wwc:flex wwc:justify-end\">\n\t\t\t\t<div className=\"wwc:max-w-[80%] wwc:rounded-2xl wwc:rounded-br-md wwc:bg-muted wwc:px-4 wwc:py-2 wwc:text-sm wwc:text-foreground\">\n\t\t\t\t\t{attachments.length > 0 && (\n\t\t\t\t\t\t<div className=\"wwc:mb-1.5 wwc:flex wwc:flex-wrap wwc:justify-end wwc:gap-1\">\n\t\t\t\t\t\t\t{attachments.map((attachment) => (\n\t\t\t\t\t\t\t\t<span\n\t\t\t\t\t\t\t\t\tkey={attachment.id}\n\t\t\t\t\t\t\t\t\tclassName=\"wwc:inline-flex wwc:max-w-full wwc:items-center wwc:gap-1 wwc:rounded-md wwc:border wwc:bg-card wwc:px-1.5 wwc:py-0.5 wwc:text-xs wwc:text-muted-foreground\"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t<span className=\"wwc:flex wwc:h-3 wwc:w-3 wwc:flex-shrink-0 wwc:items-center wwc:justify-center wwc:[&_svg]:h-3 wwc:[&_svg]:w-3\">\n\t\t\t\t\t\t\t\t\t\t{attachment.icon ?? (attachment.type === \"file\" ? <Paperclip /> : <AtSign />)}\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t<span className=\"wwc:truncate\">{attachment.label}</span>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\t\t\t\t\t<p className=\"wwc:whitespace-pre-wrap wwc:leading-relaxed\">{message.content}</p>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t}\n\n\t// Assistant — full width, no bubble\n\treturn (\n\t\t<div className=\"wwc:w-full\">\n\t\t\t<div className=\"wwc:text-sm wwc:leading-relaxed wwc:text-foreground\">\n\t\t\t\t<p className=\"wwc:whitespace-pre-wrap\">{message.content}</p>\n\t\t\t\t{isChart && (\n\t\t\t\t\t<Card className=\"wwc:mt-3 wwc:overflow-hidden\">\n\t\t\t\t\t\t<CardContent className=\"wwc:p-3\">\n\t\t\t\t\t\t\t<ChartRenderer chartData={message.chartData} height={220} />\n\t\t\t\t\t\t</CardContent>\n\t\t\t\t\t</Card>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t</div>\n\t);\n}\n\n/** Three-dot typing indicator, full-width assistant style. */\nexport function AIChatTypingIndicator({className}: {className?: string}) {\n\treturn (\n\t\t<div className={cn(\"wwc:flex wwc:w-full wwc:items-center wwc:gap-1.5\", className)}>\n\t\t\t<span\n\t\t\t\tclassName=\"wwc:h-2 wwc:w-2 wwc:rounded-full wwc:bg-muted-foreground/50 wwc:animate-bounce\"\n\t\t\t\tstyle={{animationDelay: \"0ms\"}}\n\t\t\t/>\n\t\t\t<span\n\t\t\t\tclassName=\"wwc:h-2 wwc:w-2 wwc:rounded-full wwc:bg-muted-foreground/50 wwc:animate-bounce\"\n\t\t\t\tstyle={{animationDelay: \"150ms\"}}\n\t\t\t/>\n\t\t\t<span\n\t\t\t\tclassName=\"wwc:h-2 wwc:w-2 wwc:rounded-full wwc:bg-muted-foreground/50 wwc:animate-bounce\"\n\t\t\t\tstyle={{animationDelay: \"300ms\"}}\n\t\t\t/>\n\t\t</div>\n\t);\n}\n"],"mappings":";;;;;;;;;;;;AAiBA,SAAgB,cAAc,EAAC,WAA8B;CAC5D,MAAM,SAAS,QAAQ,SAAS;CAChC,MAAM,UAAU,QAAQ,SAAS;CAEjC,MAAM,cAAc,QAAQ,eAAe,CAAC;CAE5C,IAAI,QACH,OACC,oBAAC,OAAD;EAAK,WAAU;EACd,UAAA,qBAAC,OAAD;GAAK,WAAU;GAAf,UAAA,CACE,YAAY,SAAS,KACrB,oBAAC,OAAD;IAAK,WAAU;IACb,UAAA,YAAY,KAAK,eACjB,qBAAC,QAAD;KAEC,WAAU;KAFX,UAAA,CAIC,oBAAC,QAAD;MAAM,WAAU;MACd,UAAA,WAAW,SAAS,WAAW,SAAS,SAAS,oBAAC,WAAD,CAAY,CAAA,IAAI,oBAAC,QAAD,CAAS,CAAA;KACtE,CAAA,GACN,oBAAC,QAAD;MAAM,WAAU;MAAgB,UAAA,WAAW;KAAY,CAAA,CAClD;IAPA,GAAA,WAAW,EAOX,CACN;GACG,CAAA,GAEN,oBAAC,KAAD;IAAG,WAAU;IAA+C,UAAA,QAAQ;GAAW,CAAA,CAC3E;;CACD,CAAA;CAKP,OACC,oBAAC,OAAD;EAAK,WAAU;EACd,UAAA,qBAAC,OAAD;GAAK,WAAU;GAAf,UAAA,CACC,oBAAC,KAAD;IAAG,WAAU;IAA2B,UAAA,QAAQ;GAAW,CAAA,GAC1D,WACA,oBAAC,MAAD;IAAM,WAAU;IACf,UAAA,oBAAC,aAAD;KAAa,WAAU;KACtB,UAAA,oBAAC,eAAD;MAAe,WAAW,QAAQ;MAAW,QAAQ;KAAM,CAAA;IAC/C,CAAA;GACR,CAAA,CAEH;;CACD,CAAA;AAEP;;AAGA,SAAgB,sBAAsB,EAAC,aAAkC;CACxE,OACC,qBAAC,OAAD;EAAK,WAAW,GAAG,oDAAoD,SAAS;EAAhF,UAAA;GACC,oBAAC,QAAD;IACC,WAAU;IACV,OAAO,EAAC,gBAAgB,MAAK;GAC7B,CAAA;GACD,oBAAC,QAAD;IACC,WAAU;IACV,OAAO,EAAC,gBAAgB,QAAO;GAC/B,CAAA;GACD,oBAAC,QAAD;IACC,WAAU;IACV,OAAO,EAAC,gBAAgB,QAAO;GAC/B,CAAA;EACG;;AAEP"}
|