@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,o){let r;try{r=e()}catch(e){return}return{getItem:e=>{var t;const n=e=>null===e?null:JSON.parse(e,null==o?void 0:o.reviver),a=null!=(t=r.getItem(e))?t:null;return a instanceof Promise?a.then(n):n(a)},setItem:(e,t)=>r.setItem(e,JSON.stringify(t,null==o?void 0:o.replacer)),removeItem:e=>r.removeItem(e)}}const o=e=>r=>{try{const t=e(r);return t instanceof Promise?t:{then:e=>o(e)(t),catch(e){return this}}}catch(e){return{then(e){return this},catch:r=>o(r)(e)}}},r=(r,t)=>(n,a,l)=>{let c={storage:e(()=>localStorage),partialize:e=>e,version:0,merge:(e,o)=>({...o,...e}),...t},s=!1;const d=new Set,i=new Set;let u=c.storage;if(!u)return r((...e)=>{n(...e)},a,l);const f=()=>{const e=c.partialize({...a()});return u.setItem(c.name,{state:e,version:c.version})},b=l.setState;l.setState=(e,o)=>(b(e,o),f());const p=r((...e)=>(n(...e),f()),a,l);let _;l.getInitialState=()=>p;const x=()=>{var e,r;if(!u)return;s=!1,d.forEach(e=>{var o;return e(null!=(o=a())?o:p)});const t=(null==(r=c.onRehydrateStorage)?void 0:r.call(c,null!=(e=a())?e:p))||void 0;return o(u.getItem.bind(u))(c.name).then(e=>{if(e){if("number"!=typeof e.version||e.version===c.version)return[!1,e.state];if(c.migrate){const o=c.migrate(e.state,e.version);return o instanceof Promise?o.then(e=>[!0,e]):[!0,o]}}return[!1,void 0]}).then(e=>{var o;const[r,t]=e;if(_=c.merge(t,null!=(o=a())?o:p),n(_,!0),r)return f()}).then(()=>{null==t||t(_,void 0),_=a(),s=!0,i.forEach(e=>e(_))}).catch(e=>{null==t||t(void 0,e)})};return l.persist={setOptions:e=>{c={...c,...e},e.storage&&(u=e.storage)},clearStorage:()=>{null==u||u.removeItem(c.name)},getOptions:()=>c,rehydrate:()=>x(),hasHydrated:()=>s,onHydrate:e=>(d.add(e),()=>{d.delete(e)}),onFinishHydration:e=>(i.add(e),()=>{i.delete(e)})},c.skipHydration||x(),_||p};function t(e,o){void 0===o&&(o={});var r=o.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===r&&t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}var n={locale:"en",long:{year:{previous:"last year",current:"this year",next:"next year",past:{one:"{0} year ago",other:"{0} years ago"},future:{one:"in {0} year",other:"in {0} years"}},quarter:{previous:"last quarter",current:"this quarter",next:"next quarter",past:{one:"{0} quarter ago",other:"{0} quarters ago"},future:{one:"in {0} quarter",other:"in {0} quarters"}},month:{previous:"last month",current:"this month",next:"next month",past:{one:"{0} month ago",other:"{0} months ago"},future:{one:"in {0} month",other:"in {0} months"}},week:{previous:"last week",current:"this week",next:"next week",past:{one:"{0} week ago",other:"{0} weeks ago"},future:{one:"in {0} week",other:"in {0} weeks"}},day:{previous:"yesterday",current:"today",next:"tomorrow",past:{one:"{0} day ago",other:"{0} days ago"},future:{one:"in {0} day",other:"in {0} days"}},hour:{current:"this hour",past:{one:"{0} hour ago",other:"{0} hours ago"},future:{one:"in {0} hour",other:"in {0} hours"}},minute:{current:"this minute",past:{one:"{0} minute ago",other:"{0} minutes ago"},future:{one:"in {0} minute",other:"in {0} minutes"}},second:{current:"now",past:{one:"{0} second ago",other:"{0} seconds ago"},future:{one:"in {0} second",other:"in {0} seconds"}}},short:{year:{previous:"last yr.",current:"this yr.",next:"next yr.",past:"{0} yr. ago",future:"in {0} yr."},quarter:{previous:"last qtr.",current:"this qtr.",next:"next qtr.",past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},future:{one:"in {0} qtr.",other:"in {0} qtrs."}},month:{previous:"last mo.",current:"this mo.",next:"next mo.",past:"{0} mo. ago",future:"in {0} mo."},week:{previous:"last wk.",current:"this wk.",next:"next wk.",past:"{0} wk. ago",future:"in {0} wk."},day:{previous:"yesterday",current:"today",next:"tomorrow",past:{one:"{0} day ago",other:"{0} days ago"},future:{one:"in {0} day",other:"in {0} days"}},hour:{current:"this hour",past:"{0} hr. ago",future:"in {0} hr."},minute:{current:"this minute",past:"{0} min. ago",future:"in {0} min."},second:{current:"now",past:"{0} sec. ago",future:"in {0} sec."}},narrow:{year:{previous:"last yr.",current:"this yr.",next:"next yr.",past:"{0}y ago",future:"in {0}y"},quarter:{previous:"last qtr.",current:"this qtr.",next:"next qtr.",past:"{0}q ago",future:"in {0}q"},month:{previous:"last mo.",current:"this mo.",next:"next mo.",past:"{0}mo ago",future:"in {0}mo"},week:{previous:"last wk.",current:"this wk.",next:"next wk.",past:"{0}w ago",future:"in {0}w"},day:{previous:"yesterday",current:"today",next:"tomorrow",past:"{0}d ago",future:"in {0}d"},hour:{current:"this hour",past:"{0}h ago",future:"in {0}h"},minute:{current:"this minute",past:"{0}m ago",future:"in {0}m"},second:{current:"now",past:"{0}s ago",future:"in {0}s"}},now:{now:{current:"now",future:"in a moment",past:"just now"}},mini:{year:"{0}yr",month:"{0}mo",week:"{0}wk",day:"{0}d",hour:"{0}h",minute:"{0}m",second:"{0}s",now:"now"},"short-time":{year:"{0} yr.",month:"{0} mo.",week:"{0} wk.",day:{one:"{0} day",other:"{0} days"},hour:"{0} hr.",minute:"{0} min.",second:"{0} sec."},"long-time":{year:{one:"{0} year",other:"{0} years"},month:{one:"{0} month",other:"{0} months"},week:{one:"{0} week",other:"{0} weeks"},day:{one:"{0} day",other:"{0} days"},hour:{one:"{0} hour",other:"{0} hours"},minute:{one:"{0} minute",other:"{0} minutes"},second:{one:"{0} second",other:"{0} seconds"}}};t(".react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:hsla(0,0%,100%,.5);--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:hsla(0,0%,94%,.6);--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:hsla(0,0%,94%,.25);--xy-node-boxshadow-hover-default:0 1px 4px 1px rgba(0,0,0,.08);--xy-node-boxshadow-selected-default:0 0 0 0.5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:rgba(0,89,220,.08);--xy-selection-border-default:1px dotted rgba(0,89,220,.8);--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px rgba(0,0,0,.08);--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;background-color:var(--xy-background-color,var(--xy-background-color-default));direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:hsla(0,0%,59%,.25);--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:rgba(60,60,60,.6);--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#777;--xy-background-pattern-lines-color-default:#777;--xy-background-pattern-cross-color-default:#777;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:hsla(0,0%,94%,.25);--xy-node-boxshadow-hover-default:0 1px 4px 1px hsla(0,0%,100%,.08);--xy-node-boxshadow-selected-default:0 0 0 0.5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:rgba(200,200,220,.08);--xy-selection-border-default:1px dotted rgba(200,200,220,.8);--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px rgba(0,0,0,.08);--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{height:100%;left:0;position:absolute;top:0;width:100%}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{pointer-events:none;transform-origin:0 0;z-index:2}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;pointer-events:none;position:absolute}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path,.react-flow__edge.selected .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{overflow:visible;position:absolute;z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{box-sizing:border-box;cursor:default;pointer-events:all;position:absolute;transform-origin:0 0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{pointer-events:none;transform-origin:left top;z-index:3}.react-flow__nodesselection-rect{cursor:grab;pointer-events:all;position:absolute}.react-flow__handle{background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;height:6px;min-height:5px;min-width:5px;pointer-events:none;position:absolute;width:6px}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{cursor:crosshair;pointer-events:all}.react-flow__handle-bottom{bottom:0;left:50%;top:auto;transform:translate(-50%,50%)}.react-flow__handle-top{left:50%;top:0;transform:translate(-50%,-50%)}.react-flow__handle-left{left:0;top:50%;transform:translate(-50%,-50%)}.react-flow__handle-right{right:0;top:50%;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{margin:15px;position:absolute;z-index:5}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.bottom.center,.react-flow__panel.top.center{left:50%;transform:translateX(-15px) translateX(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));font-size:10px;margin:0;padding:2px 3px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{pointer-events:none}.react-flow__edgelabel-renderer,.react-flow__viewport-portal{height:100%;left:0;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.react-flow__minimap{background:var(\n --xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default))\n )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(\n --xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default))\n );stroke:var(\n --xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default))\n );stroke-width:var(\n --xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default))\n )}.react-flow__minimap-node{fill:var(\n --xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default))\n );stroke:var(\n --xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default))\n );stroke-width:var(\n --xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default))\n )}.react-flow__background-pattern.dots{fill:var(\n --xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default))\n )}.react-flow__background-pattern.lines{stroke:var(\n --xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default))\n )}.react-flow__background-pattern.cross{stroke:var(\n --xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default))\n )}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));display:flex;flex-direction:column}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{align-items:center;background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(\n --xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default))\n );color:var(\n --xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default))\n );cursor:pointer;display:flex;height:26px;justify-content:center;padding:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:26px}.react-flow__controls-button svg{fill:currentColor;max-height:12px;max-width:12px;width:100%}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-group,.react-flow__node-input,.react-flow__node-output{background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));border:var(--xy-node-border,var(--xy-node-border-default));border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));color:var(--xy-node-color,var(--xy-node-color-default));font-size:12px;padding:10px;text-align:center;width:150px}.react-flow__node-default.selectable:hover,.react-flow__node-group.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(\n --xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default))\n );color:var(\n --xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default))\n )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(\n --xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default))\n )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.bottom,.react-flow__resize-control.top{cursor:ns-resize}.react-flow__resize-control.bottom.right,.react-flow__resize-control.top.left{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;height:5px;translate:-50% -50%;width:5px}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.bottom.left,.react-flow__resize-control.handle.top.left{left:0}.react-flow__resize-control.handle.bottom.right,.react-flow__resize-control.handle.top.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{height:100%;top:0;transform:translate(-50%);width:1px}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.bottom,.react-flow__resize-control.line.top{height:1px;left:0;transform:translateY(-50%);width:100%}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}");export{e as c,n as e,r as p,t as s};
|
|
@@ -12,8 +12,11 @@ interface AutocompleteInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
|
12
12
|
placeholder?: string;
|
|
13
13
|
selectedOption?: Option;
|
|
14
14
|
onOptionSelect?: (option?: Option) => void;
|
|
15
|
+
defaultText?: string;
|
|
16
|
+
onTextChange?: (text: string) => void;
|
|
15
17
|
style?: CSSProperties;
|
|
16
18
|
disabled?: boolean;
|
|
19
|
+
errorMessage?: string;
|
|
17
20
|
}
|
|
18
21
|
declare const AutocompleteInput: FC<AutocompleteInputProps>;
|
|
19
22
|
export { AutocompleteInput, type AutocompleteInputProps };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { type ReactNode, type FC } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { StatusType } from '@/types';
|
|
3
3
|
interface BadgeProps {
|
|
4
4
|
label: string | number | ReactNode;
|
|
5
5
|
filled?: boolean;
|
|
6
|
-
status?:
|
|
6
|
+
status?: StatusType;
|
|
7
7
|
withIcon?: boolean;
|
|
8
8
|
onClick?: () => void;
|
|
9
9
|
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
import { AnyObj, SVG } from '@/types';
|
|
3
|
+
declare enum DataCardFieldTypes {
|
|
4
|
+
Code = "code",
|
|
5
|
+
Table = "table",
|
|
6
|
+
Badge = "badge",
|
|
7
|
+
Loader = "loader",
|
|
8
|
+
Divider = "divider",
|
|
9
|
+
Monitors = "monitors",
|
|
10
|
+
CopyText = "copy-text",
|
|
11
|
+
ActiveStatus = "active-status"
|
|
12
|
+
}
|
|
13
|
+
interface DataCardField {
|
|
14
|
+
type?: DataCardFieldTypes;
|
|
15
|
+
title?: string;
|
|
16
|
+
titleIcon?: SVG;
|
|
17
|
+
tooltip?: string;
|
|
18
|
+
value?: string | AnyObj;
|
|
14
19
|
}
|
|
15
20
|
interface DataCardFieldsProps {
|
|
16
|
-
data
|
|
17
|
-
type?: DATA_CARD_FIELD_TYPES;
|
|
18
|
-
title?: string;
|
|
19
|
-
tooltip?: string;
|
|
20
|
-
value?: string | Record<string, any>;
|
|
21
|
-
}[];
|
|
21
|
+
data?: DataCardField[];
|
|
22
22
|
}
|
|
23
23
|
declare const DataCardFields: FC<DataCardFieldsProps>;
|
|
24
|
-
export { DataCardFields, type DataCardFieldsProps,
|
|
24
|
+
export { DataCardFields, type DataCardFieldsProps, DataCardFieldTypes, type DataCardField };
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { type ReactNode, type FC } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { type ReactNode, type FC, type PropsWithChildren } from 'react';
|
|
2
|
+
import { OtherStatus, SVG } from '@/types';
|
|
3
|
+
import { DataCardFields, type DataCardFieldsProps, DataCardFieldTypes } from './data-card-fields';
|
|
4
|
+
interface DataCardProps extends PropsWithChildren {
|
|
4
5
|
title?: string;
|
|
5
|
-
titleBadge?: string | number;
|
|
6
|
+
titleBadge?: string | number | OtherStatus.Loading;
|
|
7
|
+
titleIcon?: SVG;
|
|
6
8
|
description?: string;
|
|
7
9
|
action?: ReactNode | (() => ReactNode);
|
|
8
10
|
withExtend?: boolean;
|
|
9
11
|
initialExtended?: boolean;
|
|
10
|
-
data
|
|
12
|
+
data?: DataCardFieldsProps['data'];
|
|
11
13
|
}
|
|
12
14
|
declare const DataCard: FC<DataCardProps>;
|
|
13
|
-
export { DataCard, type DataCardProps, DataCardFields, type DataCardFieldsProps,
|
|
15
|
+
export { DataCard, type DataCardProps, DataCardFields, type DataCardFieldsProps, DataCardFieldTypes };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type FC, type ReactNode } from 'react';
|
|
2
|
+
import type { SVG } from '@/types';
|
|
3
|
+
interface DataFingerProps {
|
|
4
|
+
title?: string;
|
|
5
|
+
subTitle?: string;
|
|
6
|
+
icons?: SVG[];
|
|
7
|
+
iconSrcs?: string[];
|
|
8
|
+
onClick?: () => void;
|
|
9
|
+
renderActions?: () => ReactNode;
|
|
10
|
+
}
|
|
11
|
+
declare const DataFinger: FC<DataFingerProps>;
|
|
12
|
+
export { DataFinger, type DataFingerProps };
|
|
@@ -1,28 +1,43 @@
|
|
|
1
|
-
import { type FC, type ReactNode } from 'react';
|
|
1
|
+
import { type CSSProperties, type FC, type ReactNode } from 'react';
|
|
2
2
|
import type { SVG } from '@/types';
|
|
3
|
-
import {
|
|
4
|
-
interface
|
|
5
|
-
title: string;
|
|
6
|
-
subTitle?: string;
|
|
3
|
+
import { StatusType, SignalType } from '@/types';
|
|
4
|
+
interface IconProps {
|
|
7
5
|
icon?: SVG;
|
|
8
6
|
icons?: SVG[];
|
|
9
7
|
iconSrc?: string;
|
|
10
8
|
iconSrcs?: string[];
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
}
|
|
10
|
+
interface VisualProps {
|
|
11
|
+
status?: StatusType;
|
|
13
12
|
faded?: boolean;
|
|
14
|
-
|
|
13
|
+
bgColor?: CSSProperties['backgroundColor'];
|
|
14
|
+
bgColorHover?: CSSProperties['backgroundColor'];
|
|
15
|
+
monitors?: SignalType[];
|
|
15
16
|
monitorsWithLabels?: boolean;
|
|
16
|
-
|
|
17
|
+
componentsUnderTitles?: ReactNode[];
|
|
18
|
+
}
|
|
19
|
+
interface CheckboxProps {
|
|
17
20
|
withCheckbox?: boolean;
|
|
18
21
|
isCheckboxDisabled?: boolean;
|
|
19
22
|
isChecked?: boolean;
|
|
23
|
+
isLoading?: boolean;
|
|
20
24
|
onCheckboxChange?: (value: boolean) => void;
|
|
25
|
+
}
|
|
26
|
+
interface ExtendableProps {
|
|
21
27
|
withExtend?: boolean;
|
|
22
28
|
isExtended?: boolean;
|
|
23
29
|
renderExtended?: () => ReactNode;
|
|
24
|
-
|
|
30
|
+
}
|
|
31
|
+
interface DataTabProps {
|
|
32
|
+
title: string;
|
|
33
|
+
subTitle?: string;
|
|
34
|
+
hoverText?: string;
|
|
25
35
|
onClick?: () => void;
|
|
36
|
+
renderActions?: () => ReactNode;
|
|
37
|
+
iconProps?: IconProps;
|
|
38
|
+
visualProps?: VisualProps;
|
|
39
|
+
checkboxProps?: CheckboxProps;
|
|
40
|
+
extendableProps?: ExtendableProps;
|
|
26
41
|
}
|
|
27
42
|
declare const DataTab: FC<DataTabProps>;
|
|
28
43
|
export { DataTab, type DataTabProps };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { EntityTypes } from '@/types';
|
|
3
3
|
interface DeleteWarningProps {
|
|
4
4
|
isOpen: boolean;
|
|
5
5
|
noOverlay?: boolean;
|
|
6
6
|
name?: string;
|
|
7
|
-
type?:
|
|
7
|
+
type?: EntityTypes;
|
|
8
8
|
isLastItem?: boolean;
|
|
9
9
|
onApprove: () => void;
|
|
10
10
|
onDeny: () => void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { StatusType } from '@/types';
|
|
3
3
|
interface DescribeRowProps {
|
|
4
4
|
title?: string;
|
|
5
5
|
subTitle?: string;
|
|
6
6
|
tooltip?: string;
|
|
7
7
|
value?: {
|
|
8
8
|
text?: string;
|
|
9
|
-
status?:
|
|
9
|
+
status?: StatusType | 'transitioning';
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
12
|
declare const DescribeRow: FC<DescribeRowProps>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { StatusType } from '@/types';
|
|
3
3
|
interface DividerProps {
|
|
4
4
|
orientation?: 'horizontal' | 'vertical';
|
|
5
|
-
type?:
|
|
5
|
+
type?: StatusType;
|
|
6
6
|
thickness?: number;
|
|
7
7
|
length?: string;
|
|
8
8
|
margin?: string;
|
|
9
|
+
opacity?: number;
|
|
9
10
|
}
|
|
10
11
|
declare const Divider: FC<DividerProps>;
|
|
11
12
|
export { Divider, type DividerProps };
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { type FC, type ReactNode } from 'react';
|
|
1
|
+
import { CSSProperties, type FC, type ReactNode } from 'react';
|
|
2
2
|
import type { SVG } from '@/types';
|
|
3
|
-
import { type ButtonProps } from '
|
|
3
|
+
import { type ButtonProps } from '@/components/button';
|
|
4
4
|
interface DrawerHeaderProps {
|
|
5
5
|
onClose: () => void;
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
width?: CSSProperties['width'];
|
|
7
|
+
icons?: SVG[];
|
|
8
|
+
iconSrcs?: string[];
|
|
8
9
|
title?: string;
|
|
9
10
|
titleTooltip?: string;
|
|
10
11
|
replaceTitleWith?: ReactNode | (() => ReactNode);
|
|
12
|
+
actions?: ReactNode;
|
|
11
13
|
actionButtons?: (ButtonProps & {
|
|
12
14
|
'data-id': string;
|
|
13
15
|
})[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ReactNode, type FC } from 'react';
|
|
1
|
+
import { type ReactNode, type FC, CSSProperties } from 'react';
|
|
2
2
|
import { DrawerHeader, DrawerHeaderProps } from './drawer-header';
|
|
3
3
|
import { DrawerFooter, DrawerFooterProps } from './drawer-footer';
|
|
4
4
|
interface DrawerProps {
|
|
@@ -6,7 +6,7 @@ interface DrawerProps {
|
|
|
6
6
|
onClose: () => void;
|
|
7
7
|
closeOnEscape?: boolean;
|
|
8
8
|
position?: 'right' | 'left';
|
|
9
|
-
width?:
|
|
9
|
+
width?: CSSProperties['width'];
|
|
10
10
|
children: ReactNode;
|
|
11
11
|
header: Omit<DrawerHeaderProps, 'onClose'>;
|
|
12
12
|
footer: DrawerFooterProps;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import type { SVG, StatusType } from '@/types';
|
|
3
|
+
interface DropdownOption<T = string> {
|
|
4
|
+
id?: T | null;
|
|
4
5
|
value?: string | null;
|
|
6
|
+
icon?: SVG | null;
|
|
5
7
|
}
|
|
6
8
|
interface DropdownProps {
|
|
7
9
|
title?: string;
|
|
@@ -16,6 +18,8 @@ interface DropdownProps {
|
|
|
16
18
|
required?: boolean;
|
|
17
19
|
showSearch?: boolean;
|
|
18
20
|
errorMessage?: string;
|
|
21
|
+
hasError?: boolean;
|
|
22
|
+
status?: StatusType;
|
|
19
23
|
}
|
|
20
24
|
declare const Dropdown: FC<DropdownProps>;
|
|
21
25
|
export { Dropdown, type DropdownProps, type DropdownOption };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type FC, type PropsWithChildren } from 'react';
|
|
2
|
-
|
|
3
|
-
}
|
|
2
|
+
type ErrorBoundaryProps = PropsWithChildren;
|
|
4
3
|
declare const ErrorBoundary: FC<ErrorBoundaryProps>;
|
|
5
4
|
export { ErrorBoundary, type ErrorBoundaryProps };
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { type FC, type CSSProperties } from 'react';
|
|
2
|
+
import { StatusType } from '@/types';
|
|
2
3
|
interface FieldLabelProps {
|
|
3
4
|
title?: string;
|
|
4
5
|
required?: boolean;
|
|
5
6
|
tooltip?: string;
|
|
6
7
|
style?: CSSProperties;
|
|
8
|
+
status?: StatusType;
|
|
7
9
|
}
|
|
8
10
|
declare const FieldLabel: FC<FieldLabelProps>;
|
|
9
11
|
export { FieldLabel, type FieldLabelProps };
|
|
@@ -5,6 +5,8 @@ interface IconButtonProps extends PropsWithChildren {
|
|
|
5
5
|
size?: number;
|
|
6
6
|
withPing?: boolean;
|
|
7
7
|
pingColor?: CSSProperties['backgroundColor'];
|
|
8
|
+
withBorder?: boolean;
|
|
9
|
+
backgroundColor?: CSSProperties['backgroundColor'];
|
|
8
10
|
}
|
|
9
11
|
declare const IconButton: FC<IconButtonProps>;
|
|
10
12
|
export { IconButton, type IconButtonProps };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
2
|
import type { SVG } from '@/types';
|
|
3
|
-
import {
|
|
3
|
+
import { StatusType } from '@/types';
|
|
4
4
|
interface IconGroupProps {
|
|
5
5
|
icons?: SVG[];
|
|
6
6
|
iconSrcs?: string[];
|
|
7
|
-
status?:
|
|
7
|
+
status?: StatusType;
|
|
8
8
|
size?: number;
|
|
9
|
+
id: string;
|
|
9
10
|
}
|
|
10
11
|
declare const IconGroup: FC<IconGroupProps>;
|
|
11
12
|
export { IconGroup, type IconGroupProps };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { StatusType, type SVG } from '@/types';
|
|
3
3
|
interface IconWrappedProps {
|
|
4
4
|
icon?: SVG;
|
|
5
5
|
src?: string;
|
|
6
6
|
alt?: string;
|
|
7
|
-
status?:
|
|
7
|
+
status?: StatusType;
|
|
8
8
|
size?: number;
|
|
9
9
|
}
|
|
10
10
|
declare const IconWrapped: FC<IconWrappedProps>;
|
|
@@ -1,49 +1,57 @@
|
|
|
1
|
-
export * from './auto-complete-input
|
|
2
|
-
export * from './badge
|
|
3
|
-
export * from './button
|
|
4
|
-
export * from './cancel-warning
|
|
5
|
-
export * from './checkbox
|
|
6
|
-
export * from './code
|
|
7
|
-
export * from './condition-details
|
|
8
|
-
export * from './data-card
|
|
9
|
-
export * from './data-
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './
|
|
13
|
-
export * from './
|
|
14
|
-
export * from './
|
|
15
|
-
export * from './
|
|
16
|
-
export * from './
|
|
17
|
-
export * from './
|
|
18
|
-
export * from './
|
|
19
|
-
export * from './
|
|
20
|
-
export * from './
|
|
21
|
-
export * from './
|
|
22
|
-
export * from './
|
|
23
|
-
export * from './icon-
|
|
24
|
-
export * from './icon-
|
|
25
|
-
export * from './
|
|
26
|
-
export * from './
|
|
27
|
-
export * from './
|
|
28
|
-
export * from './
|
|
29
|
-
export * from './input
|
|
30
|
-
export * from './
|
|
31
|
-
export * from './
|
|
32
|
-
export * from './
|
|
33
|
-
export * from './
|
|
34
|
-
export * from './
|
|
35
|
-
export * from './
|
|
36
|
-
export * from './
|
|
37
|
-
export * from './
|
|
38
|
-
export * from './
|
|
39
|
-
export * from './
|
|
40
|
-
export * from './
|
|
41
|
-
export * from './
|
|
42
|
-
export * from './
|
|
43
|
-
export * from './
|
|
44
|
-
export * from './
|
|
45
|
-
export * from './
|
|
46
|
-
export * from './
|
|
47
|
-
export * from './
|
|
48
|
-
export * from './
|
|
1
|
+
export * from './auto-complete-input';
|
|
2
|
+
export * from './badge';
|
|
3
|
+
export * from './button';
|
|
4
|
+
export * from './cancel-warning';
|
|
5
|
+
export * from './checkbox';
|
|
6
|
+
export * from './code';
|
|
7
|
+
export * from './condition-details';
|
|
8
|
+
export * from './data-card';
|
|
9
|
+
export * from './data-finger';
|
|
10
|
+
export * from './data-tab';
|
|
11
|
+
export * from './delete-warning';
|
|
12
|
+
export * from './describe-row';
|
|
13
|
+
export * from './divider';
|
|
14
|
+
export * from './docs-button';
|
|
15
|
+
export * from './drawer';
|
|
16
|
+
export * from './dropdown';
|
|
17
|
+
export * from './error-boundary';
|
|
18
|
+
export * from './extend-arrow';
|
|
19
|
+
export * from './fade-loader';
|
|
20
|
+
export * from './field-error';
|
|
21
|
+
export * from './field-label';
|
|
22
|
+
export * from './header';
|
|
23
|
+
export * from './icon-button';
|
|
24
|
+
export * from './icon-group';
|
|
25
|
+
export * from './icon-title-badge';
|
|
26
|
+
export * from './icon-wrapped';
|
|
27
|
+
export * from './icons-nav';
|
|
28
|
+
export * from './image-controlled';
|
|
29
|
+
export * from './input';
|
|
30
|
+
export * from './input-list';
|
|
31
|
+
export * from './input-table';
|
|
32
|
+
export * from './interactive-table';
|
|
33
|
+
export * from './key-value-input-list';
|
|
34
|
+
export * from './modal';
|
|
35
|
+
export * from './monitors-checkboxes';
|
|
36
|
+
export * from './monitors-icons';
|
|
37
|
+
export * from './navigation-buttons';
|
|
38
|
+
export * from './no-data-found';
|
|
39
|
+
export * from './notification-note';
|
|
40
|
+
export * from './popup';
|
|
41
|
+
export * from './popup-form';
|
|
42
|
+
export * from './scroll-x';
|
|
43
|
+
export * from './section-title';
|
|
44
|
+
export * from './segment';
|
|
45
|
+
export * from './selection-button';
|
|
46
|
+
export * from './skeleton-loader';
|
|
47
|
+
export * from './status';
|
|
48
|
+
export * from './stepper';
|
|
49
|
+
export * from './tab-list';
|
|
50
|
+
export * from './tag';
|
|
51
|
+
export * from './text';
|
|
52
|
+
export * from './textarea';
|
|
53
|
+
export * from './toggle';
|
|
54
|
+
export * from './tooltip';
|
|
55
|
+
export * from './trace-loader';
|
|
56
|
+
export * from './warning-modal';
|
|
49
57
|
export * from './styled';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type FC, type InputHTMLAttributes } from 'react';
|
|
2
|
-
import type
|
|
2
|
+
import { StatusType, type SVG } from '@/types';
|
|
3
3
|
interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
4
4
|
title?: string;
|
|
5
5
|
icon?: SVG;
|
|
@@ -9,6 +9,7 @@ interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
|
9
9
|
required?: boolean;
|
|
10
10
|
hasError?: boolean;
|
|
11
11
|
errorMessage?: string;
|
|
12
|
+
status?: StatusType;
|
|
12
13
|
}
|
|
13
14
|
declare const Input: FC<InputProps>;
|
|
14
15
|
export { Input, type InputProps };
|
|
@@ -1,20 +1,13 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
type Row
|
|
3
|
-
[key: string]: any;
|
|
4
|
-
};
|
|
2
|
+
import type { Column, Row } from './types';
|
|
5
3
|
interface InputTableProps {
|
|
6
|
-
columns:
|
|
7
|
-
title: string;
|
|
8
|
-
keyName: string;
|
|
9
|
-
type?: 'number';
|
|
10
|
-
placeholder?: string;
|
|
11
|
-
tooltip?: string;
|
|
12
|
-
required?: boolean;
|
|
13
|
-
}[];
|
|
4
|
+
columns: Column[];
|
|
14
5
|
initialValues?: Row[];
|
|
15
6
|
value?: Row[];
|
|
16
7
|
onChange?: (values: Row[]) => void;
|
|
17
8
|
errorMessage?: string;
|
|
9
|
+
limitFieldsPerRow?: number;
|
|
10
|
+
title?: string;
|
|
18
11
|
}
|
|
19
12
|
declare const InputTable: FC<InputTableProps>;
|
|
20
13
|
export { InputTable, type InputTableProps };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CSSProperties, type FC } from 'react';
|
|
2
|
+
import type { Column, Row } from '../types';
|
|
3
|
+
interface ColumnsToFieldsProps {
|
|
4
|
+
col: Column;
|
|
5
|
+
colIdx: number;
|
|
6
|
+
row: Row;
|
|
7
|
+
rowIdx: number;
|
|
8
|
+
rowsLength: number;
|
|
9
|
+
maxWidth: CSSProperties['maxWidth'];
|
|
10
|
+
handleChange: (key: string, val: string | number, idx: number) => void;
|
|
11
|
+
errorMessage?: string;
|
|
12
|
+
limitFieldsPerRow?: number;
|
|
13
|
+
}
|
|
14
|
+
declare const ColumnsToFields: FC<ColumnsToFieldsProps>;
|
|
15
|
+
export { ColumnsToFields, type ColumnsToFieldsProps };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { DropdownOption } from '../dropdown';
|
|
2
|
+
export interface Row {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
}
|
|
5
|
+
export interface Column {
|
|
6
|
+
keyName: string;
|
|
7
|
+
title: string;
|
|
8
|
+
tooltip?: string;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
required?: boolean;
|
|
11
|
+
type?: 'number';
|
|
12
|
+
componentType?: 'dropdown';
|
|
13
|
+
options?: DropdownOption[];
|
|
14
|
+
renderCondition?: (row: Row) => boolean;
|
|
15
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ReactNode, type FC, CSSProperties } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { StatusType, type SVG } from '@/types';
|
|
3
3
|
interface ColumnCell {
|
|
4
4
|
key: string;
|
|
5
5
|
title: string;
|
|
@@ -13,14 +13,15 @@ interface RowCell {
|
|
|
13
13
|
textColor?: CSSProperties['color'];
|
|
14
14
|
withTooltip?: boolean;
|
|
15
15
|
}
|
|
16
|
+
interface Row {
|
|
17
|
+
status?: StatusType;
|
|
18
|
+
faded?: boolean;
|
|
19
|
+
onClick?: () => void;
|
|
20
|
+
cells: RowCell[];
|
|
21
|
+
}
|
|
16
22
|
interface InteractiveTableProps {
|
|
17
23
|
columns: ColumnCell[];
|
|
18
|
-
rows:
|
|
19
|
-
status?: STATUS_TYPE;
|
|
20
|
-
faded?: boolean;
|
|
21
|
-
cells: RowCell[];
|
|
22
|
-
}[];
|
|
23
|
-
onRowClick?: (index: number) => void;
|
|
24
|
+
rows: Row[];
|
|
24
25
|
}
|
|
25
26
|
declare const InteractiveTable: FC<InteractiveTableProps>;
|
|
26
|
-
export { InteractiveTable, type InteractiveTableProps, type ColumnCell, type RowCell };
|
|
27
|
+
export { InteractiveTable, type InteractiveTableProps, type ColumnCell, type RowCell, type Row };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { StatusType } from '@/types';
|
|
3
|
+
import { ColumnCell, RowCell } from '.';
|
|
4
|
+
interface TableRowProps {
|
|
5
|
+
index: number;
|
|
6
|
+
columns: ColumnCell[];
|
|
7
|
+
cells: RowCell[];
|
|
8
|
+
onClick?: () => void;
|
|
9
|
+
status?: StatusType;
|
|
10
|
+
faded?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const TableRow: FC<TableRowProps>;
|
|
13
|
+
export { TableRow, type TableRowProps };
|