@odigos/ui-kit 0.0.9 → 0.0.11-1.patch-dev.361
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/.devcontainer/README.md +26 -0
- package/.devcontainer/devcontainer.json +21 -0
- package/CHANGELOG.md +862 -0
- package/README.md +3 -2
- package/VERSIONING.md +228 -0
- package/lib/chunks/ui-components-f51830d4.js +1605 -0
- package/lib/chunks/vendor-1dea551d.js +1 -0
- package/lib/components/auto-complete-input/index.d.ts +3 -0
- package/lib/components/badge/index.d.ts +2 -2
- package/lib/components/code/index.d.ts +1 -1
- package/lib/components/data-card/data-card-fields/index.d.ts +19 -19
- package/lib/components/data-card/index.d.ts +8 -6
- package/lib/components/data-finger/index.d.ts +12 -0
- package/lib/components/data-tab/index.d.ts +25 -10
- package/lib/components/delete-warning/index.d.ts +2 -2
- package/lib/components/describe-row/index.d.ts +2 -2
- package/lib/components/divider/index.d.ts +3 -2
- package/lib/components/drawer/drawer-footer/index.d.ts +3 -0
- package/lib/components/drawer/drawer-header/index.d.ts +7 -5
- package/lib/components/drawer/index.d.ts +2 -2
- package/lib/components/dropdown/index.d.ts +6 -2
- package/lib/components/error-boundary/index.d.ts +1 -2
- package/lib/components/field-error/index.d.ts +1 -2
- package/lib/components/field-label/index.d.ts +2 -0
- package/lib/components/icon-button/index.d.ts +2 -0
- package/lib/components/icon-group/index.d.ts +3 -2
- package/lib/components/icon-wrapped/index.d.ts +2 -2
- package/lib/components/index.d.ts +56 -48
- package/lib/components/input/index.d.ts +2 -1
- package/lib/components/input-table/index.d.ts +4 -11
- package/lib/components/input-table/map-columns-to-fields/index.d.ts +15 -0
- package/lib/components/input-table/types.d.ts +15 -0
- package/lib/components/interactive-table/index.d.ts +9 -8
- package/lib/components/interactive-table/table-row.d.ts +13 -0
- package/lib/components/key-value-input-list/index.d.ts +4 -0
- package/lib/components/monitors-checkboxes/index.d.ts +4 -4
- package/lib/components/monitors-icons/index.d.ts +2 -2
- package/lib/components/notification-note/index.d.ts +3 -2
- package/lib/components/popup/index.d.ts +18 -0
- package/lib/components/popup-form/index.d.ts +18 -0
- package/lib/components/scroll-x/index.d.ts +10 -0
- package/lib/components/segment/index.d.ts +8 -6
- package/lib/{containers/data-flow-actions-menu → components}/selection-button/index.d.ts +3 -3
- package/lib/components/status/index.d.ts +8 -5
- package/lib/components/stepper/index.d.ts +2 -1
- package/lib/components/styled.d.ts +33 -2
- package/lib/components/tab-list/index.d.ts +17 -0
- package/lib/components/tag/index.d.ts +9 -0
- package/lib/components/text/index.d.ts +16 -3
- package/lib/components/toggle/index.d.ts +2 -1
- package/lib/components/warning-modal/index.d.ts +2 -2
- package/lib/components.js +1 -173
- package/lib/constants/destinations/index.d.ts +18 -0
- package/lib/constants/index.d.ts +2 -0
- package/lib/constants/sources/index.d.ts +4 -0
- package/lib/constants/strings/index.d.ts +90 -0
- package/lib/constants.js +1 -13
- package/lib/containers/action-drawer/build-card.d.ts +1 -7
- package/lib/containers/action-drawer/index.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/add-cluster-info.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/delete-attributes.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/error-sampler.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/index.d.ts +3 -3
- package/lib/containers/action-form/custom-fields/k8s-attributes.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/latency-sampler.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/pii-masking.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/probabilistic-sampler.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/rename-attributes.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/service-name-sampler.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/span-attribute-sampler.d.ts +5 -0
- package/lib/containers/await-pipeline/index.d.ts +1 -2
- package/lib/containers/data-flow/helpers/build-action-nodes.d.ts +7 -1
- package/lib/containers/data-flow/helpers/build-destination-nodes.d.ts +7 -1
- package/lib/containers/data-flow/helpers/build-edges.d.ts +2 -2
- package/lib/containers/data-flow/helpers/build-rule-nodes.d.ts +7 -1
- package/lib/containers/data-flow/helpers/get-node-positions.d.ts +2 -2
- package/lib/containers/data-flow/index.d.ts +2 -2
- package/lib/containers/data-flow-actions-menu/add-entity/index.d.ts +2 -3
- package/lib/containers/data-flow-actions-menu/data-stream-select/index.d.ts +9 -0
- package/lib/containers/data-flow-actions-menu/filters/index.d.ts +2 -8
- package/lib/containers/data-flow-actions-menu/index.d.ts +5 -6
- package/lib/containers/data-flow-actions-menu/search/index.d.ts +3 -2
- package/lib/containers/data-flow-actions-menu/search/search-results/builder.d.ts +3 -3
- package/lib/containers/data-flow-actions-menu/search/search-results/index.d.ts +0 -1
- package/lib/containers/data-flow-actions-menu/styled.d.ts +5 -1
- package/lib/containers/data-stream-drawer/index.d.ts +10 -0
- package/lib/containers/data-stream-form/index.d.ts +9 -0
- package/lib/containers/data-stream-modal/index.d.ts +4 -0
- package/lib/containers/data-stream-selection-form/index.d.ts +13 -0
- package/lib/containers/destination-drawer/build-card.d.ts +1 -7
- package/lib/containers/destination-drawer/index.d.ts +2 -5
- package/lib/containers/destination-form/dynamic-fields/index.d.ts +2 -1
- package/lib/containers/destination-form/index.d.ts +2 -5
- package/lib/containers/destination-form/test-connection/index.d.ts +5 -10
- package/lib/containers/destination-modal/choose-destination/destinations-list/index.d.ts +3 -1
- package/lib/containers/destination-modal/choose-destination/index.d.ts +5 -5
- package/lib/containers/destination-modal/index.d.ts +5 -6
- package/lib/containers/destination-selection-form/destination-list/index.d.ts +8 -0
- package/lib/containers/destination-selection-form/index.d.ts +5 -9
- package/lib/containers/dropdowns/{connection-type-dropdown → condition-dropdown}/index.d.ts +5 -5
- package/lib/containers/dropdowns/error-dropdown/index.d.ts +2 -0
- package/lib/containers/dropdowns/index.d.ts +6 -7
- package/lib/containers/dropdowns/kind-dropdown/index.d.ts +2 -0
- package/lib/containers/dropdowns/language-dropdown/index.d.ts +2 -0
- package/lib/containers/dropdowns/namespace-dropdown/index.d.ts +2 -3
- package/lib/containers/index.d.ts +38 -33
- package/lib/containers/instrumentation-rule-drawer/build-card.d.ts +2 -8
- package/lib/containers/instrumentation-rule-form/custom-fields/custom-instrumentation.d.ts +5 -0
- package/lib/containers/instrumentation-rule-form/custom-fields/headers-collection.d.ts +5 -0
- package/lib/containers/instrumentation-rule-form/custom-fields/index.d.ts +2 -2
- package/lib/containers/instrumentation-rule-form/index.d.ts +1 -1
- package/lib/containers/multi-source-control/index.d.ts +2 -0
- package/lib/containers/notification-manager/index.d.ts +1 -2
- package/lib/containers/overview-drawer/index.d.ts +10 -4
- package/lib/containers/service-map/helpers/build-edges.d.ts +10 -0
- package/lib/containers/service-map/helpers/build-map-nodes.d.ts +11 -0
- package/lib/containers/service-map/helpers/generate-dag-positions.d.ts +5 -0
- package/lib/containers/service-map/helpers/generate-spiral-grid-position.d.ts +2 -0
- package/lib/containers/service-map/index.d.ts +8 -0
- package/lib/containers/setup-summary/index.d.ts +10 -0
- package/lib/containers/side-nav/index.d.ts +8 -8
- package/lib/containers/slack-invite/index.d.ts +1 -2
- package/lib/containers/source-drawer/build-card.d.ts +1 -6
- package/lib/containers/source-drawer/describe/index.d.ts +1 -1
- package/lib/containers/source-drawer/index.d.ts +7 -8
- package/lib/containers/source-drawer/libraries/index.d.ts +14 -0
- package/lib/containers/source-drawer/odigos-health/index.d.ts +6 -0
- package/lib/containers/source-modal/index.d.ts +3 -9
- package/lib/containers/source-selection-form/index.d.ts +4 -8
- package/lib/containers/source-selection-form/source-list/index.d.ts +8 -0
- package/lib/containers/system-overview/describe/index.d.ts +1 -1
- package/lib/containers/system-settings/index.d.ts +9 -0
- package/lib/containers/system-settings/settings/collector-gateway-settings.d.ts +4 -0
- package/lib/containers/system-settings/settings/collector-node-settings.d.ts +4 -0
- package/lib/containers/system-settings/settings/general-settings.d.ts +4 -0
- package/lib/containers/system-settings/settings/options.d.ts +5 -0
- package/lib/containers/system-settings/settings/rollback-settings.d.ts +4 -0
- package/lib/containers/system-settings/settings/styled.d.ts +8 -0
- package/lib/containers/system-settings/settings/types.d.ts +13 -0
- package/lib/containers/system-settings/settings/ui-settings.d.ts +4 -0
- package/lib/containers/table-cell-conditions/index.d.ts +1 -0
- package/lib/containers/toast-list/index.d.ts +1 -2
- package/lib/containers/toggle-dark-mode/index.d.ts +1 -2
- package/lib/containers/trace-view/build-spans.d.ts +2 -0
- package/lib/containers/trace-view/index.d.ts +9 -0
- package/lib/containers/trace-view/span/index.d.ts +38 -0
- package/lib/containers/trace-view/span-drawer/build-details-card.d.ts +3 -0
- package/lib/containers/trace-view/span-drawer/build-logs-card.d.ts +3 -0
- package/lib/containers/trace-view/span-drawer/build-process-card.d.ts +3 -0
- package/lib/containers/trace-view/span-drawer/build-tags-card.d.ts +3 -0
- package/lib/containers/trace-view/span-drawer/index.d.ts +9 -0
- package/lib/containers.js +285 -15711
- package/lib/functions/clean-object-empty-strings-values/index.d.ts +2 -1
- package/lib/functions/compare-condition/index.d.ts +3 -3
- package/lib/functions/filter-destinations-by-stream/index.d.ts +2 -0
- package/lib/functions/filter-sources-by-stream/index.d.ts +2 -0
- package/lib/functions/flatten-object-keys/index.d.ts +2 -1
- package/lib/functions/format-duration/index.d.ts +1 -0
- package/lib/functions/get-action-icon/index.d.ts +2 -2
- package/lib/functions/get-conditions-booleans/index.d.ts +6 -2
- package/lib/functions/get-destination-icon/index.d.ts +5 -1
- package/lib/functions/get-entity-icon/index.d.ts +2 -2
- package/lib/functions/get-entity-id/index.d.ts +2 -2
- package/lib/functions/get-entity-label/index.d.ts +2 -2
- package/lib/functions/get-id-from-sse-target/index.d.ts +2 -2
- package/lib/functions/get-instrumentation-rule-icon/index.d.ts +2 -2
- package/lib/functions/get-main-container-language/index.d.ts +2 -0
- package/lib/functions/get-metric-for-entity/index.d.ts +2 -2
- package/lib/functions/get-monitor-icon/index.d.ts +2 -2
- package/lib/functions/get-platform-icon/index.d.ts +2 -2
- package/lib/functions/get-platform-label/index.d.ts +2 -2
- package/lib/functions/get-programming-language-icon/index.d.ts +2 -2
- package/lib/functions/get-recursive-values/index.d.ts +4 -0
- package/lib/functions/get-sse-target-from-id/index.d.ts +2 -2
- package/lib/functions/get-status-icon/index.d.ts +3 -2
- package/lib/functions/get-status-type-from-odigos-health/index.d.ts +2 -0
- package/lib/functions/get-yaml-fields-for-destination/index.d.ts +2 -0
- package/lib/functions/has-unhealthy-instances/index.d.ts +2 -0
- package/lib/functions/index.d.ts +15 -1
- package/lib/functions/is-legal-k8s-label/index.d.ts +1 -0
- package/lib/functions/is-string-a-boolean/index.d.ts +1 -0
- package/lib/functions/is-valid-version/index.d.ts +1 -0
- package/lib/functions/map-destination-fields-for-display/index.d.ts +6 -0
- package/lib/functions/map-exported-signals/index.d.ts +2 -0
- package/lib/functions/numbers-only/index.d.ts +1 -0
- package/lib/functions/parse-boolean-from-string/index.d.ts +1 -0
- package/lib/functions/remove-empty-values-from-object/index.d.ts +2 -1
- package/lib/functions/safe-json-parse/index.d.ts +2 -1
- package/lib/functions/safe-json-stringify/index.d.ts +2 -1
- package/lib/functions/split-camel-string/index.d.ts +1 -1
- package/lib/functions/stringify-non-string-values/index.d.ts +2 -1
- package/lib/functions.js +1 -115
- package/lib/hooks/index.d.ts +3 -0
- package/lib/hooks/useActionFormData.d.ts +2 -2
- package/lib/hooks/useDataStreamFormData.d.ts +12 -0
- package/lib/hooks/useDestinationFormData.d.ts +1 -1
- package/lib/hooks/useGenericForm.d.ts +3 -1
- package/lib/hooks/useInstrumentationRuleFormData.d.ts +3 -6
- package/lib/hooks/usePopup.d.ts +17 -0
- package/lib/hooks/useSessionStorage.d.ts +5 -0
- package/lib/hooks/useSourceFormData.d.ts +2 -5
- package/lib/hooks/useSourceSelectionFormData.d.ts +19 -20
- package/lib/hooks.js +1 -13
- package/lib/icons/actions/index.d.ts +5 -5
- package/lib/icons/brand/index.d.ts +2 -2
- package/lib/icons/common/avatar-icon/index.d.ts +2 -0
- package/lib/icons/common/edited-icon/index.d.ts +2 -0
- package/lib/icons/common/gear-icon/index.d.ts +2 -0
- package/lib/icons/common/index.d.ts +30 -20
- package/lib/icons/common/refresh-arrows-icon/index.d.ts +2 -0
- package/lib/icons/common/refresh-left-arrow-icon/index.d.ts +2 -0
- package/lib/icons/common/refresh-right-arrow-icon/index.d.ts +2 -0
- package/lib/icons/common/rotate-arrows-icon/index.d.ts +2 -0
- package/lib/icons/common/user-group-icon/index.d.ts +2 -0
- package/lib/icons/common/user-icon/index.d.ts +2 -0
- package/lib/icons/common/user-settings-icon/index.d.ts +2 -0
- package/lib/icons/compute-platform/index.d.ts +2 -2
- package/lib/icons/destinations/alauda-logo/index.d.ts +2 -0
- package/lib/icons/destinations/alibaba-cloud-logo/index.d.ts +2 -0
- package/lib/icons/destinations/app-dynamics-logo/index.d.ts +2 -0
- package/lib/icons/destinations/aws-cloudwatch-logo/index.d.ts +2 -0
- package/lib/icons/destinations/aws-s3-logo/index.d.ts +2 -0
- package/lib/icons/destinations/aws-xray-logo/index.d.ts +2 -0
- package/lib/icons/destinations/axiom-logo/index.d.ts +2 -0
- package/lib/icons/destinations/better-stack-logo/index.d.ts +2 -0
- package/lib/icons/destinations/blob-storage-logo/index.d.ts +2 -0
- package/lib/icons/destinations/bonree-logo/index.d.ts +2 -0
- package/lib/icons/destinations/causely-logo/index.d.ts +2 -0
- package/lib/icons/destinations/checkly-logo/index.d.ts +2 -0
- package/lib/icons/destinations/chronosphere-logo/index.d.ts +2 -0
- package/lib/icons/destinations/clickhouse-logo/index.d.ts +2 -0
- package/lib/icons/destinations/coralogix-logo/index.d.ts +2 -0
- package/lib/icons/destinations/dash0-logo/index.d.ts +2 -0
- package/lib/icons/destinations/datadog-logo/index.d.ts +2 -0
- package/lib/icons/destinations/dynatrace-logo/index.d.ts +2 -0
- package/lib/icons/destinations/elastic-apm-logo/index.d.ts +2 -0
- package/lib/icons/destinations/elastic-search-logo/index.d.ts +2 -0
- package/lib/icons/destinations/gigapipe-logo/index.d.ts +2 -0
- package/lib/icons/destinations/google-cloud-platform-logo/index.d.ts +2 -0
- package/lib/icons/destinations/google-cloud-storage-logo/index.d.ts +2 -0
- package/lib/icons/destinations/grafana-logo/index.d.ts +2 -0
- package/lib/icons/destinations/greptime-logo/index.d.ts +2 -0
- package/lib/icons/destinations/groundcover-logo/index.d.ts +2 -0
- package/lib/icons/destinations/honeycomb-logo/index.d.ts +2 -0
- package/lib/icons/destinations/hyperdx-logo/index.d.ts +2 -0
- package/lib/icons/destinations/index.d.ts +60 -0
- package/lib/icons/destinations/instana-logo/index.d.ts +2 -0
- package/lib/icons/destinations/jaeger-logo/index.d.ts +2 -0
- package/lib/icons/destinations/kloudmate-logo/index.d.ts +2 -0
- package/lib/icons/destinations/last9-logo/index.d.ts +2 -0
- package/lib/icons/destinations/lightstep-logo/index.d.ts +2 -0
- package/lib/icons/destinations/logzio-logo/index.d.ts +2 -0
- package/lib/icons/destinations/loki-logo/index.d.ts +2 -0
- package/lib/icons/destinations/lumigo-logo/index.d.ts +2 -0
- package/lib/icons/destinations/middleware-logo/index.d.ts +2 -0
- package/lib/icons/destinations/new-relic-logo/index.d.ts +2 -0
- package/lib/icons/destinations/observe-logo/index.d.ts +2 -0
- package/lib/icons/destinations/odigos-destination-logo/index.d.ts +2 -0
- package/lib/icons/destinations/one-uptime-logo/index.d.ts +2 -0
- package/lib/icons/destinations/open-observe-logo/index.d.ts +2 -0
- package/lib/icons/destinations/open-telemetry-logo/index.d.ts +2 -0
- package/lib/icons/destinations/ops-verse-logo/index.d.ts +2 -0
- package/lib/icons/destinations/oracle-logo/index.d.ts +2 -0
- package/lib/icons/destinations/prometheus-logo/index.d.ts +2 -0
- package/lib/icons/destinations/qryn-logo/index.d.ts +2 -0
- package/lib/icons/destinations/quickwit-logo/index.d.ts +2 -0
- package/lib/icons/destinations/sentry-logo/index.d.ts +2 -0
- package/lib/icons/destinations/seq-logo/index.d.ts +2 -0
- package/lib/icons/destinations/signoz-logo/index.d.ts +2 -0
- package/lib/icons/destinations/splunk-logo/index.d.ts +2 -0
- package/lib/icons/destinations/sumo-logic-logo/index.d.ts +2 -0
- package/lib/icons/destinations/telemetry-hub-logo/index.d.ts +2 -0
- package/lib/icons/destinations/tempo-logo/index.d.ts +2 -0
- package/lib/icons/destinations/tingyun-logo/index.d.ts +2 -0
- package/lib/icons/destinations/traceloop-logo/index.d.ts +2 -0
- package/lib/icons/destinations/uptrace-logo/index.d.ts +2 -0
- package/lib/icons/destinations/victoria-metrics-logo/index.d.ts +2 -0
- package/lib/icons/index.d.ts +1 -0
- package/lib/icons/instrumentation-rules/custom-instrumentation-icon/index.d.ts +2 -0
- package/lib/icons/instrumentation-rules/headers-collection-icon/index.d.ts +2 -0
- package/lib/icons/instrumentation-rules/index.d.ts +4 -2
- package/lib/icons/math/index.d.ts +4 -2
- package/lib/icons/math/minus-circled-icon/index.d.ts +2 -0
- package/lib/icons/math/plus-circled-icon/index.d.ts +2 -0
- package/lib/icons/monitors/index.d.ts +3 -3
- package/lib/icons/on-off/index.d.ts +6 -6
- package/lib/icons/overview/data-streams-icon/index.d.ts +2 -0
- package/lib/icons/overview/index.d.ts +10 -8
- package/lib/icons/overview/namespaces-icon/index.d.ts +2 -0
- package/lib/icons/programming-languages/index.d.ts +0 -1
- package/lib/icons/social/index.d.ts +1 -1
- package/lib/icons/status/index.d.ts +8 -8
- package/lib/icons.js +1 -82
- package/lib/mock-data/config/index.d.ts +2 -0
- package/lib/{data → mock-data}/destinations/index.d.ts +1 -1
- package/lib/{data → mock-data}/index.d.ts +4 -0
- package/lib/mock-data/instrumentation-instances/index.d.ts +2 -0
- package/lib/mock-data/service-map/index.d.ts +2 -0
- package/lib/{data → mock-data}/sources/index.d.ts +8 -4
- package/lib/mock-data/traces/index.d.ts +2 -0
- package/lib/snippets/add-button/index.d.ts +8 -0
- package/lib/snippets/copy-text/index.d.ts +7 -0
- package/lib/snippets/edit-button/index.d.ts +7 -0
- package/lib/snippets/index.d.ts +7 -0
- package/lib/snippets/note-back-to-summary/index.d.ts +6 -0
- package/lib/snippets/pod-container/index.d.ts +5 -0
- package/lib/snippets/react-flow/edges/labeled-edge.d.ts +10 -0
- package/lib/{containers/data-flow → snippets/react-flow}/flow.d.ts +2 -0
- package/lib/snippets/react-flow/index.d.ts +13 -0
- package/lib/snippets/react-flow/nodes/add-node.d.ts +11 -0
- package/lib/snippets/react-flow/nodes/base-node.d.ts +21 -0
- package/lib/snippets/react-flow/nodes/edged-node.d.ts +9 -0
- package/lib/snippets/react-flow/nodes/frame-node.d.ts +9 -0
- package/lib/{containers/data-flow → snippets/react-flow}/nodes/header-node.d.ts +5 -5
- package/lib/snippets/react-flow/nodes/map-item-node.d.ts +12 -0
- package/lib/snippets/react-flow/nodes/no-data-node.d.ts +9 -0
- package/lib/snippets/react-flow/nodes/scroll-node.d.ts +15 -0
- package/lib/snippets/react-flow/nodes/skeleton-node.d.ts +8 -0
- package/lib/snippets/source-container/index.d.ts +7 -0
- package/lib/snippets/source-container/override-runtime.d.ts +9 -0
- package/lib/snippets.js +1 -0
- package/lib/store/index.d.ts +2 -0
- package/lib/store/useActiveNodeStore.d.ts +11 -0
- package/lib/store/useDarkMode.d.ts +5 -3
- package/lib/store/useDataStreamStore.d.ts +16 -0
- package/lib/store/useDrawerStore.d.ts +2 -2
- package/lib/store/useEntityStore.d.ts +8 -6
- package/lib/store/useFilterStore.d.ts +5 -2
- package/lib/store/usePendingStore.d.ts +2 -2
- package/lib/store/useSetupStore.d.ts +20 -26
- package/lib/store.js +1 -4
- package/lib/theme/index.d.ts +2 -3
- package/lib/theme/palletes/index.d.ts +2 -105
- package/lib/theme.js +1 -240
- package/lib/types/actions/index.d.ts +154 -68
- package/lib/types/common/index.d.ts +91 -76
- package/lib/types/config/index.d.ts +80 -0
- package/lib/types/data-flow/index.d.ts +17 -15
- package/lib/types/data-streams/index.d.ts +3 -0
- package/lib/types/describe/index.d.ts +7 -3
- package/lib/types/destinations/index.d.ts +89 -9
- package/lib/types/index.d.ts +5 -1
- package/lib/types/instrumentation-instances/index.d.ts +7 -0
- package/lib/types/instrumentation-rules/index.d.ts +65 -36
- package/lib/types/namespaces/index.d.ts +14 -0
- package/lib/types/service-map/index.d.ts +10 -0
- package/lib/types/signals/index.d.ts +5 -5
- package/lib/types/sources/index.d.ts +42 -20
- package/lib/types/traces/index.d.ts +38 -0
- package/lib/types.js +1 -166
- package/package.json +50 -40
- package/lib/components/auto-complete-input/auto-complete-input.stories.d.ts +0 -9
- package/lib/components/badge/badge.stories.d.ts +0 -13
- package/lib/components/button/button.stories.d.ts +0 -9
- package/lib/components/cancel-warning/cancel-warning.stories.d.ts +0 -9
- package/lib/components/checkbox/checkbox.stories.d.ts +0 -9
- package/lib/components/code/code.stories.d.ts +0 -9
- package/lib/components/condition-details/condition-details.stories.d.ts +0 -14
- package/lib/components/data-card/data-card.stories.d.ts +0 -10
- package/lib/components/data-tab/data-tab.stories.d.ts +0 -9
- package/lib/components/delete-warning/delete-warning.stories.d.ts +0 -9
- package/lib/components/describe-row/describe-row.stories.d.ts +0 -9
- package/lib/components/divider/divider.stories.d.ts +0 -9
- package/lib/components/docs-button/docs-button.stories.d.ts +0 -9
- package/lib/components/drawer/drawer.stories.d.ts +0 -10
- package/lib/components/dropdown/dropdown.stories.d.ts +0 -10
- package/lib/components/error-boundary/error-boundary.stories.d.ts +0 -9
- package/lib/components/extend-arrow/extend-arrow.stories.d.ts +0 -9
- package/lib/components/fade-loader/fade-loader.stories.d.ts +0 -9
- package/lib/components/field-error/field-error.stories.d.ts +0 -9
- package/lib/components/field-label/field-label.stories.d.ts +0 -9
- package/lib/components/header/header.stories.d.ts +0 -9
- package/lib/components/icon-button/icon-button.stories.d.ts +0 -9
- package/lib/components/icon-group/icon-group.stories.d.ts +0 -14
- package/lib/components/icon-title-badge/icon-title-badge.stories.d.ts +0 -9
- package/lib/components/icon-wrapped/icon-wrapped.stories.d.ts +0 -10
- package/lib/components/icons-nav/icons-nav.stories.d.ts +0 -9
- package/lib/components/image-controlled/image-controlled.stories.d.ts +0 -9
- package/lib/components/input/input.stories.d.ts +0 -9
- package/lib/components/input-list/input-list.stories.d.ts +0 -9
- package/lib/components/input-table/input-table.stories.d.ts +0 -9
- package/lib/components/interactive-table/interactive-table.stories.d.ts +0 -12
- package/lib/components/interactive-table/row.d.ts +0 -13
- package/lib/components/key-value-input-list/key-value-input-list.stories.d.ts +0 -9
- package/lib/components/modal/modal.stories.d.ts +0 -9
- package/lib/components/monitors-checkboxes/monitors-checkboxes.stories.d.ts +0 -9
- package/lib/components/monitors-icons/monitors-icons.stories.d.ts +0 -9
- package/lib/components/navigation-buttons/navigation-buttons.stories.d.ts +0 -9
- package/lib/components/no-data-found/no-data-found.stories.d.ts +0 -9
- package/lib/components/notification-note/notification-note.stories.d.ts +0 -10
- package/lib/components/section-title/section-title.stories.d.ts +0 -9
- package/lib/components/segment/segment.stories.d.ts +0 -9
- package/lib/components/skeleton-loader/skeleton-loader.stories.d.ts +0 -9
- package/lib/components/status/status.stories.d.ts +0 -9
- package/lib/components/stepper/stepper.stories.d.ts +0 -9
- package/lib/components/text/text.stories.d.ts +0 -9
- package/lib/components/textarea/textarea.stories.d.ts +0 -9
- package/lib/components/toggle/toggle.stories.d.ts +0 -9
- package/lib/components/tooltip/tooltip.stories.d.ts +0 -9
- package/lib/components/trace-loader/trace-loader.stories.d.ts +0 -9
- package/lib/components/warning-modal/warning-modal.stories.d.ts +0 -9
- package/lib/containers/action-drawer/action-drawer.stories.d.ts +0 -9
- package/lib/containers/action-form/action-form.stories.d.ts +0 -9
- package/lib/containers/action-modal/action-modal.stories.d.ts +0 -9
- package/lib/containers/action-table/action-table.stories.d.ts +0 -9
- package/lib/containers/await-pipeline/await-pipeline.stories.d.ts +0 -9
- package/lib/containers/compute-platform-select/compute-platform-select.stories.d.ts +0 -9
- package/lib/containers/compute-platform-select/index.d.ts +0 -10
- package/lib/containers/compute-platforms/compute-platforms.stories.d.ts +0 -9
- package/lib/containers/compute-platforms/index.d.ts +0 -8
- package/lib/containers/compute-platforms-actions-menu/compute-platforms-actions-menu.stories.d.ts +0 -9
- package/lib/containers/compute-platforms-actions-menu/index.d.ts +0 -7
- package/lib/containers/data-flow/data-flow.stories.d.ts +0 -9
- package/lib/containers/data-flow/edges/labeled-edge.d.ts +0 -10
- package/lib/containers/data-flow/helpers/get-main-container-language.d.ts +0 -2
- package/lib/containers/data-flow/nodes/add-node.d.ts +0 -11
- package/lib/containers/data-flow/nodes/base-node.d.ts +0 -21
- package/lib/containers/data-flow/nodes/edged-node.d.ts +0 -9
- package/lib/containers/data-flow/nodes/frame-node.d.ts +0 -9
- package/lib/containers/data-flow/nodes/scroll-node.d.ts +0 -26
- package/lib/containers/data-flow/nodes/skeleton-node.d.ts +0 -8
- package/lib/containers/data-flow-actions-menu/data-flow.stories.d.ts +0 -11
- package/lib/containers/data-flow-actions-menu/search/recent-searches/index.d.ts +0 -2
- package/lib/containers/destination-drawer/destination-drawer.stories.d.ts +0 -9
- package/lib/containers/destination-form/destination-form.stories.d.ts +0 -9
- package/lib/containers/destination-modal/choose-destination/potential-destinations-list/index.d.ts +0 -8
- package/lib/containers/destination-modal/destination-modal.stories.d.ts +0 -9
- package/lib/containers/destination-selection-form/configured-list/index.d.ts +0 -5
- package/lib/containers/destination-selection-form/destination-selection-form.stories.d.ts +0 -9
- package/lib/containers/destination-table/destination-table.stories.d.ts +0 -9
- package/lib/containers/dropdowns/connection-status-dropdown/connection-status-dropdown.stories.d.ts +0 -9
- package/lib/containers/dropdowns/connection-status-dropdown/index.d.ts +0 -15
- package/lib/containers/dropdowns/connection-type-dropdown/connection-type-dropdown.stories.d.ts +0 -9
- package/lib/containers/dropdowns/error-dropdown/error-dropdown.stories.d.ts +0 -9
- package/lib/containers/dropdowns/kind-dropdown/error-dropdown.stories.d.ts +0 -9
- package/lib/containers/dropdowns/language-dropdown/language-dropdown.stories.d.ts +0 -9
- package/lib/containers/dropdowns/monitor-dropdown/monitor-dropdown.stories.d.ts +0 -9
- package/lib/containers/dropdowns/namespace-dropdown/namespace-dropdown.stories.d.ts +0 -9
- package/lib/containers/instrumentation-rule-drawer/instrumentation-rule-drawer.stories.d.ts +0 -9
- package/lib/containers/instrumentation-rule-form/instrumentation-rule-form.stories.d.ts +0 -9
- package/lib/containers/instrumentation-rule-modal/instrumentation-rule-modal.stories.d.ts +0 -9
- package/lib/containers/instrumentation-rule-table/instrumentation-rule-table.stories.d.ts +0 -9
- package/lib/containers/multi-source-control/multi-source-control.stories.d.ts +0 -9
- package/lib/containers/notification-manager/notification-manager.stories.d.ts +0 -9
- package/lib/containers/overview-drawer/overview-drawer.stories.d.ts +0 -9
- package/lib/containers/side-nav/side-nav.stories.d.ts +0 -9
- package/lib/containers/slack-invite/slack-invite.stories.d.ts +0 -9
- package/lib/containers/source-drawer/source-drawer.stories.d.ts +0 -9
- package/lib/containers/source-form/source-form.stories.d.ts +0 -9
- package/lib/containers/source-modal/source-modal.stories.d.ts +0 -9
- package/lib/containers/source-selection-form/fast/controls/index.d.ts +0 -7
- package/lib/containers/source-selection-form/fast/index.d.ts +0 -7
- package/lib/containers/source-selection-form/fast/list/index.d.ts +0 -10
- package/lib/containers/source-selection-form/simple/controls/index.d.ts +0 -11
- package/lib/containers/source-selection-form/simple/index.d.ts +0 -7
- package/lib/containers/source-selection-form/simple/list/index.d.ts +0 -9
- package/lib/containers/source-selection-form/source-selection-form.stories.d.ts +0 -9
- package/lib/containers/source-table/source-table.stories.d.ts +0 -9
- package/lib/containers/system-overview/system-overview.stories.d.ts +0 -9
- package/lib/containers/table-cell-conditions/table-cell-conditions.stories.d.ts +0 -9
- package/lib/containers/toast-list/toast-list.stories.d.ts +0 -9
- package/lib/containers/toggle-dark-mode/toggle-dark-mode.stories.d.ts +0 -9
- package/lib/functions/derive-type-from-rule/index.d.ts +0 -2
- package/lib/icons/actions/add-cluster-info-icon/add-cluster-info-icon.stories.d.ts +0 -8
- package/lib/icons/actions/delete-attribute-icon/delete-attribute-icon.stories.d.ts +0 -8
- package/lib/icons/actions/pii-masking-icon/pii-masking-icon.stories.d.ts +0 -8
- package/lib/icons/actions/rename-attribute-icon/rename-attribute-icon.stories.d.ts +0 -8
- package/lib/icons/actions/sampler-icon/sampler-icon.stories.d.ts +0 -8
- package/lib/icons/brand/odigos-logo/odigos-logo.stories.d.ts +0 -8
- package/lib/icons/brand/odigos-logo-text/odigos-logo-text.stories.d.ts +0 -8
- package/lib/icons/common/arrow-icon/arrow-icon.stories.d.ts +0 -8
- package/lib/icons/common/code-brackets-icon/code-brackets-icon.stories.d.ts +0 -8
- package/lib/icons/common/code-icon/code-icon.stories.d.ts +0 -8
- package/lib/icons/common/command-icon/command-icon.stories.d.ts +0 -8
- package/lib/icons/common/copy-icon/copy-icon.stories.d.ts +0 -8
- package/lib/icons/common/edit-icon/edit-icon.stories.d.ts +0 -8
- package/lib/icons/common/extend-arrow-icon/extend-arrow-icon.stories.d.ts +0 -8
- package/lib/icons/common/filter-icon/filter-icon.stories.d.ts +0 -8
- package/lib/icons/common/folder-icon/folder-icon.stories.d.ts +0 -8
- package/lib/icons/common/image-error-icon/image-error-icon.stories.d.ts +0 -8
- package/lib/icons/common/key-icon/key-icon.stories.d.ts +0 -8
- package/lib/icons/common/list-icon/list-icon.stories.d.ts +0 -8
- package/lib/icons/common/no-data-icon/no-data-icon.stories.d.ts +0 -8
- package/lib/icons/common/notebook-icon/notebook-icon.stories.d.ts +0 -8
- package/lib/icons/common/notification-icon/notification-icon.stories.d.ts +0 -8
- package/lib/icons/common/search-icon/search-icon.stories.d.ts +0 -8
- package/lib/icons/common/sort-arrows-icon/sort-arrows-icon.stories.d.ts +0 -8
- package/lib/icons/common/terminal-icon/terminal-icon.stories.d.ts +0 -8
- package/lib/icons/common/trash-icon/trash-icon.stories.d.ts +0 -8
- package/lib/icons/common/x-icon/x-icon.stories.d.ts +0 -8
- package/lib/icons/compute-platform/k8s-logo/k8s-logo.stories.d.ts +0 -8
- package/lib/icons/compute-platform/vm-logo/vm-logo.stories.d.ts +0 -8
- package/lib/icons/instrumentation-rules/code-attributes-icon/code-attributes-icon.stories.d.ts +0 -8
- package/lib/icons/instrumentation-rules/payload-collection-icon/payload-collection-icon.stories.d.ts +0 -8
- package/lib/icons/math/minus-icon/minus-icon.stories.d.ts +0 -8
- package/lib/icons/math/plus-icon/plus-icon.stories.d.ts +0 -8
- package/lib/icons/monitors/logs-icon/logs-icon.stories.d.ts +0 -8
- package/lib/icons/monitors/metrics-icon/metrics-icon.stories.d.ts +0 -8
- package/lib/icons/monitors/traces-icon/traces-icon.stories.d.ts +0 -8
- package/lib/icons/on-off/eye-closed-icon/eye-closed-icon.stories.d.ts +0 -8
- package/lib/icons/on-off/eye-open-icon/eye-open-icon.stories.d.ts +0 -8
- package/lib/icons/on-off/light-off-icon/light-off-icon.stories.d.ts +0 -8
- package/lib/icons/on-off/light-on-icon/light-on-icon.stories.d.ts +0 -8
- package/lib/icons/on-off/moon-icon/moon-icon.stories.d.ts +0 -8
- package/lib/icons/on-off/sun-icon/sun-icon.stories.d.ts +0 -8
- package/lib/icons/overview/actions-icon/actions-icon.stories.d.ts +0 -8
- package/lib/icons/overview/connections-icon/connections-icon.stories.d.ts +0 -8
- package/lib/icons/overview/destinations-icon/destinations-icon.stories.d.ts +0 -8
- package/lib/icons/overview/overview-icon/overview-icon.stories.d.ts +0 -8
- package/lib/icons/overview/rules-icon/rules-icon.stories.d.ts +0 -8
- package/lib/icons/overview/service-map-icon/service-map-icon.stories.d.ts +0 -8
- package/lib/icons/overview/sources-icon/sources-icon.stories.d.ts +0 -8
- package/lib/icons/overview/trace-view-icon/trace-view-icon.stories.d.ts +0 -8
- package/lib/icons/programming-languages/c-plus-plus-logo/c-plus-plus-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/c-sharp-logo/c-sharp-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/dotnet-logo/dotnet-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/elixir-logo/elixir-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/go-logo/go-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/java-logo/java-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/kafka-logo/kafka-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/mysql-logo/mysql-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/nginx-logo/nginx-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/nodejs-logo/nodejs-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/php-logo/php-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/postgres-logo/postgres-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/python-logo/python-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/redis-logo/redis-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/ruby-logo/ruby-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/rust-logo/rust-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/swift-logo/swift-logo.stories.d.ts +0 -8
- package/lib/icons/social/slack-logo/slack-logo.stories.d.ts +0 -8
- package/lib/icons/status/check-circled-icon/check-circled-icon.stories.d.ts +0 -8
- package/lib/icons/status/check-icon/check-icon.stories.d.ts +0 -8
- package/lib/icons/status/cross-circled-icon/cross-circled-icon.stories.d.ts +0 -8
- package/lib/icons/status/cross-icon/cross-icon.stories.d.ts +0 -8
- package/lib/icons/status/error-round-icon/error-round-icon.stories.d.ts +0 -8
- package/lib/icons/status/error-triangle-icon/error-triangle-icon.stories.d.ts +0 -8
- package/lib/icons/status/info-icon/info-icon.stories.d.ts +0 -8
- package/lib/icons/status/warning-triangle-icon/warning-triangle-icon.stories.d.ts +0 -8
- package/lib/index-3KUV6Vlt.js +0 -89
- package/lib/index-BFct3S32.js +0 -22
- package/lib/index-BGlk5VhF.js +0 -69
- package/lib/index-BZS1ijMm.js +0 -30
- package/lib/index-Bc8gi9FH.js +0 -202
- package/lib/index-BjJpYtF1.js +0 -42
- package/lib/index-BumPE6cF.js +0 -37
- package/lib/index-CZe2VX28.js +0 -128
- package/lib/index-Cu2uHOuh.js +0 -44
- package/lib/index-DIcomki-.js +0 -671
- package/lib/index-D_Qn2U89.js +0 -138
- package/lib/index-g6Twdelv.js +0 -196
- package/lib/index-ixs381n-.js +0 -466
- package/lib/index-m62aT4IR.js +0 -29574
- package/lib/types/connection/index.d.ts +0 -7
- package/lib/useSourceSelectionFormData-BY6B70Kf.js +0 -561
- package/lib/useTransition-Dfxjcy-C.js +0 -3493
- /package/lib/icons/{programming-languages → destinations}/kafka-logo/index.d.ts +0 -0
- /package/lib/{data → mock-data}/actions/index.d.ts +0 -0
- /package/lib/{data → mock-data}/describe/index.d.ts +0 -0
- /package/lib/{data → mock-data}/instrumentation-rules/index.d.ts +0 -0
- /package/lib/{data → mock-data}/namespaces/index.d.ts +0 -0
- /package/lib/{data → mock-data}/tokens/index.d.ts +0 -0
- /package/lib/{containers/data-flow/helpers → snippets/react-flow}/node-config.d.ts +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type DestinationCategories } from '@/types';
|
|
3
|
+
interface DestinationListProps {
|
|
4
|
+
categories: DestinationCategories;
|
|
5
|
+
withDelete?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const DestinationList: FC<DestinationListProps>;
|
|
8
|
+
export { DestinationList, type DestinationListProps };
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
import type
|
|
3
|
-
import { type DestinationCategories, type DestinationFormData, type DestinationOption } from '@/types';
|
|
2
|
+
import { type TestConnectionFunc, type DestinationCategories, type DestinationOption } from '@/types';
|
|
4
3
|
interface DestinationSelectionFormProps {
|
|
5
|
-
categories: DestinationCategories;
|
|
6
|
-
potentialDestinations: DestinationOption[];
|
|
7
|
-
createDestination: (destination: DestinationFormData) => void;
|
|
8
|
-
isLoading: boolean;
|
|
9
|
-
testConnection: TestConnectionProps['testConnection'];
|
|
10
|
-
testLoading: TestConnectionProps['testLoading'];
|
|
11
|
-
testResult: TestConnectionProps['testResult'];
|
|
12
4
|
isSourcesListEmpty: boolean;
|
|
13
5
|
goToSources: () => void;
|
|
6
|
+
categories: DestinationCategories;
|
|
7
|
+
potentialDestinations: DestinationOption[];
|
|
8
|
+
testConnection: TestConnectionFunc;
|
|
9
|
+
onClickSummary?: () => void;
|
|
14
10
|
}
|
|
15
11
|
declare const DestinationSelectionForm: FC<DestinationSelectionFormProps>;
|
|
16
12
|
export { DestinationSelectionForm, type DestinationSelectionFormProps };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
import
|
|
2
|
+
import { Source } from '@/types';
|
|
3
3
|
import { type DropdownProps } from '@/components';
|
|
4
|
-
interface
|
|
5
|
-
|
|
4
|
+
interface ConditionDropdownProps {
|
|
5
|
+
sources: Source[];
|
|
6
6
|
title?: string;
|
|
7
7
|
value?: DropdownProps['options'];
|
|
8
8
|
onSelect: (val: DropdownProps['options'][0]) => void;
|
|
@@ -11,5 +11,5 @@ interface ConnectionTypeDropdownProps {
|
|
|
11
11
|
required?: boolean;
|
|
12
12
|
showSearch?: boolean;
|
|
13
13
|
}
|
|
14
|
-
declare const
|
|
15
|
-
export {
|
|
14
|
+
declare const ConditionDropdown: FC<ConditionDropdownProps>;
|
|
15
|
+
export { ConditionDropdown, type ConditionDropdownProps };
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { type Source } from '@/types';
|
|
2
3
|
import { type DropdownProps } from '@/components';
|
|
3
4
|
interface ErrorDropdownProps {
|
|
5
|
+
sources: Source[];
|
|
4
6
|
title?: string;
|
|
5
7
|
value?: DropdownProps['options'];
|
|
6
8
|
onSelect: (val: DropdownProps['options'][0]) => void;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './kind-dropdown/index';
|
|
1
|
+
export * from './condition-dropdown';
|
|
2
|
+
export * from './error-dropdown';
|
|
3
|
+
export * from './language-dropdown';
|
|
4
|
+
export * from './monitor-dropdown';
|
|
5
|
+
export * from './namespace-dropdown';
|
|
6
|
+
export * from './kind-dropdown';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
+
import type { Source } from '@/types';
|
|
2
3
|
import { type DropdownProps } from '@/components';
|
|
3
4
|
interface KindDropdownProps {
|
|
5
|
+
sources: Source[];
|
|
4
6
|
title?: string;
|
|
5
7
|
value?: DropdownProps['options'];
|
|
6
8
|
onSelect: (val: DropdownProps['options'][0]) => void;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
+
import { Source } from '@/types';
|
|
2
3
|
import { type DropdownProps } from '@/components';
|
|
3
4
|
interface LanguageDropdownProps {
|
|
5
|
+
sources: Source[];
|
|
4
6
|
title?: string;
|
|
5
7
|
value?: DropdownProps['options'];
|
|
6
8
|
onSelect: (val: DropdownProps['options'][0]) => void;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
+
import type { Namespace } from '@/types';
|
|
2
3
|
import { type DropdownProps } from '@/components';
|
|
3
4
|
interface NamespaceDropdownProps {
|
|
4
|
-
namespaces:
|
|
5
|
-
name: string;
|
|
6
|
-
}[];
|
|
5
|
+
namespaces: Namespace[];
|
|
7
6
|
title?: string;
|
|
8
7
|
value?: DropdownProps['options'];
|
|
9
8
|
onSelect: (val: DropdownProps['options'][0]) => void;
|
|
@@ -1,33 +1,38 @@
|
|
|
1
|
-
export * from './action-drawer
|
|
2
|
-
export * from './action-form
|
|
3
|
-
export * from './action-modal
|
|
4
|
-
export * from './action-table
|
|
5
|
-
export * from './await-pipeline
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './data-
|
|
10
|
-
export * from './data-
|
|
11
|
-
export * from './destination-drawer
|
|
12
|
-
export * from './destination-form
|
|
13
|
-
export * from './destination-modal
|
|
14
|
-
export * from './destination-selection-form
|
|
15
|
-
export * from './destination-table
|
|
16
|
-
export * from './dropdowns
|
|
17
|
-
export * from './instrumentation-rule-drawer
|
|
18
|
-
export * from './instrumentation-rule-form
|
|
19
|
-
export * from './instrumentation-rule-modal
|
|
20
|
-
export * from './instrumentation-rule-table
|
|
21
|
-
export * from './multi-source-control
|
|
22
|
-
export * from './notification-manager
|
|
23
|
-
export * from './overview-drawer
|
|
24
|
-
export * from './
|
|
25
|
-
export * from './
|
|
26
|
-
export * from './
|
|
27
|
-
export * from './
|
|
28
|
-
export * from './source-
|
|
29
|
-
export * from './source-
|
|
30
|
-
export * from './source-
|
|
31
|
-
export * from './
|
|
32
|
-
export * from './
|
|
33
|
-
export * from './
|
|
1
|
+
export * from './action-drawer';
|
|
2
|
+
export * from './action-form';
|
|
3
|
+
export * from './action-modal';
|
|
4
|
+
export * from './action-table';
|
|
5
|
+
export * from './await-pipeline';
|
|
6
|
+
export * from './data-flow';
|
|
7
|
+
export * from './data-flow-actions-menu';
|
|
8
|
+
export * from './data-stream-drawer';
|
|
9
|
+
export * from './data-stream-form';
|
|
10
|
+
export * from './data-stream-selection-form';
|
|
11
|
+
export * from './destination-drawer';
|
|
12
|
+
export * from './destination-form';
|
|
13
|
+
export * from './destination-modal';
|
|
14
|
+
export * from './destination-selection-form';
|
|
15
|
+
export * from './destination-table';
|
|
16
|
+
export * from './dropdowns';
|
|
17
|
+
export * from './instrumentation-rule-drawer';
|
|
18
|
+
export * from './instrumentation-rule-form';
|
|
19
|
+
export * from './instrumentation-rule-modal';
|
|
20
|
+
export * from './instrumentation-rule-table';
|
|
21
|
+
export * from './multi-source-control';
|
|
22
|
+
export * from './notification-manager';
|
|
23
|
+
export * from './overview-drawer';
|
|
24
|
+
export * from './service-map';
|
|
25
|
+
export * from './setup-summary';
|
|
26
|
+
export * from './side-nav';
|
|
27
|
+
export * from './slack-invite';
|
|
28
|
+
export * from './source-drawer';
|
|
29
|
+
export * from './source-form';
|
|
30
|
+
export * from './source-modal';
|
|
31
|
+
export * from './source-selection-form';
|
|
32
|
+
export * from './source-table';
|
|
33
|
+
export * from './system-overview';
|
|
34
|
+
export * from './system-settings';
|
|
35
|
+
export * from './table-cell-conditions';
|
|
36
|
+
export * from './toast-list';
|
|
37
|
+
export * from './toggle-dark-mode';
|
|
38
|
+
export * from './trace-view';
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import type
|
|
2
|
-
|
|
3
|
-
declare const buildCard: (rule: InstrumentationRule) => {
|
|
4
|
-
type?: DATA_CARD_FIELD_TYPES;
|
|
5
|
-
title?: string;
|
|
6
|
-
tooltip?: string;
|
|
7
|
-
value?: string | Record<string, any>;
|
|
8
|
-
}[];
|
|
1
|
+
import { type InstrumentationRule } from '@/types';
|
|
2
|
+
declare const buildCard: (rule: InstrumentationRule) => import("../../components/data-card/data-card-fields").DataCardField[];
|
|
9
3
|
export { buildCard };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type CustomFieldProps, type InstrumentationRuleFormData } from '@/types';
|
|
3
|
+
type CustomInstrumentationProps = CustomFieldProps<InstrumentationRuleFormData>;
|
|
4
|
+
declare const CustomInstrumentation: FC<CustomInstrumentationProps>;
|
|
5
|
+
export { CustomInstrumentation, type CustomInstrumentationProps };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type CustomFieldProps, type InstrumentationRuleFormData } from '@/types';
|
|
3
|
+
type HeadersCollectionProps = CustomFieldProps<InstrumentationRuleFormData>;
|
|
4
|
+
declare const HeadersCollection: FC<HeadersCollectionProps>;
|
|
5
|
+
export { HeadersCollection, type HeadersCollectionProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
import { type CustomFieldProps,
|
|
2
|
+
import { type CustomFieldProps, InstrumentationRuleType, type InstrumentationRuleFormData } from '@/types';
|
|
3
3
|
interface CustomFieldsProps extends CustomFieldProps<InstrumentationRuleFormData> {
|
|
4
|
-
ruleType?:
|
|
4
|
+
ruleType?: InstrumentationRuleType;
|
|
5
5
|
}
|
|
6
6
|
declare const CustomFields: FC<CustomFieldsProps>;
|
|
7
7
|
export { CustomFields, type CustomFieldsProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
import type
|
|
2
|
+
import { type InstrumentationRuleFormData, type InstrumentationRuleOption } from '@/types';
|
|
3
3
|
interface InstrumentationRuleFormProps {
|
|
4
4
|
isUpdate?: boolean;
|
|
5
5
|
rule: InstrumentationRuleOption;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { WorkloadId } from '@/types';
|
|
2
3
|
import { type SelectedState } from '@/store';
|
|
3
4
|
interface MultiSourceControlProps {
|
|
4
5
|
totalSourceCount: number;
|
|
5
6
|
uninstrumentSources: (payload: SelectedState['selectedSources']) => void;
|
|
7
|
+
restartWorkloads: (sourceIds: WorkloadId[]) => Promise<void>;
|
|
6
8
|
}
|
|
7
9
|
declare const MultiSourceControl: React.FC<MultiSourceControlProps>;
|
|
8
10
|
export { MultiSourceControl, type MultiSourceControlProps };
|
|
@@ -5,16 +5,22 @@ interface OverviewDrawerProps extends PropsWithChildren {
|
|
|
5
5
|
width?: number;
|
|
6
6
|
title: string;
|
|
7
7
|
titleTooltip?: string;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
hideEditTitleFromEdit?: boolean;
|
|
9
|
+
icons?: SVG[];
|
|
10
|
+
iconSrcs?: string[];
|
|
10
11
|
isEdit?: boolean;
|
|
11
12
|
isFormDirty?: boolean;
|
|
12
13
|
isLastItem?: boolean;
|
|
14
|
+
onClose?: () => void;
|
|
13
15
|
onEdit?: (bool?: boolean) => void;
|
|
14
16
|
onSave?: (newTitle: string) => void;
|
|
15
17
|
onDelete?: () => void;
|
|
16
18
|
onCancel?: () => void;
|
|
17
19
|
tabs?: DrawerProps['header']['tabs'];
|
|
20
|
+
headerActionButtons?: DrawerProps['header']['actionButtons'];
|
|
18
21
|
}
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
interface OverviewDrawerRef {
|
|
23
|
+
closeDrawer: () => void;
|
|
24
|
+
}
|
|
25
|
+
declare const OverviewDrawer: React.ForwardRefExoticComponent<OverviewDrawerProps & React.RefAttributes<OverviewDrawerRef>>;
|
|
26
|
+
export { OverviewDrawer, type OverviewDrawerProps, type OverviewDrawerRef };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DefaultTheme } from 'styled-components';
|
|
2
|
+
import { type Edge, type Node } from '@xyflow/react';
|
|
3
|
+
import { type ServiceMapSources } from '@/types';
|
|
4
|
+
interface Params {
|
|
5
|
+
theme: DefaultTheme;
|
|
6
|
+
nodes: Node[];
|
|
7
|
+
serviceMap: ServiceMapSources;
|
|
8
|
+
}
|
|
9
|
+
export declare const buildEdges: ({ theme, nodes, serviceMap }: Params) => Edge[];
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Node } from '@xyflow/react';
|
|
2
|
+
import { type Source, type ServiceMapSources } from '@/types';
|
|
3
|
+
interface Params {
|
|
4
|
+
sources: Source[];
|
|
5
|
+
sourcesLoading: boolean;
|
|
6
|
+
serviceMap: ServiceMapSources;
|
|
7
|
+
containerHeight: number;
|
|
8
|
+
containerWidth: number;
|
|
9
|
+
}
|
|
10
|
+
export declare const buildMapNodes: ({ sources, serviceMap, containerHeight, containerWidth }: Params) => Node[];
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { XYPosition } from '@xyflow/react';
|
|
2
|
+
import type { ServiceMapSources } from '@/types';
|
|
3
|
+
type PositionMap = Map<string, XYPosition>;
|
|
4
|
+
export declare const generateDAGPositions: (serviceMap: ServiceMapSources, containerWidth: number, _containerHeight: number) => PositionMap;
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type ServiceMapSources } from '@/types';
|
|
3
|
+
interface ServiceMapProps {
|
|
4
|
+
heightToRemove: number;
|
|
5
|
+
serviceMap: ServiceMapSources;
|
|
6
|
+
}
|
|
7
|
+
declare const ServiceMap: React.FC<ServiceMapProps>;
|
|
8
|
+
export { ServiceMap, type ServiceMapProps };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import type { DestinationCategories } from '@/types';
|
|
3
|
+
interface SetupSummaryProps {
|
|
4
|
+
onEditStream: () => void;
|
|
5
|
+
onEditSources: () => void;
|
|
6
|
+
onEditDestinations: () => void;
|
|
7
|
+
categories: DestinationCategories;
|
|
8
|
+
}
|
|
9
|
+
declare const SetupSummary: FC<SetupSummaryProps>;
|
|
10
|
+
export { SetupSummary, type SetupSummaryProps };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
2
|
import { type NavIcon } from '@/components';
|
|
3
|
-
declare enum
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
declare enum NavIconIds {
|
|
4
|
+
Overview = "overview",
|
|
5
|
+
InstrumentationRules = "InstrumentationRule",
|
|
6
|
+
Sources = "Source",
|
|
7
|
+
Actions = "Action",
|
|
8
|
+
Destinations = "Destination"
|
|
9
9
|
}
|
|
10
10
|
interface SideNavProps {
|
|
11
|
-
onClickId: (id:
|
|
11
|
+
onClickId: (id: NavIconIds) => void;
|
|
12
12
|
defaultSelectedId?: string;
|
|
13
13
|
extendedNavIcons?: NavIcon[];
|
|
14
14
|
}
|
|
15
15
|
declare const SideNav: FC<SideNavProps>;
|
|
16
|
-
export { SideNav, type SideNavProps,
|
|
16
|
+
export { SideNav, type SideNavProps, NavIconIds };
|
|
@@ -1,8 +1,3 @@
|
|
|
1
1
|
import type { Source } from '@/types';
|
|
2
|
-
declare const buildCard: (source: Source) =>
|
|
3
|
-
type?: import("@/components").DATA_CARD_FIELD_TYPES;
|
|
4
|
-
title?: string;
|
|
5
|
-
tooltip?: string;
|
|
6
|
-
value?: string | Record<string, any>;
|
|
7
|
-
}[];
|
|
2
|
+
declare const buildCard: (source: Source) => import("../../components/data-card/data-card-fields").DataCardField[];
|
|
8
3
|
export { buildCard };
|
|
@@ -2,7 +2,7 @@ import { type FC } from 'react';
|
|
|
2
2
|
import { type DescribeSource, type Source, type WorkloadId } from '@/types';
|
|
3
3
|
interface DescribeProps {
|
|
4
4
|
source: Source;
|
|
5
|
-
|
|
5
|
+
fetchSourceDescribe: (req: {
|
|
6
6
|
variables: WorkloadId;
|
|
7
7
|
}) => Promise<{
|
|
8
8
|
data?: {
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type DescribeProps } from './describe';
|
|
3
|
+
import { type LibrariesProps } from './libraries';
|
|
4
|
+
import { type PersistSources, type SourceFormData, type WorkloadId, type Source } from '@/types';
|
|
3
5
|
interface SourceDrawerProps {
|
|
4
6
|
persistSources: PersistSources;
|
|
5
7
|
updateSource: (sourceId: WorkloadId, payload: SourceFormData) => Promise<void>;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
describeSource: DescribeSource;
|
|
11
|
-
};
|
|
12
|
-
}>;
|
|
8
|
+
restartWorkloads: (sourceIds: WorkloadId[]) => Promise<void>;
|
|
9
|
+
fetchSourceById: (id: WorkloadId, bypassPaginationLoader?: boolean) => Promise<Source | undefined>;
|
|
10
|
+
fetchSourceDescribe: DescribeProps['fetchSourceDescribe'];
|
|
11
|
+
fetchSourceLibraries: LibrariesProps['fetchSourceLibraries'];
|
|
13
12
|
}
|
|
14
13
|
declare const SourceDrawer: FC<SourceDrawerProps>;
|
|
15
14
|
export { SourceDrawer, type SourceDrawerProps };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type InstrumentationInstanceComponent, type Source, type WorkloadId } from '@/types';
|
|
3
|
+
interface LibrariesProps {
|
|
4
|
+
source: Source;
|
|
5
|
+
fetchSourceLibraries: (req: {
|
|
6
|
+
variables: WorkloadId;
|
|
7
|
+
}) => Promise<{
|
|
8
|
+
data?: {
|
|
9
|
+
instrumentationInstanceComponents: InstrumentationInstanceComponent[];
|
|
10
|
+
};
|
|
11
|
+
}>;
|
|
12
|
+
}
|
|
13
|
+
declare const Libraries: FC<LibrariesProps>;
|
|
14
|
+
export { Libraries, type LibrariesProps };
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { type
|
|
3
|
-
import { type SourceSelectionFormProps } from '../source-selection-form';
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type FetchSingleNamespace, type PersistSources } from '@/types';
|
|
4
3
|
interface SourceModalProps {
|
|
5
|
-
|
|
6
|
-
namespaces: Namespace[];
|
|
7
|
-
namespace?: Namespace;
|
|
8
|
-
namespacesLoading: boolean;
|
|
9
|
-
selectedNamespace: string;
|
|
10
|
-
setSelectedNamespace: Dispatch<SetStateAction<string>>;
|
|
4
|
+
fetchSingleNamespace: FetchSingleNamespace;
|
|
11
5
|
persistSources: PersistSources;
|
|
12
6
|
}
|
|
13
7
|
declare const SourceModal: FC<SourceModalProps>;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type
|
|
3
|
-
import type
|
|
2
|
+
import { type FetchSingleNamespace } from '@/types';
|
|
3
|
+
import { type AvailableSourcesByNamespace, type NamespaceSelectionFormData, type SourceSelectionFormData } from '@/store';
|
|
4
4
|
interface SourceSelectionFormProps {
|
|
5
|
-
componentType: 'SIMPLE' | 'FAST';
|
|
6
5
|
isModal?: boolean;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
namespacesLoading: boolean;
|
|
10
|
-
selectedNamespace: string;
|
|
11
|
-
onSelectNamespace: (namespace: string) => void;
|
|
6
|
+
fetchSingleNamespace: FetchSingleNamespace;
|
|
7
|
+
onClickSummary?: () => void;
|
|
12
8
|
}
|
|
13
9
|
interface SourceSelectionFormRef {
|
|
14
10
|
getFormValues: () => {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import type { UseSourceSelectionFormData } from '@/hooks';
|
|
3
|
+
interface SourceListProps extends Partial<UseSourceSelectionFormData> {
|
|
4
|
+
isModal?: boolean;
|
|
5
|
+
withInstances?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const SourceList: FC<SourceListProps>;
|
|
8
|
+
export { SourceList, type SourceListProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { InstallationMethod, type OdigosConfig } from '@/types';
|
|
3
|
+
interface SystemSettingsProps {
|
|
4
|
+
installationMethod: InstallationMethod;
|
|
5
|
+
fetchSettings: () => Promise<OdigosConfig | undefined>;
|
|
6
|
+
onSave: (payload: OdigosConfig) => Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
declare const SystemSettings: FC<SystemSettingsProps>;
|
|
9
|
+
export { SystemSettings, type SystemSettingsProps };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { DropdownOption } from '@/components';
|
|
2
|
+
import { AgentEnvVarsInjectionMethod, MountMethod, Profile } from '@/types';
|
|
3
|
+
export declare const MOUNT_METHOD_OPTIONS: DropdownOption<MountMethod>[];
|
|
4
|
+
export declare const AGENT_ENV_VARS_INJECTION_METHOD_OPTIONS: DropdownOption<AgentEnvVarsInjectionMethod>[];
|
|
5
|
+
export declare const PROFILE_OPTIONS: DropdownOption<Profile>[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const Card: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
export declare const CardTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("@/components").TextProps, never>> & string & Omit<import("react").FC<import("@/components").TextProps>, keyof import("react").Component<any, {}, any>>;
|
|
3
|
+
export declare const RowOfFields: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$gap" | "$alignItems" | "$justifyContent" | "$wrap"> & {
|
|
4
|
+
$gap?: number;
|
|
5
|
+
$alignItems?: import("styled-components").CSSProperties["alignItems"];
|
|
6
|
+
$justifyContent?: import("styled-components").CSSProperties["justifyContent"];
|
|
7
|
+
$wrap?: import("styled-components").CSSProperties["flexWrap"];
|
|
8
|
+
}, never>> & string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { OdigosConfig } from '@/types';
|
|
2
|
+
export declare enum SettingsTabs {
|
|
3
|
+
General = "General",
|
|
4
|
+
Ui = "UI",
|
|
5
|
+
Rollback = "Rollback",
|
|
6
|
+
CollectorNode = "Collector Node",
|
|
7
|
+
CollectorGateway = "Collector Gateway"
|
|
8
|
+
}
|
|
9
|
+
export interface SettingsProps {
|
|
10
|
+
isAdvanced: boolean;
|
|
11
|
+
formData: OdigosConfig;
|
|
12
|
+
handleFormChange: (key: keyof OdigosConfig | string, value: any) => void;
|
|
13
|
+
}
|
|
@@ -2,6 +2,7 @@ import { type FC } from 'react';
|
|
|
2
2
|
import { type Condition } from '@/types';
|
|
3
3
|
interface TableCellConditionsProps {
|
|
4
4
|
conditions: Condition[];
|
|
5
|
+
id: string;
|
|
5
6
|
}
|
|
6
7
|
declare const TableCellConditions: FC<TableCellConditionsProps>;
|
|
7
8
|
export { TableCellConditions, type TableCellConditionsProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import type { Trace } from '@/types';
|
|
3
|
+
interface TraceViewProps {
|
|
4
|
+
heightToRemove: number;
|
|
5
|
+
traces: Trace[];
|
|
6
|
+
isLoading: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const TraceView: FC<TraceViewProps>;
|
|
9
|
+
export { TraceView, type TraceViewProps };
|