@pstdio/ui 0.26.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/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 +3271 -2848
- 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 -1302
- 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 -40
- package/dist/index.js +3167 -2707
- package/dist/index.js.map +1 -1
- package/dist/kanban-renderer.d.ts +337 -2
- package/dist/kanban-renderer.js +1413 -1085
- 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 -2
- package/dist/param-editor.js +3 -47
- 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 -429
- 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 -360
- 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 +26 -13
- package/dist/EquationComponent-DeDYHvqY.js +0 -62
- package/dist/EquationComponent-DeDYHvqY.js.map +0 -1
- package/dist/MermaidComponent-X__B6qib.js +0 -60
- package/dist/MermaidComponent-X__B6qib.js.map +0 -1
- package/dist/activity-timeline-BynMjXSB.js +0 -283
- package/dist/activity-timeline-BynMjXSB.js.map +0 -1
- package/dist/alert-ubcrW24X.js +0 -33
- package/dist/alert-ubcrW24X.js.map +0 -1
- package/dist/browser-storage-BinyFNJX.js +0 -40
- package/dist/browser-storage-BinyFNJX.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 -25
- 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-history-story.d.ts +0 -14
- 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-history.d.ts +0 -6
- 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 -33
- 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-composer.d.ts +0 -49
- 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/use-chat-input-history.d.ts +0 -16
- 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 -45
- 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 -19
- package/dist/components/rich-text/lazy-markdown-editor.d.ts +0 -2
- package/dist/components/rich-text/markdown-editor/markdown-editor-scrolling.play.d.ts +0 -4
- 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 -6
- 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 -11
- package/dist/components/rich-text/prompt-input/prompt-input.d.ts +0 -27
- 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/resource-activity-feed/resource-activity-feed.d.ts +0 -58
- 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 -12
- 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-Nfmfi7bz.js +0 -847
- package/dist/edit-mode-data-table-Nfmfi7bz.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-Buek4icz.js +0 -1375
- package/dist/kanban-renderer-toolbar-Buek4icz.js.map +0 -1
- package/dist/lazy-markdown-editor-PzIBc9-l.js +0 -42
- package/dist/lazy-markdown-editor-PzIBc9-l.js.map +0 -1
- package/dist/list-row-DHzRa9-O.js +0 -815
- package/dist/list-row-DHzRa9-O.js.map +0 -1
- package/dist/markdown-BCfPxNpb.js +0 -1663
- package/dist/markdown-BCfPxNpb.js.map +0 -1
- package/dist/markdown-editor-CsJ4KNGu.js +0 -1034
- package/dist/markdown-editor-CsJ4KNGu.js.map +0 -1
- package/dist/mermaid-renderer-D0YP0FmJ.js +0 -425
- package/dist/mermaid-renderer-D0YP0FmJ.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-CFM2Nf3l.js +0 -161
- package/dist/param-editor-CFM2Nf3l.js.map +0 -1
- package/dist/param-editor-field-Bj-AGUY6.js +0 -1728
- package/dist/param-editor-field-Bj-AGUY6.js.map +0 -1
- package/dist/param-editor.js.map +0 -1
- package/dist/prism-n5gcERyD.js +0 -202
- package/dist/prism-n5gcERyD.js.map +0 -1
- package/dist/radio-BfjibByI.js +0 -51
- package/dist/radio-BfjibByI.js.map +0 -1
- package/dist/rich-message-q6Y6QJOq.js +0 -633
- package/dist/rich-message-q6Y6QJOq.js.map +0 -1
- package/dist/rich-text.js.map +0 -1
- package/dist/scroll-area-BMbg1WcD.js +0 -91
- package/dist/scroll-area-BMbg1WcD.js.map +0 -1
- package/dist/slider-DBHjdxsU.js +0 -1092
- package/dist/slider-DBHjdxsU.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 -83
- 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-AzJH4Om3.js +0 -3999
- package/dist/theme-AzJH4Om3.js.map +0 -1
- package/dist/theme-preference-DxGW1qg-.js +0 -114
- package/dist/theme-preference-DxGW1qg-.js.map +0 -1
- package/dist/theme.js.map +0 -1
- package/dist/tree-list-CPjbGTvs.js +0 -1348
- package/dist/tree-list-CPjbGTvs.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-CuOcmnZc.js +0 -175
- package/dist/workspace-badge-CuOcmnZc.js.map +0 -1
|
@@ -1,1728 +0,0 @@
|
|
|
1
|
-
import { jsx as i, jsxs as N, Fragment as et } from "react/jsx-runtime";
|
|
2
|
-
import { c as F } from "react/compiler-runtime";
|
|
3
|
-
import { Text as Ve, Icon as ge, HStack as Ae, Flex as U, Box as A, parseColor as tt, ColorPicker as ae, Input as we, Textarea as De, Stack as Ie, Wrap as Ke, Menu as ve, Portal as lt, IconButton as qe, Button as Le, Grid as nt, Spinner as it, Popover as ze, Group as rt, Badge as st, Image as ot } from "@chakra-ui/react";
|
|
4
|
-
import { useState as Z, useEffect as ne, useRef as be } from "react";
|
|
5
|
-
import { S as at, R as ct } from "./prism-n5gcERyD.js";
|
|
6
|
-
import { CircleHelp as dt, ChevronDown as Xe, SquareCheck as ut, Square as ft, Check as mt, Plus as ht, Paperclip as pt, CircleAlert as gt, CircleCheck as bt, Clock3 as xt } from "lucide-react";
|
|
7
|
-
import { T as vt } from "./scroll-area-BMbg1WcD.js";
|
|
8
|
-
import { L as yt, a as _e, N as je } from "./lazy-markdown-editor-PzIBc9-l.js";
|
|
9
|
-
import { S as Ye, C as Ct, g as Se, A as St } from "./slider-DBHjdxsU.js";
|
|
10
|
-
import { L as Ee, b as Vt } from "./list-row-DHzRa9-O.js";
|
|
11
|
-
const D = (a) => {
|
|
12
|
-
const e = F(10), {
|
|
13
|
-
name: t,
|
|
14
|
-
description: n,
|
|
15
|
-
compact: l
|
|
16
|
-
} = a, o = l === void 0 ? !1 : l, r = o ? "label/XS/medium" : "label/S/medium", s = o ? "0.08em" : void 0, c = o ? "uppercase" : void 0;
|
|
17
|
-
let u;
|
|
18
|
-
e[0] !== t || e[1] !== r || e[2] !== s || e[3] !== c ? (u = /* @__PURE__ */ i(Ve, { textStyle: r, color: "fg.muted", letterSpacing: s, textTransform: c, truncate: !0, children: t }), e[0] = t, e[1] = r, e[2] = s, e[3] = c, e[4] = u) : u = e[4];
|
|
19
|
-
let f;
|
|
20
|
-
e[5] !== n ? (f = n ? /* @__PURE__ */ i(vt, { content: n, children: /* @__PURE__ */ i(ge, { as: dt, boxSize: "12px", color: "fg.muted", opacity: 0.6, cursor: "help", flexShrink: 0 }) }) : null, e[5] = n, e[6] = f) : f = e[6];
|
|
21
|
-
let p;
|
|
22
|
-
return e[7] !== u || e[8] !== f ? (p = /* @__PURE__ */ N(Ae, { gap: "1", alignItems: "center", minW: "0", children: [
|
|
23
|
-
u,
|
|
24
|
-
f
|
|
25
|
-
] }), e[7] = u, e[8] = f, e[9] = p) : p = e[9], p;
|
|
26
|
-
}, ce = (a) => {
|
|
27
|
-
const e = F(17), {
|
|
28
|
-
name: t,
|
|
29
|
-
description: n,
|
|
30
|
-
hideLabel: l,
|
|
31
|
-
fullWidth: o,
|
|
32
|
-
orientation: r,
|
|
33
|
-
labelTrailing: s,
|
|
34
|
-
children: c
|
|
35
|
-
} = a, u = l === void 0 ? !1 : l, f = o === void 0 ? !1 : o, p = r === void 0 ? "auto" : r;
|
|
36
|
-
let V;
|
|
37
|
-
e[0] !== n || e[1] !== u || e[2] !== t ? (V = u || !t ? null : /* @__PURE__ */ i(D, { name: t, description: n }), e[0] = n, e[1] = u, e[2] = t, e[3] = V) : V = e[3];
|
|
38
|
-
const m = V;
|
|
39
|
-
if ((p === "auto" ? f ? "stacked" : "inline" : p) === "stacked") {
|
|
40
|
-
const k = m || s;
|
|
41
|
-
let w;
|
|
42
|
-
e[4] !== k || e[5] !== m || e[6] !== s ? (w = k ? /* @__PURE__ */ N(U, { alignItems: "center", justifyContent: "space-between", gap: "xs", mb: "xs", minW: "0", children: [
|
|
43
|
-
m,
|
|
44
|
-
s
|
|
45
|
-
] }) : null, e[4] = k, e[5] = m, e[6] = s, e[7] = w) : w = e[7];
|
|
46
|
-
let S;
|
|
47
|
-
return e[8] !== c || e[9] !== w ? (S = /* @__PURE__ */ N(A, { minW: "0", children: [
|
|
48
|
-
w,
|
|
49
|
-
c
|
|
50
|
-
] }), e[8] = c, e[9] = w, e[10] = S) : S = e[10], S;
|
|
51
|
-
}
|
|
52
|
-
let d;
|
|
53
|
-
e[11] !== c || e[12] !== s ? (d = /* @__PURE__ */ N(U, { alignItems: "center", gap: "xs", minW: "0", children: [
|
|
54
|
-
s,
|
|
55
|
-
c
|
|
56
|
-
] }), e[11] = c, e[12] = s, e[13] = d) : d = e[13];
|
|
57
|
-
let v;
|
|
58
|
-
return e[14] !== m || e[15] !== d ? (v = /* @__PURE__ */ N(U, { alignItems: "center", justifyContent: "space-between", minHeight: "2rem", gap: "xs", minW: "0", children: [
|
|
59
|
-
m,
|
|
60
|
-
d
|
|
61
|
-
] }), e[14] = m, e[15] = d, e[16] = v) : v = e[16], v;
|
|
62
|
-
}, te = (a) => {
|
|
63
|
-
const e = F(8);
|
|
64
|
-
let t, n, l;
|
|
65
|
-
e[0] !== a ? ({
|
|
66
|
-
children: n,
|
|
67
|
-
preserveWhitespace: l,
|
|
68
|
-
...t
|
|
69
|
-
} = a, e[0] = a, e[1] = t, e[2] = n, e[3] = l) : (t = e[1], n = e[2], l = e[3]);
|
|
70
|
-
const r = (l === void 0 ? !1 : l) ? "pre-wrap" : void 0;
|
|
71
|
-
let s;
|
|
72
|
-
return e[4] !== t || e[5] !== n || e[6] !== r ? (s = /* @__PURE__ */ i(A, { minW: "0", textStyle: "label/S/regular", whiteSpace: r, ...t, children: n }), e[4] = t, e[5] = n, e[6] = r, e[7] = s) : s = e[7], s;
|
|
73
|
-
}, wt = (a) => {
|
|
74
|
-
const e = F(27), {
|
|
75
|
-
id: t,
|
|
76
|
-
name: n,
|
|
77
|
-
description: l,
|
|
78
|
-
defaultValue: o,
|
|
79
|
-
onChange: r,
|
|
80
|
-
readOnly: s,
|
|
81
|
-
hideLabel: c,
|
|
82
|
-
fullWidth: u,
|
|
83
|
-
size: f
|
|
84
|
-
} = a, p = f === void 0 ? "sm" : f, [V, m] = Z(o);
|
|
85
|
-
let b, d;
|
|
86
|
-
if (e[0] !== o ? (b = () => {
|
|
87
|
-
m(o);
|
|
88
|
-
}, d = [o], e[0] = o, e[1] = b, e[2] = d) : (b = e[1], d = e[2]), ne(b, d), s) {
|
|
89
|
-
const g = String(V);
|
|
90
|
-
let h;
|
|
91
|
-
e[3] !== g ? (h = /* @__PURE__ */ i(te, { children: g }), e[3] = g, e[4] = h) : h = e[4];
|
|
92
|
-
let x;
|
|
93
|
-
return e[5] !== l || e[6] !== u || e[7] !== c || e[8] !== n || e[9] !== h ? (x = /* @__PURE__ */ i(ce, { name: n, description: l, hideLabel: c, fullWidth: u, orientation: "inline", children: h }), e[5] = l, e[6] = u, e[7] = c, e[8] = n, e[9] = h, e[10] = x) : x = e[10], x;
|
|
94
|
-
}
|
|
95
|
-
let v;
|
|
96
|
-
e[11] !== n ? (v = {
|
|
97
|
-
"aria-label": n
|
|
98
|
-
}, e[11] = n, e[12] = v) : v = e[12];
|
|
99
|
-
let k;
|
|
100
|
-
e[13] !== t || e[14] !== r ? (k = (g) => {
|
|
101
|
-
m(g.checked), r(t, g.checked);
|
|
102
|
-
}, e[13] = t, e[14] = r, e[15] = k) : k = e[15];
|
|
103
|
-
let w;
|
|
104
|
-
e[16] !== p || e[17] !== v || e[18] !== k || e[19] !== V ? (w = /* @__PURE__ */ i(at, { size: p, checked: V, inputProps: v, onCheckedChange: k }), e[16] = p, e[17] = v, e[18] = k, e[19] = V, e[20] = w) : w = e[20];
|
|
105
|
-
let S;
|
|
106
|
-
return e[21] !== l || e[22] !== u || e[23] !== c || e[24] !== n || e[25] !== w ? (S = /* @__PURE__ */ i(ce, { name: n, description: l, hideLabel: c, fullWidth: u, orientation: "inline", children: w }), e[21] = l, e[22] = u, e[23] = c, e[24] = n, e[25] = w, e[26] = S) : S = e[26], S;
|
|
107
|
-
}, $t = (a) => {
|
|
108
|
-
const e = F(69), {
|
|
109
|
-
id: t,
|
|
110
|
-
defaultValue: n,
|
|
111
|
-
name: l,
|
|
112
|
-
onChange: o,
|
|
113
|
-
description: r,
|
|
114
|
-
readOnly: s,
|
|
115
|
-
hideLabel: c,
|
|
116
|
-
fullWidth: u,
|
|
117
|
-
size: f
|
|
118
|
-
} = a, p = c === void 0 ? !1 : c, V = u === void 0 ? !1 : u, m = f === void 0 ? "sm" : f, [b, d] = Z(n), [v, k] = Z(!1), w = be(null), S = be(null), g = be(null);
|
|
119
|
-
let h;
|
|
120
|
-
e[0] !== t || e[1] !== o ? (h = (Y) => {
|
|
121
|
-
g.current && clearTimeout(g.current), g.current = setTimeout(() => o(t, Y), 540);
|
|
122
|
-
}, e[0] = t, e[1] = o, e[2] = h) : h = e[2];
|
|
123
|
-
const x = h;
|
|
124
|
-
let y, $;
|
|
125
|
-
e[3] !== n ? (y = () => {
|
|
126
|
-
d(n);
|
|
127
|
-
}, $ = [n], e[3] = n, e[4] = y, e[5] = $) : (y = e[4], $ = e[5]), ne(y, $);
|
|
128
|
-
let W, I;
|
|
129
|
-
e[6] !== v ? (W = () => {
|
|
130
|
-
if (!v)
|
|
131
|
-
return;
|
|
132
|
-
const Y = (le) => {
|
|
133
|
-
const ue = le;
|
|
134
|
-
return w.current?.contains(ue) || S.current?.contains(ue);
|
|
135
|
-
}, J = (le) => {
|
|
136
|
-
Y(le.target) || k(!1);
|
|
137
|
-
};
|
|
138
|
-
return document.addEventListener("focusin", J, !0), document.addEventListener("pointerdown", J, !0), document.addEventListener("click", J, !0), () => {
|
|
139
|
-
document.removeEventListener("focusin", J, !0), document.removeEventListener("pointerdown", J, !0), document.removeEventListener("click", J, !0);
|
|
140
|
-
};
|
|
141
|
-
}, I = [v], e[6] = v, e[7] = W, e[8] = I) : (W = e[7], I = e[8]), ne(W, I);
|
|
142
|
-
let T;
|
|
143
|
-
e[9] !== x ? (T = (Y) => {
|
|
144
|
-
d(Y), x(Y);
|
|
145
|
-
}, e[9] = x, e[10] = T) : T = e[10];
|
|
146
|
-
const z = T;
|
|
147
|
-
let R;
|
|
148
|
-
e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (R = (Y) => {
|
|
149
|
-
const J = Y.currentTarget;
|
|
150
|
-
setTimeout(() => {
|
|
151
|
-
J.contains(J.ownerDocument.activeElement) || k(!1);
|
|
152
|
-
});
|
|
153
|
-
}, e[11] = R) : R = e[11];
|
|
154
|
-
const C = R;
|
|
155
|
-
if (s) {
|
|
156
|
-
let Y;
|
|
157
|
-
e[12] !== b ? (Y = /* @__PURE__ */ i(te, { children: /* @__PURE__ */ N(U, { alignItems: "center", gap: "xs", children: [
|
|
158
|
-
/* @__PURE__ */ i(A, { boxSize: "0.75rem", borderRadius: "xs", bg: b }),
|
|
159
|
-
/* @__PURE__ */ i(A, { as: "span", children: b })
|
|
160
|
-
] }) }), e[12] = b, e[13] = Y) : Y = e[13];
|
|
161
|
-
const J = Y;
|
|
162
|
-
if (V) {
|
|
163
|
-
let H;
|
|
164
|
-
e[14] !== r || e[15] !== p || e[16] !== l ? (H = !p && /* @__PURE__ */ i(A, { mb: "xs", children: /* @__PURE__ */ i(D, { name: l, description: r }) }), e[14] = r, e[15] = p, e[16] = l, e[17] = H) : H = e[17];
|
|
165
|
-
let ee;
|
|
166
|
-
return e[18] !== H || e[19] !== J ? (ee = /* @__PURE__ */ N(A, { children: [
|
|
167
|
-
H,
|
|
168
|
-
J
|
|
169
|
-
] }), e[18] = H, e[19] = J, e[20] = ee) : ee = e[20], ee;
|
|
170
|
-
}
|
|
171
|
-
let le;
|
|
172
|
-
e[21] !== r || e[22] !== p || e[23] !== l ? (le = !p && /* @__PURE__ */ i(D, { name: l, description: r }), e[21] = r, e[22] = p, e[23] = l, e[24] = le) : le = e[24];
|
|
173
|
-
let ue;
|
|
174
|
-
return e[25] !== le || e[26] !== J ? (ue = /* @__PURE__ */ i(A, { children: /* @__PURE__ */ N(U, { alignItems: "center", justifyContent: "space-between", minHeight: "2rem", gap: "xs", children: [
|
|
175
|
-
le,
|
|
176
|
-
J
|
|
177
|
-
] }) }), e[25] = le, e[26] = J, e[27] = ue) : ue = e[27], ue;
|
|
178
|
-
}
|
|
179
|
-
let L;
|
|
180
|
-
e[28] !== b ? (L = tt(b), e[28] = b, e[29] = L) : L = e[29];
|
|
181
|
-
let O, E, P;
|
|
182
|
-
e[30] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (O = (Y) => k(Y.open), E = () => k(!1), P = () => k(!1), e[30] = O, e[31] = E, e[32] = P) : (O = e[30], E = e[31], P = e[32]);
|
|
183
|
-
let j;
|
|
184
|
-
e[33] !== z ? (j = (Y) => z(Y.value.toString("hex")), e[33] = z, e[34] = j) : j = e[34];
|
|
185
|
-
let G;
|
|
186
|
-
e[35] !== v || e[36] !== s || e[37] !== L || e[38] !== j ? (G = {
|
|
187
|
-
value: L,
|
|
188
|
-
open: v,
|
|
189
|
-
onOpenChange: O,
|
|
190
|
-
onFocusOutside: E,
|
|
191
|
-
onInteractOutside: P,
|
|
192
|
-
onBlur: C,
|
|
193
|
-
onValueChange: j,
|
|
194
|
-
disabled: s
|
|
195
|
-
}, e[35] = v, e[36] = s, e[37] = L, e[38] = j, e[39] = G) : G = e[39];
|
|
196
|
-
const _ = G, K = V ? "100%" : "8.75rem";
|
|
197
|
-
let M;
|
|
198
|
-
e[40] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M = /* @__PURE__ */ i(ae.HiddenInput, {}), e[40] = M) : M = e[40];
|
|
199
|
-
let Q;
|
|
200
|
-
e[41] !== l ? (Q = /* @__PURE__ */ i(ae.Label, { srOnly: !0, children: l }), e[41] = l, e[42] = Q) : Q = e[42];
|
|
201
|
-
let B;
|
|
202
|
-
e[43] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (B = () => k(!1), e[43] = B) : B = e[43];
|
|
203
|
-
let q;
|
|
204
|
-
e[44] !== s ? (q = /* @__PURE__ */ i(ae.Input, { readOnly: s, onFocus: B }), e[44] = s, e[45] = q) : q = e[45];
|
|
205
|
-
let re;
|
|
206
|
-
e[46] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (re = /* @__PURE__ */ i(ae.Trigger, {}), e[46] = re) : re = e[46];
|
|
207
|
-
let se;
|
|
208
|
-
e[47] !== q ? (se = /* @__PURE__ */ N(ae.Control, { children: [
|
|
209
|
-
q,
|
|
210
|
-
re
|
|
211
|
-
] }), e[47] = q, e[48] = se) : se = e[48];
|
|
212
|
-
let xe, fe;
|
|
213
|
-
e[49] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (xe = /* @__PURE__ */ i(ae.Area, {}), fe = /* @__PURE__ */ i(ae.Sliders, {}), e[49] = xe, e[50] = fe) : (xe = e[49], fe = e[50]);
|
|
214
|
-
let X;
|
|
215
|
-
e[51] !== b ? (X = /* @__PURE__ */ i(ae.Swatch, { value: b }), e[51] = b, e[52] = X) : X = e[52];
|
|
216
|
-
let oe;
|
|
217
|
-
e[53] !== X || e[54] !== b ? (oe = /* @__PURE__ */ i(ae.Positioner, { children: /* @__PURE__ */ N(ae.Content, { ref: S, onBlur: C, children: [
|
|
218
|
-
xe,
|
|
219
|
-
fe,
|
|
220
|
-
/* @__PURE__ */ i(ae.SwatchGroup, { children: /* @__PURE__ */ i(ae.SwatchTrigger, { value: b, children: X }) })
|
|
221
|
-
] }) }), e[53] = X, e[54] = b, e[55] = oe) : oe = e[55];
|
|
222
|
-
let de;
|
|
223
|
-
e[56] !== _ || e[57] !== m || e[58] !== K || e[59] !== Q || e[60] !== se || e[61] !== oe ? (de = /* @__PURE__ */ N(ae.Root, { ref: w, ..._, size: m, width: K, maxW: "100%", children: [
|
|
224
|
-
M,
|
|
225
|
-
Q,
|
|
226
|
-
se,
|
|
227
|
-
oe
|
|
228
|
-
] }), e[56] = _, e[57] = m, e[58] = K, e[59] = Q, e[60] = se, e[61] = oe, e[62] = de) : de = e[62];
|
|
229
|
-
const me = de;
|
|
230
|
-
let he;
|
|
231
|
-
return e[63] !== r || e[64] !== V || e[65] !== p || e[66] !== l || e[67] !== me ? (he = /* @__PURE__ */ i(A, { children: V ? /* @__PURE__ */ N(A, { children: [
|
|
232
|
-
!p && /* @__PURE__ */ i(A, { mb: "xs", children: /* @__PURE__ */ i(D, { name: l, description: r }) }),
|
|
233
|
-
me
|
|
234
|
-
] }) : /* @__PURE__ */ N(U, { alignItems: "center", justifyContent: "space-between", minHeight: "2rem", gap: "xs", children: [
|
|
235
|
-
!p && /* @__PURE__ */ i(D, { name: l, description: r }),
|
|
236
|
-
me
|
|
237
|
-
] }) }), e[63] = r, e[64] = V, e[65] = p, e[66] = l, e[67] = me, e[68] = he) : he = e[68], he;
|
|
238
|
-
}, It = (a) => {
|
|
239
|
-
const e = F(35), {
|
|
240
|
-
id: t,
|
|
241
|
-
defaultValue: n,
|
|
242
|
-
name: l,
|
|
243
|
-
min: o,
|
|
244
|
-
max: r,
|
|
245
|
-
onChange: s,
|
|
246
|
-
description: c,
|
|
247
|
-
readOnly: u,
|
|
248
|
-
hideLabel: f,
|
|
249
|
-
fullWidth: p,
|
|
250
|
-
size: V
|
|
251
|
-
} = a, m = f === void 0 ? !1 : f, b = p === void 0 ? !1 : p, d = V === void 0 ? "sm" : V, [v, k] = Z(n), w = be(null);
|
|
252
|
-
let S;
|
|
253
|
-
e[0] !== t || e[1] !== s ? (S = (I) => {
|
|
254
|
-
w.current && clearTimeout(w.current), w.current = setTimeout(() => s(t, I), 540);
|
|
255
|
-
}, e[0] = t, e[1] = s, e[2] = S) : S = e[2];
|
|
256
|
-
const g = S;
|
|
257
|
-
let h, x;
|
|
258
|
-
e[3] !== n ? (h = () => {
|
|
259
|
-
k(n);
|
|
260
|
-
}, x = [n], e[3] = n, e[4] = h, e[5] = x) : (h = e[4], x = e[5]), ne(h, x);
|
|
261
|
-
let y;
|
|
262
|
-
e[6] !== g ? (y = (I) => {
|
|
263
|
-
k(I), g(I);
|
|
264
|
-
}, e[6] = g, e[7] = y) : y = e[7];
|
|
265
|
-
const $ = y;
|
|
266
|
-
if (u) {
|
|
267
|
-
let I;
|
|
268
|
-
e[8] !== v ? (I = /* @__PURE__ */ i(te, { children: v }), e[8] = v, e[9] = I) : I = e[9];
|
|
269
|
-
const T = I;
|
|
270
|
-
if (b) {
|
|
271
|
-
let C;
|
|
272
|
-
e[10] !== c || e[11] !== m || e[12] !== l ? (C = !m && /* @__PURE__ */ i(A, { mb: "xs", children: /* @__PURE__ */ i(D, { name: l, description: c }) }), e[10] = c, e[11] = m, e[12] = l, e[13] = C) : C = e[13];
|
|
273
|
-
let L;
|
|
274
|
-
return e[14] !== C || e[15] !== T ? (L = /* @__PURE__ */ N(A, { children: [
|
|
275
|
-
C,
|
|
276
|
-
T
|
|
277
|
-
] }), e[14] = C, e[15] = T, e[16] = L) : L = e[16], L;
|
|
278
|
-
}
|
|
279
|
-
let z;
|
|
280
|
-
e[17] !== c || e[18] !== m || e[19] !== l ? (z = !m && /* @__PURE__ */ i(D, { name: l, description: c }), e[17] = c, e[18] = m, e[19] = l, e[20] = z) : z = e[20];
|
|
281
|
-
let R;
|
|
282
|
-
return e[21] !== z || e[22] !== T ? (R = /* @__PURE__ */ i(A, { children: /* @__PURE__ */ N(U, { alignItems: "center", justifyContent: "space-between", minHeight: "2rem", gap: "xs", children: [
|
|
283
|
-
z,
|
|
284
|
-
T
|
|
285
|
-
] }) }), e[21] = z, e[22] = T, e[23] = R) : R = e[23], R;
|
|
286
|
-
}
|
|
287
|
-
let W;
|
|
288
|
-
return e[24] !== c || e[25] !== b || e[26] !== $ || e[27] !== m || e[28] !== r || e[29] !== o || e[30] !== l || e[31] !== u || e[32] !== d || e[33] !== v ? (W = /* @__PURE__ */ i(A, { children: b ? /* @__PURE__ */ N(A, { children: [
|
|
289
|
-
!m && /* @__PURE__ */ i(A, { mb: "xs", children: /* @__PURE__ */ i(D, { name: l, description: c }) }),
|
|
290
|
-
/* @__PURE__ */ i(we, { className: "nodrag", readOnly: u, width: "100%", size: d, type: "date", placeholder: m ? l : void 0, value: v, min: o, max: r, onChange: (I) => $(I.target.value), onKeyUp: Lt })
|
|
291
|
-
] }) : /* @__PURE__ */ N(U, { alignItems: "center", justifyContent: "space-between", minHeight: "2rem", gap: "xs", children: [
|
|
292
|
-
!m && /* @__PURE__ */ i(D, { name: l, description: c }),
|
|
293
|
-
/* @__PURE__ */ i(we, { className: "nodrag", readOnly: u, width: "8.75rem", size: d, type: "date", placeholder: m ? l : void 0, value: v, min: o, max: r, onChange: (I) => $(I.target.value), onKeyUp: Tt })
|
|
294
|
-
] }) }), e[24] = c, e[25] = b, e[26] = $, e[27] = m, e[28] = r, e[29] = o, e[30] = l, e[31] = u, e[32] = d, e[33] = v, e[34] = W) : W = e[34], W;
|
|
295
|
-
};
|
|
296
|
-
function Lt(a) {
|
|
297
|
-
a.key === "Enter" && a.currentTarget.blur();
|
|
298
|
-
}
|
|
299
|
-
function Tt(a) {
|
|
300
|
-
a.key === "Enter" && a.currentTarget.blur();
|
|
301
|
-
}
|
|
302
|
-
const Wt = (a) => {
|
|
303
|
-
const e = F(33), {
|
|
304
|
-
id: t,
|
|
305
|
-
defaultValue: n,
|
|
306
|
-
name: l,
|
|
307
|
-
onChange: o,
|
|
308
|
-
description: r,
|
|
309
|
-
readOnly: s,
|
|
310
|
-
hideLabel: c,
|
|
311
|
-
size: u
|
|
312
|
-
} = a, f = c === void 0 ? !1 : c, p = u === void 0 ? "sm" : u, [V, m] = Z(n), [b, d] = Z(!1), v = be(null);
|
|
313
|
-
let k;
|
|
314
|
-
e[0] !== t || e[1] !== o ? (k = (C) => {
|
|
315
|
-
v.current && clearTimeout(v.current), v.current = setTimeout(() => o(t, C), 540);
|
|
316
|
-
}, e[0] = t, e[1] = o, e[2] = k) : k = e[2];
|
|
317
|
-
const w = k;
|
|
318
|
-
let S, g;
|
|
319
|
-
e[3] !== n ? (S = () => {
|
|
320
|
-
m(n);
|
|
321
|
-
}, g = [n], e[3] = n, e[4] = S, e[5] = g) : (S = e[4], g = e[5]), ne(S, g);
|
|
322
|
-
let h;
|
|
323
|
-
e[6] !== w ? (h = (C) => {
|
|
324
|
-
m(C), w(C);
|
|
325
|
-
}, e[6] = w, e[7] = h) : h = e[7];
|
|
326
|
-
const x = h;
|
|
327
|
-
let y;
|
|
328
|
-
e[8] !== s ? (y = () => {
|
|
329
|
-
s || d(!0);
|
|
330
|
-
}, e[8] = s, e[9] = y) : y = e[9];
|
|
331
|
-
const $ = y;
|
|
332
|
-
let W;
|
|
333
|
-
e[10] !== V ? (W = () => {
|
|
334
|
-
V.trim().length === 0 && d(!1);
|
|
335
|
-
}, e[10] = V, e[11] = W) : W = e[11];
|
|
336
|
-
const I = W;
|
|
337
|
-
let T;
|
|
338
|
-
e[12] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (T = (C) => {
|
|
339
|
-
C.key === "Escape" && (d(!1), C.preventDefault());
|
|
340
|
-
}, e[12] = T) : T = e[12];
|
|
341
|
-
const z = T;
|
|
342
|
-
if (s) {
|
|
343
|
-
let C;
|
|
344
|
-
e[13] !== r || e[14] !== f || e[15] !== l ? (C = !f && /* @__PURE__ */ i(D, { name: l, description: r }), e[13] = r, e[14] = f, e[15] = l, e[16] = C) : C = e[16];
|
|
345
|
-
let L;
|
|
346
|
-
e[17] !== V ? (L = /* @__PURE__ */ i(te, { preserveWhitespace: !0, children: V }), e[17] = V, e[18] = L) : L = e[18];
|
|
347
|
-
let O;
|
|
348
|
-
return e[19] !== L || e[20] !== C ? (O = /* @__PURE__ */ i(A, { position: "relative", flex: "1", minW: "12.5rem", children: /* @__PURE__ */ N(U, { alignItems: "center", justifyContent: "space-between", minHeight: "2rem", gap: "xs", children: [
|
|
349
|
-
C,
|
|
350
|
-
L
|
|
351
|
-
] }) }), e[19] = L, e[20] = C, e[21] = O) : O = e[21], O;
|
|
352
|
-
}
|
|
353
|
-
let R;
|
|
354
|
-
return e[22] !== r || e[23] !== I || e[24] !== x || e[25] !== $ || e[26] !== f || e[27] !== b || e[28] !== l || e[29] !== s || e[30] !== p || e[31] !== V ? (R = /* @__PURE__ */ i(A, { position: "relative", flex: "1", minW: "12.5rem", children: /* @__PURE__ */ i(A, { position: "relative", minHeight: "2rem", children: b ? /* @__PURE__ */ N(A, { position: "absolute", top: "0", left: "0", right: "0", zIndex: "10", bg: "bg", borderWidth: "1px", borderStyle: "solid", borderColor: "border", borderRadius: "lg", p: "2", transition: "border-color 0.2s ease-in-out", boxShadow: "none", _hover: {
|
|
355
|
-
borderColor: "border.accent-light"
|
|
356
|
-
}, _active: {
|
|
357
|
-
borderColor: "border.accent-light"
|
|
358
|
-
}, _focusWithin: {
|
|
359
|
-
borderColor: "border.accent-light",
|
|
360
|
-
boxShadow: "none"
|
|
361
|
-
}, children: [
|
|
362
|
-
!f && /* @__PURE__ */ i(A, { mb: "sm", children: /* @__PURE__ */ i(D, { name: l, description: r }) }),
|
|
363
|
-
/* @__PURE__ */ i(De, { "aria-label": l, className: "nodrag", readOnly: s, width: "100%", size: p, placeholder: f ? l : void 0, value: V, onChange: (C) => x(C.target.value), onBlur: I, onKeyDown: z, rows: 3, resize: "vertical", autoFocus: !0 })
|
|
364
|
-
] }) : /* @__PURE__ */ N(U, { alignItems: "center", justifyContent: "space-between", height: "2rem", gap: "xs", children: [
|
|
365
|
-
!f && /* @__PURE__ */ i(D, { name: l, description: r }),
|
|
366
|
-
/* @__PURE__ */ i(we, { "aria-label": l, className: "nodrag", readOnly: s, flex: "1", maxW: "12.5rem", size: p, type: "text", placeholder: f ? l : void 0, value: V, onClick: $, onChange: (C) => x(C.target.value), onKeyUp: kt })
|
|
367
|
-
] }) }) }), e[22] = r, e[23] = I, e[24] = x, e[25] = $, e[26] = f, e[27] = b, e[28] = l, e[29] = s, e[30] = p, e[31] = V, e[32] = R) : R = e[32], R;
|
|
368
|
-
};
|
|
369
|
-
function kt(a) {
|
|
370
|
-
a.key === "Enter" && a.currentTarget.blur();
|
|
371
|
-
}
|
|
372
|
-
const zt = (a) => {
|
|
373
|
-
const e = F(28), {
|
|
374
|
-
id: t,
|
|
375
|
-
name: n,
|
|
376
|
-
description: l,
|
|
377
|
-
defaultValue: o,
|
|
378
|
-
placeholder: r,
|
|
379
|
-
onChange: s,
|
|
380
|
-
readOnly: c,
|
|
381
|
-
presentation: u,
|
|
382
|
-
size: f
|
|
383
|
-
} = a, p = u === void 0 ? "stacked" : u, V = f === void 0 ? "sm" : f, [m, b] = Z(o), [d, v] = Z(!1);
|
|
384
|
-
let k, w;
|
|
385
|
-
e[0] !== o ? (k = () => {
|
|
386
|
-
b(o);
|
|
387
|
-
}, w = [o], e[0] = o, e[1] = k, e[2] = w) : (k = e[1], w = e[2]), ne(k, w);
|
|
388
|
-
let S;
|
|
389
|
-
e[3] !== t || e[4] !== s ? (S = (T) => {
|
|
390
|
-
b(T), s(t, T);
|
|
391
|
-
}, e[3] = t, e[4] = s, e[5] = S) : S = e[5];
|
|
392
|
-
const g = S;
|
|
393
|
-
let h;
|
|
394
|
-
e[6] !== g || e[7] !== r || e[8] !== c ? (h = (T) => /* @__PURE__ */ i(A, { borderWidth: "1px", borderColor: "border", borderRadius: "xs", minH: "7rem", minW: "0", overflow: "visible", width: "full", children: /* @__PURE__ */ i(yt, { defaultState: T, isEditable: !c, placeholder: r, scrollable: !1, onChange: g }) }), e[6] = g, e[7] = r, e[8] = c, e[9] = h) : h = e[9];
|
|
395
|
-
const x = h;
|
|
396
|
-
let y;
|
|
397
|
-
e[10] !== l || e[11] !== n ? (y = /* @__PURE__ */ i(D, { name: n, description: l }), e[10] = l, e[11] = n, e[12] = y) : y = e[12];
|
|
398
|
-
const $ = y;
|
|
399
|
-
if (p === "horizontal") {
|
|
400
|
-
if (c) {
|
|
401
|
-
let z;
|
|
402
|
-
return e[13] !== m ? (z = /* @__PURE__ */ i(A, { position: "relative", flex: "1", minW: "12.5rem", children: /* @__PURE__ */ i(U, { alignItems: "center", minHeight: "2rem", children: /* @__PURE__ */ i(te, { preserveWhitespace: !0, children: m }) }) }), e[13] = m, e[14] = z) : z = e[14], z;
|
|
403
|
-
}
|
|
404
|
-
let T;
|
|
405
|
-
return e[15] !== g || e[16] !== x || e[17] !== d || e[18] !== n || e[19] !== V || e[20] !== m ? (T = /* @__PURE__ */ i(A, { position: "relative", flex: "1", minW: "12.5rem", children: /* @__PURE__ */ i(A, { position: "relative", minHeight: "2rem", children: d ? /* @__PURE__ */ i(A, { position: "absolute", top: "0", left: "0", right: "0", zIndex: "10", bg: "bg", borderWidth: "1px", borderColor: "border", borderRadius: "lg", p: "2", transition: "border-color 0.2s ease-in-out", _hover: {
|
|
406
|
-
borderColor: "border.accent-light"
|
|
407
|
-
}, _focusWithin: {
|
|
408
|
-
borderColor: "border.accent-light"
|
|
409
|
-
}, onKeyDown: (z) => {
|
|
410
|
-
z.key === "Escape" && (v(!1), z.preventDefault());
|
|
411
|
-
}, children: x(m) }) : /* @__PURE__ */ i(we, { className: "nodrag", flex: "1", maxW: "12.5rem", size: V, type: "text", placeholder: n, value: m, onClick: () => {
|
|
412
|
-
v(!0);
|
|
413
|
-
}, onChange: (z) => g(z.target.value) }) }) }), e[15] = g, e[16] = x, e[17] = d, e[18] = n, e[19] = V, e[20] = m, e[21] = T) : T = e[21], T;
|
|
414
|
-
}
|
|
415
|
-
let W;
|
|
416
|
-
e[22] !== x || e[23] !== m ? (W = x(m), e[22] = x, e[23] = m, e[24] = W) : W = e[24];
|
|
417
|
-
let I;
|
|
418
|
-
return e[25] !== $ || e[26] !== W ? (I = /* @__PURE__ */ N(Ie, { gap: "xs", minW: "0", width: "full", children: [
|
|
419
|
-
$,
|
|
420
|
-
W
|
|
421
|
-
] }), e[25] = $, e[26] = W, e[27] = I) : I = e[27], I;
|
|
422
|
-
}, Qe = (a) => {
|
|
423
|
-
const e = F(46), {
|
|
424
|
-
id: t,
|
|
425
|
-
defaultValue: n,
|
|
426
|
-
name: l,
|
|
427
|
-
step: o,
|
|
428
|
-
min: r,
|
|
429
|
-
max: s,
|
|
430
|
-
onChange: c,
|
|
431
|
-
description: u,
|
|
432
|
-
readOnly: f,
|
|
433
|
-
hideLabel: p,
|
|
434
|
-
hideSlider: V,
|
|
435
|
-
fullWidth: m,
|
|
436
|
-
size: b
|
|
437
|
-
} = a, d = o === void 0 ? 1 : o, v = p === void 0 ? !1 : p, k = V === void 0 ? !1 : V, w = m === void 0 ? !1 : m, S = b === void 0 ? "sm" : b, [g, h] = Z(n), y = r !== void 0 && s !== void 0 && !k, $ = w && !y, W = be(null);
|
|
438
|
-
let I;
|
|
439
|
-
e[0] !== t || e[1] !== c ? (I = (E) => {
|
|
440
|
-
W.current && clearTimeout(W.current), W.current = setTimeout(() => c(t, E), 540);
|
|
441
|
-
}, e[0] = t, e[1] = c, e[2] = I) : I = e[2];
|
|
442
|
-
const T = I;
|
|
443
|
-
let z, R;
|
|
444
|
-
if (e[3] !== n ? (z = () => {
|
|
445
|
-
h(n);
|
|
446
|
-
}, R = [n], e[3] = n, e[4] = z, e[5] = R) : (z = e[4], R = e[5]), ne(z, R), f) {
|
|
447
|
-
let E;
|
|
448
|
-
e[6] !== g ? (E = /* @__PURE__ */ i(te, { children: g }), e[6] = g, e[7] = E) : E = e[7];
|
|
449
|
-
const P = E;
|
|
450
|
-
if (w) {
|
|
451
|
-
let _;
|
|
452
|
-
e[8] !== u || e[9] !== v || e[10] !== l ? (_ = !v && /* @__PURE__ */ i(A, { mb: "xs", children: /* @__PURE__ */ i(D, { name: l, description: u }) }), e[8] = u, e[9] = v, e[10] = l, e[11] = _) : _ = e[11];
|
|
453
|
-
let K;
|
|
454
|
-
return e[12] !== _ || e[13] !== P ? (K = /* @__PURE__ */ N(A, { children: [
|
|
455
|
-
_,
|
|
456
|
-
P
|
|
457
|
-
] }), e[12] = _, e[13] = P, e[14] = K) : K = e[14], K;
|
|
458
|
-
}
|
|
459
|
-
let j;
|
|
460
|
-
e[15] !== u || e[16] !== v || e[17] !== l ? (j = !v && /* @__PURE__ */ i(D, { name: l, description: u }), e[15] = u, e[16] = v, e[17] = l, e[18] = j) : j = e[18];
|
|
461
|
-
let G;
|
|
462
|
-
return e[19] !== j || e[20] !== P ? (G = /* @__PURE__ */ i(A, { children: /* @__PURE__ */ N(U, { alignItems: "center", justifyContent: "space-between", minHeight: "2rem", gap: "xs", children: [
|
|
463
|
-
j,
|
|
464
|
-
P
|
|
465
|
-
] }) }), e[19] = j, e[20] = P, e[21] = G) : G = e[21], G;
|
|
466
|
-
}
|
|
467
|
-
let C;
|
|
468
|
-
e[22] !== u || e[23] !== v || e[24] !== s || e[25] !== r || e[26] !== l || e[27] !== f || e[28] !== T || e[29] !== S || e[30] !== d || e[31] !== $ || e[32] !== g ? (C = $ ? /* @__PURE__ */ N(A, { children: [
|
|
469
|
-
!v && /* @__PURE__ */ i(A, { mb: "xs", children: /* @__PURE__ */ i(D, { name: l, description: u }) }),
|
|
470
|
-
/* @__PURE__ */ i(_e, { disabled: f, width: "100%", size: S, value: `${g}`, step: d, min: r, max: s, onValueChange: (E) => {
|
|
471
|
-
const P = Number.isNaN(E.valueAsNumber) ? r ?? 0 : E.valueAsNumber;
|
|
472
|
-
h(P), T(P);
|
|
473
|
-
}, children: /* @__PURE__ */ i(je, { className: "nodrag", readOnly: f, placeholder: v ? l : void 0, onKeyUp: Rt }) })
|
|
474
|
-
] }) : /* @__PURE__ */ N(U, { alignItems: "center", justifyContent: "space-between", minHeight: "2rem", gap: "xs", children: [
|
|
475
|
-
!v && /* @__PURE__ */ i(D, { name: l, description: u }),
|
|
476
|
-
/* @__PURE__ */ i(_e, { disabled: f, width: "5rem", size: S, value: `${g}`, step: d, min: r, max: s, onValueChange: (E) => {
|
|
477
|
-
const P = Number.isNaN(E.valueAsNumber) ? r ?? 0 : E.valueAsNumber;
|
|
478
|
-
h(P), T(P);
|
|
479
|
-
}, children: /* @__PURE__ */ i(je, { className: "nodrag", readOnly: f, placeholder: v ? l : void 0, onKeyUp: Ot }) })
|
|
480
|
-
] }), e[22] = u, e[23] = v, e[24] = s, e[25] = r, e[26] = l, e[27] = f, e[28] = T, e[29] = S, e[30] = d, e[31] = $, e[32] = g, e[33] = C) : C = e[33];
|
|
481
|
-
let L;
|
|
482
|
-
e[34] !== t || e[35] !== s || e[36] !== r || e[37] !== c || e[38] !== f || e[39] !== y || e[40] !== d || e[41] !== g ? (L = y && /* @__PURE__ */ i(Ye, { disabled: f, value: [g], step: d, min: r, max: s, onValueChange: (E) => {
|
|
483
|
-
h(E.value[0]);
|
|
484
|
-
}, onValueChangeEnd: (E) => {
|
|
485
|
-
c(t, E.value[0]);
|
|
486
|
-
} }), e[34] = t, e[35] = s, e[36] = r, e[37] = c, e[38] = f, e[39] = y, e[40] = d, e[41] = g, e[42] = L) : L = e[42];
|
|
487
|
-
let O;
|
|
488
|
-
return e[43] !== C || e[44] !== L ? (O = /* @__PURE__ */ N(A, { children: [
|
|
489
|
-
C,
|
|
490
|
-
L
|
|
491
|
-
] }), e[43] = C, e[44] = L, e[45] = O) : O = e[45], O;
|
|
492
|
-
};
|
|
493
|
-
function Rt(a) {
|
|
494
|
-
a.key === "Enter" && a.currentTarget.blur();
|
|
495
|
-
}
|
|
496
|
-
function Ot(a) {
|
|
497
|
-
a.key === "Enter" && a.currentTarget.blur();
|
|
498
|
-
}
|
|
499
|
-
const Et = (a) => /* @__PURE__ */ i(ge, { as: Se(a.icon), boxSize: "14px", color: a.color ? `${a.color}.500` : "fg.muted" }), Nt = (a) => window.open(a, "_blank", "noreferrer"), At = (a) => {
|
|
500
|
-
navigator.clipboard?.writeText(a).catch(() => {
|
|
501
|
-
});
|
|
502
|
-
}, Pt = (a) => {
|
|
503
|
-
const e = F(18), {
|
|
504
|
-
option: t,
|
|
505
|
-
onOpenResource: n,
|
|
506
|
-
onRemove: l
|
|
507
|
-
} = a;
|
|
508
|
-
if (!!!(t.href || t.ref || t.copyText)) {
|
|
509
|
-
let m;
|
|
510
|
-
return e[0] !== t.name ? (m = /* @__PURE__ */ i(Ct, { children: t.name }), e[0] = t.name, e[1] = m) : m = e[1], m;
|
|
511
|
-
}
|
|
512
|
-
let r;
|
|
513
|
-
e[2] !== n || e[3] !== t.copyText || e[4] !== t.href || e[5] !== t.ref ? (r = t.href && t.href.length > 0 ? () => Nt(t.href) : t.ref && n ? () => n(t.ref) : t.copyText ? () => At(t.copyText) : void 0, e[2] = n, e[3] = t.copyText, e[4] = t.href, e[5] = t.ref, e[6] = r) : r = e[6];
|
|
514
|
-
const s = r, c = t.name;
|
|
515
|
-
let u;
|
|
516
|
-
e[7] !== t ? (u = Et(t), e[7] = t, e[8] = u) : u = e[8];
|
|
517
|
-
let f;
|
|
518
|
-
e[9] !== s ? (f = s ? () => s() : void 0, e[9] = s, e[10] = f) : f = e[10];
|
|
519
|
-
let p;
|
|
520
|
-
e[11] !== l ? (p = l ? () => l() : void 0, e[11] = l, e[12] = p) : p = e[12];
|
|
521
|
-
let V;
|
|
522
|
-
return e[13] !== t.name || e[14] !== u || e[15] !== f || e[16] !== p ? (V = /* @__PURE__ */ i(ct, { fileName: c, icon: u, size: "md", onSelect: f, onRemove: p }), e[13] = t.name, e[14] = u, e[15] = f, e[16] = p, e[17] = V) : V = e[17], V;
|
|
523
|
-
}, He = (a) => {
|
|
524
|
-
const e = F(11), {
|
|
525
|
-
options: t,
|
|
526
|
-
onOpenResource: n,
|
|
527
|
-
onRemove: l,
|
|
528
|
-
emptyText: o
|
|
529
|
-
} = a;
|
|
530
|
-
if (t.length === 0) {
|
|
531
|
-
const c = o ?? "None";
|
|
532
|
-
let u;
|
|
533
|
-
return e[0] !== c ? (u = /* @__PURE__ */ i(Ve, { textStyle: "label/S/regular", color: "fg.muted", children: c }), e[0] = c, e[1] = u) : u = e[1], u;
|
|
534
|
-
}
|
|
535
|
-
let r;
|
|
536
|
-
if (e[2] !== n || e[3] !== l || e[4] !== t) {
|
|
537
|
-
let c;
|
|
538
|
-
e[6] !== n || e[7] !== l ? (c = (u) => /* @__PURE__ */ i(Pt, { option: u, onOpenResource: n, onRemove: l ? () => l(u.id) : void 0 }, u.id), e[6] = n, e[7] = l, e[8] = c) : c = e[8], r = t.map(c), e[2] = n, e[3] = l, e[4] = t, e[5] = r;
|
|
539
|
-
} else
|
|
540
|
-
r = e[5];
|
|
541
|
-
let s;
|
|
542
|
-
return e[9] !== r ? (s = /* @__PURE__ */ i(Ke, { gap: "2xs", children: r }), e[9] = r, e[10] = s) : s = e[10], s;
|
|
543
|
-
}, _t = (a, e) => a ? /* @__PURE__ */ i(ge, { as: e ? ut : ft, boxSize: "14px", color: e ? "fg" : "fg.muted" }) : e ? /* @__PURE__ */ i(ge, { as: mt, boxSize: "14px", color: "fg" }) : null, Je = (a, e) => a ? /* @__PURE__ */ i(ge, { as: Se(a.icon ?? null), boxSize: e, color: a.color ? `${a.color}.500` : "fg.muted" }) : null, Oe = (a) => {
|
|
544
|
-
const e = F(42), {
|
|
545
|
-
triggerLabel: t,
|
|
546
|
-
options: n,
|
|
547
|
-
selectedIds: l,
|
|
548
|
-
multiSelect: o,
|
|
549
|
-
disabled: r,
|
|
550
|
-
searchable: s,
|
|
551
|
-
searchPlaceholder: c,
|
|
552
|
-
emptyText: u,
|
|
553
|
-
group: f,
|
|
554
|
-
fullWidth: p,
|
|
555
|
-
triggerVariant: V,
|
|
556
|
-
triggerAriaLabel: m,
|
|
557
|
-
size: b,
|
|
558
|
-
onToggle: d,
|
|
559
|
-
onGroupChange: v
|
|
560
|
-
} = a, k = s === void 0 ? !1 : s, w = c === void 0 ? "Search options…" : c, S = u === void 0 ? "No options found" : u, g = V === void 0 ? "button" : V, h = b === void 0 ? "sm" : b;
|
|
561
|
-
let x;
|
|
562
|
-
e[0] !== r || e[1] !== p || e[2] !== h || e[3] !== m || e[4] !== t || e[5] !== g ? (x = g === "icon" ? /* @__PURE__ */ i(qe, { "aria-label": m ?? "Open options", size: "2xs", variant: "ghost", disabled: r, children: t }) : /* @__PURE__ */ i(Le, { size: h, borderWidth: "1px", borderStyle: "solid", borderColor: "border", disabled: r, textStyle: h === "xs" ? "label/XS" : "label/S/regular", width: p ? "100%" : void 0, _hover: {
|
|
563
|
-
bg: "bg.hover",
|
|
564
|
-
borderColor: "border.accent-light"
|
|
565
|
-
}, _active: {
|
|
566
|
-
bg: "bg.active",
|
|
567
|
-
borderColor: "border.accent-light"
|
|
568
|
-
}, _expanded: {
|
|
569
|
-
bg: "bg.active",
|
|
570
|
-
borderColor: "border.accent-light"
|
|
571
|
-
}, _focusVisible: {
|
|
572
|
-
borderColor: "border.accent-light",
|
|
573
|
-
outline: "none",
|
|
574
|
-
boxShadow: "none"
|
|
575
|
-
}, children: /* @__PURE__ */ N(U, { alignItems: "center", justifyContent: "space-between", gap: "xs", w: p ? "full" : void 0, children: [
|
|
576
|
-
/* @__PURE__ */ i(U, { alignItems: "center", gap: "xs", children: t }),
|
|
577
|
-
/* @__PURE__ */ i(Xe, { size: 14 })
|
|
578
|
-
] }) }), e[0] = r, e[1] = p, e[2] = h, e[3] = m, e[4] = t, e[5] = g, e[6] = x) : x = e[6];
|
|
579
|
-
const y = x;
|
|
580
|
-
if (k || f) {
|
|
581
|
-
let R;
|
|
582
|
-
if (e[7] !== d || e[8] !== n || e[9] !== l) {
|
|
583
|
-
let O;
|
|
584
|
-
e[11] !== d || e[12] !== l ? (O = (E) => ({
|
|
585
|
-
id: E.id,
|
|
586
|
-
label: E.name,
|
|
587
|
-
searchText: [E.id, E.description].filter(Boolean).join(" "),
|
|
588
|
-
secondaryLabel: E.description,
|
|
589
|
-
icon: Se(E.icon),
|
|
590
|
-
isDisabled: E.disabled,
|
|
591
|
-
isSelected: l.includes(E.id),
|
|
592
|
-
onSelect: () => d(E.id)
|
|
593
|
-
}), e[11] = d, e[12] = l, e[13] = O) : O = e[13], R = n.map(O), e[7] = d, e[8] = n, e[9] = l, e[10] = R;
|
|
594
|
-
} else
|
|
595
|
-
R = e[10];
|
|
596
|
-
const C = R;
|
|
597
|
-
let L;
|
|
598
|
-
if (e[14] !== S || e[15] !== f || e[16] !== C || e[17] !== o || e[18] !== v || e[19] !== w || e[20] !== k || e[21] !== y) {
|
|
599
|
-
const O = f?.options.find((P) => P.id === f.defaultValue);
|
|
600
|
-
let E;
|
|
601
|
-
e[23] !== S ? (E = /* @__PURE__ */ i(ve.Item, { value: "empty", disabled: !0, asChild: !0, children: /* @__PURE__ */ i(Ee, { asChild: !0, variant: "full-width", id: "empty", label: S, disabled: !0 }) }), e[23] = S, e[24] = E) : E = e[24], L = /* @__PURE__ */ i(Vt, { trigger: y, items: C, listId: f?.defaultValue, showSearch: k, searchPlaceholder: w, closeOnSelect: !o, emptyState: E, parentList: f ? {
|
|
602
|
-
items: f.options.map((P) => ({
|
|
603
|
-
id: P.id,
|
|
604
|
-
label: P.name,
|
|
605
|
-
searchText: [P.id, P.description].filter(Boolean).join(" "),
|
|
606
|
-
secondaryLabel: P.description,
|
|
607
|
-
icon: Se(P.icon),
|
|
608
|
-
isDisabled: P.disabled,
|
|
609
|
-
isSelected: P.id === f.defaultValue
|
|
610
|
-
})),
|
|
611
|
-
selectedLabel: O?.name ?? f.placeholder ?? `Select ${f.name.toLowerCase()}`,
|
|
612
|
-
selectedIcon: O ? Se(O.icon) : void 0,
|
|
613
|
-
ariaLabel: f.name,
|
|
614
|
-
disabled: f.disabled || f.options.length <= 1,
|
|
615
|
-
showSearch: f.searchable,
|
|
616
|
-
searchPlaceholder: f.searchPlaceholder ?? `Search ${f.name.toLowerCase()}…`,
|
|
617
|
-
emptyState: /* @__PURE__ */ i(ve.Item, { value: "group-empty", disabled: !0, asChild: !0, children: /* @__PURE__ */ i(Ee, { asChild: !0, variant: "full-width", id: "group-empty", label: f.emptyText ?? `No ${f.name.toLowerCase()} found`, disabled: !0 }) }),
|
|
618
|
-
onSelect: (P) => v?.(P.id)
|
|
619
|
-
} : void 0 }), e[14] = S, e[15] = f, e[16] = C, e[17] = o, e[18] = v, e[19] = w, e[20] = k, e[21] = y, e[22] = L;
|
|
620
|
-
} else
|
|
621
|
-
L = e[22];
|
|
622
|
-
return L;
|
|
623
|
-
}
|
|
624
|
-
const $ = !o;
|
|
625
|
-
let W;
|
|
626
|
-
e[25] !== y ? (W = /* @__PURE__ */ i(ve.Trigger, { asChild: !0, children: y }), e[25] = y, e[26] = W) : W = e[26];
|
|
627
|
-
let I;
|
|
628
|
-
if (e[27] !== o || e[28] !== d || e[29] !== n || e[30] !== l) {
|
|
629
|
-
let R;
|
|
630
|
-
e[32] !== o || e[33] !== d || e[34] !== l ? (R = (C) => {
|
|
631
|
-
const L = l.includes(C.id);
|
|
632
|
-
return /* @__PURE__ */ i(ve.Item, { value: C.id, disabled: C.disabled, asChild: !0, children: /* @__PURE__ */ i(Ee, { asChild: !0, variant: "full-width", role: o ? "menuitemcheckbox" : "menuitemradio", "aria-checked": L, id: C.id, label: C.name, icon: Je(C, "16px"), tooltip: C.description, disabled: C.disabled, isSelected: L, endContent: _t(o, L), onActivate: () => d(C.id) }) }, C.id);
|
|
633
|
-
}, e[32] = o, e[33] = d, e[34] = l, e[35] = R) : R = e[35], I = n.map(R), e[27] = o, e[28] = d, e[29] = n, e[30] = l, e[31] = I;
|
|
634
|
-
} else
|
|
635
|
-
I = e[31];
|
|
636
|
-
let T;
|
|
637
|
-
e[36] !== I ? (T = /* @__PURE__ */ i(lt, { children: /* @__PURE__ */ i(ve.Positioner, { children: /* @__PURE__ */ i(ve.Content, { children: I }) }) }), e[36] = I, e[37] = T) : T = e[37];
|
|
638
|
-
let z;
|
|
639
|
-
return e[38] !== $ || e[39] !== W || e[40] !== T ? (z = /* @__PURE__ */ N(ve.Root, { closeOnSelect: $, children: [
|
|
640
|
-
W,
|
|
641
|
-
T
|
|
642
|
-
] }), e[38] = $, e[39] = W, e[40] = T, e[41] = z) : z = e[41], z;
|
|
643
|
-
}, jt = (a) => Array.isArray(a) ? a : a ? [a] : [], Ht = (a, e) => a.map((t) => e.find((n) => n.id === t)).filter((t) => !!t), Ne = (a) => {
|
|
644
|
-
const e = F(11), {
|
|
645
|
-
fullWidth: t,
|
|
646
|
-
label: n,
|
|
647
|
-
control: l,
|
|
648
|
-
presentation: o
|
|
649
|
-
} = a;
|
|
650
|
-
if (o === "horizontal") {
|
|
651
|
-
let s;
|
|
652
|
-
return e[0] !== l || e[1] !== n ? (s = /* @__PURE__ */ N(Ie, { gap: "2xs", alignItems: "start", minW: "0", children: [
|
|
653
|
-
n,
|
|
654
|
-
l
|
|
655
|
-
] }), e[0] = l, e[1] = n, e[2] = s) : s = e[2], s;
|
|
656
|
-
}
|
|
657
|
-
if (t) {
|
|
658
|
-
let s;
|
|
659
|
-
e[3] !== n ? (s = /* @__PURE__ */ i(A, { mb: "xs", children: n }), e[3] = n, e[4] = s) : s = e[4];
|
|
660
|
-
let c;
|
|
661
|
-
return e[5] !== l || e[6] !== s ? (c = /* @__PURE__ */ N(A, { children: [
|
|
662
|
-
s,
|
|
663
|
-
l
|
|
664
|
-
] }), e[5] = l, e[6] = s, e[7] = c) : c = e[7], c;
|
|
665
|
-
}
|
|
666
|
-
let r;
|
|
667
|
-
return e[8] !== l || e[9] !== n ? (r = /* @__PURE__ */ N(U, { alignItems: "center", justifyContent: "space-between", minHeight: "2rem", gap: "xs", children: [
|
|
668
|
-
n,
|
|
669
|
-
l
|
|
670
|
-
] }), e[8] = l, e[9] = n, e[10] = r) : r = e[10], r;
|
|
671
|
-
}, Be = (a) => {
|
|
672
|
-
const e = F(9), {
|
|
673
|
-
triggerLabel: t,
|
|
674
|
-
options: n,
|
|
675
|
-
selectedIds: l,
|
|
676
|
-
multiSelect: o,
|
|
677
|
-
triggerVariant: r,
|
|
678
|
-
triggerAriaLabel: s,
|
|
679
|
-
size: c,
|
|
680
|
-
onToggle: u
|
|
681
|
-
} = a;
|
|
682
|
-
let f;
|
|
683
|
-
return e[0] !== o || e[1] !== u || e[2] !== n || e[3] !== l || e[4] !== c || e[5] !== s || e[6] !== t || e[7] !== r ? (f = /* @__PURE__ */ i(Oe, { triggerLabel: t, options: n, selectedIds: l, multiSelect: o, triggerVariant: r, triggerAriaLabel: s, size: c, onToggle: u }), e[0] = o, e[1] = u, e[2] = n, e[3] = l, e[4] = c, e[5] = s, e[6] = t, e[7] = r, e[8] = f) : f = e[8], f;
|
|
684
|
-
}, Bt = (a) => {
|
|
685
|
-
const e = F(19), {
|
|
686
|
-
id: t,
|
|
687
|
-
name: n,
|
|
688
|
-
description: l,
|
|
689
|
-
defaultValue: o,
|
|
690
|
-
options: r,
|
|
691
|
-
onChange: s,
|
|
692
|
-
onOpenResource: c,
|
|
693
|
-
readOnly: u,
|
|
694
|
-
editable: f,
|
|
695
|
-
multiSelect: p,
|
|
696
|
-
placeholder: V,
|
|
697
|
-
emptyText: m,
|
|
698
|
-
fullWidth: b,
|
|
699
|
-
presentation: d,
|
|
700
|
-
size: v
|
|
701
|
-
} = a, k = f === void 0 ? !1 : f, w = p === void 0 ? !1 : p, S = b === void 0 ? !1 : b, g = d === void 0 ? "stacked" : d, h = v === void 0 ? "sm" : v, [x, y] = Z(o), $ = be(null);
|
|
702
|
-
let W, I;
|
|
703
|
-
e[0] !== o ? (W = () => {
|
|
704
|
-
y(o);
|
|
705
|
-
}, I = [o], e[0] = o, e[1] = W, e[2] = I) : (W = e[1], I = e[2]), ne(W, I);
|
|
706
|
-
const T = (B) => {
|
|
707
|
-
$.current && clearTimeout($.current), s(t, B);
|
|
708
|
-
}, z = (B) => {
|
|
709
|
-
$.current && clearTimeout($.current), $.current = setTimeout(() => s(t, B), 540);
|
|
710
|
-
}, R = jt(x), C = Ht(R, r), L = k && !u, O = g === "horizontal";
|
|
711
|
-
let E;
|
|
712
|
-
e[3] !== l || e[4] !== n || e[5] !== O ? (E = /* @__PURE__ */ i(D, { name: n, description: l, compact: O }), e[3] = l, e[4] = n, e[5] = O, e[6] = E) : E = e[6];
|
|
713
|
-
const P = E;
|
|
714
|
-
if (!L)
|
|
715
|
-
return /* @__PURE__ */ i(Ne, { fullWidth: S, label: P, presentation: g, control: /* @__PURE__ */ i(He, { options: C, onOpenResource: c, emptyText: m }) });
|
|
716
|
-
const j = (B) => {
|
|
717
|
-
if (w) {
|
|
718
|
-
const re = R.includes(B) ? R.filter((se) => se !== B) : [...R, B];
|
|
719
|
-
y(re), z(re);
|
|
720
|
-
return;
|
|
721
|
-
}
|
|
722
|
-
const q = R.includes(B) ? "" : B;
|
|
723
|
-
y(q), T(q);
|
|
724
|
-
}, G = (B) => {
|
|
725
|
-
const q = R.filter((re) => re !== B);
|
|
726
|
-
y(q), z(q);
|
|
727
|
-
};
|
|
728
|
-
if (w) {
|
|
729
|
-
let B;
|
|
730
|
-
e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (B = /* @__PURE__ */ i(ge, { as: ht, boxSize: "12px" }), e[7] = B) : B = e[7];
|
|
731
|
-
const q = /* @__PURE__ */ N(U, { gap: "2xs", alignItems: "center", flexWrap: "wrap", minW: "0", children: [
|
|
732
|
-
C.length > 0 ? /* @__PURE__ */ i(He, { options: C, onOpenResource: c, onRemove: G, emptyText: m }) : null,
|
|
733
|
-
/* @__PURE__ */ i(Be, { triggerLabel: B, options: r, selectedIds: R, multiSelect: !0, triggerVariant: "icon", triggerAriaLabel: V ?? `Add ${n}`, size: h, onToggle: j })
|
|
734
|
-
] });
|
|
735
|
-
return /* @__PURE__ */ i(Ne, { fullWidth: S, label: P, control: q, presentation: g });
|
|
736
|
-
}
|
|
737
|
-
const _ = C[0], K = _ ? /* @__PURE__ */ N(U, { align: "center", gap: "2xs", minW: "0", children: [
|
|
738
|
-
/* @__PURE__ */ i(ge, { as: Se(_.icon), boxSize: "14px", color: _.color ? `${_.color}.500` : "fg.muted" }),
|
|
739
|
-
_.name
|
|
740
|
-
] }) : V ?? "Select";
|
|
741
|
-
let M;
|
|
742
|
-
e[8] !== r || e[9] !== R || e[10] !== h || e[11] !== j || e[12] !== K ? (M = /* @__PURE__ */ i(Be, { triggerLabel: K, options: r, selectedIds: R, multiSelect: !1, size: h, onToggle: j }), e[8] = r, e[9] = R, e[10] = h, e[11] = j, e[12] = K, e[13] = M) : M = e[13];
|
|
743
|
-
let Q;
|
|
744
|
-
return e[14] !== S || e[15] !== P || e[16] !== g || e[17] !== M ? (Q = /* @__PURE__ */ i(Ne, { fullWidth: S, label: P, presentation: g, control: M }), e[14] = S, e[15] = P, e[16] = g, e[17] = M, e[18] = Q) : Q = e[18], Q;
|
|
745
|
-
}, Ft = (a) => {
|
|
746
|
-
const e = F(86), {
|
|
747
|
-
id: t,
|
|
748
|
-
defaultValue: n,
|
|
749
|
-
name: l,
|
|
750
|
-
options: o,
|
|
751
|
-
onChange: r,
|
|
752
|
-
description: s,
|
|
753
|
-
readOnly: c,
|
|
754
|
-
hideLabel: u,
|
|
755
|
-
multiSelect: f,
|
|
756
|
-
placeholder: p,
|
|
757
|
-
fullWidth: V,
|
|
758
|
-
clearable: m,
|
|
759
|
-
disabled: b,
|
|
760
|
-
searchable: d,
|
|
761
|
-
searchPlaceholder: v,
|
|
762
|
-
emptyText: k,
|
|
763
|
-
group: w,
|
|
764
|
-
size: S
|
|
765
|
-
} = a, g = u === void 0 ? !1 : u, h = f === void 0 ? !1 : f, x = V === void 0 ? !1 : V, y = m === void 0 ? !1 : m, $ = b === void 0 ? !1 : b, W = d === void 0 ? !1 : d, I = S === void 0 ? "sm" : S, [T, z] = Z(n), [R, C] = Z(w?.defaultValue ?? "");
|
|
766
|
-
let L, O;
|
|
767
|
-
e[0] !== n ? (L = () => {
|
|
768
|
-
z(n);
|
|
769
|
-
}, O = [n], e[0] = n, e[1] = L, e[2] = O) : (L = e[1], O = e[2]), ne(L, O);
|
|
770
|
-
let E;
|
|
771
|
-
e[3] !== w?.defaultValue ? (E = () => {
|
|
772
|
-
C(w?.defaultValue ?? "");
|
|
773
|
-
}, e[3] = w?.defaultValue, e[4] = E) : E = e[4];
|
|
774
|
-
const P = w?.defaultValue;
|
|
775
|
-
let j;
|
|
776
|
-
e[5] !== P ? (j = [P], e[5] = P, e[6] = j) : j = e[6], ne(E, j);
|
|
777
|
-
let G;
|
|
778
|
-
e[7] !== h || e[8] !== T ? (G = h ? Array.isArray(T) ? T : [] : typeof T == "string" && T ? [T] : [], e[7] = h, e[8] = T, e[9] = G) : G = e[9];
|
|
779
|
-
const _ = G;
|
|
780
|
-
let K;
|
|
781
|
-
e[10] !== o || e[11] !== p || e[12] !== _ ? (K = () => {
|
|
782
|
-
const H = _.map((ee) => o.find((pe) => pe.id === ee)?.name).filter(Ut);
|
|
783
|
-
return H.length === 0 ? p || "Select" : H.length <= 3 ? H.join(", ") : `${H.slice(0, 3).join(", ")} +${(H.length - 3).toString()}`;
|
|
784
|
-
}, e[10] = o, e[11] = p, e[12] = _, e[13] = K) : K = e[13];
|
|
785
|
-
const M = K;
|
|
786
|
-
let Q;
|
|
787
|
-
e[14] !== t || e[15] !== r ? (Q = (H) => {
|
|
788
|
-
z(H), r(t, H);
|
|
789
|
-
}, e[14] = t, e[15] = r, e[16] = Q) : Q = e[16];
|
|
790
|
-
const B = Q;
|
|
791
|
-
let q;
|
|
792
|
-
e[17] !== y || e[18] !== B || e[19] !== h || e[20] !== _ ? (q = (H) => {
|
|
793
|
-
if (!h) {
|
|
794
|
-
B(y && _.includes(H) ? "" : H);
|
|
795
|
-
return;
|
|
796
|
-
}
|
|
797
|
-
B(_.includes(H) ? _.filter((ee) => ee !== H) : [..._, H]);
|
|
798
|
-
}, e[17] = y, e[18] = B, e[19] = h, e[20] = _, e[21] = q) : q = e[21];
|
|
799
|
-
const re = q;
|
|
800
|
-
let se;
|
|
801
|
-
e[22] !== w || e[23] !== R || e[24] !== r ? (se = (H) => {
|
|
802
|
-
!w || H === R || (C(H), r(w.id, H));
|
|
803
|
-
}, e[22] = w, e[23] = R, e[24] = r, e[25] = se) : se = e[25];
|
|
804
|
-
const xe = se;
|
|
805
|
-
let fe, X, oe, de;
|
|
806
|
-
if (e[26] !== s || e[27] !== x || e[28] !== M || e[29] !== g || e[30] !== l || e[31] !== o || e[32] !== c || e[33] !== _[0] || e[34] !== _.length) {
|
|
807
|
-
de = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
|
|
808
|
-
e: {
|
|
809
|
-
const H = _.length === 1 ? o.find((pe) => pe.id === _[0]) : void 0;
|
|
810
|
-
let ee;
|
|
811
|
-
if (e[39] !== s || e[40] !== g || e[41] !== l ? (ee = g ? null : /* @__PURE__ */ i(D, { name: l, description: s }), e[39] = s, e[40] = g, e[41] = l, e[42] = ee) : ee = e[42], X = ee, c) {
|
|
812
|
-
let pe;
|
|
813
|
-
e[43] !== M ? (pe = M(), e[43] = M, e[44] = pe) : pe = e[44];
|
|
814
|
-
let Te;
|
|
815
|
-
e[45] !== pe ? (Te = /* @__PURE__ */ i(te, { children: pe }), e[45] = pe, e[46] = Te) : Te = e[46];
|
|
816
|
-
const ye = Te;
|
|
817
|
-
if (x) {
|
|
818
|
-
let Ce;
|
|
819
|
-
e[47] !== X ? (Ce = X ? /* @__PURE__ */ i(A, { mb: "xs", children: X }) : null, e[47] = X, e[48] = Ce) : Ce = e[48];
|
|
820
|
-
let ke;
|
|
821
|
-
e[49] !== Ce || e[50] !== ye ? (ke = /* @__PURE__ */ N(A, { children: [
|
|
822
|
-
Ce,
|
|
823
|
-
ye
|
|
824
|
-
] }), e[49] = Ce, e[50] = ye, e[51] = ke) : ke = e[51], de = ke;
|
|
825
|
-
break e;
|
|
826
|
-
}
|
|
827
|
-
let We;
|
|
828
|
-
e[52] !== X || e[53] !== ye ? (We = /* @__PURE__ */ i(A, { children: /* @__PURE__ */ N(U, { alignItems: "center", justifyContent: "space-between", minHeight: "2rem", gap: "xs", children: [
|
|
829
|
-
X,
|
|
830
|
-
ye
|
|
831
|
-
] }) }), e[52] = X, e[53] = ye, e[54] = We) : We = e[54], de = We;
|
|
832
|
-
break e;
|
|
833
|
-
}
|
|
834
|
-
fe = Oe, oe = Je(H, "14px");
|
|
835
|
-
}
|
|
836
|
-
e[26] = s, e[27] = x, e[28] = M, e[29] = g, e[30] = l, e[31] = o, e[32] = c, e[33] = _[0], e[34] = _.length, e[35] = fe, e[36] = X, e[37] = oe, e[38] = de;
|
|
837
|
-
} else
|
|
838
|
-
fe = e[35], X = e[36], oe = e[37], de = e[38];
|
|
839
|
-
if (de !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel"))
|
|
840
|
-
return de;
|
|
841
|
-
let me;
|
|
842
|
-
e[55] !== M ? (me = M(), e[55] = M, e[56] = me) : me = e[56];
|
|
843
|
-
let he;
|
|
844
|
-
e[57] !== oe || e[58] !== me ? (he = /* @__PURE__ */ N(et, { children: [
|
|
845
|
-
oe,
|
|
846
|
-
me
|
|
847
|
-
] }), e[57] = oe, e[58] = me, e[59] = he) : he = e[59];
|
|
848
|
-
let Y;
|
|
849
|
-
e[60] !== w || e[61] !== R ? (Y = w ? {
|
|
850
|
-
...w,
|
|
851
|
-
defaultValue: R
|
|
852
|
-
} : void 0, e[60] = w, e[61] = R, e[62] = Y) : Y = e[62];
|
|
853
|
-
let J;
|
|
854
|
-
e[63] !== fe || e[64] !== $ || e[65] !== k || e[66] !== x || e[67] !== xe || e[68] !== re || e[69] !== h || e[70] !== o || e[71] !== v || e[72] !== W || e[73] !== _ || e[74] !== I || e[75] !== he || e[76] !== Y ? (J = /* @__PURE__ */ i(fe, { triggerLabel: he, options: o, selectedIds: _, multiSelect: h, disabled: $, searchable: W, searchPlaceholder: v, emptyText: k, group: Y, fullWidth: x, size: I, onToggle: re, onGroupChange: xe }), e[63] = fe, e[64] = $, e[65] = k, e[66] = x, e[67] = xe, e[68] = re, e[69] = h, e[70] = o, e[71] = v, e[72] = W, e[73] = _, e[74] = I, e[75] = he, e[76] = Y, e[77] = J) : J = e[77];
|
|
855
|
-
const le = J;
|
|
856
|
-
if (x) {
|
|
857
|
-
let H;
|
|
858
|
-
e[78] !== X ? (H = X ? /* @__PURE__ */ i(A, { mb: "xs", children: X }) : null, e[78] = X, e[79] = H) : H = e[79];
|
|
859
|
-
let ee;
|
|
860
|
-
return e[80] !== le || e[81] !== H ? (ee = /* @__PURE__ */ N(A, { children: [
|
|
861
|
-
H,
|
|
862
|
-
le
|
|
863
|
-
] }), e[80] = le, e[81] = H, e[82] = ee) : ee = e[82], ee;
|
|
864
|
-
}
|
|
865
|
-
let ue;
|
|
866
|
-
return e[83] !== X || e[84] !== le ? (ue = /* @__PURE__ */ i(A, { children: /* @__PURE__ */ N(U, { alignItems: "center", justifyContent: "space-between", minHeight: "2rem", gap: "xs", children: [
|
|
867
|
-
X,
|
|
868
|
-
le
|
|
869
|
-
] }) }), e[83] = X, e[84] = le, e[85] = ue) : ue = e[85], ue;
|
|
870
|
-
};
|
|
871
|
-
function Ut(a) {
|
|
872
|
-
return !!a;
|
|
873
|
-
}
|
|
874
|
-
const Gt = (a) => {
|
|
875
|
-
const e = F(40), {
|
|
876
|
-
id: t,
|
|
877
|
-
defaultValue: n,
|
|
878
|
-
name: l,
|
|
879
|
-
onChange: o,
|
|
880
|
-
description: r,
|
|
881
|
-
readOnly: s,
|
|
882
|
-
singleLine: c,
|
|
883
|
-
hideLabel: u,
|
|
884
|
-
fullWidth: f,
|
|
885
|
-
size: p
|
|
886
|
-
} = a, V = c === void 0 ? !0 : c, m = u === void 0 ? !1 : u, b = f === void 0 ? !1 : f, d = p === void 0 ? "sm" : p, [v, k] = Z(n), w = be(null);
|
|
887
|
-
let S;
|
|
888
|
-
e[0] !== t || e[1] !== o ? (S = (z) => {
|
|
889
|
-
w.current && clearTimeout(w.current), w.current = setTimeout(() => o(t, z), 540);
|
|
890
|
-
}, e[0] = t, e[1] = o, e[2] = S) : S = e[2];
|
|
891
|
-
const g = S;
|
|
892
|
-
let h, x;
|
|
893
|
-
e[3] !== n ? (h = () => {
|
|
894
|
-
k(n);
|
|
895
|
-
}, x = [n], e[3] = n, e[4] = h, e[5] = x) : (h = e[4], x = e[5]), ne(h, x);
|
|
896
|
-
let y;
|
|
897
|
-
e[6] !== g ? (y = (z) => {
|
|
898
|
-
k(z), g(z);
|
|
899
|
-
}, e[6] = g, e[7] = y) : y = e[7];
|
|
900
|
-
const $ = y;
|
|
901
|
-
let W;
|
|
902
|
-
e[8] !== t || e[9] !== o || e[10] !== v ? (W = () => {
|
|
903
|
-
w.current && (clearTimeout(w.current), w.current = null, o(t, v));
|
|
904
|
-
}, e[8] = t, e[9] = o, e[10] = v, e[11] = W) : W = e[11];
|
|
905
|
-
const I = W;
|
|
906
|
-
if (s) {
|
|
907
|
-
const z = !V;
|
|
908
|
-
let R;
|
|
909
|
-
e[12] !== z || e[13] !== v ? (R = /* @__PURE__ */ i(te, { preserveWhitespace: z, children: v }), e[12] = z, e[13] = v, e[14] = R) : R = e[14];
|
|
910
|
-
const C = R;
|
|
911
|
-
if (V && !b) {
|
|
912
|
-
let E;
|
|
913
|
-
e[15] !== r || e[16] !== m || e[17] !== l ? (E = !m && /* @__PURE__ */ i(D, { name: l, description: r }), e[15] = r, e[16] = m, e[17] = l, e[18] = E) : E = e[18];
|
|
914
|
-
let P;
|
|
915
|
-
return e[19] !== E || e[20] !== C ? (P = /* @__PURE__ */ i(A, { children: /* @__PURE__ */ N(U, { alignItems: "center", justifyContent: "space-between", minHeight: "2rem", gap: "xs", children: [
|
|
916
|
-
E,
|
|
917
|
-
C
|
|
918
|
-
] }) }), e[19] = E, e[20] = C, e[21] = P) : P = e[21], P;
|
|
919
|
-
}
|
|
920
|
-
let L;
|
|
921
|
-
e[22] !== r || e[23] !== m || e[24] !== l ? (L = !m && /* @__PURE__ */ i(A, { mb: "xs", children: /* @__PURE__ */ i(D, { name: l, description: r }) }), e[22] = r, e[23] = m, e[24] = l, e[25] = L) : L = e[25];
|
|
922
|
-
let O;
|
|
923
|
-
return e[26] !== L || e[27] !== C ? (O = /* @__PURE__ */ N(A, { children: [
|
|
924
|
-
L,
|
|
925
|
-
C
|
|
926
|
-
] }), e[26] = L, e[27] = C, e[28] = O) : O = e[28], O;
|
|
927
|
-
}
|
|
928
|
-
let T;
|
|
929
|
-
return e[29] !== r || e[30] !== b || e[31] !== I || e[32] !== $ || e[33] !== m || e[34] !== l || e[35] !== s || e[36] !== V || e[37] !== d || e[38] !== v ? (T = /* @__PURE__ */ i(A, { children: V && !b ? /* @__PURE__ */ N(U, { alignItems: "center", justifyContent: "space-between", minHeight: "2rem", gap: "xs", children: [
|
|
930
|
-
!m && /* @__PURE__ */ i(D, { name: l, description: r }),
|
|
931
|
-
/* @__PURE__ */ i(we, { "aria-label": l, className: "nodrag", readOnly: s, flex: "1", maxW: "12.5rem", size: d, type: "text", placeholder: m ? l : void 0, value: v, onChange: (z) => $(z.target.value), onBlur: I, onKeyUp: Mt })
|
|
932
|
-
] }) : /* @__PURE__ */ N(A, { children: [
|
|
933
|
-
!m && /* @__PURE__ */ i(A, { mb: "xs", children: /* @__PURE__ */ i(D, { name: l, description: r }) }),
|
|
934
|
-
V ? /* @__PURE__ */ i(we, { "aria-label": l, className: "nodrag", readOnly: s, width: "100%", size: d, type: "text", placeholder: m ? l : void 0, value: v, onChange: (z) => $(z.target.value), onBlur: I, onKeyUp: Dt }) : /* @__PURE__ */ i(De, { "aria-label": l, className: "nodrag", readOnly: s, width: "100%", size: d, placeholder: m ? l : void 0, value: v, onChange: (z) => $(z.target.value), onBlur: I, rows: 3, resize: "vertical" })
|
|
935
|
-
] }) }), e[29] = r, e[30] = b, e[31] = I, e[32] = $, e[33] = m, e[34] = l, e[35] = s, e[36] = V, e[37] = d, e[38] = v, e[39] = T) : T = e[39], T;
|
|
936
|
-
};
|
|
937
|
-
function Mt(a) {
|
|
938
|
-
a.key === "Enter" && a.currentTarget.blur();
|
|
939
|
-
}
|
|
940
|
-
function Dt(a) {
|
|
941
|
-
a.key === "Enter" && a.currentTarget.blur();
|
|
942
|
-
}
|
|
943
|
-
const Kt = (a) => {
|
|
944
|
-
const e = F(33), {
|
|
945
|
-
id: t,
|
|
946
|
-
name: n,
|
|
947
|
-
description: l,
|
|
948
|
-
defaultValue: o,
|
|
949
|
-
options: r,
|
|
950
|
-
onChange: s,
|
|
951
|
-
readOnly: c,
|
|
952
|
-
presentation: u
|
|
953
|
-
} = a, f = u === void 0 ? "stacked" : u, [p, V] = Z(o);
|
|
954
|
-
let m, b;
|
|
955
|
-
e[0] !== o ? (m = () => {
|
|
956
|
-
V(o);
|
|
957
|
-
}, b = [o], e[0] = o, e[1] = m, e[2] = b) : (m = e[1], b = e[2]), ne(m, b);
|
|
958
|
-
let d;
|
|
959
|
-
e[3] !== t || e[4] !== s ? (d = ($) => {
|
|
960
|
-
V($), s(t, $);
|
|
961
|
-
}, e[3] = t, e[4] = s, e[5] = d) : d = e[5];
|
|
962
|
-
const v = d, k = f === "horizontal";
|
|
963
|
-
let w;
|
|
964
|
-
e[6] !== p || e[7] !== n || e[8] !== r ? (w = r.find(($) => $.id === p)?.name ?? n, e[6] = p, e[7] = n, e[8] = r, e[9] = w) : w = e[9];
|
|
965
|
-
const S = w;
|
|
966
|
-
if (k) {
|
|
967
|
-
let $;
|
|
968
|
-
e[10] !== p ? ($ = p ? [p] : [], e[10] = p, e[11] = $) : $ = e[11];
|
|
969
|
-
let W;
|
|
970
|
-
return e[12] !== r || e[13] !== c || e[14] !== v || e[15] !== S || e[16] !== $ ? (W = /* @__PURE__ */ i(Oe, { triggerLabel: S, options: r, selectedIds: $, multiSelect: !1, disabled: c, onToggle: v }), e[12] = r, e[13] = c, e[14] = v, e[15] = S, e[16] = $, e[17] = W) : W = e[17], W;
|
|
971
|
-
}
|
|
972
|
-
let g;
|
|
973
|
-
if (e[18] !== p || e[19] !== r || e[20] !== c || e[21] !== v) {
|
|
974
|
-
let $;
|
|
975
|
-
e[23] !== p || e[24] !== c || e[25] !== v ? ($ = (W) => /* @__PURE__ */ i(Le, { size: "xs", variant: p === W.id ? "subtle" : "outline", disabled: W.disabled || c, _hover: {
|
|
976
|
-
bg: "bg.hover",
|
|
977
|
-
borderColor: "border.accent-light"
|
|
978
|
-
}, _active: {
|
|
979
|
-
bg: "bg.active",
|
|
980
|
-
borderColor: "border.accent-light"
|
|
981
|
-
}, _focusVisible: {
|
|
982
|
-
borderColor: "border.accent-light",
|
|
983
|
-
outline: "none",
|
|
984
|
-
boxShadow: "none"
|
|
985
|
-
}, onClick: () => v(W.id), children: W.name }, W.id), e[23] = p, e[24] = c, e[25] = v, e[26] = $) : $ = e[26], g = r.map($), e[18] = p, e[19] = r, e[20] = c, e[21] = v, e[22] = g;
|
|
986
|
-
} else
|
|
987
|
-
g = e[22];
|
|
988
|
-
let h;
|
|
989
|
-
e[27] !== g ? (h = /* @__PURE__ */ i(U, { gap: "xs", wrap: "wrap", children: g }), e[27] = g, e[28] = h) : h = e[28];
|
|
990
|
-
const x = h;
|
|
991
|
-
let y;
|
|
992
|
-
return e[29] !== l || e[30] !== n || e[31] !== x ? (y = /* @__PURE__ */ i(ce, { name: n, description: l, orientation: "stacked", children: x }), e[29] = l, e[30] = n, e[31] = x, e[32] = y) : y = e[32], y;
|
|
993
|
-
}, Ze = ["top-left", "top", "top-right", "left", "center", "right", "bottom-left", "bottom", "bottom-right"], $l = (a) => typeof a == "string" && Ze.includes(a), qt = (a) => {
|
|
994
|
-
const e = F(23), {
|
|
995
|
-
id: t,
|
|
996
|
-
name: n,
|
|
997
|
-
description: l,
|
|
998
|
-
defaultValue: o,
|
|
999
|
-
onChange: r,
|
|
1000
|
-
readOnly: s,
|
|
1001
|
-
fullWidth: c
|
|
1002
|
-
} = a, [u, f] = Z(o);
|
|
1003
|
-
let p, V;
|
|
1004
|
-
e[0] !== o ? (p = () => {
|
|
1005
|
-
f(o);
|
|
1006
|
-
}, V = [o], e[0] = o, e[1] = p, e[2] = V) : (p = e[1], V = e[2]), ne(p, V);
|
|
1007
|
-
let m;
|
|
1008
|
-
e[3] !== t || e[4] !== r ? (m = (g) => {
|
|
1009
|
-
f(g), r(t, g);
|
|
1010
|
-
}, e[3] = t, e[4] = r, e[5] = m) : m = e[5];
|
|
1011
|
-
const b = m;
|
|
1012
|
-
if (s) {
|
|
1013
|
-
let g;
|
|
1014
|
-
e[6] !== u ? (g = /* @__PURE__ */ i(te, { children: u }), e[6] = u, e[7] = g) : g = e[7];
|
|
1015
|
-
let h;
|
|
1016
|
-
return e[8] !== l || e[9] !== c || e[10] !== n || e[11] !== g ? (h = /* @__PURE__ */ i(ce, { name: n, description: l, fullWidth: c, children: g }), e[8] = l, e[9] = c, e[10] = n, e[11] = g, e[12] = h) : h = e[12], h;
|
|
1017
|
-
}
|
|
1018
|
-
let d;
|
|
1019
|
-
e[13] !== b || e[14] !== u ? (d = Ze.map((g) => {
|
|
1020
|
-
const h = g === u;
|
|
1021
|
-
return /* @__PURE__ */ i(qe, { "aria-label": g, "aria-pressed": h, size: "2xs", variant: "ghost", bg: h ? "fg" : "bg", _hover: {
|
|
1022
|
-
bg: h ? "fg" : "bg.muted"
|
|
1023
|
-
}, borderRadius: "0", onClick: () => b(g), children: /* @__PURE__ */ i(A, { boxSize: "0.375rem", borderRadius: "full", bg: h ? "bg" : "fg.muted" }) }, g);
|
|
1024
|
-
}), e[13] = b, e[14] = u, e[15] = d) : d = e[15];
|
|
1025
|
-
let v;
|
|
1026
|
-
e[16] !== d ? (v = /* @__PURE__ */ i(nt, { templateColumns: "repeat(3, 1.5rem)", gap: "1px", width: "fit-content", bg: "border.subtle", p: "1px", borderRadius: "sm", overflow: "hidden", children: d }), e[16] = d, e[17] = v) : v = e[17];
|
|
1027
|
-
const k = v, w = c ? "stacked" : "inline";
|
|
1028
|
-
let S;
|
|
1029
|
-
return e[18] !== l || e[19] !== k || e[20] !== n || e[21] !== w ? (S = /* @__PURE__ */ i(ce, { name: n, description: l, orientation: w, children: k }), e[18] = l, e[19] = k, e[20] = n, e[21] = w, e[22] = S) : S = e[22], S;
|
|
1030
|
-
}, Xt = (a, e) => `${a.name}-${a.size.toString()}-${a.lastModified.toString()}-${e.toString()}`, Yt = (a, e, t) => {
|
|
1031
|
-
const n = t ? e.length : 0, l = a.map((o, r) => ({
|
|
1032
|
-
id: Xt(o, n + r),
|
|
1033
|
-
file: o,
|
|
1034
|
-
status: "queued"
|
|
1035
|
-
}));
|
|
1036
|
-
return t ? [...e, ...l] : l.slice(0, 1);
|
|
1037
|
-
}, Qt = (a) => {
|
|
1038
|
-
const t = ["uploading", "error", "queued", "complete"].find((l) => a.some((o) => o.status === l)) ?? "empty", n = t === "empty" ? 0 : a.filter((l) => l.status === t).length;
|
|
1039
|
-
return {
|
|
1040
|
-
state: t,
|
|
1041
|
-
count: n
|
|
1042
|
-
};
|
|
1043
|
-
}, Jt = (a) => {
|
|
1044
|
-
const e = F(21), {
|
|
1045
|
-
values: t
|
|
1046
|
-
} = a;
|
|
1047
|
-
let n, l, o, r, s, c, u;
|
|
1048
|
-
if (e[0] !== t) {
|
|
1049
|
-
u = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
|
|
1050
|
-
e: {
|
|
1051
|
-
if (l = Qt(t), l.state === "empty") {
|
|
1052
|
-
u = null;
|
|
1053
|
-
break e;
|
|
1054
|
-
}
|
|
1055
|
-
n = l.count === 1 ? "file" : "files", r = `${l.count.toString()} ${n} queued`, s = `Uploading ${l.count.toString()} ${n}`, c = `${l.count.toString()} ${n} uploaded`, o = l.count.toString();
|
|
1056
|
-
}
|
|
1057
|
-
e[0] = t, e[1] = n, e[2] = l, e[3] = o, e[4] = r, e[5] = s, e[6] = c, e[7] = u;
|
|
1058
|
-
} else
|
|
1059
|
-
n = e[1], l = e[2], o = e[3], r = e[4], s = e[5], c = e[6], u = e[7];
|
|
1060
|
-
if (u !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel"))
|
|
1061
|
-
return u;
|
|
1062
|
-
const f = `${o} ${n} failed`;
|
|
1063
|
-
let p;
|
|
1064
|
-
e[8] !== r || e[9] !== s || e[10] !== c || e[11] !== f ? (p = {
|
|
1065
|
-
queued: r,
|
|
1066
|
-
uploading: s,
|
|
1067
|
-
complete: c,
|
|
1068
|
-
error: f,
|
|
1069
|
-
empty: ""
|
|
1070
|
-
}, e[8] = r, e[9] = s, e[10] = c, e[11] = f, e[12] = p) : p = e[12];
|
|
1071
|
-
const V = p;
|
|
1072
|
-
let m;
|
|
1073
|
-
e[13] !== l.state ? (m = l.state === "uploading" ? /* @__PURE__ */ i(it, { boxSize: "12px", borderWidth: "1px" }) : /* @__PURE__ */ i(ge, { as: l.state === "error" ? gt : l.state === "complete" ? bt : xt, boxSize: "12px" }), e[13] = l.state, e[14] = m) : m = e[14];
|
|
1074
|
-
const b = m, d = l.state === "error" ? "fg.error" : "fg.muted", v = V[l.state];
|
|
1075
|
-
let k;
|
|
1076
|
-
e[15] !== v ? (k = /* @__PURE__ */ i(Ve, { textStyle: "label/XS/medium", children: v }), e[15] = v, e[16] = k) : k = e[16];
|
|
1077
|
-
let w;
|
|
1078
|
-
return e[17] !== b || e[18] !== k || e[19] !== d ? (w = /* @__PURE__ */ N(U, { alignItems: "center", gap: "2xs", color: d, children: [
|
|
1079
|
-
b,
|
|
1080
|
-
k
|
|
1081
|
-
] }), e[17] = b, e[18] = k, e[19] = d, e[20] = w) : w = e[20], w;
|
|
1082
|
-
}, Fe = (a) => {
|
|
1083
|
-
const e = F(14), {
|
|
1084
|
-
readOnly: t,
|
|
1085
|
-
values: n,
|
|
1086
|
-
onRemove: l
|
|
1087
|
-
} = a;
|
|
1088
|
-
if (n.length === 0)
|
|
1089
|
-
return null;
|
|
1090
|
-
let o;
|
|
1091
|
-
e[0] !== n ? (o = /* @__PURE__ */ i(Jt, { values: n }), e[0] = n, e[1] = o) : o = e[1];
|
|
1092
|
-
let r;
|
|
1093
|
-
if (e[2] !== l || e[3] !== t || e[4] !== n) {
|
|
1094
|
-
let u;
|
|
1095
|
-
e[6] !== l || e[7] !== t ? (u = (f) => /* @__PURE__ */ i(St, { file: f.file, disabled: t, removeLabel: `Remove ${f.file.name}`, onRemove: () => l(f.id) }, f.id), e[6] = l, e[7] = t, e[8] = u) : u = e[8], r = n.map(u), e[2] = l, e[3] = t, e[4] = n, e[5] = r;
|
|
1096
|
-
} else
|
|
1097
|
-
r = e[5];
|
|
1098
|
-
let s;
|
|
1099
|
-
e[9] !== r ? (s = /* @__PURE__ */ i(Ke, { gap: "2xs", children: r }), e[9] = r, e[10] = s) : s = e[10];
|
|
1100
|
-
let c;
|
|
1101
|
-
return e[11] !== o || e[12] !== s ? (c = /* @__PURE__ */ N(Ie, { gap: "2xs", minW: "0", children: [
|
|
1102
|
-
o,
|
|
1103
|
-
s
|
|
1104
|
-
] }), e[11] = o, e[12] = s, e[13] = c) : c = e[13], c;
|
|
1105
|
-
}, Zt = (a) => {
|
|
1106
|
-
const e = F(40), {
|
|
1107
|
-
id: t,
|
|
1108
|
-
name: n,
|
|
1109
|
-
description: l,
|
|
1110
|
-
defaultValue: o,
|
|
1111
|
-
accept: r,
|
|
1112
|
-
multiple: s,
|
|
1113
|
-
uploadLabel: c,
|
|
1114
|
-
onChange: u,
|
|
1115
|
-
readOnly: f,
|
|
1116
|
-
presentation: p
|
|
1117
|
-
} = a, V = s === void 0 ? !0 : s, m = c === void 0 ? "Attach files" : c, b = p === void 0 ? "stacked" : p, [d, v] = Z(o), k = be(null);
|
|
1118
|
-
let w, S;
|
|
1119
|
-
e[0] !== o ? (w = () => {
|
|
1120
|
-
v(o);
|
|
1121
|
-
}, S = [o], e[0] = o, e[1] = w, e[2] = S) : (w = e[1], S = e[2]), ne(w, S);
|
|
1122
|
-
let g;
|
|
1123
|
-
e[3] !== t || e[4] !== u ? (g = (O) => {
|
|
1124
|
-
v(O), u(t, O);
|
|
1125
|
-
}, e[3] = t, e[4] = u, e[5] = g) : g = e[5];
|
|
1126
|
-
const h = g;
|
|
1127
|
-
let x;
|
|
1128
|
-
e[6] !== h || e[7] !== d ? (x = (O) => h(d.filter((E) => E.id !== O)), e[6] = h, e[7] = d, e[8] = x) : x = e[8];
|
|
1129
|
-
const y = x;
|
|
1130
|
-
let $;
|
|
1131
|
-
e[9] !== f || e[10] !== m ? ($ = f ? null : /* @__PURE__ */ N(Le, { size: "xs", variant: "ghost", flexShrink: 0, onClick: () => k.current?.click(), children: [
|
|
1132
|
-
/* @__PURE__ */ i(ge, { as: pt, boxSize: "14px" }),
|
|
1133
|
-
m
|
|
1134
|
-
] }), e[9] = f, e[10] = m, e[11] = $) : $ = e[11];
|
|
1135
|
-
const W = $;
|
|
1136
|
-
let I;
|
|
1137
|
-
e[12] !== h || e[13] !== V || e[14] !== d ? (I = (O) => {
|
|
1138
|
-
h(Yt(Array.from(O.currentTarget.files ?? []), d, V)), O.currentTarget.value = "";
|
|
1139
|
-
}, e[12] = h, e[13] = V, e[14] = d, e[15] = I) : I = e[15];
|
|
1140
|
-
let T;
|
|
1141
|
-
e[16] !== r || e[17] !== V || e[18] !== I ? (T = /* @__PURE__ */ i("input", { ref: k, hidden: !0, type: "file", accept: r, multiple: V, onChange: I }), e[16] = r, e[17] = V, e[18] = I, e[19] = T) : T = e[19];
|
|
1142
|
-
const z = T;
|
|
1143
|
-
if (b === "horizontal") {
|
|
1144
|
-
let O;
|
|
1145
|
-
e[20] !== f || e[21] !== y || e[22] !== d ? (O = /* @__PURE__ */ i(Fe, { readOnly: f, values: d, onRemove: y }), e[20] = f, e[21] = y, e[22] = d, e[23] = O) : O = e[23];
|
|
1146
|
-
let E;
|
|
1147
|
-
return e[24] !== W || e[25] !== z || e[26] !== O ? (E = /* @__PURE__ */ N(U, { alignItems: "center", gap: "sm", minW: "0", width: "full", children: [
|
|
1148
|
-
z,
|
|
1149
|
-
W,
|
|
1150
|
-
O
|
|
1151
|
-
] }), e[24] = W, e[25] = z, e[26] = O, e[27] = E) : E = e[27], E;
|
|
1152
|
-
}
|
|
1153
|
-
let R;
|
|
1154
|
-
e[28] !== f || e[29] !== y || e[30] !== d ? (R = /* @__PURE__ */ i(Fe, { readOnly: f, values: d, onRemove: y }), e[28] = f, e[29] = y, e[30] = d, e[31] = R) : R = e[31];
|
|
1155
|
-
let C;
|
|
1156
|
-
e[32] !== W || e[33] !== z || e[34] !== R ? (C = /* @__PURE__ */ N(Ie, { alignItems: "start", gap: "xs", minW: "0", children: [
|
|
1157
|
-
z,
|
|
1158
|
-
W,
|
|
1159
|
-
R
|
|
1160
|
-
] }), e[32] = W, e[33] = z, e[34] = R, e[35] = C) : C = e[35];
|
|
1161
|
-
let L;
|
|
1162
|
-
return e[36] !== l || e[37] !== n || e[38] !== C ? (L = /* @__PURE__ */ i(ce, { name: n, description: l, orientation: "stacked", children: C }), e[36] = l, e[37] = n, e[38] = C, e[39] = L) : L = e[39], L;
|
|
1163
|
-
}, $e = (a, e, t) => {
|
|
1164
|
-
const n = Math.min(e, t), l = Math.max(e, t);
|
|
1165
|
-
return a < n ? n : a > l ? l : a;
|
|
1166
|
-
}, Ue = (a, e, t = 0) => {
|
|
1167
|
-
if (!(e > 0)) return a;
|
|
1168
|
-
const n = Math.round((a - t) / e);
|
|
1169
|
-
return t + n * e;
|
|
1170
|
-
}, Ge = (a, e) => {
|
|
1171
|
-
const t = Number.isInteger(a) ? `${a}` : `${Number(a.toFixed(3))}`;
|
|
1172
|
-
return e ? `${t}${e}` : t;
|
|
1173
|
-
}, Re = (a, e, t, n) => {
|
|
1174
|
-
const l = $e(a[0], e, t), o = $e(a[1], e, t);
|
|
1175
|
-
let r = Math.min(l, o), s = Math.max(l, o);
|
|
1176
|
-
return n && n > 0 && (r = $e(Ue(r, n, e), e, t), s = $e(Ue(s, n, e), e, t)), [r, s];
|
|
1177
|
-
}, el = (a) => {
|
|
1178
|
-
const e = F(4), {
|
|
1179
|
-
count: t
|
|
1180
|
-
} = a;
|
|
1181
|
-
if (!t || t < 2)
|
|
1182
|
-
return null;
|
|
1183
|
-
let n;
|
|
1184
|
-
e[0] !== t ? (n = Array.from({
|
|
1185
|
-
length: t
|
|
1186
|
-
}, (r, s) => s / (t - 1)), e[0] = t, e[1] = n) : n = e[1];
|
|
1187
|
-
const l = n;
|
|
1188
|
-
let o;
|
|
1189
|
-
return e[2] !== l ? (o = /* @__PURE__ */ i(U, { justifyContent: "space-between", mt: "2xs", "aria-hidden": "true", children: l.map(tl) }), e[2] = l, e[3] = o) : o = e[3], o;
|
|
1190
|
-
};
|
|
1191
|
-
function tl(a) {
|
|
1192
|
-
return /* @__PURE__ */ i(A, { width: "1px", height: "0.375rem", bg: "border.subtle" }, a);
|
|
1193
|
-
}
|
|
1194
|
-
const ll = (a) => {
|
|
1195
|
-
const e = F(71), {
|
|
1196
|
-
id: t,
|
|
1197
|
-
name: n,
|
|
1198
|
-
description: l,
|
|
1199
|
-
defaultValue: o,
|
|
1200
|
-
min: r,
|
|
1201
|
-
max: s,
|
|
1202
|
-
step: c,
|
|
1203
|
-
unit: u,
|
|
1204
|
-
markerCount: f,
|
|
1205
|
-
onChange: p,
|
|
1206
|
-
readOnly: V,
|
|
1207
|
-
fullWidth: m,
|
|
1208
|
-
presentation: b
|
|
1209
|
-
} = a, d = c === void 0 ? 1 : c, v = b === void 0 ? "stacked" : b;
|
|
1210
|
-
let k;
|
|
1211
|
-
e[0] !== o || e[1] !== s || e[2] !== r || e[3] !== d ? (k = () => Re(o, r, s, d), e[0] = o, e[1] = s, e[2] = r, e[3] = d, e[4] = k) : k = e[4];
|
|
1212
|
-
const [w, S] = Z(k);
|
|
1213
|
-
let g, h;
|
|
1214
|
-
e[5] !== o || e[6] !== s || e[7] !== r || e[8] !== d ? (g = () => {
|
|
1215
|
-
S(Re(o, r, s, d));
|
|
1216
|
-
}, h = [o, r, s, d], e[5] = o, e[6] = s, e[7] = r, e[8] = d, e[9] = g, e[10] = h) : (g = e[9], h = e[10]), ne(g, h);
|
|
1217
|
-
let x;
|
|
1218
|
-
e[11] !== u || e[12] !== w[0] ? (x = Ge(w[0], u), e[11] = u, e[12] = w[0], e[13] = x) : x = e[13];
|
|
1219
|
-
let y;
|
|
1220
|
-
e[14] !== u || e[15] !== w[1] ? (y = Ge(w[1], u), e[14] = u, e[15] = w[1], e[16] = y) : y = e[16];
|
|
1221
|
-
const $ = `${x} – ${y}`, W = v === "horizontal";
|
|
1222
|
-
if (V) {
|
|
1223
|
-
if (W) {
|
|
1224
|
-
let _;
|
|
1225
|
-
return e[17] !== $ ? (_ = /* @__PURE__ */ i(te, { children: $ }), e[17] = $, e[18] = _) : _ = e[18], _;
|
|
1226
|
-
}
|
|
1227
|
-
let j;
|
|
1228
|
-
e[19] !== $ ? (j = /* @__PURE__ */ i(te, { children: $ }), e[19] = $, e[20] = j) : j = e[20];
|
|
1229
|
-
let G;
|
|
1230
|
-
return e[21] !== l || e[22] !== m || e[23] !== n || e[24] !== j ? (G = /* @__PURE__ */ i(ce, { name: n, description: l, fullWidth: m, children: j }), e[21] = l, e[22] = m, e[23] = n, e[24] = j, e[25] = G) : G = e[25], G;
|
|
1231
|
-
}
|
|
1232
|
-
let I;
|
|
1233
|
-
e[26] !== $ ? (I = /* @__PURE__ */ i(Ve, { textStyle: "label/S/regular", color: "fg.muted", whiteSpace: "nowrap", children: $ }), e[26] = $, e[27] = I) : I = e[27];
|
|
1234
|
-
const T = I;
|
|
1235
|
-
let z;
|
|
1236
|
-
e[28] !== s || e[29] !== r || e[30] !== d ? (z = (j) => S(Re(j.value, r, s, d)), e[28] = s, e[29] = r, e[30] = d, e[31] = z) : z = e[31];
|
|
1237
|
-
let R;
|
|
1238
|
-
e[32] !== t || e[33] !== s || e[34] !== r || e[35] !== p || e[36] !== d ? (R = (j) => {
|
|
1239
|
-
const G = Re(j.value, r, s, d);
|
|
1240
|
-
S(G), p(t, G);
|
|
1241
|
-
}, e[32] = t, e[33] = s, e[34] = r, e[35] = p, e[36] = d, e[37] = R) : R = e[37];
|
|
1242
|
-
let C;
|
|
1243
|
-
e[38] !== s || e[39] !== r || e[40] !== d || e[41] !== z || e[42] !== R || e[43] !== w ? (C = /* @__PURE__ */ i(Ye, { size: "sm", value: w, min: r, max: s, step: d, onValueChange: z, onValueChangeEnd: R }), e[38] = s, e[39] = r, e[40] = d, e[41] = z, e[42] = R, e[43] = w, e[44] = C) : C = e[44];
|
|
1244
|
-
let L;
|
|
1245
|
-
e[45] !== f ? (L = /* @__PURE__ */ i(el, { count: f }), e[45] = f, e[46] = L) : L = e[46];
|
|
1246
|
-
let O;
|
|
1247
|
-
e[47] !== C || e[48] !== L ? (O = /* @__PURE__ */ N(A, { children: [
|
|
1248
|
-
C,
|
|
1249
|
-
L
|
|
1250
|
-
] }), e[47] = C, e[48] = L, e[49] = O) : O = e[49];
|
|
1251
|
-
const E = O;
|
|
1252
|
-
if (W) {
|
|
1253
|
-
let j;
|
|
1254
|
-
e[50] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (j = {
|
|
1255
|
-
placement: "bottom-start",
|
|
1256
|
-
offset: {
|
|
1257
|
-
mainAxis: 4
|
|
1258
|
-
}
|
|
1259
|
-
}, e[50] = j) : j = e[50];
|
|
1260
|
-
const G = `${n}: ${$}`;
|
|
1261
|
-
let _;
|
|
1262
|
-
e[51] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ i(ge, { as: Xe, boxSize: "14px" }), e[51] = _) : _ = e[51];
|
|
1263
|
-
let K;
|
|
1264
|
-
e[52] !== $ || e[53] !== G ? (K = /* @__PURE__ */ i(ze.Trigger, { asChild: !0, children: /* @__PURE__ */ N(Le, { size: "xs", variant: "ghost", "aria-label": G, children: [
|
|
1265
|
-
$,
|
|
1266
|
-
_
|
|
1267
|
-
] }) }), e[52] = $, e[53] = G, e[54] = K) : K = e[54];
|
|
1268
|
-
let M;
|
|
1269
|
-
e[55] !== n ? (M = /* @__PURE__ */ i(Ve, { textStyle: "label/S/medium", children: n }), e[55] = n, e[56] = M) : M = e[56];
|
|
1270
|
-
let Q;
|
|
1271
|
-
e[57] !== M || e[58] !== T ? (Q = /* @__PURE__ */ N(U, { alignItems: "center", justifyContent: "space-between", gap: "xs", children: [
|
|
1272
|
-
M,
|
|
1273
|
-
T
|
|
1274
|
-
] }), e[57] = M, e[58] = T, e[59] = Q) : Q = e[59];
|
|
1275
|
-
let B;
|
|
1276
|
-
e[60] !== E || e[61] !== Q ? (B = /* @__PURE__ */ i(ze.Positioner, { children: /* @__PURE__ */ i(ze.Content, { width: "60", padding: "sm", background: "bg", children: /* @__PURE__ */ N(Ie, { gap: "xs", children: [
|
|
1277
|
-
Q,
|
|
1278
|
-
E
|
|
1279
|
-
] }) }) }), e[60] = E, e[61] = Q, e[62] = B) : B = e[62];
|
|
1280
|
-
let q;
|
|
1281
|
-
return e[63] !== K || e[64] !== B ? (q = /* @__PURE__ */ N(ze.Root, { positioning: j, children: [
|
|
1282
|
-
K,
|
|
1283
|
-
B
|
|
1284
|
-
] }), e[63] = K, e[64] = B, e[65] = q) : q = e[65], q;
|
|
1285
|
-
}
|
|
1286
|
-
let P;
|
|
1287
|
-
return e[66] !== l || e[67] !== n || e[68] !== E || e[69] !== T ? (P = /* @__PURE__ */ i(ce, { name: n, description: l, orientation: "stacked", labelTrailing: T, children: E }), e[66] = l, e[67] = n, e[68] = E, e[69] = T, e[70] = P) : P = e[70], P;
|
|
1288
|
-
}, nl = (a) => {
|
|
1289
|
-
const e = F(42), {
|
|
1290
|
-
id: t,
|
|
1291
|
-
name: n,
|
|
1292
|
-
description: l,
|
|
1293
|
-
defaultValue: o,
|
|
1294
|
-
options: r,
|
|
1295
|
-
variant: s,
|
|
1296
|
-
onChange: c,
|
|
1297
|
-
readOnly: u,
|
|
1298
|
-
fullWidth: f,
|
|
1299
|
-
presentation: p
|
|
1300
|
-
} = a, V = s === void 0 ? "default" : s, m = p === void 0 ? "stacked" : p, [b, d] = Z(o);
|
|
1301
|
-
let v, k;
|
|
1302
|
-
e[0] !== o ? (v = () => {
|
|
1303
|
-
d(o);
|
|
1304
|
-
}, k = [o], e[0] = o, e[1] = v, e[2] = k) : (v = e[1], k = e[2]), ne(v, k);
|
|
1305
|
-
let w;
|
|
1306
|
-
e[3] !== t || e[4] !== c ? (w = (C) => {
|
|
1307
|
-
d(C), c(t, C);
|
|
1308
|
-
}, e[3] = t, e[4] = c, e[5] = w) : w = e[5];
|
|
1309
|
-
const S = w;
|
|
1310
|
-
let g;
|
|
1311
|
-
e[6] !== r || e[7] !== b ? (g = r.find((C) => C.id === b)?.name ?? b, e[6] = r, e[7] = b, e[8] = g) : g = e[8];
|
|
1312
|
-
const h = g, x = m === "horizontal";
|
|
1313
|
-
if (u) {
|
|
1314
|
-
let C;
|
|
1315
|
-
e[9] !== h ? (C = /* @__PURE__ */ i(te, { children: h }), e[9] = h, e[10] = C) : C = e[10];
|
|
1316
|
-
let L;
|
|
1317
|
-
return e[11] !== l || e[12] !== f || e[13] !== x || e[14] !== n || e[15] !== C ? (L = /* @__PURE__ */ i(ce, { name: n, description: l, hideLabel: x, fullWidth: f, children: C }), e[11] = l, e[12] = f, e[13] = x, e[14] = n, e[15] = C, e[16] = L) : L = e[16], L;
|
|
1318
|
-
}
|
|
1319
|
-
if (x) {
|
|
1320
|
-
let C;
|
|
1321
|
-
e[17] !== b ? (C = [b], e[17] = b, e[18] = C) : C = e[18];
|
|
1322
|
-
let L;
|
|
1323
|
-
return e[19] !== r || e[20] !== S || e[21] !== h || e[22] !== C ? (L = /* @__PURE__ */ i(Oe, { triggerLabel: h, options: r, selectedIds: C, multiSelect: !1, onToggle: S }), e[19] = r, e[20] = S, e[21] = h, e[22] = C, e[23] = L) : L = e[23], L;
|
|
1324
|
-
}
|
|
1325
|
-
let y, $, W;
|
|
1326
|
-
e[24] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = {
|
|
1327
|
-
borderColor: "border.accent-light"
|
|
1328
|
-
}, $ = {
|
|
1329
|
-
borderColor: "border.accent-light"
|
|
1330
|
-
}, W = {
|
|
1331
|
-
borderColor: "border.accent-light",
|
|
1332
|
-
boxShadow: "none"
|
|
1333
|
-
}, e[24] = y, e[25] = $, e[26] = W) : (y = e[24], $ = e[25], W = e[26]);
|
|
1334
|
-
let I;
|
|
1335
|
-
if (e[27] !== r || e[28] !== S || e[29] !== b || e[30] !== V) {
|
|
1336
|
-
let C;
|
|
1337
|
-
e[32] !== S || e[33] !== b || e[34] !== V ? (C = (L) => {
|
|
1338
|
-
const O = L.id === b;
|
|
1339
|
-
return /* @__PURE__ */ N(Le, { flex: "1", size: "xs", variant: O ? "subtle" : "ghost", borderRadius: "0", "aria-pressed": O, onClick: () => S(L.id), children: [
|
|
1340
|
-
V === "dots" ? /* @__PURE__ */ i(A, { boxSize: "0.5rem", borderRadius: "full", bg: L.indicatorColor ?? "fg.muted", mr: "1" }) : null,
|
|
1341
|
-
L.name
|
|
1342
|
-
] }, L.id);
|
|
1343
|
-
}, e[32] = S, e[33] = b, e[34] = V, e[35] = C) : C = e[35], I = r.map(C), e[27] = r, e[28] = S, e[29] = b, e[30] = V, e[31] = I;
|
|
1344
|
-
} else
|
|
1345
|
-
I = e[31];
|
|
1346
|
-
let T;
|
|
1347
|
-
e[36] !== I ? (T = /* @__PURE__ */ i(rt, { attached: !0, width: "full", borderWidth: "1px", borderColor: "border", borderRadius: "xs", overflow: "hidden", transition: "border-color 0.2s ease-in-out", _hover: y, _active: $, _focusWithin: W, children: I }), e[36] = I, e[37] = T) : T = e[37];
|
|
1348
|
-
const z = T;
|
|
1349
|
-
let R;
|
|
1350
|
-
return e[38] !== l || e[39] !== z || e[40] !== n ? (R = /* @__PURE__ */ i(ce, { name: n, description: l, orientation: "stacked", children: z }), e[38] = l, e[39] = z, e[40] = n, e[41] = R) : R = e[41], R;
|
|
1351
|
-
}, il = (a) => {
|
|
1352
|
-
const e = F(6);
|
|
1353
|
-
let t, n;
|
|
1354
|
-
e[0] !== a ? ({
|
|
1355
|
-
children: t,
|
|
1356
|
-
...n
|
|
1357
|
-
} = a, e[0] = a, e[1] = t, e[2] = n) : (t = e[1], n = e[2]);
|
|
1358
|
-
let l;
|
|
1359
|
-
return e[3] !== t || e[4] !== n ? (l = /* @__PURE__ */ i(U, { alignItems: "center", gap: "xs", minW: "0", ...n, children: t }), e[3] = t, e[4] = n, e[5] = l) : l = e[5], l;
|
|
1360
|
-
}, rl = (a, e) => {
|
|
1361
|
-
if (e.min === void 0 && e.max === void 0) return a;
|
|
1362
|
-
const t = e.min ?? Number.NEGATIVE_INFINITY, n = e.max ?? Number.POSITIVE_INFINITY;
|
|
1363
|
-
return $e(a, t, n);
|
|
1364
|
-
}, sl = (a, e, t, n = {}) => {
|
|
1365
|
-
const l = rl(t, n);
|
|
1366
|
-
return e === "x" ? {
|
|
1367
|
-
x: l,
|
|
1368
|
-
y: a.y
|
|
1369
|
-
} : {
|
|
1370
|
-
x: a.x,
|
|
1371
|
-
y: l
|
|
1372
|
-
};
|
|
1373
|
-
}, Me = (a) => {
|
|
1374
|
-
const e = F(15), {
|
|
1375
|
-
label: t,
|
|
1376
|
-
fieldId: n,
|
|
1377
|
-
value: l,
|
|
1378
|
-
min: o,
|
|
1379
|
-
max: r,
|
|
1380
|
-
step: s,
|
|
1381
|
-
onCommit: c
|
|
1382
|
-
} = a;
|
|
1383
|
-
let u;
|
|
1384
|
-
e[0] !== t ? (u = /* @__PURE__ */ i(Ve, { textStyle: "label/XS/regular", color: "fg.muted", width: "1rem", flexShrink: 0, children: t }), e[0] = t, e[1] = u) : u = e[1];
|
|
1385
|
-
let f;
|
|
1386
|
-
e[2] !== c ? (f = (m, b) => c(b), e[2] = c, e[3] = f) : f = e[3];
|
|
1387
|
-
let p;
|
|
1388
|
-
e[4] !== n || e[5] !== t || e[6] !== r || e[7] !== o || e[8] !== s || e[9] !== f || e[10] !== l ? (p = /* @__PURE__ */ i(Qe, { id: n, name: t, description: "", defaultValue: l, min: o, max: r, step: s, hideLabel: !0, hideSlider: !0, onChange: f }), e[4] = n, e[5] = t, e[6] = r, e[7] = o, e[8] = s, e[9] = f, e[10] = l, e[11] = p) : p = e[11];
|
|
1389
|
-
let V;
|
|
1390
|
-
return e[12] !== u || e[13] !== p ? (V = /* @__PURE__ */ N(U, { alignItems: "center", gap: "1", flexShrink: 0, children: [
|
|
1391
|
-
u,
|
|
1392
|
-
p
|
|
1393
|
-
] }), e[12] = u, e[13] = p, e[14] = V) : V = e[14], V;
|
|
1394
|
-
}, ol = (a) => {
|
|
1395
|
-
const e = F(42), {
|
|
1396
|
-
id: t,
|
|
1397
|
-
name: n,
|
|
1398
|
-
description: l,
|
|
1399
|
-
defaultValue: o,
|
|
1400
|
-
xLabel: r,
|
|
1401
|
-
yLabel: s,
|
|
1402
|
-
min: c,
|
|
1403
|
-
max: u,
|
|
1404
|
-
step: f,
|
|
1405
|
-
onChange: p,
|
|
1406
|
-
readOnly: V
|
|
1407
|
-
} = a, m = r === void 0 ? "X" : r, b = s === void 0 ? "Y" : s, d = f === void 0 ? 1 : f, [v, k] = Z(o);
|
|
1408
|
-
let w, S;
|
|
1409
|
-
e[0] !== o ? (w = () => {
|
|
1410
|
-
k(o);
|
|
1411
|
-
}, S = [o], e[0] = o, e[1] = w, e[2] = S) : (w = e[1], S = e[2]), ne(w, S);
|
|
1412
|
-
let g;
|
|
1413
|
-
e[3] !== t || e[4] !== u || e[5] !== c || e[6] !== p || e[7] !== v ? (g = (C, L) => {
|
|
1414
|
-
const O = sl(v, C, L, {
|
|
1415
|
-
min: c,
|
|
1416
|
-
max: u
|
|
1417
|
-
});
|
|
1418
|
-
k(O), p(t, O);
|
|
1419
|
-
}, e[3] = t, e[4] = u, e[5] = c, e[6] = p, e[7] = v, e[8] = g) : g = e[8];
|
|
1420
|
-
const h = g;
|
|
1421
|
-
if (V) {
|
|
1422
|
-
const C = `${v.x}, ${v.y}`;
|
|
1423
|
-
let L;
|
|
1424
|
-
e[9] !== C ? (L = /* @__PURE__ */ i(te, { children: C }), e[9] = C, e[10] = L) : L = e[10];
|
|
1425
|
-
let O;
|
|
1426
|
-
return e[11] !== l || e[12] !== n || e[13] !== L ? (O = /* @__PURE__ */ i(ce, { name: n, description: l, children: L }), e[11] = l, e[12] = n, e[13] = L, e[14] = O) : O = e[14], O;
|
|
1427
|
-
}
|
|
1428
|
-
const x = `${t}.x`;
|
|
1429
|
-
let y;
|
|
1430
|
-
e[15] !== h ? (y = (C) => h("x", C), e[15] = h, e[16] = y) : y = e[16];
|
|
1431
|
-
let $;
|
|
1432
|
-
e[17] !== u || e[18] !== c || e[19] !== d || e[20] !== x || e[21] !== y || e[22] !== v.x || e[23] !== m ? ($ = /* @__PURE__ */ i(Me, { label: m, fieldId: x, value: v.x, min: c, max: u, step: d, onCommit: y }), e[17] = u, e[18] = c, e[19] = d, e[20] = x, e[21] = y, e[22] = v.x, e[23] = m, e[24] = $) : $ = e[24];
|
|
1433
|
-
const W = `${t}.y`;
|
|
1434
|
-
let I;
|
|
1435
|
-
e[25] !== h ? (I = (C) => h("y", C), e[25] = h, e[26] = I) : I = e[26];
|
|
1436
|
-
let T;
|
|
1437
|
-
e[27] !== u || e[28] !== c || e[29] !== d || e[30] !== I || e[31] !== W || e[32] !== v.y || e[33] !== b ? (T = /* @__PURE__ */ i(Me, { label: b, fieldId: W, value: v.y, min: c, max: u, step: d, onCommit: I }), e[27] = u, e[28] = c, e[29] = d, e[30] = I, e[31] = W, e[32] = v.y, e[33] = b, e[34] = T) : T = e[34];
|
|
1438
|
-
let z;
|
|
1439
|
-
e[35] !== T || e[36] !== $ ? (z = /* @__PURE__ */ N(il, { children: [
|
|
1440
|
-
$,
|
|
1441
|
-
T
|
|
1442
|
-
] }), e[35] = T, e[36] = $, e[37] = z) : z = e[37];
|
|
1443
|
-
let R;
|
|
1444
|
-
return e[38] !== l || e[39] !== n || e[40] !== z ? (R = /* @__PURE__ */ i(ce, { name: n, description: l, orientation: "stacked", children: z }), e[38] = l, e[39] = n, e[40] = z, e[41] = R) : R = e[41], R;
|
|
1445
|
-
}, ie = (a, e, t) => a[e] === void 0 ? t : a[e], al = (a) => {
|
|
1446
|
-
const e = F(81), {
|
|
1447
|
-
param: t,
|
|
1448
|
-
defaultValues: n,
|
|
1449
|
-
onChange: l,
|
|
1450
|
-
readOnly: o,
|
|
1451
|
-
fullWidth: r,
|
|
1452
|
-
presentation: s
|
|
1453
|
-
} = a, c = o || t.readOnly, u = s === "horizontal" ? !1 : r;
|
|
1454
|
-
let f;
|
|
1455
|
-
e[0] !== l || e[1] !== t.id || e[2] !== c || e[3] !== u ? (f = {
|
|
1456
|
-
id: t.id,
|
|
1457
|
-
readOnly: c,
|
|
1458
|
-
onChange: l,
|
|
1459
|
-
fullWidth: u
|
|
1460
|
-
}, e[0] = l, e[1] = t.id, e[2] = c, e[3] = u, e[4] = f) : f = e[4];
|
|
1461
|
-
const p = f;
|
|
1462
|
-
switch (t.type) {
|
|
1463
|
-
case "range": {
|
|
1464
|
-
const V = t.name, m = t.description;
|
|
1465
|
-
let b;
|
|
1466
|
-
e[5] !== n || e[6] !== t.defaultValue || e[7] !== t.id ? (b = ie(n, t.id, t.defaultValue), e[5] = n, e[6] = t.defaultValue, e[7] = t.id, e[8] = b) : b = e[8];
|
|
1467
|
-
let d;
|
|
1468
|
-
return e[9] !== p || e[10] !== t.description || e[11] !== t.markerCount || e[12] !== t.max || e[13] !== t.min || e[14] !== t.name || e[15] !== t.step || e[16] !== t.unit || e[17] !== s || e[18] !== b ? (d = /* @__PURE__ */ i(ll, { ...p, name: V, description: m, defaultValue: b, min: t.min, max: t.max, step: t.step, unit: t.unit, markerCount: t.markerCount, presentation: s }), e[9] = p, e[10] = t.description, e[11] = t.markerCount, e[12] = t.max, e[13] = t.min, e[14] = t.name, e[15] = t.step, e[16] = t.unit, e[17] = s, e[18] = b, e[19] = d) : d = e[19], d;
|
|
1469
|
-
}
|
|
1470
|
-
case "segmented": {
|
|
1471
|
-
const V = t.name, m = t.description;
|
|
1472
|
-
let b;
|
|
1473
|
-
e[20] !== n || e[21] !== t.defaultValue || e[22] !== t.id ? (b = ie(n, t.id, t.defaultValue), e[20] = n, e[21] = t.defaultValue, e[22] = t.id, e[23] = b) : b = e[23];
|
|
1474
|
-
let d;
|
|
1475
|
-
return e[24] !== p || e[25] !== t.description || e[26] !== t.name || e[27] !== t.options || e[28] !== t.variant || e[29] !== s || e[30] !== b ? (d = /* @__PURE__ */ i(nl, { ...p, name: V, description: m, defaultValue: b, options: t.options, variant: t.variant, presentation: s }), e[24] = p, e[25] = t.description, e[26] = t.name, e[27] = t.options, e[28] = t.variant, e[29] = s, e[30] = b, e[31] = d) : d = e[31], d;
|
|
1476
|
-
}
|
|
1477
|
-
case "actions": {
|
|
1478
|
-
const V = t.name, m = t.description;
|
|
1479
|
-
let b;
|
|
1480
|
-
e[32] !== n || e[33] !== t.defaultValue || e[34] !== t.id ? (b = ie(n, t.id, t.defaultValue), e[32] = n, e[33] = t.defaultValue, e[34] = t.id, e[35] = b) : b = e[35];
|
|
1481
|
-
let d;
|
|
1482
|
-
return e[36] !== p || e[37] !== t.description || e[38] !== t.name || e[39] !== t.options || e[40] !== s || e[41] !== b ? (d = /* @__PURE__ */ i(Kt, { ...p, name: V, description: m, defaultValue: b, options: t.options, presentation: s }), e[36] = p, e[37] = t.description, e[38] = t.name, e[39] = t.options, e[40] = s, e[41] = b, e[42] = d) : d = e[42], d;
|
|
1483
|
-
}
|
|
1484
|
-
case "anchorGrid": {
|
|
1485
|
-
if (s === "horizontal")
|
|
1486
|
-
return null;
|
|
1487
|
-
const V = t.name, m = t.description;
|
|
1488
|
-
let b;
|
|
1489
|
-
e[43] !== n || e[44] !== t.defaultValue || e[45] !== t.id ? (b = ie(n, t.id, t.defaultValue), e[43] = n, e[44] = t.defaultValue, e[45] = t.id, e[46] = b) : b = e[46];
|
|
1490
|
-
let d;
|
|
1491
|
-
return e[47] !== p || e[48] !== t.description || e[49] !== t.name || e[50] !== b ? (d = /* @__PURE__ */ i(qt, { ...p, name: V, description: m, defaultValue: b }), e[47] = p, e[48] = t.description, e[49] = t.name, e[50] = b, e[51] = d) : d = e[51], d;
|
|
1492
|
-
}
|
|
1493
|
-
case "vector": {
|
|
1494
|
-
const V = t.name, m = t.description;
|
|
1495
|
-
let b;
|
|
1496
|
-
e[52] !== n || e[53] !== t.defaultValue || e[54] !== t.id ? (b = ie(n, t.id, t.defaultValue), e[52] = n, e[53] = t.defaultValue, e[54] = t.id, e[55] = b) : b = e[55];
|
|
1497
|
-
let d;
|
|
1498
|
-
return e[56] !== p || e[57] !== t.description || e[58] !== t.max || e[59] !== t.min || e[60] !== t.name || e[61] !== t.step || e[62] !== t.xLabel || e[63] !== t.yLabel || e[64] !== b ? (d = /* @__PURE__ */ i(ol, { ...p, name: V, description: m, defaultValue: b, xLabel: t.xLabel, yLabel: t.yLabel, min: t.min, max: t.max, step: t.step }), e[56] = p, e[57] = t.description, e[58] = t.max, e[59] = t.min, e[60] = t.name, e[61] = t.step, e[62] = t.xLabel, e[63] = t.yLabel, e[64] = b, e[65] = d) : d = e[65], d;
|
|
1499
|
-
}
|
|
1500
|
-
case "fileUpload": {
|
|
1501
|
-
const V = t.id, m = t.name, b = t.description;
|
|
1502
|
-
let d;
|
|
1503
|
-
e[66] !== n || e[67] !== t.defaultValue || e[68] !== t.id ? (d = ie(n, t.id, t.defaultValue), e[66] = n, e[67] = t.defaultValue, e[68] = t.id, e[69] = d) : d = e[69];
|
|
1504
|
-
let v;
|
|
1505
|
-
return e[70] !== p.readOnly || e[71] !== l || e[72] !== t.accept || e[73] !== t.description || e[74] !== t.id || e[75] !== t.multiple || e[76] !== t.name || e[77] !== t.uploadLabel || e[78] !== s || e[79] !== d ? (v = /* @__PURE__ */ i(Zt, { id: V, name: m, description: b, defaultValue: d, accept: t.accept, multiple: t.multiple, uploadLabel: t.uploadLabel, readOnly: p.readOnly, presentation: s, onChange: l }), e[70] = p.readOnly, e[71] = l, e[72] = t.accept, e[73] = t.description, e[74] = t.id, e[75] = t.multiple, e[76] = t.name, e[77] = t.uploadLabel, e[78] = s, e[79] = d, e[80] = v) : v = e[80], v;
|
|
1506
|
-
}
|
|
1507
|
-
}
|
|
1508
|
-
}, cl = (a) => a.type === "fileUpload", Il = (a) => a.type !== "anchorGrid", Pe = (a) => a === null || a === "" ? "Not provided" : String(a), dl = (a) => {
|
|
1509
|
-
const e = F(23), {
|
|
1510
|
-
value: t
|
|
1511
|
-
} = a;
|
|
1512
|
-
if (Array.isArray(t)) {
|
|
1513
|
-
if (t.length === 0) {
|
|
1514
|
-
let c;
|
|
1515
|
-
return e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ i(te, { color: "fg.muted", children: "None" }), e[0] = c) : c = e[0], c;
|
|
1516
|
-
}
|
|
1517
|
-
let r;
|
|
1518
|
-
e[1] !== t ? (r = t.map(fl), e[1] = t, e[2] = r) : r = e[2];
|
|
1519
|
-
let s;
|
|
1520
|
-
return e[3] !== r ? (s = /* @__PURE__ */ i(Ae, { gap: "2xs", flexWrap: "wrap", children: r }), e[3] = r, e[4] = s) : s = e[4], s;
|
|
1521
|
-
}
|
|
1522
|
-
if (typeof t == "object" && t !== null) {
|
|
1523
|
-
let r;
|
|
1524
|
-
e[5] !== t.alt || e[6] !== t.images || e[7] !== t.src || e[8] !== t.type ? (r = t.type === "image" ? [{
|
|
1525
|
-
src: t.src,
|
|
1526
|
-
alt: t.alt
|
|
1527
|
-
}] : t.images, e[5] = t.alt, e[6] = t.images, e[7] = t.src, e[8] = t.type, e[9] = r) : r = e[9];
|
|
1528
|
-
const s = r;
|
|
1529
|
-
let c;
|
|
1530
|
-
e[10] !== s ? (c = s.map(ml), e[10] = s, e[11] = c) : c = e[11];
|
|
1531
|
-
let u;
|
|
1532
|
-
return e[12] !== c ? (u = /* @__PURE__ */ i(Ae, { gap: "2xs", flexWrap: "wrap", children: c }), e[12] = c, e[13] = u) : u = e[13], u;
|
|
1533
|
-
}
|
|
1534
|
-
if (typeof t == "boolean") {
|
|
1535
|
-
let r;
|
|
1536
|
-
e[14] !== t ? (r = Pe(t), e[14] = t, e[15] = r) : r = e[15];
|
|
1537
|
-
let s;
|
|
1538
|
-
return e[16] !== r ? (s = /* @__PURE__ */ i(te, { children: r }), e[16] = r, e[17] = s) : s = e[17], s;
|
|
1539
|
-
}
|
|
1540
|
-
const n = t === null || t === "" ? "fg.muted" : "fg";
|
|
1541
|
-
let l;
|
|
1542
|
-
e[18] !== t ? (l = Pe(t), e[18] = t, e[19] = l) : l = e[19];
|
|
1543
|
-
let o;
|
|
1544
|
-
return e[20] !== n || e[21] !== l ? (o = /* @__PURE__ */ i(te, { color: n, children: l }), e[20] = n, e[21] = l, e[22] = o) : o = e[22], o;
|
|
1545
|
-
}, ul = (a) => {
|
|
1546
|
-
const e = F(7), {
|
|
1547
|
-
param: t,
|
|
1548
|
-
fullWidth: n
|
|
1549
|
-
} = a;
|
|
1550
|
-
let l;
|
|
1551
|
-
e[0] !== t.value ? (l = /* @__PURE__ */ i(dl, { value: t.value }), e[0] = t.value, e[1] = l) : l = e[1];
|
|
1552
|
-
let o;
|
|
1553
|
-
return e[2] !== n || e[3] !== t.description || e[4] !== t.name || e[5] !== l ? (o = /* @__PURE__ */ i(ce, { name: t.name, description: t.description, fullWidth: n, children: l }), e[2] = n, e[3] = t.description, e[4] = t.name, e[5] = l, e[6] = o) : o = e[6], o;
|
|
1554
|
-
};
|
|
1555
|
-
function fl(a, e) {
|
|
1556
|
-
return /* @__PURE__ */ i(st, { variant: "subtle", colorPalette: "gray", children: Pe(a) }, `${String(a)}-${e}`);
|
|
1557
|
-
}
|
|
1558
|
-
function ml(a) {
|
|
1559
|
-
return /* @__PURE__ */ i(ot, { src: a.src, alt: a.alt, width: "96px", height: "72px", borderRadius: "sm", borderWidth: "1px", borderColor: "border.subtle", objectFit: "cover" }, `${a.src}-${a.alt}`);
|
|
1560
|
-
}
|
|
1561
|
-
const hl = (a) => {
|
|
1562
|
-
const e = F(16), {
|
|
1563
|
-
param: t,
|
|
1564
|
-
fullWidth: n
|
|
1565
|
-
} = a;
|
|
1566
|
-
if (n) {
|
|
1567
|
-
let s;
|
|
1568
|
-
e[0] !== t.description || e[1] !== t.name ? (s = /* @__PURE__ */ i(A, { mb: "xs", children: /* @__PURE__ */ i(D, { name: t.name, description: t.description }) }), e[0] = t.description, e[1] = t.name, e[2] = s) : s = e[2];
|
|
1569
|
-
let c;
|
|
1570
|
-
e[3] !== t.value ? (c = /* @__PURE__ */ i(te, { children: t.value }), e[3] = t.value, e[4] = c) : c = e[4];
|
|
1571
|
-
let u;
|
|
1572
|
-
return e[5] !== s || e[6] !== c ? (u = /* @__PURE__ */ N(A, { children: [
|
|
1573
|
-
s,
|
|
1574
|
-
c
|
|
1575
|
-
] }), e[5] = s, e[6] = c, e[7] = u) : u = e[7], u;
|
|
1576
|
-
}
|
|
1577
|
-
let l;
|
|
1578
|
-
e[8] !== t.description || e[9] !== t.name ? (l = /* @__PURE__ */ i(D, { name: t.name, description: t.description }), e[8] = t.description, e[9] = t.name, e[10] = l) : l = e[10];
|
|
1579
|
-
let o;
|
|
1580
|
-
e[11] !== t.value ? (o = /* @__PURE__ */ i(te, { children: t.value }), e[11] = t.value, e[12] = o) : o = e[12];
|
|
1581
|
-
let r;
|
|
1582
|
-
return e[13] !== l || e[14] !== o ? (r = /* @__PURE__ */ N(U, { alignItems: "center", justifyContent: "space-between", minHeight: "2rem", gap: "xs", children: [
|
|
1583
|
-
l,
|
|
1584
|
-
o
|
|
1585
|
-
] }), e[13] = l, e[14] = o, e[15] = r) : r = e[15], r;
|
|
1586
|
-
}, Ll = (a) => {
|
|
1587
|
-
const e = F(137), {
|
|
1588
|
-
param: t,
|
|
1589
|
-
defaultValues: n,
|
|
1590
|
-
onChange: l,
|
|
1591
|
-
onOpenResource: o,
|
|
1592
|
-
readOnly: r,
|
|
1593
|
-
fullWidth: s,
|
|
1594
|
-
presentation: c,
|
|
1595
|
-
size: u
|
|
1596
|
-
} = a, f = s === void 0 ? !1 : s, p = c === void 0 ? "stacked" : c, V = u === void 0 ? "sm" : u, m = p === "horizontal";
|
|
1597
|
-
let b;
|
|
1598
|
-
e[0] !== t ? (b = cl(t), e[0] = t, e[1] = b) : b = e[1];
|
|
1599
|
-
const d = b, v = r || t.readOnly, k = m ? d : f;
|
|
1600
|
-
let w;
|
|
1601
|
-
e[2] !== l || e[3] !== t.id || e[4] !== V || e[5] !== v || e[6] !== k ? (w = {
|
|
1602
|
-
id: t.id,
|
|
1603
|
-
readOnly: v,
|
|
1604
|
-
onChange: l,
|
|
1605
|
-
fullWidth: k,
|
|
1606
|
-
size: V
|
|
1607
|
-
}, e[2] = l, e[3] = t.id, e[4] = V, e[5] = v, e[6] = k, e[7] = w) : w = e[7];
|
|
1608
|
-
const S = w;
|
|
1609
|
-
switch (t.type) {
|
|
1610
|
-
case "number": {
|
|
1611
|
-
const g = t.name, h = t.description || "";
|
|
1612
|
-
let x;
|
|
1613
|
-
e[8] !== n || e[9] !== t.defaultValue || e[10] !== t.id ? (x = ie(n, t.id, t.defaultValue), e[8] = n, e[9] = t.defaultValue, e[10] = t.id, e[11] = x) : x = e[11];
|
|
1614
|
-
let y;
|
|
1615
|
-
return e[12] !== S || e[13] !== m || e[14] !== t.max || e[15] !== t.min || e[16] !== t.name || e[17] !== t.step || e[18] !== h || e[19] !== x ? (y = /* @__PURE__ */ i(Qe, { ...S, name: g, description: h, defaultValue: x, min: t.min, max: t.max, step: t.step, hideLabel: m, hideSlider: m }), e[12] = S, e[13] = m, e[14] = t.max, e[15] = t.min, e[16] = t.name, e[17] = t.step, e[18] = h, e[19] = x, e[20] = y) : y = e[20], y;
|
|
1616
|
-
}
|
|
1617
|
-
case "boolean": {
|
|
1618
|
-
const g = t.name, h = t.description;
|
|
1619
|
-
let x;
|
|
1620
|
-
e[21] !== n || e[22] !== t.defaultValue || e[23] !== t.id ? (x = ie(n, t.id, t.defaultValue), e[21] = n, e[22] = t.defaultValue, e[23] = t.id, e[24] = x) : x = e[24];
|
|
1621
|
-
let y;
|
|
1622
|
-
return e[25] !== S || e[26] !== m || e[27] !== t.description || e[28] !== t.name || e[29] !== x ? (y = /* @__PURE__ */ i(wt, { ...S, name: g, description: h, defaultValue: x, hideLabel: m }), e[25] = S, e[26] = m, e[27] = t.description, e[28] = t.name, e[29] = x, e[30] = y) : y = e[30], y;
|
|
1623
|
-
}
|
|
1624
|
-
case "text": {
|
|
1625
|
-
if (m) {
|
|
1626
|
-
const $ = t.name, W = t.description || "";
|
|
1627
|
-
let I;
|
|
1628
|
-
e[31] !== n || e[32] !== t.defaultValue || e[33] !== t.id ? (I = ie(n, t.id, t.defaultValue), e[31] = n, e[32] = t.defaultValue, e[33] = t.id, e[34] = I) : I = e[34];
|
|
1629
|
-
let T;
|
|
1630
|
-
return e[35] !== S || e[36] !== t.name || e[37] !== W || e[38] !== I ? (T = /* @__PURE__ */ i(Wt, { ...S, name: $, description: W, defaultValue: I, hideLabel: !0 }), e[35] = S, e[36] = t.name, e[37] = W, e[38] = I, e[39] = T) : T = e[39], T;
|
|
1631
|
-
}
|
|
1632
|
-
const g = t.name, h = t.description || "";
|
|
1633
|
-
let x;
|
|
1634
|
-
e[40] !== n || e[41] !== t.defaultValue || e[42] !== t.id ? (x = ie(n, t.id, t.defaultValue), e[40] = n, e[41] = t.defaultValue, e[42] = t.id, e[43] = x) : x = e[43];
|
|
1635
|
-
let y;
|
|
1636
|
-
return e[44] !== S || e[45] !== t.name || e[46] !== t.singleLine || e[47] !== h || e[48] !== x ? (y = /* @__PURE__ */ i(Gt, { ...S, name: g, description: h, defaultValue: x, singleLine: t.singleLine }), e[44] = S, e[45] = t.name, e[46] = t.singleLine, e[47] = h, e[48] = x, e[49] = y) : y = e[49], y;
|
|
1637
|
-
}
|
|
1638
|
-
case "markdown": {
|
|
1639
|
-
const g = t.id, h = t.name, x = t.description;
|
|
1640
|
-
let y;
|
|
1641
|
-
e[50] !== n || e[51] !== t.defaultValue || e[52] !== t.id ? (y = ie(n, t.id, t.defaultValue), e[50] = n, e[51] = t.defaultValue, e[52] = t.id, e[53] = y) : y = e[53];
|
|
1642
|
-
let $;
|
|
1643
|
-
return e[54] !== S.readOnly || e[55] !== l || e[56] !== t.description || e[57] !== t.id || e[58] !== t.name || e[59] !== t.placeholder || e[60] !== p || e[61] !== V || e[62] !== y ? ($ = /* @__PURE__ */ i(zt, { id: g, name: h, description: x, defaultValue: y, placeholder: t.placeholder, readOnly: S.readOnly, presentation: p, size: V, onChange: l }), e[54] = S.readOnly, e[55] = l, e[56] = t.description, e[57] = t.id, e[58] = t.name, e[59] = t.placeholder, e[60] = p, e[61] = V, e[62] = y, e[63] = $) : $ = e[63], $;
|
|
1644
|
-
}
|
|
1645
|
-
case "selection": {
|
|
1646
|
-
const g = t.name, h = t.description || "";
|
|
1647
|
-
let x;
|
|
1648
|
-
e[64] !== n || e[65] !== t.defaultValue || e[66] !== t.id ? (x = ie(n, t.id, t.defaultValue), e[64] = n, e[65] = t.defaultValue, e[66] = t.id, e[67] = x) : x = e[67];
|
|
1649
|
-
let y;
|
|
1650
|
-
e[68] !== n || e[69] !== t.group ? (y = t.group ? {
|
|
1651
|
-
...t.group,
|
|
1652
|
-
defaultValue: ie(n, t.group.id, t.group.defaultValue)
|
|
1653
|
-
} : void 0, e[68] = n, e[69] = t.group, e[70] = y) : y = e[70];
|
|
1654
|
-
let $;
|
|
1655
|
-
return e[71] !== S || e[72] !== m || e[73] !== t.clearable || e[74] !== t.disabled || e[75] !== t.emptyText || e[76] !== t.multiSelect || e[77] !== t.name || e[78] !== t.options || e[79] !== t.placeholder || e[80] !== t.searchPlaceholder || e[81] !== t.searchable || e[82] !== y || e[83] !== h || e[84] !== x ? ($ = /* @__PURE__ */ i(Ft, { ...S, name: g, description: h, defaultValue: x, options: t.options, multiSelect: t.multiSelect, placeholder: t.placeholder, clearable: t.clearable, disabled: t.disabled, searchable: t.searchable, searchPlaceholder: t.searchPlaceholder, emptyText: t.emptyText, group: y, hideLabel: m }), e[71] = S, e[72] = m, e[73] = t.clearable, e[74] = t.disabled, e[75] = t.emptyText, e[76] = t.multiSelect, e[77] = t.name, e[78] = t.options, e[79] = t.placeholder, e[80] = t.searchPlaceholder, e[81] = t.searchable, e[82] = y, e[83] = h, e[84] = x, e[85] = $) : $ = e[85], $;
|
|
1656
|
-
}
|
|
1657
|
-
case "date": {
|
|
1658
|
-
const g = t.name, h = t.description || "";
|
|
1659
|
-
let x;
|
|
1660
|
-
e[86] !== n || e[87] !== t.defaultValue || e[88] !== t.id ? (x = ie(n, t.id, t.defaultValue), e[86] = n, e[87] = t.defaultValue, e[88] = t.id, e[89] = x) : x = e[89];
|
|
1661
|
-
let y;
|
|
1662
|
-
return e[90] !== S || e[91] !== m || e[92] !== t.max || e[93] !== t.min || e[94] !== t.name || e[95] !== h || e[96] !== x ? (y = /* @__PURE__ */ i(It, { ...S, name: g, description: h, defaultValue: x, min: t.min, max: t.max, hideLabel: m }), e[90] = S, e[91] = m, e[92] = t.max, e[93] = t.min, e[94] = t.name, e[95] = h, e[96] = x, e[97] = y) : y = e[97], y;
|
|
1663
|
-
}
|
|
1664
|
-
case "color": {
|
|
1665
|
-
const g = t.name, h = t.description || "";
|
|
1666
|
-
let x;
|
|
1667
|
-
e[98] !== n || e[99] !== t.defaultValue || e[100] !== t.id ? (x = ie(n, t.id, t.defaultValue), e[98] = n, e[99] = t.defaultValue, e[100] = t.id, e[101] = x) : x = e[101];
|
|
1668
|
-
let y;
|
|
1669
|
-
return e[102] !== S || e[103] !== m || e[104] !== t.name || e[105] !== h || e[106] !== x ? (y = /* @__PURE__ */ i($t, { ...S, name: g, description: h, defaultValue: x, hideLabel: m }), e[102] = S, e[103] = m, e[104] = t.name, e[105] = h, e[106] = x, e[107] = y) : y = e[107], y;
|
|
1670
|
-
}
|
|
1671
|
-
case "property": {
|
|
1672
|
-
const g = m ? !1 : f;
|
|
1673
|
-
let h;
|
|
1674
|
-
return e[108] !== t || e[109] !== g ? (h = /* @__PURE__ */ i(hl, { param: t, fullWidth: g }), e[108] = t, e[109] = g, e[110] = h) : h = e[110], h;
|
|
1675
|
-
}
|
|
1676
|
-
case "readOnly": {
|
|
1677
|
-
const g = m ? !1 : f;
|
|
1678
|
-
let h;
|
|
1679
|
-
return e[111] !== t || e[112] !== g ? (h = /* @__PURE__ */ i(ul, { param: t, fullWidth: g }), e[111] = t, e[112] = g, e[113] = h) : h = e[113], h;
|
|
1680
|
-
}
|
|
1681
|
-
case "resource": {
|
|
1682
|
-
const g = t.name, h = t.description;
|
|
1683
|
-
let x;
|
|
1684
|
-
e[114] !== n || e[115] !== t.defaultValue || e[116] !== t.id ? (x = ie(n, t.id, t.defaultValue), e[114] = n, e[115] = t.defaultValue, e[116] = t.id, e[117] = x) : x = e[117];
|
|
1685
|
-
let y;
|
|
1686
|
-
return e[118] !== S || e[119] !== o || e[120] !== t.description || e[121] !== t.editable || e[122] !== t.emptyText || e[123] !== t.multiSelect || e[124] !== t.name || e[125] !== t.options || e[126] !== t.placeholder || e[127] !== p || e[128] !== x ? (y = /* @__PURE__ */ i(Bt, { ...S, name: g, description: h, defaultValue: x, options: t.options, multiSelect: t.multiSelect, editable: t.editable, placeholder: t.placeholder, emptyText: t.emptyText, onOpenResource: o, presentation: p }), e[118] = S, e[119] = o, e[120] = t.description, e[121] = t.editable, e[122] = t.emptyText, e[123] = t.multiSelect, e[124] = t.name, e[125] = t.options, e[126] = t.placeholder, e[127] = p, e[128] = x, e[129] = y) : y = e[129], y;
|
|
1687
|
-
}
|
|
1688
|
-
case "range":
|
|
1689
|
-
case "segmented":
|
|
1690
|
-
case "actions":
|
|
1691
|
-
case "anchorGrid":
|
|
1692
|
-
case "vector":
|
|
1693
|
-
case "fileUpload": {
|
|
1694
|
-
let g;
|
|
1695
|
-
return e[130] !== n || e[131] !== f || e[132] !== l || e[133] !== t || e[134] !== p || e[135] !== r ? (g = /* @__PURE__ */ i(al, { param: t, defaultValues: n, onChange: l, readOnly: r, fullWidth: f, presentation: p }), e[130] = n, e[131] = f, e[132] = l, e[133] = t, e[134] = p, e[135] = r, e[136] = g) : g = e[136], g;
|
|
1696
|
-
}
|
|
1697
|
-
default:
|
|
1698
|
-
return null;
|
|
1699
|
-
}
|
|
1700
|
-
};
|
|
1701
|
-
export {
|
|
1702
|
-
Ze as A,
|
|
1703
|
-
wt as B,
|
|
1704
|
-
$t as C,
|
|
1705
|
-
It as D,
|
|
1706
|
-
Zt as F,
|
|
1707
|
-
Wt as H,
|
|
1708
|
-
zt as M,
|
|
1709
|
-
Qe as N,
|
|
1710
|
-
ce as P,
|
|
1711
|
-
ll as R,
|
|
1712
|
-
nl as S,
|
|
1713
|
-
Gt as T,
|
|
1714
|
-
ol as V,
|
|
1715
|
-
Kt as a,
|
|
1716
|
-
qt as b,
|
|
1717
|
-
Ll as c,
|
|
1718
|
-
D as d,
|
|
1719
|
-
il as e,
|
|
1720
|
-
ul as f,
|
|
1721
|
-
te as g,
|
|
1722
|
-
Bt as h,
|
|
1723
|
-
Ft as i,
|
|
1724
|
-
$l as j,
|
|
1725
|
-
cl as k,
|
|
1726
|
-
Il as l
|
|
1727
|
-
};
|
|
1728
|
-
//# sourceMappingURL=param-editor-field-Bj-AGUY6.js.map
|