@pstdio/ui 0.25.0 → 0.35.0
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/README.md +8 -1
- package/dist/EquationComponent-DDd5UoIP.js +65 -0
- package/dist/EquationComponent-DDd5UoIP.js.map +1 -0
- package/dist/MermaidComponent-DGDnQ6pb.js +90 -0
- package/dist/MermaidComponent-DGDnQ6pb.js.map +1 -0
- package/dist/browser-storage-C_ipoNwP.js +37 -0
- package/dist/browser-storage-C_ipoNwP.js.map +1 -0
- package/dist/chat-ui.d.ts +688 -2
- package/dist/chat-ui.js +3272 -2763
- package/dist/chat-ui.js.map +1 -1
- package/dist/data-table-stats-row-DNJG8tLZ.js +415 -0
- package/dist/data-table-stats-row-DNJG8tLZ.js.map +1 -0
- package/dist/data-table.d.ts +143 -2
- package/dist/data-table.js +1216 -1188
- package/dist/data-table.js.map +1 -1
- package/dist/diff-bubble-DZsarmSG.js +61 -0
- package/dist/diff-bubble-DZsarmSG.js.map +1 -0
- package/dist/diff-drawer-45rpk3aq.js +776 -0
- package/dist/diff-drawer-45rpk3aq.js.map +1 -0
- package/dist/diff-editor-CGpeyoCE.js +124 -0
- package/dist/diff-editor-CGpeyoCE.js.map +1 -0
- package/dist/diff-size-Dydn_Uw5.js +61 -0
- package/dist/diff-size-Dydn_Uw5.js.map +1 -0
- package/dist/diff-viewer-hGkaF_zW.js +558 -0
- package/dist/diff-viewer-hGkaF_zW.js.map +1 -0
- package/dist/diff.d.ts +128 -2
- package/dist/diff.js +163 -1300
- package/dist/diff.js.map +1 -1
- package/dist/empty-state-3mVV_pV-.js +38 -0
- package/dist/empty-state-3mVV_pV-.js.map +1 -0
- package/dist/file-change-badge-0QFNv82B.js +64 -0
- package/dist/file-change-badge-0QFNv82B.js.map +1 -0
- package/dist/index-BfFLdci8.d.ts +189 -0
- package/dist/index-Dd6e8lU_.d.ts +61 -0
- package/dist/index-DlmvvQ6x.d.ts +143 -0
- package/dist/index.d.ts +1508 -41
- package/dist/index.js +3167 -3173
- package/dist/index.js.map +1 -1
- package/dist/kanban-renderer.d.ts +337 -2
- package/dist/kanban-renderer.js +1413 -1084
- package/dist/kanban-renderer.js.map +1 -1
- package/dist/list-row-De9R2zKU.js +1008 -0
- package/dist/list-row-De9R2zKU.js.map +1 -0
- package/dist/mermaid-renderer-DImi0fDp.js +553 -0
- package/dist/mermaid-renderer-DImi0fDp.js.map +1 -0
- package/dist/mermaid.d.ts +12 -2
- package/dist/mermaid.js +2 -5
- package/dist/monaco-browser-CLRPSE4-.js +14 -0
- package/dist/monaco-browser-CLRPSE4-.js.map +1 -0
- package/dist/param-editor-IJzw1cA2.js +225 -0
- package/dist/param-editor-IJzw1cA2.js.map +1 -0
- package/dist/param-editor-field-DscIjv8s.js +2368 -0
- package/dist/param-editor-field-DscIjv8s.js.map +1 -0
- package/dist/param-editor.d.ts +407 -0
- package/dist/param-editor.js +3 -0
- package/dist/prism-pSHJejZx.js +646 -0
- package/dist/prism-pSHJejZx.js.map +1 -0
- package/dist/radio-CiFrDN6O.js +54 -0
- package/dist/radio-CiFrDN6O.js.map +1 -0
- package/dist/resource-badge-95WPVlZf.d.ts +76 -0
- package/dist/rich-text-DtQpHBlX.js +7018 -0
- package/dist/rich-text-DtQpHBlX.js.map +1 -0
- package/dist/rich-text.d.ts +3 -2
- package/dist/rich-text.js +2 -265
- package/dist/rolldown-runtime-Dy4uBu1J.js +11 -0
- package/dist/scroll-area-Cr1lNXAr.js +100 -0
- package/dist/scroll-area-Cr1lNXAr.js.map +1 -0
- package/dist/slider-hwHYe98I.js +423 -0
- package/dist/slider-hwHYe98I.js.map +1 -0
- package/dist/style.css +2 -1
- package/dist/terminal.d.ts +203 -2
- package/dist/terminal.js +324 -357
- package/dist/terminal.js.map +1 -1
- package/dist/theme-kSkOHzbV.js +2852 -0
- package/dist/theme-kSkOHzbV.js.map +1 -0
- package/dist/theme-preference-pzfuK5cH.js +101 -0
- package/dist/theme-preference-pzfuK5cH.js.map +1 -0
- package/dist/theme.d.ts +3 -2
- package/dist/theme.js +2 -15
- package/dist/tree-list-BUfDQz3v.js +1449 -0
- package/dist/tree-list-BUfDQz3v.js.map +1 -0
- package/dist/types-yjKBk07w.d.ts +161 -0
- package/dist/workspace-badge-9g78pXHS.js +245 -0
- package/dist/workspace-badge-9g78pXHS.js.map +1 -0
- package/dist/workspace-badge-CkJ_jTQw.d.ts +75 -0
- package/dist-monaco/assets/codicon-ngg6Pgfi.ttf +0 -0
- package/dist-monaco/assets/css.worker-DFdt6_zu.js +89 -0
- package/dist-monaco/assets/editor.worker-O-CH8JUO.js +26 -0
- package/dist-monaco/assets/html.worker-JUzsMP-j.js +502 -0
- package/dist-monaco/assets/json.worker-B4dEhy0e.js +58 -0
- package/dist-monaco/assets/ts.worker-CmEKzkmF.js +67734 -0
- package/dist-monaco/monaco.css +1 -0
- package/dist-monaco/monaco.js +1201 -0
- package/package.json +30 -12
- package/dist/EquationComponent-DeDYHvqY.js +0 -62
- package/dist/EquationComponent-DeDYHvqY.js.map +0 -1
- package/dist/MermaidComponent-BVdDqDRU.js +0 -60
- package/dist/MermaidComponent-BVdDqDRU.js.map +0 -1
- package/dist/browser-storage-DPtOQJx0.js +0 -127
- package/dist/browser-storage-DPtOQJx0.js.map +0 -1
- package/dist/components/activity/activity-avatar.d.ts +0 -9
- package/dist/components/activity/activity-comment.d.ts +0 -27
- package/dist/components/activity/activity-composer.d.ts +0 -18
- package/dist/components/activity/activity-event.d.ts +0 -12
- package/dist/components/activity/activity-root.d.ts +0 -15
- package/dist/components/activity/activity-timeline.d.ts +0 -6
- package/dist/components/activity/activity.types.d.ts +0 -5
- package/dist/components/activity/index.d.ts +0 -27
- package/dist/components/activity/resource-activity-feed.d.ts +0 -58
- package/dist/components/chat-ui/components/ai-conversation.d.ts +0 -603
- package/dist/components/chat-ui/components/ai-message.d.ts +0 -91
- package/dist/components/chat-ui/components/ai-response.d.ts +0 -5
- package/dist/components/chat-ui/components/approval-prompt.d.ts +0 -8
- package/dist/components/chat-ui/components/attachment-list.d.ts +0 -23
- package/dist/components/chat-ui/components/auto-scroll.d.ts +0 -37
- package/dist/components/chat-ui/components/chat-input-actions.d.ts +0 -13
- package/dist/components/chat-ui/components/chat-input-attachments.d.ts +0 -12
- package/dist/components/chat-ui/components/chat-input-question-prompt.d.ts +0 -36
- package/dist/components/chat-ui/components/chat-input.d.ts +0 -31
- package/dist/components/chat-ui/components/chat-message-animation.d.ts +0 -22
- package/dist/components/chat-ui/components/chat-message-list-items.d.ts +0 -17
- package/dist/components/chat-ui/components/chat-message-list.d.ts +0 -12
- package/dist/components/chat-ui/components/chat-panel-sticky-user-message.d.ts +0 -13
- package/dist/components/chat-ui/components/chat-panel.d.ts +0 -45
- package/dist/components/chat-ui/components/chat-skeleton.d.ts +0 -1
- package/dist/components/chat-ui/components/composer-constants.d.ts +0 -1
- package/dist/components/chat-ui/components/conversation-browse.d.ts +0 -22
- package/dist/components/chat-ui/components/message-action-panel.d.ts +0 -10
- package/dist/components/chat-ui/components/message-parts-renderer.d.ts +0 -13
- package/dist/components/chat-ui/components/message-types.d.ts +0 -116
- package/dist/components/chat-ui/components/model-swap-separator.d.ts +0 -5
- package/dist/components/chat-ui/components/queued-follow-up-list-state.d.ts +0 -4
- package/dist/components/chat-ui/components/queued-follow-up-list.d.ts +0 -11
- package/dist/components/chat-ui/components/send-button.d.ts +0 -7
- package/dist/components/chat-ui/components/timeline-title.d.ts +0 -6
- package/dist/components/chat-ui/components/timeline-tool-blocks.d.ts +0 -14
- package/dist/components/chat-ui/components/timeline.d.ts +0 -113
- package/dist/components/chat-ui/components/tool-invocation-timeline.d.ts +0 -8
- package/dist/components/chat-ui/components/working-indicator.d.ts +0 -9
- package/dist/components/chat-ui/components/workspace-hub.d.ts +0 -19
- package/dist/components/chat-ui/index.d.ts +0 -19
- package/dist/components/chat-ui/mocks/library/index.d.ts +0 -10
- package/dist/components/chat-ui/performance/chat-mount-metrics.d.ts +0 -37
- package/dist/components/chat-ui/performance/chat-panel.perf.d.ts +0 -18
- package/dist/components/chat-ui/performance/chat-performance-fixtures.d.ts +0 -28
- package/dist/components/chat-ui/performance/chat-performance-panel.d.ts +0 -23
- package/dist/components/chat-ui/performance/chat-performance-story-utils.d.ts +0 -30
- package/dist/components/chat-ui/tool-rendering/apply-patch-renderer.d.ts +0 -2
- package/dist/components/chat-ui/tool-rendering/build-timeline.d.ts +0 -13
- package/dist/components/chat-ui/tool-rendering/default-renderers.d.ts +0 -13
- package/dist/components/chat-ui/tool-rendering/edit-renderer.d.ts +0 -2
- package/dist/components/chat-ui/tool-rendering/index.d.ts +0 -3
- package/dist/components/chat-ui/tool-rendering/question-prompt.d.ts +0 -9
- package/dist/components/chat-ui/tool-rendering/question-renderer.d.ts +0 -10
- package/dist/components/chat-ui/tool-rendering/shared.d.ts +0 -53
- package/dist/components/chat-ui/tool-rendering/standard-renderers.d.ts +0 -7
- package/dist/components/chat-ui/tool-rendering/todowrite-renderer.d.ts +0 -10
- package/dist/components/chat-ui/tool-rendering/types.d.ts +0 -12
- package/dist/components/chat-ui/utils/diff.d.ts +0 -21
- package/dist/components/chat-ui/utils/editor-state.d.ts +0 -1
- package/dist/components/chat-ui/utils/get-icon.d.ts +0 -36
- package/dist/components/chat-ui/utils/tool-name.d.ts +0 -2
- package/dist/components/command-palette/index.d.ts +0 -4
- package/dist/components/command-palette/palette-filter.d.ts +0 -23
- package/dist/components/command-palette/palette-list.d.ts +0 -11
- package/dist/components/command-palette/palette-shortcut.d.ts +0 -12
- package/dist/components/command-palette/palette.d.ts +0 -48
- package/dist/components/data-table/build-columns.d.ts +0 -16
- package/dist/components/data-table/categorical-color-cell.d.ts +0 -8
- package/dist/components/data-table/color-cell-style.d.ts +0 -13
- package/dist/components/data-table/color-scale-cell.d.ts +0 -7
- package/dist/components/data-table/data-table-column-menu.d.ts +0 -17
- package/dist/components/data-table/data-table-header.d.ts +0 -12
- package/dist/components/data-table/data-table-row-display.d.ts +0 -11
- package/dist/components/data-table/data-table-skeleton.d.ts +0 -13
- package/dist/components/data-table/data-table-stat-chart.d.ts +0 -21
- package/dist/components/data-table/data-table-state.d.ts +0 -27
- package/dist/components/data-table/data-table-stats-row.d.ts +0 -11
- package/dist/components/data-table/data-table-stats.d.ts +0 -19
- package/dist/components/data-table/data-table-table-parts.d.ts +0 -22
- package/dist/components/data-table/data-table.d.ts +0 -2
- package/dist/components/data-table/data-table.story-descriptions.d.ts +0 -6
- package/dist/components/data-table/data-table.story-fixtures.d.ts +0 -6
- package/dist/components/data-table/edit-mode-data-table-body.d.ts +0 -30
- package/dist/components/data-table/edit-mode-data-table-cell.d.ts +0 -16
- package/dist/components/data-table/edit-mode-data-table-editors.d.ts +0 -19
- package/dist/components/data-table/edit-mode-data-table-header.d.ts +0 -24
- package/dist/components/data-table/edit-mode-data-table-selection.d.ts +0 -12
- package/dist/components/data-table/edit-mode-data-table.d.ts +0 -2
- package/dist/components/data-table/edit-mode-story.d.ts +0 -5
- package/dist/components/data-table/friendly-json-display.d.ts +0 -31
- package/dist/components/data-table/helpers.d.ts +0 -10
- package/dist/components/data-table/index.d.ts +0 -7
- package/dist/components/data-table/json-cell.d.ts +0 -6
- package/dist/components/data-table/pagination-footer.d.ts +0 -11
- package/dist/components/data-table/selection-toolbar.d.ts +0 -11
- package/dist/components/data-table/types.d.ts +0 -117
- package/dist/components/diff-viewer/build-changed-files-tree.d.ts +0 -4
- package/dist/components/diff-viewer/code-editor.d.ts +0 -43
- package/dist/components/diff-viewer/diff-bubble.d.ts +0 -14
- package/dist/components/diff-viewer/diff-card-body.d.ts +0 -60
- package/dist/components/diff-viewer/diff-card-content.d.ts +0 -23
- package/dist/components/diff-viewer/diff-card-load-state.d.ts +0 -9
- package/dist/components/diff-viewer/diff-card.d.ts +0 -46
- package/dist/components/diff-viewer/diff-drawer-empty-state.d.ts +0 -1
- package/dist/components/diff-viewer/diff-drawer-height.d.ts +0 -10
- package/dist/components/diff-viewer/diff-drawer-scroll.d.ts +0 -28
- package/dist/components/diff-viewer/diff-drawer.d.ts +0 -29
- package/dist/components/diff-viewer/diff-editor.d.ts +0 -20
- package/dist/components/diff-viewer/diff-size.d.ts +0 -16
- package/dist/components/diff-viewer/diff-view-adapter.d.ts +0 -27
- package/dist/components/diff-viewer/diff-viewer-options-menu.d.ts +0 -16
- package/dist/components/diff-viewer/diff-viewer.d.ts +0 -14
- package/dist/components/diff-viewer/diff-viewer.store.d.ts +0 -21
- package/dist/components/diff-viewer/file-change-badge.d.ts +0 -3
- package/dist/components/diff-viewer/file-list-panel.d.ts +0 -18
- package/dist/components/diff-viewer/index.d.ts +0 -9
- package/dist/components/diff-viewer/monaco-browser.d.ts +0 -1
- package/dist/components/diff-viewer/types.d.ts +0 -13
- package/dist/components/diff-viewer/use-selected-diff-scroll.d.ts +0 -23
- package/dist/components/file-browser/column-file-browser.d.ts +0 -20
- package/dist/components/internal/performance-panel.d.ts +0 -40
- package/dist/components/internal/style-guide.d.ts +0 -14
- package/dist/components/internal/token-editor-controls.d.ts +0 -8
- package/dist/components/internal/token-editor-data.d.ts +0 -40
- package/dist/components/internal/token-editor-state.d.ts +0 -22
- package/dist/components/kanban-renderer/collection-badge.d.ts +0 -7
- package/dist/components/kanban-renderer/display-menu.d.ts +0 -16
- package/dist/components/kanban-renderer/filter-menu.d.ts +0 -12
- package/dist/components/kanban-renderer/index.d.ts +0 -19
- package/dist/components/kanban-renderer/kanban-renderer-attribute-badge.d.ts +0 -7
- package/dist/components/kanban-renderer/kanban-renderer-badge-helpers.d.ts +0 -46
- package/dist/components/kanban-renderer/kanban-renderer-board-column-header.d.ts +0 -8
- package/dist/components/kanban-renderer/kanban-renderer-board-group-section.d.ts +0 -17
- package/dist/components/kanban-renderer/kanban-renderer-board-move.d.ts +0 -21
- package/dist/components/kanban-renderer/kanban-renderer-board.d.ts +0 -49
- package/dist/components/kanban-renderer/kanban-renderer-card.d.ts +0 -17
- package/dist/components/kanban-renderer/kanban-renderer-content.d.ts +0 -27
- package/dist/components/kanban-renderer/kanban-renderer-create-dialog.d.ts +0 -12
- package/dist/components/kanban-renderer/kanban-renderer-create-field.d.ts +0 -10
- package/dist/components/kanban-renderer/kanban-renderer-enum-helpers.d.ts +0 -10
- package/dist/components/kanban-renderer/kanban-renderer-grouping.d.ts +0 -23
- package/dist/components/kanban-renderer/kanban-renderer-helpers.d.ts +0 -58
- package/dist/components/kanban-renderer/kanban-renderer-list-items.d.ts +0 -25
- package/dist/components/kanban-renderer/kanban-renderer-list.d.ts +0 -43
- package/dist/components/kanban-renderer/kanban-renderer-story-fixtures.d.ts +0 -14
- package/dist/components/kanban-renderer/kanban-renderer-toolbar.d.ts +0 -15
- package/dist/components/kanban-renderer/kanban-renderer-view-bar.d.ts +0 -14
- package/dist/components/kanban-renderer/kanban-renderer-views.d.ts +0 -12
- package/dist/components/kanban-renderer/kanban-renderer.d.ts +0 -43
- package/dist/components/kanban-renderer/types.d.ts +0 -159
- package/dist/components/kanban-renderer/use-kanban-renderer-store.d.ts +0 -78
- package/dist/components/kanban-renderer/use-resolved-attributes.d.ts +0 -14
- package/dist/components/layout/header.d.ts +0 -7
- package/dist/components/layout/horizontal-menu-stack.d.ts +0 -6
- package/dist/components/layout/index.d.ts +0 -8
- package/dist/components/layout/item-section.d.ts +0 -11
- package/dist/components/layout/panel-header.constants.d.ts +0 -3
- package/dist/components/layout/resizable-split-layout.d.ts +0 -22
- package/dist/components/layout/resizable-split-layout.geometry.d.ts +0 -56
- package/dist/components/layout/resizable-split-layout.handle.d.ts +0 -25
- package/dist/components/layout/resizable-split-layout.panels.d.ts +0 -29
- package/dist/components/layout/resizable-split-layout.root-size.d.ts +0 -3
- package/dist/components/list-row/list-row-actions.d.ts +0 -11
- package/dist/components/list-row/list-row-chrome.d.ts +0 -11
- package/dist/components/list-row/list-row-content.d.ts +0 -17
- package/dist/components/list-row/list-row-menu.d.ts +0 -12
- package/dist/components/list-row/list-row-root-props.d.ts +0 -34
- package/dist/components/list-row/list-row.d.ts +0 -2
- package/dist/components/list-row/list-row.types.d.ts +0 -109
- package/dist/components/list-row/searchable-action-menu.d.ts +0 -6
- package/dist/components/mermaid-renderer/download-png.d.ts +0 -7
- package/dist/components/mermaid-renderer/index.d.ts +0 -2
- package/dist/components/mermaid-renderer/mermaid-error-state.d.ts +0 -6
- package/dist/components/mermaid-renderer/mermaid-fixtures.d.ts +0 -9
- package/dist/components/mermaid-renderer/mermaid-fullscreen.d.ts +0 -10
- package/dist/components/mermaid-renderer/mermaid-renderer.d.ts +0 -8
- package/dist/components/mermaid-renderer/mermaid-svg-view.d.ts +0 -12
- package/dist/components/mermaid-renderer/mermaid-toolbar.d.ts +0 -12
- package/dist/components/mermaid-renderer/mermaid-zoom.d.ts +0 -6
- package/dist/components/mermaid-renderer/svg-data-url.d.ts +0 -6
- package/dist/components/mermaid-renderer/use-mermaid-render.d.ts +0 -5
- package/dist/components/notification-center/index.d.ts +0 -2
- package/dist/components/notification-center/notification-center.d.ts +0 -2
- package/dist/components/notification-center/notification-center.types.d.ts +0 -37
- package/dist/components/overlays/attached-menu.d.ts +0 -6
- package/dist/components/overlays/attached-panel.d.ts +0 -9
- package/dist/components/overlays/attachment-chip.d.ts +0 -13
- package/dist/components/overlays/bubble-button.d.ts +0 -10
- package/dist/components/overlays/bubble-panel.d.ts +0 -18
- package/dist/components/overlays/delete-confirmation-modal.d.ts +0 -13
- package/dist/components/overlays/dialog-accept-shortcut.d.ts +0 -12
- package/dist/components/overlays/index.d.ts +0 -17
- package/dist/components/overlays/repo-picker-dialog.d.ts +0 -25
- package/dist/components/overlays/resource-context-menu.d.ts +0 -35
- package/dist/components/overlays/search-modal-content.d.ts +0 -20
- package/dist/components/overlays/searchable-menu-input.d.ts +0 -9
- package/dist/components/overlays/searchable-menu.d.ts +0 -65
- package/dist/components/param-editor/index.d.ts +0 -31
- package/dist/components/param-editor/inputs/action-input.d.ts +0 -14
- package/dist/components/param-editor/inputs/anchor-grid-input.d.ts +0 -12
- package/dist/components/param-editor/inputs/anchor-grid.d.ts +0 -4
- package/dist/components/param-editor/inputs/boolean-input.d.ts +0 -13
- package/dist/components/param-editor/inputs/color-input.d.ts +0 -14
- package/dist/components/param-editor/inputs/date-input.d.ts +0 -16
- package/dist/components/param-editor/inputs/file-upload-input.d.ts +0 -15
- package/dist/components/param-editor/inputs/file-upload-value.d.ts +0 -7
- package/dist/components/param-editor/inputs/horizontal-text-input.d.ts +0 -13
- package/dist/components/param-editor/inputs/markdown-input.d.ts +0 -13
- package/dist/components/param-editor/inputs/number-input.d.ts +0 -18
- package/dist/components/param-editor/inputs/numeric-value.d.ts +0 -6
- package/dist/components/param-editor/inputs/range-input.d.ts +0 -18
- package/dist/components/param-editor/inputs/range-value.d.ts +0 -5
- package/dist/components/param-editor/inputs/resource-input-chips.d.ts +0 -15
- package/dist/components/param-editor/inputs/resource-input.d.ts +0 -20
- package/dist/components/param-editor/inputs/segmented-input.d.ts +0 -15
- package/dist/components/param-editor/inputs/selection-input.d.ts +0 -27
- package/dist/components/param-editor/inputs/selection-menu.d.ts +0 -39
- package/dist/components/param-editor/inputs/slider-marks.d.ts +0 -5
- package/dist/components/param-editor/inputs/text-input.d.ts +0 -14
- package/dist/components/param-editor/inputs/vector-input.d.ts +0 -17
- package/dist/components/param-editor/inputs/vector-value.d.ts +0 -7
- package/dist/components/param-editor/param-editor-advanced-field.d.ts +0 -14
- package/dist/components/param-editor/param-editor-control-fixtures.d.ts +0 -24
- package/dist/components/param-editor/param-editor-control-item.d.ts +0 -15
- package/dist/components/param-editor/param-editor-control-list.d.ts +0 -5
- package/dist/components/param-editor/param-editor-field-label.d.ts +0 -1
- package/dist/components/param-editor/param-editor-field.d.ts +0 -13
- package/dist/components/param-editor/param-editor-horizontal.d.ts +0 -11
- package/dist/components/param-editor/param-editor-inline-group.d.ts +0 -5
- package/dist/components/param-editor/param-editor-label.d.ts +0 -7
- package/dist/components/param-editor/param-editor-presentation.d.ts +0 -3
- package/dist/components/param-editor/param-editor-read-only-field.d.ts +0 -9
- package/dist/components/param-editor/param-editor-read-only-value.d.ts +0 -8
- package/dist/components/param-editor/param-editor-row.d.ts +0 -17
- package/dist/components/param-editor/param-editor-section.d.ts +0 -17
- package/dist/components/param-editor/param-editor.d.ts +0 -12
- package/dist/components/param-editor/param-editor.types.d.ts +0 -31
- package/dist/components/param-editor/resolve-param-value.d.ts +0 -2
- package/dist/components/primitives/alert.d.ts +0 -9
- package/dist/components/primitives/breadcrumb.d.ts +0 -20
- package/dist/components/primitives/checkbox.d.ts +0 -8
- package/dist/components/primitives/chip.d.ts +0 -4
- package/dist/components/primitives/content-placeholder.d.ts +0 -6
- package/dist/components/primitives/empty-state.d.ts +0 -12
- package/dist/components/primitives/error-boundary.d.ts +0 -26
- package/dist/components/primitives/glyph-icon.d.ts +0 -16
- package/dist/components/primitives/icon-color-picker.d.ts +0 -15
- package/dist/components/primitives/icon-options.d.ts +0 -301
- package/dist/components/primitives/index.d.ts +0 -39
- package/dist/components/primitives/info-card.d.ts +0 -12
- package/dist/components/primitives/integration-card.d.ts +0 -12
- package/dist/components/primitives/number-input.d.ts +0 -6
- package/dist/components/primitives/radio.d.ts +0 -8
- package/dist/components/primitives/resource-badge.d.ts +0 -64
- package/dist/components/primitives/scroll-area.d.ts +0 -17
- package/dist/components/primitives/segmented-control.d.ts +0 -20
- package/dist/components/primitives/session-indicator.d.ts +0 -15
- package/dist/components/primitives/simple-card.d.ts +0 -5
- package/dist/components/primitives/slider.d.ts +0 -5
- package/dist/components/primitives/switch.d.ts +0 -15
- package/dist/components/primitives/tag-swatch.d.ts +0 -10
- package/dist/components/primitives/toaster.d.ts +0 -3
- package/dist/components/primitives/tooltip.d.ts +0 -11
- package/dist/components/primitives/workspace-badge.d.ts +0 -23
- package/dist/components/rich-text/collaborative-markdown-editor/awareness-cursors.d.ts +0 -5
- package/dist/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.d.ts +0 -9
- package/dist/components/rich-text/index.d.ts +0 -17
- package/dist/components/rich-text/lazy-markdown-editor.d.ts +0 -2
- package/dist/components/rich-text/markdown-editor/markdown-editor.d.ts +0 -17
- package/dist/components/rich-text/markdown-editor/markdown-table.story-fixture.d.ts +0 -3
- package/dist/components/rich-text/markdown-editor/plugins/MarkdownSectionNavigationPlugin.d.ts +0 -8
- package/dist/components/rich-text/markdown-editor/plugins/MarkdownSlashCommandPlugin.d.ts +0 -1
- package/dist/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkNode.d.ts +0 -21
- package/dist/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.d.ts +0 -2
- package/dist/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/index.d.ts +0 -2
- package/dist/components/rich-text/markdown-editor/plugins/markdown-history-plugin.d.ts +0 -1
- package/dist/components/rich-text/markdown-editor/plugins/markdown-section-navigation.d.ts +0 -20
- package/dist/components/rich-text/prompt-input/commands.d.ts +0 -2
- package/dist/components/rich-text/prompt-input/events.d.ts +0 -2
- package/dist/components/rich-text/prompt-input/plugins/CommentPlugin/CommentPlugin.d.ts +0 -1
- package/dist/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentCommands.d.ts +0 -3
- package/dist/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentSchema.d.ts +0 -1
- package/dist/components/rich-text/prompt-input/plugins/CommentPlugin/nodes/CommentNode/CommentNode.d.ts +0 -16
- package/dist/components/rich-text/prompt-input/plugins/ImperativeAPIPlugin.d.ts +0 -7
- package/dist/components/rich-text/prompt-input/plugins/KeyboardShortcutPlugin.d.ts +0 -4
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuOption.d.ts +0 -12
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuPlugin.d.ts +0 -11
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenu.d.ts +0 -9
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenuItem.d.ts +0 -12
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/constants.d.ts +0 -2
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/hooks/useContextLookup.d.ts +0 -14
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/checkForTriggers.d.ts +0 -9
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/getSortedMenuOptions.d.ts +0 -2
- package/dist/components/rich-text/prompt-input/plugins/ReferencePlugin/ReferencePlugin.d.ts +0 -7
- package/dist/components/rich-text/prompt-input/plugins/ReferencePlugin/nodes/ReferenceNode/ReferenceNode.d.ts +0 -25
- package/dist/components/rich-text/prompt-input/plugins/keyboard-shortcuts.d.ts +0 -9
- package/dist/components/rich-text/prompt-input/prompt-input.d.ts +0 -25
- package/dist/components/rich-text/prompt-input/theme/prompt-input-theme.d.ts +0 -3
- package/dist/components/rich-text/prompt-input/utils.d.ts +0 -22
- package/dist/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkNode.d.ts +0 -21
- package/dist/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.d.ts +0 -2
- package/dist/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/index.d.ts +0 -2
- package/dist/components/rich-text/rich-message/rich-message.d.ts +0 -10
- package/dist/components/rich-text/shared/components/content-editable.d.ts +0 -9
- package/dist/components/rich-text/shared/components/default-rich-text-components.d.ts +0 -3
- package/dist/components/rich-text/shared/editor-config.d.ts +0 -5
- package/dist/components/rich-text/shared/lexical-code.d.ts +0 -2
- package/dist/components/rich-text/shared/markdown-ast.d.ts +0 -7
- package/dist/components/rich-text/shared/markdown-codec.d.ts +0 -3
- package/dist/components/rich-text/shared/markdown-export.d.ts +0 -2
- package/dist/components/rich-text/shared/markdown-import.d.ts +0 -2
- package/dist/components/rich-text/shared/markdown-inline.d.ts +0 -5
- package/dist/components/rich-text/shared/markdown-source-document.d.ts +0 -7
- package/dist/components/rich-text/shared/markdown-source-links.d.ts +0 -11
- package/dist/components/rich-text/shared/markdown-source-map.d.ts +0 -10
- package/dist/components/rich-text/shared/markdown-table.d.ts +0 -41
- package/dist/components/rich-text/shared/markdown-url-context.d.ts +0 -9
- package/dist/components/rich-text/shared/markdown-url.d.ts +0 -3
- package/dist/components/rich-text/shared/nodes/DataTableNode.d.ts +0 -24
- package/dist/components/rich-text/shared/nodes/MarkdownImageNode.d.ts +0 -35
- package/dist/components/rich-text/shared/nodes/MarkdownLinkNode.d.ts +0 -18
- package/dist/components/rich-text/shared/nodes/RawHtmlNode.d.ts +0 -31
- package/dist/components/rich-text/shared/plugins/CodePlugin/CodeBlockActionsPlugin.d.ts +0 -4
- package/dist/components/rich-text/shared/plugins/CodePlugin/CodeBlockPlugin.d.ts +0 -3
- package/dist/components/rich-text/shared/plugins/CodePlugin/CodeHighlightingPlugin.d.ts +0 -1
- package/dist/components/rich-text/shared/plugins/EquationPlugin/EquationComponent.d.ts +0 -6
- package/dist/components/rich-text/shared/plugins/EquationPlugin/EquationNode.d.ts +0 -26
- package/dist/components/rich-text/shared/plugins/EquationPlugin/EquationPlugin.d.ts +0 -4
- package/dist/components/rich-text/shared/plugins/EquationPlugin/KatexRenderer.d.ts +0 -4
- package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/FloatingTextFormatToolbarPlugin.d.ts +0 -4
- package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/floating-toolbar-buttons.d.ts +0 -18
- package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/index.d.ts +0 -1
- package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/resolve-block-type.d.ts +0 -17
- package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/should-show-floating-toolbar.d.ts +0 -11
- package/dist/components/rich-text/shared/plugins/HorizontalRulePlugin/HorizontalRuleNode.d.ts +0 -13
- package/dist/components/rich-text/shared/plugins/HorizontalRulePlugin/horizontalRule.d.ts +0 -2
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/LinkEditorPlugin.d.ts +0 -4
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/LinkPlugin.d.ts +0 -1
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/commands.d.ts +0 -2
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/index.d.ts +0 -3
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/link-editor-content.d.ts +0 -18
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/getSelectedNode.d.ts +0 -2
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/link-edit-state.d.ts +0 -1
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/selection-link-url.d.ts +0 -2
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/setFloatingElemPos.d.ts +0 -1
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/url.d.ts +0 -2
- package/dist/components/rich-text/shared/plugins/MermaidPlugin/MermaidComponent.d.ts +0 -6
- package/dist/components/rich-text/shared/plugins/MermaidPlugin/MermaidNode.d.ts +0 -23
- package/dist/components/rich-text/shared/plugins/StateUpdatePlugin.d.ts +0 -6
- package/dist/components/rich-text/shared/plugins/ToggleEditablePlugin.d.ts +0 -3
- package/dist/components/rich-text/shared/plugins/TreeViewPlugin/TreeViewPlugin.d.ts +0 -1
- package/dist/components/rich-text/shared/prism-global.d.ts +0 -2
- package/dist/components/rich-text/shared/transformers/markdown-transformers-test-utils.d.ts +0 -3
- package/dist/components/rich-text/shared/transformers/markdown-transformers.d.ts +0 -16
- package/dist/components/rich-text/shared/types/rich-text-components.d.ts +0 -15
- package/dist/components/rich-text/theme/rich-text-theme.d.ts +0 -3
- package/dist/components/rich-text/types.d.ts +0 -8
- package/dist/components/rich-text/utils/inferResourceType.d.ts +0 -1
- package/dist/components/rich-text/utils/markdown.d.ts +0 -5
- package/dist/components/rich-text/utils/mediaType.d.ts +0 -1
- package/dist/components/sidenav/sidenav-footer.d.ts +0 -6
- package/dist/components/sidenav/sidenav-header.d.ts +0 -6
- package/dist/components/sidenav/sidenav.d.ts +0 -2
- package/dist/components/sidenav/sidenav.store.d.ts +0 -49
- package/dist/components/sidenav/sidenav.types.d.ts +0 -31
- package/dist/components/tab-strip/tab-visibility-filter.d.ts +0 -22
- package/dist/components/tab-strip/tab-visibility.store.d.ts +0 -41
- package/dist/components/tab-strip/window-tabs.d.ts +0 -15
- package/dist/components/tab-strip/window-title-bar.d.ts +0 -6
- package/dist/components/tag-editor/index.d.ts +0 -8
- package/dist/components/tag-editor/tag-editor-heading.d.ts +0 -11
- package/dist/components/tag-editor/tag-editor-row.d.ts +0 -20
- package/dist/components/tag-editor/tag-editor-save-bar.d.ts +0 -13
- package/dist/components/tag-editor/tag-editor.d.ts +0 -2
- package/dist/components/tag-editor/tag-editor.types.d.ts +0 -57
- package/dist/components/tag-editor/tag-settings-panel.d.ts +0 -30
- package/dist/components/terminal/bind-session.d.ts +0 -33
- package/dist/components/terminal/index.d.ts +0 -6
- package/dist/components/terminal/scripted-bridge.d.ts +0 -35
- package/dist/components/terminal/terminal-contract.d.ts +0 -22
- package/dist/components/terminal/terminal-theme.d.ts +0 -12
- package/dist/components/terminal/terminal.d.ts +0 -56
- package/dist/components/terminal/types.d.ts +0 -35
- package/dist/components/terminal/use-terminal-session.d.ts +0 -21
- package/dist/components/tree-list/tree-list-background.d.ts +0 -8
- package/dist/components/tree-list/tree-list-drag-provider.d.ts +0 -13
- package/dist/components/tree-list/tree-list-drag.d.ts +0 -7
- package/dist/components/tree-list/tree-list-inline-creation-story.d.ts +0 -3
- package/dist/components/tree-list/tree-list-inline-input.d.ts +0 -9
- package/dist/components/tree-list/tree-list-model.d.ts +0 -58
- package/dist/components/tree-list/tree-list-move-surface.d.ts +0 -7
- package/dist/components/tree-list/tree-list-node-row.d.ts +0 -21
- package/dist/components/tree-list/tree-list-order-filter.d.ts +0 -2
- package/dist/components/tree-list/tree-list-order.store.d.ts +0 -45
- package/dist/components/tree-list/tree-list-reorder.d.ts +0 -24
- package/dist/components/tree-list/tree-list-section-header.d.ts +0 -14
- package/dist/components/tree-list/tree-list-sortable.d.ts +0 -24
- package/dist/components/tree-list/tree-list-visibility-filter.d.ts +0 -24
- package/dist/components/tree-list/tree-list-visibility.store.d.ts +0 -45
- package/dist/components/tree-list/tree-list.d.ts +0 -41
- package/dist/components/tree-list/tree-list.types.d.ts +0 -63
- package/dist/components/tree-list/use-tree-list-keyboard-navigation.d.ts +0 -15
- package/dist/diff-bubble-DvUPRnfB.js +0 -183
- package/dist/diff-bubble-DvUPRnfB.js.map +0 -1
- package/dist/edit-mode-data-table-B8UpWb7i.js +0 -846
- package/dist/edit-mode-data-table-B8UpWb7i.js.map +0 -1
- package/dist/empty-state-Bo4HVrgr.js +0 -34
- package/dist/empty-state-Bo4HVrgr.js.map +0 -1
- package/dist/foundations/gallery/gallery-frame.d.ts +0 -21
- package/dist/foundations/gallery/sections/badges-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/buttons-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/composite-chat-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/composites-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/feedback-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/input-authoring-card.d.ts +0 -1
- package/dist/foundations/gallery/sections/inputs-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/layout-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/navigation-identity-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/overlays-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/panels-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/param-editor-composite-card.d.ts +0 -1
- package/dist/foundations/gallery/sections/settings-composite-cards.d.ts +0 -1
- package/dist/kanban-renderer-toolbar-DzY6THJY.js +0 -1374
- package/dist/kanban-renderer-toolbar-DzY6THJY.js.map +0 -1
- package/dist/lazy-markdown-editor-ClZPZuaU.js +0 -235
- package/dist/lazy-markdown-editor-ClZPZuaU.js.map +0 -1
- package/dist/list-row-BDoV_iMV.js +0 -815
- package/dist/list-row-BDoV_iMV.js.map +0 -1
- package/dist/markdown-editor-CAVqJ9yR.js +0 -1019
- package/dist/markdown-editor-CAVqJ9yR.js.map +0 -1
- package/dist/markdown-gNucAjnF.js +0 -1643
- package/dist/markdown-gNucAjnF.js.map +0 -1
- package/dist/mermaid-renderer-CVnuKs-A.js +0 -425
- package/dist/mermaid-renderer-CVnuKs-A.js.map +0 -1
- package/dist/mermaid.js.map +0 -1
- package/dist/monaco-browser-l82HnffN.js +0 -22
- package/dist/monaco-browser-l82HnffN.js.map +0 -1
- package/dist/param-editor-CTx3mDxQ.js +0 -161
- package/dist/param-editor-CTx3mDxQ.js.map +0 -1
- package/dist/param-editor-field-DteDEyeU.js +0 -2810
- package/dist/param-editor-field-DteDEyeU.js.map +0 -1
- package/dist/prompt-input-DNpRL5tI.js +0 -564
- package/dist/prompt-input-DNpRL5tI.js.map +0 -1
- package/dist/radio-cLMEBBZk.js +0 -76
- package/dist/radio-cLMEBBZk.js.map +0 -1
- package/dist/rich-message-CuPiKxKX.js +0 -78
- package/dist/rich-message-CuPiKxKX.js.map +0 -1
- package/dist/rich-text.js.map +0 -1
- package/dist/test-utils/local-storage.d.ts +0 -1
- package/dist/theme/custom/index.d.ts +0 -2
- package/dist/theme/custom/vscode-theme.d.ts +0 -32
- package/dist/theme/global.d.ts +0 -62
- package/dist/theme/index.d.ts +0 -3
- package/dist/theme/primitives/colors.d.ts +0 -1081
- package/dist/theme/primitives/fonts.d.ts +0 -84
- package/dist/theme/primitives/sizes.d.ts +0 -207
- package/dist/theme/recipes/activity-comment.d.ts +0 -36
- package/dist/theme/recipes/alert.d.ts +0 -1
- package/dist/theme/recipes/badge.d.ts +0 -58
- package/dist/theme/recipes/button.d.ts +0 -188
- package/dist/theme/recipes/color-picker.d.ts +0 -18
- package/dist/theme/recipes/dialog.d.ts +0 -1
- package/dist/theme/recipes/divider.d.ts +0 -1
- package/dist/theme/recipes/drawer.d.ts +0 -1
- package/dist/theme/recipes/editable.d.ts +0 -46
- package/dist/theme/recipes/form.d.ts +0 -1
- package/dist/theme/recipes/input.d.ts +0 -94
- package/dist/theme/recipes/kbd.d.ts +0 -41
- package/dist/theme/recipes/menu.d.ts +0 -1
- package/dist/theme/recipes/number-input.d.ts +0 -98
- package/dist/theme/recipes/popover.d.ts +0 -16
- package/dist/theme/recipes/progress-circle.d.ts +0 -28
- package/dist/theme/recipes/resizable-split-layout.d.ts +0 -106
- package/dist/theme/recipes/segmented-control.d.ts +0 -22
- package/dist/theme/recipes/skeleton.d.ts +0 -1
- package/dist/theme/recipes/switch.d.ts +0 -18
- package/dist/theme/recipes/tabs.d.ts +0 -80
- package/dist/theme/recipes/textarea.d.ts +0 -62
- package/dist/theme/recipes/timeline.d.ts +0 -74
- package/dist/theme/recipes/tooltip.d.ts +0 -1
- package/dist/theme/recipes/window-title-bar.d.ts +0 -19
- package/dist/theme/shadowless-default-config.d.ts +0 -2
- package/dist/theme/theme.d.ts +0 -2
- package/dist/theme/tokens/borders.d.ts +0 -17
- package/dist/theme/tokens/colors-background.d.ts +0 -260
- package/dist/theme/tokens/colors-visualization.d.ts +0 -162
- package/dist/theme/tokens/colors.d.ts +0 -878
- package/dist/theme/tokens/layer-styles.d.ts +0 -1
- package/dist/theme/tokens/text.d.ts +0 -1
- package/dist/theme-Dc7hVvMC.js +0 -3990
- package/dist/theme-Dc7hVvMC.js.map +0 -1
- package/dist/theme-preference-Bpobguh4.js +0 -114
- package/dist/theme-preference-Bpobguh4.js.map +0 -1
- package/dist/theme.js.map +0 -1
- package/dist/tree-list-CZvcg3_6.js +0 -1348
- package/dist/tree-list-CZvcg3_6.js.map +0 -1
- package/dist/utils/apply-file-icon-theme-preference.d.ts +0 -35
- package/dist/utils/apply-theme-preference.d.ts +0 -22
- package/dist/utils/browser-storage.d.ts +0 -7
- package/dist/utils/file-icon-theme-preference.d.ts +0 -15
- package/dist/utils/get-file-type-icon.d.ts +0 -2
- package/dist/utils/prism.d.ts +0 -1
- package/dist/utils/resolve-file-icon-element.d.ts +0 -8
- package/dist/utils/theme-preference.d.ts +0 -20
- package/dist/workspace-badge-BR_GgsAG.js +0 -175
- package/dist/workspace-badge-BR_GgsAG.js.map +0 -1
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FilterCategoryView } from './kanban-renderer-helpers';
|
|
2
|
-
import { KanbanRendererFilterState } from './types';
|
|
3
|
-
interface FilterMenuProps {
|
|
4
|
-
categories: FilterCategoryView[];
|
|
5
|
-
filters: KanbanRendererFilterState;
|
|
6
|
-
countsByCategory: Record<string, Record<string, number>>;
|
|
7
|
-
onToggleFilterValue: (attributeId: string, value: string) => void;
|
|
8
|
-
onClearFilter: (attributeId: string) => void;
|
|
9
|
-
onClearAll: () => void;
|
|
10
|
-
}
|
|
11
|
-
export declare const FilterMenu: (props: FilterMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export { DisplayMenu } from './display-menu';
|
|
2
|
-
export { FilterMenu } from './filter-menu';
|
|
3
|
-
export type { BoardColumnConfig, KanbanRendererProps } from './kanban-renderer';
|
|
4
|
-
export { KanbanRenderer } from './kanban-renderer';
|
|
5
|
-
export type { KanbanRendererBoardColumn, KanbanRendererBoardColumnAction, KanbanRendererBoardItem, } from './kanban-renderer-board';
|
|
6
|
-
export { KanbanRendererBoard } from './kanban-renderer-board';
|
|
7
|
-
export type { KanbanRendererCardProps } from './kanban-renderer-card';
|
|
8
|
-
export { KanbanRendererCard } from './kanban-renderer-card';
|
|
9
|
-
export { KanbanRendererCreateDialog } from './kanban-renderer-create-dialog';
|
|
10
|
-
export type { AttributeBadge, FilterCategoryView, MenuOption } from './kanban-renderer-helpers';
|
|
11
|
-
export { buildDisplayPropertyOptions, buildFilterCategories, buildGroupingOptions, buildOrderingOptions, collectDisplayBadges, getAttributeStringValues, getAttributeValue, getEnumOptions, renderAttributeBadge, renderBadgeListDisplay, sanitizeFilters, sanitizeSettings, } from './kanban-renderer-helpers';
|
|
12
|
-
export type { KanbanRendererListItem } from './kanban-renderer-list';
|
|
13
|
-
export { KanbanRendererList } from './kanban-renderer-list';
|
|
14
|
-
export type { KanbanRendererToolbarProps } from './kanban-renderer-toolbar';
|
|
15
|
-
export { KanbanRendererToolbar } from './kanban-renderer-toolbar';
|
|
16
|
-
export type { AttributeDescriptor, AttributeDisplayDescriptor, AttributeKind, AttributesSource, AttributeType, EnumOption, EnumOptions, EnumOptionsSource, KanbanRendererCreateField, KanbanRendererCreateFieldType, KanbanRendererCreateRowConfig, KanbanRendererCreateSubmission, KanbanRendererFilterState, KanbanRendererOrdering, KanbanRendererRow, KanbanRendererSavedView, KanbanRendererSettings, SortDirection, ViewMode, } from './types';
|
|
17
|
-
export { findAttribute, isAttributesSource, isEnumOptionsSource, MANUAL_ORDERING, NO_GROUPING, } from './types';
|
|
18
|
-
export { isActiveKanbanRendererViewDirty, useKanbanRendererStore } from './use-kanban-renderer-store';
|
|
19
|
-
export { resolveAttributeOptions, useResolvedAttributes } from './use-resolved-attributes';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AttributeBadge } from './kanban-renderer-helpers';
|
|
2
|
-
interface KanbanRendererAttributeBadgeProps {
|
|
3
|
-
badge: AttributeBadge;
|
|
4
|
-
onChange?: (attributeId: string, value: unknown) => void;
|
|
5
|
-
}
|
|
6
|
-
export declare const KanbanRendererAttributeBadge: (props: KanbanRendererAttributeBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { AttributeDescriptor, AttributeType, EnumOption } from './types';
|
|
2
|
-
export interface AttributeBadge {
|
|
3
|
-
attributeId: string;
|
|
4
|
-
attributeLabel?: string;
|
|
5
|
-
label: string;
|
|
6
|
-
color?: string;
|
|
7
|
-
icon?: string | null;
|
|
8
|
-
value?: string | string[];
|
|
9
|
-
options?: EnumOption[];
|
|
10
|
-
isEditable?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const getAttributeBadgeColorPalette: (_badge: AttributeBadge) => string;
|
|
13
|
-
export declare const renderEnumBadge: (descriptor: AttributeDescriptor, type: AttributeType, value: unknown) => {
|
|
14
|
-
attributeId: string;
|
|
15
|
-
attributeLabel: string;
|
|
16
|
-
label: string;
|
|
17
|
-
value: string | undefined;
|
|
18
|
-
options: EnumOption[];
|
|
19
|
-
isEditable: boolean;
|
|
20
|
-
} | {
|
|
21
|
-
value?: string | undefined;
|
|
22
|
-
options?: EnumOption[] | undefined;
|
|
23
|
-
isEditable?: boolean | undefined;
|
|
24
|
-
attributeId: string;
|
|
25
|
-
attributeLabel: string;
|
|
26
|
-
label: string;
|
|
27
|
-
color: string | undefined;
|
|
28
|
-
icon: string | null | undefined;
|
|
29
|
-
} | null;
|
|
30
|
-
export declare const renderMultiEnumBadge: (descriptor: AttributeDescriptor, type: AttributeType, value: unknown) => {
|
|
31
|
-
attributeId: string;
|
|
32
|
-
attributeLabel: string;
|
|
33
|
-
label: string;
|
|
34
|
-
value: string[];
|
|
35
|
-
options: EnumOption[];
|
|
36
|
-
isEditable: boolean;
|
|
37
|
-
} | {
|
|
38
|
-
value?: string[] | undefined;
|
|
39
|
-
options?: EnumOption[] | undefined;
|
|
40
|
-
isEditable?: boolean | undefined;
|
|
41
|
-
attributeId: string;
|
|
42
|
-
attributeLabel: string;
|
|
43
|
-
label: string;
|
|
44
|
-
color: string | undefined;
|
|
45
|
-
icon: string | null | undefined;
|
|
46
|
-
} | null;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { KanbanRendererBoardColumn } from './kanban-renderer-board';
|
|
2
|
-
interface ColumnHeaderProps {
|
|
3
|
-
column: KanbanRendererBoardColumn;
|
|
4
|
-
onCreateStart?: (columnId: string) => void;
|
|
5
|
-
onColumnAction?: (columnId: string, actionId: string) => Promise<void> | void;
|
|
6
|
-
}
|
|
7
|
-
export declare const ColumnHeader: (props: ColumnHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { DragEvent } from 'react';
|
|
2
|
-
import { KanbanRendererBoardGroup } from './kanban-renderer-board';
|
|
3
|
-
interface GroupSectionProps {
|
|
4
|
-
columnId: string;
|
|
5
|
-
group: KanbanRendererBoardGroup;
|
|
6
|
-
selectedItemId: string | null;
|
|
7
|
-
canDragIn: boolean;
|
|
8
|
-
canDragOut: boolean;
|
|
9
|
-
isDropTarget: boolean;
|
|
10
|
-
onDragStart: (itemId: string) => (event: DragEvent<HTMLDivElement>) => void;
|
|
11
|
-
onDragEnd: () => void;
|
|
12
|
-
onGroupDragOver: (event: DragEvent<HTMLDivElement>) => void;
|
|
13
|
-
onGroupDragLeave: (event: DragEvent<HTMLDivElement>) => void;
|
|
14
|
-
onGroupDrop: (event: DragEvent<HTMLDivElement>, beforeItemId?: string) => void;
|
|
15
|
-
}
|
|
16
|
-
export declare const GroupSection: (props: GroupSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { KanbanRendererSettings } from './types';
|
|
2
|
-
interface ApplyBoardMoveItemInput {
|
|
3
|
-
settings: Pick<KanbanRendererSettings, "columnGrouping" | "ordering" | "rowGrouping">;
|
|
4
|
-
rowId: string;
|
|
5
|
-
targetColumnId: string;
|
|
6
|
-
targetGroupKey?: string;
|
|
7
|
-
beforeItemId?: string;
|
|
8
|
-
onAttributeChange?: (rowId: string, attributeId: string, value: unknown) => Promise<void> | void;
|
|
9
|
-
onReorder?: (rowId: string, beforeRowId?: string) => Promise<void> | void;
|
|
10
|
-
}
|
|
11
|
-
interface ApplyBoardMoveToGroupInput {
|
|
12
|
-
settings: Pick<KanbanRendererSettings, "ordering" | "rowGrouping">;
|
|
13
|
-
rowId: string;
|
|
14
|
-
targetGroupKey: string;
|
|
15
|
-
beforeItemId?: string;
|
|
16
|
-
onAttributeChange?: (rowId: string, attributeId: string, value: unknown) => Promise<void> | void;
|
|
17
|
-
onReorder?: (rowId: string, beforeRowId?: string) => Promise<void> | void;
|
|
18
|
-
}
|
|
19
|
-
export declare const applyBoardMoveItem: (input: ApplyBoardMoveItemInput) => Promise<void>;
|
|
20
|
-
export declare const applyBoardMoveToGroup: (input: ApplyBoardMoveToGroupInput) => Promise<void>;
|
|
21
|
-
export {};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, ComponentType } from 'react';
|
|
2
|
-
import { ResourceContextAction } from '../overlays/resource-context-menu';
|
|
3
|
-
import { KanbanRendererCard } from './kanban-renderer-card';
|
|
4
|
-
type KanbanRendererCardProps = ComponentProps<typeof KanbanRendererCard>;
|
|
5
|
-
export interface KanbanRendererBoardItem {
|
|
6
|
-
id: string;
|
|
7
|
-
cardProps: Omit<KanbanRendererCardProps, "draggable" | "onDragStart" | "onDragEnd" | "isSelected">;
|
|
8
|
-
contextMenuActions?: ResourceContextAction[];
|
|
9
|
-
}
|
|
10
|
-
export interface KanbanRendererBoardColumnAction {
|
|
11
|
-
id: string;
|
|
12
|
-
label: string;
|
|
13
|
-
icon: ComponentType<{
|
|
14
|
-
size?: number | string;
|
|
15
|
-
}>;
|
|
16
|
-
}
|
|
17
|
-
export interface KanbanRendererBoardGroup {
|
|
18
|
-
key: string;
|
|
19
|
-
label: string;
|
|
20
|
-
items: KanbanRendererBoardItem[];
|
|
21
|
-
}
|
|
22
|
-
export interface KanbanRendererBoardColumn {
|
|
23
|
-
id: string;
|
|
24
|
-
label: string;
|
|
25
|
-
createLabel?: string;
|
|
26
|
-
color?: string;
|
|
27
|
-
icon?: string | null;
|
|
28
|
-
items: KanbanRendererBoardItem[];
|
|
29
|
-
groups?: KanbanRendererBoardGroup[];
|
|
30
|
-
canDragIn: boolean;
|
|
31
|
-
canDragOut: boolean;
|
|
32
|
-
canCreate: boolean;
|
|
33
|
-
actions: KanbanRendererBoardColumnAction[];
|
|
34
|
-
}
|
|
35
|
-
interface KanbanRendererBoardProps {
|
|
36
|
-
columns: KanbanRendererBoardColumn[];
|
|
37
|
-
selectedItemId?: string | null;
|
|
38
|
-
onMoveItem?: (itemId: string, targetColumnId: string, context?: {
|
|
39
|
-
beforeItemId?: string;
|
|
40
|
-
targetGroupKey?: string;
|
|
41
|
-
}) => Promise<void> | void;
|
|
42
|
-
onMoveToGroup?: (itemId: string, targetGroupKey: string, context?: {
|
|
43
|
-
beforeItemId?: string;
|
|
44
|
-
}) => Promise<void> | void;
|
|
45
|
-
onCreateStart?: (columnId: string) => void;
|
|
46
|
-
onColumnAction?: (columnId: string, actionId: string) => Promise<void> | void;
|
|
47
|
-
}
|
|
48
|
-
export declare const KanbanRendererBoard: (props: KanbanRendererBoardProps) => import("react/jsx-runtime").JSX.Element;
|
|
49
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { DragEventHandler, ReactNode } from 'react';
|
|
2
|
-
import { WorkspaceBadgeProps } from '../primitives/workspace-badge';
|
|
3
|
-
import { AttributeBadge } from './kanban-renderer-helpers';
|
|
4
|
-
export interface KanbanRendererCardProps {
|
|
5
|
-
eyebrow?: string;
|
|
6
|
-
title: string;
|
|
7
|
-
badges?: AttributeBadge[];
|
|
8
|
-
customSlots?: ReactNode[];
|
|
9
|
-
workspaceBadge?: WorkspaceBadgeProps;
|
|
10
|
-
isSelected?: boolean;
|
|
11
|
-
draggable?: boolean;
|
|
12
|
-
onBadgeChange?: (attributeId: string, value: unknown) => void;
|
|
13
|
-
onDragStart?: DragEventHandler<HTMLDivElement>;
|
|
14
|
-
onDragEnd?: DragEventHandler<HTMLDivElement>;
|
|
15
|
-
onClick?: () => void;
|
|
16
|
-
}
|
|
17
|
-
export declare const KanbanRendererCard: (props: KanbanRendererCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { KanbanRendererBoardColumn } from './kanban-renderer-board';
|
|
3
|
-
import { KanbanRendererListItem } from './kanban-renderer-list';
|
|
4
|
-
import { KanbanRendererSettings } from './types';
|
|
5
|
-
interface KanbanRendererContentProps {
|
|
6
|
-
viewMode: KanbanRendererSettings["viewMode"];
|
|
7
|
-
boardColumns: KanbanRendererBoardColumn[];
|
|
8
|
-
listItems: KanbanRendererListItem[];
|
|
9
|
-
listExpandedGroups: Record<string, boolean>;
|
|
10
|
-
selectedRowId: string | null;
|
|
11
|
-
emptyState?: ReactNode;
|
|
12
|
-
emptyTitle: string;
|
|
13
|
-
emptyDescription?: string;
|
|
14
|
-
onBoardMoveItem: (rowId: string, targetColumnId: string, context?: {
|
|
15
|
-
beforeItemId?: string;
|
|
16
|
-
targetGroupKey?: string;
|
|
17
|
-
}) => Promise<void> | void;
|
|
18
|
-
onBoardMoveToGroup: (rowId: string, targetGroupKey: string, context?: {
|
|
19
|
-
beforeItemId?: string;
|
|
20
|
-
}) => Promise<void> | void;
|
|
21
|
-
onCreateRow?: (columnId: string) => void;
|
|
22
|
-
onColumnAction?: (columnId: string, actionId: string) => Promise<void> | void;
|
|
23
|
-
onListExpandedGroupChange: (rowId: string, isExpanded: boolean) => void;
|
|
24
|
-
listKey: string;
|
|
25
|
-
}
|
|
26
|
-
export declare const KanbanRendererContent: (props: KanbanRendererContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { AttributeDescriptor, KanbanRendererCreateRowConfig, KanbanRendererCreateSubmission } from './types';
|
|
2
|
-
interface KanbanRendererCreateDialogProps {
|
|
3
|
-
open: boolean;
|
|
4
|
-
columnId: string;
|
|
5
|
-
columnAttributeId?: string;
|
|
6
|
-
attributes: AttributeDescriptor[];
|
|
7
|
-
config: KanbanRendererCreateRowConfig;
|
|
8
|
-
onClose: () => void;
|
|
9
|
-
onSubmit: (submission: KanbanRendererCreateSubmission) => Promise<void> | void;
|
|
10
|
-
}
|
|
11
|
-
export declare const KanbanRendererCreateDialog: (props: KanbanRendererCreateDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { KanbanRendererCreateField } from './types';
|
|
2
|
-
interface CreateFieldControlProps {
|
|
3
|
-
disabled: boolean;
|
|
4
|
-
field: KanbanRendererCreateField;
|
|
5
|
-
removeLabel: string;
|
|
6
|
-
value: unknown;
|
|
7
|
-
onChange: (value: unknown) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const CreateFieldControl: (props: CreateFieldControlProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { AttributeType, EnumOption } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Normalize an enum / enum-multi attribute's `options` to a plain option list.
|
|
4
|
-
* Sources resolve via `getSnapshot()` on every call, so callers naturally see
|
|
5
|
-
* the latest values.
|
|
6
|
-
*/
|
|
7
|
-
export declare const getEnumOptions: (type: AttributeType) => EnumOption[];
|
|
8
|
-
export declare const toTitleCase: (value: string) => string;
|
|
9
|
-
export declare const findEnumOption: (type: AttributeType, value: string) => EnumOption | undefined;
|
|
10
|
-
export declare const enumOptionLabel: (type: AttributeType, value: string) => string;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { AttributeDescriptor, KanbanRendererFilterState, KanbanRendererOrdering, KanbanRendererRow } from './types';
|
|
2
|
-
interface GroupingOptions {
|
|
3
|
-
attributes: AttributeDescriptor[];
|
|
4
|
-
columnGrouping: string;
|
|
5
|
-
rowGrouping: string;
|
|
6
|
-
knownColumnKeys?: string[];
|
|
7
|
-
}
|
|
8
|
-
interface KanbanRendererRowGroup {
|
|
9
|
-
key: string;
|
|
10
|
-
label: string;
|
|
11
|
-
rows: KanbanRendererRow[];
|
|
12
|
-
}
|
|
13
|
-
interface KanbanRendererColumnGroup {
|
|
14
|
-
key: string;
|
|
15
|
-
label: string;
|
|
16
|
-
rows: KanbanRendererRow[];
|
|
17
|
-
subgroups: KanbanRendererRowGroup[];
|
|
18
|
-
}
|
|
19
|
-
export declare const orderRows: (rows: KanbanRendererRow[], ordering: KanbanRendererOrdering, attributes: AttributeDescriptor[]) => KanbanRendererRow[];
|
|
20
|
-
export declare const groupRows: (rows: KanbanRendererRow[], options: GroupingOptions) => KanbanRendererColumnGroup[];
|
|
21
|
-
export declare const filterRows: (rows: KanbanRendererRow[], filters: KanbanRendererFilterState, attributes: AttributeDescriptor[]) => KanbanRendererRow[];
|
|
22
|
-
export declare const countFilterValues: (rows: KanbanRendererRow[], attributeId: string, attributes: AttributeDescriptor[]) => Record<string, number>;
|
|
23
|
-
export type { KanbanRendererColumnGroup, KanbanRendererRowGroup };
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { AttributeBadge } from './kanban-renderer-badge-helpers';
|
|
3
|
-
import { AttributeDescriptor, CollectionBadgeItem, KanbanRendererFilterState, KanbanRendererRow, KanbanRendererSettings } from './types';
|
|
4
|
-
export type { AttributeBadge } from './kanban-renderer-badge-helpers';
|
|
5
|
-
export { getAttributeBadgeColorPalette } from './kanban-renderer-badge-helpers';
|
|
6
|
-
export { enumOptionLabel, findEnumOption, getEnumOptions, toTitleCase } from './kanban-renderer-enum-helpers';
|
|
7
|
-
/**
|
|
8
|
-
* Read a typed attribute value out of a row. enum-multi normalizes to an array;
|
|
9
|
-
* single-valued kinds normalize to undefined when missing.
|
|
10
|
-
*/
|
|
11
|
-
export declare const getAttributeValue: (row: KanbanRendererRow, descriptor: AttributeDescriptor) => unknown;
|
|
12
|
-
export declare const getAttributeStringValues: (row: KanbanRendererRow, descriptor: AttributeDescriptor) => string[];
|
|
13
|
-
export declare const renderBadgeListDisplay: (descriptor: AttributeDescriptor, value: unknown, row: KanbanRendererRow, openResource?: (resource: NonNullable<CollectionBadgeItem["resource"]>) => void) => ReactNode;
|
|
14
|
-
/**
|
|
15
|
-
* Per-type default cell summary used by the card / list end-content. Returns
|
|
16
|
-
* null when the attribute has no displayable value.
|
|
17
|
-
*/
|
|
18
|
-
export declare const renderAttributeBadge: (descriptor: AttributeDescriptor, row: KanbanRendererRow) => AttributeBadge | null;
|
|
19
|
-
export declare const collectDisplayBadges: (row: KanbanRendererRow, attributes: AttributeDescriptor[], displayProperties: string[]) => AttributeBadge[];
|
|
20
|
-
export declare const collectDisplayCustomSlots: (row: KanbanRendererRow, attributes: AttributeDescriptor[], displayProperties: string[]) => ReactNode[];
|
|
21
|
-
export interface FilterCategoryView {
|
|
22
|
-
id: string;
|
|
23
|
-
label: string;
|
|
24
|
-
selectionMode: "multiple";
|
|
25
|
-
options: {
|
|
26
|
-
value: string;
|
|
27
|
-
label: string;
|
|
28
|
-
color?: string;
|
|
29
|
-
}[];
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Build the filter menu's category list from the declared attributes. Enum
|
|
33
|
-
* descriptors expose their declared options first; auto-derived values from
|
|
34
|
-
* the data fill in the gaps for string / date / number / user attributes (so
|
|
35
|
-
* filter chips for free-form fields don't require declaring every option).
|
|
36
|
-
*/
|
|
37
|
-
export declare const buildFilterCategories: (attributes: AttributeDescriptor[], rows: KanbanRendererRow[]) => FilterCategoryView[];
|
|
38
|
-
export interface MenuOption {
|
|
39
|
-
value: string;
|
|
40
|
-
label: string;
|
|
41
|
-
}
|
|
42
|
-
export declare const buildGroupingOptions: (attributes: AttributeDescriptor[]) => MenuOption[];
|
|
43
|
-
export declare const buildOrderingOptions: (attributes: AttributeDescriptor[]) => MenuOption[];
|
|
44
|
-
export declare const buildDisplayPropertyOptions: (attributes: AttributeDescriptor[]) => MenuOption[];
|
|
45
|
-
export declare const resolveSubGroupingOptions: (options: MenuOption[], columnGrouping: string) => MenuOption[];
|
|
46
|
-
export declare const resolveListDropTargetColumnKey: (columnGrouping: string, placement?: {
|
|
47
|
-
columnKey?: string;
|
|
48
|
-
}) => string | undefined;
|
|
49
|
-
export declare const resolveKnownColumnKeys: (columnGrouping: string, attributes: AttributeDescriptor[], filters?: KanbanRendererFilterState) => string[] | undefined;
|
|
50
|
-
export declare const normalizeFilterValues: (_descriptor: AttributeDescriptor, values: string[]) => string[];
|
|
51
|
-
export declare const omitFilterCategory: (filters: KanbanRendererFilterState, id: string) => KanbanRendererFilterState;
|
|
52
|
-
/**
|
|
53
|
-
* Drop persisted settings entries that reference attribute ids no longer
|
|
54
|
-
* declared by the contribution. Falls back to defaults for missing grouping
|
|
55
|
-
* and ordering attributes so a stale saved view still loads cleanly.
|
|
56
|
-
*/
|
|
57
|
-
export declare const sanitizeSettings: (settings: KanbanRendererSettings, attributes: AttributeDescriptor[]) => KanbanRendererSettings;
|
|
58
|
-
export declare const sanitizeFilters: (filters: KanbanRendererFilterState, attributes: AttributeDescriptor[]) => KanbanRendererFilterState;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ResourceContextAction } from '../overlays/resource-context-menu';
|
|
2
|
-
import { KanbanRendererColumnGroup } from './kanban-renderer-grouping';
|
|
3
|
-
import { KanbanRendererListItem } from './kanban-renderer-list';
|
|
4
|
-
import { AttributeDescriptor, KanbanRendererRow, KanbanRendererSettings } from './types';
|
|
5
|
-
interface BuildKanbanRendererListItemsInput<TRow extends KanbanRendererRow> {
|
|
6
|
-
settings: KanbanRendererSettings;
|
|
7
|
-
visibleRows: TRow[];
|
|
8
|
-
grouped: KanbanRendererColumnGroup[];
|
|
9
|
-
attributes: AttributeDescriptor[];
|
|
10
|
-
onRowClick?: (row: TRow) => void;
|
|
11
|
-
onAttributeChange?: (rowId: string, attributeId: string, value: unknown) => Promise<void> | void;
|
|
12
|
-
onReorder?: (rowId: string, beforeRowId?: string) => Promise<void> | void;
|
|
13
|
-
getRowContextMenuActions?: (row: TRow) => ResourceContextAction[];
|
|
14
|
-
}
|
|
15
|
-
export declare const buildKanbanRendererListItems: <TRow extends KanbanRendererRow>(input: BuildKanbanRendererListItemsInput<TRow>) => (KanbanRendererListItem | {
|
|
16
|
-
onDropRow: ((draggedId: string) => void | Promise<void>) | undefined;
|
|
17
|
-
children: KanbanRendererListItem[];
|
|
18
|
-
statusColorPalette: string | undefined;
|
|
19
|
-
statusIcon: import('react').ComponentType;
|
|
20
|
-
id: string;
|
|
21
|
-
title: string;
|
|
22
|
-
isGroup: boolean;
|
|
23
|
-
countBadge: number;
|
|
24
|
-
})[];
|
|
25
|
-
export {};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ComponentType, ReactNode } from 'react';
|
|
2
|
-
import { ResourceContextAction } from '../overlays/resource-context-menu';
|
|
3
|
-
import { AttributeBadge } from './kanban-renderer-helpers';
|
|
4
|
-
export interface KanbanRendererListItem {
|
|
5
|
-
id: string;
|
|
6
|
-
eyebrow?: string;
|
|
7
|
-
title: string;
|
|
8
|
-
isGroup?: boolean;
|
|
9
|
-
countBadge?: number;
|
|
10
|
-
countColorPalette?: string;
|
|
11
|
-
statusIcon?: ComponentType<{
|
|
12
|
-
size?: number | string;
|
|
13
|
-
}>;
|
|
14
|
-
statusColor?: string;
|
|
15
|
-
statusColorPalette?: string;
|
|
16
|
-
badges?: AttributeBadge[];
|
|
17
|
-
customSlots?: ReactNode[];
|
|
18
|
-
children?: KanbanRendererListItem[];
|
|
19
|
-
onClick?: () => void;
|
|
20
|
-
onBadgeChange?: (attributeId: string, value: unknown) => void;
|
|
21
|
-
contextMenuActions?: ResourceContextAction[];
|
|
22
|
-
draggable?: boolean;
|
|
23
|
-
onDropRow?: (rowId: string) => void;
|
|
24
|
-
}
|
|
25
|
-
export type KanbanRendererListExpandedState = Record<string, boolean>;
|
|
26
|
-
export interface KanbanRendererListProps {
|
|
27
|
-
items: KanbanRendererListItem[];
|
|
28
|
-
selectedItemId?: string | null;
|
|
29
|
-
expandedGroups?: KanbanRendererListExpandedState;
|
|
30
|
-
onItemClick?: (item: KanbanRendererListItem) => void;
|
|
31
|
-
onExpandedGroupChange?: (rowId: string, isExpanded: boolean) => void;
|
|
32
|
-
}
|
|
33
|
-
interface FlattenedKanbanRendererListItem {
|
|
34
|
-
id: string;
|
|
35
|
-
item: KanbanRendererListItem;
|
|
36
|
-
depth: number;
|
|
37
|
-
isGroup: boolean;
|
|
38
|
-
canExpand: boolean;
|
|
39
|
-
}
|
|
40
|
-
export declare const getKanbanRendererListIndentation: (depth: number) => string | undefined;
|
|
41
|
-
export declare const flattenKanbanRendererListItems: (items: KanbanRendererListItem[], expanded: KanbanRendererListExpandedState, depth?: number) => FlattenedKanbanRendererListItem[];
|
|
42
|
-
export declare const KanbanRendererList: (props: KanbanRendererListProps) => import("react/jsx-runtime").JSX.Element;
|
|
43
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { AttributeDescriptor, KanbanRendererRow } from './types';
|
|
2
|
-
export declare const attributes: AttributeDescriptor[];
|
|
3
|
-
export interface StoryRow extends KanbanRendererRow {
|
|
4
|
-
attributes: {
|
|
5
|
-
id?: string;
|
|
6
|
-
status: string;
|
|
7
|
-
assignee: string;
|
|
8
|
-
component: string;
|
|
9
|
-
priority?: string;
|
|
10
|
-
updated: string;
|
|
11
|
-
labels?: string[];
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
export declare const initialRows: StoryRow[];
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { AttributeDescriptor, KanbanRendererFilterState, KanbanRendererRow, KanbanRendererSavedView, KanbanRendererSettings } from './types';
|
|
3
|
-
export interface KanbanRendererToolbarProps<TRow extends KanbanRendererRow = KanbanRendererRow> {
|
|
4
|
-
rows: TRow[];
|
|
5
|
-
storageKey: string;
|
|
6
|
-
attributes: AttributeDescriptor[];
|
|
7
|
-
defaultSettings?: Partial<KanbanRendererSettings>;
|
|
8
|
-
defaultFilters?: KanbanRendererFilterState;
|
|
9
|
-
defaultViews?: KanbanRendererSavedView[];
|
|
10
|
-
defaultActiveViewId?: string;
|
|
11
|
-
leading?: ReactNode;
|
|
12
|
-
displayControl?: ReactNode;
|
|
13
|
-
align?: "split" | "end";
|
|
14
|
-
}
|
|
15
|
-
export declare const KanbanRendererToolbar: <TRow extends KanbanRendererRow>(props: KanbanRendererToolbarProps<TRow>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { FilterCategoryView } from './kanban-renderer-helpers';
|
|
3
|
-
import { KanbanRendererFilterState } from './types';
|
|
4
|
-
interface KanbanRendererViewBarProps {
|
|
5
|
-
storageKey: string;
|
|
6
|
-
categories: FilterCategoryView[];
|
|
7
|
-
filters: KanbanRendererFilterState;
|
|
8
|
-
leading?: ReactNode;
|
|
9
|
-
filterControl: ReactNode;
|
|
10
|
-
displayControl: ReactNode;
|
|
11
|
-
align?: "split" | "end";
|
|
12
|
-
}
|
|
13
|
-
export declare const KanbanRendererViewBar: (props: KanbanRendererViewBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { KanbanRendererFilterState, KanbanRendererSavedView, KanbanRendererSettings } from './types';
|
|
2
|
-
interface KanbanRendererViewState {
|
|
3
|
-
settings: KanbanRendererSettings;
|
|
4
|
-
filters: KanbanRendererFilterState;
|
|
5
|
-
}
|
|
6
|
-
export declare const snapshotKanbanRendererView: (id: string, title: string, state: KanbanRendererViewState, isDefault?: boolean) => KanbanRendererSavedView;
|
|
7
|
-
export declare const applyKanbanRendererView: (view: KanbanRendererSavedView) => {
|
|
8
|
-
settings: KanbanRendererSettings;
|
|
9
|
-
filters: KanbanRendererFilterState;
|
|
10
|
-
};
|
|
11
|
-
export declare const isKanbanRendererViewDirty: (view: KanbanRendererSavedView | undefined, state: KanbanRendererViewState) => boolean;
|
|
12
|
-
export {};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ResourceContextAction } from '../overlays/resource-context-menu';
|
|
3
|
-
import { KanbanRendererBoardColumnAction } from './kanban-renderer-board';
|
|
4
|
-
import { AttributeDescriptor, KanbanRendererCreateRowConfig, KanbanRendererCreateSubmission, KanbanRendererFilterState, KanbanRendererRow, KanbanRendererSavedView, KanbanRendererSettings } from './types';
|
|
5
|
-
/** Board-column behavior and menu configuration for a resolved column group. */
|
|
6
|
-
export interface BoardColumnConfig {
|
|
7
|
-
/** Chakra color palette used for the column header and group badges. */
|
|
8
|
-
color?: string;
|
|
9
|
-
canDragIn?: boolean;
|
|
10
|
-
canDragOut?: boolean;
|
|
11
|
-
canCreate?: boolean;
|
|
12
|
-
actions?: KanbanRendererBoardColumnAction[];
|
|
13
|
-
}
|
|
14
|
-
/** Switchable list/board renderer for rows with typed attributes, filtering, grouping, and ordering. */
|
|
15
|
-
export interface KanbanRendererProps<TRow extends KanbanRendererRow = KanbanRendererRow> {
|
|
16
|
-
/** Stable rows to render. Each row must have an id, title, and attributes map. */
|
|
17
|
-
rows: TRow[];
|
|
18
|
-
/** Persistent key used by the renderer store for view, filter, grouping, ordering, and list expansion settings. */
|
|
19
|
-
storageKey: string;
|
|
20
|
-
/** Attribute descriptors that define display, filtering, grouping, ordering, and board columns. */
|
|
21
|
-
attributes: AttributeDescriptor[];
|
|
22
|
-
selectedRowId?: string | null;
|
|
23
|
-
emptyState?: ReactNode;
|
|
24
|
-
emptyTitle?: string;
|
|
25
|
-
emptyDescription?: string;
|
|
26
|
-
defaultSettings?: Partial<KanbanRendererSettings>;
|
|
27
|
-
defaultFilters?: KanbanRendererFilterState;
|
|
28
|
-
defaultViews?: KanbanRendererSavedView[];
|
|
29
|
-
defaultActiveViewId?: string;
|
|
30
|
-
hideToolbar?: boolean;
|
|
31
|
-
toolbarLeading?: ReactNode;
|
|
32
|
-
onRowClick?: (row: TRow) => void;
|
|
33
|
-
/** Called when a row attribute changes through drag/drop, board movement, or inline controls. */
|
|
34
|
-
onAttributeChange?: (rowId: string, attributeId: string, value: unknown) => Promise<void> | void;
|
|
35
|
-
/** Called for manual row ordering when a dragged row is dropped before another row. */
|
|
36
|
-
onReorder?: (rowId: string, beforeRowId?: string) => Promise<void> | void;
|
|
37
|
-
createRow?: KanbanRendererCreateRowConfig;
|
|
38
|
-
onCreateRow?: (submission: KanbanRendererCreateSubmission) => Promise<void> | void;
|
|
39
|
-
onColumnAction?: (columnId: string, actionId: string) => Promise<void> | void;
|
|
40
|
-
getBoardColumnConfig?: (groupKey: string) => BoardColumnConfig;
|
|
41
|
-
getRowContextMenuActions?: (row: TRow) => ResourceContextAction[];
|
|
42
|
-
}
|
|
43
|
-
export declare const KanbanRenderer: <TRow extends KanbanRendererRow>(props: KanbanRendererProps<TRow>) => import("react/jsx-runtime").JSX.Element;
|