@corensystem/coren-ui 1.0.0-next.20260924.75108.887a9c2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/intent.js +20 -0
- package/dist/accordion.d.mts +11 -0
- package/dist/accordion.d.mts.map +1 -0
- package/dist/accordion.mjs +42 -0
- package/dist/accordion.mjs.map +1 -0
- package/dist/activity-log.d.mts +29 -0
- package/dist/activity-log.d.mts.map +1 -0
- package/dist/activity-log.mjs +60 -0
- package/dist/activity-log.mjs.map +1 -0
- package/dist/activity-sheet.d.mts +18 -0
- package/dist/activity-sheet.d.mts.map +1 -0
- package/dist/activity-sheet.mjs +167 -0
- package/dist/activity-sheet.mjs.map +1 -0
- package/dist/add-clinic-location-dialog.d.mts +21 -0
- package/dist/add-clinic-location-dialog.d.mts.map +1 -0
- package/dist/add-clinic-location-dialog.mjs +96 -0
- package/dist/add-clinic-location-dialog.mjs.map +1 -0
- package/dist/add-clinic-visit-dialog.d.mts +51 -0
- package/dist/add-clinic-visit-dialog.d.mts.map +1 -0
- package/dist/add-clinic-visit-dialog.mjs +307 -0
- package/dist/add-clinic-visit-dialog.mjs.map +1 -0
- package/dist/add-observation-dialog.d.mts +36 -0
- package/dist/add-observation-dialog.d.mts.map +1 -0
- package/dist/add-observation-dialog.mjs +269 -0
- package/dist/add-observation-dialog.mjs.map +1 -0
- package/dist/alert-dialog.d.mts +24 -0
- package/dist/alert-dialog.d.mts.map +1 -0
- package/dist/alert-dialog.mjs +62 -0
- package/dist/alert-dialog.mjs.map +1 -0
- package/dist/alert.d.mts +12 -0
- package/dist/alert.d.mts.map +1 -0
- package/dist/alert.mjs +36 -0
- package/dist/alert.mjs.map +1 -0
- package/dist/app-card.d.mts +21 -0
- package/dist/app-card.d.mts.map +1 -0
- package/dist/app-card.mjs +49 -0
- package/dist/app-card.mjs.map +1 -0
- package/dist/app-shell.d.mts +39 -0
- package/dist/app-shell.d.mts.map +1 -0
- package/dist/app-shell.mjs +79 -0
- package/dist/app-shell.mjs.map +1 -0
- package/dist/aspect-ratio.d.mts +8 -0
- package/dist/aspect-ratio.d.mts.map +1 -0
- package/dist/aspect-ratio.mjs +14 -0
- package/dist/aspect-ratio.mjs.map +1 -0
- package/dist/asset-list-item.d.mts +36 -0
- package/dist/asset-list-item.d.mts.map +1 -0
- package/dist/asset-list-item.mjs +51 -0
- package/dist/asset-list-item.mjs.map +1 -0
- package/dist/assign-doctor-dialog.d.mts +28 -0
- package/dist/assign-doctor-dialog.d.mts.map +1 -0
- package/dist/assign-doctor-dialog.mjs +194 -0
- package/dist/assign-doctor-dialog.mjs.map +1 -0
- package/dist/attention-list.d.mts +29 -0
- package/dist/attention-list.d.mts.map +1 -0
- package/dist/attention-list.mjs +82 -0
- package/dist/attention-list.mjs.map +1 -0
- package/dist/avatar-status-dot.d.mts +22 -0
- package/dist/avatar-status-dot.d.mts.map +1 -0
- package/dist/avatar-status-dot.mjs +72 -0
- package/dist/avatar-status-dot.mjs.map +1 -0
- package/dist/avatar.d.mts +34 -0
- package/dist/avatar.d.mts.map +1 -0
- package/dist/avatar.mjs +103 -0
- package/dist/avatar.mjs.map +1 -0
- package/dist/badge.d.mts +18 -0
- package/dist/badge.d.mts.map +1 -0
- package/dist/badge.mjs +39 -0
- package/dist/badge.mjs.map +1 -0
- package/dist/banner.d.mts +18 -0
- package/dist/banner.d.mts.map +1 -0
- package/dist/banner.mjs +74 -0
- package/dist/banner.mjs.map +1 -0
- package/dist/blockquote.d.mts +13 -0
- package/dist/blockquote.d.mts.map +1 -0
- package/dist/blockquote.mjs +22 -0
- package/dist/blockquote.mjs.map +1 -0
- package/dist/blueprint-segment.d.mts +33 -0
- package/dist/blueprint-segment.d.mts.map +1 -0
- package/dist/blueprint-segment.mjs +59 -0
- package/dist/blueprint-segment.mjs.map +1 -0
- package/dist/bottom-sheet-switcher.d.mts +32 -0
- package/dist/bottom-sheet-switcher.d.mts.map +1 -0
- package/dist/bottom-sheet-switcher.mjs +40 -0
- package/dist/bottom-sheet-switcher.mjs.map +1 -0
- package/dist/bottom-sheet.d.mts +23 -0
- package/dist/bottom-sheet.d.mts.map +1 -0
- package/dist/bottom-sheet.mjs +91 -0
- package/dist/bottom-sheet.mjs.map +1 -0
- package/dist/breadcrumb.d.mts +39 -0
- package/dist/breadcrumb.d.mts.map +1 -0
- package/dist/breadcrumb.mjs +95 -0
- package/dist/breadcrumb.mjs.map +1 -0
- package/dist/breadcrumbs.d.mts +2 -0
- package/dist/breadcrumbs.mjs +2 -0
- package/dist/browser-tabs.d.mts +40 -0
- package/dist/browser-tabs.d.mts.map +1 -0
- package/dist/browser-tabs.mjs +127 -0
- package/dist/browser-tabs.mjs.map +1 -0
- package/dist/building-model-placeholder.d.mts +46 -0
- package/dist/building-model-placeholder.d.mts.map +1 -0
- package/dist/building-model-placeholder.mjs +175 -0
- package/dist/building-model-placeholder.mjs.map +1 -0
- package/dist/building-progress.d.mts +32 -0
- package/dist/building-progress.d.mts.map +1 -0
- package/dist/building-progress.mjs +74 -0
- package/dist/building-progress.mjs.map +1 -0
- package/dist/building-viewer.d.mts +91 -0
- package/dist/building-viewer.d.mts.map +1 -0
- package/dist/building-viewer.mjs +567 -0
- package/dist/building-viewer.mjs.map +1 -0
- package/dist/button-group.d.mts +8 -0
- package/dist/button-group.d.mts.map +1 -0
- package/dist/button-group.mjs +21 -0
- package/dist/button-group.mjs.map +1 -0
- package/dist/button.d.mts +21 -0
- package/dist/button.d.mts.map +1 -0
- package/dist/button.mjs +79 -0
- package/dist/button.mjs.map +1 -0
- package/dist/calendar-view.d.mts +47 -0
- package/dist/calendar-view.d.mts.map +1 -0
- package/dist/calendar-view.mjs +165 -0
- package/dist/calendar-view.mjs.map +1 -0
- package/dist/calendar.d.mts +15 -0
- package/dist/calendar.d.mts.map +1 -0
- package/dist/calendar.mjs +94 -0
- package/dist/calendar.mjs.map +1 -0
- package/dist/camera-detail-panel.d.mts +44 -0
- package/dist/camera-detail-panel.d.mts.map +1 -0
- package/dist/camera-detail-panel.mjs +105 -0
- package/dist/camera-detail-panel.mjs.map +1 -0
- package/dist/canvas-file-picker.d.mts +28 -0
- package/dist/canvas-file-picker.d.mts.map +1 -0
- package/dist/canvas-file-picker.mjs +90 -0
- package/dist/canvas-file-picker.mjs.map +1 -0
- package/dist/canvas-header.d.mts +28 -0
- package/dist/canvas-header.d.mts.map +1 -0
- package/dist/canvas-header.mjs +42 -0
- package/dist/canvas-header.mjs.map +1 -0
- package/dist/canvas-navigator.d.mts +87 -0
- package/dist/canvas-navigator.d.mts.map +1 -0
- package/dist/canvas-navigator.mjs +426 -0
- package/dist/canvas-navigator.mjs.map +1 -0
- package/dist/canvas-toolbar.d.mts +37 -0
- package/dist/canvas-toolbar.d.mts.map +1 -0
- package/dist/canvas-toolbar.mjs +65 -0
- package/dist/canvas-toolbar.mjs.map +1 -0
- package/dist/capture-route-minimap.d.mts +40 -0
- package/dist/capture-route-minimap.d.mts.map +1 -0
- package/dist/capture-route-minimap.mjs +438 -0
- package/dist/capture-route-minimap.mjs.map +1 -0
- package/dist/card.d.mts +17 -0
- package/dist/card.d.mts.map +1 -0
- package/dist/card.mjs +63 -0
- package/dist/card.mjs.map +1 -0
- package/dist/carousel.d.mts +23 -0
- package/dist/carousel.d.mts.map +1 -0
- package/dist/carousel.mjs +141 -0
- package/dist/carousel.mjs.map +1 -0
- package/dist/catalogue-view-toggle.d.mts +53 -0
- package/dist/catalogue-view-toggle.d.mts.map +1 -0
- package/dist/catalogue-view-toggle.mjs +54 -0
- package/dist/catalogue-view-toggle.mjs.map +1 -0
- package/dist/chart.d.mts +91 -0
- package/dist/chart.d.mts.map +1 -0
- package/dist/chart.mjs +254 -0
- package/dist/chart.mjs.map +1 -0
- package/dist/chat/core-ai-chat-header.d.mts +95 -0
- package/dist/chat/core-ai-chat-header.d.mts.map +1 -0
- package/dist/chat/core-ai-chat-header.mjs +237 -0
- package/dist/chat/core-ai-chat-header.mjs.map +1 -0
- package/dist/chat/core-ai-chat-message.d.mts +18 -0
- package/dist/chat/core-ai-chat-message.d.mts.map +1 -0
- package/dist/chat/core-ai-chat-message.mjs +82 -0
- package/dist/chat/core-ai-chat-message.mjs.map +1 -0
- package/dist/chat/core-ai-chat.d.mts +116 -0
- package/dist/chat/core-ai-chat.d.mts.map +1 -0
- package/dist/chat/core-ai-chat.mjs +325 -0
- package/dist/chat/core-ai-chat.mjs.map +1 -0
- package/dist/chat/core-chart-renderer.d.mts +10 -0
- package/dist/chat/core-chart-renderer.d.mts.map +1 -0
- package/dist/chat/core-chart-renderer.mjs +177 -0
- package/dist/chat/core-chart-renderer.mjs.map +1 -0
- package/dist/chat/core-chat-input.d.mts +9 -0
- package/dist/chat/core-chat-input.d.mts.map +1 -0
- package/dist/chat/core-chat-input.mjs +66 -0
- package/dist/chat/core-chat-input.mjs.map +1 -0
- package/dist/chat/core-chat-message.d.mts +11 -0
- package/dist/chat/core-chat-message.d.mts.map +1 -0
- package/dist/chat/core-chat-message.mjs +101 -0
- package/dist/chat/core-chat-message.mjs.map +1 -0
- package/dist/chat/core-chat-panel.d.mts +16 -0
- package/dist/chat/core-chat-panel.d.mts.map +1 -0
- package/dist/chat/core-chat-panel.mjs +139 -0
- package/dist/chat/core-chat-panel.mjs.map +1 -0
- package/dist/chat/core-chat-widget.d.mts +12 -0
- package/dist/chat/core-chat-widget.d.mts.map +1 -0
- package/dist/chat/core-chat-widget.mjs +116 -0
- package/dist/chat/core-chat-widget.mjs.map +1 -0
- package/dist/chat-layout.d.mts +38 -0
- package/dist/chat-layout.d.mts.map +1 -0
- package/dist/chat-layout.mjs +94 -0
- package/dist/chat-layout.mjs.map +1 -0
- package/dist/chat-message.d.mts +40 -0
- package/dist/chat-message.d.mts.map +1 -0
- package/dist/chat-message.mjs +84 -0
- package/dist/chat-message.mjs.map +1 -0
- package/dist/checkbox.d.mts +8 -0
- package/dist/checkbox.d.mts.map +1 -0
- package/dist/checkbox.mjs +22 -0
- package/dist/checkbox.mjs.map +1 -0
- package/dist/chip.d.mts +54 -0
- package/dist/chip.d.mts.map +1 -0
- package/dist/chip.mjs +142 -0
- package/dist/chip.mjs.map +1 -0
- package/dist/citation.d.mts +22 -0
- package/dist/citation.d.mts.map +1 -0
- package/dist/citation.mjs +70 -0
- package/dist/citation.mjs.map +1 -0
- package/dist/clickable-card.d.mts +28 -0
- package/dist/clickable-card.d.mts.map +1 -0
- package/dist/clickable-card.mjs +87 -0
- package/dist/clickable-card.mjs.map +1 -0
- package/dist/code.d.mts +21 -0
- package/dist/code.d.mts.map +1 -0
- package/dist/code.mjs +48 -0
- package/dist/code.mjs.map +1 -0
- package/dist/collapsible.d.mts +10 -0
- package/dist/collapsible.d.mts.map +1 -0
- package/dist/collapsible.mjs +16 -0
- package/dist/collapsible.mjs.map +1 -0
- package/dist/combobox.d.mts +116 -0
- package/dist/combobox.d.mts.map +1 -0
- package/dist/combobox.mjs +149 -0
- package/dist/combobox.mjs.map +1 -0
- package/dist/command-palette.d.mts +43 -0
- package/dist/command-palette.d.mts.map +1 -0
- package/dist/command-palette.mjs +70 -0
- package/dist/command-palette.mjs.map +1 -0
- package/dist/command.d.mts +91 -0
- package/dist/command.d.mts.map +1 -0
- package/dist/command.mjs +82 -0
- package/dist/command.mjs.map +1 -0
- package/dist/comment-composer.d.mts +29 -0
- package/dist/comment-composer.d.mts.map +1 -0
- package/dist/comment-composer.mjs +253 -0
- package/dist/comment-composer.mjs.map +1 -0
- package/dist/comment-thread.d.mts +66 -0
- package/dist/comment-thread.d.mts.map +1 -0
- package/dist/comment-thread.mjs +180 -0
- package/dist/comment-thread.mjs.map +1 -0
- package/dist/compare-bars.d.mts +29 -0
- package/dist/compare-bars.d.mts.map +1 -0
- package/dist/compare-bars.mjs +118 -0
- package/dist/compare-bars.mjs.map +1 -0
- package/dist/compare-view.d.mts +75 -0
- package/dist/compare-view.d.mts.map +1 -0
- package/dist/compare-view.mjs +383 -0
- package/dist/compare-view.mjs.map +1 -0
- package/dist/confirm-dialog.d.mts +37 -0
- package/dist/confirm-dialog.d.mts.map +1 -0
- package/dist/confirm-dialog.mjs +40 -0
- package/dist/confirm-dialog.mjs.map +1 -0
- package/dist/context-menu.d.mts +31 -0
- package/dist/context-menu.d.mts.map +1 -0
- package/dist/context-menu.mjs +84 -0
- package/dist/context-menu.mjs.map +1 -0
- package/dist/context-toolbar.d.mts +22 -0
- package/dist/context-toolbar.d.mts.map +1 -0
- package/dist/context-toolbar.mjs +81 -0
- package/dist/context-toolbar.mjs.map +1 -0
- package/dist/copy-button.d.mts +15 -0
- package/dist/copy-button.d.mts.map +1 -0
- package/dist/copy-button.mjs +33 -0
- package/dist/copy-button.mjs.map +1 -0
- package/dist/core-mark.d.mts +25 -0
- package/dist/core-mark.d.mts.map +1 -0
- package/dist/core-mark.mjs +74 -0
- package/dist/core-mark.mjs.map +1 -0
- package/dist/data/mock-data.d.mts +9 -0
- package/dist/data/mock-data.d.mts.map +1 -0
- package/dist/data/mock-data.mjs +159 -0
- package/dist/data/mock-data.mjs.map +1 -0
- package/dist/data/rnglf-zones.d.mts +17 -0
- package/dist/data/rnglf-zones.d.mts.map +1 -0
- package/dist/data/rnglf-zones.mjs +1400 -0
- package/dist/data/rnglf-zones.mjs.map +1 -0
- package/dist/data-table.d.mts +202 -0
- package/dist/data-table.d.mts.map +1 -0
- package/dist/data-table.mjs +520 -0
- package/dist/data-table.mjs.map +1 -0
- package/dist/date-picker.d.mts +111 -0
- package/dist/date-picker.d.mts.map +1 -0
- package/dist/date-picker.mjs +546 -0
- package/dist/date-picker.mjs.map +1 -0
- package/dist/date-range-input.d.mts +26 -0
- package/dist/date-range-input.d.mts.map +1 -0
- package/dist/date-range-input.mjs +60 -0
- package/dist/date-range-input.mjs.map +1 -0
- package/dist/date-time-input.d.mts +27 -0
- package/dist/date-time-input.d.mts.map +1 -0
- package/dist/date-time-input.mjs +110 -0
- package/dist/date-time-input.mjs.map +1 -0
- package/dist/detail-panel-shell.d.mts +37 -0
- package/dist/detail-panel-shell.d.mts.map +1 -0
- package/dist/detail-panel-shell.mjs +86 -0
- package/dist/detail-panel-shell.mjs.map +1 -0
- package/dist/dialog.d.mts +105 -0
- package/dist/dialog.d.mts.map +1 -0
- package/dist/dialog.mjs +137 -0
- package/dist/dialog.mjs.map +1 -0
- package/dist/divider.d.mts +8 -0
- package/dist/divider.d.mts.map +1 -0
- package/dist/divider.mjs +18 -0
- package/dist/divider.mjs.map +1 -0
- package/dist/drawer.d.mts +26 -0
- package/dist/drawer.d.mts.map +1 -0
- package/dist/drawer.mjs +53 -0
- package/dist/drawer.mjs.map +1 -0
- package/dist/drawing-actions.d.mts +29 -0
- package/dist/drawing-actions.d.mts.map +1 -0
- package/dist/drawing-actions.mjs +124 -0
- package/dist/drawing-actions.mjs.map +1 -0
- package/dist/dropdown-menu.d.mts +31 -0
- package/dist/dropdown-menu.d.mts.map +1 -0
- package/dist/dropdown-menu.mjs +84 -0
- package/dist/dropdown-menu.mjs.map +1 -0
- package/dist/empty.d.mts +34 -0
- package/dist/empty.d.mts.map +1 -0
- package/dist/empty.mjs +119 -0
- package/dist/empty.mjs.map +1 -0
- package/dist/error-page.d.mts +20 -0
- package/dist/error-page.d.mts.map +1 -0
- package/dist/error-page.mjs +96 -0
- package/dist/error-page.mjs.map +1 -0
- package/dist/export-dialog.d.mts +58 -0
- package/dist/export-dialog.d.mts.map +1 -0
- package/dist/export-dialog.mjs +248 -0
- package/dist/export-dialog.mjs.map +1 -0
- package/dist/field.d.mts +11 -0
- package/dist/field.d.mts.map +1 -0
- package/dist/field.mjs +34 -0
- package/dist/field.mjs.map +1 -0
- package/dist/file-input.d.mts +17 -0
- package/dist/file-input.d.mts.map +1 -0
- package/dist/file-input.mjs +114 -0
- package/dist/file-input.mjs.map +1 -0
- package/dist/file-system/context.d.mts +28 -0
- package/dist/file-system/context.d.mts.map +1 -0
- package/dist/file-system/context.mjs +42 -0
- package/dist/file-system/context.mjs.map +1 -0
- package/dist/file-system/file-system-details.d.mts +12 -0
- package/dist/file-system/file-system-details.d.mts.map +1 -0
- package/dist/file-system/file-system-details.mjs +166 -0
- package/dist/file-system/file-system-details.mjs.map +1 -0
- package/dist/file-system/file-system-filters.d.mts +16 -0
- package/dist/file-system/file-system-filters.d.mts.map +1 -0
- package/dist/file-system/file-system-filters.mjs +205 -0
- package/dist/file-system/file-system-filters.mjs.map +1 -0
- package/dist/file-system/file-system-new.d.mts +16 -0
- package/dist/file-system/file-system-new.d.mts.map +1 -0
- package/dist/file-system/file-system-new.mjs +204 -0
- package/dist/file-system/file-system-new.mjs.map +1 -0
- package/dist/file-system/file-system-path.d.mts +7 -0
- package/dist/file-system/file-system-path.d.mts.map +1 -0
- package/dist/file-system/file-system-path.mjs +22 -0
- package/dist/file-system/file-system-path.mjs.map +1 -0
- package/dist/file-system/file-system-project.d.mts +16 -0
- package/dist/file-system/file-system-project.d.mts.map +1 -0
- package/dist/file-system/file-system-project.mjs +253 -0
- package/dist/file-system/file-system-project.mjs.map +1 -0
- package/dist/file-system/file-system-table.d.mts +17 -0
- package/dist/file-system/file-system-table.d.mts.map +1 -0
- package/dist/file-system/file-system-table.mjs +95 -0
- package/dist/file-system/file-system-table.mjs.map +1 -0
- package/dist/file-system/file-system.d.mts +35 -0
- package/dist/file-system/file-system.d.mts.map +1 -0
- package/dist/file-system/file-system.mjs +179 -0
- package/dist/file-system/file-system.mjs.map +1 -0
- package/dist/file-system/index.d.mts +9 -0
- package/dist/file-system/index.mjs +9 -0
- package/dist/file-system/model.d.mts +156 -0
- package/dist/file-system/model.d.mts.map +1 -0
- package/dist/file-system/model.mjs +200 -0
- package/dist/file-system/model.mjs.map +1 -0
- package/dist/filter.d.mts +92 -0
- package/dist/filter.d.mts.map +1 -0
- package/dist/filter.mjs +267 -0
- package/dist/filter.mjs.map +1 -0
- package/dist/float-shadow.d.mts +10 -0
- package/dist/float-shadow.d.mts.map +1 -0
- package/dist/float-shadow.mjs +11 -0
- package/dist/float-shadow.mjs.map +1 -0
- package/dist/floating-assistant.d.mts +75 -0
- package/dist/floating-assistant.d.mts.map +1 -0
- package/dist/floating-assistant.mjs +114 -0
- package/dist/floating-assistant.mjs.map +1 -0
- package/dist/floor-progress-bar.d.mts +17 -0
- package/dist/floor-progress-bar.d.mts.map +1 -0
- package/dist/floor-progress-bar.mjs +38 -0
- package/dist/floor-progress-bar.mjs.map +1 -0
- package/dist/fonts/LICENSE.md +41 -0
- package/dist/fonts/figtree-italic-300-900-latin-ext.woff2 +0 -0
- package/dist/fonts/figtree-italic-300-900-latin.woff2 +0 -0
- package/dist/fonts/figtree-normal-300-900-latin-ext.woff2 +0 -0
- package/dist/fonts/figtree-normal-300-900-latin.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-italic-400-latin-ext.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-italic-400-latin.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-normal-400-latin-ext.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-normal-400-latin.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-normal-500-latin-ext.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-normal-500-latin.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-normal-600-latin-ext.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-normal-600-latin.woff2 +0 -0
- package/dist/fonts/lora-italic-400-700-latin-ext.woff2 +0 -0
- package/dist/fonts/lora-italic-400-700-latin.woff2 +0 -0
- package/dist/fonts/lora-normal-400-700-latin-ext.woff2 +0 -0
- package/dist/fonts/lora-normal-400-700-latin.woff2 +0 -0
- package/dist/footprint-viewer.d.mts +88 -0
- package/dist/footprint-viewer.d.mts.map +1 -0
- package/dist/footprint-viewer.mjs +657 -0
- package/dist/footprint-viewer.mjs.map +1 -0
- package/dist/form-action-bar.d.mts +32 -0
- package/dist/form-action-bar.d.mts.map +1 -0
- package/dist/form-action-bar.mjs +42 -0
- package/dist/form-action-bar.mjs.map +1 -0
- package/dist/form-dialog.d.mts +116 -0
- package/dist/form-dialog.d.mts.map +1 -0
- package/dist/form-dialog.mjs +149 -0
- package/dist/form-dialog.mjs.map +1 -0
- package/dist/form-layout.d.mts +33 -0
- package/dist/form-layout.d.mts.map +1 -0
- package/dist/form-layout.mjs +90 -0
- package/dist/form-layout.mjs.map +1 -0
- package/dist/form.d.mts +29 -0
- package/dist/form.d.mts.map +1 -0
- package/dist/form.mjs +93 -0
- package/dist/form.mjs.map +1 -0
- package/dist/fragment-viewer/cinematic.d.mts +76 -0
- package/dist/fragment-viewer/cinematic.d.mts.map +1 -0
- package/dist/fragment-viewer/cinematic.mjs +382 -0
- package/dist/fragment-viewer/cinematic.mjs.map +1 -0
- package/dist/fragment-viewer/context.d.mts +106 -0
- package/dist/fragment-viewer/context.d.mts.map +1 -0
- package/dist/fragment-viewer/context.mjs +168 -0
- package/dist/fragment-viewer/context.mjs.map +1 -0
- package/dist/fragment-viewer/runtime.d.mts +288 -0
- package/dist/fragment-viewer/runtime.d.mts.map +1 -0
- package/dist/fragment-viewer/runtime.mjs +782 -0
- package/dist/fragment-viewer/runtime.mjs.map +1 -0
- package/dist/fragment-viewer.d.mts +62 -0
- package/dist/fragment-viewer.d.mts.map +1 -0
- package/dist/fragment-viewer.mjs +144 -0
- package/dist/fragment-viewer.mjs.map +1 -0
- package/dist/gantt.d.mts +72 -0
- package/dist/gantt.d.mts.map +1 -0
- package/dist/gantt.mjs +281 -0
- package/dist/gantt.mjs.map +1 -0
- package/dist/graph-canvas.d.mts +60 -0
- package/dist/graph-canvas.d.mts.map +1 -0
- package/dist/graph-canvas.mjs +105 -0
- package/dist/graph-canvas.mjs.map +1 -0
- package/dist/grid.d.mts +16 -0
- package/dist/grid.d.mts.map +1 -0
- package/dist/grid.mjs +47 -0
- package/dist/grid.mjs.map +1 -0
- package/dist/heading.d.mts +16 -0
- package/dist/heading.d.mts.map +1 -0
- package/dist/heading.mjs +43 -0
- package/dist/heading.mjs.map +1 -0
- package/dist/house-shape.d.mts +22 -0
- package/dist/house-shape.d.mts.map +1 -0
- package/dist/house-shape.mjs +103 -0
- package/dist/house-shape.mjs.map +1 -0
- package/dist/hover-card.d.mts +10 -0
- package/dist/hover-card.d.mts.map +1 -0
- package/dist/hover-card.mjs +22 -0
- package/dist/hover-card.mjs.map +1 -0
- package/dist/icon-button.d.mts +20 -0
- package/dist/icon-button.d.mts.map +1 -0
- package/dist/icon-button.mjs +52 -0
- package/dist/icon-button.mjs.map +1 -0
- package/dist/icon.d.mts +16 -0
- package/dist/icon.d.mts.map +1 -0
- package/dist/icon.mjs +32 -0
- package/dist/icon.mjs.map +1 -0
- package/dist/image-zoom.d.mts +23 -0
- package/dist/image-zoom.d.mts.map +1 -0
- package/dist/image-zoom.mjs +51 -0
- package/dist/image-zoom.mjs.map +1 -0
- package/dist/index.d.mts +3 -0
- package/dist/index.mjs +2 -0
- package/dist/inline-comment-composer.d.mts +40 -0
- package/dist/inline-comment-composer.d.mts.map +1 -0
- package/dist/inline-comment-composer.mjs +174 -0
- package/dist/inline-comment-composer.mjs.map +1 -0
- package/dist/input-group.d.mts +8 -0
- package/dist/input-group.d.mts.map +1 -0
- package/dist/input-group.mjs +21 -0
- package/dist/input-group.mjs.map +1 -0
- package/dist/input-otp.d.mts +40 -0
- package/dist/input-otp.d.mts.map +1 -0
- package/dist/input-otp.mjs +44 -0
- package/dist/input-otp.mjs.map +1 -0
- package/dist/input.d.mts +7 -0
- package/dist/input.d.mts.map +1 -0
- package/dist/input.mjs +18 -0
- package/dist/input.mjs.map +1 -0
- package/dist/item.d.mts +10 -0
- package/dist/item.d.mts.map +1 -0
- package/dist/item.mjs +33 -0
- package/dist/item.mjs.map +1 -0
- package/dist/kbd.d.mts +8 -0
- package/dist/kbd.d.mts.map +1 -0
- package/dist/kbd.mjs +15 -0
- package/dist/kbd.mjs.map +1 -0
- package/dist/kiosk-body.d.mts +13 -0
- package/dist/kiosk-body.d.mts.map +1 -0
- package/dist/kiosk-body.mjs +352 -0
- package/dist/kiosk-body.mjs.map +1 -0
- package/dist/kpi-bar.d.mts +29 -0
- package/dist/kpi-bar.d.mts.map +1 -0
- package/dist/kpi-bar.mjs +46 -0
- package/dist/kpi-bar.mjs.map +1 -0
- package/dist/kpi-summary.d.mts +24 -0
- package/dist/kpi-summary.d.mts.map +1 -0
- package/dist/kpi-summary.mjs +22 -0
- package/dist/kpi-summary.mjs.map +1 -0
- package/dist/label.d.mts +19 -0
- package/dist/label.d.mts.map +1 -0
- package/dist/label.mjs +27 -0
- package/dist/label.mjs.map +1 -0
- package/dist/legend.d.mts +87 -0
- package/dist/legend.d.mts.map +1 -0
- package/dist/legend.mjs +210 -0
- package/dist/legend.mjs.map +1 -0
- package/dist/lightbox.d.mts +28 -0
- package/dist/lightbox.d.mts.map +1 -0
- package/dist/lightbox.mjs +142 -0
- package/dist/lightbox.mjs.map +1 -0
- package/dist/link-type-detail.d.mts +73 -0
- package/dist/link-type-detail.d.mts.map +1 -0
- package/dist/link-type-detail.mjs +628 -0
- package/dist/link-type-detail.mjs.map +1 -0
- package/dist/link-type-wizard.d.mts +35 -0
- package/dist/link-type-wizard.d.mts.map +1 -0
- package/dist/link-type-wizard.mjs +303 -0
- package/dist/link-type-wizard.mjs.map +1 -0
- package/dist/link.d.mts +14 -0
- package/dist/link.d.mts.map +1 -0
- package/dist/link.mjs +30 -0
- package/dist/link.mjs.map +1 -0
- package/dist/list.d.mts +19 -0
- package/dist/list.d.mts.map +1 -0
- package/dist/list.mjs +27 -0
- package/dist/list.mjs.map +1 -0
- package/dist/map-compare-layout.d.mts +53 -0
- package/dist/map-compare-layout.d.mts.map +1 -0
- package/dist/map-compare-layout.mjs +164 -0
- package/dist/map-compare-layout.mjs.map +1 -0
- package/dist/map-compass.d.mts +22 -0
- package/dist/map-compass.d.mts.map +1 -0
- package/dist/map-compass.mjs +56 -0
- package/dist/map-compass.mjs.map +1 -0
- package/dist/map-control-panel.d.mts +92 -0
- package/dist/map-control-panel.d.mts.map +1 -0
- package/dist/map-control-panel.mjs +153 -0
- package/dist/map-control-panel.mjs.map +1 -0
- package/dist/map-controls.d.mts +24 -0
- package/dist/map-controls.d.mts.map +1 -0
- package/dist/map-controls.mjs +322 -0
- package/dist/map-controls.mjs.map +1 -0
- package/dist/map-hover-card.d.mts +28 -0
- package/dist/map-hover-card.d.mts.map +1 -0
- package/dist/map-hover-card.mjs +56 -0
- package/dist/map-hover-card.mjs.map +1 -0
- package/dist/map-legend.d.mts +41 -0
- package/dist/map-legend.d.mts.map +1 -0
- package/dist/map-legend.mjs +97 -0
- package/dist/map-legend.mjs.map +1 -0
- package/dist/map-minimap.d.mts +44 -0
- package/dist/map-minimap.d.mts.map +1 -0
- package/dist/map-minimap.mjs +108 -0
- package/dist/map-minimap.mjs.map +1 -0
- package/dist/map-toolbar.d.mts +60 -0
- package/dist/map-toolbar.d.mts.map +1 -0
- package/dist/map-toolbar.mjs +195 -0
- package/dist/map-toolbar.mjs.map +1 -0
- package/dist/map-transition.d.mts +51 -0
- package/dist/map-transition.d.mts.map +1 -0
- package/dist/map-transition.mjs +59 -0
- package/dist/map-transition.mjs.map +1 -0
- package/dist/map.d.mts +14 -0
- package/dist/map.d.mts.map +1 -0
- package/dist/map.mjs +47 -0
- package/dist/map.mjs.map +1 -0
- package/dist/mapbox-token.d.mts +12 -0
- package/dist/mapbox-token.d.mts.map +1 -0
- package/dist/mapbox-token.mjs +15 -0
- package/dist/mapbox-token.mjs.map +1 -0
- package/dist/markdown.d.mts +18 -0
- package/dist/markdown.d.mts.map +1 -0
- package/dist/markdown.mjs +41 -0
- package/dist/markdown.mjs.map +1 -0
- package/dist/mega-menu.d.mts +36 -0
- package/dist/mega-menu.d.mts.map +1 -0
- package/dist/mega-menu.mjs +89 -0
- package/dist/mega-menu.mjs.map +1 -0
- package/dist/menubar.d.mts +32 -0
- package/dist/menubar.d.mts.map +1 -0
- package/dist/menubar.mjs +96 -0
- package/dist/menubar.mjs.map +1 -0
- package/dist/metadata-list.d.mts +2 -0
- package/dist/metadata-list.mjs +2 -0
- package/dist/metric-card.d.mts +28 -0
- package/dist/metric-card.d.mts.map +1 -0
- package/dist/metric-card.mjs +55 -0
- package/dist/metric-card.mjs.map +1 -0
- package/dist/milestone-table.d.mts +35 -0
- package/dist/milestone-table.d.mts.map +1 -0
- package/dist/milestone-table.mjs +84 -0
- package/dist/milestone-table.mjs.map +1 -0
- package/dist/minimap.d.mts +23 -0
- package/dist/minimap.d.mts.map +1 -0
- package/dist/minimap.mjs +64 -0
- package/dist/minimap.mjs.map +1 -0
- package/dist/more-menu.d.mts +27 -0
- package/dist/more-menu.d.mts.map +1 -0
- package/dist/more-menu.mjs +34 -0
- package/dist/more-menu.mjs.map +1 -0
- package/dist/multi-select.d.mts +38 -0
- package/dist/multi-select.d.mts.map +1 -0
- package/dist/multi-select.mjs +106 -0
- package/dist/multi-select.mjs.map +1 -0
- package/dist/navigation/core-app-sidebar.d.mts +461 -0
- package/dist/navigation/core-app-sidebar.d.mts.map +1 -0
- package/dist/navigation/core-app-sidebar.mjs +1288 -0
- package/dist/navigation/core-app-sidebar.mjs.map +1 -0
- package/dist/navigation/core-app-top-bar.d.mts +116 -0
- package/dist/navigation/core-app-top-bar.d.mts.map +1 -0
- package/dist/navigation/core-app-top-bar.mjs +224 -0
- package/dist/navigation/core-app-top-bar.mjs.map +1 -0
- package/dist/navigation/core-context-tabs.d.mts +12 -0
- package/dist/navigation/core-context-tabs.d.mts.map +1 -0
- package/dist/navigation/core-context-tabs.mjs +32 -0
- package/dist/navigation/core-context-tabs.mjs.map +1 -0
- package/dist/navigation/core-dashboard-header.d.mts +20 -0
- package/dist/navigation/core-dashboard-header.d.mts.map +1 -0
- package/dist/navigation/core-dashboard-header.mjs +227 -0
- package/dist/navigation/core-dashboard-header.mjs.map +1 -0
- package/dist/navigation/core-filter-strip.d.mts +12 -0
- package/dist/navigation/core-filter-strip.d.mts.map +1 -0
- package/dist/navigation/core-filter-strip.mjs +289 -0
- package/dist/navigation/core-filter-strip.mjs.map +1 -0
- package/dist/navigation/core-org-project-switcher.d.mts +12 -0
- package/dist/navigation/core-org-project-switcher.d.mts.map +1 -0
- package/dist/navigation/core-org-project-switcher.mjs +201 -0
- package/dist/navigation/core-org-project-switcher.mjs.map +1 -0
- package/dist/navigation/switcher.d.mts +38 -0
- package/dist/navigation/switcher.d.mts.map +1 -0
- package/dist/navigation/switcher.mjs +144 -0
- package/dist/navigation/switcher.mjs.map +1 -0
- package/dist/navigation-menu.d.mts +16 -0
- package/dist/navigation-menu.d.mts.map +1 -0
- package/dist/navigation-menu.mjs +64 -0
- package/dist/navigation-menu.mjs.map +1 -0
- package/dist/neighborhood-scene.d.mts +21 -0
- package/dist/neighborhood-scene.d.mts.map +1 -0
- package/dist/neighborhood-scene.mjs +285 -0
- package/dist/neighborhood-scene.mjs.map +1 -0
- package/dist/node-graph.d.mts +154 -0
- package/dist/node-graph.d.mts.map +1 -0
- package/dist/node-graph.mjs +349 -0
- package/dist/node-graph.mjs.map +1 -0
- package/dist/notification-center.d.mts +40 -0
- package/dist/notification-center.d.mts.map +1 -0
- package/dist/notification-center.mjs +224 -0
- package/dist/notification-center.mjs.map +1 -0
- package/dist/number-input.d.mts +23 -0
- package/dist/number-input.d.mts.map +1 -0
- package/dist/number-input.mjs +79 -0
- package/dist/number-input.mjs.map +1 -0
- package/dist/object-drawing-toolbar.d.mts +38 -0
- package/dist/object-drawing-toolbar.d.mts.map +1 -0
- package/dist/object-drawing-toolbar.mjs +172 -0
- package/dist/object-drawing-toolbar.mjs.map +1 -0
- package/dist/object-type-detail.d.mts +27 -0
- package/dist/object-type-detail.d.mts.map +1 -0
- package/dist/object-type-detail.mjs +1389 -0
- package/dist/object-type-detail.mjs.map +1 -0
- package/dist/object-type-wizard.d.mts +78 -0
- package/dist/object-type-wizard.d.mts.map +1 -0
- package/dist/object-type-wizard.mjs +885 -0
- package/dist/object-type-wizard.mjs.map +1 -0
- package/dist/observation-detail-panel.d.mts +89 -0
- package/dist/observation-detail-panel.d.mts.map +1 -0
- package/dist/observation-detail-panel.mjs +168 -0
- package/dist/observation-detail-panel.mjs.map +1 -0
- package/dist/observations-map.d.mts +288 -0
- package/dist/observations-map.d.mts.map +1 -0
- package/dist/observations-map.mjs +1087 -0
- package/dist/observations-map.mjs.map +1 -0
- package/dist/operations-drawer.d.mts +51 -0
- package/dist/operations-drawer.d.mts.map +1 -0
- package/dist/operations-drawer.mjs +193 -0
- package/dist/operations-drawer.mjs.map +1 -0
- package/dist/outline.d.mts +27 -0
- package/dist/outline.d.mts.map +1 -0
- package/dist/outline.mjs +47 -0
- package/dist/outline.mjs.map +1 -0
- package/dist/overflow-list.d.mts +23 -0
- package/dist/overflow-list.d.mts.map +1 -0
- package/dist/overflow-list.mjs +38 -0
- package/dist/overflow-list.mjs.map +1 -0
- package/dist/overlay.d.mts +17 -0
- package/dist/overlay.d.mts.map +1 -0
- package/dist/overlay.mjs +32 -0
- package/dist/overlay.mjs.map +1 -0
- package/dist/page-content-header.d.mts +43 -0
- package/dist/page-content-header.d.mts.map +1 -0
- package/dist/page-content-header.mjs +224 -0
- package/dist/page-content-header.mjs.map +1 -0
- package/dist/pages/almanar-blocks-data.d.mts +4 -0
- package/dist/pages/almanar-blocks-data.d.mts.map +1 -0
- package/dist/pages/almanar-blocks-data.mjs +691 -0
- package/dist/pages/almanar-blocks-data.mjs.map +1 -0
- package/dist/pages/almanar-hierarchy-data.d.mts +9 -0
- package/dist/pages/almanar-hierarchy-data.d.mts.map +1 -0
- package/dist/pages/almanar-hierarchy-data.mjs +816 -0
- package/dist/pages/almanar-hierarchy-data.mjs.map +1 -0
- package/dist/pages/almanar-villa-taxonomy.d.mts +9 -0
- package/dist/pages/almanar-villa-taxonomy.d.mts.map +1 -0
- package/dist/pages/almanar-villa-taxonomy.mjs +1569 -0
- package/dist/pages/almanar-villa-taxonomy.mjs.map +1 -0
- package/dist/pages/app-marketplace-shared.d.mts +146 -0
- package/dist/pages/app-marketplace-shared.d.mts.map +1 -0
- package/dist/pages/app-marketplace-shared.mjs +739 -0
- package/dist/pages/app-marketplace-shared.mjs.map +1 -0
- package/dist/pages/capture-ui-enhanced.d.mts +125 -0
- package/dist/pages/capture-ui-enhanced.d.mts.map +1 -0
- package/dist/pages/capture-ui-enhanced.mjs +915 -0
- package/dist/pages/capture-ui-enhanced.mjs.map +1 -0
- package/dist/pages/core-admin-panel.d.mts +10 -0
- package/dist/pages/core-admin-panel.d.mts.map +1 -0
- package/dist/pages/core-admin-panel.mjs +3076 -0
- package/dist/pages/core-admin-panel.mjs.map +1 -0
- package/dist/pages/core-analytics-overview.d.mts +10 -0
- package/dist/pages/core-analytics-overview.d.mts.map +1 -0
- package/dist/pages/core-analytics-overview.mjs +904 -0
- package/dist/pages/core-analytics-overview.mjs.map +1 -0
- package/dist/pages/core-app-installer.d.mts +17 -0
- package/dist/pages/core-app-installer.d.mts.map +1 -0
- package/dist/pages/core-app-installer.mjs +94 -0
- package/dist/pages/core-app-installer.mjs.map +1 -0
- package/dist/pages/core-blueprint-viewer-3.d.mts +25 -0
- package/dist/pages/core-blueprint-viewer-3.d.mts.map +1 -0
- package/dist/pages/core-blueprint-viewer-3.mjs +688 -0
- package/dist/pages/core-blueprint-viewer-3.mjs.map +1 -0
- package/dist/pages/core-blueprint-viewer.d.mts +14 -0
- package/dist/pages/core-blueprint-viewer.d.mts.map +1 -0
- package/dist/pages/core-blueprint-viewer.mjs +665 -0
- package/dist/pages/core-blueprint-viewer.mjs.map +1 -0
- package/dist/pages/core-building-viewer-capture.d.mts +18 -0
- package/dist/pages/core-building-viewer-capture.d.mts.map +1 -0
- package/dist/pages/core-building-viewer-capture.mjs +268 -0
- package/dist/pages/core-building-viewer-capture.mjs.map +1 -0
- package/dist/pages/core-building-viewer.d.mts +20 -0
- package/dist/pages/core-building-viewer.d.mts.map +1 -0
- package/dist/pages/core-building-viewer.mjs +299 -0
- package/dist/pages/core-building-viewer.mjs.map +1 -0
- package/dist/pages/core-clinic.d.mts +14 -0
- package/dist/pages/core-clinic.d.mts.map +1 -0
- package/dist/pages/core-clinic.mjs +2175 -0
- package/dist/pages/core-clinic.mjs.map +1 -0
- package/dist/pages/core-content-area.d.mts +15 -0
- package/dist/pages/core-content-area.d.mts.map +1 -0
- package/dist/pages/core-content-area.mjs +192 -0
- package/dist/pages/core-content-area.mjs.map +1 -0
- package/dist/pages/core-core-connect-v3.d.mts +16 -0
- package/dist/pages/core-core-connect-v3.d.mts.map +1 -0
- package/dist/pages/core-core-connect-v3.mjs +30 -0
- package/dist/pages/core-core-connect-v3.mjs.map +1 -0
- package/dist/pages/core-core-connect.d.mts +15 -0
- package/dist/pages/core-core-connect.d.mts.map +1 -0
- package/dist/pages/core-core-connect.mjs +21 -0
- package/dist/pages/core-core-connect.mjs.map +1 -0
- package/dist/pages/core-design-canvas.d.mts +10 -0
- package/dist/pages/core-design-canvas.d.mts.map +1 -0
- package/dist/pages/core-design-canvas.mjs +322 -0
- package/dist/pages/core-design-canvas.mjs.map +1 -0
- package/dist/pages/core-login-page.d.mts +8 -0
- package/dist/pages/core-login-page.d.mts.map +1 -0
- package/dist/pages/core-login-page.mjs +141 -0
- package/dist/pages/core-login-page.mjs.map +1 -0
- package/dist/pages/core-map-compare-layout.d.mts +20 -0
- package/dist/pages/core-map-compare-layout.d.mts.map +1 -0
- package/dist/pages/core-map-compare-layout.mjs +187 -0
- package/dist/pages/core-map-compare-layout.mjs.map +1 -0
- package/dist/pages/core-observations-map-view.d.mts +19 -0
- package/dist/pages/core-observations-map-view.d.mts.map +1 -0
- package/dist/pages/core-observations-map-view.mjs +1273 -0
- package/dist/pages/core-observations-map-view.mjs.map +1 -0
- package/dist/pages/core-org-ai-report.d.mts +9 -0
- package/dist/pages/core-org-ai-report.d.mts.map +1 -0
- package/dist/pages/core-org-ai-report.mjs +474 -0
- package/dist/pages/core-org-ai-report.mjs.map +1 -0
- package/dist/pages/core-org-overview.d.mts +11 -0
- package/dist/pages/core-org-overview.d.mts.map +1 -0
- package/dist/pages/core-org-overview.mjs +718 -0
- package/dist/pages/core-org-overview.mjs.map +1 -0
- package/dist/pages/core-org-performance.d.mts +11 -0
- package/dist/pages/core-org-performance.d.mts.map +1 -0
- package/dist/pages/core-org-performance.mjs +1398 -0
- package/dist/pages/core-org-performance.mjs.map +1 -0
- package/dist/pages/core-org-reality-capture.d.mts +10 -0
- package/dist/pages/core-org-reality-capture.d.mts.map +1 -0
- package/dist/pages/core-org-reality-capture.mjs +1962 -0
- package/dist/pages/core-org-reality-capture.mjs.map +1 -0
- package/dist/pages/core-org-workforce-intelligence.d.mts +12 -0
- package/dist/pages/core-org-workforce-intelligence.d.mts.map +1 -0
- package/dist/pages/core-org-workforce-intelligence.mjs +1215 -0
- package/dist/pages/core-org-workforce-intelligence.mjs.map +1 -0
- package/dist/pages/core-progress-details.d.mts +10 -0
- package/dist/pages/core-progress-details.d.mts.map +1 -0
- package/dist/pages/core-progress-details.mjs +758 -0
- package/dist/pages/core-progress-details.mjs.map +1 -0
- package/dist/pages/core-project-overview.d.mts +9 -0
- package/dist/pages/core-project-overview.d.mts.map +1 -0
- package/dist/pages/core-project-overview.mjs +246 -0
- package/dist/pages/core-project-overview.mjs.map +1 -0
- package/dist/pages/core-project-quality-issues.d.mts +9 -0
- package/dist/pages/core-project-quality-issues.d.mts.map +1 -0
- package/dist/pages/core-project-quality-issues.mjs +508 -0
- package/dist/pages/core-project-quality-issues.mjs.map +1 -0
- package/dist/pages/core-project-reality-capture.d.mts +9 -0
- package/dist/pages/core-project-reality-capture.d.mts.map +1 -0
- package/dist/pages/core-project-reality-capture.mjs +496 -0
- package/dist/pages/core-project-reality-capture.mjs.map +1 -0
- package/dist/pages/core-project-schedule-cost.d.mts +9 -0
- package/dist/pages/core-project-schedule-cost.d.mts.map +1 -0
- package/dist/pages/core-project-schedule-cost.mjs +548 -0
- package/dist/pages/core-project-schedule-cost.mjs.map +1 -0
- package/dist/pages/core-project-setup.d.mts +10 -0
- package/dist/pages/core-project-setup.d.mts.map +1 -0
- package/dist/pages/core-project-setup.mjs +283 -0
- package/dist/pages/core-project-setup.mjs.map +1 -0
- package/dist/pages/core-project-workforce-safety.d.mts +9 -0
- package/dist/pages/core-project-workforce-safety.d.mts.map +1 -0
- package/dist/pages/core-project-workforce-safety.mjs +465 -0
- package/dist/pages/core-project-workforce-safety.mjs.map +1 -0
- package/dist/pages/core-safety-manager.d.mts +14 -0
- package/dist/pages/core-safety-manager.d.mts.map +1 -0
- package/dist/pages/core-safety-manager.mjs +3081 -0
- package/dist/pages/core-safety-manager.mjs.map +1 -0
- package/dist/pages/core-site-reality.d.mts +25 -0
- package/dist/pages/core-site-reality.d.mts.map +1 -0
- package/dist/pages/core-site-reality.mjs +505 -0
- package/dist/pages/core-site-reality.mjs.map +1 -0
- package/dist/pages/core-task-monitor.d.mts +4 -0
- package/dist/pages/core-task-monitor.d.mts.map +1 -0
- package/dist/pages/core-task-monitor.mjs +587 -0
- package/dist/pages/core-task-monitor.mjs.map +1 -0
- package/dist/pages/core-timesheet.d.mts +2 -0
- package/dist/pages/core-timesheet.mjs +2 -0
- package/dist/pages/core-verifytime-command-center.d.mts +4 -0
- package/dist/pages/core-verifytime-command-center.d.mts.map +1 -0
- package/dist/pages/core-verifytime-command-center.mjs +1089 -0
- package/dist/pages/core-verifytime-command-center.mjs.map +1 -0
- package/dist/pages/core-wc3-workspace.d.mts +71 -0
- package/dist/pages/core-wc3-workspace.d.mts.map +1 -0
- package/dist/pages/core-wc3-workspace.mjs +1015 -0
- package/dist/pages/core-wc3-workspace.mjs.map +1 -0
- package/dist/pages/core-work-permit.d.mts +14 -0
- package/dist/pages/core-work-permit.d.mts.map +1 -0
- package/dist/pages/core-work-permit.mjs +281 -0
- package/dist/pages/core-work-permit.mjs.map +1 -0
- package/dist/pages/core-workforce.d.mts +24 -0
- package/dist/pages/core-workforce.d.mts.map +1 -0
- package/dist/pages/core-workforce.mjs +1253 -0
- package/dist/pages/core-workforce.mjs.map +1 -0
- package/dist/pages/org-logos.d.mts +9 -0
- package/dist/pages/org-logos.d.mts.map +1 -0
- package/dist/pages/org-logos.mjs +11 -0
- package/dist/pages/org-logos.mjs.map +1 -0
- package/dist/pages/state-machine-fixtures.d.mts +34 -0
- package/dist/pages/state-machine-fixtures.d.mts.map +1 -0
- package/dist/pages/state-machine-fixtures.mjs +73 -0
- package/dist/pages/state-machine-fixtures.mjs.map +1 -0
- package/dist/pages/state-machine.d.mts +407 -0
- package/dist/pages/state-machine.d.mts.map +1 -0
- package/dist/pages/state-machine.mjs +2254 -0
- package/dist/pages/state-machine.mjs.map +1 -0
- package/dist/pages/typeform/AttachmentInput.d.mts +11 -0
- package/dist/pages/typeform/AttachmentInput.d.mts.map +1 -0
- package/dist/pages/typeform/AttachmentInput.mjs +59 -0
- package/dist/pages/typeform/AttachmentInput.mjs.map +1 -0
- package/dist/pages/typeform/BuildMethodScreen.d.mts +10 -0
- package/dist/pages/typeform/BuildMethodScreen.d.mts.map +1 -0
- package/dist/pages/typeform/BuildMethodScreen.mjs +176 -0
- package/dist/pages/typeform/BuildMethodScreen.mjs.map +1 -0
- package/dist/pages/typeform/BuilderFlow.d.mts +29 -0
- package/dist/pages/typeform/BuilderFlow.d.mts.map +1 -0
- package/dist/pages/typeform/BuilderFlow.mjs +111 -0
- package/dist/pages/typeform/BuilderFlow.mjs.map +1 -0
- package/dist/pages/typeform/BuilderScreen.d.mts +14 -0
- package/dist/pages/typeform/BuilderScreen.d.mts.map +1 -0
- package/dist/pages/typeform/BuilderScreen.mjs +668 -0
- package/dist/pages/typeform/BuilderScreen.mjs.map +1 -0
- package/dist/pages/typeform/DataSourceSelect.d.mts +13 -0
- package/dist/pages/typeform/DataSourceSelect.d.mts.map +1 -0
- package/dist/pages/typeform/DataSourceSelect.mjs +36 -0
- package/dist/pages/typeform/DataSourceSelect.mjs.map +1 -0
- package/dist/pages/typeform/DerivedCountDisplay.d.mts +10 -0
- package/dist/pages/typeform/DerivedCountDisplay.d.mts.map +1 -0
- package/dist/pages/typeform/DerivedCountDisplay.mjs +20 -0
- package/dist/pages/typeform/DerivedCountDisplay.mjs.map +1 -0
- package/dist/pages/typeform/FillerRJSF.d.mts +10 -0
- package/dist/pages/typeform/FillerRJSF.d.mts.map +1 -0
- package/dist/pages/typeform/FillerRJSF.mjs +314 -0
- package/dist/pages/typeform/FillerRJSF.mjs.map +1 -0
- package/dist/pages/typeform/FormBuilderWidgetRJSF.d.mts +9 -0
- package/dist/pages/typeform/FormBuilderWidgetRJSF.d.mts.map +1 -0
- package/dist/pages/typeform/FormBuilderWidgetRJSF.mjs +22 -0
- package/dist/pages/typeform/FormBuilderWidgetRJSF.mjs.map +1 -0
- package/dist/pages/typeform/PublishScreen.d.mts +18 -0
- package/dist/pages/typeform/PublishScreen.d.mts.map +1 -0
- package/dist/pages/typeform/PublishScreen.mjs +163 -0
- package/dist/pages/typeform/PublishScreen.mjs.map +1 -0
- package/dist/pages/typeform/QuestionInspector.d.mts +7 -0
- package/dist/pages/typeform/QuestionInspector.d.mts.map +1 -0
- package/dist/pages/typeform/QuestionInspector.mjs +749 -0
- package/dist/pages/typeform/QuestionInspector.mjs.map +1 -0
- package/dist/pages/typeform/QuestionRenderer.d.mts +23 -0
- package/dist/pages/typeform/QuestionRenderer.d.mts.map +1 -0
- package/dist/pages/typeform/QuestionRenderer.mjs +170 -0
- package/dist/pages/typeform/QuestionRenderer.mjs.map +1 -0
- package/dist/pages/typeform/RatingInput.d.mts +14 -0
- package/dist/pages/typeform/RatingInput.d.mts.map +1 -0
- package/dist/pages/typeform/RatingInput.mjs +58 -0
- package/dist/pages/typeform/RatingInput.mjs.map +1 -0
- package/dist/pages/typeform/RuleGroupEditor.d.mts +9 -0
- package/dist/pages/typeform/RuleGroupEditor.d.mts.map +1 -0
- package/dist/pages/typeform/RuleGroupEditor.mjs +183 -0
- package/dist/pages/typeform/RuleGroupEditor.mjs.map +1 -0
- package/dist/pages/typeform/SignaturePad.d.mts +11 -0
- package/dist/pages/typeform/SignaturePad.d.mts.map +1 -0
- package/dist/pages/typeform/SignaturePad.mjs +111 -0
- package/dist/pages/typeform/SignaturePad.mjs.map +1 -0
- package/dist/pages/typeform/TableInput.d.mts +15 -0
- package/dist/pages/typeform/TableInput.d.mts.map +1 -0
- package/dist/pages/typeform/TableInput.mjs +73 -0
- package/dist/pages/typeform/TableInput.mjs.map +1 -0
- package/dist/pages/typeform/WorkspaceScreen.d.mts +20 -0
- package/dist/pages/typeform/WorkspaceScreen.d.mts.map +1 -0
- package/dist/pages/typeform/WorkspaceScreen.mjs +158 -0
- package/dist/pages/typeform/WorkspaceScreen.mjs.map +1 -0
- package/dist/pages/typeform/coreRjsfTheme.d.mts +4 -0
- package/dist/pages/typeform/coreRjsfTheme.d.mts.map +1 -0
- package/dist/pages/typeform/coreRjsfTheme.mjs +142 -0
- package/dist/pages/typeform/coreRjsfTheme.mjs.map +1 -0
- package/dist/pages/typeform/dataSources.d.mts +35 -0
- package/dist/pages/typeform/dataSources.d.mts.map +1 -0
- package/dist/pages/typeform/dataSources.mjs +210 -0
- package/dist/pages/typeform/dataSources.mjs.map +1 -0
- package/dist/pages/typeform/fillerShared.d.mts +21 -0
- package/dist/pages/typeform/fillerShared.d.mts.map +1 -0
- package/dist/pages/typeform/fillerShared.mjs +112 -0
- package/dist/pages/typeform/fillerShared.mjs.map +1 -0
- package/dist/pages/typeform/logic.d.mts +46 -0
- package/dist/pages/typeform/logic.d.mts.map +1 -0
- package/dist/pages/typeform/logic.mjs +193 -0
- package/dist/pages/typeform/logic.mjs.map +1 -0
- package/dist/pages/typeform/model.d.mts +144 -0
- package/dist/pages/typeform/model.d.mts.map +1 -0
- package/dist/pages/typeform/model.mjs +328 -0
- package/dist/pages/typeform/model.mjs.map +1 -0
- package/dist/pages/typeform/schemaToJsonSchema.d.mts +9 -0
- package/dist/pages/typeform/schemaToJsonSchema.d.mts.map +1 -0
- package/dist/pages/typeform/schemaToJsonSchema.mjs +119 -0
- package/dist/pages/typeform/schemaToJsonSchema.mjs.map +1 -0
- package/dist/pages/typeform/useFormBuilder.d.mts +34 -0
- package/dist/pages/typeform/useFormBuilder.d.mts.map +1 -0
- package/dist/pages/typeform/useFormBuilder.mjs +389 -0
- package/dist/pages/typeform/useFormBuilder.mjs.map +1 -0
- package/dist/pages/view-mode-thumbs.d.mts +6 -0
- package/dist/pages/view-mode-thumbs.d.mts.map +1 -0
- package/dist/pages/view-mode-thumbs.mjs +8 -0
- package/dist/pages/view-mode-thumbs.mjs.map +1 -0
- package/dist/pages/wc3-action-type-detail.d.mts +166 -0
- package/dist/pages/wc3-action-type-detail.d.mts.map +1 -0
- package/dist/pages/wc3-action-type-detail.mjs +2182 -0
- package/dist/pages/wc3-action-type-detail.mjs.map +1 -0
- package/dist/pages/wc3-action-type-run-dialog.d.mts +23 -0
- package/dist/pages/wc3-action-type-run-dialog.d.mts.map +1 -0
- package/dist/pages/wc3-action-type-run-dialog.mjs +383 -0
- package/dist/pages/wc3-action-type-run-dialog.mjs.map +1 -0
- package/dist/pages/wc3-action-type-wizard.d.mts +75 -0
- package/dist/pages/wc3-action-type-wizard.d.mts.map +1 -0
- package/dist/pages/wc3-action-type-wizard.mjs +702 -0
- package/dist/pages/wc3-action-type-wizard.mjs.map +1 -0
- package/dist/pages/wc3-analysis-data-view.d.mts +15 -0
- package/dist/pages/wc3-analysis-data-view.d.mts.map +1 -0
- package/dist/pages/wc3-analysis-data-view.mjs +129 -0
- package/dist/pages/wc3-analysis-data-view.mjs.map +1 -0
- package/dist/pages/wc3-analysis-data.d.mts +181 -0
- package/dist/pages/wc3-analysis-data.d.mts.map +1 -0
- package/dist/pages/wc3-analysis-data.mjs +4074 -0
- package/dist/pages/wc3-analysis-data.mjs.map +1 -0
- package/dist/pages/wc3-analysis-object-view.d.mts +12 -0
- package/dist/pages/wc3-analysis-object-view.d.mts.map +1 -0
- package/dist/pages/wc3-analysis-object-view.mjs +196 -0
- package/dist/pages/wc3-analysis-object-view.mjs.map +1 -0
- package/dist/pages/wc3-analysis-saved-view.d.mts +6 -0
- package/dist/pages/wc3-analysis-saved-view.d.mts.map +1 -0
- package/dist/pages/wc3-analysis-saved-view.mjs +540 -0
- package/dist/pages/wc3-analysis-saved-view.mjs.map +1 -0
- package/dist/pages/wc3-analysis-shared.d.mts +346 -0
- package/dist/pages/wc3-analysis-shared.d.mts.map +1 -0
- package/dist/pages/wc3-analysis-shared.mjs +1119 -0
- package/dist/pages/wc3-analysis-shared.mjs.map +1 -0
- package/dist/pages/wc3-analysis-views.d.mts +25 -0
- package/dist/pages/wc3-analysis-views.d.mts.map +1 -0
- package/dist/pages/wc3-analysis-views.mjs +48 -0
- package/dist/pages/wc3-analysis-views.mjs.map +1 -0
- package/dist/pages/wc3-fs-data.d.mts +12 -0
- package/dist/pages/wc3-fs-data.d.mts.map +1 -0
- package/dist/pages/wc3-fs-data.mjs +745 -0
- package/dist/pages/wc3-fs-data.mjs.map +1 -0
- package/dist/pages/wc3-fs-location-field.d.mts +13 -0
- package/dist/pages/wc3-fs-location-field.d.mts.map +1 -0
- package/dist/pages/wc3-fs-location-field.mjs +56 -0
- package/dist/pages/wc3-fs-location-field.mjs.map +1 -0
- package/dist/pages/wc3-fs-path-label.d.mts +12 -0
- package/dist/pages/wc3-fs-path-label.d.mts.map +1 -0
- package/dist/pages/wc3-fs-path-label.mjs +36 -0
- package/dist/pages/wc3-fs-path-label.mjs.map +1 -0
- package/dist/pages/wc3-fs-records.d.mts +17 -0
- package/dist/pages/wc3-fs-records.d.mts.map +1 -0
- package/dist/pages/wc3-fs-records.mjs +107 -0
- package/dist/pages/wc3-fs-records.mjs.map +1 -0
- package/dist/pages/wc3-fs-store.d.mts +43 -0
- package/dist/pages/wc3-fs-store.d.mts.map +1 -0
- package/dist/pages/wc3-fs-store.mjs +81 -0
- package/dist/pages/wc3-fs-store.mjs.map +1 -0
- package/dist/pages/wc3-fs-types.d.mts +19 -0
- package/dist/pages/wc3-fs-types.d.mts.map +1 -0
- package/dist/pages/wc3-fs-types.mjs +66 -0
- package/dist/pages/wc3-fs-types.mjs.map +1 -0
- package/dist/pages/wc3-graph-explorer-flow.d.mts +14 -0
- package/dist/pages/wc3-graph-explorer-flow.d.mts.map +1 -0
- package/dist/pages/wc3-graph-explorer-flow.mjs +275 -0
- package/dist/pages/wc3-graph-explorer-flow.mjs.map +1 -0
- package/dist/pages/wc3-group-detail.d.mts +26 -0
- package/dist/pages/wc3-group-detail.d.mts.map +1 -0
- package/dist/pages/wc3-group-detail.mjs +358 -0
- package/dist/pages/wc3-group-detail.mjs.map +1 -0
- package/dist/pages/wc3-group-wizard.d.mts +28 -0
- package/dist/pages/wc3-group-wizard.d.mts.map +1 -0
- package/dist/pages/wc3-group-wizard.mjs +120 -0
- package/dist/pages/wc3-group-wizard.mjs.map +1 -0
- package/dist/pages/wc3-health-view.d.mts +34 -0
- package/dist/pages/wc3-health-view.d.mts.map +1 -0
- package/dist/pages/wc3-health-view.mjs +413 -0
- package/dist/pages/wc3-health-view.mjs.map +1 -0
- package/dist/pages/wc3-home-view.d.mts +24 -0
- package/dist/pages/wc3-home-view.d.mts.map +1 -0
- package/dist/pages/wc3-home-view.mjs +59 -0
- package/dist/pages/wc3-home-view.mjs.map +1 -0
- package/dist/pages/wc3-interface-detail.d.mts +66 -0
- package/dist/pages/wc3-interface-detail.d.mts.map +1 -0
- package/dist/pages/wc3-interface-detail.mjs +1060 -0
- package/dist/pages/wc3-interface-detail.mjs.map +1 -0
- package/dist/pages/wc3-interface-wizard.d.mts +39 -0
- package/dist/pages/wc3-interface-wizard.d.mts.map +1 -0
- package/dist/pages/wc3-interface-wizard.mjs +226 -0
- package/dist/pages/wc3-interface-wizard.mjs.map +1 -0
- package/dist/pages/wc3-lineage-data-view.d.mts +6 -0
- package/dist/pages/wc3-lineage-data-view.d.mts.map +1 -0
- package/dist/pages/wc3-lineage-data-view.mjs +481 -0
- package/dist/pages/wc3-lineage-data-view.mjs.map +1 -0
- package/dist/pages/wc3-lineage-data.d.mts +191 -0
- package/dist/pages/wc3-lineage-data.d.mts.map +1 -0
- package/dist/pages/wc3-lineage-data.mjs +1061 -0
- package/dist/pages/wc3-lineage-data.mjs.map +1 -0
- package/dist/pages/wc3-lineage-impact-view.d.mts +13 -0
- package/dist/pages/wc3-lineage-impact-view.d.mts.map +1 -0
- package/dist/pages/wc3-lineage-impact-view.mjs +247 -0
- package/dist/pages/wc3-lineage-impact-view.mjs.map +1 -0
- package/dist/pages/wc3-lineage-shared.d.mts +137 -0
- package/dist/pages/wc3-lineage-shared.d.mts.map +1 -0
- package/dist/pages/wc3-lineage-shared.mjs +150 -0
- package/dist/pages/wc3-lineage-shared.mjs.map +1 -0
- package/dist/pages/wc3-lineage-views.d.mts +7 -0
- package/dist/pages/wc3-lineage-views.d.mts.map +1 -0
- package/dist/pages/wc3-lineage-views.mjs +13 -0
- package/dist/pages/wc3-lineage-views.mjs.map +1 -0
- package/dist/pages/wc3-lineage-workflow-view.d.mts +12 -0
- package/dist/pages/wc3-lineage-workflow-view.d.mts.map +1 -0
- package/dist/pages/wc3-lineage-workflow-view.mjs +326 -0
- package/dist/pages/wc3-lineage-workflow-view.mjs.map +1 -0
- package/dist/pages/wc3-object-type-detail.d.mts +18 -0
- package/dist/pages/wc3-object-type-detail.d.mts.map +1 -0
- package/dist/pages/wc3-object-type-detail.mjs +977 -0
- package/dist/pages/wc3-object-type-detail.mjs.map +1 -0
- package/dist/pages/wc3-ontology-data.d.mts +246 -0
- package/dist/pages/wc3-ontology-data.d.mts.map +1 -0
- package/dist/pages/wc3-ontology-data.mjs +8542 -0
- package/dist/pages/wc3-ontology-data.mjs.map +1 -0
- package/dist/pages/wc3-ontology-glyphs.d.mts +14 -0
- package/dist/pages/wc3-ontology-glyphs.d.mts.map +1 -0
- package/dist/pages/wc3-ontology-glyphs.mjs +53 -0
- package/dist/pages/wc3-ontology-glyphs.mjs.map +1 -0
- package/dist/pages/wc3-ontology-scope.d.mts +62 -0
- package/dist/pages/wc3-ontology-scope.d.mts.map +1 -0
- package/dist/pages/wc3-ontology-scope.mjs +109 -0
- package/dist/pages/wc3-ontology-scope.mjs.map +1 -0
- package/dist/pages/wc3-ontology-views.d.mts +34 -0
- package/dist/pages/wc3-ontology-views.d.mts.map +1 -0
- package/dist/pages/wc3-ontology-views.mjs +1253 -0
- package/dist/pages/wc3-ontology-views.mjs.map +1 -0
- package/dist/pages/wc3-permit-policy.d.mts +56 -0
- package/dist/pages/wc3-permit-policy.d.mts.map +1 -0
- package/dist/pages/wc3-permit-policy.mjs +478 -0
- package/dist/pages/wc3-permit-policy.mjs.map +1 -0
- package/dist/pages/wc3-pipeline-detail.d.mts +13 -0
- package/dist/pages/wc3-pipeline-detail.d.mts.map +1 -0
- package/dist/pages/wc3-pipeline-detail.mjs +818 -0
- package/dist/pages/wc3-pipeline-detail.mjs.map +1 -0
- package/dist/pages/wc3-pipeline-list-view.d.mts +5 -0
- package/dist/pages/wc3-pipeline-list-view.d.mts.map +1 -0
- package/dist/pages/wc3-pipeline-list-view.mjs +692 -0
- package/dist/pages/wc3-pipeline-list-view.mjs.map +1 -0
- package/dist/pages/wc3-pipeline-shared.d.mts +301 -0
- package/dist/pages/wc3-pipeline-shared.d.mts.map +1 -0
- package/dist/pages/wc3-pipeline-shared.mjs +703 -0
- package/dist/pages/wc3-pipeline-shared.mjs.map +1 -0
- package/dist/pages/wc3-pipeline-side-views.d.mts +7 -0
- package/dist/pages/wc3-pipeline-side-views.d.mts.map +1 -0
- package/dist/pages/wc3-pipeline-side-views.mjs +998 -0
- package/dist/pages/wc3-pipeline-side-views.mjs.map +1 -0
- package/dist/pages/wc3-pipeline-views.d.mts +15 -0
- package/dist/pages/wc3-pipeline-views.d.mts.map +1 -0
- package/dist/pages/wc3-pipeline-views.mjs +23 -0
- package/dist/pages/wc3-pipeline-views.mjs.map +1 -0
- package/dist/pages/wc3-process-bottlenecks.d.mts +22 -0
- package/dist/pages/wc3-process-bottlenecks.d.mts.map +1 -0
- package/dist/pages/wc3-process-bottlenecks.mjs +352 -0
- package/dist/pages/wc3-process-bottlenecks.mjs.map +1 -0
- package/dist/pages/wc3-process-create.d.mts +24 -0
- package/dist/pages/wc3-process-create.d.mts.map +1 -0
- package/dist/pages/wc3-process-create.mjs +230 -0
- package/dist/pages/wc3-process-create.mjs.map +1 -0
- package/dist/pages/wc3-process-data.d.mts +238 -0
- package/dist/pages/wc3-process-data.d.mts.map +1 -0
- package/dist/pages/wc3-process-data.mjs +2251 -0
- package/dist/pages/wc3-process-data.mjs.map +1 -0
- package/dist/pages/wc3-process-detail.d.mts +21 -0
- package/dist/pages/wc3-process-detail.d.mts.map +1 -0
- package/dist/pages/wc3-process-detail.mjs +21 -0
- package/dist/pages/wc3-process-detail.mjs.map +1 -0
- package/dist/pages/wc3-process-list-view.d.mts +5 -0
- package/dist/pages/wc3-process-list-view.d.mts.map +1 -0
- package/dist/pages/wc3-process-list-view.mjs +602 -0
- package/dist/pages/wc3-process-list-view.mjs.map +1 -0
- package/dist/pages/wc3-process-shared.d.mts +443 -0
- package/dist/pages/wc3-process-shared.d.mts.map +1 -0
- package/dist/pages/wc3-process-shared.mjs +980 -0
- package/dist/pages/wc3-process-shared.mjs.map +1 -0
- package/dist/pages/wc3-process-views.d.mts +19 -0
- package/dist/pages/wc3-process-views.d.mts.map +1 -0
- package/dist/pages/wc3-process-views.mjs +23 -0
- package/dist/pages/wc3-process-views.mjs.map +1 -0
- package/dist/pages/wc3-product-catalogue-view.d.mts +5 -0
- package/dist/pages/wc3-product-catalogue-view.d.mts.map +1 -0
- package/dist/pages/wc3-product-catalogue-view.mjs +587 -0
- package/dist/pages/wc3-product-catalogue-view.mjs.map +1 -0
- package/dist/pages/wc3-product-data.d.mts +206 -0
- package/dist/pages/wc3-product-data.d.mts.map +1 -0
- package/dist/pages/wc3-product-data.mjs +2669 -0
- package/dist/pages/wc3-product-data.mjs.map +1 -0
- package/dist/pages/wc3-product-detail.d.mts +31 -0
- package/dist/pages/wc3-product-detail.d.mts.map +1 -0
- package/dist/pages/wc3-product-detail.mjs +1137 -0
- package/dist/pages/wc3-product-detail.mjs.map +1 -0
- package/dist/pages/wc3-product-install-dialog.d.mts +99 -0
- package/dist/pages/wc3-product-install-dialog.d.mts.map +1 -0
- package/dist/pages/wc3-product-install-dialog.mjs +808 -0
- package/dist/pages/wc3-product-install-dialog.mjs.map +1 -0
- package/dist/pages/wc3-product-shared.d.mts +152 -0
- package/dist/pages/wc3-product-shared.d.mts.map +1 -0
- package/dist/pages/wc3-product-shared.mjs +268 -0
- package/dist/pages/wc3-product-shared.mjs.map +1 -0
- package/dist/pages/wc3-product-views.d.mts +7 -0
- package/dist/pages/wc3-product-views.d.mts.map +1 -0
- package/dist/pages/wc3-product-views.mjs +7 -0
- package/dist/pages/wc3-product-views.mjs.map +1 -0
- package/dist/pages/wc3-shared-property-detail.d.mts +95 -0
- package/dist/pages/wc3-shared-property-detail.d.mts.map +1 -0
- package/dist/pages/wc3-shared-property-detail.mjs +546 -0
- package/dist/pages/wc3-shared-property-detail.mjs.map +1 -0
- package/dist/pages/wc3-shared-property-view.d.mts +10 -0
- package/dist/pages/wc3-shared-property-view.d.mts.map +1 -0
- package/dist/pages/wc3-shared-property-view.mjs +455 -0
- package/dist/pages/wc3-shared-property-view.mjs.map +1 -0
- package/dist/pages/wc3-shared-property-wizard.d.mts +31 -0
- package/dist/pages/wc3-shared-property-wizard.d.mts.map +1 -0
- package/dist/pages/wc3-shared-property-wizard.mjs +181 -0
- package/dist/pages/wc3-shared-property-wizard.mjs.map +1 -0
- package/dist/pages/work-permit-templates.d.mts +30 -0
- package/dist/pages/work-permit-templates.d.mts.map +1 -0
- package/dist/pages/work-permit-templates.mjs +793 -0
- package/dist/pages/work-permit-templates.mjs.map +1 -0
- package/dist/pages/workforce-analytics.d.mts +11 -0
- package/dist/pages/workforce-analytics.d.mts.map +1 -0
- package/dist/pages/workforce-analytics.mjs +561 -0
- package/dist/pages/workforce-analytics.mjs.map +1 -0
- package/dist/pages/workforce-compliance-settings.d.mts +9 -0
- package/dist/pages/workforce-compliance-settings.d.mts.map +1 -0
- package/dist/pages/workforce-compliance-settings.mjs +375 -0
- package/dist/pages/workforce-compliance-settings.mjs.map +1 -0
- package/dist/pages/workforce-compliance.d.mts +81 -0
- package/dist/pages/workforce-compliance.d.mts.map +1 -0
- package/dist/pages/workforce-compliance.mjs +805 -0
- package/dist/pages/workforce-compliance.mjs.map +1 -0
- package/dist/pages/workforce-crews.d.mts +5 -0
- package/dist/pages/workforce-crews.d.mts.map +1 -0
- package/dist/pages/workforce-crews.mjs +1091 -0
- package/dist/pages/workforce-crews.mjs.map +1 -0
- package/dist/pages/workforce-map-view.d.mts +8 -0
- package/dist/pages/workforce-map-view.d.mts.map +1 -0
- package/dist/pages/workforce-map-view.mjs +953 -0
- package/dist/pages/workforce-map-view.mjs.map +1 -0
- package/dist/pages/workforce-obs.d.mts +5 -0
- package/dist/pages/workforce-obs.d.mts.map +1 -0
- package/dist/pages/workforce-obs.mjs +649 -0
- package/dist/pages/workforce-obs.mjs.map +1 -0
- package/dist/pagination.d.mts +32 -0
- package/dist/pagination.d.mts.map +1 -0
- package/dist/pagination.mjs +67 -0
- package/dist/pagination.mjs.map +1 -0
- package/dist/permission-matrix.d.mts +43 -0
- package/dist/permission-matrix.d.mts.map +1 -0
- package/dist/permission-matrix.mjs +146 -0
- package/dist/permission-matrix.mjs.map +1 -0
- package/dist/popover.d.mts +19 -0
- package/dist/popover.d.mts.map +1 -0
- package/dist/popover.mjs +31 -0
- package/dist/popover.mjs.map +1 -0
- package/dist/product-package-detail.d.mts +173 -0
- package/dist/product-package-detail.d.mts.map +1 -0
- package/dist/product-package-detail.mjs +521 -0
- package/dist/product-package-detail.mjs.map +1 -0
- package/dist/progress-comparison.d.mts +93 -0
- package/dist/progress-comparison.d.mts.map +1 -0
- package/dist/progress-comparison.mjs +253 -0
- package/dist/progress-comparison.mjs.map +1 -0
- package/dist/progress-list-item.d.mts +46 -0
- package/dist/progress-list-item.d.mts.map +1 -0
- package/dist/progress-list-item.mjs +79 -0
- package/dist/progress-list-item.mjs.map +1 -0
- package/dist/progress-sheet.d.mts +39 -0
- package/dist/progress-sheet.d.mts.map +1 -0
- package/dist/progress-sheet.mjs +760 -0
- package/dist/progress-sheet.mjs.map +1 -0
- package/dist/progress-stat.d.mts +26 -0
- package/dist/progress-stat.d.mts.map +1 -0
- package/dist/progress-stat.mjs +54 -0
- package/dist/progress-stat.mjs.map +1 -0
- package/dist/progress.d.mts +13 -0
- package/dist/progress.d.mts.map +1 -0
- package/dist/progress.mjs +32 -0
- package/dist/progress.mjs.map +1 -0
- package/dist/prompt-input.d.mts +108 -0
- package/dist/prompt-input.d.mts.map +1 -0
- package/dist/prompt-input.mjs +400 -0
- package/dist/prompt-input.mjs.map +1 -0
- package/dist/property-list.d.mts +37 -0
- package/dist/property-list.d.mts.map +1 -0
- package/dist/property-list.mjs +60 -0
- package/dist/property-list.mjs.map +1 -0
- package/dist/push-panel.d.mts +75 -0
- package/dist/push-panel.d.mts.map +1 -0
- package/dist/push-panel.mjs +182 -0
- package/dist/push-panel.mjs.map +1 -0
- package/dist/radio-group.d.mts +9 -0
- package/dist/radio-group.d.mts.map +1 -0
- package/dist/radio-group.mjs +27 -0
- package/dist/radio-group.mjs.map +1 -0
- package/dist/record-detail-shell.d.mts +46 -0
- package/dist/record-detail-shell.d.mts.map +1 -0
- package/dist/record-detail-shell.mjs +29 -0
- package/dist/record-detail-shell.mjs.map +1 -0
- package/dist/resizable.d.mts +11 -0
- package/dist/resizable.d.mts.map +1 -0
- package/dist/resizable.mjs +23 -0
- package/dist/resizable.mjs.map +1 -0
- package/dist/resize-handle.d.mts +19 -0
- package/dist/resize-handle.d.mts.map +1 -0
- package/dist/resize-handle.mjs +45 -0
- package/dist/resize-handle.mjs.map +1 -0
- package/dist/responder-detail-panel.d.mts +72 -0
- package/dist/responder-detail-panel.d.mts.map +1 -0
- package/dist/responder-detail-panel.mjs +232 -0
- package/dist/responder-detail-panel.mjs.map +1 -0
- package/dist/rule-row.d.mts +63 -0
- package/dist/rule-row.d.mts.map +1 -0
- package/dist/rule-row.mjs +97 -0
- package/dist/rule-row.mjs.map +1 -0
- package/dist/schedule-week-bar.d.mts +24 -0
- package/dist/schedule-week-bar.d.mts.map +1 -0
- package/dist/schedule-week-bar.mjs +99 -0
- package/dist/schedule-week-bar.mjs.map +1 -0
- package/dist/score-gauge.d.mts +24 -0
- package/dist/score-gauge.d.mts.map +1 -0
- package/dist/score-gauge.mjs +73 -0
- package/dist/score-gauge.mjs.map +1 -0
- package/dist/scroll-area.d.mts +27 -0
- package/dist/scroll-area.d.mts.map +1 -0
- package/dist/scroll-area.mjs +35 -0
- package/dist/scroll-area.mjs.map +1 -0
- package/dist/search-filter-bar.d.mts +22 -0
- package/dist/search-filter-bar.d.mts.map +1 -0
- package/dist/search-filter-bar.mjs +56 -0
- package/dist/search-filter-bar.mjs.map +1 -0
- package/dist/section-header.d.mts +22 -0
- package/dist/section-header.d.mts.map +1 -0
- package/dist/section-header.mjs +32 -0
- package/dist/section-header.mjs.map +1 -0
- package/dist/section-panel.d.mts +47 -0
- package/dist/section-panel.d.mts.map +1 -0
- package/dist/section-panel.mjs +78 -0
- package/dist/section-panel.mjs.map +1 -0
- package/dist/section.d.mts +15 -0
- package/dist/section.d.mts.map +1 -0
- package/dist/section.mjs +34 -0
- package/dist/section.mjs.map +1 -0
- package/dist/segmented-control.d.mts +26 -0
- package/dist/segmented-control.d.mts.map +1 -0
- package/dist/segmented-control.mjs +70 -0
- package/dist/segmented-control.mjs.map +1 -0
- package/dist/select.d.mts +87 -0
- package/dist/select.d.mts.map +1 -0
- package/dist/select.mjs +280 -0
- package/dist/select.mjs.map +1 -0
- package/dist/selectable-card.d.mts +39 -0
- package/dist/selectable-card.d.mts.map +1 -0
- package/dist/selectable-card.mjs +102 -0
- package/dist/selectable-card.mjs.map +1 -0
- package/dist/separator.d.mts +8 -0
- package/dist/separator.d.mts.map +1 -0
- package/dist/separator.mjs +18 -0
- package/dist/separator.mjs.map +1 -0
- package/dist/services/chatService.d.mts +11 -0
- package/dist/services/chatService.d.mts.map +1 -0
- package/dist/services/chatService.mjs +44 -0
- package/dist/services/chatService.mjs.map +1 -0
- package/dist/setup-steps-checklist.d.mts +50 -0
- package/dist/setup-steps-checklist.d.mts.map +1 -0
- package/dist/setup-steps-checklist.mjs +183 -0
- package/dist/setup-steps-checklist.mjs.map +1 -0
- package/dist/sheet.d.mts +41 -0
- package/dist/sheet.d.mts.map +1 -0
- package/dist/sheet.mjs +71 -0
- package/dist/sheet.mjs.map +1 -0
- package/dist/side-menu.d.mts +61 -0
- package/dist/side-menu.d.mts.map +1 -0
- package/dist/side-menu.mjs +160 -0
- package/dist/side-menu.mjs.map +1 -0
- package/dist/sidebar.d.mts +36 -0
- package/dist/sidebar.d.mts.map +1 -0
- package/dist/sidebar.mjs +159 -0
- package/dist/sidebar.mjs.map +1 -0
- package/dist/single-house-view.d.mts +13 -0
- package/dist/single-house-view.d.mts.map +1 -0
- package/dist/single-house-view.mjs +506 -0
- package/dist/single-house-view.mjs.map +1 -0
- package/dist/site-image-viewer/batches.mjs +362 -0
- package/dist/site-image-viewer/batches.mjs.map +1 -0
- package/dist/site-image-viewer/blocks-zone-1a.mjs +1815 -0
- package/dist/site-image-viewer/blocks-zone-1a.mjs.map +1 -0
- package/dist/site-image-viewer/blocks-zone-1b.mjs +2623 -0
- package/dist/site-image-viewer/blocks-zone-1b.mjs.map +1 -0
- package/dist/site-image-viewer/legend-items.d.mts +6 -0
- package/dist/site-image-viewer/legend-items.d.mts.map +1 -0
- package/dist/site-image-viewer/legend-items.mjs +104 -0
- package/dist/site-image-viewer/legend-items.mjs.map +1 -0
- package/dist/site-image-viewer/milestone-ramp.d.mts +81 -0
- package/dist/site-image-viewer/milestone-ramp.d.mts.map +1 -0
- package/dist/site-image-viewer/milestone-ramp.mjs +112 -0
- package/dist/site-image-viewer/milestone-ramp.mjs.map +1 -0
- package/dist/site-image-viewer/phases.mjs +60 -0
- package/dist/site-image-viewer/phases.mjs.map +1 -0
- package/dist/site-image-viewer/site-legend.d.mts +20 -0
- package/dist/site-image-viewer/site-legend.d.mts.map +1 -0
- package/dist/site-image-viewer/site-legend.mjs +113 -0
- package/dist/site-image-viewer/site-legend.mjs.map +1 -0
- package/dist/site-image-viewer/types.d.mts +32 -0
- package/dist/site-image-viewer/types.d.mts.map +1 -0
- package/dist/site-image-viewer/types.mjs +1 -0
- package/dist/site-image-viewer/villa-hover-card.d.mts +15 -0
- package/dist/site-image-viewer/villa-hover-card.d.mts.map +1 -0
- package/dist/site-image-viewer/villa-hover-card.mjs +48 -0
- package/dist/site-image-viewer/villa-hover-card.mjs.map +1 -0
- package/dist/site-image-viewer/villas.mjs +34494 -0
- package/dist/site-image-viewer/villas.mjs.map +1 -0
- package/dist/site-image-viewer/zone1b-villas.mjs +36211 -0
- package/dist/site-image-viewer/zone1b-villas.mjs.map +1 -0
- package/dist/site-image-viewer/zones-marketing.mjs +114 -0
- package/dist/site-image-viewer/zones-marketing.mjs.map +1 -0
- package/dist/site-image-viewer/zones.mjs +114 -0
- package/dist/site-image-viewer/zones.mjs.map +1 -0
- package/dist/site-image-viewer-fixtures.d.mts +44 -0
- package/dist/site-image-viewer-fixtures.d.mts.map +1 -0
- package/dist/site-image-viewer-fixtures.mjs +112 -0
- package/dist/site-image-viewer-fixtures.mjs.map +1 -0
- package/dist/site-image-viewer.d.mts +98 -0
- package/dist/site-image-viewer.d.mts.map +1 -0
- package/dist/site-image-viewer.mjs +501 -0
- package/dist/site-image-viewer.mjs.map +1 -0
- package/dist/site-panel.d.mts +123 -0
- package/dist/site-panel.d.mts.map +1 -0
- package/dist/site-panel.mjs +1413 -0
- package/dist/site-panel.mjs.map +1 -0
- package/dist/site-reality-viewer.d.mts +46 -0
- package/dist/site-reality-viewer.d.mts.map +1 -0
- package/dist/site-reality-viewer.mjs +436 -0
- package/dist/site-reality-viewer.mjs.map +1 -0
- package/dist/site-toolbar.d.mts +54 -0
- package/dist/site-toolbar.d.mts.map +1 -0
- package/dist/site-toolbar.mjs +110 -0
- package/dist/site-toolbar.mjs.map +1 -0
- package/dist/skeleton.d.mts +6 -0
- package/dist/skeleton.d.mts.map +1 -0
- package/dist/skeleton.mjs +14 -0
- package/dist/skeleton.mjs.map +1 -0
- package/dist/slider.d.mts +8 -0
- package/dist/slider.d.mts.map +1 -0
- package/dist/slider.mjs +20 -0
- package/dist/slider.mjs.map +1 -0
- package/dist/sonner.d.mts +8 -0
- package/dist/sonner.d.mts.map +1 -0
- package/dist/sonner.mjs +20 -0
- package/dist/sonner.mjs.map +1 -0
- package/dist/spinner.d.mts +12 -0
- package/dist/spinner.d.mts.map +1 -0
- package/dist/spinner.mjs +38 -0
- package/dist/spinner.mjs.map +1 -0
- package/dist/stack.d.mts +18 -0
- package/dist/stack.d.mts.map +1 -0
- package/dist/stack.mjs +61 -0
- package/dist/stack.mjs.map +1 -0
- package/dist/stage-content.d.mts +13 -0
- package/dist/stage-content.d.mts.map +1 -0
- package/dist/stage-content.mjs +664 -0
- package/dist/stage-content.mjs.map +1 -0
- package/dist/status-dot.d.mts +18 -0
- package/dist/status-dot.d.mts.map +1 -0
- package/dist/status-dot.mjs +89 -0
- package/dist/status-dot.mjs.map +1 -0
- package/dist/stepper.d.mts +19 -0
- package/dist/stepper.d.mts.map +1 -0
- package/dist/stepper.mjs +113 -0
- package/dist/stepper.mjs.map +1 -0
- package/dist/styles.css +1 -0
- package/dist/styles.tw4.css +1 -0
- package/dist/switch.d.mts +12 -0
- package/dist/switch.d.mts.map +1 -0
- package/dist/switch.mjs +17 -0
- package/dist/switch.mjs.map +1 -0
- package/dist/tab-list.d.mts +33 -0
- package/dist/tab-list.d.mts.map +1 -0
- package/dist/tab-list.mjs +90 -0
- package/dist/tab-list.mjs.map +1 -0
- package/dist/table.d.mts +14 -0
- package/dist/table.d.mts.map +1 -0
- package/dist/table.mjs +60 -0
- package/dist/table.mjs.map +1 -0
- package/dist/tabs.d.mts +42 -0
- package/dist/tabs.d.mts.map +1 -0
- package/dist/tabs.mjs +258 -0
- package/dist/tabs.mjs.map +1 -0
- package/dist/task-monitor.d.mts +70 -0
- package/dist/task-monitor.d.mts.map +1 -0
- package/dist/task-monitor.mjs +319 -0
- package/dist/task-monitor.mjs.map +1 -0
- package/dist/text.d.mts +18 -0
- package/dist/text.d.mts.map +1 -0
- package/dist/text.mjs +60 -0
- package/dist/text.mjs.map +1 -0
- package/dist/textarea.d.mts +7 -0
- package/dist/textarea.d.mts.map +1 -0
- package/dist/textarea.mjs +15 -0
- package/dist/textarea.mjs.map +1 -0
- package/dist/thinking-pill.d.mts +15 -0
- package/dist/thinking-pill.d.mts.map +1 -0
- package/dist/thinking-pill.mjs +28 -0
- package/dist/thinking-pill.mjs.map +1 -0
- package/dist/thumbnail.d.mts +20 -0
- package/dist/thumbnail.d.mts.map +1 -0
- package/dist/thumbnail.mjs +81 -0
- package/dist/thumbnail.mjs.map +1 -0
- package/dist/time-input.d.mts +15 -0
- package/dist/time-input.d.mts.map +1 -0
- package/dist/time-input.mjs +21 -0
- package/dist/time-input.mjs.map +1 -0
- package/dist/time-scrubber.d.mts +93 -0
- package/dist/time-scrubber.d.mts.map +1 -0
- package/dist/time-scrubber.mjs +420 -0
- package/dist/time-scrubber.mjs.map +1 -0
- package/dist/timeline-range-selector.d.mts +30 -0
- package/dist/timeline-range-selector.d.mts.map +1 -0
- package/dist/timeline-range-selector.mjs +232 -0
- package/dist/timeline-range-selector.mjs.map +1 -0
- package/dist/timestamp-picker.d.mts +32 -0
- package/dist/timestamp-picker.d.mts.map +1 -0
- package/dist/timestamp-picker.mjs +143 -0
- package/dist/timestamp-picker.mjs.map +1 -0
- package/dist/timestamp.d.mts +15 -0
- package/dist/timestamp.d.mts.map +1 -0
- package/dist/timestamp.mjs +61 -0
- package/dist/timestamp.mjs.map +1 -0
- package/dist/toast.d.mts +18 -0
- package/dist/toast.d.mts.map +1 -0
- package/dist/toast.mjs +59 -0
- package/dist/toast.mjs.map +1 -0
- package/dist/toaster.d.mts +5 -0
- package/dist/toaster.d.mts.map +1 -0
- package/dist/toaster.mjs +23 -0
- package/dist/toaster.mjs.map +1 -0
- package/dist/toggle-group.d.mts +16 -0
- package/dist/toggle-group.d.mts.map +1 -0
- package/dist/toggle-group.mjs +41 -0
- package/dist/toggle-group.mjs.map +1 -0
- package/dist/toggle.d.mts +16 -0
- package/dist/toggle.d.mts.map +1 -0
- package/dist/toggle.mjs +38 -0
- package/dist/toggle.mjs.map +1 -0
- package/dist/tokenizer.d.mts +23 -0
- package/dist/tokenizer.d.mts.map +1 -0
- package/dist/tokenizer.mjs +87 -0
- package/dist/tokenizer.mjs.map +1 -0
- package/dist/tones.d.mts +59 -0
- package/dist/tones.d.mts.map +1 -0
- package/dist/tones.mjs +177 -0
- package/dist/tones.mjs.map +1 -0
- package/dist/tool-call.d.mts +29 -0
- package/dist/tool-call.d.mts.map +1 -0
- package/dist/tool-call.mjs +89 -0
- package/dist/tool-call.mjs.map +1 -0
- package/dist/toolbar-color-picker.d.mts +50 -0
- package/dist/toolbar-color-picker.d.mts.map +1 -0
- package/dist/toolbar-color-picker.mjs +238 -0
- package/dist/toolbar-color-picker.mjs.map +1 -0
- package/dist/toolbar-pager.d.mts +17 -0
- package/dist/toolbar-pager.d.mts.map +1 -0
- package/dist/toolbar-pager.mjs +40 -0
- package/dist/toolbar-pager.mjs.map +1 -0
- package/dist/toolbar-stats.d.mts +34 -0
- package/dist/toolbar-stats.d.mts.map +1 -0
- package/dist/toolbar-stats.mjs +53 -0
- package/dist/toolbar-stats.mjs.map +1 -0
- package/dist/toolbar.d.mts +98 -0
- package/dist/toolbar.d.mts.map +1 -0
- package/dist/toolbar.mjs +86 -0
- package/dist/toolbar.mjs.map +1 -0
- package/dist/tooltip.d.mts +30 -0
- package/dist/tooltip.d.mts.map +1 -0
- package/dist/tooltip.mjs +83 -0
- package/dist/tooltip.mjs.map +1 -0
- package/dist/tree-list.d.mts +38 -0
- package/dist/tree-list.d.mts.map +1 -0
- package/dist/tree-list.mjs +95 -0
- package/dist/tree-list.mjs.map +1 -0
- package/dist/tree-row.d.mts +84 -0
- package/dist/tree-row.d.mts.map +1 -0
- package/dist/tree-row.mjs +150 -0
- package/dist/tree-row.mjs.map +1 -0
- package/dist/trend-chart.d.mts +28 -0
- package/dist/trend-chart.d.mts.map +1 -0
- package/dist/trend-chart.mjs +33 -0
- package/dist/trend-chart.mjs.map +1 -0
- package/dist/turn-timer.d.mts +23 -0
- package/dist/turn-timer.d.mts.map +1 -0
- package/dist/turn-timer.mjs +51 -0
- package/dist/turn-timer.mjs.map +1 -0
- package/dist/typeahead-item.d.mts +34 -0
- package/dist/typeahead-item.d.mts.map +1 -0
- package/dist/typeahead-item.mjs +74 -0
- package/dist/typeahead-item.mjs.map +1 -0
- package/dist/types/chat.d.mts +66 -0
- package/dist/types/chat.d.mts.map +1 -0
- package/dist/types/chat.mjs +1 -0
- package/dist/types.d.mts +44 -0
- package/dist/types.d.mts.map +1 -0
- package/dist/types.mjs +49 -0
- package/dist/types.mjs.map +1 -0
- package/dist/typography.d.mts +17 -0
- package/dist/typography.d.mts.map +1 -0
- package/dist/typography.mjs +75 -0
- package/dist/typography.mjs.map +1 -0
- package/dist/use-debounced-value.d.mts +11 -0
- package/dist/use-debounced-value.d.mts.map +1 -0
- package/dist/use-debounced-value.mjs +25 -0
- package/dist/use-debounced-value.mjs.map +1 -0
- package/dist/use-document-dir.d.mts +15 -0
- package/dist/use-document-dir.d.mts.map +1 -0
- package/dist/use-document-dir.mjs +33 -0
- package/dist/use-document-dir.mjs.map +1 -0
- package/dist/use-persistent-state.d.mts +9 -0
- package/dist/use-persistent-state.d.mts.map +1 -0
- package/dist/use-persistent-state.mjs +29 -0
- package/dist/use-persistent-state.mjs.map +1 -0
- package/dist/use-toast.d.mts +47 -0
- package/dist/use-toast.d.mts.map +1 -0
- package/dist/use-toast.mjs +119 -0
- package/dist/use-toast.mjs.map +1 -0
- package/dist/vertical-zoom-tools.d.mts +27 -0
- package/dist/vertical-zoom-tools.d.mts.map +1 -0
- package/dist/vertical-zoom-tools.mjs +66 -0
- package/dist/vertical-zoom-tools.mjs.map +1 -0
- package/dist/view-tab-bar.d.mts +75 -0
- package/dist/view-tab-bar.d.mts.map +1 -0
- package/dist/view-tab-bar.mjs +80 -0
- package/dist/view-tab-bar.mjs.map +1 -0
- package/dist/viewer-toolbar.d.mts +41 -0
- package/dist/viewer-toolbar.d.mts.map +1 -0
- package/dist/viewer-toolbar.mjs +271 -0
- package/dist/viewer-toolbar.mjs.map +1 -0
- package/dist/violation-list.d.mts +26 -0
- package/dist/violation-list.d.mts.map +1 -0
- package/dist/violation-list.mjs +53 -0
- package/dist/violation-list.mjs.map +1 -0
- package/dist/walkthrough-modal.d.mts +12 -0
- package/dist/walkthrough-modal.d.mts.map +1 -0
- package/dist/walkthrough-modal.mjs +28 -0
- package/dist/walkthrough-modal.mjs.map +1 -0
- package/dist/walkthrough-tile.d.mts +17 -0
- package/dist/walkthrough-tile.d.mts.map +1 -0
- package/dist/walkthrough-tile.mjs +75 -0
- package/dist/walkthrough-tile.mjs.map +1 -0
- package/dist/week-selector.d.mts +45 -0
- package/dist/week-selector.d.mts.map +1 -0
- package/dist/week-selector.mjs +101 -0
- package/dist/week-selector.mjs.map +1 -0
- package/dist/widget-card.d.mts +18 -0
- package/dist/widget-card.d.mts.map +1 -0
- package/dist/widget-card.mjs +46 -0
- package/dist/widget-card.mjs.map +1 -0
- package/dist/wizard-dialog.d.mts +68 -0
- package/dist/wizard-dialog.d.mts.map +1 -0
- package/dist/wizard-dialog.mjs +108 -0
- package/dist/wizard-dialog.mjs.map +1 -0
- package/dist/work-item-card.d.mts +38 -0
- package/dist/work-item-card.d.mts.map +1 -0
- package/dist/work-item-card.mjs +231 -0
- package/dist/work-item-card.mjs.map +1 -0
- package/dist/worker-profile.d.mts +244 -0
- package/dist/worker-profile.d.mts.map +1 -0
- package/dist/worker-profile.mjs +621 -0
- package/dist/worker-profile.mjs.map +1 -0
- package/dist/zoom-tools.d.mts +29 -0
- package/dist/zoom-tools.d.mts.map +1 -0
- package/dist/zoom-tools.mjs +94 -0
- package/dist/zoom-tools.mjs.map +1 -0
- package/package.json +1792 -0
- package/skills/core-ui-charts/SKILL.md +243 -0
- package/skills/core-ui-chat/SKILL.md +260 -0
- package/skills/core-ui-components/SKILL.md +299 -0
- package/skills/core-ui-composition/SKILL.md +186 -0
- package/skills/core-ui-data-table/SKILL.md +243 -0
- package/skills/core-ui-forms/SKILL.md +289 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-system.mjs","names":[],"sources":["../../src/file-system/file-system.tsx"],"sourcesContent":["import {FolderOpen, Search, X} from \"lucide-react\";\nimport {useCallback, useMemo, useState} from \"react\";\n\nimport {Button} from \"../button\";\nimport {Empty} from \"../empty\";\nimport {Input} from \"../input\";\nimport {ScrollArea} from \"../scroll-area\";\nimport {FileSystemProvider, type FileSystemContextValue} from \"./context\";\nimport {FileSystemDetails} from \"./file-system-details\";\nimport {\n\tFILE_SYSTEM_NO_FILTERS,\n\tFileSystemFilters,\n\tfileSystemFilterCount,\n\ttype FileSystemFilterValue,\n} from \"./file-system-filters\";\nimport {FileSystemNew} from \"./file-system-new\";\nimport {FileSystemProject} from \"./file-system-project\";\nimport {FileSystemTable} from \"./file-system-table\";\nimport {\n\tbuildFileSystemIndex,\n\tfsNode,\n\tfsNodeFromDraft,\n\tfsPath,\n\tfsQuery,\n\ttype FileSystemDraft,\n\ttype FileSystemFileType,\n\ttype FileSystemNode,\n} from \"./model\";\n\n// A file system over whatever a product already has.\n//\n// Two layouts and one details panel, driven by where the reader is:\n//\n// All files — facets down the left, every project and file under the root on the right.\n// A project — that project's own sections down the left, its folders and files on the right.\n//\n// Neither is a tree. On the flat listing a file's folder is printed under its name; in a project it is\n// the page you are on. Opening a project SWAPS the layout rather than filtering the list, because a\n// project is a place with more than a file list in it and a facet cannot take you somewhere that has\n// its own sections.\n//\n// Rows never navigate. A row selects, and the details panel answers \"what is this?\"; the underlined\n// NAME is the only thing that leaves. Selecting and leaving are different intentions, so they get\n// different targets — a row that navigated on click would make the first question impossible to ask\n// without losing your place to answer it.\n//\n// The widget owns no data. Nodes arrive as a prop and creation goes back out through `onCreate`, so a\n// host can keep them wherever the rest of its state lives.\n\nexport interface FileSystemProps {\n\t/** Every node, flat, each naming its parent. The widget derives its indexes from these. */\n\tnodes: FileSystemNode[];\n\t/** The node everything is listed under — an organization, a workspace, a tenant. */\n\trootId: string;\n\t/** The file types this product offers: their labels, marks, tints, and the app that owns each. */\n\tfileTypes: FileSystemFileType[];\n\t/**\n\t * Commit a new node. Return the node that was added — the surface selects it, because creating\n\t * something and leaving the reader to find it is a job half done. Return `undefined` to cancel.\n\t *\n\t * Omit to make the file system read-only: no New menu is rendered.\n\t */\n\tonCreate?: (draft: FileSystemDraft) => FileSystemNode | undefined;\n\t/**\n\t * Names the action that opens a file's record, e.g. \"Open in Pipelines\". Return `undefined` for a\n\t * node nothing opens, and no action is offered rather than one that apologises.\n\t */\n\topenLabel?: (node: FileSystemNode) => string | undefined;\n\tonOpenFile?: (node: FileSystemNode) => void;\n\t/** The open project, or `null` for the root listing. Controlled when both are passed. */\n\tprojectId?: string | null;\n\tonProjectChange?: (projectId: string | null) => void;\n\t/** Narrow the flat listing to one folder's subtree. Controlled when both are passed. */\n\tfolderId?: string | null;\n\tonFolderChange?: (folderId: string | null) => void;\n\t/** Placeholder for the search that spans the facets and the listing. */\n\tsearchPlaceholder?: string;\n}\n\nexport function FileSystem({\n\tnodes,\n\trootId,\n\tfileTypes,\n\tonCreate,\n\topenLabel,\n\tonOpenFile,\n\tprojectId,\n\tonProjectChange,\n\tfolderId,\n\tonFolderChange,\n\tsearchPlaceholder = \"Search files and folders...\",\n}: FileSystemProps) {\n\tconst [query, setQuery] = useState(\"\");\n\tconst [filters, setFilters] = useState<FileSystemFilterValue>(FILE_SYSTEM_NO_FILTERS);\n\tconst [selectedId, setSelectedId] = useState<string | null>(null);\n\t// Uncontrolled fallbacks, so the simplest use is `<FileSystem nodes rootId fileTypes />`.\n\tconst [ownProjectId, setOwnProjectId] = useState<string | null>(null);\n\tconst [ownFolderId, setOwnFolderId] = useState<string | null>(null);\n\n\tconst openProjectId = projectId !== undefined ? projectId : ownProjectId;\n\tconst setOpenProjectId = onProjectChange ?? setOwnProjectId;\n\tconst narrowedFolderId = folderId !== undefined ? folderId : ownFolderId;\n\tconst setNarrowedFolderId = onFolderChange ?? setOwnFolderId;\n\n\tconst index = useMemo(() => buildFileSystemIndex(nodes), [nodes]);\n\tconst context: FileSystemContextValue = useMemo(\n\t\t() => ({\n\t\t\tindex,\n\t\t\trootId,\n\t\t\tfileTypes,\n\t\t\tbyType: new Map(fileTypes.map((t) => [t.id, t])),\n\t\t\topenLabel,\n\t\t\tonOpenFile,\n\t\t}),\n\t\t[index, rootId, fileTypes, openLabel, onOpenFile],\n\t);\n\n\tconst folder = narrowedFolderId ? fsNode(index, narrowedFolderId) : undefined;\n\tconst selected = selectedId ? fsNode(index, selectedId) : undefined;\n\tconst facetCount = fileSystemFilterCount(filters);\n\n\tconst rows = useMemo(\n\t\t() =>\n\t\t\tfsQuery(index, {\n\t\t\t\trootId,\n\t\t\t\tfolderId: narrowedFolderId,\n\t\t\t\tquery,\n\t\t\t\ttypes: filters.types.length ? filters.types : undefined,\n\t\t\t\tprojectIds: filters.projectIds.length ? filters.projectIds : undefined,\n\t\t\t\ttags: filters.tags.length ? filters.tags : undefined,\n\t\t\t}),\n\t\t[index, rootId, narrowedFolderId, query, filters],\n\t);\n\n\tconst narrowed = Boolean(folder) || facetCount > 0 || query.trim() !== \"\";\n\n\t/** Ids are the widget's to mint when the host does not supply one, so a name twice cannot collide. */\n\tconst create = useCallback(\n\t\t(draft: FileSystemDraft) => {\n\t\t\tif (!onCreate) return undefined;\n\t\t\treturn onCreate(draft) ?? undefined;\n\t\t},\n\t\t[onCreate],\n\t);\n\n\t/** The underlined name: a project opens its page, a file opens whatever the host says it opens. */\n\tconst openName = useCallback(\n\t\t(node: FileSystemNode) => {\n\t\t\tif (node.kind === \"project\") {\n\t\t\t\tsetOpenProjectId(node.id);\n\t\t\t\tsetSelectedId(null);\n\t\t\t} else onOpenFile?.(node);\n\t\t},\n\t\t[setOpenProjectId, onOpenFile],\n\t);\n\n\tconst details = selected ? (\n\t\t<div className=\"wwc:hidden wwc:w-[300px] wwc:shrink-0 wwc:lg:block\">\n\t\t\t<FileSystemDetails\n\t\t\t\tnode={selected}\n\t\t\t\tonClose={() => setSelectedId(null)}\n\t\t\t\tonOpenProject={selected.kind === \"project\" ? openName : undefined}\n\t\t\t/>\n\t\t</div>\n\t) : null;\n\n\tif (openProjectId) {\n\t\treturn (\n\t\t\t<FileSystemProvider value={context}>\n\t\t\t\t<div className=\"wwc:flex wwc:min-h-0 wwc:flex-1\">\n\t\t\t\t\t<FileSystemProject\n\t\t\t\t\t\tprojectId={openProjectId}\n\t\t\t\t\t\tonBack={() => {\n\t\t\t\t\t\t\tsetOpenProjectId(null);\n\t\t\t\t\t\t\tsetSelectedId(null);\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tselectedId={selectedId}\n\t\t\t\t\t\tonSelect={(node) => setSelectedId(node.id)}\n\t\t\t\t\t\tonOpenName={openName}\n\t\t\t\t\t\tonCreate={create}\n\t\t\t\t\t/>\n\t\t\t\t\t{details}\n\t\t\t\t</div>\n\t\t\t</FileSystemProvider>\n\t\t);\n\t}\n\n\treturn (\n\t\t<FileSystemProvider value={context}>\n\t\t\t<div className=\"wwc:flex wwc:min-h-0 wwc:flex-1 wwc:flex-col\">\n\t\t\t\t{/* The search band spans the facets AND the listing, because it governs both: a query\n\t\t\t\t narrows the rows and the facet counts follow it. */}\n\t\t\t\t<div className=\"wwc:flex wwc:min-w-0 wwc:flex-shrink-0 wwc:flex-wrap wwc:items-center wwc:gap-2 wwc:border-b wwc:border-border wwc:px-4 wwc:py-2.5\">\n\t\t\t\t\t<div className=\"wwc:relative wwc:min-w-[240px] wwc:flex-1\">\n\t\t\t\t\t\t<Search className=\"wwc:pointer-events-none wwc:absolute wwc:left-2.5 wwc:top-1/2 wwc:h-3.5 wwc:w-3.5 wwc:-translate-y-1/2 wwc:text-muted-foreground\" />\n\t\t\t\t\t\t<Input\n\t\t\t\t\t\t\tvalue={query}\n\t\t\t\t\t\t\tonChange={(e) => setQuery(e.target.value)}\n\t\t\t\t\t\t\tplaceholder={searchPlaceholder}\n\t\t\t\t\t\t\tclassName=\"wwc:h-8 wwc:pl-8 wwc:text-[13px]\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</div>\n\t\t\t\t\t{/* A folder narrowing arrives from outside — a \"show in files\" link — so it needs a visible\n\t\t\t\t\t way out; without it the listing just looks like a root with fewer files in it. */}\n\t\t\t\t\t{folder && (\n\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\tclassName=\"wwc:h-8 wwc:gap-1.5 wwc:text-[12px]\"\n\t\t\t\t\t\t\tonClick={() => setNarrowedFolderId(null)}\n\t\t\t\t\t\t\taria-label={`Stop filtering by ${folder.name}`}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<span className=\"wwc:font-mono\">{fsPath(index, folder.id)}</span>\n\t\t\t\t\t\t\t<X className=\"wwc:h-3 wwc:w-3\" />\n\t\t\t\t\t\t</Button>\n\t\t\t\t\t)}\n\t\t\t\t\t{onCreate && (\n\t\t\t\t\t\t<FileSystemNew\n\t\t\t\t\t\t\tparentId={rootId}\n\t\t\t\t\t\t\tscope=\"root\"\n\t\t\t\t\t\t\tonCreate={create}\n\t\t\t\t\t\t\tonCreated={(node) => {\n\t\t\t\t\t\t\t\t// Land on the thing just made.\n\t\t\t\t\t\t\t\tsetQuery(\"\");\n\t\t\t\t\t\t\t\tsetFilters(FILE_SYSTEM_NO_FILTERS);\n\t\t\t\t\t\t\t\tsetSelectedId(node.id);\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\n\t\t\t\t<div className=\"wwc:flex wwc:min-h-0 wwc:flex-1\">\n\t\t\t\t\t{/* Facets. Fixed width, and hidden below md, where the search band carries the burden. */}\n\t\t\t\t\t<div className=\"wwc:hidden wwc:w-[240px] wwc:shrink-0 wwc:border-r wwc:border-border wwc:md:block\">\n\t\t\t\t\t\t<FileSystemFilters value={filters} onChange={setFilters} />\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<ScrollArea className=\"wwc:min-w-0 wwc:flex-1\">\n\t\t\t\t\t\t<div className=\"wwc:flex wwc:flex-col wwc:gap-3 wwc:p-4\">\n\t\t\t\t\t\t\t{rows.length === 0 ? (\n\t\t\t\t\t\t\t\t<Empty\n\t\t\t\t\t\t\t\t\ticon={<FolderOpen className=\"wwc:h-8 wwc:w-8\" />}\n\t\t\t\t\t\t\t\t\ttitle=\"No files match\"\n\t\t\t\t\t\t\t\t\tdescription={\n\t\t\t\t\t\t\t\t\t\tnarrowed\n\t\t\t\t\t\t\t\t\t\t\t? \"Nothing here matches the current search and filters.\"\n\t\t\t\t\t\t\t\t\t\t\t: \"Nothing has been filed here yet.\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\taction={\n\t\t\t\t\t\t\t\t\t\tnarrowed ? (\n\t\t\t\t\t\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t\t\t\t\t\tvariant=\"outline\"\n\t\t\t\t\t\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t\t\t\t\t\tonClick={() => {\n\t\t\t\t\t\t\t\t\t\t\t\t\tsetQuery(\"\");\n\t\t\t\t\t\t\t\t\t\t\t\t\tsetFilters(FILE_SYSTEM_NO_FILTERS);\n\t\t\t\t\t\t\t\t\t\t\t\t\tsetNarrowedFolderId(null);\n\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\tClear filters\n\t\t\t\t\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t\t\t\t\t) : undefined\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) : (\n\t\t\t\t\t\t\t\t<FileSystemTable\n\t\t\t\t\t\t\t\t\trows={rows}\n\t\t\t\t\t\t\t\t\tselectedId={selectedId}\n\t\t\t\t\t\t\t\t\tonSelect={(node) => setSelectedId(node.id)}\n\t\t\t\t\t\t\t\t\tonOpenName={openName}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</ScrollArea>\n\n\t\t\t\t\t{details}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</FileSystemProvider>\n\t);\n}\n\nexport {fsNodeFromDraft};\n"],"mappings":"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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FileSystemDraft, FileSystemFileType, FileSystemIndex, FileSystemKind, FileSystemNode, buildFileSystemIndex, fsAncestors, fsChildren, fsDescendants, fsEffectiveTags, fsFindByRef, fsFolderListing, fsFolderPath, fsNode, fsNodeFromDraft, fsPath, fsProjectCounts, fsProjects, fsQuery, fsTagCounts, fsTrail, fsTypeCounts } from "./model.mjs";
|
|
2
|
+
import { FileSystemDetails, FileSystemDetailsProps } from "./file-system-details.mjs";
|
|
3
|
+
import { FILE_SYSTEM_NO_FILTERS, FileSystemFilterValue, FileSystemFilters, FileSystemFiltersProps, fileSystemFilterCount } from "./file-system-filters.mjs";
|
|
4
|
+
import { FileSystemNew, FileSystemNewProps } from "./file-system-new.mjs";
|
|
5
|
+
import { FileSystemPathText } from "./file-system-path.mjs";
|
|
6
|
+
import { FileSystemProject, FileSystemProjectProps, FileSystemProjectSection } from "./file-system-project.mjs";
|
|
7
|
+
import { FileSystemTable, FileSystemTableProps } from "./file-system-table.mjs";
|
|
8
|
+
import { FileSystem, FileSystemProps } from "./file-system.mjs";
|
|
9
|
+
export { FILE_SYSTEM_NO_FILTERS, FileSystem, FileSystemDetails, type FileSystemDetailsProps, type FileSystemDraft, type FileSystemFileType, type FileSystemFilterValue, FileSystemFilters, type FileSystemFiltersProps, type FileSystemIndex, type FileSystemKind, FileSystemNew, type FileSystemNewProps, type FileSystemNode, FileSystemPathText, FileSystemProject, type FileSystemProjectProps, type FileSystemProjectSection, type FileSystemProps, FileSystemTable, type FileSystemTableProps, buildFileSystemIndex, fileSystemFilterCount, fsAncestors, fsChildren, fsDescendants, fsEffectiveTags, fsFindByRef, fsFolderListing, fsFolderPath, fsNode, fsNodeFromDraft, fsPath, fsProjectCounts, fsProjects, fsQuery, fsTagCounts, fsTrail, fsTypeCounts };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FileSystemPathText } from "./file-system-path.mjs";
|
|
2
|
+
import { buildFileSystemIndex, fsAncestors, fsChildren, fsDescendants, fsEffectiveTags, fsFindByRef, fsFolderListing, fsFolderPath, fsNode, fsNodeFromDraft, fsPath, fsProjectCounts, fsProjects, fsQuery, fsTagCounts, fsTrail, fsTypeCounts } from "./model.mjs";
|
|
3
|
+
import { FileSystemDetails } from "./file-system-details.mjs";
|
|
4
|
+
import { FILE_SYSTEM_NO_FILTERS, FileSystemFilters, fileSystemFilterCount } from "./file-system-filters.mjs";
|
|
5
|
+
import { FileSystemNew } from "./file-system-new.mjs";
|
|
6
|
+
import { FileSystemTable } from "./file-system-table.mjs";
|
|
7
|
+
import { FileSystemProject } from "./file-system-project.mjs";
|
|
8
|
+
import { FileSystem } from "./file-system.mjs";
|
|
9
|
+
export { FILE_SYSTEM_NO_FILTERS, FileSystem, FileSystemDetails, FileSystemFilters, FileSystemNew, FileSystemPathText, FileSystemProject, FileSystemTable, buildFileSystemIndex, fileSystemFilterCount, fsAncestors, fsChildren, fsDescendants, fsEffectiveTags, fsFindByRef, fsFolderListing, fsFolderPath, fsNode, fsNodeFromDraft, fsPath, fsProjectCounts, fsProjects, fsQuery, fsTagCounts, fsTrail, fsTypeCounts };
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { ComponentType } from "react";
|
|
2
|
+
//#region src/file-system/model.d.ts
|
|
3
|
+
/** What a node IS. Only `file` carries a `ref`; the other three are containers. */
|
|
4
|
+
export type FileSystemKind = "root" | "project" | "folder" | "file";
|
|
5
|
+
/**
|
|
6
|
+
* One file type the host offers — the label, mark and tint a node of that type is shown with, and
|
|
7
|
+
* optionally the app that owns its records.
|
|
8
|
+
*/
|
|
9
|
+
export type FileSystemFileType = {
|
|
10
|
+
id: string;
|
|
11
|
+
label: string;
|
|
12
|
+
icon: ComponentType<{
|
|
13
|
+
className?: string;
|
|
14
|
+
}>;
|
|
15
|
+
/**
|
|
16
|
+
* Background + foreground classes for the tinted square the icon sits in, so a kind is legible
|
|
17
|
+
* before its name is read. Omit for a neutral mark.
|
|
18
|
+
*/
|
|
19
|
+
tone?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The app that owns records of this type, named. When set, creating one is understood to create a
|
|
22
|
+
* record there and the create dialog says so; when not, the file is a place and nothing more.
|
|
23
|
+
*/
|
|
24
|
+
app?: string;
|
|
25
|
+
};
|
|
26
|
+
export type FileSystemNode = {
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
kind: FileSystemKind;
|
|
30
|
+
/** `null` only for a root. */
|
|
31
|
+
parentId: string | null;
|
|
32
|
+
/** Display string, not a timestamp — the host formats dates the way the rest of its product does. */
|
|
33
|
+
updatedAt: string;
|
|
34
|
+
/** Sort key for the listing's Last modified column. Higher is newer; units are the host's own. */
|
|
35
|
+
updatedTs: number;
|
|
36
|
+
/** A file type id, from the host's `fileTypes`. */
|
|
37
|
+
fileType?: string;
|
|
38
|
+
description?: string;
|
|
39
|
+
tags?: string[];
|
|
40
|
+
/**
|
|
41
|
+
* Whatever the host needs to reopen the record this file addresses. Opaque here: the widget only
|
|
42
|
+
* ever hands it back, and asks the host — through `openLabel` — whether it leads anywhere.
|
|
43
|
+
*/
|
|
44
|
+
ref?: unknown;
|
|
45
|
+
/** Retired: still resolvable by id, never listed. */
|
|
46
|
+
trashed?: boolean;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* The derived lookups every surface reads. Built once per node array: two indexes down the hierarchy
|
|
50
|
+
* and one back up it, so "which folder is this record in?" is a map hit rather than a walk of the
|
|
51
|
+
* whole hierarchy on every listing row.
|
|
52
|
+
*/
|
|
53
|
+
export type FileSystemIndex = {
|
|
54
|
+
nodes: FileSystemNode[];
|
|
55
|
+
byId: Map<string, FileSystemNode>;
|
|
56
|
+
byParent: Map<string | null, FileSystemNode[]>;
|
|
57
|
+
};
|
|
58
|
+
export declare function buildFileSystemIndex(nodes: FileSystemNode[]): FileSystemIndex;
|
|
59
|
+
export declare function fsNode(ix: FileSystemIndex, id: string): FileSystemNode | undefined;
|
|
60
|
+
/** Direct children, already sorted. Returns a shared array — treat it as read-only. */
|
|
61
|
+
export declare function fsChildren(ix: FileSystemIndex, id: string | null): FileSystemNode[];
|
|
62
|
+
/**
|
|
63
|
+
* Every ancestor of `id`, root first, NOT including the node itself. The breadcrumb above a listing
|
|
64
|
+
* and the location under a row are both this list, formatted differently.
|
|
65
|
+
*/
|
|
66
|
+
export declare function fsAncestors(ix: FileSystemIndex, id: string): FileSystemNode[];
|
|
67
|
+
/** The node and its ancestors, root first — the trail a breadcrumb renders. */
|
|
68
|
+
export declare function fsTrail(ix: FileSystemIndex, id: string): FileSystemNode[];
|
|
69
|
+
/** Every descendant of `id`, depth-first in listing order. */
|
|
70
|
+
export declare function fsDescendants(ix: FileSystemIndex, id: string): FileSystemNode[];
|
|
71
|
+
/**
|
|
72
|
+
* A node's address as a path string.
|
|
73
|
+
*
|
|
74
|
+
* The root is dropped by default: a shell that names the root elsewhere — in a switcher, say — would
|
|
75
|
+
* be repeating it on every row for no gain. Pass `{withRoot: true}` where it is not otherwise shown.
|
|
76
|
+
*/
|
|
77
|
+
export declare function fsPath(ix: FileSystemIndex, id: string, opts?: {
|
|
78
|
+
withRoot?: boolean;
|
|
79
|
+
}): string;
|
|
80
|
+
/** The path of a node's PARENT — what "where does this live?" means on a listing row. */
|
|
81
|
+
export declare function fsFolderPath(ix: FileSystemIndex, id: string, opts?: {
|
|
82
|
+
withRoot?: boolean;
|
|
83
|
+
}): string;
|
|
84
|
+
/**
|
|
85
|
+
* A file's own tags PLUS every tag on the folders and project above it.
|
|
86
|
+
*
|
|
87
|
+
* Tags inherit because that is what the facet is asked to mean: a project tagged "riyadh" makes every
|
|
88
|
+
* file under it a file in Riyadh, and a facet answering "no files" for a tag visible on screen would
|
|
89
|
+
* be broken. Counts and matches come from this one function, so the rail can never offer a value that
|
|
90
|
+
* finds nothing.
|
|
91
|
+
*/
|
|
92
|
+
export declare function fsEffectiveTags(ix: FileSystemIndex, id: string): string[];
|
|
93
|
+
/** The file node addressing a record, found by a predicate the host supplies. */
|
|
94
|
+
export declare function fsFindByRef(ix: FileSystemIndex, matches: (ref: unknown) => boolean): FileSystemNode | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* What a listing shows: the projects and files live under `folderId` (or under the root), narrowed by
|
|
97
|
+
* the facets. Projects first, then files, each run newest first.
|
|
98
|
+
*
|
|
99
|
+
* PROJECTS and FILES, not plain folders. A project is a place you go — opening one changes the page —
|
|
100
|
+
* so it earns a row. A plain folder does not: the folder a file sits in is already printed under its
|
|
101
|
+
* name, and a folder row re-listing what is already visible would be a detour.
|
|
102
|
+
*/
|
|
103
|
+
export declare function fsQuery(ix: FileSystemIndex, opts: {
|
|
104
|
+
rootId: string;
|
|
105
|
+
/** Narrow to one folder's subtree. Omit for everything under the root. */
|
|
106
|
+
folderId?: string | null;
|
|
107
|
+
query?: string;
|
|
108
|
+
types?: string[];
|
|
109
|
+
projectIds?: string[];
|
|
110
|
+
tags?: string[];
|
|
111
|
+
}): FileSystemNode[];
|
|
112
|
+
/**
|
|
113
|
+
* One folder's DIRECT children — folders first, then files — for a surface that walks the hierarchy
|
|
114
|
+
* rather than flattening it.
|
|
115
|
+
*
|
|
116
|
+
* The all-files listing flattens on purpose: it answers "where is this?" with a path under every row.
|
|
117
|
+
* Inside a project the question is the opposite — "what is in here?" — and a folder you cannot open is
|
|
118
|
+
* a folder you cannot file anything into, so there the hierarchy is the point.
|
|
119
|
+
*/
|
|
120
|
+
export declare function fsFolderListing(ix: FileSystemIndex, parentId: string): FileSystemNode[];
|
|
121
|
+
/** The projects under a root. */
|
|
122
|
+
export declare function fsProjects(ix: FileSystemIndex, rootId: string): FileSystemNode[];
|
|
123
|
+
/** Every project under `rootId`, with how many live files sit beneath it — the Projects facet. */
|
|
124
|
+
export declare function fsProjectCounts(ix: FileSystemIndex, rootId: string): {
|
|
125
|
+
id: string;
|
|
126
|
+
label: string;
|
|
127
|
+
count: number;
|
|
128
|
+
}[];
|
|
129
|
+
/** Every file type present under `rootId`, with its count — the Types facet. */
|
|
130
|
+
export declare function fsTypeCounts(ix: FileSystemIndex, rootId: string): {
|
|
131
|
+
type: string;
|
|
132
|
+
count: number;
|
|
133
|
+
}[];
|
|
134
|
+
/** Every tag matching at least one live file under `rootId`, most-used first — the Tags facet. */
|
|
135
|
+
export declare function fsTagCounts(ix: FileSystemIndex, rootId: string): {
|
|
136
|
+
tag: string;
|
|
137
|
+
count: number;
|
|
138
|
+
}[];
|
|
139
|
+
export type FileSystemDraft = {
|
|
140
|
+
name: string;
|
|
141
|
+
kind: Extract<FileSystemKind, "project" | "folder" | "file">;
|
|
142
|
+
parentId: string;
|
|
143
|
+
fileType?: string;
|
|
144
|
+
description?: string;
|
|
145
|
+
tags?: string[];
|
|
146
|
+
ref?: unknown;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* The node a draft becomes. Returned rather than appended, so the host decides where its node array
|
|
150
|
+
* lives — the widget never owns the data it renders.
|
|
151
|
+
*
|
|
152
|
+
* Ids are generated rather than derived from the name, so the same name twice cannot collide.
|
|
153
|
+
*/
|
|
154
|
+
export declare function fsNodeFromDraft(draft: FileSystemDraft, id: string): FileSystemNode;
|
|
155
|
+
//#endregion
|
|
156
|
+
//# sourceMappingURL=model.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model.d.mts","names":[],"sources":["../../src/file-system/model.ts"],"mappings":";;;YAWY;;;;;YAMA;EACX;EACA;EACA,MAAM;IAAe;;;;;;EAKrB;;;;;EAKA;;YAGW;EACX;EACA;EACA,MAAM;;EAEN;;EAEA;;EAEA;;EAEA;EACA;EACA;;;;;EAKA;;EAEA;;;;;;;YAQW;EACX,OAAO;EACP,MAAM,YAAY;EAClB,UAAU,mBAAmB;;wBAWd,qBAAqB,OAAO,mBAAmB;wBAa/C,OAAO,IAAI,iBAAiB,aAAa;;wBAKzC,WAAW,IAAI,iBAAiB,oBAAoB;;;;;wBAQpD,YAAY,IAAI,iBAAiB,aAAa;;wBAgB9C,QAAQ,IAAI,iBAAiB,aAAa;;wBAM1C,cAAc,IAAI,iBAAiB,aAAa;;;;;;;wBAkBhD,OAAO,IAAI,iBAAiB,YAAY;EAAQ;;;wBAOhD,aAAa,IAAI,iBAAiB,YAAY;EAAQ;;;;;;;;;;wBAatD,gBAAgB,IAAI,iBAAiB;;wBASrC,YAAY,IAAI,iBAAiB,UAAU,2BAA2B;;;;;;;;;wBActE,QACf,IAAI,iBACJ;EACC;;EAEA;EACA;EACA;EACA;EACA;IAEC;;;;;;;;;wBAyCa,gBAAgB,IAAI,iBAAiB,mBAAmB;;wBAKxD,WAAW,IAAI,iBAAiB,iBAAiB;;wBAKjD,gBAAgB,IAAI,iBAAiB;EAAkB;EAAY;EAAe;;;wBASlF,aAAa,IAAI,iBAAiB;EAAkB;EAAc;;;wBAUlE,YAAY,IAAI,iBAAiB;EAAkB;EAAa;;YAapE;EACX;EACA,MAAM,QAAQ;EACd;EACA;EACA;EACA;EACA;;;;;;;;wBASe,gBAAgB,OAAO,iBAAiB,aAAa"}
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
//#region src/file-system/model.ts
|
|
2
|
+
/** Folders first, then files; each run alphabetical, case- and accent-insensitive. */
|
|
3
|
+
function compareNodes(a, b) {
|
|
4
|
+
const aLeaf = a.kind === "file" ? 1 : 0;
|
|
5
|
+
const bLeaf = b.kind === "file" ? 1 : 0;
|
|
6
|
+
if (aLeaf !== bLeaf) return aLeaf - bLeaf;
|
|
7
|
+
return a.name.localeCompare(b.name, void 0, { sensitivity: "base" });
|
|
8
|
+
}
|
|
9
|
+
function buildFileSystemIndex(nodes) {
|
|
10
|
+
const byId = new Map(nodes.map((n) => [n.id, n]));
|
|
11
|
+
const byParent = /* @__PURE__ */ new Map();
|
|
12
|
+
for (const n of nodes) {
|
|
13
|
+
const bucket = byParent.get(n.parentId);
|
|
14
|
+
if (bucket) bucket.push(n);
|
|
15
|
+
else byParent.set(n.parentId, [n]);
|
|
16
|
+
}
|
|
17
|
+
for (const bucket of byParent.values()) bucket.sort(compareNodes);
|
|
18
|
+
return {
|
|
19
|
+
nodes,
|
|
20
|
+
byId,
|
|
21
|
+
byParent
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function fsNode(ix, id) {
|
|
25
|
+
return ix.byId.get(id);
|
|
26
|
+
}
|
|
27
|
+
/** Direct children, already sorted. Returns a shared array — treat it as read-only. */
|
|
28
|
+
function fsChildren(ix, id) {
|
|
29
|
+
return ix.byParent.get(id) ?? [];
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Every ancestor of `id`, root first, NOT including the node itself. The breadcrumb above a listing
|
|
33
|
+
* and the location under a row are both this list, formatted differently.
|
|
34
|
+
*/
|
|
35
|
+
function fsAncestors(ix, id) {
|
|
36
|
+
const out = [];
|
|
37
|
+
let cur = ix.byId.get(id)?.parentId ?? null;
|
|
38
|
+
const seen = /* @__PURE__ */ new Set();
|
|
39
|
+
while (cur && !seen.has(cur)) {
|
|
40
|
+
seen.add(cur);
|
|
41
|
+
const node = ix.byId.get(cur);
|
|
42
|
+
if (!node) break;
|
|
43
|
+
out.unshift(node);
|
|
44
|
+
cur = node.parentId;
|
|
45
|
+
}
|
|
46
|
+
return out;
|
|
47
|
+
}
|
|
48
|
+
/** The node and its ancestors, root first — the trail a breadcrumb renders. */
|
|
49
|
+
function fsTrail(ix, id) {
|
|
50
|
+
const node = ix.byId.get(id);
|
|
51
|
+
return node ? [...fsAncestors(ix, id), node] : [];
|
|
52
|
+
}
|
|
53
|
+
/** Every descendant of `id`, depth-first in listing order. */
|
|
54
|
+
function fsDescendants(ix, id) {
|
|
55
|
+
const out = [];
|
|
56
|
+
const walk = (parentId) => {
|
|
57
|
+
for (const child of fsChildren(ix, parentId)) {
|
|
58
|
+
out.push(child);
|
|
59
|
+
if (child.kind !== "file") walk(child.id);
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
walk(id);
|
|
63
|
+
return out;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* A node's address as a path string.
|
|
67
|
+
*
|
|
68
|
+
* The root is dropped by default: a shell that names the root elsewhere — in a switcher, say — would
|
|
69
|
+
* be repeating it on every row for no gain. Pass `{withRoot: true}` where it is not otherwise shown.
|
|
70
|
+
*/
|
|
71
|
+
function fsPath(ix, id, opts) {
|
|
72
|
+
const trail = fsTrail(ix, id);
|
|
73
|
+
return `/${(opts?.withRoot ? trail : trail.filter((n) => n.kind !== "root")).map((n) => n.name).join("/")}`;
|
|
74
|
+
}
|
|
75
|
+
/** The path of a node's PARENT — what "where does this live?" means on a listing row. */
|
|
76
|
+
function fsFolderPath(ix, id, opts) {
|
|
77
|
+
const ancestors = opts?.withRoot ? fsAncestors(ix, id) : fsAncestors(ix, id).filter((n) => n.kind !== "root");
|
|
78
|
+
return ancestors.length === 0 ? "/" : `/${ancestors.map((n) => n.name).join("/")}`;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* A file's own tags PLUS every tag on the folders and project above it.
|
|
82
|
+
*
|
|
83
|
+
* Tags inherit because that is what the facet is asked to mean: a project tagged "riyadh" makes every
|
|
84
|
+
* file under it a file in Riyadh, and a facet answering "no files" for a tag visible on screen would
|
|
85
|
+
* be broken. Counts and matches come from this one function, so the rail can never offer a value that
|
|
86
|
+
* finds nothing.
|
|
87
|
+
*/
|
|
88
|
+
function fsEffectiveTags(ix, id) {
|
|
89
|
+
const node = ix.byId.get(id);
|
|
90
|
+
if (!node) return [];
|
|
91
|
+
const out = new Set(node.tags ?? []);
|
|
92
|
+
for (const ancestor of fsAncestors(ix, id)) for (const tag of ancestor.tags ?? []) out.add(tag);
|
|
93
|
+
return [...out];
|
|
94
|
+
}
|
|
95
|
+
/** The file node addressing a record, found by a predicate the host supplies. */
|
|
96
|
+
function fsFindByRef(ix, matches) {
|
|
97
|
+
return ix.nodes.find((n) => n.ref !== void 0 && matches(n.ref));
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* What a listing shows: the projects and files live under `folderId` (or under the root), narrowed by
|
|
101
|
+
* the facets. Projects first, then files, each run newest first.
|
|
102
|
+
*
|
|
103
|
+
* PROJECTS and FILES, not plain folders. A project is a place you go — opening one changes the page —
|
|
104
|
+
* so it earns a row. A plain folder does not: the folder a file sits in is already printed under its
|
|
105
|
+
* name, and a folder row re-listing what is already visible would be a detour.
|
|
106
|
+
*/
|
|
107
|
+
function fsQuery(ix, opts) {
|
|
108
|
+
const { rootId, folderId, query, types, projectIds, tags } = opts;
|
|
109
|
+
const pool = fsDescendants(ix, folderId ?? rootId);
|
|
110
|
+
const q = query?.trim().toLowerCase() ?? "";
|
|
111
|
+
return [...pool.filter((n) => {
|
|
112
|
+
if (n.trashed) return false;
|
|
113
|
+
if (n.kind !== "file" && n.kind !== "project") return false;
|
|
114
|
+
if (types?.length && (n.kind !== "file" || !n.fileType || !types.includes(n.fileType))) return false;
|
|
115
|
+
if (tags?.length) {
|
|
116
|
+
const effective = fsEffectiveTags(ix, n.id);
|
|
117
|
+
if (!tags.some((t) => effective.includes(t))) return false;
|
|
118
|
+
}
|
|
119
|
+
if (projectIds?.length) {
|
|
120
|
+
const project = n.kind === "project" ? n : fsAncestors(ix, n.id).find((a) => a.kind === "project");
|
|
121
|
+
if (!project || !projectIds.includes(project.id)) return false;
|
|
122
|
+
}
|
|
123
|
+
if (q && !n.name.toLowerCase().includes(q) && !fsFolderPath(ix, n.id).toLowerCase().includes(q)) return false;
|
|
124
|
+
return true;
|
|
125
|
+
})].sort((a, b) => {
|
|
126
|
+
const rank = (n) => n.kind === "project" ? 0 : 1;
|
|
127
|
+
return rank(a) - rank(b) || b.updatedTs - a.updatedTs;
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* One folder's DIRECT children — folders first, then files — for a surface that walks the hierarchy
|
|
132
|
+
* rather than flattening it.
|
|
133
|
+
*
|
|
134
|
+
* The all-files listing flattens on purpose: it answers "where is this?" with a path under every row.
|
|
135
|
+
* Inside a project the question is the opposite — "what is in here?" — and a folder you cannot open is
|
|
136
|
+
* a folder you cannot file anything into, so there the hierarchy is the point.
|
|
137
|
+
*/
|
|
138
|
+
function fsFolderListing(ix, parentId) {
|
|
139
|
+
return fsChildren(ix, parentId).filter((n) => !n.trashed && n.kind !== "root" && n.kind !== "project");
|
|
140
|
+
}
|
|
141
|
+
/** The projects under a root. */
|
|
142
|
+
function fsProjects(ix, rootId) {
|
|
143
|
+
return fsChildren(ix, rootId).filter((n) => n.kind === "project");
|
|
144
|
+
}
|
|
145
|
+
/** Every project under `rootId`, with how many live files sit beneath it — the Projects facet. */
|
|
146
|
+
function fsProjectCounts(ix, rootId) {
|
|
147
|
+
return fsProjects(ix, rootId).map((project) => ({
|
|
148
|
+
id: project.id,
|
|
149
|
+
label: project.name,
|
|
150
|
+
count: fsDescendants(ix, project.id).filter((n) => n.kind === "file" && !n.trashed).length
|
|
151
|
+
}));
|
|
152
|
+
}
|
|
153
|
+
/** Every file type present under `rootId`, with its count — the Types facet. */
|
|
154
|
+
function fsTypeCounts(ix, rootId) {
|
|
155
|
+
const counts = /* @__PURE__ */ new Map();
|
|
156
|
+
for (const n of fsDescendants(ix, rootId)) {
|
|
157
|
+
if (n.kind !== "file" || !n.fileType || n.trashed) continue;
|
|
158
|
+
counts.set(n.fileType, (counts.get(n.fileType) ?? 0) + 1);
|
|
159
|
+
}
|
|
160
|
+
return [...counts.entries()].map(([type, count]) => ({
|
|
161
|
+
type,
|
|
162
|
+
count
|
|
163
|
+
})).sort((a, b) => b.count - a.count);
|
|
164
|
+
}
|
|
165
|
+
/** Every tag matching at least one live file under `rootId`, most-used first — the Tags facet. */
|
|
166
|
+
function fsTagCounts(ix, rootId) {
|
|
167
|
+
const counts = /* @__PURE__ */ new Map();
|
|
168
|
+
for (const n of fsDescendants(ix, rootId)) {
|
|
169
|
+
if (n.kind !== "file" || n.trashed) continue;
|
|
170
|
+
for (const tag of fsEffectiveTags(ix, n.id)) counts.set(tag, (counts.get(tag) ?? 0) + 1);
|
|
171
|
+
}
|
|
172
|
+
return [...counts.entries()].map(([tag, count]) => ({
|
|
173
|
+
tag,
|
|
174
|
+
count
|
|
175
|
+
})).sort((a, b) => b.count - a.count || a.tag.localeCompare(b.tag));
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* The node a draft becomes. Returned rather than appended, so the host decides where its node array
|
|
179
|
+
* lives — the widget never owns the data it renders.
|
|
180
|
+
*
|
|
181
|
+
* Ids are generated rather than derived from the name, so the same name twice cannot collide.
|
|
182
|
+
*/
|
|
183
|
+
function fsNodeFromDraft(draft, id) {
|
|
184
|
+
return {
|
|
185
|
+
id,
|
|
186
|
+
name: draft.name,
|
|
187
|
+
kind: draft.kind,
|
|
188
|
+
parentId: draft.parentId,
|
|
189
|
+
updatedAt: "Just now",
|
|
190
|
+
updatedTs: Number.MAX_SAFE_INTEGER - Math.floor(Math.random() * 1e3),
|
|
191
|
+
...draft.fileType ? { fileType: draft.fileType } : {},
|
|
192
|
+
...draft.description ? { description: draft.description } : {},
|
|
193
|
+
...draft.tags?.length ? { tags: draft.tags } : {},
|
|
194
|
+
...draft.ref !== void 0 ? { ref: draft.ref } : {}
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
//#endregion
|
|
198
|
+
export { buildFileSystemIndex, fsAncestors, fsChildren, fsDescendants, fsEffectiveTags, fsFindByRef, fsFolderListing, fsFolderPath, fsNode, fsNodeFromDraft, fsPath, fsProjectCounts, fsProjects, fsQuery, fsTagCounts, fsTrail, fsTypeCounts };
|
|
199
|
+
|
|
200
|
+
//# sourceMappingURL=model.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model.mjs","names":[],"sources":["../../src/file-system/model.ts"],"sourcesContent":["import type {ComponentType} from \"react\";\n\n// The file system's data model and every query over it — pure, and knowing nothing about any\n// particular product's records.\n//\n// A widget cannot own a fixture. So nodes arrive as a prop, an INDEX is derived from them once, and\n// every function here takes that index. What a \"file\" IS comes from the same direction: the host\n// declares its own file types, with their own labels, icons and tints, and a node names one by id.\n// Nothing in this file mentions a pipeline.\n\n/** What a node IS. Only `file` carries a `ref`; the other three are containers. */\nexport type FileSystemKind = \"root\" | \"project\" | \"folder\" | \"file\";\n\n/**\n * One file type the host offers — the label, mark and tint a node of that type is shown with, and\n * optionally the app that owns its records.\n */\nexport type FileSystemFileType = {\n\tid: string;\n\tlabel: string;\n\ticon: ComponentType<{className?: string}>;\n\t/**\n\t * Background + foreground classes for the tinted square the icon sits in, so a kind is legible\n\t * before its name is read. Omit for a neutral mark.\n\t */\n\ttone?: string;\n\t/**\n\t * The app that owns records of this type, named. When set, creating one is understood to create a\n\t * record there and the create dialog says so; when not, the file is a place and nothing more.\n\t */\n\tapp?: string;\n};\n\nexport type FileSystemNode = {\n\tid: string;\n\tname: string;\n\tkind: FileSystemKind;\n\t/** `null` only for a root. */\n\tparentId: string | null;\n\t/** Display string, not a timestamp — the host formats dates the way the rest of its product does. */\n\tupdatedAt: string;\n\t/** Sort key for the listing's Last modified column. Higher is newer; units are the host's own. */\n\tupdatedTs: number;\n\t/** A file type id, from the host's `fileTypes`. */\n\tfileType?: string;\n\tdescription?: string;\n\ttags?: string[];\n\t/**\n\t * Whatever the host needs to reopen the record this file addresses. Opaque here: the widget only\n\t * ever hands it back, and asks the host — through `openLabel` — whether it leads anywhere.\n\t */\n\tref?: unknown;\n\t/** Retired: still resolvable by id, never listed. */\n\ttrashed?: boolean;\n};\n\n/**\n * The derived lookups every surface reads. Built once per node array: two indexes down the hierarchy\n * and one back up it, so \"which folder is this record in?\" is a map hit rather than a walk of the\n * whole hierarchy on every listing row.\n */\nexport type FileSystemIndex = {\n\tnodes: FileSystemNode[];\n\tbyId: Map<string, FileSystemNode>;\n\tbyParent: Map<string | null, FileSystemNode[]>;\n};\n\n/** Folders first, then files; each run alphabetical, case- and accent-insensitive. */\nfunction compareNodes(a: FileSystemNode, b: FileSystemNode) {\n\tconst aLeaf = a.kind === \"file\" ? 1 : 0;\n\tconst bLeaf = b.kind === \"file\" ? 1 : 0;\n\tif (aLeaf !== bLeaf) return aLeaf - bLeaf;\n\treturn a.name.localeCompare(b.name, undefined, {sensitivity: \"base\"});\n}\n\nexport function buildFileSystemIndex(nodes: FileSystemNode[]): FileSystemIndex {\n\tconst byId = new Map(nodes.map((n) => [n.id, n]));\n\tconst byParent = new Map<string | null, FileSystemNode[]>();\n\tfor (const n of nodes) {\n\t\tconst bucket = byParent.get(n.parentId);\n\t\tif (bucket) bucket.push(n);\n\t\telse byParent.set(n.parentId, [n]);\n\t}\n\t// The order every file browser uses, applied once here so no caller has to remember it.\n\tfor (const bucket of byParent.values()) bucket.sort(compareNodes);\n\treturn {nodes, byId, byParent};\n}\n\nexport function fsNode(ix: FileSystemIndex, id: string): FileSystemNode | undefined {\n\treturn ix.byId.get(id);\n}\n\n/** Direct children, already sorted. Returns a shared array — treat it as read-only. */\nexport function fsChildren(ix: FileSystemIndex, id: string | null): FileSystemNode[] {\n\treturn ix.byParent.get(id) ?? [];\n}\n\n/**\n * Every ancestor of `id`, root first, NOT including the node itself. The breadcrumb above a listing\n * and the location under a row are both this list, formatted differently.\n */\nexport function fsAncestors(ix: FileSystemIndex, id: string): FileSystemNode[] {\n\tconst out: FileSystemNode[] = [];\n\tlet cur = ix.byId.get(id)?.parentId ?? null;\n\t// Guard against a malformed node array cycling forever rather than trusting the data blindly.\n\tconst seen = new Set<string>();\n\twhile (cur && !seen.has(cur)) {\n\t\tseen.add(cur);\n\t\tconst node = ix.byId.get(cur);\n\t\tif (!node) break;\n\t\tout.unshift(node);\n\t\tcur = node.parentId;\n\t}\n\treturn out;\n}\n\n/** The node and its ancestors, root first — the trail a breadcrumb renders. */\nexport function fsTrail(ix: FileSystemIndex, id: string): FileSystemNode[] {\n\tconst node = ix.byId.get(id);\n\treturn node ? [...fsAncestors(ix, id), node] : [];\n}\n\n/** Every descendant of `id`, depth-first in listing order. */\nexport function fsDescendants(ix: FileSystemIndex, id: string): FileSystemNode[] {\n\tconst out: FileSystemNode[] = [];\n\tconst walk = (parentId: string) => {\n\t\tfor (const child of fsChildren(ix, parentId)) {\n\t\t\tout.push(child);\n\t\t\tif (child.kind !== \"file\") walk(child.id);\n\t\t}\n\t};\n\twalk(id);\n\treturn out;\n}\n\n/**\n * A node's address as a path string.\n *\n * The root is dropped by default: a shell that names the root elsewhere — in a switcher, say — would\n * be repeating it on every row for no gain. Pass `{withRoot: true}` where it is not otherwise shown.\n */\nexport function fsPath(ix: FileSystemIndex, id: string, opts?: {withRoot?: boolean}): string {\n\tconst trail = fsTrail(ix, id);\n\tconst segments = opts?.withRoot ? trail : trail.filter((n) => n.kind !== \"root\");\n\treturn `/${segments.map((n) => n.name).join(\"/\")}`;\n}\n\n/** The path of a node's PARENT — what \"where does this live?\" means on a listing row. */\nexport function fsFolderPath(ix: FileSystemIndex, id: string, opts?: {withRoot?: boolean}): string {\n\tconst ancestors = opts?.withRoot ? fsAncestors(ix, id) : fsAncestors(ix, id).filter((n) => n.kind !== \"root\");\n\treturn ancestors.length === 0 ? \"/\" : `/${ancestors.map((n) => n.name).join(\"/\")}`;\n}\n\n/**\n * A file's own tags PLUS every tag on the folders and project above it.\n *\n * Tags inherit because that is what the facet is asked to mean: a project tagged \"riyadh\" makes every\n * file under it a file in Riyadh, and a facet answering \"no files\" for a tag visible on screen would\n * be broken. Counts and matches come from this one function, so the rail can never offer a value that\n * finds nothing.\n */\nexport function fsEffectiveTags(ix: FileSystemIndex, id: string): string[] {\n\tconst node = ix.byId.get(id);\n\tif (!node) return [];\n\tconst out = new Set(node.tags ?? []);\n\tfor (const ancestor of fsAncestors(ix, id)) for (const tag of ancestor.tags ?? []) out.add(tag);\n\treturn [...out];\n}\n\n/** The file node addressing a record, found by a predicate the host supplies. */\nexport function fsFindByRef(ix: FileSystemIndex, matches: (ref: unknown) => boolean): FileSystemNode | undefined {\n\treturn ix.nodes.find((n) => n.ref !== undefined && matches(n.ref));\n}\n\n// ─── Queries the surfaces run ────────────────────────────────────────────────\n\n/**\n * What a listing shows: the projects and files live under `folderId` (or under the root), narrowed by\n * the facets. Projects first, then files, each run newest first.\n *\n * PROJECTS and FILES, not plain folders. A project is a place you go — opening one changes the page —\n * so it earns a row. A plain folder does not: the folder a file sits in is already printed under its\n * name, and a folder row re-listing what is already visible would be a detour.\n */\nexport function fsQuery(\n\tix: FileSystemIndex,\n\topts: {\n\t\trootId: string;\n\t\t/** Narrow to one folder's subtree. Omit for everything under the root. */\n\t\tfolderId?: string | null;\n\t\tquery?: string;\n\t\ttypes?: string[];\n\t\tprojectIds?: string[];\n\t\ttags?: string[];\n\t},\n): FileSystemNode[] {\n\tconst {rootId, folderId, query, types, projectIds, tags} = opts;\n\tconst pool = fsDescendants(ix, folderId ?? rootId);\n\tconst q = query?.trim().toLowerCase() ?? \"\";\n\n\tconst rows = pool.filter((n) => {\n\t\tif (n.trashed) return false;\n\t\tif (n.kind !== \"file\" && n.kind !== \"project\") return false;\n\t\t// A type is a property of a file; a project has none, so it cannot survive that filter.\n\t\tif (types?.length && (n.kind !== \"file\" || !n.fileType || !types.includes(n.fileType))) return false;\n\t\tif (tags?.length) {\n\t\t\tconst effective = fsEffectiveTags(ix, n.id);\n\t\t\tif (!tags.some((t) => effective.includes(t))) return false;\n\t\t}\n\t\tif (projectIds?.length) {\n\t\t\t// A project row answers for itself; a file answers through the project above it.\n\t\t\tconst project = n.kind === \"project\" ? n : fsAncestors(ix, n.id).find((a) => a.kind === \"project\");\n\t\t\tif (!project || !projectIds.includes(project.id)) return false;\n\t\t}\n\t\t// A query matches the name OR the folder it sits in, so a folder's name finds everything filed\n\t\t// under it without the folder being a row.\n\t\tif (q && !n.name.toLowerCase().includes(q) && !fsFolderPath(ix, n.id).toLowerCase().includes(q)) return false;\n\t\treturn true;\n\t});\n\n\t// Projects lead: they are the way into the rest of the list, so burying them among the files they\n\t// contain would hide the entry points. Within each run, newest first.\n\treturn [...rows].sort((a, b) => {\n\t\tconst rank = (n: FileSystemNode) => (n.kind === \"project\" ? 0 : 1);\n\t\treturn rank(a) - rank(b) || b.updatedTs - a.updatedTs;\n\t});\n}\n\n/**\n * One folder's DIRECT children — folders first, then files — for a surface that walks the hierarchy\n * rather than flattening it.\n *\n * The all-files listing flattens on purpose: it answers \"where is this?\" with a path under every row.\n * Inside a project the question is the opposite — \"what is in here?\" — and a folder you cannot open is\n * a folder you cannot file anything into, so there the hierarchy is the point.\n */\nexport function fsFolderListing(ix: FileSystemIndex, parentId: string): FileSystemNode[] {\n\treturn fsChildren(ix, parentId).filter((n) => !n.trashed && n.kind !== \"root\" && n.kind !== \"project\");\n}\n\n/** The projects under a root. */\nexport function fsProjects(ix: FileSystemIndex, rootId: string): FileSystemNode[] {\n\treturn fsChildren(ix, rootId).filter((n) => n.kind === \"project\");\n}\n\n/** Every project under `rootId`, with how many live files sit beneath it — the Projects facet. */\nexport function fsProjectCounts(ix: FileSystemIndex, rootId: string): {id: string; label: string; count: number}[] {\n\treturn fsProjects(ix, rootId).map((project) => ({\n\t\tid: project.id,\n\t\tlabel: project.name,\n\t\tcount: fsDescendants(ix, project.id).filter((n) => n.kind === \"file\" && !n.trashed).length,\n\t}));\n}\n\n/** Every file type present under `rootId`, with its count — the Types facet. */\nexport function fsTypeCounts(ix: FileSystemIndex, rootId: string): {type: string; count: number}[] {\n\tconst counts = new Map<string, number>();\n\tfor (const n of fsDescendants(ix, rootId)) {\n\t\tif (n.kind !== \"file\" || !n.fileType || n.trashed) continue;\n\t\tcounts.set(n.fileType, (counts.get(n.fileType) ?? 0) + 1);\n\t}\n\treturn [...counts.entries()].map(([type, count]) => ({type, count})).sort((a, b) => b.count - a.count);\n}\n\n/** Every tag matching at least one live file under `rootId`, most-used first — the Tags facet. */\nexport function fsTagCounts(ix: FileSystemIndex, rootId: string): {tag: string; count: number}[] {\n\tconst counts = new Map<string, number>();\n\tfor (const n of fsDescendants(ix, rootId)) {\n\t\tif (n.kind !== \"file\" || n.trashed) continue;\n\t\tfor (const tag of fsEffectiveTags(ix, n.id)) counts.set(tag, (counts.get(tag) ?? 0) + 1);\n\t}\n\treturn [...counts.entries()]\n\t\t.map(([tag, count]) => ({tag, count}))\n\t\t.sort((a, b) => b.count - a.count || a.tag.localeCompare(b.tag));\n}\n\n// ─── Creating ────────────────────────────────────────────────────────────────\n\nexport type FileSystemDraft = {\n\tname: string;\n\tkind: Extract<FileSystemKind, \"project\" | \"folder\" | \"file\">;\n\tparentId: string;\n\tfileType?: string;\n\tdescription?: string;\n\ttags?: string[];\n\tref?: unknown;\n};\n\n/**\n * The node a draft becomes. Returned rather than appended, so the host decides where its node array\n * lives — the widget never owns the data it renders.\n *\n * Ids are generated rather than derived from the name, so the same name twice cannot collide.\n */\nexport function fsNodeFromDraft(draft: FileSystemDraft, id: string): FileSystemNode {\n\treturn {\n\t\tid,\n\t\tname: draft.name,\n\t\tkind: draft.kind,\n\t\tparentId: draft.parentId,\n\t\tupdatedAt: \"Just now\",\n\t\t// Above any seeded stamp, so a new node sorts to the top of a newest-first listing.\n\t\tupdatedTs: Number.MAX_SAFE_INTEGER - Math.floor(Math.random() * 1000),\n\t\t...(draft.fileType ? {fileType: draft.fileType} : {}),\n\t\t...(draft.description ? {description: draft.description} : {}),\n\t\t...(draft.tags?.length ? {tags: draft.tags} : {}),\n\t\t...(draft.ref !== undefined ? {ref: draft.ref} : {}),\n\t};\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { PopoverContent } from "./popover.mjs";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
//#region src/filter.d.ts
|
|
4
|
+
/** Applied filter state — keyed by category id. */
|
|
5
|
+
export type FilterValue = Record<string, readonly string[]>;
|
|
6
|
+
interface FilterContextValue {
|
|
7
|
+
open: boolean;
|
|
8
|
+
setOpen: (o: boolean) => void;
|
|
9
|
+
applied: FilterValue;
|
|
10
|
+
draft: FilterValue;
|
|
11
|
+
toggleDraft: (categoryId: string, optionValue: string) => void;
|
|
12
|
+
clearDraft: () => void;
|
|
13
|
+
/** Clear both draft and applied selections and commit immediately (no Apply needed). */
|
|
14
|
+
clearAll: () => void;
|
|
15
|
+
applyDraft: () => void;
|
|
16
|
+
/** Drop one applied (category, option) selection and commit immediately — what a chip's × does. */
|
|
17
|
+
removeApplied: (categoryId: string, optionValue: string) => void;
|
|
18
|
+
appliedCount: number;
|
|
19
|
+
}
|
|
20
|
+
declare function useFilter(): FilterContextValue;
|
|
21
|
+
/**
|
|
22
|
+
* Filter context if there is one, otherwise null — for surfaces that render an applied-filter
|
|
23
|
+
* strip when wrapped in a <Filter> but must still work standalone (e.g. DataTable).
|
|
24
|
+
*/
|
|
25
|
+
declare function useOptionalFilter(): FilterContextValue | null;
|
|
26
|
+
interface FilterProps {
|
|
27
|
+
/** Controlled applied value. */
|
|
28
|
+
value?: FilterValue;
|
|
29
|
+
/** Uncontrolled initial value. */
|
|
30
|
+
defaultValue?: FilterValue;
|
|
31
|
+
/** Fires when Apply commits the draft. */
|
|
32
|
+
onChange?: (next: FilterValue) => void;
|
|
33
|
+
children: React.ReactNode;
|
|
34
|
+
}
|
|
35
|
+
declare function Filter({ value, defaultValue, onChange, children }: FilterProps): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
interface FilterTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
37
|
+
/** Override the default Filter icon. */
|
|
38
|
+
icon?: React.ReactNode;
|
|
39
|
+
/** Override the aria-label (defaults to "Filter" / "Filter (N active)"). */
|
|
40
|
+
"aria-label"?: string;
|
|
41
|
+
/** Hover/focus hint. Defaults to the aria-label; pass `null` to suppress it. */
|
|
42
|
+
tooltip?: React.ReactNode;
|
|
43
|
+
}
|
|
44
|
+
declare const FilterTrigger: React.ForwardRefExoticComponent<FilterTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
45
|
+
interface FilterContentProps extends Omit<React.ComponentPropsWithoutRef<typeof PopoverContent>, "title"> {
|
|
46
|
+
/** Header heading (sticky). Default: "Filter". */
|
|
47
|
+
heading?: React.ReactNode;
|
|
48
|
+
/** Override footer. Default = Clear + Apply buttons wired to context. */
|
|
49
|
+
footer?: React.ReactNode;
|
|
50
|
+
/** Which category is open by default. If omitted, the first FilterCategory
|
|
51
|
+
* child's `value` is used. Pass `null` to start with all collapsed. */
|
|
52
|
+
defaultOpenCategory?: string | null;
|
|
53
|
+
children: React.ReactNode;
|
|
54
|
+
}
|
|
55
|
+
declare const FilterContent: React.ForwardRefExoticComponent<FilterContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
56
|
+
interface FilterCategoryProps {
|
|
57
|
+
/** Category id — also used as the AccordionItem value and as the key into
|
|
58
|
+
* `FilterValue` for selections in this category. */
|
|
59
|
+
value: string;
|
|
60
|
+
label: React.ReactNode;
|
|
61
|
+
children: React.ReactNode;
|
|
62
|
+
/** Hide the count badge in the trigger. */
|
|
63
|
+
hideCount?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Options to show before the list starts scrolling in place. Long lists (trades, companies)
|
|
66
|
+
* would otherwise push Apply/Clear out of reach. Pass `false` to let the category grow.
|
|
67
|
+
*/
|
|
68
|
+
maxVisibleOptions?: number | false;
|
|
69
|
+
}
|
|
70
|
+
declare function FilterCategory({ value, label, children, hideCount, maxVisibleOptions }: FilterCategoryProps): import("react/jsx-runtime").JSX.Element;
|
|
71
|
+
interface FilterOptionProps {
|
|
72
|
+
value: string;
|
|
73
|
+
children: React.ReactNode;
|
|
74
|
+
disabled?: boolean;
|
|
75
|
+
}
|
|
76
|
+
declare function FilterOption({ value, children, disabled }: FilterOptionProps): import("react/jsx-runtime").JSX.Element;
|
|
77
|
+
interface FilterChipsProps {
|
|
78
|
+
/** The applied filter value (same shape emitted by <Filter> onChange). */
|
|
79
|
+
value: FilterValue;
|
|
80
|
+
/** Remove a single (category, option) selection. */
|
|
81
|
+
onRemove: (categoryId: string, optionValue: string) => void;
|
|
82
|
+
/** When provided and more than one chip is shown, renders a "Clear all" affordance. */
|
|
83
|
+
onClear?: () => void;
|
|
84
|
+
/** Resolve a friendly label for a (categoryId, optionValue). Defaults to the raw option value. */
|
|
85
|
+
renderLabel?: (categoryId: string, optionValue: string) => React.ReactNode;
|
|
86
|
+
className?: string;
|
|
87
|
+
}
|
|
88
|
+
/** A wrap of removable chips for the currently-applied filter selections. Renders nothing when empty. */
|
|
89
|
+
declare function FilterChips({ value, onRemove, onClear, renderLabel, className }: FilterChipsProps): import("react/jsx-runtime").JSX.Element | null;
|
|
90
|
+
//#endregion
|
|
91
|
+
export { Filter, FilterCategory, FilterChips, FilterContent, FilterOption, FilterTrigger, useFilter, useOptionalFilter };
|
|
92
|
+
//# sourceMappingURL=filter.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter.d.mts","names":[],"sources":["../src/filter.tsx"],"mappings":";;;;YA8CY,cAAc;UAEhB;EACT;EACA,UAAU;EACV,SAAS;EACT,OAAO;EACP,cAAc,oBAAoB;EAClC;;EAEA;EACA;;EAEA,gBAAgB,oBAAoB;EACpC;;iBAKQ,aAAS;;;;;iBAUT,qBAAiB;UAgBhB;;EAET,QAAQ;;EAER,eAAe;;EAEf,YAAY,MAAM;EAClB,UAAU,MAAM;;iBAGR,SAAQ,OAAO,cAAc,UAAU,YAAW,0CAAW,IAAA;UAyF5D,2BAA2B,MAAM,qBAAqB;;EAE/D,OAAO,MAAM;;EAEb;;EAEA,UAAU,MAAM;;cAGX,eAAa,MAAA,0BAAA,qBAAA,MAAA,cAAA;UA0CT,2BAA2B,KAAK,MAAM,gCAAgC;;EAE/E,UAAU,MAAM;;EAEhB,SAAS,MAAM;;;EAGf;EACA,UAAU,MAAM;;cAGX,eAAa,MAAA,0BAAA,qBAAA,MAAA,cAAA;UAwDT;;;EAGT;EACA,OAAO,MAAM;EACb,UAAU,MAAM;;EAEhB;;;;;EAKA;;iBAGQ,iBAAgB,OAAO,OAAO,UAAU,WAAW,qBAAwB,kDAAmB,IAAA;UAwC7F;EACT;EACA,UAAU,MAAM;EAChB;;iBAGQ,eAAc,OAAO,UAAU,YAAW,gDAAiB,IAAA;UAgC1D;;EAET,OAAO;;EAEP,WAAW,oBAAoB;;EAE/B;;EAEA,eAAe,oBAAoB,wBAAwB,MAAM;EACjE;;;iBAIQ,cAAa,OAAO,UAAU,SAAS,aAAa,aAAY,+CAAgB,IAAA"}
|