@odigos/ui-kit 0.0.263 → 0.0.264
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/CHANGELOG.md +16 -0
- package/docs/api-context.md +1 -1
- package/lib/chunks/index-B-zICLj7.js +155 -0
- package/lib/chunks/odigos-context-_YAZF63s.js +9 -0
- package/lib/chunks/source-instrument-form-context-CZQIaTUV.js +5 -0
- package/lib/chunks/ui-components-CAPnizLR.js +1543 -0
- package/lib/components/{_v2/cards → _cards}/data-card/index.d.ts +3 -3
- package/lib/components/{_v2/cards → _cards}/section-card/index.d.ts +2 -2
- package/lib/components/{_v2/cards → _cards}/status-card/index.d.ts +1 -1
- package/lib/components/{_v2/autocomplete → autocomplete}/index.d.ts +1 -1
- package/lib/components/{_v2/badge → badge}/index.d.ts +1 -1
- package/lib/components/{_v2/button → button}/index.d.ts +1 -1
- package/lib/components/{_v2/button-tab → button-tab}/index.d.ts +1 -1
- package/lib/components/{_v2/checkbox → checkbox}/index.d.ts +1 -1
- package/lib/components/code/index.d.ts +3 -4
- package/lib/components/code/toggle-code-component/index.d.ts +2 -3
- package/lib/components/{_v2/condition → condition}/index.d.ts +1 -1
- package/lib/components/{_v2/conditions → conditions}/index.d.ts +1 -1
- package/lib/components/divider/index.d.ts +4 -5
- package/lib/components/{_v2/drawer → drawer}/header/index.d.ts +1 -1
- package/lib/components/{_v2/drop-data → drop-data}/index.d.ts +1 -1
- package/lib/components/error-boundary/index.d.ts +2 -3
- package/lib/components/icon-button/index.d.ts +15 -11
- package/lib/components/icon-group/index.d.ts +6 -7
- package/lib/components/index.d.ts +38 -8
- package/lib/components/{_v2/input → input}/index.d.ts +1 -1
- package/lib/components/{_v2/input-table → input-table}/types.d.ts +1 -1
- package/lib/components/{_v2/island → island}/index.d.ts +2 -2
- package/lib/components/{_v2/loader → loader}/index.d.ts +1 -1
- package/lib/components/{_v2/navbar → navbar}/index.d.ts +1 -1
- package/lib/components/{_v2/no-data → no-data}/index.d.ts +1 -1
- package/lib/components/{_v2/note → note}/index.d.ts +1 -1
- package/lib/components/{_v2/radio → radio}/index.d.ts +1 -1
- package/lib/components/scroll-y/index.d.ts +2 -3
- package/lib/components/{_v2/segment → segment}/index.d.ts +1 -1
- package/lib/components/skeleton-loader/index.d.ts +2 -3
- package/lib/components/{_v2/table → table}/table-columns/index.d.ts +1 -1
- package/lib/components/{_v2/table → table}/table-columns/sort/index.d.ts +1 -1
- package/lib/components/{_v2/tag → tag}/index.d.ts +1 -1
- package/lib/components/{_v2/toggle → toggle}/index.d.ts +1 -1
- package/lib/components/tooltip/index.d.ts +9 -5
- package/lib/components.js +1 -1
- package/lib/constants/actions/index.d.ts +1 -1
- package/lib/constants/instrumentation-rules/index.d.ts +1 -1
- package/lib/constants/regex.d.ts +1 -1
- package/lib/constants/sampling/index.d.ts +1 -1
- package/lib/constants/signals/index.d.ts +1 -1
- package/lib/constants/sources/index.d.ts +2 -2
- package/lib/constants.js +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/add-action-drawer/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/add-destination-drawer/form-column/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/add-destination-drawer/helpers.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/add-destination-drawer/index.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/add-destination-drawer/lists-column/index.d.ts +3 -3
- package/lib/containers/{_v2/_drawers → _drawers}/add-destination-drawer/lists-filters/index.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/add-destination-drawer/types.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/add-rule-drawer/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/index.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/namespaces-column/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/strings.d.ts +2 -1
- package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/types.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/utils.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/workloads-column/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-action-drawer/helpers.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/edit-config-drawer/index.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/edit-destination-drawer/helpers.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/edit-rule-drawer/helpers.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/common/pods-header.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/debug/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/helpers.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/jump-to-target-context.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/containers-card/distro-override.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/containers-card/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/containers-card/runtime-override.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/health-card.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/main-card.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/pods-list/container-row.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/pods-list/helpers.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/pods-list/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/pods-list/pod-row.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/pods-list/process-row.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/pods-list/row-header.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/pods-list/types.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/statuses-card.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/peers/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/pods/containers-card/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/pods/containers-card/process-card.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/pods/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/pods/pod-card.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/profiling/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/profiling/symbol-table/index.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/profiling/symbol-table/symbol-instrumentation.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/profiling/symbol-table/use-symbol-instrumentation.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/sampling/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/sampling/rule-row.d.ts +2 -1
- package/lib/containers/{_v2/_drawers → _drawers}/sampling-rule-drawer/index.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/sampling-rule-drawer/view-footer.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/system-drawer/index.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/system-drawer/tokens/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/system-drawer/tokens/token-value.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/add-cluster-info/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/delete-attributes/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/extract-attribute/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/k8s-attributes/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/pii-masking/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/rename-attributes/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/url-templatization/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-action-form/dynamic-fields/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-destination-form/dynamic-fields/index.d.ts +2 -2
- package/lib/containers/{_v2/_forms → _forms}/add-destination-form/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-rule-form/custom-fields/code-attributes/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-rule-form/custom-fields/custom-instrumentation/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-rule-form/custom-fields/headers-collection/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-rule-form/custom-fields/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-rule-form/custom-fields/payload-collection/index.d.ts +1 -1
- package/lib/containers/{_v2/_modals → _modals}/onboarding-done/index.d.ts +0 -1
- package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/preset-row.d.ts +1 -1
- package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/types.d.ts +1 -1
- package/lib/containers/{_v2/central-connections → central-connections}/helpers.d.ts +5 -5
- package/lib/containers/{_v2/central-connections → central-connections}/index.d.ts +3 -3
- package/lib/containers/index.d.ts +9 -0
- package/lib/containers/{_v2/onboarding → onboarding}/summary/index.d.ts +2 -2
- package/lib/containers/{_v2/overview → overview}/columns/column/empty-add.d.ts +1 -1
- package/lib/containers/{_v2/overview → overview}/columns/column/head.d.ts +1 -1
- package/lib/containers/{_v2/overview → overview}/columns/column/index.d.ts +1 -1
- package/lib/containers/{_v2/overview → overview}/columns/column/list-item.d.ts +1 -1
- package/lib/containers/{_v2/overview → overview}/columns/column/source-visual-state.d.ts +1 -1
- package/lib/containers/{_v2/overview → overview}/search/builder.d.ts +2 -2
- package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/helpers/get-general-badge.d.ts +3 -3
- package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/helpers/get-general-gauge-cards.d.ts +2 -2
- package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/helpers/get-general-status-card.d.ts +2 -2
- package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/helpers/get-general-text-cards.d.ts +2 -2
- package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/index.d.ts +1 -1
- package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/yaml-drawer/index.d.ts +2 -2
- package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/index.d.ts +2 -1
- package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/pods-info/index.d.ts +1 -1
- package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/pods-info/pod-drawer/index.d.ts +2 -2
- package/lib/containers/{_v2/sampling-rules → sampling-rules}/auto-rule-card/index.d.ts +1 -1
- package/lib/containers/{_v2/sampling-rules → sampling-rules}/converters.d.ts +1 -1
- package/lib/containers/{_v2/sampling-rules → sampling-rules}/helpers.d.ts +3 -3
- package/lib/containers/{_v2/sampling-rules → sampling-rules}/rules-table/index.d.ts +1 -1
- package/lib/containers/{_v2/sampling-rules → sampling-rules}/toolbar/index.d.ts +1 -1
- package/lib/containers/{_v2/sampling-rules → sampling-rules}/types.d.ts +1 -1
- package/lib/containers/service-map/helpers/aggregate-service-map.d.ts +1 -1
- package/lib/containers/service-map/helpers/build-edges.d.ts +1 -1
- package/lib/containers/service-map/helpers/build-map-nodes.d.ts +1 -1
- package/lib/containers/service-map/helpers/types.d.ts +2 -2
- package/lib/containers/service-map/service-map-context.d.ts +1 -1
- package/lib/containers/{_v2/settings → settings}/index.d.ts +2 -1
- package/lib/containers.js +1011 -16
- package/lib/contexts/action-form-context.d.ts +2 -2
- package/lib/contexts/data-stream-form-context.d.ts +2 -2
- package/lib/contexts/destination-form-context.d.ts +3 -3
- package/lib/contexts/odigos-api/client.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-actions-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-collectors-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-config-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-data-streams-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-describe-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-destinations-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-instrumentation-rules-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-namespace-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-profiling-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-sampling-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-service-map-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-snapshots-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-sources-api.d.ts +2 -2
- package/lib/contexts/odigos-api/hooks/use-tokens-api.d.ts +1 -1
- package/lib/contexts/odigos-api/index.d.ts +2 -4
- package/lib/contexts/odigos-api/internal/notify.d.ts +2 -2
- package/lib/contexts/odigos-api/internal/source-payloads.d.ts +2 -2
- package/lib/contexts/odigos-api/platform-helpers.d.ts +2 -2
- package/lib/contexts/odigos-api/runner.d.ts +3 -3
- package/lib/contexts/odigos-api/types.d.ts +7 -13
- package/lib/contexts/odigos-api/use-api-query.d.ts +11 -10
- package/lib/contexts/odigos-context.d.ts +5 -3
- package/lib/contexts/rule-form-context.d.ts +3 -3
- package/lib/contexts/sampling-rules-form-context.d.ts +2 -2
- package/lib/contexts/source-edit-form-context.d.ts +2 -2
- package/lib/contexts/source-instrument-form-context.d.ts +2 -2
- package/lib/contexts.js +1 -1
- package/lib/functions/build-badge-for-desired-status/index.d.ts +2 -2
- package/lib/functions/clean-object-empty-strings-values/index.d.ts +1 -1
- package/lib/functions/compare-condition/index.d.ts +1 -1
- package/lib/functions/filter-actions/index.d.ts +2 -2
- package/lib/functions/filter-destinations/index.d.ts +2 -2
- package/lib/functions/filter-destinations-by-stream/index.d.ts +1 -1
- package/lib/functions/filter-sources/index.d.ts +2 -2
- package/lib/functions/filter-sources-by-stream/index.d.ts +1 -1
- package/lib/functions/flatten-object-keys/index.d.ts +1 -1
- package/lib/functions/get-action-icon/index.d.ts +1 -1
- package/lib/functions/get-conditions-booleans/index.d.ts +1 -1
- package/lib/functions/get-containers-counts/index.d.ts +1 -1
- package/lib/functions/get-containers-icons/index.d.ts +1 -1
- package/lib/functions/get-destination-icon/index.d.ts +1 -1
- package/lib/functions/get-entity-icon/index.d.ts +1 -1
- package/lib/functions/get-entity-id/index.d.ts +1 -1
- package/lib/functions/get-entity-label/index.d.ts +1 -1
- package/lib/functions/get-health-badge-label/index.d.ts +1 -1
- package/lib/functions/get-id-from-sse-target/index.d.ts +1 -1
- package/lib/functions/get-instrumentation-rule-icon/index.d.ts +1 -1
- package/lib/functions/get-main-container-language/index.d.ts +1 -1
- package/lib/functions/get-metric-for-entity/index.d.ts +1 -1
- package/lib/functions/get-monitor-icon/index.d.ts +1 -1
- package/lib/functions/get-nearest-typography-size/index.d.ts +1 -1
- package/lib/functions/get-platform-icon/index.d.ts +1 -1
- package/lib/functions/get-platform-label/index.d.ts +1 -1
- package/lib/functions/get-programming-language-icon/index.d.ts +1 -1
- package/lib/functions/get-sse-target-from-id/index.d.ts +1 -1
- package/lib/functions/get-status-color/index.d.ts +1 -1
- package/lib/functions/get-status-from-pod-status/index.d.ts +1 -1
- package/lib/functions/get-status-icon/index.d.ts +1 -1
- package/lib/functions/get-status-type-from-odigos-health/index.d.ts +1 -1
- package/lib/functions/get-virtual-service-icon/index.d.ts +1 -1
- package/lib/functions/get-workload-id/index.d.ts +1 -1
- package/lib/functions/get-yaml-fields-for-destination/index.d.ts +1 -1
- package/lib/functions/has-unhealthy-instances/index.d.ts +1 -1
- package/lib/functions/instrumentation-rule-source-scopes/index.d.ts +1 -1
- package/lib/functions/map-conditions/index.d.ts +1 -1
- package/lib/functions/map-desired-status-to-condition-status/index.d.ts +1 -1
- package/lib/functions/map-destination-fields-for-display/index.d.ts +1 -1
- package/lib/functions/map-signals/index.d.ts +1 -1
- package/lib/functions/prepare-destination-form-data/index.d.ts +1 -1
- package/lib/functions/remove-empty-values-from-object/index.d.ts +1 -1
- package/lib/functions/safe-json-parse/index.d.ts +1 -1
- package/lib/functions/safe-json-stringify/index.d.ts +1 -1
- package/lib/functions/stringify-non-string-values/index.d.ts +1 -1
- package/lib/functions.js +1 -1
- package/lib/hooks/index.d.ts +0 -2
- package/lib/hooks/useActionFormData.d.ts +2 -2
- package/lib/hooks/useCopy.d.ts +1 -1
- package/lib/hooks/useDataStreamFormData.d.ts +1 -1
- package/lib/hooks/useDestinationFormData.d.ts +1 -1
- package/lib/hooks/useGenericForm.d.ts +1 -1
- package/lib/hooks/useInstrumentationRuleFormData.d.ts +2 -2
- package/lib/hooks/usePopup.d.ts +1 -1
- package/lib/hooks/useSourceFormData.d.ts +1 -1
- package/lib/hooks.js +1 -1
- package/lib/icons/actions/add-cluster-info-icon/index.d.ts +1 -1
- package/lib/icons/actions/delete-attribute-icon/index.d.ts +1 -1
- package/lib/icons/actions/pii-masking-icon/index.d.ts +1 -1
- package/lib/icons/actions/rename-attribute-icon/index.d.ts +1 -1
- package/lib/icons/actions/sampler-icon/index.d.ts +1 -1
- package/lib/icons/arrows/arrow-down-icon/index.d.ts +1 -1
- package/lib/icons/arrows/arrow-down-square-icon/index.d.ts +1 -1
- package/lib/icons/arrows/arrow-left-icon/index.d.ts +1 -1
- package/lib/icons/arrows/arrow-left-square-icon/index.d.ts +1 -1
- package/lib/icons/arrows/arrow-right-icon/index.d.ts +1 -1
- package/lib/icons/arrows/arrow-right-square-icon/index.d.ts +1 -1
- package/lib/icons/arrows/arrow-up-icon/index.d.ts +1 -1
- package/lib/icons/arrows/arrow-up-square-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-down-circle-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-down-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-down-square-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-left-circle-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-left-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-left-square-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-right-circle-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-right-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-right-square-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-up-circle-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-up-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-up-square-icon/index.d.ts +1 -1
- package/lib/icons/auth/okta-icon/index.d.ts +1 -1
- package/lib/icons/brand/odigos-logo/index.d.ts +1 -1
- package/lib/icons/brand/odigos-logo-text/index.d.ts +1 -1
- package/lib/icons/brand/odigos-logo-text-central/index.d.ts +1 -1
- package/lib/icons/brand/odigos-logo-text-colored-central/index.d.ts +1 -1
- package/lib/icons/brand/odigos-logo-text-colored-community/index.d.ts +1 -1
- package/lib/icons/brand/odigos-logo-text-colored-enterprise/index.d.ts +1 -1
- package/lib/icons/brand/odigos-logo-text-community/index.d.ts +1 -1
- package/lib/icons/brand/odigos-logo-text-enterprise/index.d.ts +1 -1
- package/lib/icons/common/arrow-icon/index.d.ts +1 -1
- package/lib/icons/common/avatar-icon/index.d.ts +1 -1
- package/lib/icons/common/book-icon/index.d.ts +1 -1
- package/lib/icons/common/code-brackets-icon/index.d.ts +1 -1
- package/lib/icons/common/code-icon/index.d.ts +1 -1
- package/lib/icons/common/command-icon/index.d.ts +1 -1
- package/lib/icons/common/copy-icon/index.d.ts +1 -1
- package/lib/icons/common/delete-icon/index.d.ts +1 -1
- package/lib/icons/common/diagnose-icon/index.d.ts +1 -1
- package/lib/icons/common/dot-icon/index.d.ts +1 -1
- package/lib/icons/common/dots-horizontal-icon/index.d.ts +1 -1
- package/lib/icons/common/dots-vertical-icon/index.d.ts +1 -1
- package/lib/icons/common/download-icon/index.d.ts +1 -1
- package/lib/icons/common/edit-icon/index.d.ts +1 -1
- package/lib/icons/common/edited-icon/index.d.ts +1 -1
- package/lib/icons/common/exclamation-circle-icon/index.d.ts +1 -1
- package/lib/icons/common/exclamation-triangle-icon/index.d.ts +1 -1
- package/lib/icons/common/expand-icon/index.d.ts +1 -1
- package/lib/icons/common/extend-arrow-icon/index.d.ts +1 -1
- package/lib/icons/common/filter-icon/index.d.ts +1 -1
- package/lib/icons/common/folder-icon/index.d.ts +1 -1
- package/lib/icons/common/gear-icon/index.d.ts +1 -1
- package/lib/icons/common/home-icon/index.d.ts +1 -1
- package/lib/icons/common/i-square-icon/index.d.ts +1 -1
- package/lib/icons/common/image-error-icon/index.d.ts +1 -1
- package/lib/icons/common/inbound-icon/index.d.ts +1 -1
- package/lib/icons/common/key-icon/index.d.ts +1 -1
- package/lib/icons/common/list-icon/index.d.ts +1 -1
- package/lib/icons/common/lock-icon/index.d.ts +1 -1
- package/lib/icons/common/minus-circled-icon/index.d.ts +1 -1
- package/lib/icons/common/minus-icon/index.d.ts +1 -1
- package/lib/icons/common/no-data-icon/index.d.ts +1 -1
- package/lib/icons/common/notebook-icon/index.d.ts +1 -1
- package/lib/icons/common/notification-icon/index.d.ts +1 -1
- package/lib/icons/common/outbound-icon/index.d.ts +1 -1
- package/lib/icons/common/plus-circled-icon/index.d.ts +1 -1
- package/lib/icons/common/plus-icon/index.d.ts +1 -1
- package/lib/icons/common/question-circle-icon/index.d.ts +1 -1
- package/lib/icons/common/refresh-icon/index.d.ts +1 -1
- package/lib/icons/common/refresh-left-arrow-icon/index.d.ts +1 -1
- package/lib/icons/common/refresh-right-arrow-icon/index.d.ts +1 -1
- package/lib/icons/common/role-icon/index.d.ts +1 -1
- package/lib/icons/common/rotate-arrows-icon/index.d.ts +1 -1
- package/lib/icons/common/search-icon/index.d.ts +1 -1
- package/lib/icons/common/server-disconnected-icon/index.d.ts +1 -1
- package/lib/icons/common/settings-icon/index.d.ts +1 -1
- package/lib/icons/common/sort-arrows-icon/index.d.ts +1 -1
- package/lib/icons/common/star-icon/index.d.ts +1 -1
- package/lib/icons/common/terminal-icon/index.d.ts +1 -1
- package/lib/icons/common/trash-icon/index.d.ts +1 -1
- package/lib/icons/common/user-circle-icon/index.d.ts +1 -1
- package/lib/icons/common/user-group-icon/index.d.ts +1 -1
- package/lib/icons/common/user-icon/index.d.ts +1 -1
- package/lib/icons/common/user-settings-icon/index.d.ts +1 -1
- package/lib/icons/common/v-icon/index.d.ts +1 -1
- package/lib/icons/common/v-square-icon/index.d.ts +1 -1
- package/lib/icons/common/x-icon/index.d.ts +1 -1
- package/lib/icons/common/x-square-icon/index.d.ts +1 -1
- package/lib/icons/compute-platform/k8s-logo/index.d.ts +1 -1
- package/lib/icons/compute-platform/vm-logo/index.d.ts +1 -1
- package/lib/icons/destinations/alauda-logo/index.d.ts +1 -1
- package/lib/icons/destinations/alibaba-cloud-logo/index.d.ts +1 -1
- package/lib/icons/destinations/app-dynamics-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-api-gateway-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-bedrock-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-cloudwatch-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-dynamodb-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-ec2-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-eventbridge-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-kinesis-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-lambda-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-s3-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-secrets-manager-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-sns-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-sqs-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-step-functions-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-sts-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-xray-logo/index.d.ts +1 -1
- package/lib/icons/destinations/axiom-logo/index.d.ts +1 -1
- package/lib/icons/destinations/azure-blob-logo/index.d.ts +1 -1
- package/lib/icons/destinations/azure-monitor-logo/index.d.ts +1 -1
- package/lib/icons/destinations/better-stack-logo/index.d.ts +1 -1
- package/lib/icons/destinations/bonree-logo/index.d.ts +1 -1
- package/lib/icons/destinations/causely-logo/index.d.ts +1 -1
- package/lib/icons/destinations/checkly-logo/index.d.ts +1 -1
- package/lib/icons/destinations/chronosphere-logo/index.d.ts +1 -1
- package/lib/icons/destinations/clickhouse-logo/index.d.ts +1 -1
- package/lib/icons/destinations/coralogix-logo/index.d.ts +1 -1
- package/lib/icons/destinations/dash0-logo/index.d.ts +1 -1
- package/lib/icons/destinations/datadog-logo/index.d.ts +1 -1
- package/lib/icons/destinations/dynatrace-logo/index.d.ts +1 -1
- package/lib/icons/destinations/elastic-apm-logo/index.d.ts +1 -1
- package/lib/icons/destinations/elastic-search-logo/index.d.ts +1 -1
- package/lib/icons/destinations/gigapipe-logo/index.d.ts +1 -1
- package/lib/icons/destinations/google-cloud-platform-logo/index.d.ts +1 -1
- package/lib/icons/destinations/google-cloud-storage-logo/index.d.ts +1 -1
- package/lib/icons/destinations/grafana-logo/index.d.ts +1 -1
- package/lib/icons/destinations/greptime-logo/index.d.ts +1 -1
- package/lib/icons/destinations/groundcover-logo/index.d.ts +1 -1
- package/lib/icons/destinations/honeycomb-logo/index.d.ts +1 -1
- package/lib/icons/destinations/hyperdx-logo/index.d.ts +1 -1
- package/lib/icons/destinations/instana-logo/index.d.ts +1 -1
- package/lib/icons/destinations/jaeger-logo/index.d.ts +1 -1
- package/lib/icons/destinations/kafka-logo/index.d.ts +1 -1
- package/lib/icons/destinations/kloudmate-logo/index.d.ts +1 -1
- package/lib/icons/destinations/last9-logo/index.d.ts +1 -1
- package/lib/icons/destinations/lightstep-logo/index.d.ts +1 -1
- package/lib/icons/destinations/logzio-logo/index.d.ts +1 -1
- package/lib/icons/destinations/loki-logo/index.d.ts +1 -1
- package/lib/icons/destinations/lumigo-logo/index.d.ts +1 -1
- package/lib/icons/destinations/middleware-logo/index.d.ts +1 -1
- package/lib/icons/destinations/new-relic-logo/index.d.ts +1 -1
- package/lib/icons/destinations/observe-logo/index.d.ts +1 -1
- package/lib/icons/destinations/odigos-destination-logo/index.d.ts +1 -1
- package/lib/icons/destinations/one-uptime-logo/index.d.ts +1 -1
- package/lib/icons/destinations/open-observe-logo/index.d.ts +1 -1
- package/lib/icons/destinations/open-telemetry-logo/index.d.ts +1 -1
- package/lib/icons/destinations/ops-verse-logo/index.d.ts +1 -1
- package/lib/icons/destinations/oracle-logo/index.d.ts +1 -1
- package/lib/icons/destinations/prometheus-logo/index.d.ts +1 -1
- package/lib/icons/destinations/pyroscope-logo/index.d.ts +1 -1
- package/lib/icons/destinations/qryn-logo/index.d.ts +1 -1
- package/lib/icons/destinations/quickwit-logo/index.d.ts +1 -1
- package/lib/icons/destinations/sentry-logo/index.d.ts +1 -1
- package/lib/icons/destinations/seq-logo/index.d.ts +1 -1
- package/lib/icons/destinations/signoz-logo/index.d.ts +1 -1
- package/lib/icons/destinations/splunk-logo/index.d.ts +1 -1
- package/lib/icons/destinations/sumo-logic-logo/index.d.ts +1 -1
- package/lib/icons/destinations/telemetry-hub-logo/index.d.ts +1 -1
- package/lib/icons/destinations/tempo-logo/index.d.ts +1 -1
- package/lib/icons/destinations/tingyun-logo/index.d.ts +1 -1
- package/lib/icons/destinations/traceloop-logo/index.d.ts +1 -1
- package/lib/icons/destinations/uptrace-logo/index.d.ts +1 -1
- package/lib/icons/destinations/victoria-metrics-logo/index.d.ts +1 -1
- package/lib/icons/instrumentation-rules/code-attributes-icon/index.d.ts +1 -1
- package/lib/icons/instrumentation-rules/custom-instrumentation-icon/index.d.ts +1 -1
- package/lib/icons/instrumentation-rules/headers-collection-icon/index.d.ts +1 -1
- package/lib/icons/instrumentation-rules/payload-collection-icon/index.d.ts +1 -1
- package/lib/icons/monitors/logs-icon/index.d.ts +1 -1
- package/lib/icons/monitors/metrics-icon/index.d.ts +1 -1
- package/lib/icons/monitors/traces-icon/index.d.ts +1 -1
- package/lib/icons/on-off/eye-closed-icon/index.d.ts +1 -1
- package/lib/icons/on-off/eye-open-icon/index.d.ts +1 -1
- package/lib/icons/on-off/light-off-icon/index.d.ts +1 -1
- package/lib/icons/on-off/light-on-icon/index.d.ts +1 -1
- package/lib/icons/on-off/moon-icon/index.d.ts +1 -1
- package/lib/icons/on-off/sound-off-icon/index.d.ts +1 -1
- package/lib/icons/on-off/sound-on-icon/index.d.ts +1 -1
- package/lib/icons/on-off/sun-icon/index.d.ts +1 -1
- package/lib/icons/overview/action-icon/index.d.ts +1 -1
- package/lib/icons/overview/connections-icon/index.d.ts +1 -1
- package/lib/icons/overview/data-stream-icon/index.d.ts +1 -1
- package/lib/icons/overview/destination-icon/index.d.ts +1 -1
- package/lib/icons/overview/gateway-icon/index.d.ts +1 -1
- package/lib/icons/overview/instrumentation-rule-icon/index.d.ts +1 -1
- package/lib/icons/overview/log-icon/index.d.ts +1 -1
- package/lib/icons/overview/namespaces-icon/index.d.ts +1 -1
- package/lib/icons/overview/overview-icon/index.d.ts +1 -1
- package/lib/icons/overview/pipeline-collector-icon/index.d.ts +1 -1
- package/lib/icons/overview/pod-icon/index.d.ts +1 -1
- package/lib/icons/overview/replica-icon/index.d.ts +1 -1
- package/lib/icons/overview/sampling-icon/index.d.ts +1 -1
- package/lib/icons/overview/service-map-icon/index.d.ts +1 -1
- package/lib/icons/overview/source-icon/index.d.ts +1 -1
- package/lib/icons/overview/trace-view-icon/index.d.ts +1 -1
- package/lib/icons/overview/yaml-icon/index.d.ts +1 -1
- package/lib/icons/programming-languages/aws-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/c-plus-plus-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/c-sharp-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/dotnet-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/elixir-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/go-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/java-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/mysql-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/nginx-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/nodejs-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/php-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/postgres-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/python-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/redis-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/ruby-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/rust-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/swift-logo/index.d.ts +1 -1
- package/lib/icons/social/slack-logo/index.d.ts +1 -1
- package/lib/snippets/{_v2/actions → actions}/index.d.ts +2 -2
- package/lib/snippets/{_v2/cancel-modal → cancel-modal}/index.d.ts +1 -1
- package/lib/snippets/{_v2/delete-modal → delete-modal}/index.d.ts +1 -1
- package/lib/snippets/{_v2/dynamic-field → dynamic-field}/index.d.ts +6 -2
- package/lib/snippets/index.d.ts +13 -1
- package/lib/snippets/{_v2/instrumentation-rule-form-sections → instrumentation-rule-form-sections}/instrumentation-preview.d.ts +1 -1
- package/lib/snippets/{_v2/rich-title → rich-title}/index.d.ts +3 -3
- package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/duration-errors.d.ts +2 -2
- package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/operation.d.ts +1 -1
- package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/percentage.d.ts +1 -1
- package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/preset-with-custom-input.d.ts +1 -1
- package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/rule-info.d.ts +1 -1
- package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/rule-type.d.ts +1 -1
- package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/sampling-preview.d.ts +2 -2
- package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/source-scope.d.ts +2 -2
- package/lib/snippets/{_v2/signals-checkbox-list → signals-checkbox-list}/index.d.ts +1 -1
- package/lib/snippets/{_v2/wide-drawer → wide-drawer}/column-list-item/index.d.ts +1 -1
- package/lib/snippets/{_v2/wide-drawer → wide-drawer}/index.d.ts +6 -3
- package/lib/snippets/{_v2/yaml-section-card → yaml-section-card}/index.d.ts +1 -1
- package/lib/snippets.js +1 -1
- package/lib/store/index.d.ts +0 -1
- package/lib/store/useDataStreamStore.d.ts +1 -1
- package/lib/store/useDrawerStore.d.ts +16 -3
- package/lib/store/useFilterStore.d.ts +1 -1
- package/lib/store/useNotificationStore.d.ts +1 -1
- package/lib/store/useProgressStore.d.ts +1 -1
- package/lib/store/useSelectedStore.d.ts +1 -1
- package/lib/store/useSetupStore.d.ts +1 -1
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/actions/index.d.ts +1 -1
- package/lib/types/common/index.d.ts +10 -0
- package/lib/types/destinations/index.d.ts +1 -1
- package/lib/types/sampling.d.ts +1 -1
- package/lib/types.js +1 -1
- package/lib/visuals/visual-green-rings/index.d.ts +1 -1
- package/lib/visuals/visual-purple-rings/index.d.ts +1 -1
- package/lib/visuals.js +1 -1
- package/package.json +19 -39
- package/lib/chunks/connections-scope-JSsSeaII.js +0 -1
- package/lib/chunks/consts-D6GCMJ6c.js +0 -1
- package/lib/chunks/index-CpvWOJm_.js +0 -155
- package/lib/chunks/odigos-context-DGZO6Njm.js +0 -18
- package/lib/chunks/source-instrument-form-context-FYKFdAII.js +0 -1
- package/lib/chunks/ui-components-D1ehQI2Z.js +0 -1704
- package/lib/chunks/use-odigos-api-Ptz3Kdno.js +0 -5
- package/lib/chunks/vendor-BFqT13Me.js +0 -1
- package/lib/components/_v2/icon-button/index.d.ts +0 -16
- package/lib/components/_v2/icon-group/index.d.ts +0 -11
- package/lib/components/_v2/index.d.ts +0 -40
- package/lib/components/fade-loader/helpers/animation.d.ts +0 -1
- package/lib/components/fade-loader/helpers/unitConverter.d.ts +0 -22
- package/lib/components/fade-loader/index.d.ts +0 -10
- package/lib/components/icon-wrapped/index.d.ts +0 -11
- package/lib/components/image-controlled/index.d.ts +0 -8
- package/lib/components/loading-text/index.d.ts +0 -9
- package/lib/components/notification-note/index.d.ts +0 -22
- package/lib/components/popup/index.d.ts +0 -18
- package/lib/components/scroll-x/index.d.ts +0 -10
- package/lib/components/text/index.d.ts +0 -26
- package/lib/components/v2.js +0 -1
- package/lib/containers/_v2/index.d.ts +0 -9
- package/lib/containers/v2.js +0 -990
- package/lib/contexts/odigos-api.js +0 -1
- package/lib/hooks/useClickNode.d.ts +0 -6
- package/lib/hooks/useClickNotification.d.ts +0 -7
- package/lib/snippets/_v2/index.d.ts +0 -13
- package/lib/snippets/v2.js +0 -1
- package/lib/store/useModalStore.d.ts +0 -6
- /package/lib/components/{_v2/cards → _cards}/index.d.ts +0 -0
- /package/lib/components/{_v2/cards → _cards}/text-card/index.d.ts +0 -0
- /package/lib/components/{_v2/charts → charts}/gauge-chart/index.d.ts +0 -0
- /package/lib/components/{_v2/charts → charts}/index.d.ts +0 -0
- /package/lib/components/{_v2/cli-command → cli-command}/index.d.ts +0 -0
- /package/lib/components/{_v2/drawer → drawer}/footer/index.d.ts +0 -0
- /package/lib/components/{_v2/drawer → drawer}/index.d.ts +0 -0
- /package/lib/components/{_v2/drop-down → drop-down}/index.d.ts +0 -0
- /package/lib/components/{_v2/field-message → field-message}/index.d.ts +0 -0
- /package/lib/components/{_v2/field-title → field-title}/index.d.ts +0 -0
- /package/lib/components/{_v2/header → header}/index.d.ts +0 -0
- /package/lib/components/{_v2/hover-actions → hover-actions}/index.d.ts +0 -0
- /package/lib/components/{_v2/input-list → input-list}/index.d.ts +0 -0
- /package/lib/components/{_v2/input-table → input-table}/card-table.d.ts +0 -0
- /package/lib/components/{_v2/input-table → input-table}/dynamic-field/index.d.ts +0 -0
- /package/lib/components/{_v2/input-table → input-table}/index.d.ts +0 -0
- /package/lib/components/{_v2/loader → loader}/spinner/index.d.ts +0 -0
- /package/lib/components/{_v2/loader → loader}/spinner-old/helpers/animation.d.ts +0 -0
- /package/lib/components/{_v2/loader → loader}/spinner-old/helpers/unitConverter.d.ts +0 -0
- /package/lib/components/{_v2/loader → loader}/spinner-old/index.d.ts +0 -0
- /package/lib/components/{_v2/modal → modal}/index.d.ts +0 -0
- /package/lib/components/{_v2/search → search}/index.d.ts +0 -0
- /package/lib/components/{_v2/stepper → stepper}/index.d.ts +0 -0
- /package/lib/components/{_v2/table → table}/index.d.ts +0 -0
- /package/lib/components/{_v2/table → table}/styled.d.ts +0 -0
- /package/lib/components/{_v2/table → table}/table-columns/filter/index.d.ts +0 -0
- /package/lib/components/{_v2/table → table}/table-rows/index.d.ts +0 -0
- /package/lib/components/{_v2/table → table}/types.d.ts +0 -0
- /package/lib/components/{_v2/textarea → textarea}/index.d.ts +0 -0
- /package/lib/components/{_v2/time-input → time-input}/index.d.ts +0 -0
- /package/lib/components/{_v2/typography → typography}/index.d.ts +0 -0
- /package/lib/components/{_v2/typography-truncatable → typography-truncatable}/index.d.ts +0 -0
- /package/lib/components/{_v2/warning-modal → warning-modal}/index.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/namespaces-column/list/index.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/namespaces-column/list/list-item/index.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/edit-action-drawer/index.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/edit-destination-drawer/index.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/edit-rule-drawer/index.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/common/index.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/containers-card/popup-form.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/pods/pod-debug-commands.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/profiling/flame-graph-canvas.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/profiling/flamebearer.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/profiling/symbol-table/modify-rules-modal.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/tabs.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/index.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/regex-tester-drawer/highlighter.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/regex-tester-drawer/index.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/system-drawer/describe/index.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/system-drawer/diagnose/index.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/system-drawer/tokens/token-expires-at.d.ts +0 -0
- /package/lib/containers/{_v2/_forms → _forms}/add-action-form/index.d.ts +0 -0
- /package/lib/containers/{_v2/_forms → _forms}/add-rule-form/index.d.ts +0 -0
- /package/lib/containers/{_v2/_forms → _forms}/data-stream-form/index.d.ts +0 -0
- /package/lib/containers/{_v2/_forms → _forms}/data-stream-form/merge-warning.d.ts +0 -0
- /package/lib/containers/{_v2/_forms → _forms}/edit-source-form/index.d.ts +0 -0
- /package/lib/containers/{_v2/_forms → _forms}/index.d.ts +0 -0
- /package/lib/containers/{_v2/_forms → _forms}/sampling-rule-form/index.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/add-data-stream-modal/index.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/edit-data-stream-modal/index.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/index.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/onboarding-done/background.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/chrome.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/footer.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/header.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/index.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/info-card.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/lists.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/primary-banner.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/section.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/sub-title.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/index.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/steps/step-advanced.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/steps/step-drop-list.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/steps/step-keep-list.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/steps/step-noisy.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/steps/step-strategy.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/steps/step-success.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/steps/step-welcome.d.ts +0 -0
- /package/lib/containers/{_v2/onboarding → onboarding}/background/index.d.ts +0 -0
- /package/lib/containers/{_v2/onboarding → onboarding}/get-started/index.d.ts +0 -0
- /package/lib/containers/{_v2/onboarding → onboarding}/index.d.ts +0 -0
- /package/lib/containers/{_v2/overview → overview}/columns/column/namespace-divider.d.ts +0 -0
- /package/lib/containers/{_v2/overview → overview}/columns/index.d.ts +0 -0
- /package/lib/containers/{_v2/overview → overview}/data-stream-select/index.d.ts +0 -0
- /package/lib/containers/{_v2/overview → overview}/drawers/index.d.ts +0 -0
- /package/lib/containers/{_v2/overview → overview}/filters/index.d.ts +0 -0
- /package/lib/containers/{_v2/overview → overview}/index.d.ts +0 -0
- /package/lib/containers/{_v2/overview → overview}/multi-source-control/index.d.ts +0 -0
- /package/lib/containers/{_v2/overview → overview}/search/index.d.ts +0 -0
- /package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/enum.d.ts +0 -0
- /package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/helpers/get-general-title.d.ts +0 -0
- /package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/helpers/index.d.ts +0 -0
- /package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/toolbar/index.d.ts +0 -0
- /package/lib/containers/{_v2/sampling-rules → sampling-rules}/index.d.ts +0 -0
- /package/lib/containers/{_v2/settings → settings}/side-menu/index.d.ts +0 -0
- /package/lib/containers/{_v2/settings → settings}/toolbar/index.d.ts +0 -0
- /package/lib/snippets/{_v2/colored-span → colored-span}/index.d.ts +0 -0
- /package/lib/snippets/{_v2/instrumentation-rule-form-sections → instrumentation-rule-form-sections}/index.d.ts +0 -0
- /package/lib/snippets/{_v2/odigos-logo-text-by-tier → odigos-logo-text-by-tier}/index.d.ts +0 -0
- /package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/index.d.ts +0 -0
- /package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/styled.d.ts +0 -0
- /package/lib/snippets/{_v2/upgrade-modal → upgrade-modal}/index.d.ts +0 -0
- /package/lib/snippets/{_v2/wide-drawer → wide-drawer}/column/index.d.ts +0 -0
- /package/lib/snippets/{_v2/wide-drawer → wide-drawer}/column-list-collapse/index.d.ts +0 -0
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{useMemo as e,useContext as t,createContext as r,useCallback as a,useState as n,useEffect as o}from"react";import{HttpLink as s,from as i,split as c,ApolloClient as d,InMemoryCache as u,ApolloProvider as l,useLazyQuery as E,useApolloClient as f,useQuery as T,gql as _}from"@apollo/client";import{jsx as S}from"react/jsx-runtime";import{onError as p}from"@apollo/client/link/error";import{setContext as y}from"@apollo/client/link/context";import{getMainDefinition as R}from"@apollo/client/utilities";import{W as m,F as O,p as A,o as I,Z as N,_ as C,E as h,c as g,b as L,h as P,$ as G,a0 as U,a1 as v,a2 as D,a3 as w,a4 as F,a5 as k,a6 as M,a7 as b}from"./ui-components-D1ehQI2Z.js";const Y=e=>{if(!e)return!1;const t=e.toLowerCase();return t.includes("authentication required")||t.includes("authentication expired")||t.includes("http 401")},H=r(null),W=()=>{const e=t(H);if(!e)throw new Error("[ui-kit] useOdigosApi() / useXxxApi() called outside of <OdigosApiProvider>. Make sure the host app mounts the provider at its layout level.");return e},x=({apolloConfig:t,operations:r,context:a,children:n})=>{const o=e(()=>(e=>{const t=new s({uri:e.httpUrl,credentials:e.credentials??"same-origin"}),r=p(({graphQLErrors:t,networkError:r})=>{t&&t.length>0&&t.some(e=>Y(e.message))&&e.onAuthError?.(),r&&(401===r.statusCode||Y(r.message))&&e.onAuthError?.()}),a=y(async(t,r)=>{const a={...r.headers};if(e.authHeader){const t=await e.authHeader();Object.assign(a,t)}return e.csrfHeader&&Object.assign(a,e.csrfHeader()),{headers:a}}),n=[];e.additionalLinks?.length&&n.push(...e.additionalLinks),n.push(a,r,t);let o=i(n);e.wsLink&&(o=c(({query:e})=>{const t=R(e);return"OperationDefinition"===t.kind&&"subscription"===t.operation},e.wsLink,o));const l=e.defaultFetchPolicies;return new d({link:o,cache:new u({addTypename:e.addTypename??!0,typePolicies:e.cacheTypePolicies}),defaultOptions:{watchQuery:{fetchPolicy:l?.watchQuery??"cache-and-network"},query:{fetchPolicy:l?.query??"cache-first"},mutate:{fetchPolicy:l?.mutate??"network-only"}}})})(t),[t.httpUrl,t.wsLink,t.addTypename,t.credentials]),E=e(()=>({operations:r,context:a,apolloConfig:t}),[r,a,t]);return S(l,{client:o,children:S(H.Provider,{value:E,children:n})})},K=H,V=(e,t)=>{if(e)return"string"==typeof e?e:N(e,t)},$=e=>{const{addNotification:t}=m(),r=(r,a,n,o,s)=>t({type:r,title:a,message:n,crdType:e,target:V(o,e),hideFromHistory:s});return{notify:r,notifyError:(e,t,a)=>r(I.Error,e,t,a),notifySuccess:(e,t,a)=>r(I.Success,e,t,a),notifyPending:(e,t)=>r(I.Default,"Pending",e,t,!0),notifyReadonly:()=>{t({type:I.Warning,title:A.READONLY,message:O.READONLY_WARNING,hideFromHistory:!0})}}},B=e=>{e({type:I.Warning,title:A.READONLY,message:O.READONLY_WARNING,hideFromHistory:!0})},j=e=>({error:e,results:[],allSucceeded:!1,anySucceeded:!1,successCount:0,failureCount:0}),q=(e,t)=>{if(e)return"function"==typeof e?e(t):e},Q=e=>{if(!e)return"Unknown error";if(e instanceof Error)return e.cause instanceof Error?e.cause.message:e.message;if("object"==typeof e){const t=e;return t.cause?.message||t.message||String(e)}return String(e)},z=(e,t)=>e.client??t,J=async(e,t,r,a,n)=>{if(!t)return{error:"Query operation not configured"};if(t.canRun&&!t.canRun(a))return{data:void 0};if(t.run)try{return await t.run(z(t,e),r,a)}catch(e){return{error:Q(e)}}const o=q(t.document,a);if(!o)return{error:"Query operation not supported in this context"};const s=t.transformVariables?t.transformVariables(r,a):r,i=z(t,e);try{const e=await i.query({query:o,variables:s,fetchPolicy:n??"network-only"});return{data:t.transformResult?t.transformResult(e.data,a):e.data,error:e.error?Q(e.error):void 0}}catch(e){return{error:Q(e)}}},X=async(e,t,r,a)=>{if(!t)return{error:"Mutation operation not configured"};if(t.canRun&&!t.canRun(a))return{data:void 0};if(t.run)try{return await t.run(z(t,e),r,a)}catch(e){return{error:Q(e)}}const n=q(t.document,a);if(!n)return{error:"Mutation operation not supported in this context"};const o=t.transformVariables?t.transformVariables(r,a):r,s=z(t,e);try{const e=await s.mutate({mutation:n,variables:o});return{data:t.transformResult?t.transformResult(e.data,a):e.data,error:void 0}}catch(e){return{error:Q(e)}}},Z=async(e,t,r,a,n)=>{if(!t)return j("Multi fetch operation not configured");if(!r.length)return j("No proxy ids supplied for multi fetch");const o=z(t,e);if(t.transformVariablesMulti&&(t.documentMulti||t.document)){const e=t.transformVariablesMulti(r,a,n),s=[];for(const r of e)try{const e=await o.query({query:r.document,variables:r.variables,fetchPolicy:"network-only"});t.transformMultiResult?t.transformMultiResult(e.data,n).forEach(e=>s.push(e)):r.proxyIDs.forEach(t=>{s.push({proxyID:t,success:!e.error,data:e.data,error:e.error?.message})})}catch(e){const t=Q(e);r.proxyIDs.forEach(e=>s.push({proxyID:e,success:!1,error:t}))}const i=s.filter(e=>e.success).length,c=s.length-i,d=Array.from(new Set(s.filter(e=>!!e.error).map(e=>e.error)));return{results:s,allSucceeded:0===c,anySucceeded:i>0,successCount:i,failureCount:c,error:d.length?d.join(", "):void 0}}const s=await Promise.all(r.map(async r=>{const o={...n,proxyID:r},s=await J(e,t,a,o);return{proxyID:r,success:!s.error,data:s.data,error:s.error}})),i=s.filter(e=>e.success).length,c=s.length-i,d=Array.from(new Set(s.filter(e=>!!e.error).map(e=>e.error)));return{results:s,allSucceeded:0===c,anySucceeded:i>0,successCount:i,failureCount:c,error:d.length?d.join(", "):void 0}},ee=_`
|
|
2
|
-
query OdigosApiNoop {
|
|
3
|
-
__typename
|
|
4
|
-
}
|
|
5
|
-
`,te=(e,t)=>{if(e)return"function"==typeof e?e(t):e},re=(e,t)=>e[t],ae=(e,t,r)=>{if(void 0===t)return;return e?.transformResult?e.transformResult(t,r):t},ne=(e,t,r)=>{if(!e)return;const a=e.transformVariables;return a?a(t,r):t},oe=(t,r,n)=>{const{operations:o,context:s}=W(),i=re(o,t),c=e(()=>te(i?.document,s),[i,s]),d=e(()=>ne(i,r,s),[i,r,s]),u=!i||!c,l=!!i?.canRun&&!i.canRun(s),E=n?.skip||u||l,f=T(c??ee,{variables:d,skip:E,pollInterval:n?.pollInterval,fetchPolicy:n?.fetchPolicy??"cache-and-network",notifyOnNetworkStatusChange:n?.notifyOnNetworkStatusChange,client:i?.client,onCompleted:n?.onCompleted?e=>{const t=ae(i,e,s);void 0!==t&&n.onCompleted(t)}:void 0,onError:n?.onError}),_=e(()=>{if(!E)return ae(i,f.data,s)},[i,s,f.data,E]),S=a(async()=>{if(u)return{data:void 0};const e=await f.refetch();return{data:ae(i,e.data,s)}},[i,s,f,u]);return{data:_,loading:!E&&f.loading,error:f.error,refetch:S,unsupported:u}},se=(t,r)=>{const{operations:n,context:o}=W(),s=re(n,t),i=e(()=>te(s?.document,o),[s,o]),c=!s||!i,[d,u]=E(i??ee,{fetchPolicy:r?.fetchPolicy??"network-only",notifyOnNetworkStatusChange:r?.notifyOnNetworkStatusChange,client:s?.client});return{execute:a(async e=>{if(c)return{error:void 0};if(s?.canRun&&!s.canRun(o))return{data:void 0};const t=ne(s,e,o),r=await d({variables:t});return r.error?{error:r.error}:{data:ae(s,r.data,o)}},[s,o,d,c]),data:e(()=>ae(s,u.data,o),[s,o,u.data]),loading:u.loading,error:u.error,called:u.called,unsupported:c}},ie=(t,r)=>{const{operations:o,context:s}=W(),i=f(),c=re(o,t),d=e(()=>te(c?.document,s),[c,s]),u=!c||!d,[l,E]=n({loading:!1,called:!1}),T=a(()=>E({loading:!1,called:!1}),[]);return[a(async e=>{if(u||!d)return{error:void 0};if(c?.canRun&&!c.canRun(s))return{data:void 0};const t=ne(c,e,s),a=c?.client??i;E(e=>({...e,loading:!0,called:!0}));try{const e=await a.mutate({mutation:d,variables:t}),n=ae(c,e.data,s);if(E({data:n,loading:!1,error:void 0,called:!0}),r?.refetchQueries){const e=a.refetchQueries({include:r.refetchQueries});r?.awaitRefetchQueries&&await e}return void 0!==n&&r?.onCompleted?.(n),{data:n}}catch(e){const t=e;return E({data:void 0,loading:!1,error:t,called:!0}),r?.onError?.(t),{error:t}}},[c,s,i,d,u,r]),{data:l.data,loading:l.loading,error:l.error,called:l.called,unsupported:u,reset:T}]},ce=[],de=(e,t,r,a)=>{let n=!0;const o={sources:[]};for(const[s,i]of Object.entries(e)){if(!i.length)continue;n=!1;const e=i.map(({id:e,selected:t,currentStreamName:a})=>({namespace:e.namespace,name:e.name,kind:e.kind,selected:void 0!==t&&t,currentStreamName:a||r}));let c=0,d=0;for(const r of e){const e=t.find(e=>e.id.namespace===s&&e.id.name===r.name&&e.id.kind===r.kind),a=e?.dataStreamNames||[];r.selected&&!e?c++:!r.selected&&e&&a.length<=1&&d++}a(c,d),o.sources.push(...e)}return{payload:o,isEmpty:n}},ue=(e,t)=>{let r=!0;const a={namespaces:[]};for(const[n,{selected:o,currentStreamName:s}]of Object.entries(e))"boolean"==typeof o&&(r=!1,a.namespaces.push({namespace:n,selected:o,currentStreamName:s||t}));return{payload:a,isEmpty:r}},le={filter:{markedForInstrumentation:!0}},Ee=[],fe=[],Te=[],_e=async e=>{const t=(e=>{try{return new URL("/diagnose/download",e).toString()}catch{return null}})(e.httpUrl);if(t)try{const[r,a]=await Promise.all([Promise.resolve(e.authHeader?.()??{}),Promise.resolve(e.csrfHeader?.()??{})]),n=await fetch(t,{credentials:e.credentials??"same-origin",headers:{...r,...a}});if(!n.ok)throw new Error(`Failed to download diagnose archive: ${n.status} ${n.statusText}`);((e,t)=>{if("undefined"==typeof document)return;const r=URL.createObjectURL(e),a=document.createElement("a");a.href=r,a.download=t,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(r)})(await n.blob(),`odigos-diagnose-${Date.now()}.tar.gz`)}catch(e){}},Se=[],pe=[],ye=e=>{if(!e)return;return{clusters:[e],totalNamespaces:e.namespaces?.length??0,totalWorkloads:(e.namespaces??[]).reduce((e,t)=>e+(t.workloads?.length??0),0),lastUpdated:e.timestamp}},Re=[],me=[],Oe=(e,t)=>({...e,fields:e.fields.filter(({value:e})=>void 0!==e),currentStreamName:t}),Ae=[],Ie=()=>{const{operations:t,context:r}=W(),n=f(),s=((e,t)=>{const r=f(),{notifyError:n,notifySuccess:o,notifyPending:s,notifyReadonly:i}=$(h.Source),{selectedStreamName:c}=P(),{setProgress:d,resetProgress:u}=G(),{setConfiguredSources:l,setConfiguredFutureApps:E}=U(),T=(e,t)=>{const{progress:r}=G.getState();e>0&&d(v.Instrumenting,{total:(r[v.Instrumenting]?.total||0)+e,current:r[v.Instrumenting]?.current||0}),t>0&&d(v.Uninstrumenting,{total:(r[v.Uninstrumenting]?.total||0)+t,current:r[v.Uninstrumenting]?.current||0})},_=a(async()=>{const{error:a}=await J(r,e.GET_WORKLOADS,le,t);a&&n(C.Read,a)},[r,e.GET_WORKLOADS,t,n]);return{useSources:()=>{const e=oe("GET_WORKLOADS",le,{fetchPolicy:"cache-first"});return{items:e.data?.workloads??Ee,loading:e.loading,refetch:_}},fetchAll:_,fetchByTargets:async(a,o)=>{const s=!!o?.slim,i=a.map(e=>D(e,h.Source)).filter(e=>e.namespace&&e.name&&e.kind);if(0===i.length)return;if(i.length>50)return void await _();const c=s&&e.GET_WORKLOADS_BY_IDS_SLIM?e.GET_WORKLOADS_BY_IDS_SLIM:e.GET_WORKLOADS_BY_IDS,{error:d}=await J(r,c,{ids:i.map(({namespace:e,kind:t,name:r})=>({namespace:e,kind:t,name:r}))},t);d?n(C.Read,d):await _()},fetchById:async a=>{const{data:o,error:s}=await J(r,e.GET_WORKLOADS_BY_IDS,{ids:[{namespace:a.namespace,kind:a.kind,name:a.name}]},t);if(!s)return o?.workloadsByIds?.find(e=>e.id.namespace===a.namespace&&e.id.kind===a.kind&&e.id.name===a.name);n(C.Read,s)},fetchLibraries:async a=>J(r,e.GET_SOURCE_LIBRARIES,a,t),fetchPeerSources:async a=>J(r,e.GET_PEER_SOURCES,{serviceName:a},t),usePeerSources:(e,t)=>oe("GET_PEER_SOURCES",e,t),persist:async(a,o)=>{if(t.isReadonly)return i();const{data:d}=await J(r,e.GET_WORKLOADS,le,t,"cache-first"),f=d?.workloads??Ee,{payload:_,isEmpty:S}=de(a,f,c,T),{payload:p,isEmpty:y}=ue(o,c);let R=!1;S||(R=!0,s("Persisting sources...")),y||R||s("Persisting namespaces...");const{error:m}=await X(r,e.PERSIST_SOURCES,_,t);if(m&&(u(v.Instrumenting),u(v.Uninstrumenting),n(C.Update,m)),e.PERSIST_NAMESPACES){const{error:a}=await X(r,e.PERSIST_NAMESPACES,p,t);a&&n(C.Update,a)}l({}),E({})},persistV2:async a=>{if(t.isReadonly)return i(),{error:"readonly"};const n=[];for(const[,o]of Object.entries(a)){const a={sources:[]},s={namespaces:[]};for(const e of o)e.name&&e.kind?a.sources.push(e):s.namespaces.push(e);if(s.namespaces.length>0&&e.PERSIST_NAMESPACES){const{error:a}=await X(r,e.PERSIST_NAMESPACES,s,t);a&&n.push(a)}if(a.sources.length>0){const{error:o}=await X(r,e.PERSIST_SOURCES,a,t);o&&n.push(o)}}return n.length?{error:n.join(", ")}:void 0},update:async(a,d)=>{if(t.isReadonly)return i();s("Updating source...");const u={sourceId:a,patchSourceRequest:{...d,currentStreamName:c}},{data:l,error:E}=await X(r,e.UPDATE_SOURCE,u,t);E?n(C.Update,E,a):l?.updateK8sActualSource&&o(C.Update,`Successfully updated "${a.name}" source`,a)},restartWorkloads:async a=>{if(t.isReadonly)return i();s("Restarting sources...");const{data:c,error:d}=await X(r,e.RESTART_WORKLOADS,{sourceIds:a},t);d?n(C.Update,d):c?.restartWorkloads&&o(C.Update,`Successfully restarted ${a.length} sources`)},restartPod:async(a,c)=>{if(t.isReadonly)return i();s("Restarting pod...");const{data:d,error:u}=await X(r,e.RESTART_POD,{namespace:a,name:c},t);u?n(C.Update,u):d?.restartPod&&o(C.Update,`Successfully restarted pod ${a}/${c}`)},recoverFromRollback:async a=>{if(t.isReadonly)return i();s("Recovering from rollback...");const{data:c,error:d}=await X(r,e.RECOVER_FROM_ROLLBACK,{sourceId:a},t);d?n(C.Update,d,a):c?.recoverFromRollbackForWorkload&&o(C.Update,"Successfully triggered recovery from rollback")}}})(t,r),i=((e,t)=>{const r=f(),{notifyError:a,notifySuccess:n,notifyReadonly:o}=$(h.Destination),{selectedStreamName:s}=P(),i=async()=>{const{error:n}=await J(r,e.GET_DESTINATIONS,void 0,t);n&&a(C.Read,n)};return{useDestinations:()=>{const e=oe("GET_DESTINATIONS",void 0,{fetchPolicy:"cache-first"});return{items:e.data?.computePlatform?.destinations??e.data?.destinations??me,loading:e.loading,refetch:i}},useDestinationCategories:()=>{const e=oe("GET_DESTINATION_CATEGORIES",void 0);return{data:e.data,loading:e.loading}},usePotentialDestinations:()=>{const e=oe("GET_POTENTIAL_DESTINATIONS",void 0);return{data:e.data,loading:e.loading}},fetchAll:i,testConnection:async a=>{const{data:n}=await X(r,e.TEST_DESTINATION_CONNECTION,{destination:Oe(a,s)},t);return n},create:async c=>{if(t.isReadonly)return o();const{error:d}=await X(r,e.CREATE_DESTINATION,{destination:Oe(c,s)},t);d?a(C.Create,d):(n(C.Create,`Successfully created "${c.type}" destination`),await i())},update:async(c,d)=>{if(t.isReadonly)return o();const{data:u,error:l}=await X(r,e.UPDATE_DESTINATION,{id:c,destination:Oe(d,s)},t);l?a(C.Update,l,c):u?.updateDestination&&(n(C.Update,`Successfully updated "${d.type}" destination`,c),await i())},remove:async c=>{if(t.isReadonly)return o();const{data:d}=await J(r,e.GET_DESTINATIONS,void 0,t,"cache-first"),u=d?.computePlatform?.destinations??d?.destinations??me,l=u.find(e=>F(e)===c)?.destinationType?.type,{error:E}=await X(r,e.DELETE_DESTINATION,{id:c,currentStreamName:s},t);E?a(C.Delete,E,c):(n(C.Delete,`Successfully deleted "${l??c}" destination`,c),await i())}}})(t,r),c=((t,r)=>{const a=f(),{notifyError:n,notifySuccess:o,notifyReadonly:s}=$(h.Action),i=async()=>{const{error:e}=await J(a,t.GET_ACTIONS,void 0,r);e&&n(C.Read,e)};return{useActions:()=>{const e=oe("GET_ACTIONS",void 0,{fetchPolicy:"cache-first"});return{items:e.data?.computePlatform?.actions??e.data?.actions??fe,loading:e.loading,refetch:i}},useActionTypes:()=>{const t=oe("GET_ACTION_TYPES",void 0,{fetchPolicy:"cache-first"});return{options:e(()=>w(t.data)||Te,[t.data]),loading:t.loading}},fetchAll:i,create:async e=>{if(r.isReadonly)return s();if(!t.CREATE_ACTION)return;const{error:c}=await X(a,t.CREATE_ACTION,{action:e},r);c?n(C.Create,c):(o(C.Create,`Successfully created "${e.type}" action`),await i())},update:async(e,c)=>{if(r.isReadonly)return s();if(!t.UPDATE_ACTION)return;const{error:d}=await X(a,t.UPDATE_ACTION,{id:e,action:c},r);d?n(C.Update,d,e):(o(C.Update,`Successfully updated "${c.type}" action`,e),await i())},remove:async(e,c)=>{if(r.isReadonly)return s();if(!t.DELETE_ACTION)return;const{error:d}=await X(a,t.DELETE_ACTION,{id:e,actionType:c},r);d?n(C.Delete,d,e):(o(C.Delete,`Successfully deleted "${c}" action`,e),await i())}}})(t,r),d=((t,r)=>{const a=f(),{notifyError:n,notifySuccess:o,notifyReadonly:s}=$(h.InstrumentationRule),i=async()=>{const{error:e}=await J(a,t.GET_INSTRUMENTATION_RULES,void 0,r);e&&n(C.Read,e)};return{useRules:()=>{const t=oe("GET_INSTRUMENTATION_RULES",void 0,{fetchPolicy:"cache-first"});return{items:e(()=>(t.data?.computePlatform?.instrumentationRules??t.data?.instrumentationRules??[]).map(b),[t.data]),loading:t.loading,refetch:i}},useRuleTypes:()=>{const t=oe("GET_INSTRUMENTATION_RULE_TYPES",void 0,{fetchPolicy:"cache-first"});return{options:e(()=>M(t.data)||Ae,[t.data]),loading:t.loading}},fetchAll:i,create:async(e,c)=>{if(r.isReadonly)return s();if(!t.CREATE_INSTRUMENTATION_RULE)return;const{error:d}=await X(a,t.CREATE_INSTRUMENTATION_RULE,{instrumentationRule:k(e)},r);d?n(C.Create,d):(o(C.Create,`Successfully created${c?` "${c}"`:""} rule`),await i())},update:async(e,c,d)=>{if(r.isReadonly)return s();if(!t.UPDATE_INSTRUMENTATION_RULE)return;const{error:u}=await X(a,t.UPDATE_INSTRUMENTATION_RULE,{ruleId:e,instrumentationRule:k(c)},r);u?n(C.Update,u,e):(o(C.Update,`Successfully updated${d?` "${d}"`:""} rule`,e),await i())},remove:async(e,c)=>{if(r.isReadonly)return s();if(!t.DELETE_INSTRUMENTATION_RULE)return;const{error:d}=await X(a,t.DELETE_INSTRUMENTATION_RULE,{ruleId:e},r);d?n(C.Delete,d,e):(o(C.Delete,`Successfully deleted${c?` "${c}"`:""} rule`,e),await i())}}})(t,r),u=((e,t)=>{const r=f(),{addNotification:a}=m(),{setDataStreams:n}=P(),s=(e,t)=>a({type:I.Error,title:e,message:t}),i=async()=>{const{data:a,error:o}=await J(r,e.GET_DATA_STREAMS,void 0,t);if(o)s(C.Read,o);else if(a){const e=a.computePlatform?.dataStreams??a.dataStreams??[];n(e)}},c=e.CREATE_DATA_STREAM?async n=>{if(t.isReadonly)return B(a);const{error:o}=await X(r,e.CREATE_DATA_STREAM,{stream:n},t);o?s(C.Create,o):await i()}:void 0;return{useDataStreams:()=>{const e=oe("GET_DATA_STREAMS",void 0,{fetchPolicy:"cache-first"}),t=e.data?.computePlatform?.dataStreams??e.data?.dataStreams??Re;return o(()=>{n(t)},[JSON.stringify(t.map(e=>e.name))]),{items:t,loading:e.loading,refetch:i}},fetchAll:i,create:c,update:async(n,o)=>{if(t.isReadonly)return B(a);const{error:c}=await X(r,e.UPDATE_DATA_STREAM,{id:n,dataStream:o},t);c?s(C.Update,c):await i()},remove:async n=>{if(t.isReadonly)return B(a);const{error:o}=await X(r,e.DELETE_DATA_STREAM,{id:n},t);o?s(C.Delete,o):await i()}}})(t,r),l=((e,t)=>{const r=f(),{notifyError:a,notifyReadonly:n}=$(h.Namespace),o=async()=>{const n=await J(r,e.GET_NAMESPACES_WITH_WORKLOADS,void 0,t);return n.error&&a(C.Read,n.error),n};return{useNamespaces:()=>{const e=oe("GET_NAMESPACES_WITH_WORKLOADS",void 0,{fetchPolicy:"cache-and-network"});return{items:e.data?.namespaces??pe,loading:e.loading,refetch:o}},fetchAll:o,persist:async o=>{if(t.isReadonly)return n();const{error:s}=await X(r,e.PERSIST_NAMESPACES,o,t);return s&&a(C.Update,s),s?{error:s}:void 0}}})(t,r),E=((e,t)=>{const r=f(),{notifyError:a}=$(h.Source);return{fetch:async n=>{const o=await J(r,e.GET_K8S_MANIFEST,n,t);return o.error&&a(C.Read,o.error),o}}})(t,r),T=((e,t)=>{const r=f(),{notifyError:a,notifySuccess:n,notifyReadonly:o}=$(h.Source);return{useEffectiveConfig:(e,t)=>oe("GET_EFFECTIVE_CONFIG",e,t),useConfigYamls:e=>oe("GET_CONFIG_YAMLS",void 0,e),getEffectiveConfig:async a=>e.GET_EFFECTIVE_CONFIG?J(r,e.GET_EFFECTIVE_CONFIG,{id:a},t):{error:"GET_EFFECTIVE_CONFIG not configured"},applyConfigurations:e.UPDATE_REMOTE_CONFIG?async(n,s)=>{if(t.isReadonly)return o();const{error:i}=await X(r,e.UPDATE_REMOTE_CONFIG,{formData:n,connectionIds:s},t);return i&&a(C.Update,i),i?{error:i}:void 0}:void 0,getConfigYamls:e.GET_CONFIG_YAMLS?async()=>J(r,e.GET_CONFIG_YAMLS,void 0,t):void 0,updateLocalUiConfig:e.UPDATE_LOCAL_UI_CONFIG?async s=>{if(t.isReadonly)return o();const{error:i}=await X(r,e.UPDATE_LOCAL_UI_CONFIG,{config:s},t);return i?a(C.Update,i):n(C.Update,"Local UI configuration updated successfully"),i?{error:i}:void 0}:void 0,resetLocalUiConfigToDefaults:e.RESET_LOCAL_UI_CONFIG_TO_FACTORY_DEFAULTS?async()=>{if(t.isReadonly)return o();const{error:s}=await X(r,e.RESET_LOCAL_UI_CONFIG_TO_FACTORY_DEFAULTS,void 0,t);return s?a(C.Update,s):n(C.Update,"Local UI configuration reset to factory defaults"),s?{error:s}:void 0}:void 0}})(t,r),_=((e,t)=>{const r=f(),{apolloConfig:a}=W();return{fetchDescribeOdigos:e.GET_DESCRIBE_ODIGOS?async()=>J(r,e.GET_DESCRIBE_ODIGOS,void 0,t):void 0,fetchDescribeSource:e.GET_DESCRIBE_SOURCE?async a=>J(r,e.GET_DESCRIBE_SOURCE,a,t):void 0,downloadDiagnose:e.GET_DIAGNOSE?async(n,o)=>{const s=await J(r,e.GET_DIAGNOSE,{input:n,dryRun:o?.dryRun??!1},t),i=s?.data?.stats?.fileCount??0;return!s.error&&i>0&&!o?.dryRun&&await _e(a),s}:void 0}})(t,r),S=((e,t)=>{const r=f(),{notifyError:a,notifyReadonly:n}=$(h.Source),o=async()=>{e.GET_TOKENS&&await J(r,e.GET_TOKENS,void 0,t)};return{useTokens:()=>{const e=oe("GET_TOKENS",void 0,{fetchPolicy:"cache-first"});return{items:e.data??ce,loading:e.loading,refetch:o}},updateToken:e.UPDATE_TOKEN?async o=>{if(t.isReadonly)return n();const{error:s}=await X(r,e.UPDATE_TOKEN,{token:o},t);return s&&a(C.Update,s),s?{error:s}:void 0}:void 0}})(t,r),p=((e,t)=>{const r=f();return{useMetrics:e=>oe("GET_METRICS",void 0,e),fetch:async()=>J(r,e.GET_METRICS,void 0,t)}})(t,r),y=((e,t)=>{const r=f();return{useServiceMap:e=>oe("GET_SERVICE_MAP",void 0,e),fetch:e.GET_SERVICE_MAP?async()=>J(r,e.GET_SERVICE_MAP,void 0,t):void 0}})(t,r),R=((e,t)=>{const r=f();return{useSlots:e=>oe("GET_PROFILING_SLOTS",void 0,e),useSourceProfiling:(e,t)=>oe("GET_SOURCE_PROFILING",e,t),fetchSlots:e.GET_PROFILING_SLOTS?async()=>J(r,e.GET_PROFILING_SLOTS,void 0,t):void 0,fetchSourceProfiling:e.GET_SOURCE_PROFILING?async a=>J(r,e.GET_SOURCE_PROFILING,a,t):void 0,enableProfiling:e.ENABLE_SOURCE_PROFILING?async a=>X(r,e.ENABLE_SOURCE_PROFILING,a,t):void 0}})(t,r),O=((e,t)=>{const r=f();return{useGatewayInfo:e=>oe("GET_GATEWAY_INFO",void 0,e),useGatewayPods:e=>oe("GET_GATEWAY_PODS",void 0,e),useNodeCollectorInfo:e=>oe("GET_NODE_COLLECTOR_INFO",void 0,e),useNodeCollectorPods:e=>oe("GET_NODE_COLLECTOR_PODS",void 0,e),usePodInfo:(e,t)=>oe("GET_COLLECTOR_POD_INFO",e,t),getGatewayInfo:e.GET_GATEWAY_INFO?async()=>J(r,e.GET_GATEWAY_INFO,void 0,t):void 0,getGatewayPods:e.GET_GATEWAY_PODS?async()=>J(r,e.GET_GATEWAY_PODS,void 0,t):void 0,getNodeCollectorInfo:e.GET_NODE_COLLECTOR_INFO?async()=>J(r,e.GET_NODE_COLLECTOR_INFO,void 0,t):void 0,getNodeCollectorPods:e.GET_NODE_COLLECTOR_PODS?async()=>J(r,e.GET_NODE_COLLECTOR_PODS,void 0,t):void 0,getExtendedPodInfo:e.GET_COLLECTOR_POD_INFO?async(a,n)=>J(r,e.GET_COLLECTOR_POD_INFO,{namespace:a,name:n},t):void 0}})(t,r),A=((e,t)=>{const r=f(),{notifyError:a,notifySuccess:n,notifyReadonly:o}=$(h.SamplingRule),s=async()=>{e.GET_SAMPLING_RULES&&await J(r,e.GET_SAMPLING_RULES,void 0,t)},i=(e,i)=>e?async c=>{if(t.isReadonly)return o();const{error:d}=await X(r,e,c,t);return d?a(i,d):(n(C.Create,"Successfully created sampling rule"),await s()),d?{error:d}:void 0}:void 0,c=(e,i)=>e?async(c,d)=>{if(t.isReadonly)return o();const{error:u}=await X(r,e,{samplingId:d.samplingId,ruleId:c,rule:d.rule},t);return u?a(i,u):(n(C.Update,"Successfully updated sampling rule"),await s()),u?{error:u}:void 0}:void 0,d=e=>e?async(i,c)=>{if(t.isReadonly)return o();const{error:d}=await X(r,e,{samplingId:c,ruleId:i},t);return d?a(C.Delete,d):(n(C.Delete,"Successfully deleted sampling rule"),await s()),d?{error:d}:void 0}:void 0;return{useSamplingRules:()=>{const e=oe("GET_SAMPLING_RULES",void 0,{fetchPolicy:"cache-first"});return{items:e.data?.computePlatform?.samplingRules??e.data?.samplingRules??Se,k8sHealthProbesConfig:e.data?.computePlatform?.k8sHealthProbesConfig??e.data?.k8sHealthProbesConfig??null,loading:e.loading,refetch:s}},fetchAll:e.GET_SAMPLING_RULES?async()=>J(r,e.GET_SAMPLING_RULES,void 0,t):void 0,createNoisy:i(e.CREATE_NOISY_OPERATION_RULE,C.Create),updateNoisy:c(e.UPDATE_NOISY_OPERATION_RULE,C.Update),deleteNoisy:d(e.DELETE_NOISY_OPERATION_RULE),createHighlyRelevant:i(e.CREATE_HIGHLY_RELEVANT_OPERATION_RULE,C.Create),updateHighlyRelevant:c(e.UPDATE_HIGHLY_RELEVANT_OPERATION_RULE,C.Update),deleteHighlyRelevant:d(e.DELETE_HIGHLY_RELEVANT_OPERATION_RULE),createCostReduction:i(e.CREATE_COST_REDUCTION_RULE,C.Create),updateCostReduction:c(e.UPDATE_COST_REDUCTION_RULE,C.Update),deleteCostReduction:d(e.DELETE_COST_REDUCTION_RULE),updateK8sHealthProbesConfig:e.UPDATE_LOCAL_UI_SAMPLING_CONFIG?async n=>{if(t.isReadonly)return o();const{error:i}=await X(r,e.UPDATE_LOCAL_UI_SAMPLING_CONFIG,{config:{k8sHealthProbesSampling:n}},t);return i?a(C.Update,i):await s(),i?{error:i}:void 0}:void 0}})(t,r),N=((t,r)=>{const n=f();return{useSnapshots:()=>{const t=r.proxyID,n=!!t,o=oe("GET_ALL_CLUSTER_SNAPSHOTS",void 0,{fetchPolicy:"cache-and-network",skip:n}),s=oe("GET_CLUSTER_SNAPSHOT",t?{clusterId:t}:void 0,{fetchPolicy:"cache-and-network",skip:!n}),i=e(()=>n?ye(s.data):o.data,[n,s.data,o.data]),c=a(async()=>{if(!n)return o.refetch();const{data:e}=await s.refetch();return{data:ye(e)}},[n,o.refetch,s.refetch]);return{data:i,loading:n?s.loading:o.loading,unsupported:n?s.unsupported:o.unsupported,refetch:c}},getAllClusterSnapshots:t.GET_ALL_CLUSTER_SNAPSHOTS?async()=>J(n,t.GET_ALL_CLUSTER_SNAPSHOTS,void 0,r):void 0,getClusterSnapshot:t.GET_CLUSTER_SNAPSHOT?async e=>J(n,t.GET_CLUSTER_SNAPSHOT,{clusterId:e},r):void 0}})(t,r);return{sourcesApi:s,destinationsApi:i,actionsApi:c,instrumentationRulesApi:d,dataStreamsApi:u,namespacesApi:l,k8sManifestApi:E,configApi:T,describeApi:_,tokensApi:S,metricsApi:p,serviceMapApi:y,profilingApi:R,collectorsApi:O,samplingApi:A,snapshotsApi:N,capabilities:e(()=>((e,t)=>{const r=t.platformType===g.Vm,a=t.tier===L.Onprem,n=!r;return{canBulkPersistSources:n&&!!e.PERSIST_SOURCES,canInstrumentNamespaces:n&&!!e.PERSIST_NAMESPACES,canFetchSnapshots:n&&!!e.GET_ALL_CLUSTER_SNAPSHOTS,canRecoverFromRollback:n&&!!e.RECOVER_FROM_ROLLBACK,canRestartWorkloads:n&&!!e.RESTART_WORKLOADS,canFetchPeerSources:!!e.GET_PEER_SOURCES,canFetchSourceLibraries:!!e.GET_SOURCE_LIBRARIES,canFetchK8sManifest:n&&!!e.GET_K8S_MANIFEST,canCreateDestination:!!e.CREATE_DESTINATION,canTestConnection:n&&!!e.TEST_DESTINATION_CONNECTION,canFetchDestinationCategories:!!e.GET_DESTINATION_CATEGORIES,canFetchPotentialDestinations:n&&!!e.GET_POTENTIAL_DESTINATIONS,canCreateAction:!!e.CREATE_ACTION,canFetchActionTypes:!!e.GET_ACTION_TYPES,canCreateInstrumentationRule:!!e.CREATE_INSTRUMENTATION_RULE,canFetchInstrumentationRuleTypes:!!e.GET_INSTRUMENTATION_RULE_TYPES,canApplyEffectiveConfig:n&&!!e.UPDATE_REMOTE_CONFIG&&!!e.GET_EFFECTIVE_CONFIG,canFetchEffectiveConfig:!!e.GET_EFFECTIVE_CONFIG,canFetchConfigYamls:!!e.GET_CONFIG_YAMLS,canFetchProfiling:n&&!!e.GET_PROFILING_SLOTS,canFetchCollectorInfo:n&&!!e.GET_GATEWAY_INFO,canManageSamplingRules:!!e.GET_SAMPLING_RULES,isEnterprise:a,isVm:r}})(t,r),[t,r]),resetCache:a(async()=>{await n.cache.reset()},[n])}};export{x as O,K as _,de as a,ie as b,oe as c,Ie as d,W as e,Z as f,ue as p,X as r,se as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function e(e,t){void 0===t&&(t={});var d=t.insertAt;if("undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css","top"===d&&n.firstChild?n.insertBefore(s,n.firstChild):n.appendChild(s),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(document.createTextNode(e))}}export{e as s};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type MouseEventHandler, type FC } from 'react';
|
|
2
|
-
import type { SVG } from '@/types';
|
|
3
|
-
export declare enum IconButtonSize {
|
|
4
|
-
XS = 16,
|
|
5
|
-
S = 18,
|
|
6
|
-
M = 24,
|
|
7
|
-
L = 32
|
|
8
|
-
}
|
|
9
|
-
export interface IconButtonProps {
|
|
10
|
-
'data-id'?: string;
|
|
11
|
-
icon: SVG;
|
|
12
|
-
size?: IconButtonSize;
|
|
13
|
-
onClick?: MouseEventHandler;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare const IconButton: FC<IconButtonProps>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import { SVG, StatusType } from '@/types';
|
|
3
|
-
export interface IconGroupProps {
|
|
4
|
-
icons?: SVG[];
|
|
5
|
-
icon?: SVG;
|
|
6
|
-
iconSrc?: string;
|
|
7
|
-
status?: StatusType;
|
|
8
|
-
size?: number;
|
|
9
|
-
padding?: number;
|
|
10
|
-
}
|
|
11
|
-
export declare const IconGroup: FC<IconGroupProps>;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export * from './autocomplete';
|
|
2
|
-
export * from './badge';
|
|
3
|
-
export * from './button';
|
|
4
|
-
export * from './button-tab';
|
|
5
|
-
export * from './cards';
|
|
6
|
-
export * from './charts';
|
|
7
|
-
export * from './checkbox';
|
|
8
|
-
export * from './cli-command';
|
|
9
|
-
export * from './condition';
|
|
10
|
-
export * from './conditions';
|
|
11
|
-
export * from './drawer';
|
|
12
|
-
export * from './drop-data';
|
|
13
|
-
export * from './drop-down';
|
|
14
|
-
export * from './field-message';
|
|
15
|
-
export * from './field-title';
|
|
16
|
-
export * from './header';
|
|
17
|
-
export * from './hover-actions';
|
|
18
|
-
export * from './icon-button';
|
|
19
|
-
export * from './icon-group';
|
|
20
|
-
export * from './input';
|
|
21
|
-
export * from './input-list';
|
|
22
|
-
export * from './input-table';
|
|
23
|
-
export * from './island';
|
|
24
|
-
export * from './loader';
|
|
25
|
-
export * from './modal';
|
|
26
|
-
export * from './navbar';
|
|
27
|
-
export * from './no-data';
|
|
28
|
-
export * from './note';
|
|
29
|
-
export * from './radio';
|
|
30
|
-
export * from './search';
|
|
31
|
-
export * from './segment';
|
|
32
|
-
export * from './stepper';
|
|
33
|
-
export * from './table';
|
|
34
|
-
export * from './tag';
|
|
35
|
-
export * from './textarea';
|
|
36
|
-
export * from './time-input';
|
|
37
|
-
export * from './toggle';
|
|
38
|
-
export * from './typography';
|
|
39
|
-
export * from './typography-truncatable';
|
|
40
|
-
export * from './warning-modal';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const createAnimation: (loaderName: string, frames: string, suffix: string) => string;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
interface LengthObject {
|
|
2
|
-
value: number;
|
|
3
|
-
unit: string;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* If size is a number, append px to the value as default unit.
|
|
7
|
-
* If size is a string, validate against list of valid units.
|
|
8
|
-
* If unit is valid, return size as is.
|
|
9
|
-
* If unit is invalid, console warn issue, replace with px as the unit.
|
|
10
|
-
*
|
|
11
|
-
* @param {(number | string)} size
|
|
12
|
-
* @return {LengthObject} LengthObject
|
|
13
|
-
*/
|
|
14
|
-
export declare function parseLengthAndUnit(size: number | string): LengthObject;
|
|
15
|
-
/**
|
|
16
|
-
* Take value as an input and return valid css value
|
|
17
|
-
*
|
|
18
|
-
* @param {(number | string)} value
|
|
19
|
-
* @return {string} valid css value
|
|
20
|
-
*/
|
|
21
|
-
export declare function cssValue(value: number | string): string;
|
|
22
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type CSSProperties, type DetailedHTMLProps, type FC, type HTMLAttributes } from 'react';
|
|
2
|
-
interface FadeLoaderProps extends DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement> {
|
|
3
|
-
loading?: boolean;
|
|
4
|
-
color?: string;
|
|
5
|
-
scale?: number;
|
|
6
|
-
speedMultiplier?: number;
|
|
7
|
-
cssOverride?: CSSProperties;
|
|
8
|
-
}
|
|
9
|
-
declare const FadeLoader: FC<FadeLoaderProps>;
|
|
10
|
-
export { FadeLoader, type FadeLoaderProps };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import { StatusType, type SVG } from '@/types';
|
|
3
|
-
interface IconWrappedProps {
|
|
4
|
-
icon?: SVG;
|
|
5
|
-
src?: string;
|
|
6
|
-
alt?: string;
|
|
7
|
-
status?: StatusType;
|
|
8
|
-
size?: number;
|
|
9
|
-
}
|
|
10
|
-
declare const IconWrapped: FC<IconWrappedProps>;
|
|
11
|
-
export { IconWrapped, type IconWrappedProps };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { type TextProps } from '../text';
|
|
3
|
-
interface LoadingTextProps extends TextProps {
|
|
4
|
-
children?: string | string[];
|
|
5
|
-
textColor?: string;
|
|
6
|
-
stripColor?: string;
|
|
7
|
-
}
|
|
8
|
-
declare const LoadingText: FC<LoadingTextProps>;
|
|
9
|
-
export { LoadingText, type LoadingTextProps };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { type CSSProperties, type FC } from 'react';
|
|
2
|
-
import { StatusType, type SVG } from '@/types';
|
|
3
|
-
interface OnCloseParams {
|
|
4
|
-
asSeen: boolean;
|
|
5
|
-
}
|
|
6
|
-
interface NotificationNoteProps {
|
|
7
|
-
id?: string;
|
|
8
|
-
type: StatusType;
|
|
9
|
-
icon?: SVG;
|
|
10
|
-
title?: string;
|
|
11
|
-
message?: string;
|
|
12
|
-
action?: {
|
|
13
|
-
label: string;
|
|
14
|
-
onClick: () => void;
|
|
15
|
-
};
|
|
16
|
-
onClose?: (params: OnCloseParams) => void;
|
|
17
|
-
duration?: number;
|
|
18
|
-
overrideMaxWidth?: CSSProperties['width'];
|
|
19
|
-
style?: CSSProperties;
|
|
20
|
-
}
|
|
21
|
-
declare const NotificationNote: FC<NotificationNoteProps>;
|
|
22
|
-
export { NotificationNote, type NotificationNoteProps };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React, { type CSSProperties, type HTMLAttributes, type PropsWithChildren, type ReactNode } from 'react';
|
|
2
|
-
interface PopupProps extends PropsWithChildren, HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
header?: ReactNode;
|
|
4
|
-
footer?: ReactNode;
|
|
5
|
-
isOpen: boolean;
|
|
6
|
-
asPortal?: boolean;
|
|
7
|
-
withPointerEvents?: boolean;
|
|
8
|
-
top?: number;
|
|
9
|
-
bottom?: number;
|
|
10
|
-
left?: number;
|
|
11
|
-
right?: number;
|
|
12
|
-
borderRadius?: CSSProperties['borderRadius'];
|
|
13
|
-
padding?: CSSProperties['padding'];
|
|
14
|
-
maxWidth?: CSSProperties['maxWidth'];
|
|
15
|
-
width?: CSSProperties['width'];
|
|
16
|
-
}
|
|
17
|
-
declare const Popup: React.ForwardRefExoticComponent<PopupProps & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
-
export { Popup, type PopupProps };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import { type TextProps } from '../text';
|
|
3
|
-
interface ScrollXProps {
|
|
4
|
-
maxWidth: number;
|
|
5
|
-
text: string;
|
|
6
|
-
textSize?: TextProps['size'];
|
|
7
|
-
textColor?: TextProps['color'];
|
|
8
|
-
}
|
|
9
|
-
declare const ScrollX: FC<ScrollXProps>;
|
|
10
|
-
export { ScrollX, type ScrollXProps };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { type DetailedHTMLProps, type FC, type HTMLAttributes, type ReactNode, CSSProperties } from 'react';
|
|
2
|
-
import { type DefaultTheme } from 'styled-components';
|
|
3
|
-
interface TextProps extends DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
color?: string;
|
|
6
|
-
size?: number;
|
|
7
|
-
weight?: number;
|
|
8
|
-
align?: 'left' | 'center' | 'right';
|
|
9
|
-
family?: 'primary' | 'secondary';
|
|
10
|
-
opacity?: number;
|
|
11
|
-
decoration?: string;
|
|
12
|
-
transform?: CSSProperties['textTransform'];
|
|
13
|
-
nowrap?: boolean;
|
|
14
|
-
}
|
|
15
|
-
declare const getLinksFromText: (text: string) => {
|
|
16
|
-
original: string;
|
|
17
|
-
href: string;
|
|
18
|
-
label: string;
|
|
19
|
-
}[] | undefined;
|
|
20
|
-
declare const getStrongsFromText: (text: string) => {
|
|
21
|
-
original: string;
|
|
22
|
-
label: string;
|
|
23
|
-
}[] | undefined;
|
|
24
|
-
declare const renderText: (text: string, theme: DefaultTheme) => ReactNode;
|
|
25
|
-
declare const Text: FC<TextProps>;
|
|
26
|
-
export { Text, type TextProps, getLinksFromText, getStrongsFromText, renderText };
|
package/lib/components/v2.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{eI as Autocomplete,R as Badge,B as Button,z as ButtonSize,gq as ButtonTab,gr as ButtonTabList,L as ButtonVariants,V as Checkbox,gs as CheckboxList,dj as CheckboxSize,bi as CliCommand,bd as Condition,b1 as Conditions,gt as DEFAULT_TIME_UNITS,b0 as DataCard,ag as Drawer,bX as DropData,bZ as DropDataAlignX,bY as DropDataAlignY,aR as DropDown,aa as FieldMessage,a9 as FieldTitle,dB as GaugeChart,gu as GaugeChartVariant,gv as Header,gw as HoverActions,aS as IconButton,aT as IconButtonSize,w as IconGroup,an as Input,ar as InputCardTable,af as InputList,ab as InputTable,by as Island,aU as Loader,c0 as Modal,gx as Navbar,N as NoData,Y as Note,ak as Radio,gy as RadioGroup,am as RadioSize,U as Search,aK as SectionCard,gz as SectionCardSize,M as Segment,at as SegmentSize,bu as SegmentVariant,dA as StatusCard,dd as Stepper,bw as Table,bx as TableVariant,b7 as Tag,bh as TagVariants,au as TextArea,dC as TextCard,dV as TimeInput,ad as Toggle,ae as ToggleLabelAlign,gA as ToggleList,aX as ToggleSize,gB as ToggleVariant,as as TruncatableTypography,T as Typography,O as TypographyColor,a as TypographySize,aY as TypographyVariants,aB as WarningModal,gC as resolveTypographyColor}from"../chunks/ui-components-D1ehQI2Z.js";import"react/jsx-runtime";import"styled-components";import"../icons.js";import"zustand";import"react";import"javascript-time-ago";import"javascript-time-ago/locale/en";import"prism-react-renderer";import"../chunks/vendor-BFqT13Me.js";import"zustand/middleware";import"react-error-boundary";import"react-dom";import"virtua";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './_drawers';
|
|
2
|
-
export * from './_forms';
|
|
3
|
-
export * from './_modals';
|
|
4
|
-
export * from './central-connections';
|
|
5
|
-
export * from './onboarding';
|
|
6
|
-
export * from './overview';
|
|
7
|
-
export * from './pipeline-collectors';
|
|
8
|
-
export * from './sampling-rules';
|
|
9
|
-
export * from './settings';
|