@flanksource/clicky-ui 0.3.77 → 0.3.79
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/NOTICE.md +16 -0
- package/dist/ai.cjs +2 -2
- package/dist/ai.js +2 -2
- package/dist/comments/CommentThreadList.cjs +13 -14
- package/dist/comments/CommentThreadList.cjs.map +1 -1
- package/dist/comments/CommentThreadList.d.ts.map +1 -1
- package/dist/comments/CommentThreadList.js +13 -14
- package/dist/comments/CommentThreadList.js.map +1 -1
- package/dist/components/EndpointSelector.cjs +7 -1
- package/dist/components/EndpointSelector.cjs.map +1 -1
- package/dist/components/EndpointSelector.d.ts.map +1 -1
- package/dist/components/EndpointSelector.js +7 -1
- package/dist/components/EndpointSelector.js.map +1 -1
- package/dist/components/FilterBar.cjs +36 -12
- package/dist/components/FilterBar.cjs.map +1 -1
- package/dist/components/FilterBar.d.ts +14 -2
- package/dist/components/FilterBar.d.ts.map +1 -1
- package/dist/components/FilterBar.js +36 -12
- package/dist/components/FilterBar.js.map +1 -1
- package/dist/components/FormLookupProvider.cjs +12 -4
- package/dist/components/FormLookupProvider.cjs.map +1 -1
- package/dist/components/FormLookupProvider.d.ts.map +1 -1
- package/dist/components/FormLookupProvider.js +13 -5
- package/dist/components/FormLookupProvider.js.map +1 -1
- package/dist/components/JSONPathPlayground.cjs +124 -233
- package/dist/components/JSONPathPlayground.cjs.map +1 -1
- package/dist/components/JSONPathPlayground.d.ts +15 -13
- package/dist/components/JSONPathPlayground.d.ts.map +1 -1
- package/dist/components/JSONPathPlayground.js +125 -234
- package/dist/components/JSONPathPlayground.js.map +1 -1
- package/dist/components/JsonSchemaForm.cjs +6 -0
- package/dist/components/JsonSchemaForm.cjs.map +1 -1
- package/dist/components/JsonSchemaForm.js +6 -0
- package/dist/components/JsonSchemaForm.js.map +1 -1
- package/dist/components/SegmentedControl.cjs +1 -1
- package/dist/components/SegmentedControl.cjs.map +1 -1
- package/dist/components/SegmentedControl.d.ts.map +1 -1
- package/dist/components/SegmentedControl.js +1 -1
- package/dist/components/SegmentedControl.js.map +1 -1
- package/dist/components/TimeRange.cjs +133 -60
- package/dist/components/TimeRange.cjs.map +1 -1
- package/dist/components/TimeRange.d.ts +8 -1
- package/dist/components/TimeRange.d.ts.map +1 -1
- package/dist/components/TimeRange.js +133 -60
- package/dist/components/TimeRange.js.map +1 -1
- package/dist/components/json-schema-form-accordion-array.cjs +8 -6
- package/dist/components/json-schema-form-accordion-array.cjs.map +1 -1
- package/dist/components/json-schema-form-accordion-array.d.ts.map +1 -1
- package/dist/components/json-schema-form-accordion-array.js +9 -7
- package/dist/components/json-schema-form-accordion-array.js.map +1 -1
- package/dist/components/json-schema-form-array-rows.cjs +45 -0
- package/dist/components/json-schema-form-array-rows.cjs.map +1 -0
- package/dist/components/json-schema-form-array-rows.d.ts +10 -0
- package/dist/components/json-schema-form-array-rows.d.ts.map +1 -0
- package/dist/components/json-schema-form-array-rows.js +45 -0
- package/dist/components/json-schema-form-array-rows.js.map +1 -0
- package/dist/components/json-schema-form-item-summary.cjs +3 -5
- package/dist/components/json-schema-form-item-summary.cjs.map +1 -1
- package/dist/components/json-schema-form-item-summary.d.ts +1 -1
- package/dist/components/json-schema-form-item-summary.d.ts.map +1 -1
- package/dist/components/json-schema-form-item-summary.js +3 -5
- package/dist/components/json-schema-form-item-summary.js.map +1 -1
- package/dist/components/json-schema-form-render.cjs +11 -2
- package/dist/components/json-schema-form-render.cjs.map +1 -1
- package/dist/components/json-schema-form-render.d.ts.map +1 -1
- package/dist/components/json-schema-form-render.js +12 -3
- package/dist/components/json-schema-form-render.js.map +1 -1
- package/dist/components/json-schema-form-resolve.cjs +10 -0
- package/dist/components/json-schema-form-resolve.cjs.map +1 -1
- package/dist/components/json-schema-form-resolve.d.ts +1 -0
- package/dist/components/json-schema-form-resolve.d.ts.map +1 -1
- package/dist/components/json-schema-form-resolve.js +10 -1
- package/dist/components/json-schema-form-resolve.js.map +1 -1
- package/dist/components/json-schema-form-runtime-types.d.ts +4 -0
- package/dist/components/json-schema-form-runtime-types.d.ts.map +1 -1
- package/dist/components/json-schema-form-table-array.cjs +25 -16
- package/dist/components/json-schema-form-table-array.cjs.map +1 -1
- package/dist/components/json-schema-form-table-array.d.ts +1 -1
- package/dist/components/json-schema-form-table-array.d.ts.map +1 -1
- package/dist/components/json-schema-form-table-array.js +26 -17
- package/dist/components/json-schema-form-table-array.js.map +1 -1
- package/dist/components/json-schema-form-types.d.ts +0 -2
- package/dist/components/json-schema-form-types.d.ts.map +1 -1
- package/dist/components/jsonPathPlaygroundEvaluator.cjs +53 -0
- package/dist/components/jsonPathPlaygroundEvaluator.cjs.map +1 -0
- package/dist/components/jsonPathPlaygroundEvaluator.d.ts +23 -0
- package/dist/components/jsonPathPlaygroundEvaluator.d.ts.map +1 -0
- package/dist/components/jsonPathPlaygroundEvaluator.js +53 -0
- package/dist/components/jsonPathPlaygroundEvaluator.js.map +1 -0
- package/dist/components/jsonPathTree.cjs +1 -0
- package/dist/components/jsonPathTree.cjs.map +1 -1
- package/dist/components/jsonPathTree.d.ts +6 -0
- package/dist/components/jsonPathTree.d.ts.map +1 -1
- package/dist/components/jsonPathTree.js +1 -0
- package/dist/components/jsonPathTree.js.map +1 -1
- package/dist/data/Clicky.cjs +37 -18
- package/dist/data/Clicky.cjs.map +1 -1
- package/dist/data/Clicky.d.ts +5 -0
- package/dist/data/Clicky.d.ts.map +1 -1
- package/dist/data/Clicky.js +37 -18
- package/dist/data/Clicky.js.map +1 -1
- package/dist/data/DataTable.cjs +49 -12
- package/dist/data/DataTable.cjs.map +1 -1
- package/dist/data/DataTable.d.ts +17 -2
- package/dist/data/DataTable.d.ts.map +1 -1
- package/dist/data/DataTable.js +49 -12
- package/dist/data/DataTable.js.map +1 -1
- package/dist/data/TaskPoolUsage.cjs +2 -1
- package/dist/data/TaskPoolUsage.cjs.map +1 -1
- package/dist/data/TaskPoolUsage.d.ts.map +1 -1
- package/dist/data/TaskPoolUsage.js +2 -1
- package/dist/data/TaskPoolUsage.js.map +1 -1
- package/dist/data/TimeseriesPanel.axes.cjs +18 -3
- package/dist/data/TimeseriesPanel.axes.cjs.map +1 -1
- package/dist/data/TimeseriesPanel.axes.d.ts +10 -1
- package/dist/data/TimeseriesPanel.axes.d.ts.map +1 -1
- package/dist/data/TimeseriesPanel.axes.js +17 -4
- package/dist/data/TimeseriesPanel.axes.js.map +1 -1
- package/dist/data/TimeseriesPanel.cjs +57 -23
- package/dist/data/TimeseriesPanel.cjs.map +1 -1
- package/dist/data/TimeseriesPanel.d.ts.map +1 -1
- package/dist/data/TimeseriesPanel.js +59 -25
- package/dist/data/TimeseriesPanel.js.map +1 -1
- package/dist/data/TimeseriesPanel.model.cjs +10 -7
- package/dist/data/TimeseriesPanel.model.cjs.map +1 -1
- package/dist/data/TimeseriesPanel.model.d.ts +7 -4
- package/dist/data/TimeseriesPanel.model.d.ts.map +1 -1
- package/dist/data/TimeseriesPanel.model.js +11 -8
- package/dist/data/TimeseriesPanel.model.js.map +1 -1
- package/dist/data/TimeseriesPanel.readout.cjs +11 -0
- package/dist/data/TimeseriesPanel.readout.cjs.map +1 -0
- package/dist/data/TimeseriesPanel.readout.d.ts +4 -0
- package/dist/data/TimeseriesPanel.readout.d.ts.map +1 -0
- package/dist/data/TimeseriesPanel.readout.js +10 -0
- package/dist/data/TimeseriesPanel.readout.js.map +1 -0
- package/dist/data/TimeseriesPanel.segments.cjs +67 -0
- package/dist/data/TimeseriesPanel.segments.cjs.map +1 -0
- package/dist/data/TimeseriesPanel.segments.d.ts +27 -0
- package/dist/data/TimeseriesPanel.segments.d.ts.map +1 -0
- package/dist/data/TimeseriesPanel.segments.js +67 -0
- package/dist/data/TimeseriesPanel.segments.js.map +1 -0
- package/dist/data/TreeDataTable.cjs +12 -3
- package/dist/data/TreeDataTable.cjs.map +1 -1
- package/dist/data/TreeDataTable.d.ts +15 -3
- package/dist/data/TreeDataTable.d.ts.map +1 -1
- package/dist/data/TreeDataTable.js +12 -3
- package/dist/data/TreeDataTable.js.map +1 -1
- package/dist/data/TreeNode.cjs +18 -3
- package/dist/data/TreeNode.cjs.map +1 -1
- package/dist/data/TreeNode.d.ts +7 -1
- package/dist/data/TreeNode.d.ts.map +1 -1
- package/dist/data/TreeNode.js +18 -3
- package/dist/data/TreeNode.js.map +1 -1
- package/dist/data/ai/SessionChatComposer.cjs +2 -0
- package/dist/data/ai/SessionChatComposer.cjs.map +1 -1
- package/dist/data/ai/SessionChatComposer.d.ts.map +1 -1
- package/dist/data/ai/SessionChatComposer.js +2 -0
- package/dist/data/ai/SessionChatComposer.js.map +1 -1
- package/dist/data/ai/SessionInspector.panels.cjs +47 -1
- package/dist/data/ai/SessionInspector.panels.cjs.map +1 -1
- package/dist/data/ai/SessionInspector.panels.d.ts.map +1 -1
- package/dist/data/ai/SessionInspector.panels.js +48 -2
- package/dist/data/ai/SessionInspector.panels.js.map +1 -1
- package/dist/data/ai/SessionViewer.unified.d.ts +48 -0
- package/dist/data/ai/SessionViewer.unified.d.ts.map +1 -1
- package/dist/data/ai/index.d.ts +2 -2
- package/dist/data/ai/index.d.ts.map +1 -1
- package/dist/data/ai/runtime-profiles/PresetWorkspace.cjs +97 -100
- package/dist/data/ai/runtime-profiles/PresetWorkspace.cjs.map +1 -1
- package/dist/data/ai/runtime-profiles/PresetWorkspace.d.ts.map +1 -1
- package/dist/data/ai/runtime-profiles/PresetWorkspace.js +97 -100
- package/dist/data/ai/runtime-profiles/PresetWorkspace.js.map +1 -1
- package/dist/data/ai/runtime-profiles/ProfileWorkspace.cjs +40 -38
- package/dist/data/ai/runtime-profiles/ProfileWorkspace.cjs.map +1 -1
- package/dist/data/ai/runtime-profiles/ProfileWorkspace.d.ts.map +1 -1
- package/dist/data/ai/runtime-profiles/ProfileWorkspace.js +41 -39
- package/dist/data/ai/runtime-profiles/ProfileWorkspace.js.map +1 -1
- package/dist/data/ai/runtime-profiles/ResolutionPreview.cjs +53 -0
- package/dist/data/ai/runtime-profiles/ResolutionPreview.cjs.map +1 -0
- package/dist/data/ai/runtime-profiles/ResolutionPreview.d.ts +7 -0
- package/dist/data/ai/runtime-profiles/ResolutionPreview.d.ts.map +1 -0
- package/dist/data/ai/runtime-profiles/ResolutionPreview.js +53 -0
- package/dist/data/ai/runtime-profiles/ResolutionPreview.js.map +1 -0
- package/dist/data/ai/runtime-profiles/index.d.ts +1 -1
- package/dist/data/ai/runtime-profiles/index.d.ts.map +1 -1
- package/dist/data/ai/sessionSubmitVariant.cjs +30 -0
- package/dist/data/ai/sessionSubmitVariant.cjs.map +1 -0
- package/dist/data/ai/sessionSubmitVariant.d.ts +7 -0
- package/dist/data/ai/sessionSubmitVariant.d.ts.map +1 -0
- package/dist/data/ai/sessionSubmitVariant.js +30 -0
- package/dist/data/ai/sessionSubmitVariant.js.map +1 -0
- package/dist/data/cells/Timestamp.cjs +15 -4
- package/dist/data/cells/Timestamp.cjs.map +1 -1
- package/dist/data/cells/Timestamp.d.ts.map +1 -1
- package/dist/data/cells/Timestamp.js +15 -4
- package/dist/data/cells/Timestamp.js.map +1 -1
- package/dist/data/cells/timestamp-format.cjs +28 -8
- package/dist/data/cells/timestamp-format.cjs.map +1 -1
- package/dist/data/cells/timestamp-format.d.ts +3 -1
- package/dist/data/cells/timestamp-format.d.ts.map +1 -1
- package/dist/data/cells/timestamp-format.js +28 -8
- package/dist/data/cells/timestamp-format.js.map +1 -1
- package/dist/data/charts/TrendChart.cjs +65 -31
- package/dist/data/charts/TrendChart.cjs.map +1 -1
- package/dist/data/charts/TrendChart.d.ts +12 -3
- package/dist/data/charts/TrendChart.d.ts.map +1 -1
- package/dist/data/charts/TrendChart.js +67 -33
- package/dist/data/charts/TrendChart.js.map +1 -1
- package/dist/data/charts/index.d.ts +1 -1
- package/dist/data/charts/index.d.ts.map +1 -1
- package/dist/data/chat/PromptInput.cjs +11 -2
- package/dist/data/chat/PromptInput.cjs.map +1 -1
- package/dist/data/chat/PromptInput.d.ts +15 -1
- package/dist/data/chat/PromptInput.d.ts.map +1 -1
- package/dist/data/chat/PromptInput.js +11 -2
- package/dist/data/chat/PromptInput.js.map +1 -1
- package/dist/data/chat/index.d.ts +1 -1
- package/dist/data/chat/index.d.ts.map +1 -1
- package/dist/data/data-table-filter-values.cjs.map +1 -1
- package/dist/data/data-table-filter-values.d.ts +1 -1
- package/dist/data/data-table-filter-values.d.ts.map +1 -1
- package/dist/data/data-table-filter-values.js.map +1 -1
- package/dist/data/data-table-server-filters.cjs +2 -6
- package/dist/data/data-table-server-filters.cjs.map +1 -1
- package/dist/data/data-table-server-filters.d.ts +1 -1
- package/dist/data/data-table-server-filters.d.ts.map +1 -1
- package/dist/data/data-table-server-filters.js +1 -5
- package/dist/data/data-table-server-filters.js.map +1 -1
- package/dist/data/diagnostics/ErrorDetails.cjs +2 -1
- package/dist/data/diagnostics/ErrorDetails.cjs.map +1 -1
- package/dist/data/diagnostics/ErrorDetails.d.ts +2 -1
- package/dist/data/diagnostics/ErrorDetails.d.ts.map +1 -1
- package/dist/data/diagnostics/ErrorDetails.js +2 -1
- package/dist/data/diagnostics/ErrorDetails.js.map +1 -1
- package/dist/data/gauge-stats.cjs +7 -3
- package/dist/data/gauge-stats.cjs.map +1 -1
- package/dist/data/gauge-stats.d.ts.map +1 -1
- package/dist/data/gauge-stats.js +7 -3
- package/dist/data/gauge-stats.js.map +1 -1
- package/dist/data/query-browser/QueryBrowser.cjs +41 -17
- package/dist/data/query-browser/QueryBrowser.cjs.map +1 -1
- package/dist/data/query-browser/QueryBrowser.d.ts +1 -1
- package/dist/data/query-browser/QueryBrowser.d.ts.map +1 -1
- package/dist/data/query-browser/QueryBrowser.fieldNames.cjs +23 -0
- package/dist/data/query-browser/QueryBrowser.fieldNames.cjs.map +1 -0
- package/dist/data/query-browser/QueryBrowser.fieldNames.d.ts +11 -0
- package/dist/data/query-browser/QueryBrowser.fieldNames.d.ts.map +1 -0
- package/dist/data/query-browser/QueryBrowser.fieldNames.js +23 -0
- package/dist/data/query-browser/QueryBrowser.fieldNames.js.map +1 -0
- package/dist/data/query-browser/QueryBrowser.js +41 -17
- package/dist/data/query-browser/QueryBrowser.js.map +1 -1
- package/dist/data/query-browser/QueryBrowser.types.cjs.map +1 -1
- package/dist/data/query-browser/QueryBrowser.types.d.ts +18 -0
- package/dist/data/query-browser/QueryBrowser.types.d.ts.map +1 -1
- package/dist/data/query-browser/QueryBrowser.types.js.map +1 -1
- package/dist/data/runtime/RuntimeBarLayout.cjs +3 -2
- package/dist/data/runtime/RuntimeBarLayout.cjs.map +1 -1
- package/dist/data/runtime/RuntimeBarLayout.d.ts.map +1 -1
- package/dist/data/runtime/RuntimeBarLayout.js +3 -2
- package/dist/data/runtime/RuntimeBarLayout.js.map +1 -1
- package/dist/data/test-runner/TestRunner.cjs +3 -1
- package/dist/data/test-runner/TestRunner.cjs.map +1 -1
- package/dist/data/test-runner/TestRunner.d.ts +8 -1
- package/dist/data/test-runner/TestRunner.d.ts.map +1 -1
- package/dist/data/test-runner/TestRunner.js +3 -1
- package/dist/data/test-runner/TestRunner.js.map +1 -1
- package/dist/data/test-runner/TestTree.cjs +1 -0
- package/dist/data/test-runner/TestTree.cjs.map +1 -1
- package/dist/data/test-runner/TestTree.d.ts.map +1 -1
- package/dist/data/test-runner/TestTree.js +1 -0
- package/dist/data/test-runner/TestTree.js.map +1 -1
- package/dist/data/test-runner/context.cjs.map +1 -1
- package/dist/data/test-runner/context.d.ts +2 -0
- package/dist/data/test-runner/context.d.ts.map +1 -1
- package/dist/data/test-runner/context.js.map +1 -1
- package/dist/data/timeseries-query.cjs +2 -2
- package/dist/data/timeseries-query.cjs.map +1 -1
- package/dist/data/timeseries-query.d.ts +1 -1
- package/dist/data/timeseries-query.d.ts.map +1 -1
- package/dist/data/timeseries-query.js +2 -2
- package/dist/data/timeseries-query.js.map +1 -1
- package/dist/data/version-info.cjs +3 -3
- package/dist/data/version-info.js +3 -3
- package/dist/data.cjs +33 -0
- package/dist/data.d.ts +1 -1
- package/dist/data.d.ts.map +1 -1
- package/dist/data.js +18 -2
- package/dist/expressions/playground/EmbeddedPlayground.cjs +40 -0
- package/dist/expressions/playground/EmbeddedPlayground.cjs.map +1 -0
- package/dist/expressions/playground/EmbeddedPlayground.d.ts +30 -0
- package/dist/expressions/playground/EmbeddedPlayground.d.ts.map +1 -0
- package/dist/expressions/playground/EmbeddedPlayground.js +40 -0
- package/dist/expressions/playground/EmbeddedPlayground.js.map +1 -0
- package/dist/expressions/playground/ExpressionPlayground.cjs +6 -6
- package/dist/expressions/playground/ExpressionPlayground.cjs.map +1 -1
- package/dist/expressions/playground/ExpressionPlayground.d.ts +10 -3
- package/dist/expressions/playground/ExpressionPlayground.d.ts.map +1 -1
- package/dist/expressions/playground/ExpressionPlayground.js +6 -6
- package/dist/expressions/playground/ExpressionPlayground.js.map +1 -1
- package/dist/expressions/playground/LazyEmbeddedPlayground.cjs +22 -0
- package/dist/expressions/playground/LazyEmbeddedPlayground.cjs.map +1 -0
- package/dist/expressions/playground/LazyEmbeddedPlayground.d.ts +4 -0
- package/dist/expressions/playground/LazyEmbeddedPlayground.d.ts.map +1 -0
- package/dist/expressions/playground/LazyEmbeddedPlayground.js +22 -0
- package/dist/expressions/playground/LazyEmbeddedPlayground.js.map +1 -0
- package/dist/expressions/playground/api.cjs.map +1 -1
- package/dist/expressions/playground/api.d.ts +10 -0
- package/dist/expressions/playground/api.d.ts.map +1 -1
- package/dist/expressions/playground/api.js.map +1 -1
- package/dist/expressions/playground/hostEvaluation.cjs +67 -0
- package/dist/expressions/playground/hostEvaluation.cjs.map +1 -0
- package/dist/expressions/playground/hostEvaluation.d.ts +39 -0
- package/dist/expressions/playground/hostEvaluation.d.ts.map +1 -0
- package/dist/expressions/playground/hostEvaluation.js +63 -0
- package/dist/expressions/playground/hostEvaluation.js.map +1 -0
- package/dist/expressions/playground/panels/GraphPanel.cjs +8 -3
- package/dist/expressions/playground/panels/GraphPanel.cjs.map +1 -1
- package/dist/expressions/playground/panels/GraphPanel.d.ts +2 -1
- package/dist/expressions/playground/panels/GraphPanel.d.ts.map +1 -1
- package/dist/expressions/playground/panels/GraphPanel.js +8 -3
- package/dist/expressions/playground/panels/GraphPanel.js.map +1 -1
- package/dist/expressions/playground/panels/graphNodes.cjs +6 -2
- package/dist/expressions/playground/panels/graphNodes.cjs.map +1 -1
- package/dist/expressions/playground/panels/graphNodes.d.ts +6 -2
- package/dist/expressions/playground/panels/graphNodes.d.ts.map +1 -1
- package/dist/expressions/playground/panels/graphNodes.js +6 -2
- package/dist/expressions/playground/panels/graphNodes.js.map +1 -1
- package/dist/expressions/playground.d.ts +1 -1
- package/dist/expressions/playground.d.ts.map +1 -1
- package/dist/hooks/use-element-height.cjs +26 -0
- package/dist/hooks/use-element-height.cjs.map +1 -0
- package/dist/hooks/use-element-height.d.ts +10 -0
- package/dist/hooks/use-element-height.d.ts.map +1 -0
- package/dist/hooks/use-element-height.js +26 -0
- package/dist/hooks/use-element-height.js.map +1 -0
- package/dist/icons/components/UiGlobeShare.cjs +33 -0
- package/dist/icons/components/UiGlobeShare.cjs.map +1 -0
- package/dist/icons/components/UiGlobeShare.d.ts +9 -0
- package/dist/icons/components/UiGlobeShare.d.ts.map +1 -0
- package/dist/icons/components/UiGlobeShare.js +31 -0
- package/dist/icons/components/UiGlobeShare.js.map +1 -0
- package/dist/icons/components/UiKubernetesLink.cjs +38 -0
- package/dist/icons/components/UiKubernetesLink.cjs.map +1 -0
- package/dist/icons/components/UiKubernetesLink.d.ts +9 -0
- package/dist/icons/components/UiKubernetesLink.d.ts.map +1 -0
- package/dist/icons/components/UiKubernetesLink.js +36 -0
- package/dist/icons/components/UiKubernetesLink.js.map +1 -0
- package/dist/icons/components/UiLogoAws.cjs +29 -0
- package/dist/icons/components/UiLogoAws.cjs.map +1 -0
- package/dist/icons/components/UiLogoAws.d.ts +9 -0
- package/dist/icons/components/UiLogoAws.d.ts.map +1 -0
- package/dist/icons/components/UiLogoAws.js +27 -0
- package/dist/icons/components/UiLogoAws.js.map +1 -0
- package/dist/icons/components/UiLogoAzure.cjs +29 -0
- package/dist/icons/components/UiLogoAzure.cjs.map +1 -0
- package/dist/icons/components/UiLogoAzure.d.ts +9 -0
- package/dist/icons/components/UiLogoAzure.d.ts.map +1 -0
- package/dist/icons/components/UiLogoAzure.js +27 -0
- package/dist/icons/components/UiLogoAzure.js.map +1 -0
- package/dist/icons/components/UiLogoAzureDevops.cjs +29 -0
- package/dist/icons/components/UiLogoAzureDevops.cjs.map +1 -0
- package/dist/icons/components/UiLogoAzureDevops.d.ts +9 -0
- package/dist/icons/components/UiLogoAzureDevops.d.ts.map +1 -0
- package/dist/icons/components/UiLogoAzureDevops.js +27 -0
- package/dist/icons/components/UiLogoAzureDevops.js.map +1 -0
- package/dist/icons/components/UiLogoGit.cjs +29 -0
- package/dist/icons/components/UiLogoGit.cjs.map +1 -0
- package/dist/icons/components/UiLogoGit.d.ts +9 -0
- package/dist/icons/components/UiLogoGit.d.ts.map +1 -0
- package/dist/icons/components/UiLogoGit.js +27 -0
- package/dist/icons/components/UiLogoGit.js.map +1 -0
- package/dist/icons/components/UiLogoGithub.cjs +29 -0
- package/dist/icons/components/UiLogoGithub.cjs.map +1 -0
- package/dist/icons/components/UiLogoGithub.d.ts +9 -0
- package/dist/icons/components/UiLogoGithub.d.ts.map +1 -0
- package/dist/icons/components/UiLogoGithub.js +27 -0
- package/dist/icons/components/UiLogoGithub.js.map +1 -0
- package/dist/icons/components/UiLogoJava.cjs +29 -0
- package/dist/icons/components/UiLogoJava.cjs.map +1 -0
- package/dist/icons/components/UiLogoJava.d.ts +9 -0
- package/dist/icons/components/UiLogoJava.d.ts.map +1 -0
- package/dist/icons/components/UiLogoJava.js +27 -0
- package/dist/icons/components/UiLogoJava.js.map +1 -0
- package/dist/icons/components/UiLogoKubernetes.cjs +29 -0
- package/dist/icons/components/UiLogoKubernetes.cjs.map +1 -0
- package/dist/icons/components/UiLogoKubernetes.d.ts +9 -0
- package/dist/icons/components/UiLogoKubernetes.d.ts.map +1 -0
- package/dist/icons/components/UiLogoKubernetes.js +27 -0
- package/dist/icons/components/UiLogoKubernetes.js.map +1 -0
- package/dist/icons/components/UiLogoMssql.cjs +29 -0
- package/dist/icons/components/UiLogoMssql.cjs.map +1 -0
- package/dist/icons/components/UiLogoMssql.d.ts +9 -0
- package/dist/icons/components/UiLogoMssql.d.ts.map +1 -0
- package/dist/icons/components/UiLogoMssql.js +27 -0
- package/dist/icons/components/UiLogoMssql.js.map +1 -0
- package/dist/icons/components/UiLogoOpenjdk.cjs +29 -0
- package/dist/icons/components/UiLogoOpenjdk.cjs.map +1 -0
- package/dist/icons/components/UiLogoOpenjdk.d.ts +9 -0
- package/dist/icons/components/UiLogoOpenjdk.d.ts.map +1 -0
- package/dist/icons/components/UiLogoOpenjdk.js +27 -0
- package/dist/icons/components/UiLogoOpenjdk.js.map +1 -0
- package/dist/icons/components/UiLogoOpensearch.cjs +29 -0
- package/dist/icons/components/UiLogoOpensearch.cjs.map +1 -0
- package/dist/icons/components/UiLogoOpensearch.d.ts +9 -0
- package/dist/icons/components/UiLogoOpensearch.d.ts.map +1 -0
- package/dist/icons/components/UiLogoOpensearch.js +27 -0
- package/dist/icons/components/UiLogoOpensearch.js.map +1 -0
- package/dist/icons/components/UiLogoOpentelemetry.cjs +29 -0
- package/dist/icons/components/UiLogoOpentelemetry.cjs.map +1 -0
- package/dist/icons/components/UiLogoOpentelemetry.d.ts +9 -0
- package/dist/icons/components/UiLogoOpentelemetry.d.ts.map +1 -0
- package/dist/icons/components/UiLogoOpentelemetry.js +27 -0
- package/dist/icons/components/UiLogoOpentelemetry.js.map +1 -0
- package/dist/icons/components/UiLogoPostgres.cjs +29 -0
- package/dist/icons/components/UiLogoPostgres.cjs.map +1 -0
- package/dist/icons/components/UiLogoPostgres.d.ts +9 -0
- package/dist/icons/components/UiLogoPostgres.d.ts.map +1 -0
- package/dist/icons/components/UiLogoPostgres.js +27 -0
- package/dist/icons/components/UiLogoPostgres.js.map +1 -0
- package/dist/icons/components/UiLogoSqlite.cjs +29 -0
- package/dist/icons/components/UiLogoSqlite.cjs.map +1 -0
- package/dist/icons/components/UiLogoSqlite.d.ts +9 -0
- package/dist/icons/components/UiLogoSqlite.d.ts.map +1 -0
- package/dist/icons/components/UiLogoSqlite.js +27 -0
- package/dist/icons/components/UiLogoSqlite.js.map +1 -0
- package/dist/icons/components/UiWebLink.cjs +40 -0
- package/dist/icons/components/UiWebLink.cjs.map +1 -0
- package/dist/icons/components/UiWebLink.d.ts +9 -0
- package/dist/icons/components/UiWebLink.d.ts.map +1 -0
- package/dist/icons/components/UiWebLink.js +38 -0
- package/dist/icons/components/UiWebLink.js.map +1 -0
- package/dist/icons/index.d.ts +16 -0
- package/dist/icons/index.d.ts.map +1 -1
- package/dist/icons/registry.cjs +32 -0
- package/dist/icons/registry.cjs.map +1 -1
- package/dist/icons/registry.d.ts.map +1 -1
- package/dist/icons/registry.js +32 -0
- package/dist/icons/registry.js.map +1 -1
- package/dist/icons.cjs +32 -0
- package/dist/icons.js +17 -1
- package/dist/index.cjs +38 -5
- package/dist/index.js +23 -7
- package/dist/jvm/classes/PatchedClassList.cjs +11 -2
- package/dist/jvm/classes/PatchedClassList.cjs.map +1 -1
- package/dist/jvm/classes/PatchedClassList.d.ts.map +1 -1
- package/dist/jvm/classes/PatchedClassList.js +11 -2
- package/dist/jvm/classes/PatchedClassList.js.map +1 -1
- package/dist/jvm/fixtures/fake-client.d.ts.map +1 -1
- package/dist/jvm/model/patches.cjs +4 -2
- package/dist/jvm/model/patches.cjs.map +1 -1
- package/dist/jvm/model/patches.d.ts +3 -1
- package/dist/jvm/model/patches.d.ts.map +1 -1
- package/dist/jvm/model/patches.js +4 -2
- package/dist/jvm/model/patches.js.map +1 -1
- package/dist/jvm/protocol/client.d.ts +7 -2
- package/dist/jvm/protocol/client.d.ts.map +1 -1
- package/dist/jvm/protocol/operation-client.cjs +30 -11
- package/dist/jvm/protocol/operation-client.cjs.map +1 -1
- package/dist/jvm/protocol/operation-client.d.ts.map +1 -1
- package/dist/jvm/protocol/operation-client.js +30 -11
- package/dist/jvm/protocol/operation-client.js.map +1 -1
- package/dist/jvm/protocol/query-keys.cjs +1 -1
- package/dist/jvm/protocol/query-keys.cjs.map +1 -1
- package/dist/jvm/protocol/query-keys.d.ts +1 -1
- package/dist/jvm/protocol/query-keys.d.ts.map +1 -1
- package/dist/jvm/protocol/query-keys.js +1 -1
- package/dist/jvm/protocol/query-keys.js.map +1 -1
- package/dist/jvm/protocol/status.cjs +38 -0
- package/dist/jvm/protocol/status.cjs.map +1 -0
- package/dist/jvm/protocol/status.d.ts +13 -0
- package/dist/jvm/protocol/status.d.ts.map +1 -0
- package/dist/jvm/protocol/status.js +38 -0
- package/dist/jvm/protocol/status.js.map +1 -0
- package/dist/jvm/protocol/types.d.ts +16 -4
- package/dist/jvm/protocol/types.d.ts.map +1 -1
- package/dist/jvm/runtime/GcSummary.cjs +7 -1
- package/dist/jvm/runtime/GcSummary.cjs.map +1 -1
- package/dist/jvm/runtime/GcSummary.d.ts.map +1 -1
- package/dist/jvm/runtime/GcSummary.js +7 -1
- package/dist/jvm/runtime/GcSummary.js.map +1 -1
- package/dist/jvm/surfaces/ClassesSurface.cjs +11 -10
- package/dist/jvm/surfaces/ClassesSurface.cjs.map +1 -1
- package/dist/jvm/surfaces/ClassesSurface.d.ts.map +1 -1
- package/dist/jvm/surfaces/ClassesSurface.js +12 -11
- package/dist/jvm/surfaces/ClassesSurface.js.map +1 -1
- package/dist/jvm/surfaces/JvmDiagnosticsWorkspace.cjs +11 -3
- package/dist/jvm/surfaces/JvmDiagnosticsWorkspace.cjs.map +1 -1
- package/dist/jvm/surfaces/JvmDiagnosticsWorkspace.d.ts +2 -0
- package/dist/jvm/surfaces/JvmDiagnosticsWorkspace.d.ts.map +1 -1
- package/dist/jvm/surfaces/JvmDiagnosticsWorkspace.js +11 -3
- package/dist/jvm/surfaces/JvmDiagnosticsWorkspace.js.map +1 -1
- package/dist/jvm/surfaces/PatchesSurface.cjs +3 -8
- package/dist/jvm/surfaces/PatchesSurface.cjs.map +1 -1
- package/dist/jvm/surfaces/PatchesSurface.d.ts +2 -1
- package/dist/jvm/surfaces/PatchesSurface.d.ts.map +1 -1
- package/dist/jvm/surfaces/PatchesSurface.js +4 -9
- package/dist/jvm/surfaces/PatchesSurface.js.map +1 -1
- package/dist/jvm/surfaces/ThreadsSurface.cjs +7 -4
- package/dist/jvm/surfaces/ThreadsSurface.cjs.map +1 -1
- package/dist/jvm/surfaces/ThreadsSurface.d.ts +4 -1
- package/dist/jvm/surfaces/ThreadsSurface.d.ts.map +1 -1
- package/dist/jvm/surfaces/ThreadsSurface.js +7 -4
- package/dist/jvm/surfaces/ThreadsSurface.js.map +1 -1
- package/dist/jvm/surfaces/jvm-context.cjs +23 -4
- package/dist/jvm/surfaces/jvm-context.cjs.map +1 -1
- package/dist/jvm/surfaces/jvm-context.d.ts +7 -0
- package/dist/jvm/surfaces/jvm-context.d.ts.map +1 -1
- package/dist/jvm/surfaces/jvm-context.js +23 -5
- package/dist/jvm/surfaces/jvm-context.js.map +1 -1
- package/dist/jvm/surfaces/use-patch-actions.cjs +2 -2
- package/dist/jvm/surfaces/use-patch-actions.cjs.map +1 -1
- package/dist/jvm/surfaces/use-patch-actions.js +2 -2
- package/dist/jvm/surfaces/use-patch-actions.js.map +1 -1
- package/dist/jvm/threads/FoldedStackTrace.cjs +3 -2
- package/dist/jvm/threads/FoldedStackTrace.cjs.map +1 -1
- package/dist/jvm/threads/FoldedStackTrace.d.ts +4 -1
- package/dist/jvm/threads/FoldedStackTrace.d.ts.map +1 -1
- package/dist/jvm/threads/FoldedStackTrace.js +3 -2
- package/dist/jvm/threads/FoldedStackTrace.js.map +1 -1
- package/dist/jvm/threads/ThreadDetail.cjs +6 -2
- package/dist/jvm/threads/ThreadDetail.cjs.map +1 -1
- package/dist/jvm/threads/ThreadDetail.d.ts +4 -1
- package/dist/jvm/threads/ThreadDetail.d.ts.map +1 -1
- package/dist/jvm/threads/ThreadDetail.js +6 -2
- package/dist/jvm/threads/ThreadDetail.js.map +1 -1
- package/dist/jvm.cjs +3 -0
- package/dist/jvm.d.ts +2 -1
- package/dist/jvm.d.ts.map +1 -1
- package/dist/jvm.js +3 -2
- package/dist/layout/AppShell.cjs.map +1 -1
- package/dist/layout/AppShell.d.ts +16 -0
- package/dist/layout/AppShell.d.ts.map +1 -1
- package/dist/layout/AppShell.js.map +1 -1
- package/dist/layout/AppShell.nav.cjs +21 -2
- package/dist/layout/AppShell.nav.cjs.map +1 -1
- package/dist/layout/AppShell.nav.js +21 -2
- package/dist/layout/AppShell.nav.js.map +1 -1
- package/dist/layout/Workspace.cjs +66 -21
- package/dist/layout/Workspace.cjs.map +1 -1
- package/dist/layout/Workspace.d.ts +6 -1
- package/dist/layout/Workspace.d.ts.map +1 -1
- package/dist/layout/Workspace.js +66 -21
- package/dist/layout/Workspace.js.map +1 -1
- package/dist/layout/Workspace.model.cjs +20 -0
- package/dist/layout/Workspace.model.cjs.map +1 -1
- package/dist/layout/Workspace.model.d.ts +17 -0
- package/dist/layout/Workspace.model.d.ts.map +1 -1
- package/dist/layout/Workspace.model.js +20 -1
- package/dist/layout/Workspace.model.js.map +1 -1
- package/dist/layout/Workspace.regions.cjs +10 -6
- package/dist/layout/Workspace.regions.cjs.map +1 -1
- package/dist/layout/Workspace.regions.d.ts +4 -1
- package/dist/layout/Workspace.regions.d.ts.map +1 -1
- package/dist/layout/Workspace.regions.js +10 -6
- package/dist/layout/Workspace.regions.js.map +1 -1
- package/dist/lib/duration.cjs +20 -0
- package/dist/lib/duration.cjs.map +1 -1
- package/dist/lib/duration.d.ts +8 -0
- package/dist/lib/duration.d.ts.map +1 -1
- package/dist/lib/duration.js +19 -1
- package/dist/lib/duration.js.map +1 -1
- package/dist/monaco/MonacoEditor.cjs +34 -30
- package/dist/monaco/MonacoEditor.cjs.map +1 -1
- package/dist/monaco/MonacoEditor.d.ts.map +1 -1
- package/dist/monaco/MonacoEditor.js +34 -30
- package/dist/monaco/MonacoEditor.js.map +1 -1
- package/dist/overlay/ConfirmDialog.cjs +5 -2
- package/dist/overlay/ConfirmDialog.cjs.map +1 -1
- package/dist/overlay/ConfirmDialog.d.ts +14 -2
- package/dist/overlay/ConfirmDialog.d.ts.map +1 -1
- package/dist/overlay/ConfirmDialog.js +5 -2
- package/dist/overlay/ConfirmDialog.js.map +1 -1
- package/dist/profiles/cel/celEditor.cjs +94 -285
- package/dist/profiles/cel/celEditor.cjs.map +1 -1
- package/dist/profiles/cel/celEditor.d.ts +10 -15
- package/dist/profiles/cel/celEditor.d.ts.map +1 -1
- package/dist/profiles/cel/celEditor.js +97 -287
- package/dist/profiles/cel/celEditor.js.map +1 -1
- package/dist/profiles/cel/celExpression.cjs +1 -61
- package/dist/profiles/cel/celExpression.cjs.map +1 -1
- package/dist/profiles/cel/celExpression.d.ts +2 -38
- package/dist/profiles/cel/celExpression.d.ts.map +1 -1
- package/dist/profiles/cel/celExpression.js +2 -58
- package/dist/profiles/cel/celExpression.js.map +1 -1
- package/dist/profiles/cel/celPlayground.cjs +122 -0
- package/dist/profiles/cel/celPlayground.cjs.map +1 -0
- package/dist/profiles/cel/celPlayground.d.ts +43 -0
- package/dist/profiles/cel/celPlayground.d.ts.map +1 -0
- package/dist/profiles/cel/celPlayground.js +118 -0
- package/dist/profiles/cel/celPlayground.js.map +1 -0
- package/dist/profiles/connections/connectionBrowserModel.cjs +2 -2
- package/dist/profiles/connections/connectionBrowserModel.cjs.map +1 -1
- package/dist/profiles/connections/connectionBrowserModel.d.ts +5 -1
- package/dist/profiles/connections/connectionBrowserModel.d.ts.map +1 -1
- package/dist/profiles/connections/connectionBrowserModel.js +2 -2
- package/dist/profiles/connections/connectionBrowserModel.js.map +1 -1
- package/dist/profiles/connections/connectionQueryWorkspace.cjs +2 -1
- package/dist/profiles/connections/connectionQueryWorkspace.cjs.map +1 -1
- package/dist/profiles/connections/connectionQueryWorkspace.d.ts +3 -1
- package/dist/profiles/connections/connectionQueryWorkspace.d.ts.map +1 -1
- package/dist/profiles/connections/connectionQueryWorkspace.js +2 -1
- package/dist/profiles/connections/connectionQueryWorkspace.js.map +1 -1
- package/dist/profiles/editor/UnwrapPreviewList.cjs +90 -0
- package/dist/profiles/editor/UnwrapPreviewList.cjs.map +1 -0
- package/dist/profiles/editor/UnwrapPreviewList.d.ts +7 -0
- package/dist/profiles/editor/UnwrapPreviewList.d.ts.map +1 -0
- package/dist/profiles/editor/UnwrapPreviewList.js +90 -0
- package/dist/profiles/editor/UnwrapPreviewList.js.map +1 -0
- package/dist/profiles/editor/profileCanonicalQuery.cjs +6 -58
- package/dist/profiles/editor/profileCanonicalQuery.cjs.map +1 -1
- package/dist/profiles/editor/profileCanonicalQuery.d.ts +1 -1
- package/dist/profiles/editor/profileCanonicalQuery.d.ts.map +1 -1
- package/dist/profiles/editor/profileCanonicalQuery.js +4 -56
- package/dist/profiles/editor/profileCanonicalQuery.js.map +1 -1
- package/dist/profiles/editor/profileCanonicalTranslate.cjs +48 -0
- package/dist/profiles/editor/profileCanonicalTranslate.cjs.map +1 -0
- package/dist/profiles/editor/profileCanonicalTranslate.d.ts +24 -0
- package/dist/profiles/editor/profileCanonicalTranslate.d.ts.map +1 -0
- package/dist/profiles/editor/profileCanonicalTranslate.js +47 -0
- package/dist/profiles/editor/profileCanonicalTranslate.js.map +1 -0
- package/dist/profiles/editor/profileEditor.cjs +126 -38
- package/dist/profiles/editor/profileEditor.cjs.map +1 -1
- package/dist/profiles/editor/profileEditor.d.ts +5 -1
- package/dist/profiles/editor/profileEditor.d.ts.map +1 -1
- package/dist/profiles/editor/profileEditor.js +127 -39
- package/dist/profiles/editor/profileEditor.js.map +1 -1
- package/dist/profiles/editor/profileEditorModel.cjs +65 -19
- package/dist/profiles/editor/profileEditorModel.cjs.map +1 -1
- package/dist/profiles/editor/profileEditorModel.d.ts +24 -8
- package/dist/profiles/editor/profileEditorModel.d.ts.map +1 -1
- package/dist/profiles/editor/profileEditorModel.js +64 -18
- package/dist/profiles/editor/profileEditorModel.js.map +1 -1
- package/dist/profiles/editor/profileEditorPreview.cjs +129 -29
- package/dist/profiles/editor/profileEditorPreview.cjs.map +1 -1
- package/dist/profiles/editor/profileEditorPreview.d.ts +18 -5
- package/dist/profiles/editor/profileEditorPreview.d.ts.map +1 -1
- package/dist/profiles/editor/profileEditorPreview.js +129 -29
- package/dist/profiles/editor/profileEditorPreview.js.map +1 -1
- package/dist/profiles/editor/profileEditorSections.cjs +137 -88
- package/dist/profiles/editor/profileEditorSections.cjs.map +1 -1
- package/dist/profiles/editor/profileEditorSections.d.ts +18 -2
- package/dist/profiles/editor/profileEditorSections.d.ts.map +1 -1
- package/dist/profiles/editor/profileEditorSections.js +138 -90
- package/dist/profiles/editor/profileEditorSections.js.map +1 -1
- package/dist/profiles/editor/profileMappingPreview.cjs +22 -6
- package/dist/profiles/editor/profileMappingPreview.cjs.map +1 -1
- package/dist/profiles/editor/profileMappingPreview.d.ts +17 -1
- package/dist/profiles/editor/profileMappingPreview.d.ts.map +1 -1
- package/dist/profiles/editor/profileMappingPreview.js +23 -7
- package/dist/profiles/editor/profileMappingPreview.js.map +1 -1
- package/dist/profiles/editor/profileSaveAsDialog.cjs +93 -0
- package/dist/profiles/editor/profileSaveAsDialog.cjs.map +1 -0
- package/dist/profiles/editor/profileSaveAsDialog.d.ts +17 -0
- package/dist/profiles/editor/profileSaveAsDialog.d.ts.map +1 -0
- package/dist/profiles/editor/profileSaveAsDialog.js +93 -0
- package/dist/profiles/editor/profileSaveAsDialog.js.map +1 -0
- package/dist/profiles/editor/profileSourceExtensions.cjs +71 -0
- package/dist/profiles/editor/profileSourceExtensions.cjs.map +1 -0
- package/dist/profiles/editor/profileSourceExtensions.d.ts +26 -0
- package/dist/profiles/editor/profileSourceExtensions.d.ts.map +1 -0
- package/dist/profiles/editor/profileSourceExtensions.js +70 -0
- package/dist/profiles/editor/profileSourceExtensions.js.map +1 -0
- package/dist/profiles/editor/samplePaths.cjs +54 -0
- package/dist/profiles/editor/samplePaths.cjs.map +1 -0
- package/dist/profiles/editor/samplePaths.d.ts +27 -0
- package/dist/profiles/editor/samplePaths.d.ts.map +1 -0
- package/dist/profiles/editor/samplePaths.js +53 -0
- package/dist/profiles/editor/samplePaths.js.map +1 -0
- package/dist/profiles/editor/testSchema.d.ts.map +1 -1
- package/dist/profiles/editor/useUnwrapPreviews.cjs +60 -0
- package/dist/profiles/editor/useUnwrapPreviews.cjs.map +1 -0
- package/dist/profiles/editor/useUnwrapPreviews.d.ts +38 -0
- package/dist/profiles/editor/useUnwrapPreviews.d.ts.map +1 -0
- package/dist/profiles/editor/useUnwrapPreviews.js +60 -0
- package/dist/profiles/editor/useUnwrapPreviews.js.map +1 -0
- package/dist/profiles/elasticsearch/esQueryBuilder.cjs +10 -1
- package/dist/profiles/elasticsearch/esQueryBuilder.cjs.map +1 -1
- package/dist/profiles/elasticsearch/esQueryBuilder.d.ts.map +1 -1
- package/dist/profiles/elasticsearch/esQueryBuilder.js +11 -2
- package/dist/profiles/elasticsearch/esQueryBuilder.js.map +1 -1
- package/dist/profiles/elasticsearch/esQueryBuilderForm.cjs +38 -0
- package/dist/profiles/elasticsearch/esQueryBuilderForm.cjs.map +1 -1
- package/dist/profiles/elasticsearch/esQueryBuilderForm.d.ts +17 -0
- package/dist/profiles/elasticsearch/esQueryBuilderForm.d.ts.map +1 -1
- package/dist/profiles/elasticsearch/esQueryBuilderForm.js +37 -1
- package/dist/profiles/elasticsearch/esQueryBuilderForm.js.map +1 -1
- package/dist/profiles/elasticsearch/esQueryConditionRow.cjs +4 -3
- package/dist/profiles/elasticsearch/esQueryConditionRow.cjs.map +1 -1
- package/dist/profiles/elasticsearch/esQueryConditionRow.d.ts.map +1 -1
- package/dist/profiles/elasticsearch/esQueryConditionRow.js +4 -3
- package/dist/profiles/elasticsearch/esQueryConditionRow.js.map +1 -1
- package/dist/profiles/elasticsearch/esQueryOperators.cjs.map +1 -1
- package/dist/profiles/elasticsearch/esQueryOperators.d.ts +8 -0
- package/dist/profiles/elasticsearch/esQueryOperators.d.ts.map +1 -1
- package/dist/profiles/elasticsearch/esQueryOperators.js.map +1 -1
- package/dist/profiles/fields/profileFieldControls.cjs +3 -2
- package/dist/profiles/fields/profileFieldControls.cjs.map +1 -1
- package/dist/profiles/fields/profileFieldControls.d.ts +3 -1
- package/dist/profiles/fields/profileFieldControls.d.ts.map +1 -1
- package/dist/profiles/fields/profileFieldControls.js +3 -2
- package/dist/profiles/fields/profileFieldControls.js.map +1 -1
- package/dist/profiles/fields/profileFieldEditor.cjs +98 -185
- package/dist/profiles/fields/profileFieldEditor.cjs.map +1 -1
- package/dist/profiles/fields/profileFieldEditor.d.ts +11 -3
- package/dist/profiles/fields/profileFieldEditor.d.ts.map +1 -1
- package/dist/profiles/fields/profileFieldEditor.js +99 -186
- package/dist/profiles/fields/profileFieldEditor.js.map +1 -1
- package/dist/profiles/fields/profileFieldFilterEditor.cjs +115 -81
- package/dist/profiles/fields/profileFieldFilterEditor.cjs.map +1 -1
- package/dist/profiles/fields/profileFieldFilterEditor.d.ts.map +1 -1
- package/dist/profiles/fields/profileFieldFilterEditor.js +116 -82
- package/dist/profiles/fields/profileFieldFilterEditor.js.map +1 -1
- package/dist/profiles/fields/profileFieldIcons.cjs +2 -0
- package/dist/profiles/fields/profileFieldIcons.cjs.map +1 -1
- package/dist/profiles/fields/profileFieldIcons.d.ts.map +1 -1
- package/dist/profiles/fields/profileFieldIcons.js +2 -0
- package/dist/profiles/fields/profileFieldIcons.js.map +1 -1
- package/dist/profiles/fields/profileFieldList.cjs +23 -1
- package/dist/profiles/fields/profileFieldList.cjs.map +1 -1
- package/dist/profiles/fields/profileFieldList.d.ts.map +1 -1
- package/dist/profiles/fields/profileFieldList.js +23 -1
- package/dist/profiles/fields/profileFieldList.js.map +1 -1
- package/dist/profiles/fields/profileFieldPreview.cjs +111 -0
- package/dist/profiles/fields/profileFieldPreview.cjs.map +1 -0
- package/dist/profiles/fields/profileFieldPreview.d.ts +25 -0
- package/dist/profiles/fields/profileFieldPreview.d.ts.map +1 -0
- package/dist/profiles/fields/profileFieldPreview.js +110 -0
- package/dist/profiles/fields/profileFieldPreview.js.map +1 -0
- package/dist/profiles/fields/profileFieldSample.cjs +182 -0
- package/dist/profiles/fields/profileFieldSample.cjs.map +1 -0
- package/dist/profiles/fields/profileFieldSample.d.ts +35 -0
- package/dist/profiles/fields/profileFieldSample.d.ts.map +1 -0
- package/dist/profiles/fields/profileFieldSample.js +180 -0
- package/dist/profiles/fields/profileFieldSample.js.map +1 -0
- package/dist/profiles/fields/profileFieldTypeField.cjs +104 -0
- package/dist/profiles/fields/profileFieldTypeField.cjs.map +1 -0
- package/dist/profiles/fields/profileFieldTypeField.d.ts +17 -0
- package/dist/profiles/fields/profileFieldTypeField.d.ts.map +1 -0
- package/dist/profiles/fields/profileFieldTypeField.js +104 -0
- package/dist/profiles/fields/profileFieldTypeField.js.map +1 -0
- package/dist/profiles/fields/profileFieldTypes.cjs +1 -0
- package/dist/profiles/fields/profileFieldTypes.cjs.map +1 -1
- package/dist/profiles/fields/profileFieldTypes.d.ts +1 -1
- package/dist/profiles/fields/profileFieldTypes.d.ts.map +1 -1
- package/dist/profiles/fields/profileFieldTypes.js +1 -0
- package/dist/profiles/fields/profileFieldTypes.js.map +1 -1
- package/dist/profiles/fields/profileFieldValueEditor.cjs +298 -0
- package/dist/profiles/fields/profileFieldValueEditor.cjs.map +1 -0
- package/dist/profiles/fields/profileFieldValueEditor.d.ts +18 -0
- package/dist/profiles/fields/profileFieldValueEditor.d.ts.map +1 -0
- package/dist/profiles/fields/profileFieldValueEditor.js +298 -0
- package/dist/profiles/fields/profileFieldValueEditor.js.map +1 -0
- package/dist/profiles/fields/profileFieldValueMode.cjs +61 -0
- package/dist/profiles/fields/profileFieldValueMode.cjs.map +1 -0
- package/dist/profiles/fields/profileFieldValueMode.d.ts +34 -0
- package/dist/profiles/fields/profileFieldValueMode.d.ts.map +1 -0
- package/dist/profiles/fields/profileFieldValueMode.js +59 -0
- package/dist/profiles/fields/profileFieldValueMode.js.map +1 -0
- package/dist/profiles/processor/processorConfig.cjs +79 -79
- package/dist/profiles/processor/processorConfig.cjs.map +1 -1
- package/dist/profiles/processor/processorConfig.d.ts +30 -3
- package/dist/profiles/processor/processorConfig.d.ts.map +1 -1
- package/dist/profiles/processor/processorConfig.js +78 -78
- package/dist/profiles/processor/processorConfig.js.map +1 -1
- package/dist/profiles/processor/processorPipeline.cjs +24 -8
- package/dist/profiles/processor/processorPipeline.cjs.map +1 -1
- package/dist/profiles/processor/processorPipeline.d.ts +3 -3
- package/dist/profiles/processor/processorPipeline.d.ts.map +1 -1
- package/dist/profiles/processor/processorPipeline.js +25 -9
- package/dist/profiles/processor/processorPipeline.js.map +1 -1
- package/dist/profiles/processor/processorPipelineEditor.cjs +38 -94
- package/dist/profiles/processor/processorPipelineEditor.cjs.map +1 -1
- package/dist/profiles/processor/processorPipelineEditor.d.ts +3 -3
- package/dist/profiles/processor/processorPipelineEditor.d.ts.map +1 -1
- package/dist/profiles/processor/processorPipelineEditor.js +39 -95
- package/dist/profiles/processor/processorPipelineEditor.js.map +1 -1
- package/dist/profiles/processor/processorPipelineExtension.cjs +3 -2
- package/dist/profiles/processor/processorPipelineExtension.cjs.map +1 -1
- package/dist/profiles/processor/processorPipelineExtension.d.ts.map +1 -1
- package/dist/profiles/processor/processorPipelineExtension.js +3 -2
- package/dist/profiles/processor/processorPipelineExtension.js.map +1 -1
- package/dist/profiles/query/profileSampleFilterLookup.cjs.map +1 -1
- package/dist/profiles/query/profileSampleFilterLookup.d.ts +6 -3
- package/dist/profiles/query/profileSampleFilterLookup.d.ts.map +1 -1
- package/dist/profiles/query/profileSampleFilterLookup.js.map +1 -1
- package/dist/profiles/wizard/profileWizardModel.cjs +10 -1
- package/dist/profiles/wizard/profileWizardModel.cjs.map +1 -1
- package/dist/profiles/wizard/profileWizardModel.d.ts +6 -0
- package/dist/profiles/wizard/profileWizardModel.d.ts.map +1 -1
- package/dist/profiles/wizard/profileWizardModel.js +10 -1
- package/dist/profiles/wizard/profileWizardModel.js.map +1 -1
- package/dist/profiles/wizard/profileWizardQueryStep.cjs +10 -22
- package/dist/profiles/wizard/profileWizardQueryStep.cjs.map +1 -1
- package/dist/profiles/wizard/profileWizardQueryStep.d.ts +8 -1
- package/dist/profiles/wizard/profileWizardQueryStep.d.ts.map +1 -1
- package/dist/profiles/wizard/profileWizardQueryStep.js +11 -23
- package/dist/profiles/wizard/profileWizardQueryStep.js.map +1 -1
- package/dist/profiles/wizard/useProfileInspection.cjs +39 -0
- package/dist/profiles/wizard/useProfileInspection.cjs.map +1 -0
- package/dist/profiles/wizard/useProfileInspection.d.ts +21 -0
- package/dist/profiles/wizard/useProfileInspection.d.ts.map +1 -0
- package/dist/profiles/wizard/useProfileInspection.js +39 -0
- package/dist/profiles/wizard/useProfileInspection.js.map +1 -0
- package/dist/profiles.cjs +9 -11
- package/dist/profiles.js +8 -8
- package/dist/rpc/EntityExplorerApp.cjs +7 -3
- package/dist/rpc/EntityExplorerApp.cjs.map +1 -1
- package/dist/rpc/EntityExplorerApp.d.ts +16 -1
- package/dist/rpc/EntityExplorerApp.d.ts.map +1 -1
- package/dist/rpc/EntityExplorerApp.js +7 -3
- package/dist/rpc/EntityExplorerApp.js.map +1 -1
- package/dist/rpc/InlineError.cjs +30 -10
- package/dist/rpc/InlineError.cjs.map +1 -1
- package/dist/rpc/InlineError.d.ts +10 -1
- package/dist/rpc/InlineError.d.ts.map +1 -1
- package/dist/rpc/InlineError.js +30 -10
- package/dist/rpc/InlineError.js.map +1 -1
- package/dist/rpc/SchemaActionForm.cjs +9 -6
- package/dist/rpc/SchemaActionForm.cjs.map +1 -1
- package/dist/rpc/SchemaActionForm.d.ts.map +1 -1
- package/dist/rpc/SchemaActionForm.js +9 -6
- package/dist/rpc/SchemaActionForm.js.map +1 -1
- package/dist/rpc/SessionHeader.cjs +117 -111
- package/dist/rpc/SessionHeader.cjs.map +1 -1
- package/dist/rpc/SessionHeader.d.ts +3 -1
- package/dist/rpc/SessionHeader.d.ts.map +1 -1
- package/dist/rpc/SessionHeader.js +117 -111
- package/dist/rpc/SessionHeader.js.map +1 -1
- package/dist/rpc/formMetadata.cjs +2 -6
- package/dist/rpc/formMetadata.cjs.map +1 -1
- package/dist/rpc/formMetadata.d.ts.map +1 -1
- package/dist/rpc/formMetadata.js +1 -5
- package/dist/rpc/formMetadata.js.map +1 -1
- package/dist/rpc/surfaceNav.cjs +5 -0
- package/dist/rpc/surfaceNav.cjs.map +1 -1
- package/dist/rpc/surfaceNav.d.ts.map +1 -1
- package/dist/rpc/surfaceNav.js +5 -0
- package/dist/rpc/surfaceNav.js.map +1 -1
- package/dist/runtime/barrels.json +8944 -8877
- package/dist/runtime/importmap.json +2168 -2129
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/data/ai/runtime-profiles/ResolutionInspector.cjs +0 -91
- package/dist/data/ai/runtime-profiles/ResolutionInspector.cjs.map +0 -1
- package/dist/data/ai/runtime-profiles/ResolutionInspector.d.ts +0 -7
- package/dist/data/ai/runtime-profiles/ResolutionInspector.d.ts.map +0 -1
- package/dist/data/ai/runtime-profiles/ResolutionInspector.js +0 -91
- package/dist/data/ai/runtime-profiles/ResolutionInspector.js.map +0 -1
- package/dist/profiles/cel/celEditorResults.cjs +0 -158
- package/dist/profiles/cel/celEditorResults.cjs.map +0 -1
- package/dist/profiles/cel/celEditorResults.d.ts +0 -37
- package/dist/profiles/cel/celEditorResults.d.ts.map +0 -1
- package/dist/profiles/cel/celEditorResults.js +0 -156
- package/dist/profiles/cel/celEditorResults.js.map +0 -1
|
@@ -1,55 +1,19 @@
|
|
|
1
|
-
const require_JSONPathField = require("../../components/JSONPathField.cjs");
|
|
2
1
|
const require_button = require("../../components/button.cjs");
|
|
3
|
-
const require_UiBraces = require("../../icons/components/UiBraces.cjs");
|
|
4
2
|
const require_UiColumns = require("../../icons/components/UiColumns.cjs");
|
|
5
3
|
const require_UiEyeClosed = require("../../icons/components/UiEyeClosed.cjs");
|
|
6
|
-
const require_UiFileType = require("../../icons/components/UiFileType.cjs");
|
|
7
|
-
const require_UiFunctionSquare = require("../../icons/components/UiFunctionSquare.cjs");
|
|
8
4
|
const require_UiPalette = require("../../icons/components/UiPalette.cjs");
|
|
9
5
|
const require_UiScale = require("../../icons/components/UiScale.cjs");
|
|
10
6
|
const require_UiTableProperties = require("../../icons/components/UiTableProperties.cjs");
|
|
11
7
|
const require_UiTag = require("../../icons/components/UiTag.cjs");
|
|
12
|
-
const require_celEditor = require("../cel/celEditor.cjs");
|
|
13
|
-
const require_celPath = require("../cel/celPath.cjs");
|
|
14
8
|
const require_profileFieldControls = require("./profileFieldControls.cjs");
|
|
15
9
|
const require_profileFieldFilterEditor = require("./profileFieldFilterEditor.cjs");
|
|
10
|
+
const require_profileFieldPreview = require("./profileFieldPreview.cjs");
|
|
11
|
+
const require_profileFieldTypeField = require("./profileFieldTypeField.cjs");
|
|
12
|
+
const require_profileFieldValueEditor = require("./profileFieldValueEditor.cjs");
|
|
16
13
|
const require_profileFieldIcons = require("./profileFieldIcons.cjs");
|
|
17
|
-
const require_jsonPathSample = require("../query/jsonPathSample.cjs");
|
|
18
14
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
19
15
|
// src/profiles/fields/profileFieldEditor.tsx
|
|
20
16
|
var profileFieldEditorEmptyMessage = "Add a column or run a sample to discover fields.";
|
|
21
|
-
/**
|
|
22
|
-
* The starting points offered before a value is in hand.
|
|
23
|
-
*
|
|
24
|
-
* This header has only the field's name to go on — the sampled value lives in
|
|
25
|
-
* the Test dialog, which is where the examples that fit it are offered. So
|
|
26
|
-
* these stay deliberately generic and lead there.
|
|
27
|
-
*/
|
|
28
|
-
function celExamples(fieldName) {
|
|
29
|
-
const field = require_celPath.celFieldAccess(fieldName);
|
|
30
|
-
return [
|
|
31
|
-
{
|
|
32
|
-
label: "Use the entire row",
|
|
33
|
-
expression: "row"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
label: `Read ${fieldName}`,
|
|
37
|
-
expression: field.reference
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
label: `Default ${fieldName} when missing`,
|
|
41
|
-
expression: `${field.presence} ? ${field.reference} : ""`
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
label: `Convert ${fieldName} to text`,
|
|
45
|
-
expression: `string(${field.reference})`
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
label: `Scale ${fieldName} by 1,000`,
|
|
49
|
-
expression: `${field.reference} / 1000.0`
|
|
50
|
-
}
|
|
51
|
-
];
|
|
52
|
-
}
|
|
53
17
|
/** Ordering, removal and inclusion — the operations that act on the field as a
|
|
54
18
|
* whole rather than on one of its properties. */
|
|
55
19
|
function ProfileFieldEditorActions({ canMoveUp, canMoveDown, selected, onSelectedChange, onMoveUp, onMoveDown, onRemove }) {
|
|
@@ -88,184 +52,133 @@ function ProfileFieldEditorActions({ canMoveUp, canMoveDown, selected, onSelecte
|
|
|
88
52
|
] });
|
|
89
53
|
}
|
|
90
54
|
/**
|
|
91
|
-
* Everything about a column that a grid cell cannot hold
|
|
92
|
-
*
|
|
55
|
+
* Everything about a column that a grid cell cannot hold, in the order an
|
|
56
|
+
* author works through it: the name and where the value comes from, side by side
|
|
57
|
+
* (with the value's preview), whether it is hidden, how it is displayed (label, type,
|
|
58
|
+
* role, format, unit, width), then how it is filtered — the filter type and, last, the
|
|
59
|
+
* options of that type. A hidden field is never rendered and offers no filter, so it
|
|
60
|
+
* keeps only its name, value source, preview and type.
|
|
61
|
+
* `columns` is explicit rather than a `sm:` breakpoint
|
|
93
62
|
* because the wizard mounts this in a ~380px pane on a wide viewport, where
|
|
94
63
|
* viewport-based breakpoints would wrongly go two-up.
|
|
95
64
|
*/
|
|
96
|
-
function ProfileFieldEditorForm({ field, columns = 2, onChange }) {
|
|
65
|
+
function ProfileFieldEditorForm({ field, columns = 2, providerType, onChange }) {
|
|
97
66
|
const wide = columns === 2 ? "sm:col-span-2" : "";
|
|
98
|
-
const
|
|
67
|
+
const hidden = field.hidden ?? false;
|
|
99
68
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
100
69
|
className: `grid gap-4 ${columns === 2 ? "sm:grid-cols-2" : ""}`,
|
|
101
70
|
children: [
|
|
102
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_profileFieldFilterEditor.ProfileFieldFilterEditor, {
|
|
103
|
-
field,
|
|
104
|
-
columns,
|
|
105
|
-
onChange
|
|
106
|
-
}),
|
|
107
71
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_profileFieldControls.EditorField, {
|
|
108
|
-
label: "
|
|
72
|
+
label: "Name",
|
|
109
73
|
icon: require_profileFieldIcons.profileTypeIcon(field.type),
|
|
110
74
|
help: "Public field name used by tables, filters, APIs, and every export.",
|
|
111
75
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
112
|
-
"aria-label": "
|
|
76
|
+
"aria-label": "Name",
|
|
113
77
|
value: field.name,
|
|
114
78
|
className: require_profileFieldControls.inputClassName,
|
|
115
79
|
onChange: (event) => onChange({ name: event.target.value })
|
|
116
80
|
})
|
|
117
81
|
}),
|
|
118
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
"aria-label": "Display label",
|
|
124
|
-
value: field.label ?? "",
|
|
125
|
-
className: require_profileFieldControls.inputClassName,
|
|
126
|
-
placeholder: field.name,
|
|
127
|
-
onChange: (event) => onChange({ label: event.target.value || void 0 })
|
|
128
|
-
})
|
|
129
|
-
}),
|
|
130
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_profileFieldControls.EnumField, {
|
|
131
|
-
label: "Data type",
|
|
132
|
-
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_UiFileType.UiFileType, {}),
|
|
133
|
-
help: "Value shape and default formatting; independent of Role.",
|
|
134
|
-
value: field.type ?? "",
|
|
135
|
-
options: require_profileFieldIcons.profileTypeOptions,
|
|
136
|
-
placeholder: "Auto detect",
|
|
137
|
-
onChange: (next) => onChange({ type: next })
|
|
138
|
-
}),
|
|
139
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_profileFieldControls.EnumField, {
|
|
140
|
-
label: "Role",
|
|
141
|
-
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_UiTableProperties.UiTableProperties, {}),
|
|
142
|
-
help: "Optional table behavior. Timestamp also types the field as datetime, since it is the column the date-range control reads.",
|
|
143
|
-
value: field.kind ?? "",
|
|
144
|
-
options: require_profileFieldIcons.profileRoleOptions,
|
|
145
|
-
placeholder: "Standard field",
|
|
146
|
-
onChange: (next) => onChange(next === "timestamp" ? {
|
|
147
|
-
kind: next,
|
|
148
|
-
type: "datetime"
|
|
149
|
-
} : { kind: next })
|
|
150
|
-
}),
|
|
151
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_profileFieldControls.EnumField, {
|
|
152
|
-
label: "Format",
|
|
153
|
-
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_UiPalette.UiPalette, {}),
|
|
154
|
-
help: "Optional formatter; Unit takes precedence when both are set.",
|
|
155
|
-
value: field.format ?? "",
|
|
156
|
-
options: require_profileFieldIcons.profileFormatOptions,
|
|
157
|
-
placeholder: "From Type",
|
|
158
|
-
onChange: (next) => onChange({ format: next })
|
|
159
|
-
}),
|
|
160
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_profileFieldControls.EnumField, {
|
|
161
|
-
label: "Unit",
|
|
162
|
-
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_UiScale.UiScale, {}),
|
|
163
|
-
help: "Numeric scaling for number, duration, or bytes Types.",
|
|
164
|
-
value: field.unit ?? "",
|
|
165
|
-
options: require_profileFieldIcons.profileUnitOptions,
|
|
166
|
-
placeholder: "No unit",
|
|
167
|
-
onChange: (next) => onChange({ unit: next })
|
|
168
|
-
}),
|
|
169
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_profileFieldControls.EditorField, {
|
|
170
|
-
label: "Max width (characters)",
|
|
171
|
-
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_UiColumns.UiColumns, {}),
|
|
172
|
-
help: "Maximum rendered width; blank uses the table default.",
|
|
173
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
174
|
-
"aria-label": "Max width (characters)",
|
|
175
|
-
type: "number",
|
|
176
|
-
min: 1,
|
|
177
|
-
value: field.width ?? "",
|
|
178
|
-
className: require_profileFieldControls.inputClassName,
|
|
179
|
-
placeholder: "Auto",
|
|
180
|
-
onChange: (event) => onChange({ width: event.target.value ? Number(event.target.value) : void 0 })
|
|
181
|
-
})
|
|
182
|
-
}),
|
|
183
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
184
|
-
className: wide,
|
|
185
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
186
|
-
className: "grid gap-1.5 text-sm font-medium",
|
|
187
|
-
children: [
|
|
188
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
189
|
-
className: "flex items-center justify-between gap-2",
|
|
190
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
191
|
-
className: "flex items-center gap-2",
|
|
192
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_UiFunctionSquare.UiFunctionSquare, { className: "shrink-0 text-[15px] text-muted-foreground" }), "CEL expression"]
|
|
193
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
194
|
-
className: "flex items-center gap-2",
|
|
195
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("select", {
|
|
196
|
-
"aria-label": "CEL examples",
|
|
197
|
-
value: "",
|
|
198
|
-
className: "h-8 rounded-md border border-input bg-background px-2 text-xs font-normal outline-none focus:border-primary focus:ring-2 focus:ring-primary/15",
|
|
199
|
-
onChange: (event) => onChange({ cel: event.target.value }),
|
|
200
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
201
|
-
value: "",
|
|
202
|
-
children: "Examples"
|
|
203
|
-
}), celExamples(field.source ?? field.name).map((example) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
204
|
-
value: example.expression,
|
|
205
|
-
children: example.label
|
|
206
|
-
}, example.label))]
|
|
207
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_celEditor.CelTestButton, {
|
|
208
|
-
value: field.cel ?? "",
|
|
209
|
-
scope: "row",
|
|
210
|
-
rows,
|
|
211
|
-
title: field.name,
|
|
212
|
-
onChange: (next) => onChange({ cel: next || void 0 })
|
|
213
|
-
})]
|
|
214
|
-
})]
|
|
215
|
-
}),
|
|
216
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("textarea", {
|
|
217
|
-
"aria-label": "CEL expression",
|
|
218
|
-
rows: 4,
|
|
219
|
-
value: field.cel ?? "",
|
|
220
|
-
className: `${require_profileFieldControls.inputClassName} resize-y font-mono text-xs`,
|
|
221
|
-
placeholder: "Optional value transformation",
|
|
222
|
-
onChange: (event) => onChange({ cel: event.target.value || void 0 })
|
|
223
|
-
}),
|
|
224
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
225
|
-
className: "text-xs font-normal text-muted-foreground",
|
|
226
|
-
children: "Optional expression computing the value from row."
|
|
227
|
-
})
|
|
228
|
-
]
|
|
229
|
-
})
|
|
82
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_profileFieldValueEditor.ProfileFieldValueEditor, {
|
|
83
|
+
field,
|
|
84
|
+
columns,
|
|
85
|
+
providerType,
|
|
86
|
+
onChange
|
|
230
87
|
}),
|
|
231
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
label: "JSONPath",
|
|
235
|
-
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_UiBraces.UiBraces, {}),
|
|
236
|
-
help: "Optional path computing the value, rooted at the row or at Source; an alternative to CEL.",
|
|
237
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_JSONPathField.JSONPathField, {
|
|
238
|
-
"aria-label": "JSONPath",
|
|
239
|
-
value: field.jsonpath ?? "",
|
|
240
|
-
onChange: (next) => onChange({ jsonpath: next || void 0 }),
|
|
241
|
-
onSelectPath: (next, { root }) => onChange({
|
|
242
|
-
jsonpath: next || void 0,
|
|
243
|
-
source: root
|
|
244
|
-
}),
|
|
245
|
-
...field.source ? { source: field.source } : {},
|
|
246
|
-
...rows.length === 0 ? {} : {
|
|
247
|
-
json: rows[0],
|
|
248
|
-
rows
|
|
249
|
-
},
|
|
250
|
-
evaluate: require_jsonPathSample.evaluateJsonPath
|
|
251
|
-
})
|
|
252
|
-
})
|
|
88
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_profileFieldPreview.ProfileFieldPreview, {
|
|
89
|
+
field,
|
|
90
|
+
columns
|
|
253
91
|
}),
|
|
254
92
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
255
93
|
className: `flex items-center gap-2 text-sm font-medium ${wide}`,
|
|
256
94
|
children: [
|
|
257
95
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
258
96
|
type: "checkbox",
|
|
259
|
-
checked:
|
|
97
|
+
checked: hidden,
|
|
260
98
|
onChange: (event) => onChange({ hidden: event.target.checked })
|
|
261
99
|
}),
|
|
262
100
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_UiEyeClosed.UiEyeClosed, { className: "text-[15px] text-muted-foreground" }),
|
|
263
101
|
"Hide this field in the default table"
|
|
264
102
|
]
|
|
103
|
+
}),
|
|
104
|
+
!hidden && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_profileFieldControls.EditorField, {
|
|
105
|
+
label: "Display label",
|
|
106
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_UiTag.UiTag, {}),
|
|
107
|
+
help: "Optional table header; blank uses the field name.",
|
|
108
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
109
|
+
"aria-label": "Display label",
|
|
110
|
+
value: field.label ?? "",
|
|
111
|
+
className: "w-full rounded-md border border-input bg-background px-3 py-2 text-sm outline-none focus:border-primary focus:ring-2 focus:ring-primary/15",
|
|
112
|
+
placeholder: field.name,
|
|
113
|
+
onChange: (event) => onChange({ label: event.target.value || void 0 })
|
|
114
|
+
})
|
|
115
|
+
}),
|
|
116
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_profileFieldTypeField.ProfileFieldTypeField, {
|
|
117
|
+
field,
|
|
118
|
+
onChange
|
|
119
|
+
}),
|
|
120
|
+
!hidden && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ProfileFieldDisplayOptions, {
|
|
121
|
+
field,
|
|
122
|
+
onChange
|
|
123
|
+
}),
|
|
124
|
+
!hidden && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_profileFieldFilterEditor.ProfileFieldFilterEditor, {
|
|
125
|
+
field,
|
|
126
|
+
columns,
|
|
127
|
+
onChange
|
|
265
128
|
})
|
|
266
129
|
]
|
|
267
130
|
});
|
|
268
131
|
}
|
|
132
|
+
/** How a shown column's cells behave and render: its role, formatter, unit and
|
|
133
|
+
* width. None of it applies to a hidden column, which is never rendered. */
|
|
134
|
+
function ProfileFieldDisplayOptions({ field, onChange }) {
|
|
135
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
136
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_profileFieldControls.EnumField, {
|
|
137
|
+
label: "Role",
|
|
138
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_UiTableProperties.UiTableProperties, {}),
|
|
139
|
+
help: "Optional table behavior. Timestamp also types the field as datetime, since it is the column the date-range control reads.",
|
|
140
|
+
value: field.kind ?? "",
|
|
141
|
+
options: require_profileFieldIcons.profileRoleOptions,
|
|
142
|
+
placeholder: "Standard field",
|
|
143
|
+
onChange: (next) => onChange(next === "timestamp" ? {
|
|
144
|
+
kind: next,
|
|
145
|
+
type: "datetime"
|
|
146
|
+
} : { kind: next })
|
|
147
|
+
}),
|
|
148
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_profileFieldControls.EnumField, {
|
|
149
|
+
label: "Format",
|
|
150
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_UiPalette.UiPalette, {}),
|
|
151
|
+
help: "Optional formatter; Unit takes precedence when both are set.",
|
|
152
|
+
value: field.format ?? "",
|
|
153
|
+
options: require_profileFieldIcons.profileFormatOptions,
|
|
154
|
+
placeholder: "From Type",
|
|
155
|
+
onChange: (next) => onChange({ format: next })
|
|
156
|
+
}),
|
|
157
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_profileFieldControls.EnumField, {
|
|
158
|
+
label: "Unit",
|
|
159
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_UiScale.UiScale, {}),
|
|
160
|
+
help: "Numeric scaling for number, duration, or bytes Types.",
|
|
161
|
+
value: field.unit ?? "",
|
|
162
|
+
options: require_profileFieldIcons.profileUnitOptions,
|
|
163
|
+
placeholder: "No unit",
|
|
164
|
+
onChange: (next) => onChange({ unit: next })
|
|
165
|
+
}),
|
|
166
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_profileFieldControls.EditorField, {
|
|
167
|
+
label: "Max width (characters)",
|
|
168
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_UiColumns.UiColumns, {}),
|
|
169
|
+
help: "Maximum rendered width; blank uses the table default.",
|
|
170
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
171
|
+
"aria-label": "Max width (characters)",
|
|
172
|
+
type: "number",
|
|
173
|
+
min: 1,
|
|
174
|
+
value: field.width ?? "",
|
|
175
|
+
className: require_profileFieldControls.inputClassName,
|
|
176
|
+
placeholder: "Auto",
|
|
177
|
+
onChange: (event) => onChange({ width: event.target.value ? Number(event.target.value) : void 0 })
|
|
178
|
+
})
|
|
179
|
+
})
|
|
180
|
+
] });
|
|
181
|
+
}
|
|
269
182
|
/** The wizard's carded inspector: names the field itself, because its field
|
|
270
183
|
* list has no header to do it. The editor route composes the parts instead,
|
|
271
184
|
* since its Workspace pane header already carries the name. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profileFieldEditor.cjs","names":["celFieldAccess","_Fragment","Button","useJsonPathSampleRows","ProfileFieldFilterEditor","EditorField","profileTypeIcon","inputClassName","UiTag","EnumField","UiFileType","profileTypeOptions","UiTableProperties","profileRoleOptions","UiPalette","profileFormatOptions","UiScale","profileUnitOptions","UiColumns","UiFunctionSquare","CelTestButton","UiBraces","JSONPathField","evaluateJsonPath","UiEyeClosed"],"sources":["../../../src/profiles/fields/profileFieldEditor.tsx"],"sourcesContent":["import { JSONPathField } from \"../../components/JSONPathField\";\nimport { Button } from \"../../components/button\";\nimport {\n UiBraces,\n UiColumns,\n UiEyeClosed,\n UiFileType,\n UiFunctionSquare,\n UiPalette,\n UiScale,\n UiTableProperties,\n UiTag,\n} from \"../../icons\";\nimport { CelTestButton } from \"../cel/celEditor\";\nimport { celFieldAccess } from \"../cel/celPath\";\nimport { EditorField, EnumField, inputClassName } from \"./profileFieldControls\";\nimport { ProfileFieldFilterEditor } from \"./profileFieldFilterEditor\";\nimport {\n profileFormatOptions,\n profileRoleOptions,\n profileTypeIcon,\n profileTypeOptions,\n profileUnitOptions,\n} from \"./profileFieldIcons\";\nimport type { Patch, ProfileColumn } from \"../wizard/profileWizardModel\";\nimport {\n evaluateJsonPath,\n useJsonPathSampleRows,\n} from \"../query/jsonPathSample\";\n\ntype FieldActions = {\n selected: boolean;\n canMoveUp: boolean;\n canMoveDown: boolean;\n onSelectedChange: (selected: boolean) => void;\n onMoveUp: () => void;\n onMoveDown: () => void;\n onRemove: () => void;\n};\n\nexport const profileFieldEditorEmptyMessage =\n \"Add a column or run a sample to discover fields.\";\n\n/**\n * The starting points offered before a value is in hand.\n *\n * This header has only the field's name to go on — the sampled value lives in\n * the Test dialog, which is where the examples that fit it are offered. So\n * these stay deliberately generic and lead there.\n */\nfunction celExamples(\n fieldName: string,\n): Array<{ label: string; expression: string }> {\n const field = celFieldAccess(fieldName);\n return [\n { label: \"Use the entire row\", expression: \"row\" },\n { label: `Read ${fieldName}`, expression: field.reference },\n {\n label: `Default ${fieldName} when missing`,\n expression: `${field.presence} ? ${field.reference} : \"\"`,\n },\n {\n label: `Convert ${fieldName} to text`,\n expression: `string(${field.reference})`,\n },\n {\n label: `Scale ${fieldName} by 1,000`,\n expression: `${field.reference} / 1000.0`,\n },\n ];\n}\n\n/** Ordering, removal and inclusion — the operations that act on the field as a\n * whole rather than on one of its properties. */\nexport function ProfileFieldEditorActions({\n canMoveUp,\n canMoveDown,\n selected,\n onSelectedChange,\n onMoveUp,\n onMoveDown,\n onRemove,\n}: FieldActions) {\n return (\n <>\n <Button\n type=\"button\"\n size=\"sm\"\n variant=\"ghost\"\n disabled={!canMoveUp}\n onClick={onMoveUp}\n >\n Move up\n </Button>\n <Button\n type=\"button\"\n size=\"sm\"\n variant=\"ghost\"\n disabled={!canMoveDown}\n onClick={onMoveDown}\n >\n Move down\n </Button>\n <Button type=\"button\" size=\"sm\" variant=\"ghost\" onClick={onRemove}>\n Remove\n </Button>\n <label className=\"flex items-center gap-2 text-sm font-medium\">\n <input\n type=\"checkbox\"\n checked={selected}\n onChange={(event) => onSelectedChange(event.target.checked)}\n />\n Include\n </label>\n </>\n );\n}\n\n/**\n * Everything about a column that a grid cell cannot hold: role, format, unit\n * and the CEL expression. `columns` is explicit rather than a `sm:` breakpoint\n * because the wizard mounts this in a ~380px pane on a wide viewport, where\n * viewport-based breakpoints would wrongly go two-up.\n */\nexport function ProfileFieldEditorForm({\n field,\n columns = 2,\n onChange,\n}: {\n field: ProfileColumn;\n columns?: 1 | 2;\n onChange: (patch: Patch<ProfileColumn>) => void;\n}) {\n const wide = columns === 2 ? \"sm:col-span-2\" : \"\";\n const rows = useJsonPathSampleRows();\n return (\n <div className={`grid gap-4 ${columns === 2 ? \"sm:grid-cols-2\" : \"\"}`}>\n <ProfileFieldFilterEditor\n field={field}\n columns={columns}\n onChange={onChange}\n />\n <EditorField\n label=\"Output name\"\n icon={profileTypeIcon(field.type)}\n help=\"Public field name used by tables, filters, APIs, and every export.\"\n >\n <input\n aria-label=\"Output name\"\n value={field.name}\n className={inputClassName}\n onChange={(event) => onChange({ name: event.target.value })}\n />\n </EditorField>\n <EditorField\n label=\"Display label\"\n icon={<UiTag />}\n help=\"Optional table header; blank uses the field name.\"\n >\n <input\n aria-label=\"Display label\"\n value={field.label ?? \"\"}\n className={inputClassName}\n placeholder={field.name}\n onChange={(event) =>\n onChange({ label: event.target.value || undefined })\n }\n />\n </EditorField>\n <EnumField\n label=\"Data type\"\n icon={<UiFileType />}\n help=\"Value shape and default formatting; independent of Role.\"\n value={field.type ?? \"\"}\n options={profileTypeOptions}\n placeholder=\"Auto detect\"\n onChange={(next) => onChange({ type: next })}\n />\n <EnumField\n label=\"Role\"\n icon={<UiTableProperties />}\n help=\"Optional table behavior. Timestamp also types the field as datetime, since it is the column the date-range control reads.\"\n value={field.kind ?? \"\"}\n options={profileRoleOptions}\n placeholder=\"Standard field\"\n // Naming the time column and leaving it typed as a string is a state\n // nobody wants: the header drives a date range while the cell renders\n // raw. The wizard already couples the two (mapTimestampColumn); doing\n // it here too is what keeps the per-field editor from undoing it.\n onChange={(next) =>\n onChange(\n next === \"timestamp\"\n ? { kind: next, type: \"datetime\" }\n : { kind: next },\n )\n }\n />\n <EnumField\n label=\"Format\"\n icon={<UiPalette />}\n help=\"Optional formatter; Unit takes precedence when both are set.\"\n value={field.format ?? \"\"}\n options={profileFormatOptions}\n placeholder=\"From Type\"\n onChange={(next) => onChange({ format: next })}\n />\n <EnumField\n label=\"Unit\"\n icon={<UiScale />}\n help=\"Numeric scaling for number, duration, or bytes Types.\"\n value={field.unit ?? \"\"}\n options={profileUnitOptions}\n placeholder=\"No unit\"\n onChange={(next) => onChange({ unit: next })}\n />\n <EditorField\n label=\"Max width (characters)\"\n icon={<UiColumns />}\n help=\"Maximum rendered width; blank uses the table default.\"\n >\n <input\n aria-label=\"Max width (characters)\"\n type=\"number\"\n min={1}\n value={field.width ?? \"\"}\n className={inputClassName}\n placeholder=\"Auto\"\n onChange={(event) =>\n onChange({\n width: event.target.value\n ? Number(event.target.value)\n : undefined,\n })\n }\n />\n </EditorField>\n <div className={wide}>\n <div className=\"grid gap-1.5 text-sm font-medium\">\n <div className=\"flex items-center justify-between gap-2\">\n <span className=\"flex items-center gap-2\">\n <UiFunctionSquare className=\"shrink-0 text-[15px] text-muted-foreground\" />\n CEL expression\n </span>\n <span className=\"flex items-center gap-2\">\n <select\n aria-label=\"CEL examples\"\n value=\"\"\n className=\"h-8 rounded-md border border-input bg-background px-2 text-xs font-normal outline-none focus:border-primary focus:ring-2 focus:ring-primary/15\"\n onChange={(event) => onChange({ cel: event.target.value })}\n >\n <option value=\"\">Examples</option>\n {celExamples(field.source ?? field.name).map((example) => (\n <option key={example.label} value={example.expression}>\n {example.label}\n </option>\n ))}\n </select>\n <CelTestButton\n value={field.cel ?? \"\"}\n scope=\"row\"\n rows={rows}\n title={field.name}\n onChange={(next) => onChange({ cel: next || undefined })}\n />\n </span>\n </div>\n <textarea\n aria-label=\"CEL expression\"\n rows={4}\n value={field.cel ?? \"\"}\n className={`${inputClassName} resize-y font-mono text-xs`}\n placeholder=\"Optional value transformation\"\n onChange={(event) =>\n onChange({ cel: event.target.value || undefined })\n }\n />\n <span className=\"text-xs font-normal text-muted-foreground\">\n Optional expression computing the value from row.\n </span>\n </div>\n </div>\n <div className={wide}>\n <EditorField\n label=\"JSONPath\"\n icon={<UiBraces />}\n help=\"Optional path computing the value, rooted at the row or at Source; an alternative to CEL.\"\n >\n <JSONPathField\n aria-label=\"JSONPath\"\n value={field.jsonpath ?? \"\"}\n onChange={(next) => onChange({ jsonpath: next || undefined })}\n // This editor owns the whole column, so a path picked out of a\n // JSON-encoded column sets the Source it needs in the same edit\n // rather than leaving the author to pair the two by hand. A path\n // picked outside one clears it: alongside a jsonpath, Source is the\n // root, and a stale root re-roots the new path at a column it was\n // never written against.\n onSelectPath={(next, { root }) =>\n onChange({ jsonpath: next || undefined, source: root })\n }\n {...(field.source ? { source: field.source } : {})}\n {...(rows.length === 0 ? {} : { json: rows[0], rows })}\n evaluate={evaluateJsonPath}\n />\n </EditorField>\n </div>\n <label className={`flex items-center gap-2 text-sm font-medium ${wide}`}>\n <input\n type=\"checkbox\"\n checked={field.hidden ?? false}\n onChange={(event) => onChange({ hidden: event.target.checked })}\n />\n <UiEyeClosed className=\"text-[15px] text-muted-foreground\" />\n Hide this field in the default table\n </label>\n </div>\n );\n}\n\n/** The wizard's carded inspector: names the field itself, because its field\n * list has no header to do it. The editor route composes the parts instead,\n * since its Workspace pane header already carries the name. */\nexport function ProfileFieldEditor({\n field,\n onChange,\n ...actions\n}: FieldActions & {\n field?: ProfileColumn | undefined;\n onChange: (patch: Patch<ProfileColumn>) => void;\n}) {\n if (!field) {\n return (\n <section className=\"grid min-h-64 place-items-center rounded-xl border border-dashed text-sm text-muted-foreground\">\n {profileFieldEditorEmptyMessage}\n </section>\n );\n }\n\n return (\n <section className=\"overflow-auto rounded-xl border bg-card p-5\">\n <div className=\"mb-5 flex flex-wrap items-start gap-2 border-b pb-4\">\n <div className=\"mr-auto min-w-0\">\n <p className=\"text-xs font-semibold uppercase tracking-wide text-muted-foreground\">\n Field editor\n </p>\n <h3 className=\"mt-1 truncate font-mono text-sm font-semibold\">\n {field.name}\n </h3>\n </div>\n <ProfileFieldEditorActions {...actions} />\n </div>\n <ProfileF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IAAA,CAAC,WAAD;EAAS,WAAU;EAChB,UAAA;CACM,CAAA;CAIb,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,WAAD;EAAS,WAAU;EAAnB,UAAA,CACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;GAAK,WAAU;GAAf,UAAA,CACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;IAAK,WAAU;IAAf,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,KAAD;KAAG,WAAU;KAAsE,UAAA;IAEhF,CAAA,GACH,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;KAAI,WAAU;KACX,UAAA,MAAM;IACL,CAAA,CACD;GACL,CAAA,GAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,2BAAD,EAA2B,GAAI,QAAU,CAAA,CACtC;EACL,CAAA,GAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,wBAAD;GAA+B;GAAiB;EAAW,CAAA,CACpD;;AAEb"}
|
|
1
|
+
{"version":3,"file":"profileFieldEditor.cjs","names":["_Fragment","Button","EditorField","profileTypeIcon","inputClassName","ProfileFieldValueEditor","ProfileFieldPreview","UiEyeClosed","UiTag","ProfileFieldTypeField","ProfileFieldFilterEditor","EnumField","UiTableProperties","profileRoleOptions","UiPalette","profileFormatOptions","UiScale","profileUnitOptions","UiColumns"],"sources":["../../../src/profiles/fields/profileFieldEditor.tsx"],"sourcesContent":["import { Button } from \"../../components/button\";\nimport {\n UiColumns,\n UiEyeClosed,\n UiPalette,\n UiScale,\n UiTableProperties,\n UiTag,\n} from \"../../icons\";\nimport { EditorField, EnumField, inputClassName } from \"./profileFieldControls\";\nimport { ProfileFieldFilterEditor } from \"./profileFieldFilterEditor\";\nimport { ProfileFieldPreview } from \"./profileFieldPreview\";\nimport { ProfileFieldTypeField } from \"./profileFieldTypeField\";\nimport { ProfileFieldValueEditor } from \"./profileFieldValueEditor\";\nimport {\n profileFormatOptions,\n profileRoleOptions,\n profileTypeIcon,\n profileUnitOptions,\n} from \"./profileFieldIcons\";\nimport type { Patch, ProfileColumn } from \"../wizard/profileWizardModel\";\n\ntype FieldActions = {\n selected: boolean;\n canMoveUp: boolean;\n canMoveDown: boolean;\n onSelectedChange: (selected: boolean) => void;\n onMoveUp: () => void;\n onMoveDown: () => void;\n onRemove: () => void;\n};\n\nexport const profileFieldEditorEmptyMessage =\n \"Add a column or run a sample to discover fields.\";\n\n/** Ordering, removal and inclusion — the operations that act on the field as a\n * whole rather than on one of its properties. */\nexport function ProfileFieldEditorActions({\n canMoveUp,\n canMoveDown,\n selected,\n onSelectedChange,\n onMoveUp,\n onMoveDown,\n onRemove,\n}: FieldActions) {\n return (\n <>\n <Button\n type=\"button\"\n size=\"sm\"\n variant=\"ghost\"\n disabled={!canMoveUp}\n onClick={onMoveUp}\n >\n Move up\n </Button>\n <Button\n type=\"button\"\n size=\"sm\"\n variant=\"ghost\"\n disabled={!canMoveDown}\n onClick={onMoveDown}\n >\n Move down\n </Button>\n <Button type=\"button\" size=\"sm\" variant=\"ghost\" onClick={onRemove}>\n Remove\n </Button>\n <label className=\"flex items-center gap-2 text-sm font-medium\">\n <input\n type=\"checkbox\"\n checked={selected}\n onChange={(event) => onSelectedChange(event.target.checked)}\n />\n Include\n </label>\n </>\n );\n}\n\n/**\n * Everything about a column that a grid cell cannot hold, in the order an\n * author works through it: the name and where the value comes from, side by side\n * (with the value's preview), whether it is hidden, how it is displayed (label, type,\n * role, format, unit, width), then how it is filtered — the filter type and, last, the\n * options of that type. A hidden field is never rendered and offers no filter, so it\n * keeps only its name, value source, preview and type.\n * `columns` is explicit rather than a `sm:` breakpoint\n * because the wizard mounts this in a ~380px pane on a wide viewport, where\n * viewport-based breakpoints would wrongly go two-up.\n */\nexport function ProfileFieldEditorForm({\n field,\n columns = 2,\n providerType,\n onChange,\n}: {\n field: ProfileColumn;\n columns?: 1 | 2;\n /** The profile's provider type, which names the field mode of Value source\n * (\"OpenSearch field\" for opensearch). Absent reads as a generic \"Field\". */\n providerType?: string | undefined;\n onChange: (patch: Patch<ProfileColumn>) => void;\n}) {\n const wide = columns === 2 ? \"sm:col-span-2\" : \"\";\n const hidden = field.hidden ?? false;\n return (\n <div className={`grid gap-4 ${columns === 2 ? \"sm:grid-cols-2\" : \"\"}`}>\n <EditorField\n label=\"Name\"\n icon={profileTypeIcon(field.type)}\n help=\"Public field name used by tables, filters, APIs, and every export.\"\n >\n <input\n aria-label=\"Name\"\n value={field.name}\n className={inputClassName}\n onChange={(event) => onChange({ name: event.target.value })}\n />\n </EditorField>\n <ProfileFieldValueEditor\n field={field}\n columns={columns}\n providerType={providerType}\n onChange={onChange}\n />\n <ProfileFieldPreview field={field} columns={columns} />\n <label className={`flex items-center gap-2 text-sm font-medium ${wide}`}>\n <input\n type=\"checkbox\"\n checked={hidden}\n onChange={(event) => onChange({ hidden: event.target.checked })}\n />\n <UiEyeClosed className=\"text-[15px] text-muted-foreground\" />\n Hide this field in the default table\n </label>\n {!hidden && (\n <EditorField\n label=\"Display label\"\n icon={<UiTag />}\n help=\"Optional table header; blank uses the field name.\"\n >\n <input\n aria-label=\"Display label\"\n value={field.label ?? \"\"}\n className={inputClassName}\n placeholder={field.name}\n onChange={(event) =>\n onChange({ label: event.target.value || undefined })\n }\n />\n </EditorField>\n )}\n <ProfileFieldTypeField field={field} onChange={onChange} />\n {!hidden && (\n <ProfileFieldDisplayOptions field={field} onChange={onChange} />\n )}\n {!hidden && (\n <ProfileFieldFilterEditor\n field={field}\n columns={columns}\n onChange={onChange}\n />\n )}\n </div>\n );\n}\n\n/** How a shown column's cells behave and render: its role, formatter, unit and\n * width. None of it applies to a hidden column, which is never rendered. */\nfunction ProfileFieldDisplayOptions({\n field,\n onChange,\n}: {\n field: ProfileColumn;\n onChange: (patch: Patch<ProfileColumn>) => void;\n}) {\n return (\n <>\n <EnumField\n label=\"Role\"\n icon={<UiTableProperties />}\n help=\"Optional table behavior. Timestamp also types the field as datetime, since it is the column the date-range control reads.\"\n value={field.kind ?? \"\"}\n options={profileRoleOptions}\n placeholder=\"Standard field\"\n // Naming the time column and leaving it typed as a string is a state\n // nobody wants: the header drives a date range while the cell renders\n // raw. The wizard already couples the two (mapTimestampColumn); doing\n // it here too is what keeps the per-field editor from undoing it.\n onChange={(next) =>\n onChange(\n next === \"timestamp\"\n ? { kind: next, type: \"datetime\" }\n : { kind: next },\n )\n }\n />\n <EnumField\n label=\"Format\"\n icon={<UiPalette />}\n help=\"Optional formatter; Unit takes precedence when both are set.\"\n value={field.format ?? \"\"}\n options={profileFormatOptions}\n placeholder=\"From Type\"\n onChange={(next) => onChange({ format: next })}\n />\n <EnumField\n label=\"Unit\"\n icon={<UiScale />}\n help=\"Numeric scaling for number, duration, or bytes Types.\"\n value={field.unit ?? \"\"}\n options={profileUnitOptions}\n placeholder=\"No unit\"\n onChange={(next) => onChange({ unit: next })}\n />\n <EditorField\n label=\"Max width (characters)\"\n icon={<UiColumns />}\n help=\"Maximum rendered width; blank uses the table default.\"\n >\n <input\n aria-label=\"Max width (characters)\"\n type=\"number\"\n min={1}\n value={field.width ?? \"\"}\n className={inputClassName}\n placeholder=\"Auto\"\n onChange={(event) =>\n onChange({\n width: event.target.value\n ? Number(event.target.value)\n : undefined,\n })\n }\n />\n </EditorField>\n </>\n );\n}\n\n/** The wizard's carded inspector: names the field itself, because its field\n * list has no header to do it. The editor route composes the parts instead,\n * since its Workspace pane header already carries the name. */\nexport function ProfileFieldEditor({\n field,\n onChange,\n ...actions\n}: FieldActions & {\n field?: ProfileColumn | undefined;\n onChange: (patch: Patch<ProfileColumn>) => void;\n}) {\n if (!field) {\n return (\n <section className=\"grid min-h-64 place-items-center rounded-xl border border-dashed text-sm text-muted-foreground\">\n {profileFieldEditorEmptyMessage}\n </section>\n );\n }\n\n return (\n <section className=\"overflow-auto rounded-xl border bg-card p-5\">\n <div className=\"mb-5 flex flex-wrap items-start gap-2 border-b pb-4\">\n <div className=\"mr-auto min-w-0\">\n <p className=\"text-xs font-semibold uppercase tracking-wide text-muted-foreground\">\n Field editor\n </p>\n <h3 className=\"mt-1 truncate font-mono text-sm font-semibold\">\n {field.name}\n </h3>\n </div>\n <ProfileFieldEditorActions {...actions} />\n </div>\n <ProfileFieldEditorForm field={field} onChange={onChange} />\n </section>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;AAgCA,IAAa,iCACX;;;AAIF,SAAgB,0BAA0B,EACxC,WACA,aACA,UACA,kBACA,UACA,YACA,YACe;CACf,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAAA,kBAAAA,UAAA,EAAA,UAAA;EACE,iBAAA,GAAA,kBAAA,IAAA,CAACC,eAAAA,QAAD;GACE,MAAK;GACL,MAAK;GACL,SAAQ;GACR,UAAU,CAAC;GACX,SAAS;GACV,UAAA;EAEO,CAAA;EACR,iBAAA,GAAA,kBAAA,IAAA,CAACA,eAAAA,QAAD;GACE,MAAK;GACL,MAAK;GACL,SAAQ;GACR,UAAU,CAAC;GACX,SAAS;GACV,UAAA;EAEO,CAAA;EACR,iBAAA,GAAA,kBAAA,IAAA,CAACA,eAAAA,QAAD;GAAQ,MAAK;GAAS,MAAK;GAAK,SAAQ;GAAQ,SAAS;GAAU,UAAA;EAE3D,CAAA;EACR,iBAAA,GAAA,kBAAA,KAAA,CAAC,SAAD;GAAO,WAAU;GAAjB,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,SAAD;IACE,MAAK;IACL,SAAS;IACT,WAAW,UAAU,iBAAiB,MAAM,OAAO,OAAO;GAC3D,CAAA,GAAC,SAEG;;CACP,EAAA,CAAA;AAEN;;;;;;;;;;;;AAaA,SAAgB,uBAAuB,EACrC,OACA,UAAU,GACV,cACA,YAQC;CACD,MAAM,OAAO,YAAY,IAAI,kBAAkB;CAC/C,MAAM,SAAS,MAAM,UAAU;CAC/B,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;EAAK,WAAW,cAAc,YAAY,IAAI,mBAAmB;EAAjE,UAAA;GACE,iBAAA,GAAA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,MAAK;GAEL,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,SAAD;IACE,cAAW;IACX,MAAK;IACL,KAAK;IACL,OAAO,MAAM,SAAS;IACtB,WAAWd,6BAAAA;IACX,aAAY;IACZ,WAAW,UACT,SAAS,EACP,OAAO,MAAM,OAAO,QAChB,OAAO,MAAM,OAAO,KAAK,IACzB,KAAA,EACN,CAAC;GAEJ,CAAA;EACU,CAAA;CACb,EAAA,CAAA;AAEN;;;;AAKA,SAAgB,mBAAmB,EACjC,OACA,UACA,GAAG,WAIF;CACD,IAAI,CAAC,OACH,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,WAAD;EAAS,WAAU;EAChB,UAAA;CACM,CAAA;CAIb,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,WAAD;EAAS,WAAU;EAAnB,UAAA,CACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;GAAK,WAAU;GAAf,UAAA,CACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;IAAK,WAAU;IAAf,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,KAAD;KAAG,WAAU;KAAsE,UAAA;IAEhF,CAAA,GACH,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;KAAI,WAAU;KACX,UAAA,MAAM;IACL,CAAA,CACD;GACL,CAAA,GAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,2BAAD,EAA2B,GAAI,QAAU,CAAA,CACtC;EACL,CAAA,GAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,wBAAD;GAA+B;GAAiB;EAAW,CAAA,CACpD;;AAEb"}
|
|
@@ -13,14 +13,22 @@ export declare const profileFieldEditorEmptyMessage = "Add a column or run a sam
|
|
|
13
13
|
* whole rather than on one of its properties. */
|
|
14
14
|
export declare function ProfileFieldEditorActions({ canMoveUp, canMoveDown, selected, onSelectedChange, onMoveUp, onMoveDown, onRemove, }: FieldActions): import("react").JSX.Element;
|
|
15
15
|
/**
|
|
16
|
-
* Everything about a column that a grid cell cannot hold
|
|
17
|
-
*
|
|
16
|
+
* Everything about a column that a grid cell cannot hold, in the order an
|
|
17
|
+
* author works through it: the name and where the value comes from, side by side
|
|
18
|
+
* (with the value's preview), whether it is hidden, how it is displayed (label, type,
|
|
19
|
+
* role, format, unit, width), then how it is filtered — the filter type and, last, the
|
|
20
|
+
* options of that type. A hidden field is never rendered and offers no filter, so it
|
|
21
|
+
* keeps only its name, value source, preview and type.
|
|
22
|
+
* `columns` is explicit rather than a `sm:` breakpoint
|
|
18
23
|
* because the wizard mounts this in a ~380px pane on a wide viewport, where
|
|
19
24
|
* viewport-based breakpoints would wrongly go two-up.
|
|
20
25
|
*/
|
|
21
|
-
export declare function ProfileFieldEditorForm({ field, columns, onChange, }: {
|
|
26
|
+
export declare function ProfileFieldEditorForm({ field, columns, providerType, onChange, }: {
|
|
22
27
|
field: ProfileColumn;
|
|
23
28
|
columns?: 1 | 2;
|
|
29
|
+
/** The profile's provider type, which names the field mode of Value source
|
|
30
|
+
* ("OpenSearch field" for opensearch). Absent reads as a generic "Field". */
|
|
31
|
+
providerType?: string | undefined;
|
|
24
32
|
onChange: (patch: Patch<ProfileColumn>) => void;
|
|
25
33
|
}): import("react").JSX.Element;
|
|
26
34
|
/** The wizard's carded inspector: names the field itself, because its field
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profileFieldEditor.d.ts","sourceRoot":"","sources":["../../../src/profiles/fields/profileFieldEditor.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"profileFieldEditor.d.ts","sourceRoot":"","sources":["../../../src/profiles/fields/profileFieldEditor.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAEzE,KAAK,YAAY,GAAG;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,g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