@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,253 @@
|
|
|
1
|
+
import { Button } from "./button.mjs";
|
|
2
|
+
import { cn } from "@corensystem/coren-utils";
|
|
3
|
+
import { AlignCenter, AlignLeft, AlignRight, Bold, Code, Image, Italic, List, ListChecks, ListOrdered, Quote, Strikethrough, Underline } from "lucide-react";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import Image$1 from "@tiptap/extension-image";
|
|
7
|
+
import Placeholder from "@tiptap/extension-placeholder";
|
|
8
|
+
import TaskItem from "@tiptap/extension-task-item";
|
|
9
|
+
import TaskList from "@tiptap/extension-task-list";
|
|
10
|
+
import TextAlign from "@tiptap/extension-text-align";
|
|
11
|
+
import Underline$1 from "@tiptap/extension-underline";
|
|
12
|
+
import { EditorContent, useEditor } from "@tiptap/react";
|
|
13
|
+
import StarterKit from "@tiptap/starter-kit";
|
|
14
|
+
//#region src/comment-composer.tsx
|
|
15
|
+
const DEFAULT_ACTIONS = [
|
|
16
|
+
"bold",
|
|
17
|
+
"italic",
|
|
18
|
+
"underline",
|
|
19
|
+
"strikethrough",
|
|
20
|
+
"align-left",
|
|
21
|
+
"align-center",
|
|
22
|
+
"align-right",
|
|
23
|
+
"list-bulleted",
|
|
24
|
+
"list-numbered",
|
|
25
|
+
"list-checklist",
|
|
26
|
+
"quote",
|
|
27
|
+
"code",
|
|
28
|
+
"image"
|
|
29
|
+
];
|
|
30
|
+
const TOOLBAR_META = {
|
|
31
|
+
bold: {
|
|
32
|
+
label: "Bold",
|
|
33
|
+
Icon: Bold,
|
|
34
|
+
group: 0,
|
|
35
|
+
apply: (e) => e.chain().focus().toggleBold().run(),
|
|
36
|
+
isActive: (e) => e.isActive("bold")
|
|
37
|
+
},
|
|
38
|
+
italic: {
|
|
39
|
+
label: "Italic",
|
|
40
|
+
Icon: Italic,
|
|
41
|
+
group: 0,
|
|
42
|
+
apply: (e) => e.chain().focus().toggleItalic().run(),
|
|
43
|
+
isActive: (e) => e.isActive("italic")
|
|
44
|
+
},
|
|
45
|
+
underline: {
|
|
46
|
+
label: "Underline",
|
|
47
|
+
Icon: Underline,
|
|
48
|
+
group: 0,
|
|
49
|
+
apply: (e) => e.chain().focus().toggleUnderline().run(),
|
|
50
|
+
isActive: (e) => e.isActive("underline")
|
|
51
|
+
},
|
|
52
|
+
strikethrough: {
|
|
53
|
+
label: "Strikethrough",
|
|
54
|
+
Icon: Strikethrough,
|
|
55
|
+
group: 0,
|
|
56
|
+
apply: (e) => e.chain().focus().toggleStrike().run(),
|
|
57
|
+
isActive: (e) => e.isActive("strike")
|
|
58
|
+
},
|
|
59
|
+
"align-left": {
|
|
60
|
+
label: "Align left",
|
|
61
|
+
Icon: AlignLeft,
|
|
62
|
+
group: 1,
|
|
63
|
+
apply: (e) => e.chain().focus().setTextAlign("left").run(),
|
|
64
|
+
isActive: (e) => e.isActive({ textAlign: "left" })
|
|
65
|
+
},
|
|
66
|
+
"align-center": {
|
|
67
|
+
label: "Align center",
|
|
68
|
+
Icon: AlignCenter,
|
|
69
|
+
group: 1,
|
|
70
|
+
apply: (e) => e.chain().focus().setTextAlign("center").run(),
|
|
71
|
+
isActive: (e) => e.isActive({ textAlign: "center" })
|
|
72
|
+
},
|
|
73
|
+
"align-right": {
|
|
74
|
+
label: "Align right",
|
|
75
|
+
Icon: AlignRight,
|
|
76
|
+
group: 1,
|
|
77
|
+
apply: (e) => e.chain().focus().setTextAlign("right").run(),
|
|
78
|
+
isActive: (e) => e.isActive({ textAlign: "right" })
|
|
79
|
+
},
|
|
80
|
+
"list-bulleted": {
|
|
81
|
+
label: "Bulleted list",
|
|
82
|
+
Icon: List,
|
|
83
|
+
group: 2,
|
|
84
|
+
apply: (e) => e.chain().focus().toggleBulletList().run(),
|
|
85
|
+
isActive: (e) => e.isActive("bulletList")
|
|
86
|
+
},
|
|
87
|
+
"list-numbered": {
|
|
88
|
+
label: "Numbered list",
|
|
89
|
+
Icon: ListOrdered,
|
|
90
|
+
group: 2,
|
|
91
|
+
apply: (e) => e.chain().focus().toggleOrderedList().run(),
|
|
92
|
+
isActive: (e) => e.isActive("orderedList")
|
|
93
|
+
},
|
|
94
|
+
"list-checklist": {
|
|
95
|
+
label: "Checklist",
|
|
96
|
+
Icon: ListChecks,
|
|
97
|
+
group: 2,
|
|
98
|
+
apply: (e) => e.chain().focus().toggleTaskList().run(),
|
|
99
|
+
isActive: (e) => e.isActive("taskList")
|
|
100
|
+
},
|
|
101
|
+
quote: {
|
|
102
|
+
label: "Quote",
|
|
103
|
+
Icon: Quote,
|
|
104
|
+
group: 3,
|
|
105
|
+
apply: (e) => e.chain().focus().toggleBlockquote().run(),
|
|
106
|
+
isActive: (e) => e.isActive("blockquote")
|
|
107
|
+
},
|
|
108
|
+
code: {
|
|
109
|
+
label: "Code block",
|
|
110
|
+
Icon: Code,
|
|
111
|
+
group: 3,
|
|
112
|
+
apply: (e) => e.chain().focus().toggleCodeBlock().run(),
|
|
113
|
+
isActive: (e) => e.isActive("codeBlock")
|
|
114
|
+
},
|
|
115
|
+
image: {
|
|
116
|
+
label: "Insert image",
|
|
117
|
+
Icon: Image,
|
|
118
|
+
group: 4,
|
|
119
|
+
apply: (e) => {
|
|
120
|
+
const url = window.prompt("Image URL");
|
|
121
|
+
if (url) e.chain().focus().setImage({ src: url }).run();
|
|
122
|
+
},
|
|
123
|
+
isActive: () => false
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
function groupActions(actions) {
|
|
127
|
+
const groups = {};
|
|
128
|
+
for (const a of actions) {
|
|
129
|
+
const g = TOOLBAR_META[a].group;
|
|
130
|
+
(groups[g] ||= []).push(a);
|
|
131
|
+
}
|
|
132
|
+
return Object.keys(groups).map((k) => Number(k)).sort((a, b) => a - b).map((k) => groups[k]);
|
|
133
|
+
}
|
|
134
|
+
function isEditorEmpty(editor) {
|
|
135
|
+
if (!editor) return true;
|
|
136
|
+
return editor.getText().trim().length === 0;
|
|
137
|
+
}
|
|
138
|
+
function CommentComposer({ value, defaultValue, onChange, onSubmit, onToolbarAction, placeholder = "Add comment", submitLabel = "Comment", minHeight = "4rem", toolbarActions = DEFAULT_ACTIONS, disabled, isSubmitting, className }) {
|
|
139
|
+
const isControlled = value !== void 0;
|
|
140
|
+
const [, forceUpdate] = React.useReducer((x) => x + 1, 0);
|
|
141
|
+
const editor = useEditor({
|
|
142
|
+
extensions: [
|
|
143
|
+
StarterKit.configure({
|
|
144
|
+
codeBlock: { HTMLAttributes: { class: "wwc:rounded wwc:bg-muted wwc:p-3 wwc:font-mono wwc:text-xs" } },
|
|
145
|
+
blockquote: { HTMLAttributes: { class: "wwc:border-l-2 wwc:border-border wwc:pl-3 wwc:italic wwc:text-muted-foreground" } },
|
|
146
|
+
bulletList: { HTMLAttributes: { class: "wwc:list-disc wwc:pl-5" } },
|
|
147
|
+
orderedList: { HTMLAttributes: { class: "wwc:list-decimal wwc:pl-5" } }
|
|
148
|
+
}),
|
|
149
|
+
Underline$1,
|
|
150
|
+
TextAlign.configure({ types: ["heading", "paragraph"] }),
|
|
151
|
+
TaskList.configure({ HTMLAttributes: { class: "wwc:flex wwc:flex-col wwc:gap-1 wwc:pl-1 wwc:list-none" } }),
|
|
152
|
+
TaskItem.configure({
|
|
153
|
+
nested: true,
|
|
154
|
+
HTMLAttributes: { class: "wwc:flex wwc:items-start wwc:gap-2 [&>label>input]:wwc:mt-1" }
|
|
155
|
+
}),
|
|
156
|
+
Image$1.configure({ HTMLAttributes: { class: "wwc:rounded wwc:max-w-full" } }),
|
|
157
|
+
Placeholder.configure({ placeholder })
|
|
158
|
+
],
|
|
159
|
+
content: isControlled ? value || "" : defaultValue || "",
|
|
160
|
+
editable: !disabled && !isSubmitting,
|
|
161
|
+
editorProps: {
|
|
162
|
+
attributes: { class: "wwc:min-h-[var(--wwc-cc-min-h)] wwc:w-full wwc:bg-transparent wwc:px-3 wwc:py-2.5 wwc:text-sm wwc:text-foreground wwc:outline-none [&_p.is-editor-empty:first-child]:wwc:text-muted-foreground [&_p.is-editor-empty:first-child]:wwc:before:content-[attr(data-placeholder)] [&_p.is-editor-empty:first-child]:wwc:before:float-left [&_p.is-editor-empty:first-child]:wwc:before:h-0 [&_p.is-editor-empty:first-child]:wwc:before:pointer-events-none" },
|
|
163
|
+
handleKeyDown(_view, event) {
|
|
164
|
+
if ((event.metaKey || event.ctrlKey) && event.key === "Enter") {
|
|
165
|
+
event.preventDefault();
|
|
166
|
+
handleSubmit();
|
|
167
|
+
return true;
|
|
168
|
+
}
|
|
169
|
+
return false;
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
onUpdate: ({ editor }) => {
|
|
173
|
+
onChange?.(editor.getHTML());
|
|
174
|
+
},
|
|
175
|
+
onSelectionUpdate: () => forceUpdate(),
|
|
176
|
+
onTransaction: () => forceUpdate()
|
|
177
|
+
});
|
|
178
|
+
React.useEffect(() => {
|
|
179
|
+
if (!editor || !isControlled) return;
|
|
180
|
+
if (value !== editor.getHTML() && value !== void 0) editor.commands.setContent(value, { emitUpdate: false });
|
|
181
|
+
}, [
|
|
182
|
+
editor,
|
|
183
|
+
isControlled,
|
|
184
|
+
value
|
|
185
|
+
]);
|
|
186
|
+
React.useEffect(() => {
|
|
187
|
+
if (!editor) return;
|
|
188
|
+
editor.setEditable(!disabled && !isSubmitting);
|
|
189
|
+
}, [
|
|
190
|
+
editor,
|
|
191
|
+
disabled,
|
|
192
|
+
isSubmitting
|
|
193
|
+
]);
|
|
194
|
+
const handleSubmit = React.useCallback(() => {
|
|
195
|
+
if (!editor || isEditorEmpty(editor) || disabled || isSubmitting) return;
|
|
196
|
+
onSubmit?.(editor.getHTML());
|
|
197
|
+
if (!isControlled) editor.commands.clearContent();
|
|
198
|
+
}, [
|
|
199
|
+
editor,
|
|
200
|
+
disabled,
|
|
201
|
+
isSubmitting,
|
|
202
|
+
isControlled,
|
|
203
|
+
onSubmit
|
|
204
|
+
]);
|
|
205
|
+
const groups = React.useMemo(() => groupActions(toolbarActions), [toolbarActions]);
|
|
206
|
+
const canSubmit = !!editor && !isEditorEmpty(editor) && !disabled && !isSubmitting;
|
|
207
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
208
|
+
style: { ["--wwc-cc-min-h"]: minHeight },
|
|
209
|
+
className: cn("wwc:flex wwc:flex-col wwc:overflow-hidden wwc:rounded-lg wwc:border wwc:border-border wwc:bg-card wwc:focus-within:border-ring wwc:focus-within:ring-1 wwc:focus-within:ring-ring", className),
|
|
210
|
+
children: [/* @__PURE__ */ jsx(EditorContent, { editor }), /* @__PURE__ */ jsxs("div", {
|
|
211
|
+
className: "wwc:flex wwc:items-center wwc:gap-1 wwc:border-t wwc:border-border wwc:bg-muted/40 wwc:px-1.5 wwc:py-1",
|
|
212
|
+
children: [
|
|
213
|
+
groups.map((group, gi) => /* @__PURE__ */ jsxs(React.Fragment, { children: [gi > 0 && /* @__PURE__ */ jsx("span", {
|
|
214
|
+
"aria-hidden": "true",
|
|
215
|
+
className: "wwc:mx-1 wwc:h-5 wwc:w-px wwc:bg-border"
|
|
216
|
+
}), group.map((action) => {
|
|
217
|
+
const meta = TOOLBAR_META[action];
|
|
218
|
+
const Icon = meta.Icon;
|
|
219
|
+
const active = editor ? meta.isActive(editor) : false;
|
|
220
|
+
return /* @__PURE__ */ jsx(Button, {
|
|
221
|
+
type: "button",
|
|
222
|
+
variant: "ghost",
|
|
223
|
+
icon: true,
|
|
224
|
+
className: cn("wwc:h-7 wwc:w-7", active ? "wwc:bg-accent wwc:text-accent-foreground" : "wwc:text-muted-foreground wwc:hover:text-foreground"),
|
|
225
|
+
"aria-label": meta.label,
|
|
226
|
+
"aria-pressed": active,
|
|
227
|
+
title: meta.label,
|
|
228
|
+
disabled: disabled || isSubmitting || !editor,
|
|
229
|
+
onClick: () => {
|
|
230
|
+
if (!editor) return;
|
|
231
|
+
meta.apply(editor);
|
|
232
|
+
onToolbarAction?.(action);
|
|
233
|
+
},
|
|
234
|
+
children: /* @__PURE__ */ jsx(Icon, { className: "wwc:h-3.5 wwc:w-3.5" })
|
|
235
|
+
}, action);
|
|
236
|
+
})] }, gi)),
|
|
237
|
+
/* @__PURE__ */ jsx("div", { className: "wwc:flex-1" }),
|
|
238
|
+
/* @__PURE__ */ jsx(Button, {
|
|
239
|
+
type: "button",
|
|
240
|
+
size: "sm",
|
|
241
|
+
className: "wwc:h-7",
|
|
242
|
+
disabled: !canSubmit,
|
|
243
|
+
onClick: handleSubmit,
|
|
244
|
+
children: isSubmitting ? "Posting..." : submitLabel
|
|
245
|
+
})
|
|
246
|
+
]
|
|
247
|
+
})]
|
|
248
|
+
});
|
|
249
|
+
}
|
|
250
|
+
//#endregion
|
|
251
|
+
export { CommentComposer };
|
|
252
|
+
|
|
253
|
+
//# sourceMappingURL=comment-composer.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment-composer.mjs","names":["UnderlineIcon","ImageIcon","Underline","Image"],"sources":["../src/comment-composer.tsx"],"sourcesContent":["import {cn} from \"@corensystem/coren-utils\";\nimport Image from \"@tiptap/extension-image\";\nimport Placeholder from \"@tiptap/extension-placeholder\";\nimport TaskItem from \"@tiptap/extension-task-item\";\nimport TaskList from \"@tiptap/extension-task-list\";\nimport TextAlign from \"@tiptap/extension-text-align\";\nimport Underline from \"@tiptap/extension-underline\";\nimport {EditorContent, useEditor, type Editor} from \"@tiptap/react\";\nimport StarterKit from \"@tiptap/starter-kit\";\nimport {\n\tAlignCenter,\n\tAlignLeft,\n\tAlignRight,\n\tBold,\n\tCode,\n\tImage as ImageIcon,\n\tItalic,\n\tList,\n\tListChecks,\n\tListOrdered,\n\tQuote,\n\tStrikethrough,\n\tUnderline as UnderlineIcon,\n} from \"lucide-react\";\nimport * as React from \"react\";\n\nimport {Button} from \"./button\";\n\nexport type CommentToolbarAction =\n\t| \"bold\"\n\t| \"italic\"\n\t| \"underline\"\n\t| \"strikethrough\"\n\t| \"align-left\"\n\t| \"align-center\"\n\t| \"align-right\"\n\t| \"list-bulleted\"\n\t| \"list-numbered\"\n\t| \"list-checklist\"\n\t| \"quote\"\n\t| \"code\"\n\t| \"image\";\n\nconst DEFAULT_ACTIONS: CommentToolbarAction[] = [\n\t\"bold\",\n\t\"italic\",\n\t\"underline\",\n\t\"strikethrough\",\n\t\"align-left\",\n\t\"align-center\",\n\t\"align-right\",\n\t\"list-bulleted\",\n\t\"list-numbered\",\n\t\"list-checklist\",\n\t\"quote\",\n\t\"code\",\n\t\"image\",\n];\n\ninterface ToolbarMeta {\n\tlabel: string;\n\tIcon: React.ComponentType<{className?: string}>;\n\tgroup: number;\n\tapply: (editor: Editor) => void;\n\tisActive: (editor: Editor) => boolean;\n}\n\nconst TOOLBAR_META: Record<CommentToolbarAction, ToolbarMeta> = {\n\tbold: {\n\t\tlabel: \"Bold\",\n\t\tIcon: Bold,\n\t\tgroup: 0,\n\t\tapply: (e) => e.chain().focus().toggleBold().run(),\n\t\tisActive: (e) => e.isActive(\"bold\"),\n\t},\n\titalic: {\n\t\tlabel: \"Italic\",\n\t\tIcon: Italic,\n\t\tgroup: 0,\n\t\tapply: (e) => e.chain().focus().toggleItalic().run(),\n\t\tisActive: (e) => e.isActive(\"italic\"),\n\t},\n\tunderline: {\n\t\tlabel: \"Underline\",\n\t\tIcon: UnderlineIcon,\n\t\tgroup: 0,\n\t\tapply: (e) => e.chain().focus().toggleUnderline().run(),\n\t\tisActive: (e) => e.isActive(\"underline\"),\n\t},\n\tstrikethrough: {\n\t\tlabel: \"Strikethrough\",\n\t\tIcon: Strikethrough,\n\t\tgroup: 0,\n\t\tapply: (e) => e.chain().focus().toggleStrike().run(),\n\t\tisActive: (e) => e.isActive(\"strike\"),\n\t},\n\t\"align-left\": {\n\t\tlabel: \"Align left\",\n\t\tIcon: AlignLeft,\n\t\tgroup: 1,\n\t\tapply: (e) => e.chain().focus().setTextAlign(\"left\").run(),\n\t\tisActive: (e) => e.isActive({textAlign: \"left\"}),\n\t},\n\t\"align-center\": {\n\t\tlabel: \"Align center\",\n\t\tIcon: AlignCenter,\n\t\tgroup: 1,\n\t\tapply: (e) => e.chain().focus().setTextAlign(\"center\").run(),\n\t\tisActive: (e) => e.isActive({textAlign: \"center\"}),\n\t},\n\t\"align-right\": {\n\t\tlabel: \"Align right\",\n\t\tIcon: AlignRight,\n\t\tgroup: 1,\n\t\tapply: (e) => e.chain().focus().setTextAlign(\"right\").run(),\n\t\tisActive: (e) => e.isActive({textAlign: \"right\"}),\n\t},\n\t\"list-bulleted\": {\n\t\tlabel: \"Bulleted list\",\n\t\tIcon: List,\n\t\tgroup: 2,\n\t\tapply: (e) => e.chain().focus().toggleBulletList().run(),\n\t\tisActive: (e) => e.isActive(\"bulletList\"),\n\t},\n\t\"list-numbered\": {\n\t\tlabel: \"Numbered list\",\n\t\tIcon: ListOrdered,\n\t\tgroup: 2,\n\t\tapply: (e) => e.chain().focus().toggleOrderedList().run(),\n\t\tisActive: (e) => e.isActive(\"orderedList\"),\n\t},\n\t\"list-checklist\": {\n\t\tlabel: \"Checklist\",\n\t\tIcon: ListChecks,\n\t\tgroup: 2,\n\t\tapply: (e) => e.chain().focus().toggleTaskList().run(),\n\t\tisActive: (e) => e.isActive(\"taskList\"),\n\t},\n\tquote: {\n\t\tlabel: \"Quote\",\n\t\tIcon: Quote,\n\t\tgroup: 3,\n\t\tapply: (e) => e.chain().focus().toggleBlockquote().run(),\n\t\tisActive: (e) => e.isActive(\"blockquote\"),\n\t},\n\tcode: {\n\t\tlabel: \"Code block\",\n\t\tIcon: Code,\n\t\tgroup: 3,\n\t\tapply: (e) => e.chain().focus().toggleCodeBlock().run(),\n\t\tisActive: (e) => e.isActive(\"codeBlock\"),\n\t},\n\timage: {\n\t\tlabel: \"Insert image\",\n\t\tIcon: ImageIcon,\n\t\tgroup: 4,\n\t\tapply: (e) => {\n\t\t\tconst url = window.prompt(\"Image URL\");\n\t\t\tif (url) e.chain().focus().setImage({src: url}).run();\n\t\t},\n\t\tisActive: () => false,\n\t},\n};\n\nexport interface CommentComposerProps {\n\t/** Controlled HTML value of the editor. Pair with onChange. */\n\tvalue?: string;\n\t/** Uncontrolled initial HTML value. */\n\tdefaultValue?: string;\n\t/** Fires on every editor update with the current HTML. */\n\tonChange?: (html: string) => void;\n\t/** Fires when the submit button is clicked or the user presses Cmd/Ctrl+Enter. Receives the editor HTML. */\n\tonSubmit?: (html: string) => void;\n\t/** Optional instrumentation hook fired in addition to applying the formatting command. */\n\tonToolbarAction?: (action: CommentToolbarAction) => void;\n\n\tplaceholder?: string;\n\t/** Label shown on the submit button. Defaults to \"Comment\". */\n\tsubmitLabel?: string;\n\t/** Initial visible height (rem). Defaults to 4. */\n\tminHeight?: string;\n\n\t/** Restrict the toolbar to this subset (in this order). Defaults to all actions. */\n\ttoolbarActions?: CommentToolbarAction[];\n\n\tdisabled?: boolean;\n\t/** When true, the submit button shows the loading state and is disabled. */\n\tisSubmitting?: boolean;\n\t/** Class name applied to the outer container. */\n\tclassName?: string;\n}\n\nfunction groupActions(actions: CommentToolbarAction[]): CommentToolbarAction[][] {\n\tconst groups: Record<number, CommentToolbarAction[]> = {};\n\tfor (const a of actions) {\n\t\tconst g = TOOLBAR_META[a].group;\n\t\t(groups[g] ||= []).push(a);\n\t}\n\treturn Object.keys(groups)\n\t\t.map((k) => Number(k))\n\t\t.sort((a, b) => a - b)\n\t\t.map((k) => groups[k]);\n}\n\nfunction isEditorEmpty(editor: Editor | null): boolean {\n\tif (!editor) return true;\n\treturn editor.getText().trim().length === 0;\n}\n\nexport function CommentComposer({\n\tvalue,\n\tdefaultValue,\n\tonChange,\n\tonSubmit,\n\tonToolbarAction,\n\tplaceholder = \"Add comment\",\n\tsubmitLabel = \"Comment\",\n\tminHeight = \"4rem\",\n\ttoolbarActions = DEFAULT_ACTIONS,\n\tdisabled,\n\tisSubmitting,\n\tclassName,\n}: CommentComposerProps) {\n\tconst isControlled = value !== undefined;\n\t// Force re-render whenever the editor's internal state changes (for active-state styling on toolbar buttons).\n\tconst [, forceUpdate] = React.useReducer((x: number) => x + 1, 0);\n\n\tconst editor = useEditor({\n\t\textensions: [\n\t\t\tStarterKit.configure({\n\t\t\t\tcodeBlock: {HTMLAttributes: {class: \"wwc:rounded wwc:bg-muted wwc:p-3 wwc:font-mono wwc:text-xs\"}},\n\t\t\t\tblockquote: {\n\t\t\t\t\tHTMLAttributes: {class: \"wwc:border-l-2 wwc:border-border wwc:pl-3 wwc:italic wwc:text-muted-foreground\"},\n\t\t\t\t},\n\t\t\t\tbulletList: {HTMLAttributes: {class: \"wwc:list-disc wwc:pl-5\"}},\n\t\t\t\torderedList: {HTMLAttributes: {class: \"wwc:list-decimal wwc:pl-5\"}},\n\t\t\t}),\n\t\t\tUnderline,\n\t\t\tTextAlign.configure({types: [\"heading\", \"paragraph\"]}),\n\t\t\tTaskList.configure({HTMLAttributes: {class: \"wwc:flex wwc:flex-col wwc:gap-1 wwc:pl-1 wwc:list-none\"}}),\n\t\t\tTaskItem.configure({\n\t\t\t\tnested: true,\n\t\t\t\tHTMLAttributes: {class: \"wwc:flex wwc:items-start wwc:gap-2 [&>label>input]:wwc:mt-1\"},\n\t\t\t}),\n\t\t\tImage.configure({HTMLAttributes: {class: \"wwc:rounded wwc:max-w-full\"}}),\n\t\t\tPlaceholder.configure({placeholder}),\n\t\t],\n\t\tcontent: isControlled ? value || \"\" : defaultValue || \"\",\n\t\teditable: !disabled && !isSubmitting,\n\t\teditorProps: {\n\t\t\tattributes: {\n\t\t\t\tclass:\n\t\t\t\t\t\"wwc:min-h-[var(--wwc-cc-min-h)] wwc:w-full wwc:bg-transparent wwc:px-3 wwc:py-2.5 wwc:text-sm wwc:text-foreground wwc:outline-none [&_p.is-editor-empty:first-child]:wwc:text-muted-foreground [&_p.is-editor-empty:first-child]:wwc:before:content-[attr(data-placeholder)] [&_p.is-editor-empty:first-child]:wwc:before:float-left [&_p.is-editor-empty:first-child]:wwc:before:h-0 [&_p.is-editor-empty:first-child]:wwc:before:pointer-events-none\",\n\t\t\t},\n\t\t\thandleKeyDown(_view, event) {\n\t\t\t\tif ((event.metaKey || event.ctrlKey) && event.key === \"Enter\") {\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\thandleSubmit();\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t},\n\t\t},\n\t\tonUpdate: ({editor}) => {\n\t\t\tonChange?.(editor.getHTML());\n\t\t},\n\t\tonSelectionUpdate: () => forceUpdate(),\n\t\tonTransaction: () => forceUpdate(),\n\t});\n\n\t// Sync external value changes into the editor (controlled mode).\n\tReact.useEffect(() => {\n\t\tif (!editor || !isControlled) return;\n\t\tconst current = editor.getHTML();\n\t\tif (value !== current && value !== undefined) {\n\t\t\teditor.commands.setContent(value, {emitUpdate: false});\n\t\t}\n\t}, [editor, isControlled, value]);\n\n\t// Sync editable toggle.\n\tReact.useEffect(() => {\n\t\tif (!editor) return;\n\t\teditor.setEditable(!disabled && !isSubmitting);\n\t}, [editor, disabled, isSubmitting]);\n\n\tconst handleSubmit = React.useCallback(() => {\n\t\tif (!editor || isEditorEmpty(editor) || disabled || isSubmitting) return;\n\t\tonSubmit?.(editor.getHTML());\n\t\tif (!isControlled) editor.commands.clearContent();\n\t}, [editor, disabled, isSubmitting, isControlled, onSubmit]);\n\n\tconst groups = React.useMemo(() => groupActions(toolbarActions), [toolbarActions]);\n\tconst canSubmit = !!editor && !isEditorEmpty(editor) && !disabled && !isSubmitting;\n\n\treturn (\n\t\t<div\n\t\t\tstyle={{[\"--wwc-cc-min-h\" as string]: minHeight}}\n\t\t\tclassName={cn(\n\t\t\t\t\"wwc:flex wwc:flex-col wwc:overflow-hidden wwc:rounded-lg wwc:border wwc:border-border wwc:bg-card wwc:focus-within:border-ring wwc:focus-within:ring-1 wwc:focus-within:ring-ring\",\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t>\n\t\t\t<EditorContent editor={editor} />\n\n\t\t\t<div className=\"wwc:flex wwc:items-center wwc:gap-1 wwc:border-t wwc:border-border wwc:bg-muted/40 wwc:px-1.5 wwc:py-1\">\n\t\t\t\t{groups.map((group, gi) => (\n\t\t\t\t\t<React.Fragment key={gi}>\n\t\t\t\t\t\t{gi > 0 && <span aria-hidden=\"true\" className=\"wwc:mx-1 wwc:h-5 wwc:w-px wwc:bg-border\" />}\n\t\t\t\t\t\t{group.map((action) => {\n\t\t\t\t\t\t\tconst meta = TOOLBAR_META[action];\n\t\t\t\t\t\t\tconst Icon = meta.Icon;\n\t\t\t\t\t\t\tconst active = editor ? meta.isActive(editor) : false;\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t\t\tkey={action}\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\tclassName={cn(\n\t\t\t\t\t\t\t\t\t\t\"wwc:h-7 wwc:w-7\",\n\t\t\t\t\t\t\t\t\t\tactive\n\t\t\t\t\t\t\t\t\t\t\t? \"wwc:bg-accent wwc:text-accent-foreground\"\n\t\t\t\t\t\t\t\t\t\t\t: \"wwc:text-muted-foreground wwc:hover:text-foreground\",\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\taria-label={meta.label}\n\t\t\t\t\t\t\t\t\taria-pressed={active}\n\t\t\t\t\t\t\t\t\ttitle={meta.label}\n\t\t\t\t\t\t\t\t\tdisabled={disabled || isSubmitting || !editor}\n\t\t\t\t\t\t\t\t\tonClick={() => {\n\t\t\t\t\t\t\t\t\t\tif (!editor) return;\n\t\t\t\t\t\t\t\t\t\tmeta.apply(editor);\n\t\t\t\t\t\t\t\t\t\tonToolbarAction?.(action);\n\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t<Icon className=\"wwc:h-3.5 wwc:w-3.5\" />\n\t\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t})}\n\t\t\t\t\t</React.Fragment>\n\t\t\t\t))}\n\n\t\t\t\t<div className=\"wwc:flex-1\" />\n\n\t\t\t\t<Button type=\"button\" size=\"sm\" className=\"wwc:h-7\" disabled={!canSubmit} onClick={handleSubmit}>\n\t\t\t\t\t{isSubmitting ? \"Posting...\" : submitLabel}\n\t\t\t\t</Button>\n\t\t\t</div>\n\t\t</div>\n\t);\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
//#region src/comment-thread.d.ts
|
|
3
|
+
export interface CommentAuthor {
|
|
4
|
+
id?: string;
|
|
5
|
+
name: string;
|
|
6
|
+
avatarUrl?: string;
|
|
7
|
+
initials?: string;
|
|
8
|
+
}
|
|
9
|
+
export type CommentBadgeTone = "default" | "muted" | "warning" | "success" | "info";
|
|
10
|
+
export interface CommentBadge {
|
|
11
|
+
id: string;
|
|
12
|
+
icon?: React.ReactNode;
|
|
13
|
+
label: string;
|
|
14
|
+
tone?: CommentBadgeTone;
|
|
15
|
+
}
|
|
16
|
+
export interface CommentReaction {
|
|
17
|
+
id: string;
|
|
18
|
+
icon?: React.ReactNode;
|
|
19
|
+
label?: string;
|
|
20
|
+
count: number;
|
|
21
|
+
active?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export interface CommentAttachment {
|
|
24
|
+
id: string;
|
|
25
|
+
type?: "image" | "file";
|
|
26
|
+
url?: string;
|
|
27
|
+
thumbnailUrl?: string;
|
|
28
|
+
name?: string;
|
|
29
|
+
width?: number;
|
|
30
|
+
height?: number;
|
|
31
|
+
}
|
|
32
|
+
export interface CommentMenuItem {
|
|
33
|
+
id: string;
|
|
34
|
+
label: string;
|
|
35
|
+
icon?: React.ReactNode;
|
|
36
|
+
tone?: "default" | "destructive";
|
|
37
|
+
onSelect?: () => void;
|
|
38
|
+
}
|
|
39
|
+
export interface CommentItem {
|
|
40
|
+
id: string;
|
|
41
|
+
author: CommentAuthor;
|
|
42
|
+
timestamp: React.ReactNode;
|
|
43
|
+
body: React.ReactNode;
|
|
44
|
+
badges?: CommentBadge[];
|
|
45
|
+
attachments?: CommentAttachment[];
|
|
46
|
+
reactions?: CommentReaction[];
|
|
47
|
+
replies?: CommentItem[];
|
|
48
|
+
menu?: CommentMenuItem[];
|
|
49
|
+
onReact?: (reactionId: string) => void;
|
|
50
|
+
onAddReaction?: () => void;
|
|
51
|
+
onReply?: () => void;
|
|
52
|
+
}
|
|
53
|
+
export interface CommentProps {
|
|
54
|
+
comment: CommentItem;
|
|
55
|
+
depth?: number;
|
|
56
|
+
}
|
|
57
|
+
export declare function Comment({ comment, depth }: CommentProps): import("react/jsx-runtime").JSX.Element;
|
|
58
|
+
export interface CommentThreadProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
59
|
+
comments: CommentItem[];
|
|
60
|
+
composer?: React.ReactNode;
|
|
61
|
+
composerPosition?: "top" | "bottom";
|
|
62
|
+
emptyState?: React.ReactNode;
|
|
63
|
+
}
|
|
64
|
+
export declare function CommentThread({ comments, composer, composerPosition, emptyState, className, ...rest }: CommentThreadProps): import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
//#endregion
|
|
66
|
+
//# sourceMappingURL=comment-thread.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment-thread.d.mts","names":[],"sources":["../src/comment-thread.tsx"],"mappings":";;iBASiB;EAChB;EACA;EACA;EACA;;YAGW;iBAEK;EAChB;EACA,OAAO,MAAM;EACb;EACA,OAAO;;iBAGS;EAChB;EACA,OAAO,MAAM;EACb;EACA;EACA;;iBAGgB;EAChB;EACA;EACA;EACA;EACA;EACA;EACA;;iBAGgB;EAChB;EACA;EACA,OAAO,MAAM;EACb;EACA;;iBAGgB;EAChB;EACA,QAAQ;EACR,WAAW,MAAM;EACjB,MAAM,MAAM;EACZ,SAAS;EACT,cAAc;EACd,YAAY;EACZ,UAAU;EACV,OAAO;EACP,WAAW;EACX;EACA;;iBAmBgB;EAChB,SAAS;EACT;;wBAGe,UAAS,SAAS,SAAY,2CAAY,IAAA;iBA0KzC,2BAA2B,MAAM,eAAe;EAChE,UAAU;EACV,WAAW,MAAM;EACjB;EACA,aAAa,MAAM;;wBAGJ,gBACf,UACA,UACA,kBACA,YACA,cACG,QACD,iDAAkB,IAAA"}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { Badge } from "./badge.mjs";
|
|
2
|
+
import { Button } from "./button.mjs";
|
|
3
|
+
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "./dropdown-menu.mjs";
|
|
4
|
+
import { Avatar, AvatarFallback, AvatarImage } from "./avatar.mjs";
|
|
5
|
+
import { cn } from "@corensystem/coren-utils";
|
|
6
|
+
import { MoreHorizontal, SmilePlus } from "lucide-react";
|
|
7
|
+
import "react";
|
|
8
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
//#region src/comment-thread.tsx
|
|
10
|
+
const badgeToneClass = {
|
|
11
|
+
default: "wwc:bg-muted wwc:text-foreground",
|
|
12
|
+
muted: "wwc:bg-muted wwc:text-muted-foreground",
|
|
13
|
+
warning: "wwc:bg-amber-50 wwc:text-amber-800",
|
|
14
|
+
success: "wwc:bg-emerald-50 wwc:text-emerald-700",
|
|
15
|
+
info: "wwc:bg-blue-50 wwc:text-blue-700"
|
|
16
|
+
};
|
|
17
|
+
function authorInitials(author) {
|
|
18
|
+
if (author.initials) return author.initials;
|
|
19
|
+
const parts = author.name.trim().split(/\s+/);
|
|
20
|
+
if (parts.length === 0) return "?";
|
|
21
|
+
if (parts.length === 1) return parts[0].slice(0, 1).toUpperCase();
|
|
22
|
+
return `${parts[0][0]}${parts[parts.length - 1][0]}`.toUpperCase();
|
|
23
|
+
}
|
|
24
|
+
function Comment({ comment, depth = 0 }) {
|
|
25
|
+
const isReply = depth > 0;
|
|
26
|
+
const hasReplies = comment.replies !== void 0 && comment.replies.length > 0;
|
|
27
|
+
const avatarSize = isReply ? "wwc:h-6 wwc:w-6" : "wwc:h-8 wwc:w-8";
|
|
28
|
+
const avatarText = isReply ? "wwc:text-[11px]" : "wwc:text-xs";
|
|
29
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
30
|
+
className: "wwc:relative wwc:w-full",
|
|
31
|
+
children: [
|
|
32
|
+
hasReplies && /* @__PURE__ */ jsx("span", {
|
|
33
|
+
"aria-hidden": "true",
|
|
34
|
+
className: cn("wwc:absolute wwc:left-4 wwc:top-4 wwc:bottom-3 wwc:w-px wwc:bg-border", isReply && "wwc:left-3 wwc:top-3")
|
|
35
|
+
}),
|
|
36
|
+
/* @__PURE__ */ jsxs("div", {
|
|
37
|
+
className: "wwc:relative wwc:flex wwc:w-full wwc:gap-3",
|
|
38
|
+
children: [/* @__PURE__ */ jsxs(Avatar, {
|
|
39
|
+
className: cn(avatarSize, "wwc:z-10 wwc:shrink-0"),
|
|
40
|
+
children: [comment.author.avatarUrl && /* @__PURE__ */ jsx(AvatarImage, {
|
|
41
|
+
src: comment.author.avatarUrl,
|
|
42
|
+
alt: comment.author.name
|
|
43
|
+
}), /* @__PURE__ */ jsx(AvatarFallback, {
|
|
44
|
+
className: cn(avatarText, "wwc:font-semibold"),
|
|
45
|
+
children: authorInitials(comment.author)
|
|
46
|
+
})]
|
|
47
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
48
|
+
className: "wwc:flex wwc:min-w-0 wwc:flex-1 wwc:flex-col wwc:gap-1.5",
|
|
49
|
+
children: [
|
|
50
|
+
/* @__PURE__ */ jsxs("div", {
|
|
51
|
+
className: "wwc:flex wwc:items-center wwc:justify-between wwc:gap-2",
|
|
52
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
53
|
+
className: "wwc:flex wwc:min-w-0 wwc:items-center wwc:gap-2",
|
|
54
|
+
children: [
|
|
55
|
+
/* @__PURE__ */ jsx("span", {
|
|
56
|
+
className: "wwc:truncate wwc:text-sm wwc:font-semibold wwc:text-foreground",
|
|
57
|
+
children: comment.author.name
|
|
58
|
+
}),
|
|
59
|
+
/* @__PURE__ */ jsx("span", {
|
|
60
|
+
className: "wwc:shrink-0 wwc:text-xs wwc:text-muted-foreground",
|
|
61
|
+
children: comment.timestamp
|
|
62
|
+
}),
|
|
63
|
+
comment.badges?.map((b) => /* @__PURE__ */ jsxs(Badge, {
|
|
64
|
+
variant: "secondary",
|
|
65
|
+
className: cn("wwc:gap-1 wwc:rounded-md wwc:px-2 wwc:py-0.5 wwc:text-[11px] wwc:font-medium", badgeToneClass[b.tone ?? "default"]),
|
|
66
|
+
children: [b.icon, b.label]
|
|
67
|
+
}, b.id))
|
|
68
|
+
]
|
|
69
|
+
}), comment.menu && comment.menu.length > 0 && /* @__PURE__ */ jsxs(DropdownMenu, { children: [/* @__PURE__ */ jsx(DropdownMenuTrigger, {
|
|
70
|
+
asChild: true,
|
|
71
|
+
children: /* @__PURE__ */ jsx(Button, {
|
|
72
|
+
type: "button",
|
|
73
|
+
variant: "ghost",
|
|
74
|
+
icon: true,
|
|
75
|
+
className: "wwc:h-6 wwc:w-6",
|
|
76
|
+
"aria-label": "More",
|
|
77
|
+
children: /* @__PURE__ */ jsx(MoreHorizontal, {})
|
|
78
|
+
})
|
|
79
|
+
}), /* @__PURE__ */ jsx(DropdownMenuContent, {
|
|
80
|
+
align: "end",
|
|
81
|
+
children: comment.menu.map((item) => /* @__PURE__ */ jsxs(DropdownMenuItem, {
|
|
82
|
+
onSelect: () => item.onSelect?.(),
|
|
83
|
+
className: cn(item.tone === "destructive" && "wwc:text-destructive"),
|
|
84
|
+
children: [item.icon, item.label]
|
|
85
|
+
}, item.id))
|
|
86
|
+
})] })]
|
|
87
|
+
}),
|
|
88
|
+
/* @__PURE__ */ jsx("div", {
|
|
89
|
+
className: "wwc:text-sm wwc:text-foreground",
|
|
90
|
+
children: comment.body
|
|
91
|
+
}),
|
|
92
|
+
comment.attachments && comment.attachments.length > 0 && /* @__PURE__ */ jsx("div", {
|
|
93
|
+
className: "wwc:mt-1 wwc:flex wwc:flex-wrap wwc:gap-2",
|
|
94
|
+
children: comment.attachments.map((att) => /* @__PURE__ */ jsx(CommentAttachmentTile, { attachment: att }, att.id))
|
|
95
|
+
}),
|
|
96
|
+
(comment.reactions?.length || comment.onAddReaction || comment.onReply) && /* @__PURE__ */ jsxs("div", {
|
|
97
|
+
className: "wwc:mt-1 wwc:flex wwc:items-center wwc:gap-1",
|
|
98
|
+
children: [
|
|
99
|
+
comment.reactions?.map((r) => /* @__PURE__ */ jsxs(Button, {
|
|
100
|
+
type: "button",
|
|
101
|
+
variant: r.active ? "secondary" : "outline",
|
|
102
|
+
size: "sm",
|
|
103
|
+
className: "wwc:h-7 wwc:gap-1.5 wwc:rounded-md wwc:px-2 wwc:text-xs",
|
|
104
|
+
onClick: () => comment.onReact?.(r.id),
|
|
105
|
+
"aria-label": r.label ? `${r.label} reaction (${r.count})` : `${r.count} reactions`,
|
|
106
|
+
children: [r.icon, r.count]
|
|
107
|
+
}, r.id)),
|
|
108
|
+
comment.onAddReaction && /* @__PURE__ */ jsx(Button, {
|
|
109
|
+
type: "button",
|
|
110
|
+
variant: "ghost",
|
|
111
|
+
icon: true,
|
|
112
|
+
className: "wwc:h-7 wwc:w-7",
|
|
113
|
+
onClick: comment.onAddReaction,
|
|
114
|
+
"aria-label": "Add reaction",
|
|
115
|
+
children: /* @__PURE__ */ jsx(SmilePlus, {})
|
|
116
|
+
}),
|
|
117
|
+
comment.onReply && /* @__PURE__ */ jsx(Button, {
|
|
118
|
+
type: "button",
|
|
119
|
+
variant: "ghost",
|
|
120
|
+
size: "sm",
|
|
121
|
+
className: "wwc:h-7 wwc:px-2 wwc:text-xs wwc:font-medium wwc:text-muted-foreground",
|
|
122
|
+
onClick: comment.onReply,
|
|
123
|
+
children: "Reply"
|
|
124
|
+
})
|
|
125
|
+
]
|
|
126
|
+
})
|
|
127
|
+
]
|
|
128
|
+
})]
|
|
129
|
+
}),
|
|
130
|
+
hasReplies && /* @__PURE__ */ jsx("div", {
|
|
131
|
+
className: cn("wwc:mt-2 wwc:flex wwc:flex-col wwc:gap-4 wwc:pl-8", isReply ? "wwc:ml-3" : "wwc:ml-4"),
|
|
132
|
+
children: comment.replies.map((reply) => /* @__PURE__ */ jsx("div", {
|
|
133
|
+
className: "wwc:relative wwc:before:absolute wwc:before:-left-8 wwc:before:top-3 wwc:before:h-px wwc:before:w-8 wwc:before:bg-border",
|
|
134
|
+
children: /* @__PURE__ */ jsx(Comment, {
|
|
135
|
+
comment: reply,
|
|
136
|
+
depth: depth + 1
|
|
137
|
+
})
|
|
138
|
+
}, reply.id))
|
|
139
|
+
})
|
|
140
|
+
]
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
function CommentAttachmentTile({ attachment }) {
|
|
144
|
+
if ((attachment.type === "image" || attachment.thumbnailUrl !== void 0 && attachment.type === void 0) && attachment.thumbnailUrl) return /* @__PURE__ */ jsx("a", {
|
|
145
|
+
href: attachment.url ?? attachment.thumbnailUrl,
|
|
146
|
+
target: "_blank",
|
|
147
|
+
rel: "noopener noreferrer",
|
|
148
|
+
className: "wwc:overflow-hidden wwc:rounded-lg wwc:border wwc:bg-muted",
|
|
149
|
+
children: /* @__PURE__ */ jsx("img", {
|
|
150
|
+
src: attachment.thumbnailUrl,
|
|
151
|
+
alt: attachment.name ?? "attachment",
|
|
152
|
+
className: "wwc:max-h-48 wwc:w-auto wwc:object-cover",
|
|
153
|
+
width: attachment.width,
|
|
154
|
+
height: attachment.height
|
|
155
|
+
})
|
|
156
|
+
});
|
|
157
|
+
return /* @__PURE__ */ jsx("div", {
|
|
158
|
+
"aria-label": attachment.name ?? "attachment",
|
|
159
|
+
className: "wwc:flex wwc:h-28 wwc:w-44 wwc:items-center wwc:justify-center wwc:rounded-lg wwc:border wwc:bg-muted wwc:text-xs wwc:text-muted-foreground",
|
|
160
|
+
children: attachment.name ?? "Attachment"
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
function CommentThread({ comments, composer, composerPosition = "bottom", emptyState, className, ...rest }) {
|
|
164
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
165
|
+
className: cn("wwc:flex wwc:w-full wwc:flex-col wwc:gap-4", className),
|
|
166
|
+
...rest,
|
|
167
|
+
children: [
|
|
168
|
+
composer && composerPosition === "top" && composer,
|
|
169
|
+
comments.length === 0 ? emptyState ?? /* @__PURE__ */ jsx("div", {
|
|
170
|
+
className: "wwc:py-8 wwc:text-center wwc:text-sm wwc:text-muted-foreground",
|
|
171
|
+
children: "No comments yet."
|
|
172
|
+
}) : comments.map((c) => /* @__PURE__ */ jsx(Comment, { comment: c }, c.id)),
|
|
173
|
+
composer && composerPosition === "bottom" && composer
|
|
174
|
+
]
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
//#endregion
|
|
178
|
+
export { Comment, CommentThread };
|
|
179
|
+
|
|
180
|
+
//# sourceMappingURL=comment-thread.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment-thread.mjs","names":[],"sources":["../src/comment-thread.tsx"],"sourcesContent":["import {cn} from \"@corensystem/coren-utils\";\nimport {MoreHorizontal, SmilePlus} from \"lucide-react\";\nimport * as React from \"react\";\n\nimport {Avatar, AvatarFallback, AvatarImage} from \"./avatar\";\nimport {Badge} from \"./badge\";\nimport {Button} from \"./button\";\nimport {DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger} from \"./dropdown-menu\";\n\nexport interface CommentAuthor {\n\tid?: string;\n\tname: string;\n\tavatarUrl?: string;\n\tinitials?: string;\n}\n\nexport type CommentBadgeTone = \"default\" | \"muted\" | \"warning\" | \"success\" | \"info\";\n\nexport interface CommentBadge {\n\tid: string;\n\ticon?: React.ReactNode;\n\tlabel: string;\n\ttone?: CommentBadgeTone;\n}\n\nexport interface CommentReaction {\n\tid: string;\n\ticon?: React.ReactNode;\n\tlabel?: string;\n\tcount: number;\n\tactive?: boolean;\n}\n\nexport interface CommentAttachment {\n\tid: string;\n\ttype?: \"image\" | \"file\";\n\turl?: string;\n\tthumbnailUrl?: string;\n\tname?: string;\n\twidth?: number;\n\theight?: number;\n}\n\nexport interface CommentMenuItem {\n\tid: string;\n\tlabel: string;\n\ticon?: React.ReactNode;\n\ttone?: \"default\" | \"destructive\";\n\tonSelect?: () => void;\n}\n\nexport interface CommentItem {\n\tid: string;\n\tauthor: CommentAuthor;\n\ttimestamp: React.ReactNode;\n\tbody: React.ReactNode;\n\tbadges?: CommentBadge[];\n\tattachments?: CommentAttachment[];\n\treactions?: CommentReaction[];\n\treplies?: CommentItem[];\n\tmenu?: CommentMenuItem[];\n\tonReact?: (reactionId: string) => void;\n\tonAddReaction?: () => void;\n\tonReply?: () => void;\n}\n\nconst badgeToneClass: Record<CommentBadgeTone, string> = {\n\tdefault: \"wwc:bg-muted wwc:text-foreground\",\n\tmuted: \"wwc:bg-muted wwc:text-muted-foreground\",\n\twarning: \"wwc:bg-amber-50 wwc:text-amber-800\",\n\tsuccess: \"wwc:bg-emerald-50 wwc:text-emerald-700\",\n\tinfo: \"wwc:bg-blue-50 wwc:text-blue-700\",\n};\n\nfunction authorInitials(author: CommentAuthor): string {\n\tif (author.initials) return author.initials;\n\tconst parts = author.name.trim().split(/\\s+/);\n\tif (parts.length === 0) return \"?\";\n\tif (parts.length === 1) return parts[0].slice(0, 1).toUpperCase();\n\treturn `${parts[0][0]}${parts[parts.length - 1][0]}`.toUpperCase();\n}\n\nexport interface CommentProps {\n\tcomment: CommentItem;\n\tdepth?: number;\n}\n\nexport function Comment({comment, depth = 0}: CommentProps) {\n\tconst isReply = depth > 0;\n\tconst hasReplies = comment.replies !== undefined && comment.replies.length > 0;\n\tconst avatarSize = isReply ? \"wwc:h-6 wwc:w-6\" : \"wwc:h-8 wwc:w-8\";\n\tconst avatarText = isReply ? \"wwc:text-[11px]\" : \"wwc:text-xs\";\n\n\treturn (\n\t\t<div className=\"wwc:relative wwc:w-full\">\n\t\t\t{hasReplies && (\n\t\t\t\t<span\n\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\tclassName={cn(\n\t\t\t\t\t\t\"wwc:absolute wwc:left-4 wwc:top-4 wwc:bottom-3 wwc:w-px wwc:bg-border\",\n\t\t\t\t\t\tisReply && \"wwc:left-3 wwc:top-3\",\n\t\t\t\t\t)}\n\t\t\t\t/>\n\t\t\t)}\n\t\t\t<div className=\"wwc:relative wwc:flex wwc:w-full wwc:gap-3\">\n\t\t\t\t<Avatar className={cn(avatarSize, \"wwc:z-10 wwc:shrink-0\")}>\n\t\t\t\t\t{comment.author.avatarUrl && <AvatarImage src={comment.author.avatarUrl} alt={comment.author.name} />}\n\t\t\t\t\t<AvatarFallback className={cn(avatarText, \"wwc:font-semibold\")}>\n\t\t\t\t\t\t{authorInitials(comment.author)}\n\t\t\t\t\t</AvatarFallback>\n\t\t\t\t</Avatar>\n\n\t\t\t\t<div className=\"wwc:flex wwc:min-w-0 wwc:flex-1 wwc:flex-col wwc:gap-1.5\">\n\t\t\t\t\t<div className=\"wwc:flex wwc:items-center wwc:justify-between wwc:gap-2\">\n\t\t\t\t\t\t<div className=\"wwc:flex wwc:min-w-0 wwc:items-center wwc:gap-2\">\n\t\t\t\t\t\t\t<span className=\"wwc:truncate wwc:text-sm wwc:font-semibold wwc:text-foreground\">\n\t\t\t\t\t\t\t\t{comment.author.name}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t<span className=\"wwc:shrink-0 wwc:text-xs wwc:text-muted-foreground\">{comment.timestamp}</span>\n\t\t\t\t\t\t\t{comment.badges?.map((b) => (\n\t\t\t\t\t\t\t\t<Badge\n\t\t\t\t\t\t\t\t\tkey={b.id}\n\t\t\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t\t\t\tclassName={cn(\n\t\t\t\t\t\t\t\t\t\t\"wwc:gap-1 wwc:rounded-md wwc:px-2 wwc:py-0.5 wwc:text-[11px] wwc:font-medium\",\n\t\t\t\t\t\t\t\t\t\tbadgeToneClass[b.tone ?? \"default\"],\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{b.icon}\n\t\t\t\t\t\t\t\t\t{b.label}\n\t\t\t\t\t\t\t\t</Badge>\n\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t{comment.menu && comment.menu.length > 0 && (\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 type=\"button\" variant=\"ghost\" icon className=\"wwc:h-6 wwc:w-6\" aria-label=\"More\">\n\t\t\t\t\t\t\t\t\t\t<MoreHorizontal />\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=\"end\">\n\t\t\t\t\t\t\t\t\t{comment.menu.map((item) => (\n\t\t\t\t\t\t\t\t\t\t<DropdownMenuItem\n\t\t\t\t\t\t\t\t\t\t\tkey={item.id}\n\t\t\t\t\t\t\t\t\t\t\tonSelect={() => item.onSelect?.()}\n\t\t\t\t\t\t\t\t\t\t\tclassName={cn(item.tone === \"destructive\" && \"wwc:text-destructive\")}\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t{item.icon}\n\t\t\t\t\t\t\t\t\t\t\t{item.label}\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</div>\n\n\t\t\t\t\t<div className=\"wwc:text-sm wwc:text-foreground\">{comment.body}</div>\n\n\t\t\t\t\t{comment.attachments && comment.attachments.length > 0 && (\n\t\t\t\t\t\t<div className=\"wwc:mt-1 wwc:flex wwc:flex-wrap wwc:gap-2\">\n\t\t\t\t\t\t\t{comment.attachments.map((att) => (\n\t\t\t\t\t\t\t\t<CommentAttachmentTile key={att.id} attachment={att} />\n\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{(comment.reactions?.length || comment.onAddReaction || comment.onReply) && (\n\t\t\t\t\t\t<div className=\"wwc:mt-1 wwc:flex wwc:items-center wwc:gap-1\">\n\t\t\t\t\t\t\t{comment.reactions?.map((r) => (\n\t\t\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t\t\tkey={r.id}\n\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\tvariant={r.active ? \"secondary\" : \"outline\"}\n\t\t\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t\t\tclassName=\"wwc:h-7 wwc:gap-1.5 wwc:rounded-md wwc:px-2 wwc:text-xs\"\n\t\t\t\t\t\t\t\t\tonClick={() => comment.onReact?.(r.id)}\n\t\t\t\t\t\t\t\t\taria-label={r.label ? `${r.label} reaction (${r.count})` : `${r.count} reactions`}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{r.icon}\n\t\t\t\t\t\t\t\t\t{r.count}\n\t\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t{comment.onAddReaction && (\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\tclassName=\"wwc:h-7 wwc:w-7\"\n\t\t\t\t\t\t\t\t\tonClick={comment.onAddReaction}\n\t\t\t\t\t\t\t\t\taria-label=\"Add reaction\"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t<SmilePlus />\n\t\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t{comment.onReply && (\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\tsize=\"sm\"\n\t\t\t\t\t\t\t\t\tclassName=\"wwc:h-7 wwc:px-2 wwc:text-xs wwc:font-medium wwc:text-muted-foreground\"\n\t\t\t\t\t\t\t\t\tonClick={comment.onReply}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t</Button>\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</div>\n\t\t\t</div>\n\n\t\t\t{hasReplies && (\n\t\t\t\t<div className={cn(\"wwc:mt-2 wwc:flex wwc:flex-col wwc:gap-4 wwc:pl-8\", isReply ? \"wwc:ml-3\" : \"wwc:ml-4\")}>\n\t\t\t\t\t{comment.replies!.map((reply) => (\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tkey={reply.id}\n\t\t\t\t\t\t\tclassName=\"wwc:relative wwc:before:absolute wwc:before:-left-8 wwc:before:top-3 wwc:before:h-px wwc:before:w-8 wwc:before:bg-border\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<Comment comment={reply} depth={depth + 1} />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t))}\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t);\n}\n\nfunction CommentAttachmentTile({attachment}: {attachment: CommentAttachment}) {\n\tconst isImage =\n\t\tattachment.type === \"image\" || (attachment.thumbnailUrl !== undefined && attachment.type === undefined);\n\tif (isImage && attachment.thumbnailUrl) {\n\t\treturn (\n\t\t\t<a\n\t\t\t\thref={attachment.url ?? attachment.thumbnailUrl}\n\t\t\t\ttarget=\"_blank\"\n\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\tclassName=\"wwc:overflow-hidden wwc:rounded-lg wwc:border wwc:bg-muted\"\n\t\t\t>\n\t\t\t\t<img\n\t\t\t\t\tsrc={attachment.thumbnailUrl}\n\t\t\t\t\talt={attachment.name ?? \"attachment\"}\n\t\t\t\t\tclassName=\"wwc:max-h-48 wwc:w-auto wwc:object-cover\"\n\t\t\t\t\twidth={attachment.width}\n\t\t\t\t\theight={attachment.height}\n\t\t\t\t/>\n\t\t\t</a>\n\t\t);\n\t}\n\treturn (\n\t\t<div\n\t\t\taria-label={attachment.name ?? \"attachment\"}\n\t\t\tclassName=\"wwc:flex wwc:h-28 wwc:w-44 wwc:items-center wwc:justify-center wwc:rounded-lg wwc:border wwc:bg-muted wwc:text-xs wwc:text-muted-foreground\"\n\t\t>\n\t\t\t{attachment.name ?? \"Attachment\"}\n\t\t</div>\n\t);\n}\n\nexport interface CommentThreadProps extends React.HTMLAttributes<HTMLDivElement> {\n\tcomments: CommentItem[];\n\tcomposer?: React.ReactNode;\n\tcomposerPosition?: \"top\" | \"bottom\";\n\temptyState?: React.ReactNode;\n}\n\nexport function CommentThread({\n\tcomments,\n\tcomposer,\n\tcomposerPosition = \"bottom\",\n\temptyState,\n\tclassName,\n\t...rest\n}: CommentThreadProps) {\n\treturn (\n\t\t<div className={cn(\"wwc:flex wwc:w-full wwc:flex-col wwc:gap-4\", className)} {...rest}>\n\t\t\t{composer && composerPosition === \"top\" && composer}\n\t\t\t{comments.length === 0\n\t\t\t\t? (emptyState ?? (\n\t\t\t\t\t\t<div className=\"wwc:py-8 wwc:text-center wwc:text-sm wwc:text-muted-foreground\">No comments yet.</div>\n\t\t\t\t\t))\n\t\t\t\t: comments.map((c) => <Comment key={c.id} comment={c} />)}\n\t\t\t{composer && composerPosition === \"bottom\" && composer}\n\t\t</div>\n\t);\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
//#region src/compare-bars.d.ts
|
|
3
|
+
/** One source in the comparison (e.g. Approved / Planned, actual / baseline). */
|
|
4
|
+
export interface CompareBarsSource {
|
|
5
|
+
/** Legend label, e.g. "Approved". */
|
|
6
|
+
label: string;
|
|
7
|
+
/** Percentage 0–100. */
|
|
8
|
+
value: number;
|
|
9
|
+
}
|
|
10
|
+
export interface CompareBarsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
11
|
+
/** Left / primary source, rendered dark — most commonly the actual / approved value. */
|
|
12
|
+
primary: CompareBarsSource;
|
|
13
|
+
/** Right / secondary source, rendered lighter — most commonly the planned / baseline value. */
|
|
14
|
+
secondary: CompareBarsSource;
|
|
15
|
+
/** Variance shown in the pill. Defaults to `primary.value - secondary.value`. */
|
|
16
|
+
variance?: number;
|
|
17
|
+
/** Density. `compact` (default) matches the ProgressComparison panel; `default` is a touch larger. */
|
|
18
|
+
size?: "compact" | "default";
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The dual-bar comparison primitive: two hero percentages (primary vs secondary) with a variance pill
|
|
22
|
+
* between them, a two-item legend, and a pair of stacked progress bars. This is the presentational core
|
|
23
|
+
* shared by the `ProgressComparison` widget — use it directly when you just need the bars block without
|
|
24
|
+
* the surrounding card/stats/header.
|
|
25
|
+
*/
|
|
26
|
+
declare const CompareBars: React.ForwardRefExoticComponent<CompareBarsProps & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
+
//#endregion
|
|
28
|
+
export { CompareBars };
|
|
29
|
+
//# sourceMappingURL=compare-bars.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compare-bars.d.mts","names":[],"sources":["../src/compare-bars.tsx"],"mappings":";;;iBAKiB;;EAEhB;;EAEA;;iBAGgB,yBAAyB,MAAM,eAAe;;EAE9D,SAAS;;EAET,WAAW;;EAEX;;EAEA;;;;;;;;cA8CK,aAAW,MAAA,0BAAA,mBAAA,MAAA,cAAA"}
|