@tai42/studio-sdk 16.0.0 → 17.0.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/components/code-block.js +1 -1
- package/dist/components/code-block.js.map +1 -1
- package/dist/components/confirm-dialog.js +1 -1
- package/dist/components/confirm-dialog.js.map +1 -1
- package/dist/components/copy-field.js +1 -1
- package/dist/components/copy-field.js.map +1 -1
- package/dist/components/date-range-picker.d.ts.map +1 -1
- package/dist/components/date-range-picker.js.map +1 -1
- package/dist/components/dialog.d.ts.map +1 -1
- package/dist/components/dialog.js.map +1 -1
- package/dist/components/dirty-guard.d.ts.map +1 -1
- package/dist/components/dirty-guard.js +1 -1
- package/dist/components/dirty-guard.js.map +1 -1
- package/dist/components/explorer-body.d.ts +49 -0
- package/dist/components/explorer-body.d.ts.map +1 -0
- package/dist/components/explorer-body.js +67 -0
- package/dist/components/explorer-body.js.map +1 -0
- package/dist/components/explorer-page-size.d.ts +4 -0
- package/dist/components/explorer-page-size.d.ts.map +1 -0
- package/dist/components/explorer-page-size.js +36 -0
- package/dist/components/explorer-page-size.js.map +1 -0
- package/dist/components/explorer-tag-filter.d.ts +17 -0
- package/dist/components/explorer-tag-filter.d.ts.map +1 -0
- package/dist/components/explorer-tag-filter.js +29 -0
- package/dist/components/explorer-tag-filter.js.map +1 -0
- package/dist/components/explorer-tags.d.ts +22 -0
- package/dist/components/explorer-tags.d.ts.map +1 -0
- package/dist/components/explorer-tags.js +51 -0
- package/dist/components/explorer-tags.js.map +1 -0
- package/dist/components/explorer-view.d.ts +3 -17
- package/dist/components/explorer-view.d.ts.map +1 -1
- package/dist/components/explorer-view.js +53 -170
- package/dist/components/explorer-view.js.map +1 -1
- package/dist/components/extension-combo-builder.d.ts +1 -6
- package/dist/components/extension-combo-builder.d.ts.map +1 -1
- package/dist/components/extension-combo-builder.js +4 -79
- package/dist/components/extension-combo-builder.js.map +1 -1
- package/dist/components/extension-combo-parts.d.ts +44 -0
- package/dist/components/extension-combo-parts.d.ts.map +1 -0
- package/dist/components/extension-combo-parts.js +52 -0
- package/dist/components/extension-combo-parts.js.map +1 -0
- package/dist/components/field.d.ts +8 -0
- package/dist/components/field.d.ts.map +1 -1
- package/dist/components/field.js +0 -8
- package/dist/components/field.js.map +1 -1
- package/dist/components/fleet-report.d.ts +1 -1
- package/dist/components/fleet-report.d.ts.map +1 -1
- package/dist/components/fleet-report.js +51 -37
- package/dist/components/fleet-report.js.map +1 -1
- package/dist/components/folder-nav.d.ts.map +1 -1
- package/dist/components/folder-nav.js +1 -1
- package/dist/components/folder-nav.js.map +1 -1
- package/dist/components/form-dialog.d.ts.map +1 -1
- package/dist/components/form-dialog.js +1 -1
- package/dist/components/form-dialog.js.map +1 -1
- package/dist/components/icons/chrome-marks.d.ts +50 -0
- package/dist/components/icons/chrome-marks.d.ts.map +1 -0
- package/dist/components/icons/chrome-marks.js +51 -0
- package/dist/components/icons/chrome-marks.js.map +1 -0
- package/dist/components/icons/icon-frame.d.ts +29 -0
- package/dist/components/icons/icon-frame.d.ts.map +1 -0
- package/dist/components/icons/icon-frame.js +19 -0
- package/dist/components/icons/icon-frame.js.map +1 -0
- package/dist/components/icons/index.d.ts +40 -0
- package/dist/components/icons/index.d.ts.map +1 -0
- package/dist/components/icons/index.js +39 -0
- package/dist/components/icons/index.js.map +1 -0
- package/dist/components/icons/nav-map.d.ts +14 -0
- package/dist/components/icons/nav-map.d.ts.map +1 -0
- package/dist/components/icons/nav-map.js +28 -0
- package/dist/components/icons/nav-map.js.map +1 -0
- package/dist/components/icons/nav-marks.d.ts +44 -0
- package/dist/components/icons/nav-marks.d.ts.map +1 -0
- package/dist/components/icons/nav-marks.js +45 -0
- package/dist/components/icons/nav-marks.js.map +1 -0
- package/dist/components/icons/status-marks.d.ts +21 -0
- package/dist/components/icons/status-marks.d.ts.map +1 -0
- package/dist/components/icons/status-marks.js +22 -0
- package/dist/components/icons/status-marks.js.map +1 -0
- package/dist/components/icons/theme-marks.d.ts +9 -0
- package/dist/components/icons/theme-marks.d.ts.map +1 -0
- package/dist/components/icons/theme-marks.js +10 -0
- package/dist/components/icons/theme-marks.js.map +1 -0
- package/dist/components/inputs.js.map +1 -1
- package/dist/components/json-diff.d.ts.map +1 -1
- package/dist/components/json-diff.js +1 -3
- package/dist/components/json-diff.js.map +1 -1
- package/dist/components/json-tree-context.d.ts +13 -0
- package/dist/components/json-tree-context.d.ts.map +1 -0
- package/dist/components/json-tree-context.js +15 -0
- package/dist/components/json-tree-context.js.map +1 -0
- package/dist/components/json-tree-model.d.ts +56 -0
- package/dist/components/json-tree-model.d.ts.map +1 -0
- package/dist/components/json-tree-model.js +125 -0
- package/dist/components/json-tree-model.js.map +1 -0
- package/dist/components/json-tree-nodes.d.ts +35 -0
- package/dist/components/json-tree-nodes.d.ts.map +1 -0
- package/dist/components/json-tree-nodes.js +113 -0
- package/dist/components/json-tree-nodes.js.map +1 -0
- package/dist/components/json-tree.d.ts +20 -0
- package/dist/components/json-tree.d.ts.map +1 -1
- package/dist/components/json-tree.js +7 -315
- package/dist/components/json-tree.js.map +1 -1
- package/dist/components/json-value-format.d.ts +20 -0
- package/dist/components/json-value-format.d.ts.map +1 -0
- package/dist/components/json-value-format.js +63 -0
- package/dist/components/json-value-format.js.map +1 -0
- package/dist/components/markdown-blocks.d.ts +38 -0
- package/dist/components/markdown-blocks.d.ts.map +1 -0
- package/dist/components/markdown-blocks.js +168 -0
- package/dist/components/markdown-blocks.js.map +1 -0
- package/dist/components/markdown-inline.d.ts +24 -0
- package/dist/components/markdown-inline.d.ts.map +1 -0
- package/dist/components/markdown-inline.js +257 -0
- package/dist/components/markdown-inline.js.map +1 -0
- package/dist/components/markdown.d.ts +3 -52
- package/dist/components/markdown.d.ts.map +1 -1
- package/dist/components/markdown.js +4 -376
- package/dist/components/markdown.js.map +1 -1
- package/dist/components/observer-registry.d.ts +38 -0
- package/dist/components/observer-registry.d.ts.map +1 -0
- package/dist/components/observer-registry.js +131 -0
- package/dist/components/observer-registry.js.map +1 -0
- package/dist/components/overflow-measure.d.ts +38 -0
- package/dist/components/overflow-measure.d.ts.map +1 -0
- package/dist/components/overflow-measure.js +54 -0
- package/dist/components/overflow-measure.js.map +1 -0
- package/dist/components/page-fill.d.ts.map +1 -1
- package/dist/components/page-fill.js.map +1 -1
- package/dist/components/prose-regions.d.ts +81 -0
- package/dist/components/prose-regions.d.ts.map +1 -0
- package/dist/components/prose-regions.js +128 -0
- package/dist/components/prose-regions.js.map +1 -0
- package/dist/components/radio-group.d.ts.map +1 -1
- package/dist/components/radio-group.js.map +1 -1
- package/dist/components/scroll-region.d.ts +24 -0
- package/dist/components/scroll-region.d.ts.map +1 -1
- package/dist/components/scroll-region.js +3 -322
- package/dist/components/scroll-region.js.map +1 -1
- package/dist/components/tab-stop-parse.d.ts +53 -0
- package/dist/components/tab-stop-parse.d.ts.map +1 -0
- package/dist/components/tab-stop-parse.js +202 -0
- package/dist/components/tab-stop-parse.js.map +1 -0
- package/dist/components/table.d.ts +1 -1
- package/dist/components/table.d.ts.map +1 -1
- package/dist/components/tags.d.ts.map +1 -1
- package/dist/components/tags.js +1 -1
- package/dist/components/tags.js.map +1 -1
- package/dist/components/templated-text-field.d.ts +1 -1
- package/dist/components/templated-text-field.d.ts.map +1 -1
- package/dist/components/templated-text-field.js +10 -174
- package/dist/components/templated-text-field.js.map +1 -1
- package/dist/components/templated-text-kwargs-editor.d.ts +24 -0
- package/dist/components/templated-text-kwargs-editor.d.ts.map +1 -0
- package/dist/components/templated-text-kwargs-editor.js +48 -0
- package/dist/components/templated-text-kwargs-editor.js.map +1 -0
- package/dist/components/templated-text-kwargs.d.ts +37 -0
- package/dist/components/templated-text-kwargs.d.ts.map +1 -0
- package/dist/components/templated-text-kwargs.js +66 -0
- package/dist/components/templated-text-kwargs.js.map +1 -0
- package/dist/components/templated-text-source.d.ts +33 -0
- package/dist/components/templated-text-source.d.ts.map +1 -0
- package/dist/components/templated-text-source.js +53 -0
- package/dist/components/templated-text-source.js.map +1 -0
- package/dist/components/tool-picker-parts.d.ts +39 -0
- package/dist/components/tool-picker-parts.d.ts.map +1 -0
- package/dist/components/tool-picker-parts.js +87 -0
- package/dist/components/tool-picker-parts.js.map +1 -0
- package/dist/components/tool-picker.d.ts +1 -2
- package/dist/components/tool-picker.d.ts.map +1 -1
- package/dist/components/tool-picker.js +4 -66
- package/dist/components/tool-picker.js.map +1 -1
- package/dist/components/version-history-panel.d.ts.map +1 -1
- package/dist/components/version-history-panel.js +7 -34
- package/dist/components/version-history-panel.js.map +1 -1
- package/dist/components/version-history-rows.d.ts +48 -0
- package/dist/components/version-history-rows.d.ts.map +1 -0
- package/dist/components/version-history-rows.js +51 -0
- package/dist/components/version-history-rows.js.map +1 -0
- package/dist/components/view-toggle.d.ts.map +1 -1
- package/dist/components/view-toggle.js.map +1 -1
- package/dist/element-slot.d.ts +11 -0
- package/dist/element-slot.d.ts.map +1 -1
- package/dist/element-slot.js +0 -11
- package/dist/element-slot.js.map +1 -1
- package/dist/guards.d.ts +6 -0
- package/dist/guards.d.ts.map +1 -0
- package/dist/guards.js +8 -0
- package/dist/guards.js.map +1 -0
- package/dist/hooks/interactions-connection.d.ts +43 -0
- package/dist/hooks/interactions-connection.d.ts.map +1 -0
- package/dist/hooks/interactions-connection.js +171 -0
- package/dist/hooks/interactions-connection.js.map +1 -0
- package/dist/hooks/interactions-stream.d.ts +80 -0
- package/dist/hooks/interactions-stream.d.ts.map +1 -0
- package/dist/hooks/interactions-stream.js +233 -0
- package/dist/hooks/interactions-stream.js.map +1 -0
- package/dist/hooks/useApi.d.ts +2259 -2189
- package/dist/hooks/useApi.d.ts.map +1 -1
- package/dist/hooks/useApi.js +0 -11
- package/dist/hooks/useApi.js.map +1 -1
- package/dist/hooks/useAuth.d.ts +6 -0
- package/dist/hooks/useAuth.d.ts.map +1 -1
- package/dist/hooks/useAuth.js +0 -6
- package/dist/hooks/useAuth.js.map +1 -1
- package/dist/hooks/useCapabilities.d.ts +18 -2
- package/dist/hooks/useCapabilities.d.ts.map +1 -1
- package/dist/hooks/useCapabilities.js +1 -17
- package/dist/hooks/useCapabilities.js.map +1 -1
- package/dist/hooks/useSse.d.ts +34 -6
- package/dist/hooks/useSse.d.ts.map +1 -1
- package/dist/hooks/useSse.js +27 -471
- package/dist/hooks/useSse.js.map +1 -1
- package/dist/hooks/useSystemKinds.d.ts +1 -1
- package/dist/hooks/useSystemKinds.d.ts.map +1 -1
- package/dist/hooks/useSystemKinds.js +0 -18
- package/dist/hooks/useSystemKinds.js.map +1 -1
- package/dist/hooks/useTheme.d.ts +15 -0
- package/dist/hooks/useTheme.d.ts.map +1 -1
- package/dist/hooks/useTheme.js +0 -15
- package/dist/hooks/useTheme.js.map +1 -1
- package/dist/hooks/useToolDisplayNames.d.ts +0 -14
- package/dist/hooks/useToolDisplayNames.d.ts.map +1 -1
- package/dist/hooks/useToolDisplayNames.js +0 -14
- package/dist/hooks/useToolDisplayNames.js.map +1 -1
- package/dist/host.d.ts +3 -3
- package/dist/host.d.ts.map +1 -1
- package/dist/host.js +2 -9
- package/dist/host.js.map +1 -1
- package/dist/index.d.ts +103 -103
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +49 -62
- package/dist/index.js.map +1 -1
- package/dist/navigation/app-link.d.ts +25 -0
- package/dist/navigation/app-link.d.ts.map +1 -0
- package/dist/navigation/app-link.js +33 -0
- package/dist/navigation/app-link.js.map +1 -0
- package/dist/navigation/context.d.ts +3 -20
- package/dist/navigation/context.d.ts.map +1 -1
- package/dist/navigation/context.js +7 -267
- package/dist/navigation/context.js.map +1 -1
- package/dist/navigation/entry-state.d.ts +23 -0
- package/dist/navigation/entry-state.d.ts.map +1 -0
- package/dist/navigation/entry-state.js +39 -0
- package/dist/navigation/entry-state.js.map +1 -0
- package/dist/navigation/guard-registry.d.ts +30 -0
- package/dist/navigation/guard-registry.d.ts.map +1 -0
- package/dist/navigation/guard-registry.js +46 -0
- package/dist/navigation/guard-registry.js.map +1 -0
- package/dist/navigation/guarded-navigation.d.ts +24 -0
- package/dist/navigation/guarded-navigation.d.ts.map +1 -0
- package/dist/navigation/guarded-navigation.js +102 -0
- package/dist/navigation/guarded-navigation.js.map +1 -0
- package/dist/navigation/index.d.ts +5 -4
- package/dist/navigation/index.d.ts.map +1 -1
- package/dist/navigation/index.js +2 -1
- package/dist/navigation/index.js.map +1 -1
- package/dist/navigation/types.d.ts +8 -11
- package/dist/navigation/types.d.ts.map +1 -1
- package/dist/navigation/use-back-forward-guard.d.ts +12 -0
- package/dist/navigation/use-back-forward-guard.d.ts.map +1 -0
- package/dist/navigation/use-back-forward-guard.js +75 -0
- package/dist/navigation/use-back-forward-guard.js.map +1 -0
- package/dist/navigation/use-search-commit.d.ts.map +1 -1
- package/dist/navigation/use-search-commit.js.map +1 -1
- package/dist/plugin/host-state.d.ts.map +1 -1
- package/dist/plugin/host-state.js.map +1 -1
- package/dist/plugin/registry.d.ts +6 -15
- package/dist/plugin/registry.d.ts.map +1 -1
- package/dist/plugin/registry.js +83 -75
- package/dist/plugin/registry.js.map +1 -1
- package/dist/schema-editor/SchemaEditor.d.ts.map +1 -1
- package/dist/schema-editor/SchemaEditor.js.map +1 -1
- package/dist/schema-editor/index.d.ts +3 -3
- package/dist/schema-editor/index.d.ts.map +1 -1
- package/dist/schema-editor/index.js +1 -6
- package/dist/schema-editor/index.js.map +1 -1
- package/dist/schema-form/SecretRefField.d.ts +18 -3
- package/dist/schema-form/SecretRefField.d.ts.map +1 -1
- package/dist/schema-form/SecretRefField.js +21 -26
- package/dist/schema-form/SecretRefField.js.map +1 -1
- package/dist/schema-form/classify.d.ts +1 -113
- package/dist/schema-form/classify.d.ts.map +1 -1
- package/dist/schema-form/classify.js +174 -246
- package/dist/schema-form/classify.js.map +1 -1
- package/dist/schema-form/context.d.ts +6 -0
- package/dist/schema-form/context.d.ts.map +1 -1
- package/dist/schema-form/context.js +0 -6
- package/dist/schema-form/context.js.map +1 -1
- package/dist/schema-form/default-value.d.ts.map +1 -1
- package/dist/schema-form/default-value.js +42 -19
- package/dist/schema-form/default-value.js.map +1 -1
- package/dist/schema-form/enum-field.d.ts +1 -1
- package/dist/schema-form/enum-field.d.ts.map +1 -1
- package/dist/schema-form/field-group.d.ts +6 -0
- package/dist/schema-form/field-group.d.ts.map +1 -1
- package/dist/schema-form/field-group.js +0 -6
- package/dist/schema-form/field-group.js.map +1 -1
- package/dist/schema-form/field-model.d.ts +121 -0
- package/dist/schema-form/field-model.d.ts.map +1 -0
- package/dist/schema-form/field-model.js +2 -0
- package/dist/schema-form/field-model.js.map +1 -0
- package/dist/schema-form/field-node.d.ts.map +1 -1
- package/dist/schema-form/field-node.js +25 -14
- package/dist/schema-form/field-node.js.map +1 -1
- package/dist/schema-form/index.d.ts +8 -8
- package/dist/schema-form/index.d.ts.map +1 -1
- package/dist/schema-form/index.js +3 -34
- package/dist/schema-form/index.js.map +1 -1
- package/dist/schema-form/json-field.d.ts +19 -0
- package/dist/schema-form/json-field.d.ts.map +1 -1
- package/dist/schema-form/json-field.js +0 -19
- package/dist/schema-form/json-field.js.map +1 -1
- package/dist/schema-form/media-field.d.ts +1 -1
- package/dist/schema-form/media-field.d.ts.map +1 -1
- package/dist/schema-form/media-field.js +49 -30
- package/dist/schema-form/media-field.js.map +1 -1
- package/dist/schema-form/record-field.d.ts +12 -0
- package/dist/schema-form/record-field.d.ts.map +1 -1
- package/dist/schema-form/record-field.js +1 -13
- package/dist/schema-form/record-field.js.map +1 -1
- package/dist/schema-form/string-annotations.d.ts +20 -0
- package/dist/schema-form/string-annotations.d.ts.map +1 -0
- package/dist/schema-form/string-annotations.js +105 -0
- package/dist/schema-form/string-annotations.js.map +1 -0
- package/dist/schema-form/string-field.d.ts +1 -1
- package/dist/schema-form/string-field.d.ts.map +1 -1
- package/dist/schema-form/string-field.js +1 -1
- package/dist/schema-form/string-field.js.map +1 -1
- package/dist/schema-form/union-field.d.ts +1 -1
- package/dist/schema-form/union-field.d.ts.map +1 -1
- package/dist/schema-form/union-field.js.map +1 -1
- package/dist/schema-form/union.d.ts +8 -1
- package/dist/schema-form/union.d.ts.map +1 -1
- package/dist/schema-form/union.js +0 -7
- package/dist/schema-form/union.js.map +1 -1
- package/dist/schema-form/validate.d.ts.map +1 -1
- package/dist/schema-form/validate.js +126 -105
- package/dist/schema-form/validate.js.map +1 -1
- package/dist/state-binding/AdapterMapping.d.ts.map +1 -1
- package/dist/state-binding/AdapterMapping.js +0 -0
- package/dist/state-binding/AdapterMapping.js.map +1 -1
- package/dist/state-binding/BindingJqField.d.ts.map +1 -1
- package/dist/state-binding/BindingJqField.js +2 -2
- package/dist/state-binding/BindingJqField.js.map +1 -1
- package/dist/state-binding/InputInjectionRow.d.ts.map +1 -1
- package/dist/state-binding/InputInjectionRow.js +3 -3
- package/dist/state-binding/InputInjectionRow.js.map +1 -1
- package/dist/state-binding/StateAttachRow.d.ts.map +1 -1
- package/dist/state-binding/StateAttachRow.js +57 -41
- package/dist/state-binding/StateAttachRow.js.map +1 -1
- package/dist/state-binding/StateBindingSection.d.ts.map +1 -1
- package/dist/state-binding/StateBindingSection.js.map +1 -1
- package/dist/state-binding/SubjectScopeFields.d.ts.map +1 -1
- package/dist/state-binding/SubjectScopeFields.js.map +1 -1
- package/dist/state-binding/UpdateRow.d.ts.map +1 -1
- package/dist/state-binding/UpdateRow.js +2 -2
- package/dist/state-binding/UpdateRow.js.map +1 -1
- package/dist/state-binding/adapter-mapping-row.d.ts +17 -0
- package/dist/state-binding/adapter-mapping-row.d.ts.map +1 -0
- package/dist/state-binding/adapter-mapping-row.js +87 -0
- package/dist/state-binding/adapter-mapping-row.js.map +1 -0
- package/dist/state-binding/index.d.ts +21 -21
- package/dist/state-binding/index.d.ts.map +1 -1
- package/dist/state-binding/index.js +9 -15
- package/dist/state-binding/index.js.map +1 -1
- package/dist/state-binding/templated-text-catalog.d.ts.map +1 -1
- package/dist/state-binding/templated-text-catalog.js.map +1 -1
- package/dist/state-binding/types.d.ts +2 -2
- package/dist/state-binding/types.d.ts.map +1 -1
- package/dist/structured-output/StructuredOutput.d.ts.map +1 -1
- package/dist/structured-output/StructuredOutput.js +1 -3
- package/dist/structured-output/StructuredOutput.js.map +1 -1
- package/package.json +2 -2
- package/src/components/code-block.tsx +1 -1
- package/src/components/confirm-dialog.tsx +1 -1
- package/src/components/copy-field.tsx +1 -1
- package/src/components/date-range-picker.tsx +1 -1
- package/src/components/dialog.tsx +1 -1
- package/src/components/dirty-guard.tsx +3 -3
- package/src/components/explorer-body.tsx +239 -0
- package/src/components/explorer-page-size.ts +39 -0
- package/src/components/explorer-tag-filter.tsx +80 -0
- package/src/components/explorer-tags.ts +64 -0
- package/src/components/explorer-view.tsx +115 -367
- package/src/components/extension-combo-builder.tsx +35 -153
- package/src/components/extension-combo-parts.tsx +236 -0
- package/src/components/field.tsx +1 -1
- package/src/components/fleet-report.tsx +98 -55
- package/src/components/folder-nav.tsx +2 -2
- package/src/components/form-dialog.tsx +2 -2
- package/src/components/icons/chrome-marks.tsx +195 -0
- package/src/components/icons/icon-frame.tsx +50 -0
- package/src/components/icons/index.ts +84 -0
- package/src/components/icons/nav-map.ts +55 -0
- package/src/components/icons/nav-marks.tsx +205 -0
- package/src/components/icons/status-marks.tsx +46 -0
- package/src/components/icons/theme-marks.tsx +33 -0
- package/src/components/inputs.tsx +1 -1
- package/src/components/json-diff.tsx +1 -4
- package/src/components/json-tree-context.ts +26 -0
- package/src/components/json-tree-model.ts +139 -0
- package/src/components/json-tree-nodes.tsx +224 -0
- package/src/components/json-tree.tsx +15 -434
- package/src/components/json-value-format.ts +64 -0
- package/src/components/markdown-blocks.ts +198 -0
- package/src/components/markdown-inline.tsx +365 -0
- package/src/components/markdown.tsx +6 -472
- package/src/components/observer-registry.ts +139 -0
- package/src/components/overflow-measure.ts +69 -0
- package/src/components/page-fill.tsx +1 -1
- package/src/components/prose-regions.ts +153 -0
- package/src/components/radio-group.tsx +1 -1
- package/src/components/scroll-region.tsx +22 -361
- package/src/components/tab-stop-parse.ts +217 -0
- package/src/components/table.tsx +1 -1
- package/src/components/tags.tsx +2 -2
- package/src/components/templated-text-field.tsx +39 -332
- package/src/components/templated-text-kwargs-editor.tsx +147 -0
- package/src/components/templated-text-kwargs.ts +92 -0
- package/src/components/templated-text-source.tsx +226 -0
- package/src/components/tool-picker-parts.tsx +184 -0
- package/src/components/tool-picker.tsx +22 -114
- package/src/components/version-history-panel.tsx +39 -143
- package/src/components/version-history-rows.tsx +220 -0
- package/src/components/view-toggle.tsx +1 -1
- package/src/element-slot.ts +1 -1
- package/src/guards.ts +7 -0
- package/src/hooks/interactions-connection.ts +227 -0
- package/src/hooks/interactions-stream.ts +274 -0
- package/src/hooks/useApi.ts +1 -1
- package/src/hooks/useAuth.ts +1 -1
- package/src/hooks/useCapabilities.ts +3 -3
- package/src/hooks/useSse.ts +51 -478
- package/src/hooks/useSystemKinds.tsx +2 -2
- package/src/hooks/useTheme.ts +1 -1
- package/src/hooks/useToolDisplayNames.tsx +2 -2
- package/src/host.ts +7 -7
- package/src/index.ts +292 -292
- package/src/navigation/app-link.tsx +70 -0
- package/src/navigation/context.tsx +12 -331
- package/src/navigation/entry-state.ts +42 -0
- package/src/navigation/guard-registry.ts +65 -0
- package/src/navigation/guarded-navigation.ts +147 -0
- package/src/navigation/index.ts +14 -14
- package/src/navigation/types.ts +8 -11
- package/src/navigation/use-back-forward-guard.ts +90 -0
- package/src/navigation/use-search-commit.ts +1 -1
- package/src/plugin/host-state.ts +1 -1
- package/src/plugin/registry.ts +111 -90
- package/src/schema-editor/SchemaEditor.tsx +1 -1
- package/src/schema-editor/index.ts +3 -3
- package/src/schema-form/SecretRefField.tsx +122 -72
- package/src/schema-form/classify.ts +245 -396
- package/src/schema-form/context.ts +1 -1
- package/src/schema-form/default-value.ts +48 -17
- package/src/schema-form/enum-field.tsx +1 -1
- package/src/schema-form/field-group.tsx +1 -1
- package/src/schema-form/field-model.ts +133 -0
- package/src/schema-form/field-node.tsx +95 -39
- package/src/schema-form/index.ts +10 -10
- package/src/schema-form/json-field.tsx +1 -1
- package/src/schema-form/media-field.tsx +136 -67
- package/src/schema-form/record-field.tsx +2 -2
- package/src/schema-form/string-annotations.ts +111 -0
- package/src/schema-form/string-field.tsx +2 -2
- package/src/schema-form/union-field.tsx +3 -2
- package/src/schema-form/union.ts +1 -1
- package/src/schema-form/validate.ts +185 -104
- package/src/state-binding/AdapterMapping.tsx +0 -0
- package/src/state-binding/BindingJqField.tsx +3 -3
- package/src/state-binding/InputInjectionRow.tsx +4 -4
- package/src/state-binding/StateAttachRow.tsx +229 -154
- package/src/state-binding/StateBindingSection.tsx +1 -1
- package/src/state-binding/SubjectScopeFields.tsx +1 -1
- package/src/state-binding/UpdateRow.tsx +3 -3
- package/src/state-binding/adapter-mapping-row.tsx +232 -0
- package/src/state-binding/index.ts +43 -43
- package/src/state-binding/templated-text-catalog.ts +0 -1
- package/src/state-binding/types.ts +2 -2
- package/src/structured-output/StructuredOutput.tsx +1 -4
- package/dist/components/icons.d.ts +0 -160
- package/dist/components/icons.d.ts.map +0 -1
- package/dist/components/icons.js +0 -160
- package/dist/components/icons.js.map +0 -1
- package/src/components/icons.tsx +0 -586
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nav-map.js","sourceRoot":"","sources":["../../../src/components/icons/nav-map.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,UAAU,EACV,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,cAAc,EACd,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,eAAe,EACf,iBAAiB,EACjB,WAAW,EACX,cAAc,EACd,mBAAmB,EACnB,YAAY,EACZ,WAAW,EACX,UAAU,EACV,aAAa,EACb,SAAS,GACV,MAAM,aAAa,CAAC;AAErB;;;;GAIG;AACH,MAAM,CAAC,MAAM,SAAS,GAAkE;IACtF,aAAa,EAAE,aAAa;IAC5B,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,UAAU;IAClB,OAAO,EAAE,WAAW;IACpB,MAAM,EAAE,YAAY;IACpB,UAAU,EAAE,cAAc;IAC1B,SAAS,EAAE,aAAa;IACxB,UAAU,EAAE,cAAc;IAC1B,eAAe,EAAE,mBAAmB;IACpC,KAAK,EAAE,SAAS;IAChB,OAAO,EAAE,WAAW;IACpB,UAAU,EAAE,cAAc;IAC1B,YAAY,EAAE,gBAAgB;IAC9B,aAAa,EAAE,iBAAiB;IAChC,aAAa,EAAE,iBAAiB;IAChC,WAAW,EAAE,eAAe;IAC5B,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;IACtB,MAAM,EAAE,UAAU;CACnB,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/** The route-destination marks — one per navigable Studio route, plus the
|
|
2
|
+
* plugin-provenance mark for plugin-contributed navigation. */
|
|
3
|
+
import { type IconComponent } from './icon-frame';
|
|
4
|
+
/** Observability: a dial gauge — arc, base and needle. */
|
|
5
|
+
export declare const DashboardIcon: IconComponent;
|
|
6
|
+
/** Tools: an open-ended spanner over its handle. */
|
|
7
|
+
export declare const ToolsIcon: IconComponent;
|
|
8
|
+
/** Agents: a bot — antenna, panel head with eyes and mouth, side ports. */
|
|
9
|
+
export declare const AgentsIcon: IconComponent;
|
|
10
|
+
/** Presets: three sliders, each with its knob at a different stop. */
|
|
11
|
+
export declare const PresetsIcon: IconComponent;
|
|
12
|
+
/** Extensions: a jigsaw piece — knob above, socket to the right. */
|
|
13
|
+
export declare const ExtensionsIcon: IconComponent;
|
|
14
|
+
/** Templates: a stack of two sheets, the front one offset. */
|
|
15
|
+
export declare const TemplatesIcon: IconComponent;
|
|
16
|
+
/** Connectors: a two-pin power plug on its lead. */
|
|
17
|
+
export declare const ConnectorsIcon: IconComponent;
|
|
18
|
+
/** Hooks: a webhook fan-out — one source branching to two subscribers. */
|
|
19
|
+
export declare const HooksIcon: IconComponent;
|
|
20
|
+
/** Storage: a database cylinder with two shelves. */
|
|
21
|
+
export declare const StorageIcon: IconComponent;
|
|
22
|
+
/** States: a stacked-disk cylinder — one document store per subject. */
|
|
23
|
+
export declare const DatabaseIcon: IconComponent;
|
|
24
|
+
/** Scheduling: a calendar grid with its binding posts. */
|
|
25
|
+
export declare const SchedulingIcon: IconComponent;
|
|
26
|
+
/** Interactions: two overlapping speech bubbles — a conversation. */
|
|
27
|
+
export declare const InteractionsIcon: IconComponent;
|
|
28
|
+
/** Notifications: a bell with its clapper. */
|
|
29
|
+
export declare const NotificationsIcon: IconComponent;
|
|
30
|
+
/** Conversations: one speech bubble holding transcript lines. */
|
|
31
|
+
export declare const ConversationsIcon: IconComponent;
|
|
32
|
+
/** Marketplace: a shopping bag. */
|
|
33
|
+
export declare const MarketplaceIcon: IconComponent;
|
|
34
|
+
/** Manifest: a document with a folded corner and its entries. */
|
|
35
|
+
export declare const ManifestIcon: IconComponent;
|
|
36
|
+
/** Settings: an eight-tooth cog around its bore. */
|
|
37
|
+
export declare const SettingsIcon: IconComponent;
|
|
38
|
+
/** System: a processor die with its pins. */
|
|
39
|
+
export declare const SystemIcon: IconComponent;
|
|
40
|
+
/** Served endpoints: a broadcast node radiating to the tools it serves. */
|
|
41
|
+
export declare const ServedEndpointsIcon: IconComponent;
|
|
42
|
+
/** Plugin: a puzzle piece — the host's provenance mark for plugin-contributed nav. */
|
|
43
|
+
export declare const PluginIcon: IconComponent;
|
|
44
|
+
//# sourceMappingURL=nav-marks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nav-marks.d.ts","sourceRoot":"","sources":["../../../src/components/icons/nav-marks.tsx"],"names":[],"mappings":"AAAA;+DAC+D;AAC/D,OAAO,EAAQ,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC;AAExD,0DAA0D;AAC1D,eAAO,MAAM,aAAa,EAAE,aAM3B,CAAC;AAEF,oDAAoD;AACpD,eAAO,MAAM,SAAS,EAAE,aAIvB,CAAC;AAEF,2EAA2E;AAC3E,eAAO,MAAM,UAAU,EAAE,aAWxB,CAAC;AAEF,sEAAsE;AACtE,eAAO,MAAM,WAAW,EAAE,aAYzB,CAAC;AAEF,oEAAoE;AACpE,eAAO,MAAM,cAAc,EAAE,aAI5B,CAAC;AAEF,8DAA8D;AAC9D,eAAO,MAAM,aAAa,EAAE,aAK3B,CAAC;AAEF,oDAAoD;AACpD,eAAO,MAAM,cAAc,EAAE,aAO5B,CAAC;AAEF,0EAA0E;AAC1E,eAAO,MAAM,SAAS,EAAE,aASvB,CAAC;AAEF,qDAAqD;AACrD,eAAO,MAAM,WAAW,EAAE,aAMzB,CAAC;AAEF,wEAAwE;AACxE,eAAO,MAAM,YAAY,EAAE,aAM1B,CAAC;AAEF,0DAA0D;AAC1D,eAAO,MAAM,cAAc,EAAE,aAY5B,CAAC;AAEF,qEAAqE;AACrE,eAAO,MAAM,gBAAgB,EAAE,aAK9B,CAAC;AAEF,8CAA8C;AAC9C,eAAO,MAAM,iBAAiB,EAAE,aAK/B,CAAC;AAEF,iEAAiE;AACjE,eAAO,MAAM,iBAAiB,EAAE,aAO/B,CAAC;AAEF,mCAAmC;AACnC,eAAO,MAAM,eAAe,EAAE,aAK7B,CAAC;AAEF,iEAAiE;AACjE,eAAO,MAAM,YAAY,EAAE,aAQ1B,CAAC;AAEF,oDAAoD;AACpD,eAAO,MAAM,YAAY,EAAE,aAK1B,CAAC;AAEF,6CAA6C;AAC7C,eAAO,MAAM,UAAU,EAAE,aAaxB,CAAC;AAEF,2EAA2E;AAC3E,eAAO,MAAM,mBAAmB,EAAE,aAQjC,CAAC;AAEF,sFAAsF;AACtF,eAAO,MAAM,UAAU,EAAE,aAIxB,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/** The route-destination marks — one per navigable Studio route, plus the
|
|
3
|
+
* plugin-provenance mark for plugin-contributed navigation. */
|
|
4
|
+
import { Icon } from './icon-frame';
|
|
5
|
+
/** Observability: a dial gauge — arc, base and needle. */
|
|
6
|
+
export const DashboardIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M3 17.5a9 9 0 0 1 18 0" }), _jsx("path", { d: "M3 17.5h18" }), _jsx("path", { d: "M12 17.5 16.4 11.9" })] }));
|
|
7
|
+
/** Tools: an open-ended spanner over its handle. */
|
|
8
|
+
export const ToolsIcon = (props) => (_jsx(Icon, { ...props, children: _jsx("path", { d: "M14.6 6.2a1 1 0 0 0 0 1.5l1.7 1.7a1 1 0 0 0 1.5 0l3.2-3.2a5.9 5.9 0 0 1-7.4 7.4l-6.8 6.8a2.1 2.1 0 0 1-3-3l6.8-6.8a5.9 5.9 0 0 1 7.4-7.4z" }) }));
|
|
9
|
+
/** Agents: a bot — antenna, panel head with eyes and mouth, side ports. */
|
|
10
|
+
export const AgentsIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M12 4.6V7.4" }), _jsx("circle", { cx: "12", cy: "3.2", r: "1.4" }), _jsx("rect", { x: "4.4", y: "7.4", width: "15.2", height: "12.4", rx: "3" }), _jsx("path", { d: "M2.6 12.6v2.8" }), _jsx("path", { d: "M21.4 12.6v2.8" }), _jsx("path", { d: "M9.2 11.6v1.8" }), _jsx("path", { d: "M14.8 11.6v1.8" }), _jsx("path", { d: "M9.6 16.6h4.8" })] }));
|
|
11
|
+
/** Presets: three sliders, each with its knob at a different stop. */
|
|
12
|
+
export const PresetsIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M3 6.8h6.5" }), _jsx("path", { d: "M13.5 6.8H21" }), _jsx("circle", { cx: "11.5", cy: "6.8", r: "2" }), _jsx("path", { d: "M3 12h10.5" }), _jsx("path", { d: "M17.5 12H21" }), _jsx("circle", { cx: "15.5", cy: "12", r: "2" }), _jsx("path", { d: "M3 17.2h4.5" }), _jsx("path", { d: "M11.5 17.2H21" }), _jsx("circle", { cx: "9.5", cy: "17.2", r: "2" })] }));
|
|
13
|
+
/** Extensions: a jigsaw piece — knob above, socket to the right. */
|
|
14
|
+
export const ExtensionsIcon = (props) => (_jsx(Icon, { ...props, children: _jsx("path", { d: "M9.5 6.5a2.2 2.2 0 0 1 4.4 0v.7h4.3a1.3 1.3 0 0 1 1.3 1.3v3.4H18a2.2 2.2 0 0 0 0 4.4h1.5v2.8a1.3 1.3 0 0 1-1.3 1.3H5.8a1.3 1.3 0 0 1-1.3-1.3V8.5a1.3 1.3 0 0 1 1.3-1.3h3.7z" }) }));
|
|
15
|
+
/** Templates: a stack of two sheets, the front one offset. */
|
|
16
|
+
export const TemplatesIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M8 8V5a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-3" }), _jsx("rect", { x: "3", y: "8", width: "13", height: "13", rx: "2" })] }));
|
|
17
|
+
/** Connectors: a two-pin power plug on its lead. */
|
|
18
|
+
export const ConnectorsIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M9 3v5" }), _jsx("path", { d: "M15 3v5" }), _jsx("path", { d: "M6.5 8h11v3.5a5.5 5.5 0 0 1-11 0z" }), _jsx("path", { d: "M12 17v4" })] }));
|
|
19
|
+
/** Hooks: a webhook fan-out — one source branching to two subscribers. */
|
|
20
|
+
export const HooksIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("circle", { cx: "12", cy: "5.8", r: "2.6" }), _jsx("circle", { cx: "5.4", cy: "18.2", r: "2.6" }), _jsx("circle", { cx: "18.6", cy: "18.2", r: "2.6" }), _jsx("path", { d: "M10.7 8.1 6.7 15.9" }), _jsx("path", { d: "M13.3 8.1 17.3 15.9" }), _jsx("path", { d: "M8 18.2h8" })] }));
|
|
21
|
+
/** Storage: a database cylinder with two shelves. */
|
|
22
|
+
export const StorageIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("ellipse", { cx: "12", cy: "6", rx: "7.5", ry: "3" }), _jsx("path", { d: "M4.5 6v12c0 1.66 3.36 3 7.5 3s7.5-1.34 7.5-3V6" }), _jsx("path", { d: "M4.5 12c0 1.66 3.36 3 7.5 3s7.5-1.34 7.5-3" })] }));
|
|
23
|
+
/** States: a stacked-disk cylinder — one document store per subject. */
|
|
24
|
+
export const DatabaseIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("ellipse", { cx: "12", cy: "5", rx: "8", ry: "3" }), _jsx("path", { d: "M4 5v6c0 1.66 3.58 3 8 3s8-1.34 8-3V5" }), _jsx("path", { d: "M4 11v6c0 1.66 3.58 3 8 3s8-1.34 8-3v-6" })] }));
|
|
25
|
+
/** Scheduling: a calendar grid with its binding posts. */
|
|
26
|
+
export const SchedulingIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("rect", { x: "3", y: "5", width: "18", height: "16", rx: "2" }), _jsx("path", { d: "M3 10h18" }), _jsx("path", { d: "M8 3v4" }), _jsx("path", { d: "M16 3v4" }), _jsx("path", { d: "M7.6 14h.01" }), _jsx("path", { d: "M12 14h.01" }), _jsx("path", { d: "M16.4 14h.01" }), _jsx("path", { d: "M7.6 17.6h.01" }), _jsx("path", { d: "M12 17.6h.01" })] }));
|
|
27
|
+
/** Interactions: two overlapping speech bubbles — a conversation. */
|
|
28
|
+
export const InteractionsIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M4.5 3h7a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H8l-3 3v-3h-.5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z" }), _jsx("path", { d: "M12.5 9h7a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H19v3l-3-3h-3.5a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2z" })] }));
|
|
29
|
+
/** Notifications: a bell with its clapper. */
|
|
30
|
+
export const NotificationsIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M18 8.5a6 6 0 0 0-12 0c0 6-2.5 7.5-2.5 7.5h17S18 14.5 18 8.5z" }), _jsx("path", { d: "M13.7 19a2 2 0 0 1-3.4 0" })] }));
|
|
31
|
+
/** Conversations: one speech bubble holding transcript lines. */
|
|
32
|
+
export const ConversationsIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M4 5.5A2.5 2.5 0 0 1 6.5 3h11A2.5 2.5 0 0 1 20 5.5v8a2.5 2.5 0 0 1-2.5 2.5H10l-4.5 3.5V16h-1A2.5 2.5 0 0 1 4 13.5z" }), _jsx("path", { d: "M8 7.5h8" }), _jsx("path", { d: "M8 10.5h8" }), _jsx("path", { d: "M8 13.5h4" })] }));
|
|
33
|
+
/** Marketplace: a shopping bag. */
|
|
34
|
+
export const MarketplaceIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M4.6 8h14.8l-1 12.1a1 1 0 0 1-1 .9H6.6a1 1 0 0 1-1-.9L4.6 8z" }), _jsx("path", { d: "M8.5 11V6.6a3.5 3.5 0 0 1 7 0V11" })] }));
|
|
35
|
+
/** Manifest: a document with a folded corner and its entries. */
|
|
36
|
+
export const ManifestIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M13.5 3H6.5A1.5 1.5 0 0 0 5 4.5v15A1.5 1.5 0 0 0 6.5 21h11a1.5 1.5 0 0 0 1.5-1.5V8.5z" }), _jsx("path", { d: "M13.5 3v5.5H19" }), _jsx("path", { d: "M8.5 12.5h7" }), _jsx("path", { d: "M8.5 16.5h7" }), _jsx("path", { d: "M8.5 8.5h2" })] }));
|
|
37
|
+
/** Settings: an eight-tooth cog around its bore. */
|
|
38
|
+
export const SettingsIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M9.5 5.9 10.3 3.2 13.7 3.2 14.5 5.9 17 4.5 19.5 7 18.1 9.5 20.8 10.3 20.8 13.7 18.1 14.5 19.5 17 17 19.5 14.5 18.1 13.7 20.8 10.3 20.8 9.5 18.1 7 19.5 4.5 17 5.9 14.5 3.2 13.7 3.2 10.3 5.9 9.5 4.5 7 7 4.5Z" }), _jsx("circle", { cx: "12", cy: "12", r: "3.2" })] }));
|
|
39
|
+
/** System: a processor die with its pins. */
|
|
40
|
+
export const SystemIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("rect", { x: "6.5", y: "6.5", width: "11", height: "11", rx: "1.6" }), _jsx("rect", { x: "9.8", y: "9.8", width: "4.4", height: "4.4", rx: "1" }), _jsx("path", { d: "M9.5 3v3.5" }), _jsx("path", { d: "M14.5 3v3.5" }), _jsx("path", { d: "M9.5 17.5V21" }), _jsx("path", { d: "M14.5 17.5V21" }), _jsx("path", { d: "M3 9.5h3.5" }), _jsx("path", { d: "M3 14.5h3.5" }), _jsx("path", { d: "M17.5 9.5H21" }), _jsx("path", { d: "M17.5 14.5H21" })] }));
|
|
41
|
+
/** Served endpoints: a broadcast node radiating to the tools it serves. */
|
|
42
|
+
export const ServedEndpointsIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("circle", { cx: "12", cy: "12", r: "2.5" }), _jsx("path", { d: "M7.8 7.8a6 6 0 0 0 0 8.4" }), _jsx("path", { d: "M16.2 7.8a6 6 0 0 1 0 8.4" }), _jsx("path", { d: "M5 5a9 9 0 0 0 0 14" }), _jsx("path", { d: "M19 5a9 9 0 0 1 0 14" })] }));
|
|
43
|
+
/** Plugin: a puzzle piece — the host's provenance mark for plugin-contributed nav. */
|
|
44
|
+
export const PluginIcon = (props) => (_jsx(Icon, { ...props, children: _jsx("path", { d: "M10 4a2 2 0 0 1 4 0c0 .8.7 1.4 1.5 1.4H18a1 1 0 0 1 1 1v2.6c0 .8.6 1.5 1.4 1.5a2 2 0 0 1 0 4c-.8 0-1.4.7-1.4 1.5V19a1 1 0 0 1-1 1h-2.6c-.8 0-1.4-.6-1.4-1.4a2 2 0 0 0-4 0c0 .8-.6 1.4-1.4 1.4H6a1 1 0 0 1-1-1v-2.5C5 15.7 4.4 15 3.6 15a2 2 0 0 1 0-4c.8 0 1.4-.7 1.4-1.5V6a1 1 0 0 1 1-1h2.5C9.3 5 10 4.4 10 3.6z" }) }));
|
|
45
|
+
//# sourceMappingURL=nav-marks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nav-marks.js","sourceRoot":"","sources":["../../../src/components/icons/nav-marks.tsx"],"names":[],"mappings":";AAAA;+DAC+D;AAC/D,OAAO,EAAE,IAAI,EAAsB,MAAM,cAAc,CAAC;AAExD,0DAA0D;AAC1D,MAAM,CAAC,MAAM,aAAa,GAAkB,CAAC,KAAK,EAAE,EAAE,CAAC,CACrD,MAAC,IAAI,OAAK,KAAK,aACb,eAAM,CAAC,EAAC,wBAAwB,GAAG,EACnC,eAAM,CAAC,EAAC,YAAY,GAAG,EACvB,eAAM,CAAC,EAAC,oBAAoB,GAAG,IAC1B,CACR,CAAC;AAEF,oDAAoD;AACpD,MAAM,CAAC,MAAM,SAAS,GAAkB,CAAC,KAAK,EAAE,EAAE,CAAC,CACjD,KAAC,IAAI,OAAK,KAAK,YACb,eAAM,CAAC,EAAC,2IAA2I,GAAG,GACjJ,CACR,CAAC;AAEF,2EAA2E;AAC3E,MAAM,CAAC,MAAM,UAAU,GAAkB,CAAC,KAAK,EAAE,EAAE,CAAC,CAClD,MAAC,IAAI,OAAK,KAAK,aACb,eAAM,CAAC,EAAC,aAAa,GAAG,EACxB,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,KAAK,EAAC,CAAC,EAAC,KAAK,GAAG,EACnC,eAAM,CAAC,EAAC,KAAK,EAAC,CAAC,EAAC,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAC,EAAE,EAAC,GAAG,GAAG,EAC1D,eAAM,CAAC,EAAC,eAAe,GAAG,EAC1B,eAAM,CAAC,EAAC,gBAAgB,GAAG,EAC3B,eAAM,CAAC,EAAC,eAAe,GAAG,EAC1B,eAAM,CAAC,EAAC,gBAAgB,GAAG,EAC3B,eAAM,CAAC,EAAC,eAAe,GAAG,IACrB,CACR,CAAC;AAEF,sEAAsE;AACtE,MAAM,CAAC,MAAM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,CAAC,EAAC,cAAc,GAAG,EACzB,eAAM,CAAC,EAAC,eAAe,GAAG,EAC1B,eAAM,CAAC,EAAC,YAAY,GAAG,EACvB,eAAM,CAAC,EAAC,aAAa,GAAG,EACxB,eAAM,CAAC,EAAC,cAAc,GAAG,EACzB,eAAM,CAAC,EAAC,eAAe,GAAG,IACrB,CACR,CAAC;AAEF,2EAA2E;AAC3E,MAAM,CAAC,MAAM,mBAAmB,GAAkB,CAAC,KAAK,EAAE,EAAE,CAAC,CAC3D,MAAC,IAAI,OAAK,KAAK,aACb,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,KAAK,GAAG,EAClC,eAAM,CAAC,EAAC,0BAA0B,GAAG,EACrC,eAAM,CAAC,EAAC,2BAA2B,GAAG,EACtC,eAAM,CAAC,EAAC,qBAAqB,GAAG,EAChC,eAAM,CAAC,EAAC,sBAAsB,GAAG,IAC5B,CACR,CAAC;AAEF,sFAAsF;AACtF,MAAM,CAAC,MAAM,UAAU,GAAkB,CAAC,KAAK,EAAE,EAAE,CAAC,CAClD,KAAC,IAAI,OAAK,KAAK,YACb,eAAM,CAAC,EAAC,oTAAoT,GAAG,GAC1T,CACR,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/** Status marks — success, warning, failure and the pending/running ring. */
|
|
2
|
+
import { type IconComponent } from './icon-frame';
|
|
3
|
+
/** Success. */
|
|
4
|
+
export declare const CheckCircleIcon: IconComponent;
|
|
5
|
+
/** Warning. */
|
|
6
|
+
export declare const AlertTriangleIcon: IconComponent;
|
|
7
|
+
/** Failure. */
|
|
8
|
+
export declare const XCircleIcon: IconComponent;
|
|
9
|
+
/**
|
|
10
|
+
* Pending / running / queued — a clock hand inside a dashed ring.
|
|
11
|
+
*
|
|
12
|
+
* The dash period has to TILE the circumference or the ring closes on a seam.
|
|
13
|
+
* At r = 9 the circumference is 2π·9 = 56.5487. A 3.2/3.2 array (period 6.4)
|
|
14
|
+
* fits 8.84 times, so the ring shut with a 2.15 gap instead of 3.2 — and with
|
|
15
|
+
* the inherited round linecap eating 1.6 at each end that seam rendered ~0.37 px
|
|
16
|
+
* wide at 16 px, reading as joined while every other gap read as a gap. Eight
|
|
17
|
+
* whole periods divide it exactly: 56.5487 / 8 = 7.0686, halved for the dash and
|
|
18
|
+
* the gap = 3.5343 each, giving 16 even segments and no seam.
|
|
19
|
+
*/
|
|
20
|
+
export declare const PendingIcon: IconComponent;
|
|
21
|
+
//# sourceMappingURL=status-marks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status-marks.d.ts","sourceRoot":"","sources":["../../../src/components/icons/status-marks.tsx"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,OAAO,EAAQ,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC;AAExD,eAAe;AACf,eAAO,MAAM,eAAe,EAAE,aAK7B,CAAC;AAEF,eAAe;AACf,eAAO,MAAM,iBAAiB,EAAE,aAM/B,CAAC;AAEF,eAAe;AACf,eAAO,MAAM,WAAW,EAAE,aAMzB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,WAAW,EAAE,aAKzB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/** Status marks — success, warning, failure and the pending/running ring. */
|
|
3
|
+
import { Icon } from './icon-frame';
|
|
4
|
+
/** Success. */
|
|
5
|
+
export const CheckCircleIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("circle", { cx: "12", cy: "12", r: "9" }), _jsx("path", { d: "M8 12.3 10.9 15.2 16 9.5" })] }));
|
|
6
|
+
/** Warning. */
|
|
7
|
+
export const AlertTriangleIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M10.6 3.9 2.7 17.9a1.6 1.6 0 0 0 1.4 2.4h15.8a1.6 1.6 0 0 0 1.4-2.4L13.4 3.9a1.6 1.6 0 0 0-2.8 0z" }), _jsx("path", { d: "M12 9.6v4" }), _jsx("path", { d: "M12 16.9h.01" })] }));
|
|
8
|
+
/** Failure. */
|
|
9
|
+
export const XCircleIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("circle", { cx: "12", cy: "12", r: "9" }), _jsx("path", { d: "M15 9 9 15" }), _jsx("path", { d: "M9 9 15 15" })] }));
|
|
10
|
+
/**
|
|
11
|
+
* Pending / running / queued — a clock hand inside a dashed ring.
|
|
12
|
+
*
|
|
13
|
+
* The dash period has to TILE the circumference or the ring closes on a seam.
|
|
14
|
+
* At r = 9 the circumference is 2π·9 = 56.5487. A 3.2/3.2 array (period 6.4)
|
|
15
|
+
* fits 8.84 times, so the ring shut with a 2.15 gap instead of 3.2 — and with
|
|
16
|
+
* the inherited round linecap eating 1.6 at each end that seam rendered ~0.37 px
|
|
17
|
+
* wide at 16 px, reading as joined while every other gap read as a gap. Eight
|
|
18
|
+
* whole periods divide it exactly: 56.5487 / 8 = 7.0686, halved for the dash and
|
|
19
|
+
* the gap = 3.5343 each, giving 16 even segments and no seam.
|
|
20
|
+
*/
|
|
21
|
+
export const PendingIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("circle", { cx: "12", cy: "12", r: "9", strokeDasharray: "3.5343 3.5343" }), _jsx("path", { d: "M12 7.5V12l3 2" })] }));
|
|
22
|
+
//# sourceMappingURL=status-marks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status-marks.js","sourceRoot":"","sources":["../../../src/components/icons/status-marks.tsx"],"names":[],"mappings":";AAAA,6EAA6E;AAC7E,OAAO,EAAE,IAAI,EAAsB,MAAM,cAAc,CAAC;AAExD,eAAe;AACf,MAAM,CAAC,MAAM,eAAe,GAAkB,CAAC,KAAK,EAAE,EAAE,CAAC,CACvD,MAAC,IAAI,OAAK,KAAK,aACb,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,GAAG,GAAG,EAChC,eAAM,CAAC,EAAC,0BAA0B,GAAG,IAChC,CACR,CAAC;AAEF,eAAe;AACf,MAAM,CAAC,MAAM,iBAAiB,GAAkB,CAAC,KAAK,EAAE,EAAE,CAAC,CACzD,MAAC,IAAI,OAAK,KAAK,aACb,eAAM,CAAC,EAAC,mGAAmG,GAAG,EAC9G,eAAM,CAAC,EAAC,WAAW,GAAG,EACtB,eAAM,CAAC,EAAC,cAAc,GAAG,IACpB,CACR,CAAC;AAEF,eAAe;AACf,MAAM,CAAC,MAAM,WAAW,GAAkB,CAAC,KAAK,EAAE,EAAE,CAAC,CACnD,MAAC,IAAI,OAAK,KAAK,aACb,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,GAAG,GAAG,EAChC,eAAM,CAAC,EAAC,YAAY,GAAG,EACvB,eAAM,CAAC,EAAC,YAAY,GAAG,IAClB,CACR,CAAC;AAEF;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,WAAW,GAAkB,CAAC,KAAK,EAAE,EAAE,CAAC,CACnD,MAAC,IAAI,OAAK,KAAK,aACb,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,GAAG,EAAC,eAAe,EAAC,eAAe,GAAG,EAChE,eAAM,CAAC,EAAC,gBAAgB,GAAG,IACtB,CACR,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** The theme trio — one mark per option of the light / dark / system control. */
|
|
2
|
+
import { type IconComponent } from './icon-frame';
|
|
3
|
+
/** Light theme. */
|
|
4
|
+
export declare const SunIcon: IconComponent;
|
|
5
|
+
/** Dark theme. */
|
|
6
|
+
export declare const MoonIcon: IconComponent;
|
|
7
|
+
/** Follow the operating system. */
|
|
8
|
+
export declare const MonitorIcon: IconComponent;
|
|
9
|
+
//# sourceMappingURL=theme-marks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-marks.d.ts","sourceRoot":"","sources":["../../../src/components/icons/theme-marks.tsx"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,OAAO,EAAQ,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC;AAExD,mBAAmB;AACnB,eAAO,MAAM,OAAO,EAAE,aAYrB,CAAC;AAEF,kBAAkB;AAClB,eAAO,MAAM,QAAQ,EAAE,aAItB,CAAC;AAEF,mCAAmC;AACnC,eAAO,MAAM,WAAW,EAAE,aAMzB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/** The theme trio — one mark per option of the light / dark / system control. */
|
|
3
|
+
import { Icon } from './icon-frame';
|
|
4
|
+
/** Light theme. */
|
|
5
|
+
export const SunIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("circle", { cx: "12", cy: "12", r: "4.2" }), _jsx("path", { d: "M12 2.6v2.4" }), _jsx("path", { d: "M12 19v2.4" }), _jsx("path", { d: "M2.6 12H5" }), _jsx("path", { d: "M19 12h2.4" }), _jsx("path", { d: "M5.3 5.3 7 7" }), _jsx("path", { d: "M17 17 18.7 18.7" }), _jsx("path", { d: "M18.7 5.3 17 7" }), _jsx("path", { d: "M7 17 5.3 18.7" })] }));
|
|
6
|
+
/** Dark theme. */
|
|
7
|
+
export const MoonIcon = (props) => (_jsx(Icon, { ...props, children: _jsx("path", { d: "M20.5 14.3A9 9 0 0 1 9.7 3.5a9 9 0 1 0 10.8 10.8z" }) }));
|
|
8
|
+
/** Follow the operating system. */
|
|
9
|
+
export const MonitorIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("rect", { x: "3", y: "4", width: "18", height: "12.5", rx: "2" }), _jsx("path", { d: "M8 21h8" }), _jsx("path", { d: "M12 16.5V21" })] }));
|
|
10
|
+
//# sourceMappingURL=theme-marks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-marks.js","sourceRoot":"","sources":["../../../src/components/icons/theme-marks.tsx"],"names":[],"mappings":";AAAA,iFAAiF;AACjF,OAAO,EAAE,IAAI,EAAsB,MAAM,cAAc,CAAC;AAExD,mBAAmB;AACnB,MAAM,CAAC,MAAM,OAAO,GAAkB,CAAC,KAAK,EAAE,EAAE,CAAC,CAC/C,MAAC,IAAI,OAAK,KAAK,aACb,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,KAAK,GAAG,EAClC,eAAM,CAAC,EAAC,aAAa,GAAG,EACxB,eAAM,CAAC,EAAC,YAAY,GAAG,EACvB,eAAM,CAAC,EAAC,WAAW,GAAG,EACtB,eAAM,CAAC,EAAC,YAAY,GAAG,EACvB,eAAM,CAAC,EAAC,cAAc,GAAG,EACzB,eAAM,CAAC,EAAC,kBAAkB,GAAG,EAC7B,eAAM,CAAC,EAAC,gBAAgB,GAAG,EAC3B,eAAM,CAAC,EAAC,gBAAgB,GAAG,IACtB,CACR,CAAC;AAEF,kBAAkB;AAClB,MAAM,CAAC,MAAM,QAAQ,GAAkB,CAAC,KAAK,EAAE,EAAE,CAAC,CAChD,KAAC,IAAI,OAAK,KAAK,YACb,eAAM,CAAC,EAAC,mDAAmD,GAAG,GACzD,CACR,CAAC;AAEF,mCAAmC;AACnC,MAAM,CAAC,MAAM,WAAW,GAAkB,CAAC,KAAK,EAAE,EAAE,CAAC,CACnD,MAAC,IAAI,OAAK,KAAK,aACb,eAAM,CAAC,EAAC,GAAG,EAAC,CAAC,EAAC,GAAG,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,MAAM,EAAC,EAAE,EAAC,GAAG,GAAG,EACpD,eAAM,CAAC,EAAC,SAAS,GAAG,EACpB,eAAM,CAAC,EAAC,aAAa,GAAG,IACnB,CACR,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inputs.js","sourceRoot":"","sources":["../../src/components/inputs.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CAAC,EAAE,GAAG,KAAK,EAAiB;IACvE,MAAM,KAAK,GAAG,eAAe,EAAE,CAAC;IAChC,OAAO,CACL,sBACM,KAAK,KACL,WAAW,CAAC,KAAK,EAAE,KAAK,CAAC,EAC7B,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,gBAAgB,CAAC,cAAc,EAAE,SAAS,CAAC,GACtD,CACH,CAAC;AACJ,CAAC;AAKD,MAAM,UAAU,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAoB;IACnE,MAAM,KAAK,GAAG,eAAe,EAAE,CAAC;IAChC,OAAO,CACL,mBACM,KAAK,KACL,WAAW,CAAC,KAAK,EAAE,KAAK,CAAC,EAC7B,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,gBAAgB,CAAC,WAAW,EAAE,SAAS,CAAC,GACnD,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json-diff.d.ts","sourceRoot":"","sources":["../../src/components/json-diff.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"json-diff.d.ts","sourceRoot":"","sources":["../../src/components/json-diff.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,uDAAuD;AACvD,MAAM,WAAW,WAAW;IAC1B,oFAAoF;IACpF,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;IAC/C,yEAAyE;IACzE,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAC1B,wEAAwE;IACxE,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;CAC1B;AAmDD,qFAAqF;AACrF,wBAAgB,QAAQ,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,GAAG,WAAW,EAAE,CAIvE;AAyCD,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,QAAQ,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,aAAa,GAAG,SAAS,CAiDpE"}
|
|
@@ -21,12 +21,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
21
21
|
* color alone.
|
|
22
22
|
*/
|
|
23
23
|
import {} from 'react';
|
|
24
|
+
import { isRecord } from '../guards';
|
|
24
25
|
import { Badge } from './badge';
|
|
25
26
|
import { JsonTree } from './json-tree';
|
|
26
27
|
import { Table, TBody, TD, TH, THead, TR } from './table';
|
|
27
|
-
function isRecord(value) {
|
|
28
|
-
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
29
|
-
}
|
|
30
28
|
/** Structural deep-equality over JSON values (arrays compared position-wise). */
|
|
31
29
|
function deepEqual(a, b) {
|
|
32
30
|
if (a === b)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json-diff.js","sourceRoot":"","sources":["../../src/components/json-diff.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;AAa1D,
|
|
1
|
+
{"version":3,"file":"json-diff.js","sourceRoot":"","sources":["../../src/components/json-diff.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;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AAI,CACzE,GACE,EACL,KAAC,EAAE,cACA,GAAG,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,CACxB,SAAS,CACV,CAAC,CAAC,CAAC,CACF,KAAC,SAAS,IAAC,KAAK,EAAE,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,GAAI,CACvE,GACE,KAvBA,GAAG,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,IAAI,MAAM,CAAC,KAAK,CAAC,EAAE,CAwB5C,CACN,CAAC,GACI,IACF,CACT,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface JsonTreeContextValue {
|
|
2
|
+
/** Whether the node at `path`/`depth` is open right now. */
|
|
3
|
+
readonly isOpen: (path: string, depth: number) => boolean;
|
|
4
|
+
/** Records the reader's explicit toggle of one node. */
|
|
5
|
+
readonly setOpen: (path: string, open: boolean) => void;
|
|
6
|
+
/** Copies a value's JSON, returning whether the write succeeded. */
|
|
7
|
+
readonly copy: (value: unknown) => Promise<boolean>;
|
|
8
|
+
readonly pageSize: number;
|
|
9
|
+
}
|
|
10
|
+
export declare const JsonTreeContext: import("react").Context<JsonTreeContextValue | null>;
|
|
11
|
+
/** The shared tree state; a subcomponent outside a `JsonTree` is a wiring error. */
|
|
12
|
+
export declare function useJsonTreeContext(): JsonTreeContextValue;
|
|
13
|
+
//# sourceMappingURL=json-tree-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"json-tree-context.d.ts","sourceRoot":"","sources":["../../src/components/json-tree-context.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,oBAAoB;IACnC,4DAA4D;IAC5D,QAAQ,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;IAC1D,wDAAwD;IACxD,QAAQ,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACxD,oEAAoE;IACpE,QAAQ,CAAC,IAAI,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IACpD,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AAED,eAAO,MAAM,eAAe,sDAAmD,CAAC;AAEhF,oFAAoF;AACpF,wBAAgB,kBAAkB,IAAI,oBAAoB,CAMzD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The shared tree state a `JsonTree` publishes to its nodes: per-node open state,
|
|
3
|
+
* the reader's toggle, the single copy path, and the page size.
|
|
4
|
+
*/
|
|
5
|
+
import { createContext, useContext } from 'react';
|
|
6
|
+
export const JsonTreeContext = createContext(null);
|
|
7
|
+
/** The shared tree state; a subcomponent outside a `JsonTree` is a wiring error. */
|
|
8
|
+
export function useJsonTreeContext() {
|
|
9
|
+
const context = useContext(JsonTreeContext);
|
|
10
|
+
if (context === null) {
|
|
11
|
+
throw new Error('JsonTree subcomponents must be rendered inside a JsonTree.');
|
|
12
|
+
}
|
|
13
|
+
return context;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=json-tree-context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"json-tree-context.js","sourceRoot":"","sources":["../../src/components/json-tree-context.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAYlD,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAA8B,IAAI,CAAC,CAAC;AAEhF,oFAAoF;AACpF,MAAM,UAAU,kBAAkB;IAChC,MAAM,OAAO,GAAG,UAAU,CAAC,eAAe,CAAC,CAAC;IAC5C,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;QACrB,MAAM,IAAI,KAAK,CAAC,4DAA4D,CAAC,CAAC;IAChF,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/** The deepest level opened by the guarded default; deeper nodes start collapsed. */
|
|
2
|
+
export declare const AUTO_EXPAND_DEPTH = 1;
|
|
3
|
+
/**
|
|
4
|
+
* The deepest level EXPAND-ALL reaches. Past it a node opens only on an explicit
|
|
5
|
+
* click, so the one action that opens the whole tree still cannot force an
|
|
6
|
+
* unbounded-depth payload into the DOM in a single stroke.
|
|
7
|
+
*/
|
|
8
|
+
export declare const MAX_AUTO_DEPTH = 6;
|
|
9
|
+
/** Children rendered per page; the rest wait behind a "show more" control. */
|
|
10
|
+
export declare const PAGE_SIZE = 100;
|
|
11
|
+
/**
|
|
12
|
+
* The most rendered nodes EXPAND-ALL may auto-open in one stroke. The depth cap and
|
|
13
|
+
* the per-page limit each bound ONE dimension, but a payload that is wide AND deep
|
|
14
|
+
* multiplies them — auto-opening every node up to the cap would lay out on the order
|
|
15
|
+
* of PAGE_SIZE^depth nodes and freeze the tab. Expand-all instead opens containers
|
|
16
|
+
* breadth-first only until this budget is spent; a node past it stays collapsed and
|
|
17
|
+
* opens on an explicit click, so a huge payload opens a bounded, usable subset.
|
|
18
|
+
*/
|
|
19
|
+
export declare const AUTO_EXPAND_NODE_BUDGET = 1500;
|
|
20
|
+
/** Whether a value is a disclosure (object or array) rather than a leaf. */
|
|
21
|
+
export declare function isContainer(value: unknown): boolean;
|
|
22
|
+
/** A container's child count, without materializing its entries. */
|
|
23
|
+
export declare function containerCount(value: unknown): number;
|
|
24
|
+
/**
|
|
25
|
+
* The first `end` entries of a container, arrays keyed by index and objects by
|
|
26
|
+
* key. Only the visible window is materialized, so a million-element array's
|
|
27
|
+
* children never all exist at once.
|
|
28
|
+
*/
|
|
29
|
+
export declare function sliceEntries(value: unknown, end: number): [string, unknown][];
|
|
30
|
+
/** One container's summary text: its kind and its child count. */
|
|
31
|
+
export declare function containerSummary(value: unknown, count: number): string;
|
|
32
|
+
/**
|
|
33
|
+
* A child's identity for the open-state map. Each segment is percent-encoded, so a
|
|
34
|
+
* key that itself contains the separator cannot collide with a different path.
|
|
35
|
+
*/
|
|
36
|
+
export declare function childPath(parent: string, name: string): string;
|
|
37
|
+
/** The default open state a call site's `defaultExpanded` selects. */
|
|
38
|
+
export type Baseline = 'depth' | 'expanded' | 'collapsed';
|
|
39
|
+
export declare function initialBaseline(defaultExpanded: boolean | undefined): Baseline;
|
|
40
|
+
/**
|
|
41
|
+
* The set of paths EXPAND-ALL auto-opens: a breadth-first sweep that opens each
|
|
42
|
+
* container in turn — spending its visible child count against a shared node budget
|
|
43
|
+
* and enqueuing that page's own container children — skipping any node whose page
|
|
44
|
+
* would overspend {@link AUTO_EXPAND_NODE_BUDGET} or that sits past {@link MAX_AUTO_DEPTH}.
|
|
45
|
+
* Only a bounded window of a huge payload is materialized, so this stays cheap even
|
|
46
|
+
* when the data is enormous; the paths it omits stay collapsed and open on a click.
|
|
47
|
+
*/
|
|
48
|
+
export declare function expandedOpenPaths(root: unknown): ReadonlySet<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Whether a node is open, from the baseline and the reader's own toggles. An
|
|
51
|
+
* explicit toggle always wins; otherwise the baseline decides — the depth-guarded
|
|
52
|
+
* default opens through {@link AUTO_EXPAND_DEPTH}, expand-all opens the budgeted
|
|
53
|
+
* breadth-first set, collapse-all opens nothing.
|
|
54
|
+
*/
|
|
55
|
+
export declare function computeOpen(baseline: Baseline, overrides: ReadonlyMap<string, boolean>, expandedPaths: ReadonlySet<string> | null, path: string, depth: number): boolean;
|
|
56
|
+
//# sourceMappingURL=json-tree-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"json-tree-model.d.ts","sourceRoot":"","sources":["../../src/components/json-tree-model.ts"],"names":[],"mappings":"AAOA,qFAAqF;AACrF,eAAO,MAAM,iBAAiB,IAAI,CAAC;AAEnC;;;;GAIG;AACH,eAAO,MAAM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, and the open-state computation for the depth
|
|
4
|
+
* default, expand-all and collapse-all baselines. Pure — no React, no DOM.
|
|
5
|
+
*/
|
|
6
|
+
import { isRecord } from '../guards';
|
|
7
|
+
/** The deepest level opened by the guarded default; deeper nodes start collapsed. */
|
|
8
|
+
export const AUTO_EXPAND_DEPTH = 1;
|
|
9
|
+
/**
|
|
10
|
+
* The deepest level EXPAND-ALL reaches. Past it a node opens only on an explicit
|
|
11
|
+
* click, so the one action that opens the whole tree still cannot force an
|
|
12
|
+
* unbounded-depth payload into the DOM in a single stroke.
|
|
13
|
+
*/
|
|
14
|
+
export const MAX_AUTO_DEPTH = 6;
|
|
15
|
+
/** Children rendered per page; the rest wait behind a "show more" control. */
|
|
16
|
+
export const PAGE_SIZE = 100;
|
|
17
|
+
/**
|
|
18
|
+
* The most rendered nodes EXPAND-ALL may auto-open in one stroke. The depth cap and
|
|
19
|
+
* the per-page limit each bound ONE dimension, but a payload that is wide AND deep
|
|
20
|
+
* multiplies them — auto-opening every node up to the cap would lay out on the order
|
|
21
|
+
* of PAGE_SIZE^depth nodes and freeze the tab. Expand-all instead opens containers
|
|
22
|
+
* breadth-first only until this budget is spent; a node past it stays collapsed and
|
|
23
|
+
* opens on an explicit click, so a huge payload opens a bounded, usable subset.
|
|
24
|
+
*/
|
|
25
|
+
export const AUTO_EXPAND_NODE_BUDGET = 1500;
|
|
26
|
+
/** Whether a value is a disclosure (object or array) rather than a leaf. */
|
|
27
|
+
export function isContainer(value) {
|
|
28
|
+
return Array.isArray(value) || isRecord(value);
|
|
29
|
+
}
|
|
30
|
+
/** A container's child count, without materializing its entries. */
|
|
31
|
+
export function containerCount(value) {
|
|
32
|
+
if (Array.isArray(value))
|
|
33
|
+
return value.length;
|
|
34
|
+
if (isRecord(value))
|
|
35
|
+
return Object.keys(value).length;
|
|
36
|
+
throw new Error('containerCount expects an array or a record.');
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* The first `end` entries of a container, arrays keyed by index and objects by
|
|
40
|
+
* key. Only the visible window is materialized, so a million-element array's
|
|
41
|
+
* children never all exist at once.
|
|
42
|
+
*/
|
|
43
|
+
export function sliceEntries(value, end) {
|
|
44
|
+
if (Array.isArray(value)) {
|
|
45
|
+
return value.slice(0, end).map((item, index) => [String(index), item]);
|
|
46
|
+
}
|
|
47
|
+
// Slice the keys before reading values, so only the visible window is materialized.
|
|
48
|
+
if (isRecord(value))
|
|
49
|
+
return Object.keys(value)
|
|
50
|
+
.slice(0, end)
|
|
51
|
+
.map((key) => [key, value[key]]);
|
|
52
|
+
throw new Error('sliceEntries expects an array or a record.');
|
|
53
|
+
}
|
|
54
|
+
/** One container's summary text: its kind and its child count. */
|
|
55
|
+
export function containerSummary(value, count) {
|
|
56
|
+
return Array.isArray(value) ? `Array(${String(count)})` : `Object(${String(count)})`;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* A child's identity for the open-state map. Each segment is percent-encoded, so a
|
|
60
|
+
* key that itself contains the separator cannot collide with a different path.
|
|
61
|
+
*/
|
|
62
|
+
export function childPath(parent, name) {
|
|
63
|
+
const segment = encodeURIComponent(name);
|
|
64
|
+
return parent === '' ? segment : `${parent}/${segment}`;
|
|
65
|
+
}
|
|
66
|
+
export function initialBaseline(defaultExpanded) {
|
|
67
|
+
if (defaultExpanded === true)
|
|
68
|
+
return 'expanded';
|
|
69
|
+
if (defaultExpanded === false)
|
|
70
|
+
return 'collapsed';
|
|
71
|
+
return 'depth';
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* The set of paths EXPAND-ALL auto-opens: a breadth-first sweep that opens each
|
|
75
|
+
* container in turn — spending its visible child count against a shared node budget
|
|
76
|
+
* and enqueuing that page's own container children — skipping any node whose page
|
|
77
|
+
* would overspend {@link AUTO_EXPAND_NODE_BUDGET} or that sits past {@link MAX_AUTO_DEPTH}.
|
|
78
|
+
* Only a bounded window of a huge payload is materialized, so this stays cheap even
|
|
79
|
+
* when the data is enormous; the paths it omits stay collapsed and open on a click.
|
|
80
|
+
*/
|
|
81
|
+
export function expandedOpenPaths(root) {
|
|
82
|
+
const open = new Set();
|
|
83
|
+
if (!isContainer(root))
|
|
84
|
+
return open;
|
|
85
|
+
let budget = AUTO_EXPAND_NODE_BUDGET;
|
|
86
|
+
const queue = [
|
|
87
|
+
{ value: root, path: '', depth: 0 },
|
|
88
|
+
];
|
|
89
|
+
while (queue.length > 0) {
|
|
90
|
+
const node = queue.shift();
|
|
91
|
+
if (node === undefined)
|
|
92
|
+
break;
|
|
93
|
+
if (node.depth >= MAX_AUTO_DEPTH)
|
|
94
|
+
continue;
|
|
95
|
+
const shown = Math.min(PAGE_SIZE, containerCount(node.value));
|
|
96
|
+
// Skip when the budget can't seat a whole page (a later, smaller node may still fit).
|
|
97
|
+
if (shown > budget)
|
|
98
|
+
continue;
|
|
99
|
+
budget -= shown;
|
|
100
|
+
open.add(node.path);
|
|
101
|
+
for (const [name, childValue] of sliceEntries(node.value, shown)) {
|
|
102
|
+
if (isContainer(childValue)) {
|
|
103
|
+
queue.push({ value: childValue, path: childPath(node.path, name), depth: node.depth + 1 });
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
return open;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Whether a node is open, from the baseline and the reader's own toggles. An
|
|
111
|
+
* explicit toggle always wins; otherwise the baseline decides — the depth-guarded
|
|
112
|
+
* default opens through {@link AUTO_EXPAND_DEPTH}, expand-all opens the budgeted
|
|
113
|
+
* breadth-first set, collapse-all opens nothing.
|
|
114
|
+
*/
|
|
115
|
+
export function computeOpen(baseline, overrides, expandedPaths, path, depth) {
|
|
116
|
+
const override = overrides.get(path);
|
|
117
|
+
if (override !== undefined)
|
|
118
|
+
return override;
|
|
119
|
+
if (baseline === 'expanded')
|
|
120
|
+
return expandedPaths?.has(path) ?? false;
|
|
121
|
+
if (baseline === 'collapsed')
|
|
122
|
+
return false;
|
|
123
|
+
return depth <= AUTO_EXPAND_DEPTH;
|
|
124
|
+
}
|
|
125
|
+
//# sourceMappingURL=json-tree-model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"json-tree-model.js","sourceRoot":"","sources":["../../src/components/json-tree-model.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,qFAAqF;AACrF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC;AAEnC;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC;AAEhC,8EAA8E;AAC9E,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAC;AAE7B;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAE5C,4EAA4E;AAC5E,MAAM,UAAU,WAAW,CAAC,KAAc;IACxC,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,QAAQ,CAAC,KAAK,CAAC,CAAC;AACjD,CAAC;AAED,oEAAoE;AACpE,MAAM,UAAU,cAAc,CAAC,KAAc;IAC3C,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC,MAAM,CAAC;IAC9C,IAAI,QAAQ,CAAC,KAAK,CAAC;QAAE,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC;IACtD,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;AAClE,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,YAAY,CAAC,KAAc,EAAE,GAAW;IACtD,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACzB,OAAO,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC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AAK,UAAU;QAAE,OAAO,aAAa,EAAE,GAAG,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC;IACtE,IAAI,QAAQ,KAAK,WAAW;QAAE,OAAO,KAAK,CAAC;IAC3C,OAAO,KAAK,IAAI,iBAAiB,CAAC;AACpC,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The rendered nodes of a `JsonTree`: the copy control, one disclosure/leaf node,
|
|
3
|
+
* and a node's paged children. State is read from the tree context; layout uses
|
|
4
|
+
* the code-block rhythm.
|
|
5
|
+
*/
|
|
6
|
+
import type { ReactElement } from 'react';
|
|
7
|
+
/** A copy control's resting face; whichever is exposed is also its accessible name. */
|
|
8
|
+
export declare const COPY_LABEL = "Copy";
|
|
9
|
+
interface CopyButtonProps {
|
|
10
|
+
readonly value: unknown;
|
|
11
|
+
/**
|
|
12
|
+
* The button's resting accessible name. When it flips to its confirmed state the
|
|
13
|
+
* name flips with it, so a control reading "Copied" is never still named "Copy"
|
|
14
|
+
* (WCAG 2.5.3). A `text` button spells the name in its own words; an `icon` button
|
|
15
|
+
* takes it from here.
|
|
16
|
+
*/
|
|
17
|
+
readonly label: string;
|
|
18
|
+
readonly variant: 'text' | 'icon';
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* A copy control that writes its value to the clipboard and shows a transient
|
|
22
|
+
* confirmed state. The write itself lives on the tree context, so a refusal is
|
|
23
|
+
* reported ONCE — as the tree's shared alert — rather than inline at each of the
|
|
24
|
+
* many buttons a large payload carries.
|
|
25
|
+
*/
|
|
26
|
+
export declare function CopyButton({ value, label, variant }: CopyButtonProps): ReactElement;
|
|
27
|
+
interface NodeProps {
|
|
28
|
+
readonly name?: string;
|
|
29
|
+
readonly value: unknown;
|
|
30
|
+
readonly depth: number;
|
|
31
|
+
readonly path: string;
|
|
32
|
+
}
|
|
33
|
+
export declare function JsonNode({ name, value, depth, path }: NodeProps): ReactElement;
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=json-tree-nodes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"json-tree-nodes.d.ts","sourceRoot":"","sources":["../../src/components/json-tree-nodes.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAgD,YAAY,EAAE,MAAM,OAAO,CAAC;AAexF,uFAAuF;AACvF,eAAO,MAAM,UAAU,SAAS,CAAC;AAoCjC,UAAU,eAAe;IACvB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB;;;;;OAKG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;CACnC;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,eAAe,GAAG,YAAY,CAmDnF;AAED,UAAU,SAAS;IACjB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAmDD,wBAAgB,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,SAAS,GAAG,YAAY,CAuC9E"}
|