@odigos/ui-kit 0.0.10 → 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 +849 -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 +6 -4
- 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 +23 -4
- 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 +89 -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 +289 -15709
- 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-BjJpYtF1.js +0 -42
- package/lib/index-BumPE6cF.js +0 -37
- package/lib/index-CZe2VX28.js +0 -128
- package/lib/index-DB1gmCsH.js +0 -202
- package/lib/index-DIcomki-.js +0 -671
- package/lib/index-D_Qn2U89.js +0 -138
- package/lib/index-DnmWFsTQ.js +0 -45
- package/lib/index-Do8ODRlA.js +0 -29597
- package/lib/index-eF2JXMVR.js +0 -196
- package/lib/index-ixs381n-.js +0 -466
- package/lib/types/connection/index.d.ts +0 -7
- package/lib/useSourceSelectionFormData-CxdOP9FT.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
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { AnyObj } from '@/types';
|
|
2
|
+
export declare const cleanObjectEmptyStringsValues: (obj: AnyObj) => AnyObj;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const compareCondition: (renderCondition:
|
|
1
|
+
import { SignalType, YamlCompareArr } from '@/types';
|
|
2
|
+
export declare const compareCondition: (renderCondition: YamlCompareArr, signals: SignalType[], fields: {
|
|
3
3
|
name: string;
|
|
4
|
-
value
|
|
4
|
+
value?: string;
|
|
5
5
|
}[]) => boolean;
|
|
@@ -29,4 +29,5 @@
|
|
|
29
29
|
* 'name.explain': '...',
|
|
30
30
|
* }
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
import type { AnyObj } from '@/types';
|
|
33
|
+
export declare const flattenObjectKeys: (obj: AnyObj, prefix?: string, result?: AnyObj) => AnyObj;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const formatDuration: (durationNanoseconds?: number) => string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const getActionIcon: (type:
|
|
1
|
+
import { ActionCategory, ActionType, type SVG } from '@/types';
|
|
2
|
+
export declare const getActionIcon: (type: ActionType | ActionCategory) => SVG;
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StatusType, type Condition } from '@/types';
|
|
2
2
|
export declare const getConditionsBooleans: (conditions: Condition[]) => {
|
|
3
|
+
errors: Condition[];
|
|
3
4
|
hasErrors: boolean;
|
|
5
|
+
warnings: Condition[];
|
|
4
6
|
hasWarnings: boolean;
|
|
7
|
+
disableds: Condition[];
|
|
5
8
|
hasDisableds: boolean;
|
|
9
|
+
loadings: Condition[];
|
|
6
10
|
hasLoadings: boolean;
|
|
7
|
-
priorotizedStatus:
|
|
11
|
+
priorotizedStatus: StatusType | undefined;
|
|
8
12
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const getEntityIcon: (type:
|
|
1
|
+
import { EntityTypes, type SVG } from '@/types';
|
|
2
|
+
export declare const getEntityIcon: (type: EntityTypes) => SVG;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { WorkloadId } from '@/types';
|
|
2
|
-
export declare const getEntityId: (item:
|
|
1
|
+
import type { AnyObj, WorkloadId } from '@/types';
|
|
2
|
+
export declare const getEntityId: (item: AnyObj) => string | WorkloadId | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const getEntityLabel: (entity:
|
|
1
|
+
import { type AnyObj, EntityTypes } from '@/types';
|
|
2
|
+
export declare const getEntityLabel: (entity: AnyObj, entityType: EntityTypes, options?: {
|
|
3
3
|
extended?: boolean;
|
|
4
4
|
prioritizeDisplayName?: boolean;
|
|
5
5
|
}) => string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const getIdFromSseTarget: (target: string, type:
|
|
1
|
+
import { EntityTypes, type WorkloadId } from '@/types';
|
|
2
|
+
export declare const getIdFromSseTarget: (target: string, type: EntityTypes) => string | WorkloadId;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const getInstrumentationRuleIcon: (type:
|
|
1
|
+
import { InstrumentationRuleType, type SVG } from '@/types';
|
|
2
|
+
export declare const getInstrumentationRuleIcon: (type: InstrumentationRuleType) => SVG;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const getMetricForEntity: (metrics: Metrics, entityType:
|
|
1
|
+
import { EntityTypes, type Metric, type Metrics, type WorkloadId } from '@/types';
|
|
2
|
+
export declare const getMetricForEntity: (metrics: Metrics, entityType: EntityTypes.Source | EntityTypes.Destination, entityId: string | WorkloadId) => Metric;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const getMonitorIcon: (type:
|
|
1
|
+
import { SignalType, type SVG } from '@/types';
|
|
2
|
+
export declare const getMonitorIcon: (type: SignalType) => SVG;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const getPlatformIcon: (type?:
|
|
1
|
+
import { PlatformType, type SVG } from '@/types';
|
|
2
|
+
export declare const getPlatformIcon: (type?: PlatformType) => SVG;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const getPlatformLabel: (type?:
|
|
1
|
+
import { PlatformType } from '@/types';
|
|
2
|
+
export declare const getPlatformLabel: (type?: PlatformType) => string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const getProgrammingLanguageIcon: (language:
|
|
1
|
+
import { ProgrammingLanguages, type SVG } from '@/types';
|
|
2
|
+
export declare const getProgrammingLanguageIcon: (language: ProgrammingLanguages) => SVG;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
type RecrusiveObject = Record<string, RecrusiveObject[]>;
|
|
2
|
+
type ReturnObject = Record<string, unknown>;
|
|
3
|
+
export declare const getRecursiveValues: <RootItem = RecrusiveObject, ReturnItem = ReturnObject>(obj: RootItem, childrenKey: keyof RootItem, returnKey: keyof RootItem) => ReturnItem[];
|
|
4
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const getSseTargetFromId: (id: string | WorkloadId, type:
|
|
1
|
+
import { EntityTypes, type WorkloadId } from '@/types';
|
|
2
|
+
export declare const getSseTargetFromId: (id: string | WorkloadId, type: EntityTypes) => string;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { StatusType, type SVG } from '@/types';
|
|
2
|
+
import type { DefaultTheme } from 'styled-components';
|
|
3
|
+
export declare const getStatusIcon: (type: StatusType, theme: DefaultTheme) => SVG;
|
package/lib/functions/index.d.ts
CHANGED
|
@@ -2,12 +2,14 @@ export * from './capitalize-first-letter';
|
|
|
2
2
|
export * from './clean-object-empty-strings-values';
|
|
3
3
|
export * from './compare-condition';
|
|
4
4
|
export * from './deep-clone';
|
|
5
|
-
export * from './derive-type-from-rule';
|
|
6
5
|
export * from './filter-actions';
|
|
7
6
|
export * from './filter-destinations';
|
|
7
|
+
export * from './filter-destinations-by-stream';
|
|
8
8
|
export * from './filter-sources';
|
|
9
|
+
export * from './filter-sources-by-stream';
|
|
9
10
|
export * from './flatten-object-keys';
|
|
10
11
|
export * from './format-bytes';
|
|
12
|
+
export * from './format-duration';
|
|
11
13
|
export * from './get-action-icon';
|
|
12
14
|
export * from './get-conditions-booleans';
|
|
13
15
|
export * from './get-containers-counts';
|
|
@@ -18,19 +20,31 @@ export * from './get-entity-id';
|
|
|
18
20
|
export * from './get-entity-label';
|
|
19
21
|
export * from './get-id-from-sse-target';
|
|
20
22
|
export * from './get-instrumentation-rule-icon';
|
|
23
|
+
export * from './get-main-container-language';
|
|
21
24
|
export * from './get-metric-for-entity';
|
|
22
25
|
export * from './get-monitor-icon';
|
|
23
26
|
export * from './get-platform-icon';
|
|
24
27
|
export * from './get-platform-label';
|
|
25
28
|
export * from './get-programming-language-icon';
|
|
29
|
+
export * from './get-recursive-values';
|
|
26
30
|
export * from './get-sse-target-from-id';
|
|
27
31
|
export * from './get-status-icon';
|
|
32
|
+
export * from './get-status-type-from-odigos-health';
|
|
28
33
|
export * from './get-value-for-range';
|
|
29
34
|
export * from './get-workload-id';
|
|
35
|
+
export * from './get-yaml-fields-for-destination';
|
|
36
|
+
export * from './has-unhealthy-instances';
|
|
30
37
|
export * from './is-emtpy';
|
|
38
|
+
export * from './is-legal-k8s-label';
|
|
31
39
|
export * from './is-over-time';
|
|
40
|
+
export * from './is-string-a-boolean';
|
|
32
41
|
export * from './is-time-elapsed';
|
|
42
|
+
export * from './is-valid-version';
|
|
33
43
|
export * from './map-conditions';
|
|
44
|
+
export * from './map-destination-fields-for-display';
|
|
45
|
+
export * from './map-exported-signals';
|
|
46
|
+
export * from './numbers-only';
|
|
47
|
+
export * from './parse-boolean-from-string';
|
|
34
48
|
export * from './parse-json-string-to-pretty-string';
|
|
35
49
|
export * from './remove-empty-values-from-object';
|
|
36
50
|
export * from './safe-json-parse';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isLegalK8sLabel: (name: string) => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isStringABoolean: (value: boolean | string | number) => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isValidVersion: (version: string) => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const numbersOnly: (value: string) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const parseBooleanFromString: (value: boolean | string | number) => boolean;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { AnyObj } from '@/types';
|
|
2
|
+
export declare const removeEmptyValuesFromObject: (obj: AnyObj) => AnyObj;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { AnyObj } from '@/types';
|
|
2
|
+
export declare function safeJsonParse<T = AnyObj>(val: T | string | undefined, fallback: T): T;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { AnyObj } from '@/types';
|
|
2
|
+
export declare const safeJsonStringify: (obj?: AnyObj, indent?: number) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const splitCamelString: (str
|
|
1
|
+
export declare const splitCamelString: (str?: string | null) => string;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { AnyObj } from '@/types';
|
|
2
|
+
export declare const stringifyNonStringValues: (obj: AnyObj) => Record<string, string>;
|
package/lib/functions.js
CHANGED
|
@@ -1,115 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export { c as compareCondition, f as filterActions, a as filterDestinations, b as filterSources, d as formatBytes, g as getConditionsBooleans, h as getContainersIcons, e as getContainersInstrumentedCount, i as getEntityIcon, j as getEntityLabel, k as getMetricForEntity, l as getPlatformIcon, m as getPlatformLabel, n as getValueForRange, o as isOverTime, s as sleep } from './index-eF2JXMVR.js';
|
|
3
|
-
import { INSTRUMENTATION_RULE_TYPE, ENTITY_TYPES } from './types.js';
|
|
4
|
-
export { g as getActionIcon, a as getInstrumentationRuleIcon } from './index-BumPE6cF.js';
|
|
5
|
-
export { k as getEntityId, l as isTimeElapsed } from './index-DIcomki-.js';
|
|
6
|
-
export { g as getIdFromSseTarget } from './index-BFct3S32.js';
|
|
7
|
-
export { i as isEmpty, s as safeJsonParse } from './index-BZS1ijMm.js';
|
|
8
|
-
import 'react';
|
|
9
|
-
import 'styled-components';
|
|
10
|
-
import './index-BGlk5VhF.js';
|
|
11
|
-
import './theme.js';
|
|
12
|
-
import './index-ixs381n-.js';
|
|
13
|
-
import './index-BjJpYtF1.js';
|
|
14
|
-
|
|
15
|
-
const cleanObjectEmptyStringsValues = (obj) => {
|
|
16
|
-
const cleanArray = (arr) => arr.filter((item) => {
|
|
17
|
-
if (typeof item === 'object' && item !== null) {
|
|
18
|
-
return item.key !== '' && item.value !== '';
|
|
19
|
-
}
|
|
20
|
-
return item !== '';
|
|
21
|
-
});
|
|
22
|
-
const cleanObject = (o) => Object.fromEntries(Object.entries(o)
|
|
23
|
-
.filter(([key, value]) => key !== '' && value !== '')
|
|
24
|
-
.map(([key, value]) => {
|
|
25
|
-
if (Array.isArray(value))
|
|
26
|
-
return [key, cleanArray(value)];
|
|
27
|
-
else if (typeof value === 'object' && value !== null)
|
|
28
|
-
return [key, cleanObject(value)];
|
|
29
|
-
return [key, value];
|
|
30
|
-
}));
|
|
31
|
-
return Object.entries(obj).reduce((acc, [key, value]) => {
|
|
32
|
-
try {
|
|
33
|
-
const parsed = JSON.parse(value);
|
|
34
|
-
if (Array.isArray(parsed)) {
|
|
35
|
-
acc[key] = JSON.stringify(cleanArray(parsed));
|
|
36
|
-
}
|
|
37
|
-
else if (typeof parsed === 'object' && parsed !== null) {
|
|
38
|
-
acc[key] = JSON.stringify(cleanObject(parsed));
|
|
39
|
-
}
|
|
40
|
-
else {
|
|
41
|
-
acc[key] = value;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
catch (error) {
|
|
45
|
-
// Handle non-stringified objects or arrays directly
|
|
46
|
-
if (typeof value === 'object' && value !== null) {
|
|
47
|
-
if (Array.isArray(value))
|
|
48
|
-
acc[key] = JSON.stringify(cleanArray(value));
|
|
49
|
-
else
|
|
50
|
-
acc[key] = JSON.stringify(cleanObject(value));
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
// In case JSON.parse fails, assume value is a plain string or non-object/array
|
|
54
|
-
acc[key] = value;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
return acc;
|
|
58
|
-
}, {});
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
const deepClone = (item) => {
|
|
62
|
-
return JSON.parse(JSON.stringify(item));
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
const deriveTypeFromRule = (rule) => {
|
|
66
|
-
const allKeysAreNull = (obj) => Object.values(obj).every((v) => v === null);
|
|
67
|
-
if (rule.payloadCollection && !allKeysAreNull(rule.payloadCollection)) {
|
|
68
|
-
return INSTRUMENTATION_RULE_TYPE.PAYLOAD_COLLECTION;
|
|
69
|
-
}
|
|
70
|
-
else if (rule.codeAttributes && !allKeysAreNull(rule.codeAttributes)) {
|
|
71
|
-
return INSTRUMENTATION_RULE_TYPE.CODE_ATTRIBUTES;
|
|
72
|
-
}
|
|
73
|
-
return INSTRUMENTATION_RULE_TYPE.UNKNOWN_TYPE;
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
const getDestinationIcon = (destinationType) => {
|
|
77
|
-
// const BASE_URL = 'https://d15jtxgb40qetw.cloudfront.net/'
|
|
78
|
-
const BASE_URL = 'https://odigos-destinations.s3.us-east-2.amazonaws.com/';
|
|
79
|
-
return `${BASE_URL}${destinationType}.svg`;
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
const getSseTargetFromId = (id, type) => {
|
|
83
|
-
switch (type) {
|
|
84
|
-
case ENTITY_TYPES.SOURCE: {
|
|
85
|
-
let target = '';
|
|
86
|
-
Object.entries(id).forEach(([key, value]) => {
|
|
87
|
-
target += `${key}=${value}&`;
|
|
88
|
-
});
|
|
89
|
-
target.slice(0, -1);
|
|
90
|
-
return target;
|
|
91
|
-
}
|
|
92
|
-
default:
|
|
93
|
-
return id;
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
|
|
97
|
-
const getWorkloadId = ({ namespace, name, kind }) => {
|
|
98
|
-
return { namespace, name, kind };
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
const stringifyNonStringValues = (obj) => {
|
|
102
|
-
return Object.entries(obj).reduce((acc, [key, value]) => {
|
|
103
|
-
// Check if the value is already a string
|
|
104
|
-
if (typeof value === 'string') {
|
|
105
|
-
acc[key] = value;
|
|
106
|
-
}
|
|
107
|
-
else {
|
|
108
|
-
// If not, stringify the value
|
|
109
|
-
acc[key] = JSON.stringify(value);
|
|
110
|
-
}
|
|
111
|
-
return acc;
|
|
112
|
-
}, {});
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
export { cleanObjectEmptyStringsValues, deepClone, deriveTypeFromRule, getDestinationIcon, getSseTargetFromId, getWorkloadId, stringifyNonStringValues };
|
|
1
|
+
export{b0 as capitalizeFirstLetter,b_ as cleanObjectEmptyStringsValues,aV as compareCondition,b3 as deepClone,a3 as filterActions,ay as filterDestinations,ax as filterDestinationsByStream,aw as filterSources,av as filterSourcesByStream,b$ as flattenObjectKeys,aj as formatBytes,bK as formatDuration,z as getActionIcon,X as getConditionsBooleans,ao as getContainersIcons,bA as getContainersInstrumentedCount,ar as getDestinationIcon,aa as getEntityIcon,aF as getEntityId,a5 as getEntityLabel,c0 as getIdFromSseTarget,an as getInstrumentationRuleIcon,c1 as getMainContainerLanguage,b6 as getMetricForEntity,c2 as getMonitorIcon,c3 as getPlatformIcon,c4 as getPlatformLabel,bd as getProgrammingLanguageIcon,bM as getRecursiveValues,c5 as getSseTargetFromId,a1 as getStatusIcon,bn as getStatusTypeFromOdigosHealth,ap as getValueForRange,bi as getWorkloadId,a_ as getYamlFieldsForDestination,bo as hasUnhealthyInstances,i as isEmpty,c6 as isLegalK8sLabel,bB as isOverTime,bs as isStringABoolean,c7 as isTimeElapsed,c8 as isValidVersion,_ as mapConditions,aU as mapDestinationFieldsForDisplay,aq as mapExportedSignals,c9 as numbersOnly,bt as parseBooleanFromString,ca as parseJsonStringToPrettyString,cb as removeEmptyValuesFromObject,aW as safeJsonParse,cc as safeJsonStringify,ah as sleep,aH as splitCamelString,cd as stringifyNonStringValues}from"./chunks/ui-components-f51830d4.js";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-1dea551d.js";import"styled-components";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
package/lib/hooks/index.d.ts
CHANGED
|
@@ -3,11 +3,14 @@ export * from './useClickNode';
|
|
|
3
3
|
export * from './useClickNotification';
|
|
4
4
|
export * from './useContainerSize';
|
|
5
5
|
export * from './useCopy';
|
|
6
|
+
export * from './useDataStreamFormData';
|
|
6
7
|
export * from './useDestinationFormData';
|
|
7
8
|
export * from './useGenericForm';
|
|
8
9
|
export * from './useInstrumentationRuleFormData';
|
|
9
10
|
export * from './useKeyDown';
|
|
10
11
|
export * from './useOnClickOutside';
|
|
12
|
+
export * from './usePopup';
|
|
13
|
+
export * from './useSessionStorage';
|
|
11
14
|
export * from './useSourceFormData';
|
|
12
15
|
export * from './useSourceSelectionFormData';
|
|
13
16
|
export * from './useTimeAgo';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { type Action, type ActionFormData } from '@/types';
|
|
2
2
|
export declare const useActionFormData: () => {
|
|
3
3
|
formData: ActionFormData;
|
|
4
|
-
formErrors: Partial<Record<
|
|
4
|
+
formErrors: Partial<Record<"disabled" | "type" | "name" | "notes" | "signals" | "fields", string>>;
|
|
5
5
|
handleFormChange: (key?: string | undefined, val?: any, obj?: ActionFormData | undefined) => void;
|
|
6
6
|
resetFormData: () => void;
|
|
7
7
|
validateForm: (params?: {
|
|
8
8
|
withAlert?: boolean;
|
|
9
9
|
alertTitle?: string;
|
|
10
10
|
}) => boolean;
|
|
11
|
-
loadFormWithDrawerItem: ({ type,
|
|
11
|
+
loadFormWithDrawerItem: ({ type, fields }: Action) => void;
|
|
12
12
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DataStream } from '@/types';
|
|
2
|
+
export declare const useDataStreamFormData: (initialFormData: DataStream) => {
|
|
3
|
+
formData: DataStream;
|
|
4
|
+
formErrors: Partial<Record<"name", string>>;
|
|
5
|
+
handleFormChange: (key?: string | undefined, val?: any, obj?: DataStream | undefined) => void;
|
|
6
|
+
resetFormData: () => void;
|
|
7
|
+
validateForm: (params?: {
|
|
8
|
+
withAlert?: boolean;
|
|
9
|
+
alertTitle?: string;
|
|
10
|
+
}) => boolean;
|
|
11
|
+
loadFormWithDrawerItem: ({ name }: DataStream) => void;
|
|
12
|
+
};
|
|
@@ -12,7 +12,7 @@ export declare const useDestinationFormData: (params?: Params) => {
|
|
|
12
12
|
withAlert?: boolean;
|
|
13
13
|
alertTitle?: string;
|
|
14
14
|
}) => boolean;
|
|
15
|
-
loadFormWithDrawerItem: ({ destinationType: { type }, name, exportedSignals, fields }: Destination) =>
|
|
15
|
+
loadFormWithDrawerItem: ({ destinationType: { type }, name, disabled, exportedSignals, fields }: Destination) => DestinationFormData;
|
|
16
16
|
yamlFields: DestinationYamlProperties[];
|
|
17
17
|
setYamlFields: import("react").Dispatch<import("react").SetStateAction<DestinationYamlProperties[]>>;
|
|
18
18
|
dynamicFields: DestinationDynamicField[];
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import type { AnyObj } from '@/types';
|
|
2
|
+
export declare const useGenericForm: <Form extends AnyObj>(initialFormData: Form | undefined) => {
|
|
2
3
|
formData: Form;
|
|
3
4
|
formErrors: Partial<Record<keyof Form, string>>;
|
|
5
|
+
isFormDirty: boolean;
|
|
4
6
|
handleFormChange: (key?: keyof Form | string, val?: any, obj?: Form) => void;
|
|
5
7
|
handleErrorChange: (key?: keyof Form | string, val?: string, obj?: Partial<Record<keyof Form, string>>) => void;
|
|
6
8
|
resetFormData: () => void;
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { type InstrumentationRule, type InstrumentationRuleFormData } from '@/types';
|
|
2
2
|
export declare const useInstrumentationRuleFormData: () => {
|
|
3
3
|
formData: InstrumentationRuleFormData;
|
|
4
|
-
formErrors: Partial<Record<"
|
|
4
|
+
formErrors: Partial<Record<"disabled" | "notes" | "ruleName" | "workloads" | "instrumentationLibraries" | "codeAttributes" | "headersCollection" | "payloadCollection" | "customInstrumentations", string>>;
|
|
5
5
|
handleFormChange: (key?: string | undefined, val?: any, obj?: InstrumentationRuleFormData | undefined) => void;
|
|
6
6
|
resetFormData: () => void;
|
|
7
|
-
validateForm: (
|
|
8
|
-
|
|
9
|
-
alertTitle?: string;
|
|
10
|
-
}) => boolean;
|
|
11
|
-
loadFormWithDrawerItem: ({ ruleName, notes, disabled, payloadCollection, codeAttributes }: InstrumentationRule) => void;
|
|
7
|
+
validateForm: () => boolean;
|
|
8
|
+
loadFormWithDrawerItem: ({ ruleName, notes, disabled, payloadCollection, codeAttributes, headersCollection, customInstrumentations }: InstrumentationRule) => void;
|
|
12
9
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
interface UsePopupProps {
|
|
2
|
+
defaultClientHeight?: number;
|
|
3
|
+
defaultClientwidth?: number;
|
|
4
|
+
onClickOutside?: () => void;
|
|
5
|
+
}
|
|
6
|
+
interface Position {
|
|
7
|
+
top: number;
|
|
8
|
+
left: number;
|
|
9
|
+
}
|
|
10
|
+
declare const usePopup: ({ defaultClientHeight, defaultClientwidth, onClickOutside }?: UsePopupProps) => {
|
|
11
|
+
popupRef: import("react").RefObject<HTMLDivElement | null>;
|
|
12
|
+
popupOpen: boolean;
|
|
13
|
+
setPopupOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
14
|
+
popupPosition: Position;
|
|
15
|
+
handlePosition: (clientX: number, clientY: number) => void;
|
|
16
|
+
};
|
|
17
|
+
export { usePopup };
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { type Source, type SourceFormData } from '@/types';
|
|
2
2
|
export declare const useSourceFormData: () => {
|
|
3
3
|
formData: SourceFormData;
|
|
4
|
-
formErrors: Partial<Record<
|
|
4
|
+
formErrors: Partial<Record<keyof SourceFormData, string>>;
|
|
5
5
|
handleFormChange: (key?: string | undefined, val?: any, obj?: SourceFormData | undefined) => void;
|
|
6
6
|
resetFormData: () => void;
|
|
7
|
-
validateForm: (
|
|
8
|
-
withAlert?: boolean;
|
|
9
|
-
alertTitle?: string;
|
|
10
|
-
}) => boolean;
|
|
7
|
+
validateForm: () => boolean;
|
|
11
8
|
loadFormWithDrawerItem: ({ otelServiceName, name }: Source) => void;
|
|
12
9
|
};
|
|
@@ -1,34 +1,33 @@
|
|
|
1
1
|
import { type Dispatch, type SetStateAction } from 'react';
|
|
2
|
-
import type
|
|
3
|
-
import { type AvailableSourcesByNamespace, type NamespaceSelectionFormData, type SourceSelectionFormData } from '@/store';
|
|
4
|
-
type
|
|
5
|
-
type SelectedSource = AvailableSourcesByNamespace[0][0];
|
|
2
|
+
import { EntityTypes, type FetchSingleNamespace } from '@/types';
|
|
3
|
+
import { type AvailableSource, type AvailableSourcesByNamespace, type NamespaceSelectionFormData, type SourceSelectionFormData } from '@/store';
|
|
4
|
+
export type NamespaceName = string;
|
|
6
5
|
interface UseSourceFormDataParams {
|
|
7
|
-
|
|
8
|
-
namespace?: Namespace;
|
|
9
|
-
selectedNamespace: SelectedNamespace;
|
|
10
|
-
onSelectNamespace: (ns: SelectedNamespace) => void;
|
|
6
|
+
fetchSingleNamespace: FetchSingleNamespace;
|
|
11
7
|
}
|
|
12
8
|
export interface UseSourceSelectionFormData {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
filterSources: (namespace?: SelectedNamespace, options?: {
|
|
18
|
-
cancelSearch?: boolean;
|
|
19
|
-
cancelSelected?: boolean;
|
|
20
|
-
}) => SelectedSource[];
|
|
9
|
+
isFetchingEachNamespace: boolean;
|
|
10
|
+
fetchedNamespaces: string[];
|
|
11
|
+
availableSources: AvailableSourcesByNamespace;
|
|
12
|
+
filteredNamespacesAndSources: AvailableSourcesByNamespace;
|
|
21
13
|
getApiSourcesPayload: () => SourceSelectionFormData;
|
|
22
14
|
getApiFutureAppsPayload: () => NamespaceSelectionFormData;
|
|
23
|
-
|
|
24
|
-
|
|
15
|
+
selectedNamespace: string;
|
|
16
|
+
onSelectNamespace: (namespace: NamespaceName, selectAll?: boolean) => void;
|
|
17
|
+
selectedAllNamespaces: boolean;
|
|
18
|
+
onSelectAllNamespaces: (selected: boolean) => void;
|
|
19
|
+
selectedSources: SourceSelectionFormData;
|
|
20
|
+
onSelectSource: (source: AvailableSource, namespace?: NamespaceName) => void;
|
|
25
21
|
selectedFutureApps: NamespaceSelectionFormData;
|
|
26
|
-
onSelectFutureApps: (bool: boolean, namespace?:
|
|
27
|
-
onSelectAll: (bool: boolean, namespace?: SelectedNamespace, selectionsByNamespace?: AvailableSourcesByNamespace) => void;
|
|
22
|
+
onSelectFutureApps: (bool: boolean, namespace?: NamespaceName) => void;
|
|
28
23
|
searchText: string;
|
|
29
24
|
setSearchText: Dispatch<SetStateAction<string>>;
|
|
25
|
+
searchBy: EntityTypes;
|
|
26
|
+
setSearchBy: Dispatch<SetStateAction<EntityTypes>>;
|
|
30
27
|
showSelectedOnly: boolean;
|
|
31
28
|
setShowSelectedOnly: Dispatch<SetStateAction<boolean>>;
|
|
29
|
+
showRunningOnly: boolean;
|
|
30
|
+
setShowRunningOnly: Dispatch<SetStateAction<boolean>>;
|
|
32
31
|
}
|
|
33
32
|
export declare const useSourceSelectionFormData: (params?: UseSourceFormDataParams) => UseSourceSelectionFormData;
|
|
34
33
|
export {};
|
package/lib/hooks.js
CHANGED
|
@@ -1,13 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export { u as useContainerSize, a as useCopy, b as useGenericForm, c as useInstrumentationRuleFormData, d as useKeyDown, e as useOnClickOutside, f as useTimeAgo, g as useTransition } from './useTransition-Dfxjcy-C.js';
|
|
3
|
-
import './types.js';
|
|
4
|
-
import 'react';
|
|
5
|
-
import './index-DIcomki-.js';
|
|
6
|
-
import 'styled-components';
|
|
7
|
-
import './index-BZS1ijMm.js';
|
|
8
|
-
import './index-CZe2VX28.js';
|
|
9
|
-
import './index-BumPE6cF.js';
|
|
10
|
-
import './index-BGlk5VhF.js';
|
|
11
|
-
import './theme.js';
|
|
12
|
-
import './index-DnmWFsTQ.js';
|
|
13
|
-
import './index-BFct3S32.js';
|
|
1
|
+
export{x as useActionFormData,aA as useClickNode,bk as useClickNotification,au as useContainerSize,bC as useCopy,aO as useDataStreamFormData,aZ as useDestinationFormData,bD as useGenericForm,be as useInstrumentationRuleFormData,q as useKeyDown,aG as useOnClickOutside,aB as usePopup,aN as useSessionStorage,bu as useSourceFormData,by as useSourceSelectionFormData,bj as useTimeAgo,bg as useTransition}from"./chunks/ui-components-f51830d4.js";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-1dea551d.js";import"styled-components";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './add-cluster-info-icon
|
|
2
|
-
export * from './delete-attribute-icon
|
|
3
|
-
export * from './pii-masking-icon
|
|
4
|
-
export * from './rename-attribute-icon
|
|
5
|
-
export * from './sampler-icon
|
|
1
|
+
export * from './add-cluster-info-icon';
|
|
2
|
+
export * from './delete-attribute-icon';
|
|
3
|
+
export * from './pii-masking-icon';
|
|
4
|
+
export * from './rename-attribute-icon';
|
|
5
|
+
export * from './sampler-icon';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './odigos-logo
|
|
2
|
-
export * from './odigos-logo-text
|
|
1
|
+
export * from './odigos-logo';
|
|
2
|
+
export * from './odigos-logo-text';
|