@odigos/ui-kit 0.0.2
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/.prettierrc +13 -0
- package/CHANGELOG.md +26 -0
- package/README.md +62 -0
- package/lib/components/auto-complete-input/auto-complete-input.stories.d.ts +9 -0
- package/lib/components/auto-complete-input/index.d.ts +19 -0
- package/lib/components/badge/badge.stories.d.ts +13 -0
- package/lib/components/badge/index.d.ts +11 -0
- package/lib/components/button/button.stories.d.ts +9 -0
- package/lib/components/button/index.d.ts +6 -0
- package/lib/components/cancel-warning/cancel-warning.stories.d.ts +9 -0
- package/lib/components/cancel-warning/index.d.ts +10 -0
- package/lib/components/checkbox/checkbox.stories.d.ts +9 -0
- package/lib/components/checkbox/index.d.ts +15 -0
- package/lib/components/code/code.stories.d.ts +9 -0
- package/lib/components/code/index.d.ts +10 -0
- package/lib/components/code/toggle-code-component/index.d.ts +7 -0
- package/lib/components/condition-details/condition-details.stories.d.ts +14 -0
- package/lib/components/condition-details/index.d.ts +10 -0
- package/lib/components/data-card/data-card-fields/index.d.ts +24 -0
- package/lib/components/data-card/data-card.stories.d.ts +10 -0
- package/lib/components/data-card/index.d.ts +12 -0
- package/lib/components/data-tab/data-tab.stories.d.ts +9 -0
- package/lib/components/data-tab/index.d.ts +28 -0
- package/lib/components/delete-warning/delete-warning.stories.d.ts +9 -0
- package/lib/components/delete-warning/index.d.ts +13 -0
- package/lib/components/describe-row/describe-row.stories.d.ts +9 -0
- package/lib/components/describe-row/index.d.ts +13 -0
- package/lib/components/divider/divider.stories.d.ts +9 -0
- package/lib/components/divider/index.d.ts +11 -0
- package/lib/components/docs-button/docs-button.stories.d.ts +9 -0
- package/lib/components/docs-button/index.d.ts +8 -0
- package/lib/components/drawer/drawer-footer/index.d.ts +13 -0
- package/lib/components/drawer/drawer-header/index.d.ts +22 -0
- package/lib/components/drawer/drawer.stories.d.ts +10 -0
- package/lib/components/drawer/index.d.ts +15 -0
- package/lib/components/dropdown/dropdown.stories.d.ts +9 -0
- package/lib/components/dropdown/index.d.ts +21 -0
- package/lib/components/extend-arrow/extend-arrow.stories.d.ts +9 -0
- package/lib/components/extend-arrow/index.d.ts +8 -0
- package/lib/components/fade-loader/fade-loader.stories.d.ts +9 -0
- package/lib/components/fade-loader/helpers/animation.d.ts +1 -0
- package/lib/components/fade-loader/helpers/unitConverter.d.ts +22 -0
- package/lib/components/fade-loader/index.d.ts +10 -0
- package/lib/components/field-error/field-error.stories.d.ts +9 -0
- package/lib/components/field-error/index.d.ts +5 -0
- package/lib/components/field-label/field-label.stories.d.ts +9 -0
- package/lib/components/field-label/index.d.ts +9 -0
- package/lib/components/header/header.stories.d.ts +9 -0
- package/lib/components/header/index.d.ts +8 -0
- package/lib/components/icon-button/icon-button.stories.d.ts +9 -0
- package/lib/components/icon-button/index.d.ts +10 -0
- package/lib/components/icon-group/icon-group.stories.d.ts +14 -0
- package/lib/components/icon-group/index.d.ts +11 -0
- package/lib/components/icon-title-badge/icon-title-badge.stories.d.ts +9 -0
- package/lib/components/icon-title-badge/index.d.ts +10 -0
- package/lib/components/icon-wrapped/icon-wrapped.stories.d.ts +10 -0
- package/lib/components/icon-wrapped/index.d.ts +11 -0
- package/lib/components/icons-nav/icons-nav.stories.d.ts +9 -0
- package/lib/components/icons-nav/index.d.ts +17 -0
- package/lib/components/image-controlled/image-controlled.stories.d.ts +9 -0
- package/lib/components/image-controlled/index.d.ts +8 -0
- package/lib/components/index.d.ts +48 -0
- package/lib/components/input/index.d.ts +14 -0
- package/lib/components/input/input.stories.d.ts +9 -0
- package/lib/components/input-list/index.d.ts +13 -0
- package/lib/components/input-list/input-list.stories.d.ts +9 -0
- package/lib/components/input-table/index.d.ts +20 -0
- package/lib/components/input-table/input-table.stories.d.ts +9 -0
- package/lib/components/interactive-table/index.d.ts +26 -0
- package/lib/components/interactive-table/interactive-table.stories.d.ts +12 -0
- package/lib/components/interactive-table/row.d.ts +13 -0
- package/lib/components/key-value-input-list/index.d.ts +16 -0
- package/lib/components/key-value-input-list/key-value-input-list.stories.d.ts +9 -0
- package/lib/components/modal/index.d.ts +14 -0
- package/lib/components/modal/modal.stories.d.ts +9 -0
- package/lib/components/monitors-checkboxes/index.d.ts +13 -0
- package/lib/components/monitors-checkboxes/monitors-checkboxes.stories.d.ts +9 -0
- package/lib/components/monitors-icons/index.d.ts +11 -0
- package/lib/components/monitors-icons/monitors-icons.stories.d.ts +9 -0
- package/lib/components/navigation-buttons/index.d.ts +16 -0
- package/lib/components/navigation-buttons/navigation-buttons.stories.d.ts +9 -0
- package/lib/components/no-data-found/index.d.ts +7 -0
- package/lib/components/no-data-found/no-data-found.stories.d.ts +9 -0
- package/lib/components/notification-note/index.d.ts +21 -0
- package/lib/components/notification-note/notification-note.stories.d.ts +10 -0
- package/lib/components/section-title/index.d.ts +12 -0
- package/lib/components/section-title/section-title.stories.d.ts +9 -0
- package/lib/components/segment/index.d.ts +15 -0
- package/lib/components/segment/segment.stories.d.ts +9 -0
- package/lib/components/skeleton-loader/index.d.ts +7 -0
- package/lib/components/skeleton-loader/skeleton-loader.stories.d.ts +9 -0
- package/lib/components/status/index.d.ts +14 -0
- package/lib/components/status/status.stories.d.ts +9 -0
- package/lib/components/stepper/index.d.ts +10 -0
- package/lib/components/stepper/stepper.stories.d.ts +9 -0
- package/lib/components/styled.d.ts +13 -0
- package/lib/components/text/index.d.ts +13 -0
- package/lib/components/text/text.stories.d.ts +9 -0
- package/lib/components/textarea/index.d.ts +8 -0
- package/lib/components/textarea/textarea.stories.d.ts +9 -0
- package/lib/components/toggle/index.d.ts +11 -0
- package/lib/components/toggle/toggle.stories.d.ts +9 -0
- package/lib/components/tooltip/index.d.ts +11 -0
- package/lib/components/tooltip/tooltip.stories.d.ts +9 -0
- package/lib/components/trace-loader/index.d.ts +6 -0
- package/lib/components/trace-loader/trace-loader.stories.d.ts +9 -0
- package/lib/components/warning-modal/index.d.ts +24 -0
- package/lib/components/warning-modal/warning-modal.stories.d.ts +9 -0
- package/lib/constants/actions/index.d.ts +2 -0
- package/lib/constants/index.d.ts +5 -0
- package/lib/constants/instrumentation-rules/index.d.ts +2 -0
- package/lib/constants/signals/index.d.ts +2 -0
- package/lib/constants/strings/index.d.ts +42 -0
- package/lib/constants/tokens/index.d.ts +1 -0
- package/lib/containers/action-drawer/action-drawer.stories.d.ts +9 -0
- package/lib/containers/action-drawer/build-card.d.ts +9 -0
- package/lib/containers/action-drawer/index.d.ts +8 -0
- package/lib/containers/action-form/action-form.stories.d.ts +9 -0
- package/lib/containers/action-form/custom-fields/add-cluster-info.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/delete-attributes.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/error-sampler.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/index.d.ts +7 -0
- package/lib/containers/action-form/custom-fields/k8s-attributes.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/latency-sampler.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/pii-masking.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/probabilistic-sampler.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/rename-attributes.d.ts +5 -0
- package/lib/containers/action-form/index.d.ts +11 -0
- package/lib/containers/action-modal/action-modal.stories.d.ts +9 -0
- package/lib/containers/action-modal/index.d.ts +7 -0
- package/lib/containers/action-table/action-table.stories.d.ts +9 -0
- package/lib/containers/action-table/build-spec-cell.d.ts +3 -0
- package/lib/containers/action-table/index.d.ts +7 -0
- package/lib/containers/await-pipeline/await-pipeline.stories.d.ts +9 -0
- package/lib/containers/await-pipeline/index.d.ts +5 -0
- package/lib/containers/compute-platform-select/compute-platform-select.stories.d.ts +9 -0
- package/lib/containers/compute-platform-select/index.d.ts +10 -0
- package/lib/containers/compute-platforms/compute-platforms.stories.d.ts +9 -0
- package/lib/containers/compute-platforms/index.d.ts +8 -0
- package/lib/containers/compute-platforms-actions-menu/compute-platforms-actions-menu.stories.d.ts +9 -0
- package/lib/containers/compute-platforms-actions-menu/index.d.ts +7 -0
- package/lib/containers/data-flow/data-flow.stories.d.ts +9 -0
- package/lib/containers/data-flow/edges/labeled-edge.d.ts +10 -0
- package/lib/containers/data-flow/flow.d.ts +11 -0
- package/lib/containers/data-flow/helpers/build-action-nodes.d.ts +11 -0
- package/lib/containers/data-flow/helpers/build-destination-nodes.d.ts +11 -0
- package/lib/containers/data-flow/helpers/build-edges.d.ts +11 -0
- package/lib/containers/data-flow/helpers/build-rule-nodes.d.ts +11 -0
- package/lib/containers/data-flow/helpers/build-source-nodes.d.ts +17 -0
- package/lib/containers/data-flow/helpers/get-main-container-language.d.ts +2 -0
- package/lib/containers/data-flow/helpers/get-node-positions.d.ts +10 -0
- package/lib/containers/data-flow/helpers/node-config.d.ts +6 -0
- package/lib/containers/data-flow/index.d.ts +8 -0
- package/lib/containers/data-flow/nodes/add-node.d.ts +11 -0
- package/lib/containers/data-flow/nodes/base-node.d.ts +21 -0
- package/lib/containers/data-flow/nodes/edged-node.d.ts +9 -0
- package/lib/containers/data-flow/nodes/frame-node.d.ts +9 -0
- package/lib/containers/data-flow/nodes/header-node.d.ts +13 -0
- package/lib/containers/data-flow/nodes/scroll-node.d.ts +26 -0
- package/lib/containers/data-flow/nodes/skeleton-node.d.ts +8 -0
- package/lib/containers/data-flow-actions-menu/add-entity/index.d.ts +5 -0
- package/lib/containers/data-flow-actions-menu/data-flow.stories.d.ts +11 -0
- package/lib/containers/data-flow-actions-menu/filters/index.d.ts +10 -0
- package/lib/containers/data-flow-actions-menu/index.d.ts +10 -0
- package/lib/containers/data-flow-actions-menu/search/index.d.ts +5 -0
- package/lib/containers/data-flow-actions-menu/search/recent-searches/index.d.ts +2 -0
- package/lib/containers/data-flow-actions-menu/search/search-results/builder.d.ts +25 -0
- package/lib/containers/data-flow-actions-menu/search/search-results/index.d.ts +7 -0
- package/lib/containers/data-flow-actions-menu/selection-button/index.d.ts +17 -0
- package/lib/containers/data-flow-actions-menu/styled.d.ts +2 -0
- package/lib/containers/destination-drawer/build-card.d.ts +9 -0
- package/lib/containers/destination-drawer/destination-drawer.stories.d.ts +9 -0
- package/lib/containers/destination-drawer/index.d.ts +13 -0
- package/lib/containers/destination-form/destination-form.stories.d.ts +9 -0
- package/lib/containers/destination-form/dynamic-fields/index.d.ts +9 -0
- package/lib/containers/destination-form/index.d.ts +18 -0
- package/lib/containers/destination-form/test-connection/index.d.ts +17 -0
- package/lib/containers/destination-modal/choose-destination/destinations-list/index.d.ts +8 -0
- package/lib/containers/destination-modal/choose-destination/index.d.ts +11 -0
- package/lib/containers/destination-modal/choose-destination/potential-destinations-list/index.d.ts +8 -0
- package/lib/containers/destination-modal/destination-modal.stories.d.ts +9 -0
- package/lib/containers/destination-modal/index.d.ts +14 -0
- package/lib/containers/destination-selection-form/configured-list/index.d.ts +5 -0
- package/lib/containers/destination-selection-form/destination-selection-form.stories.d.ts +9 -0
- package/lib/containers/destination-selection-form/index.d.ts +16 -0
- package/lib/containers/destination-table/destination-table.stories.d.ts +9 -0
- package/lib/containers/destination-table/index.d.ts +9 -0
- package/lib/containers/dropdowns/connection-status-dropdown/connection-status-dropdown.stories.d.ts +9 -0
- package/lib/containers/dropdowns/connection-status-dropdown/index.d.ts +15 -0
- package/lib/containers/dropdowns/error-dropdown/error-dropdown.stories.d.ts +9 -0
- package/lib/containers/dropdowns/error-dropdown/index.d.ts +14 -0
- package/lib/containers/dropdowns/index.d.ts +7 -0
- package/lib/containers/dropdowns/kind-dropdown/error-dropdown.stories.d.ts +9 -0
- package/lib/containers/dropdowns/kind-dropdown/index.d.ts +13 -0
- package/lib/containers/dropdowns/language-dropdown/index.d.ts +13 -0
- package/lib/containers/dropdowns/language-dropdown/language-dropdown.stories.d.ts +9 -0
- package/lib/containers/dropdowns/monitor-dropdown/index.d.ts +13 -0
- package/lib/containers/dropdowns/monitor-dropdown/monitor-dropdown.stories.d.ts +9 -0
- package/lib/containers/dropdowns/namespace-dropdown/index.d.ts +16 -0
- package/lib/containers/dropdowns/namespace-dropdown/namespace-dropdown.stories.d.ts +9 -0
- package/lib/containers/dropdowns/platform-types-dropdown/index.d.ts +15 -0
- package/lib/containers/dropdowns/platform-types-dropdown/platform-types-dropdown.stories.d.ts +9 -0
- package/lib/containers/index.d.ts +33 -0
- package/lib/containers/instrumentation-rule-drawer/build-card.d.ts +9 -0
- package/lib/containers/instrumentation-rule-drawer/index.d.ts +8 -0
- package/lib/containers/instrumentation-rule-drawer/instrumentation-rule-drawer.stories.d.ts +9 -0
- package/lib/containers/instrumentation-rule-form/custom-fields/code-attributes.d.ts +5 -0
- package/lib/containers/instrumentation-rule-form/custom-fields/index.d.ts +7 -0
- package/lib/containers/instrumentation-rule-form/custom-fields/payload-collection.d.ts +5 -0
- package/lib/containers/instrumentation-rule-form/index.d.ts +11 -0
- package/lib/containers/instrumentation-rule-form/instrumentation-rule-form.stories.d.ts +9 -0
- package/lib/containers/instrumentation-rule-modal/index.d.ts +8 -0
- package/lib/containers/instrumentation-rule-modal/instrumentation-rule-modal.stories.d.ts +9 -0
- package/lib/containers/instrumentation-rule-table/build-spec-cell.d.ts +3 -0
- package/lib/containers/instrumentation-rule-table/index.d.ts +7 -0
- package/lib/containers/instrumentation-rule-table/instrumentation-rule-table.stories.d.ts +9 -0
- package/lib/containers/multi-source-control/index.d.ts +8 -0
- package/lib/containers/multi-source-control/multi-source-control.stories.d.ts +9 -0
- package/lib/containers/notification-manager/index.d.ts +5 -0
- package/lib/containers/notification-manager/notification-manager.stories.d.ts +9 -0
- package/lib/containers/overview-drawer/index.d.ts +20 -0
- package/lib/containers/overview-drawer/overview-drawer.stories.d.ts +9 -0
- package/lib/containers/side-nav/index.d.ts +16 -0
- package/lib/containers/side-nav/side-nav.stories.d.ts +9 -0
- package/lib/containers/slack-invite/index.d.ts +5 -0
- package/lib/containers/slack-invite/slack-invite.stories.d.ts +9 -0
- package/lib/containers/source-drawer/build-card.d.ts +8 -0
- package/lib/containers/source-drawer/describe/index.d.ts +14 -0
- package/lib/containers/source-drawer/index.d.ts +15 -0
- package/lib/containers/source-drawer/source-drawer.stories.d.ts +9 -0
- package/lib/containers/source-form/index.d.ts +8 -0
- package/lib/containers/source-form/source-form.stories.d.ts +9 -0
- package/lib/containers/source-modal/index.d.ts +14 -0
- package/lib/containers/source-modal/source-modal.stories.d.ts +9 -0
- package/lib/containers/source-selection-form/fast/controls/index.d.ts +7 -0
- package/lib/containers/source-selection-form/fast/index.d.ts +7 -0
- package/lib/containers/source-selection-form/fast/list/index.d.ts +10 -0
- package/lib/containers/source-selection-form/index.d.ts +21 -0
- package/lib/containers/source-selection-form/simple/controls/index.d.ts +11 -0
- package/lib/containers/source-selection-form/simple/index.d.ts +7 -0
- package/lib/containers/source-selection-form/simple/list/index.d.ts +9 -0
- package/lib/containers/source-selection-form/source-selection-form.stories.d.ts +9 -0
- package/lib/containers/source-table/index.d.ts +9 -0
- package/lib/containers/source-table/source-table.stories.d.ts +9 -0
- package/lib/containers/system-overview/describe/index.d.ts +11 -0
- package/lib/containers/system-overview/index.d.ts +7 -0
- package/lib/containers/system-overview/system-overview.stories.d.ts +9 -0
- package/lib/containers/system-overview/tokens/expires-at.d.ts +6 -0
- package/lib/containers/system-overview/tokens/index.d.ts +8 -0
- package/lib/containers/system-overview/tokens/token-actions.d.ts +7 -0
- package/lib/containers/table-cell-conditions/index.d.ts +7 -0
- package/lib/containers/table-cell-conditions/table-cell-conditions.stories.d.ts +9 -0
- package/lib/containers/toast-list/index.d.ts +5 -0
- package/lib/containers/toast-list/toast-list.stories.d.ts +9 -0
- package/lib/containers/toggle-dark-mode/index.d.ts +5 -0
- package/lib/containers/toggle-dark-mode/toggle-dark-mode.stories.d.ts +9 -0
- package/lib/data/actions/index.d.ts +2 -0
- package/lib/data/describe/index.d.ts +3 -0
- package/lib/data/destinations/index.d.ts +4 -0
- package/lib/data/index.d.ts +7 -0
- package/lib/data/instrumentation-rules/index.d.ts +2 -0
- package/lib/data/namespaces/index.d.ts +2 -0
- package/lib/data/sources/index.d.ts +18 -0
- package/lib/data/tokens/index.d.ts +2 -0
- package/lib/functions/capitalize-first-letter/index.d.ts +1 -0
- package/lib/functions/clean-object-empty-strings-values/index.d.ts +1 -0
- package/lib/functions/compare-condition/index.d.ts +5 -0
- package/lib/functions/deep-clone/index.d.ts +1 -0
- package/lib/functions/derive-type-from-rule/index.d.ts +2 -0
- package/lib/functions/filter-actions/index.d.ts +3 -0
- package/lib/functions/filter-destinations/index.d.ts +3 -0
- package/lib/functions/filter-sources/index.d.ts +3 -0
- package/lib/functions/flatten-object-keys/index.d.ts +32 -0
- package/lib/functions/format-bytes/index.d.ts +1 -0
- package/lib/functions/get-action-icon/index.d.ts +2 -0
- package/lib/functions/get-conditions-booleans/index.d.ts +8 -0
- package/lib/functions/get-containers-counts/index.d.ts +2 -0
- package/lib/functions/get-containers-icons/index.d.ts +2 -0
- package/lib/functions/get-destination-icon/index.d.ts +1 -0
- package/lib/functions/get-entity-icon/index.d.ts +2 -0
- package/lib/functions/get-entity-id/index.d.ts +2 -0
- package/lib/functions/get-entity-label/index.d.ts +5 -0
- package/lib/functions/get-id-from-sse-target/index.d.ts +2 -0
- package/lib/functions/get-instrumentation-rule-icon/index.d.ts +2 -0
- package/lib/functions/get-metric-for-entity/index.d.ts +2 -0
- package/lib/functions/get-monitor-icon/index.d.ts +2 -0
- package/lib/functions/get-platform-icon/index.d.ts +2 -0
- package/lib/functions/get-platform-label/index.d.ts +2 -0
- package/lib/functions/get-programming-language-icon/index.d.ts +2 -0
- package/lib/functions/get-sse-target-from-id/index.d.ts +2 -0
- package/lib/functions/get-status-icon/index.d.ts +2 -0
- package/lib/functions/get-value-for-range/index.d.ts +1 -0
- package/lib/functions/get-workload-id/index.d.ts +2 -0
- package/lib/functions/index.d.ts +40 -0
- package/lib/functions/is-emtpy/index.d.ts +1 -0
- package/lib/functions/is-over-time/index.d.ts +1 -0
- package/lib/functions/is-time-elapsed/index.d.ts +1 -0
- package/lib/functions/map-conditions/index.d.ts +2 -0
- package/lib/functions/parse-json-string-to-pretty-string/index.d.ts +1 -0
- package/lib/functions/remove-empty-values-from-object/index.d.ts +1 -0
- package/lib/functions/safe-json-parse/index.d.ts +1 -0
- package/lib/functions/safe-json-stringify/index.d.ts +1 -0
- package/lib/functions/sleep/index.d.ts +1 -0
- package/lib/functions/split-camel-string/index.d.ts +1 -0
- package/lib/functions/stringify-non-string-values/index.d.ts +1 -0
- package/lib/hooks/index.d.ts +14 -0
- package/lib/hooks/useActionFormData.d.ts +12 -0
- package/lib/hooks/useClickNode.d.ts +6 -0
- package/lib/hooks/useClickNotification.d.ts +7 -0
- package/lib/hooks/useContainerSize.d.ts +6 -0
- package/lib/hooks/useCopy.d.ts +6 -0
- package/lib/hooks/useDestinationFormData.d.ts +21 -0
- package/lib/hooks/useGenericForm.d.ts +7 -0
- package/lib/hooks/useInstrumentationRuleFormData.d.ts +12 -0
- package/lib/hooks/useKeyDown.d.ts +11 -0
- package/lib/hooks/useOnClickOutside.d.ts +3 -0
- package/lib/hooks/useSourceFormData.d.ts +12 -0
- package/lib/hooks/useSourceSelectionFormData.d.ts +34 -0
- package/lib/hooks/useTimeAgo.d.ts +3 -0
- package/lib/hooks/useTransition.d.ts +14 -0
- package/lib/icons/actions/add-cluster-info-icon/add-cluster-info-icon.stories.d.ts +8 -0
- package/lib/icons/actions/add-cluster-info-icon/index.d.ts +2 -0
- package/lib/icons/actions/delete-attribute-icon/delete-attribute-icon.stories.d.ts +8 -0
- package/lib/icons/actions/delete-attribute-icon/index.d.ts +2 -0
- package/lib/icons/actions/index.d.ts +5 -0
- package/lib/icons/actions/pii-masking-icon/index.d.ts +2 -0
- package/lib/icons/actions/pii-masking-icon/pii-masking-icon.stories.d.ts +8 -0
- package/lib/icons/actions/rename-attribute-icon/index.d.ts +2 -0
- package/lib/icons/actions/rename-attribute-icon/rename-attribute-icon.stories.d.ts +8 -0
- package/lib/icons/actions/sampler-icon/index.d.ts +2 -0
- package/lib/icons/actions/sampler-icon/sampler-icon.stories.d.ts +8 -0
- package/lib/icons/brand/index.d.ts +2 -0
- package/lib/icons/brand/odigos-logo/index.d.ts +2 -0
- package/lib/icons/brand/odigos-logo/odigos-logo.stories.d.ts +8 -0
- package/lib/icons/brand/odigos-logo-text/index.d.ts +2 -0
- package/lib/icons/brand/odigos-logo-text/odigos-logo-text.stories.d.ts +8 -0
- package/lib/icons/common/arrow-icon/arrow-icon.stories.d.ts +8 -0
- package/lib/icons/common/arrow-icon/index.d.ts +2 -0
- package/lib/icons/common/code-brackets-icon/code-brackets-icon.stories.d.ts +8 -0
- package/lib/icons/common/code-brackets-icon/index.d.ts +2 -0
- package/lib/icons/common/code-icon/code-icon.stories.d.ts +8 -0
- package/lib/icons/common/code-icon/index.d.ts +2 -0
- package/lib/icons/common/command-icon/command-icon.stories.d.ts +8 -0
- package/lib/icons/common/command-icon/index.d.ts +2 -0
- package/lib/icons/common/copy-icon/copy-icon.stories.d.ts +8 -0
- package/lib/icons/common/copy-icon/index.d.ts +2 -0
- package/lib/icons/common/edit-icon/edit-icon.stories.d.ts +8 -0
- package/lib/icons/common/edit-icon/index.d.ts +2 -0
- package/lib/icons/common/extend-arrow-icon/extend-arrow-icon.stories.d.ts +8 -0
- package/lib/icons/common/extend-arrow-icon/index.d.ts +2 -0
- package/lib/icons/common/filter-icon/filter-icon.stories.d.ts +8 -0
- package/lib/icons/common/filter-icon/index.d.ts +2 -0
- package/lib/icons/common/folder-icon/folder-icon.stories.d.ts +8 -0
- package/lib/icons/common/folder-icon/index.d.ts +2 -0
- package/lib/icons/common/index.d.ts +19 -0
- package/lib/icons/common/key-icon/index.d.ts +2 -0
- package/lib/icons/common/key-icon/key-icon.stories.d.ts +8 -0
- package/lib/icons/common/list-icon/index.d.ts +2 -0
- package/lib/icons/common/list-icon/list-icon.stories.d.ts +8 -0
- package/lib/icons/common/no-data-icon/index.d.ts +2 -0
- package/lib/icons/common/no-data-icon/no-data-icon.stories.d.ts +8 -0
- package/lib/icons/common/notebook-icon/index.d.ts +2 -0
- package/lib/icons/common/notebook-icon/notebook-icon.stories.d.ts +8 -0
- package/lib/icons/common/notification-icon/index.d.ts +2 -0
- package/lib/icons/common/notification-icon/notification-icon.stories.d.ts +8 -0
- package/lib/icons/common/search-icon/index.d.ts +2 -0
- package/lib/icons/common/search-icon/search-icon.stories.d.ts +8 -0
- package/lib/icons/common/sort-arrows-icon/index.d.ts +2 -0
- package/lib/icons/common/sort-arrows-icon/sort-arrows-icon.stories.d.ts +8 -0
- package/lib/icons/common/terminal-icon/index.d.ts +2 -0
- package/lib/icons/common/terminal-icon/terminal-icon.stories.d.ts +8 -0
- package/lib/icons/common/trash-icon/index.d.ts +2 -0
- package/lib/icons/common/trash-icon/trash-icon.stories.d.ts +8 -0
- package/lib/icons/common/x-icon/index.d.ts +2 -0
- package/lib/icons/common/x-icon/x-icon.stories.d.ts +8 -0
- package/lib/icons/compute-platform/index.d.ts +2 -0
- package/lib/icons/compute-platform/k8s-logo/index.d.ts +2 -0
- package/lib/icons/compute-platform/k8s-logo/k8s-logo.stories.d.ts +8 -0
- package/lib/icons/compute-platform/vm-logo/index.d.ts +2 -0
- package/lib/icons/compute-platform/vm-logo/vm-logo.stories.d.ts +8 -0
- package/lib/icons/index.d.ts +11 -0
- package/lib/icons/instrumentation-rules/code-attributes-icon/code-attributes-icon.stories.d.ts +8 -0
- package/lib/icons/instrumentation-rules/code-attributes-icon/index.d.ts +2 -0
- package/lib/icons/instrumentation-rules/index.d.ts +2 -0
- package/lib/icons/instrumentation-rules/payload-collection-icon/index.d.ts +2 -0
- package/lib/icons/instrumentation-rules/payload-collection-icon/payload-collection-icon.stories.d.ts +8 -0
- package/lib/icons/math/index.d.ts +2 -0
- package/lib/icons/math/minus-icon/index.d.ts +2 -0
- package/lib/icons/math/minus-icon/minus-icon.stories.d.ts +8 -0
- package/lib/icons/math/plus-icon/index.d.ts +2 -0
- package/lib/icons/math/plus-icon/plus-icon.stories.d.ts +8 -0
- package/lib/icons/monitors/index.d.ts +3 -0
- package/lib/icons/monitors/logs-icon/index.d.ts +2 -0
- package/lib/icons/monitors/logs-icon/logs-icon.stories.d.ts +8 -0
- package/lib/icons/monitors/metrics-icon/index.d.ts +2 -0
- package/lib/icons/monitors/metrics-icon/metrics-icon.stories.d.ts +8 -0
- package/lib/icons/monitors/traces-icon/index.d.ts +2 -0
- package/lib/icons/monitors/traces-icon/traces-icon.stories.d.ts +8 -0
- package/lib/icons/on-off/eye-closed-icon/eye-closed-icon.stories.d.ts +8 -0
- package/lib/icons/on-off/eye-closed-icon/index.d.ts +2 -0
- package/lib/icons/on-off/eye-open-icon/eye-open-icon.stories.d.ts +8 -0
- package/lib/icons/on-off/eye-open-icon/index.d.ts +2 -0
- package/lib/icons/on-off/index.d.ts +6 -0
- package/lib/icons/on-off/light-off-icon/index.d.ts +2 -0
- package/lib/icons/on-off/light-off-icon/light-off-icon.stories.d.ts +8 -0
- package/lib/icons/on-off/light-on-icon/index.d.ts +2 -0
- package/lib/icons/on-off/light-on-icon/light-on-icon.stories.d.ts +8 -0
- package/lib/icons/on-off/moon-icon/index.d.ts +2 -0
- package/lib/icons/on-off/moon-icon/moon-icon.stories.d.ts +8 -0
- package/lib/icons/on-off/sun-icon/index.d.ts +2 -0
- package/lib/icons/on-off/sun-icon/sun-icon.stories.d.ts +8 -0
- package/lib/icons/overview/actions-icon/actions-icon.stories.d.ts +8 -0
- package/lib/icons/overview/actions-icon/index.d.ts +2 -0
- package/lib/icons/overview/destinations-icon/destinations-icon.stories.d.ts +8 -0
- package/lib/icons/overview/destinations-icon/index.d.ts +2 -0
- package/lib/icons/overview/index.d.ts +7 -0
- package/lib/icons/overview/overview-icon/index.d.ts +2 -0
- package/lib/icons/overview/overview-icon/overview-icon.stories.d.ts +8 -0
- package/lib/icons/overview/rules-icon/index.d.ts +2 -0
- package/lib/icons/overview/rules-icon/rules-icon.stories.d.ts +8 -0
- package/lib/icons/overview/service-map-icon/index.d.ts +2 -0
- package/lib/icons/overview/service-map-icon/service-map-icon.stories.d.ts +8 -0
- package/lib/icons/overview/sources-icon/index.d.ts +2 -0
- package/lib/icons/overview/sources-icon/sources-icon.stories.d.ts +8 -0
- package/lib/icons/overview/trace-view-icon/index.d.ts +2 -0
- package/lib/icons/overview/trace-view-icon/trace-view-icon.stories.d.ts +8 -0
- package/lib/icons/social/index.d.ts +1 -0
- package/lib/icons/social/slack-logo/index.d.ts +2 -0
- package/lib/icons/social/slack-logo/slack-logo.stories.d.ts +8 -0
- package/lib/icons/status/check-circled-icon/check-circled-icon.stories.d.ts +8 -0
- package/lib/icons/status/check-circled-icon/index.d.ts +2 -0
- package/lib/icons/status/check-icon/check-icon.stories.d.ts +8 -0
- package/lib/icons/status/check-icon/index.d.ts +2 -0
- package/lib/icons/status/cross-circled-icon/cross-circled-icon.stories.d.ts +8 -0
- package/lib/icons/status/cross-circled-icon/index.d.ts +2 -0
- package/lib/icons/status/cross-icon/cross-icon.stories.d.ts +8 -0
- package/lib/icons/status/cross-icon/index.d.ts +2 -0
- package/lib/icons/status/error-round-icon/error-round-icon.stories.d.ts +8 -0
- package/lib/icons/status/error-round-icon/index.d.ts +2 -0
- package/lib/icons/status/error-triangle-icon/error-triangle-icon.stories.d.ts +8 -0
- package/lib/icons/status/error-triangle-icon/index.d.ts +2 -0
- package/lib/icons/status/index.d.ts +8 -0
- package/lib/icons/status/info-icon/index.d.ts +2 -0
- package/lib/icons/status/info-icon/info-icon.stories.d.ts +8 -0
- package/lib/icons/status/warning-triangle-icon/index.d.ts +2 -0
- package/lib/icons/status/warning-triangle-icon/warning-triangle-icon.stories.d.ts +8 -0
- package/lib/index.d.ts +9 -0
- package/lib/index.esm.js +53989 -0
- package/lib/index.esm.js.map +1 -0
- package/lib/index.js +54212 -0
- package/lib/index.js.map +1 -0
- package/lib/store/index.d.ts +10 -0
- package/lib/store/useDarkMode.d.ts +17 -0
- package/lib/store/useDrawerStore.d.ts +11 -0
- package/lib/store/useEntityStore.d.ts +21 -0
- package/lib/store/useFilterStore.d.ts +37 -0
- package/lib/store/useInstrumentStore.d.ts +13 -0
- package/lib/store/useModalStore.d.ts +6 -0
- package/lib/store/useNotificationStore.d.ts +12 -0
- package/lib/store/usePendingStore.d.ts +14 -0
- package/lib/store/useSelectedStore.d.ts +12 -0
- package/lib/store/useSetupStore.d.ts +46 -0
- package/lib/theme/animations/index.d.ts +22 -0
- package/lib/theme/index.d.ts +13 -0
- package/lib/theme/opacity/index.d.ts +103 -0
- package/lib/theme/palletes/index.d.ts +105 -0
- package/lib/theme/provider/index.d.ts +3 -0
- package/lib/types/actions/index.d.ts +80 -0
- package/lib/types/common/index.d.ts +126 -0
- package/lib/types/compute-platform/index.d.ts +7 -0
- package/lib/types/data-flow/index.d.ts +18 -0
- package/lib/types/describe/index.d.ts +98 -0
- package/lib/types/destinations/index.d.ts +80 -0
- package/lib/types/index.d.ts +12 -0
- package/lib/types/instrumentation-rules/index.d.ts +74 -0
- package/lib/types/metrics/index.d.ts +10 -0
- package/lib/types/namespaces/index.d.ts +6 -0
- package/lib/types/signals/index.d.ts +9 -0
- package/lib/types/sources/index.d.ts +33 -0
- package/lib/types/tokens/index.d.ts +6 -0
- package/package.json +127 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './useDarkMode';
|
|
2
|
+
export * from './useDrawerStore';
|
|
3
|
+
export * from './useEntityStore';
|
|
4
|
+
export * from './useFilterStore';
|
|
5
|
+
export * from './useInstrumentStore';
|
|
6
|
+
export * from './useModalStore';
|
|
7
|
+
export * from './useNotificationStore';
|
|
8
|
+
export * from './usePendingStore';
|
|
9
|
+
export * from './useSelectedStore';
|
|
10
|
+
export * from './useSetupStore';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface DarkModeState {
|
|
2
|
+
darkMode: boolean;
|
|
3
|
+
}
|
|
4
|
+
export interface DarkModeStateSetters {
|
|
5
|
+
setDarkMode: (bool: boolean) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const useDarkMode: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<DarkModeState & DarkModeStateSetters>, "persist"> & {
|
|
8
|
+
persist: {
|
|
9
|
+
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<DarkModeState & DarkModeStateSetters, unknown>>) => void;
|
|
10
|
+
clearStorage: () => void;
|
|
11
|
+
rehydrate: () => Promise<void> | void;
|
|
12
|
+
hasHydrated: () => boolean;
|
|
13
|
+
onHydrate: (fn: (state: DarkModeState & DarkModeStateSetters) => void) => () => void;
|
|
14
|
+
onFinishHydration: (fn: (state: DarkModeState & DarkModeStateSetters) => void) => () => void;
|
|
15
|
+
getOptions: () => Partial<import("zustand/middleware").PersistOptions<DarkModeState & DarkModeStateSetters, unknown>>;
|
|
16
|
+
};
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ENTITY_TYPES, type WorkloadId } from '@/types';
|
|
2
|
+
export interface DrawerStoreState {
|
|
3
|
+
drawerType: ENTITY_TYPES | null;
|
|
4
|
+
drawerEntityId: string | WorkloadId | null;
|
|
5
|
+
}
|
|
6
|
+
interface DrawerStoreStateSetters {
|
|
7
|
+
setDrawerType: (value: DrawerStoreState['drawerType']) => void;
|
|
8
|
+
setDrawerEntityId: (value: DrawerStoreState['drawerEntityId']) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const useDrawerStore: import("zustand").UseBoundStore<import("zustand").StoreApi<DrawerStoreState & DrawerStoreStateSetters>>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type Action, type Destination, ENTITY_TYPES, type InstrumentationRule, type Source, type WorkloadId } from '@/types';
|
|
2
|
+
interface IEntityState {
|
|
3
|
+
sourcesLoading: boolean;
|
|
4
|
+
sources: Source[];
|
|
5
|
+
destinationsLoading: boolean;
|
|
6
|
+
destinations: Destination[];
|
|
7
|
+
actionsLoading: boolean;
|
|
8
|
+
actions: Action[];
|
|
9
|
+
instrumentationRulesLoading: boolean;
|
|
10
|
+
instrumentationRules: InstrumentationRule[];
|
|
11
|
+
}
|
|
12
|
+
type EntityId = string | WorkloadId;
|
|
13
|
+
type EntityItems = IEntityState['sources'] | IEntityState['destinations'] | IEntityState['actions'] | IEntityState['instrumentationRules'];
|
|
14
|
+
interface IEntityStateSetters {
|
|
15
|
+
setEntitiesLoading: (entityType: ENTITY_TYPES, bool: boolean) => void;
|
|
16
|
+
setEntities: (entityType: ENTITY_TYPES, entities: EntityItems) => void;
|
|
17
|
+
addEntities: (entityType: ENTITY_TYPES, entities: EntityItems) => void;
|
|
18
|
+
removeEntities: (entityType: ENTITY_TYPES, entityIds: EntityId[]) => void;
|
|
19
|
+
}
|
|
20
|
+
export declare const useEntityStore: import("zustand").UseBoundStore<import("zustand").StoreApi<IEntityState & IEntityStateSetters>>;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { DropdownProps } from '@/components';
|
|
2
|
+
export interface FiltersState {
|
|
3
|
+
searchText?: string;
|
|
4
|
+
statuses?: DropdownProps['options'];
|
|
5
|
+
platformTypes?: DropdownProps['options'];
|
|
6
|
+
namespaces?: DropdownProps['options'];
|
|
7
|
+
kinds?: DropdownProps['options'];
|
|
8
|
+
monitors?: DropdownProps['options'];
|
|
9
|
+
languages?: DropdownProps['options'];
|
|
10
|
+
errors?: DropdownProps['options'];
|
|
11
|
+
onlyErrors?: boolean;
|
|
12
|
+
}
|
|
13
|
+
interface StoreState {
|
|
14
|
+
searchText: FiltersState['searchText'];
|
|
15
|
+
setSearchText: (setSearchText: FiltersState['searchText']) => void;
|
|
16
|
+
statuses: FiltersState['statuses'];
|
|
17
|
+
setStatuses: (statuses: FiltersState['statuses']) => void;
|
|
18
|
+
platformTypes: FiltersState['platformTypes'];
|
|
19
|
+
setPlatformTypes: (platformTypes: FiltersState['platformTypes']) => void;
|
|
20
|
+
namespaces: FiltersState['namespaces'];
|
|
21
|
+
setNamespaces: (namespaces: FiltersState['namespaces']) => void;
|
|
22
|
+
kinds: FiltersState['kinds'];
|
|
23
|
+
setKinds: (kinds: FiltersState['kinds']) => void;
|
|
24
|
+
monitors: FiltersState['monitors'];
|
|
25
|
+
setMonitors: (metrics: FiltersState['monitors']) => void;
|
|
26
|
+
languages: FiltersState['languages'];
|
|
27
|
+
setLanguages: (metrics: FiltersState['languages']) => void;
|
|
28
|
+
errors: FiltersState['errors'];
|
|
29
|
+
setErrors: (metrics: FiltersState['errors']) => void;
|
|
30
|
+
onlyErrors: FiltersState['onlyErrors'];
|
|
31
|
+
setOnlyErrors: (onlyErrors: FiltersState['onlyErrors']) => void;
|
|
32
|
+
setAll: (params: FiltersState) => void;
|
|
33
|
+
clearAll: () => void;
|
|
34
|
+
getEmptyState: () => FiltersState;
|
|
35
|
+
}
|
|
36
|
+
export declare const useFilterStore: import("zustand").UseBoundStore<import("zustand").StoreApi<StoreState>>;
|
|
37
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface StoreValues {
|
|
2
|
+
isAwaitingInstrumentation: boolean;
|
|
3
|
+
sourcesToCreate: number;
|
|
4
|
+
sourcesCreated: number;
|
|
5
|
+
sourcesToDelete: number;
|
|
6
|
+
sourcesDeleted: number;
|
|
7
|
+
}
|
|
8
|
+
interface StoreSetters {
|
|
9
|
+
setInstrumentAwait: (v: boolean) => void;
|
|
10
|
+
setInstrumentCount: (k: keyof Omit<StoreValues, 'isAwaitingInstrumentation'>, v: number) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const useInstrumentStore: import("zustand").UseBoundStore<import("zustand").StoreApi<StoreValues & StoreSetters>>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Notification } from '@/types';
|
|
2
|
+
export type NotifyPayload = Omit<Notification, 'id' | 'dismissed' | 'seen' | 'time'>;
|
|
3
|
+
interface StoreState {
|
|
4
|
+
notifications: Notification[];
|
|
5
|
+
addNotification: (notif: NotifyPayload) => void;
|
|
6
|
+
markAsDismissed: (id: string) => void;
|
|
7
|
+
markAsSeen: (id: string) => void;
|
|
8
|
+
removeNotification: (id: string) => void;
|
|
9
|
+
removeNotifications: (target: string) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const useNotificationStore: import("zustand").UseBoundStore<import("zustand").StoreApi<StoreState>>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ENTITY_TYPES, type WorkloadId } from '@/types';
|
|
2
|
+
export interface PendingItem {
|
|
3
|
+
entityType: ENTITY_TYPES;
|
|
4
|
+
entityId?: string | WorkloadId;
|
|
5
|
+
}
|
|
6
|
+
interface StoreState {
|
|
7
|
+
pendingItems: PendingItem[];
|
|
8
|
+
setPendingItems: (arr: PendingItem[]) => void;
|
|
9
|
+
addPendingItems: (arr: PendingItem[]) => void;
|
|
10
|
+
removePendingItems: (arr: PendingItem[]) => void;
|
|
11
|
+
isThisPending: (item: PendingItem) => boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const usePendingStore: import("zustand").UseBoundStore<import("zustand").StoreApi<StoreState>>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Source } from '@/types';
|
|
2
|
+
export interface SelectedState {
|
|
3
|
+
selectedSources: {
|
|
4
|
+
[namespace: string]: Source[];
|
|
5
|
+
};
|
|
6
|
+
}
|
|
7
|
+
interface SelectedStateSetters {
|
|
8
|
+
setSelectedSources: (payload: SelectedState['selectedSources']) => void;
|
|
9
|
+
resetSelectedState: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const useSelectedStore: import("zustand").UseBoundStore<import("zustand").StoreApi<SelectedState & SelectedStateSetters>>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { Destination, DestinationFormData, Source } from '@/types';
|
|
2
|
+
export interface AvailableSourcesByNamespace {
|
|
3
|
+
[namespace: string]: Pick<Source, 'name' | 'kind' | 'selected' | 'numberOfInstances'>[];
|
|
4
|
+
}
|
|
5
|
+
export interface SourceSelectionFormData {
|
|
6
|
+
[namespace: string]: Pick<Source, 'name' | 'kind' | 'selected'>[];
|
|
7
|
+
}
|
|
8
|
+
export interface NamespaceSelectionFormData {
|
|
9
|
+
[namespace: string]: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface StoredSetupDestination {
|
|
12
|
+
type: string;
|
|
13
|
+
displayName: string;
|
|
14
|
+
imageUrl: string;
|
|
15
|
+
category: string;
|
|
16
|
+
exportedSignals: Destination['exportedSignals'];
|
|
17
|
+
destinationTypeDetails: {
|
|
18
|
+
title: string;
|
|
19
|
+
value: string;
|
|
20
|
+
}[];
|
|
21
|
+
}
|
|
22
|
+
export interface ISetupState {
|
|
23
|
+
availableSources: AvailableSourcesByNamespace;
|
|
24
|
+
configuredSources: SourceSelectionFormData;
|
|
25
|
+
configuredFutureApps: NamespaceSelectionFormData;
|
|
26
|
+
configuredDestinations: {
|
|
27
|
+
stored: StoredSetupDestination;
|
|
28
|
+
form: DestinationFormData;
|
|
29
|
+
}[];
|
|
30
|
+
}
|
|
31
|
+
interface ISetupStateSetters {
|
|
32
|
+
setAvailableSources: (payload: ISetupState['availableSources']) => void;
|
|
33
|
+
setConfiguredSources: (payload: ISetupState['configuredSources']) => void;
|
|
34
|
+
setConfiguredFutureApps: (payload: ISetupState['configuredFutureApps']) => void;
|
|
35
|
+
setConfiguredDestinations: (payload: ISetupState['configuredDestinations']) => void;
|
|
36
|
+
addConfiguredDestination: (payload: {
|
|
37
|
+
stored: StoredSetupDestination;
|
|
38
|
+
form: DestinationFormData;
|
|
39
|
+
}) => void;
|
|
40
|
+
removeConfiguredDestination: (payload: {
|
|
41
|
+
type: string;
|
|
42
|
+
}) => void;
|
|
43
|
+
resetState: () => void;
|
|
44
|
+
}
|
|
45
|
+
export declare const useSetupStore: import("zustand").UseBoundStore<import("zustand").StoreApi<ISetupState & ISetupStateSetters>>;
|
|
46
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const slide: {
|
|
2
|
+
in: {
|
|
3
|
+
left: import("styled-components/dist/models/Keyframes").default;
|
|
4
|
+
right: import("styled-components/dist/models/Keyframes").default;
|
|
5
|
+
top: import("styled-components/dist/models/Keyframes").default;
|
|
6
|
+
bottom: import("styled-components/dist/models/Keyframes").default;
|
|
7
|
+
center: import("styled-components/dist/models/Keyframes").default;
|
|
8
|
+
};
|
|
9
|
+
out: {
|
|
10
|
+
left: import("styled-components/dist/models/Keyframes").default;
|
|
11
|
+
right: import("styled-components/dist/models/Keyframes").default;
|
|
12
|
+
top: import("styled-components/dist/models/Keyframes").default;
|
|
13
|
+
bottom: import("styled-components/dist/models/Keyframes").default;
|
|
14
|
+
center: import("styled-components/dist/models/Keyframes").default;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export declare const progress: {
|
|
18
|
+
in: import("styled-components/dist/models/Keyframes").default;
|
|
19
|
+
out: import("styled-components/dist/models/Keyframes").default;
|
|
20
|
+
};
|
|
21
|
+
export declare const ping: import("styled-components/dist/models/Keyframes").default;
|
|
22
|
+
export declare const shimmer: import("styled-components/dist/models/Keyframes").default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as opacity from './opacity';
|
|
2
|
+
import * as palletes from './palletes';
|
|
3
|
+
import * as animations from './animations';
|
|
4
|
+
declare const Theme: {
|
|
5
|
+
Provider: import("react").FC<{
|
|
6
|
+
children?: import("react").ReactNode | undefined;
|
|
7
|
+
}>;
|
|
8
|
+
useTheme: () => palletes.ITheme;
|
|
9
|
+
opacity: typeof opacity;
|
|
10
|
+
palletes: typeof palletes;
|
|
11
|
+
animations: typeof animations;
|
|
12
|
+
};
|
|
13
|
+
export default Theme;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
export declare const hex: {
|
|
2
|
+
'100': string;
|
|
3
|
+
'099': string;
|
|
4
|
+
'098': string;
|
|
5
|
+
'097': string;
|
|
6
|
+
'096': string;
|
|
7
|
+
'095': string;
|
|
8
|
+
'094': string;
|
|
9
|
+
'093': string;
|
|
10
|
+
'092': string;
|
|
11
|
+
'091': string;
|
|
12
|
+
'090': string;
|
|
13
|
+
'089': string;
|
|
14
|
+
'088': string;
|
|
15
|
+
'087': string;
|
|
16
|
+
'086': string;
|
|
17
|
+
'085': string;
|
|
18
|
+
'084': string;
|
|
19
|
+
'083': string;
|
|
20
|
+
'082': string;
|
|
21
|
+
'081': string;
|
|
22
|
+
'080': string;
|
|
23
|
+
'079': string;
|
|
24
|
+
'078': string;
|
|
25
|
+
'077': string;
|
|
26
|
+
'076': string;
|
|
27
|
+
'075': string;
|
|
28
|
+
'074': string;
|
|
29
|
+
'073': string;
|
|
30
|
+
'072': string;
|
|
31
|
+
'071': string;
|
|
32
|
+
'070': string;
|
|
33
|
+
'069': string;
|
|
34
|
+
'068': string;
|
|
35
|
+
'067': string;
|
|
36
|
+
'066': string;
|
|
37
|
+
'065': string;
|
|
38
|
+
'064': string;
|
|
39
|
+
'063': string;
|
|
40
|
+
'062': string;
|
|
41
|
+
'061': string;
|
|
42
|
+
'060': string;
|
|
43
|
+
'059': string;
|
|
44
|
+
'058': string;
|
|
45
|
+
'057': string;
|
|
46
|
+
'056': string;
|
|
47
|
+
'055': string;
|
|
48
|
+
'054': string;
|
|
49
|
+
'053': string;
|
|
50
|
+
'052': string;
|
|
51
|
+
'051': string;
|
|
52
|
+
'050': string;
|
|
53
|
+
'049': string;
|
|
54
|
+
'048': string;
|
|
55
|
+
'047': string;
|
|
56
|
+
'046': string;
|
|
57
|
+
'045': string;
|
|
58
|
+
'044': string;
|
|
59
|
+
'043': string;
|
|
60
|
+
'042': string;
|
|
61
|
+
'041': string;
|
|
62
|
+
'040': string;
|
|
63
|
+
'039': string;
|
|
64
|
+
'038': string;
|
|
65
|
+
'037': string;
|
|
66
|
+
'036': string;
|
|
67
|
+
'035': string;
|
|
68
|
+
'034': string;
|
|
69
|
+
'033': string;
|
|
70
|
+
'032': string;
|
|
71
|
+
'031': string;
|
|
72
|
+
'030': string;
|
|
73
|
+
'029': string;
|
|
74
|
+
'028': string;
|
|
75
|
+
'027': string;
|
|
76
|
+
'026': string;
|
|
77
|
+
'025': string;
|
|
78
|
+
'024': string;
|
|
79
|
+
'023': string;
|
|
80
|
+
'022': string;
|
|
81
|
+
'021': string;
|
|
82
|
+
'020': string;
|
|
83
|
+
'019': string;
|
|
84
|
+
'018': string;
|
|
85
|
+
'017': string;
|
|
86
|
+
'016': string;
|
|
87
|
+
'015': string;
|
|
88
|
+
'014': string;
|
|
89
|
+
'013': string;
|
|
90
|
+
'012': string;
|
|
91
|
+
'011': string;
|
|
92
|
+
'010': string;
|
|
93
|
+
'009': string;
|
|
94
|
+
'008': string;
|
|
95
|
+
'007': string;
|
|
96
|
+
'006': string;
|
|
97
|
+
'005': string;
|
|
98
|
+
'004': string;
|
|
99
|
+
'003': string;
|
|
100
|
+
'002': string;
|
|
101
|
+
'001': string;
|
|
102
|
+
'000': string;
|
|
103
|
+
};
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
declare const darkModeTheme: {
|
|
2
|
+
darkMode: boolean;
|
|
3
|
+
colors: {
|
|
4
|
+
primary: string;
|
|
5
|
+
secondary: string;
|
|
6
|
+
border: string;
|
|
7
|
+
dark_grey: string;
|
|
8
|
+
translucent_bg: string;
|
|
9
|
+
dropdown_bg: string;
|
|
10
|
+
dropdown_bg_2: string;
|
|
11
|
+
warning: string;
|
|
12
|
+
error: string;
|
|
13
|
+
success: string;
|
|
14
|
+
info: string;
|
|
15
|
+
default: string;
|
|
16
|
+
majestic_blue: string;
|
|
17
|
+
majestic_blue_soft: string;
|
|
18
|
+
orange_og: string;
|
|
19
|
+
orange_soft: string;
|
|
20
|
+
dark_red: string;
|
|
21
|
+
darker_red: string;
|
|
22
|
+
darkest_red: string;
|
|
23
|
+
darkest_red_hover: string;
|
|
24
|
+
dark_green: string;
|
|
25
|
+
};
|
|
26
|
+
text: {
|
|
27
|
+
white: string;
|
|
28
|
+
primary: string;
|
|
29
|
+
secondary: string;
|
|
30
|
+
grey: string;
|
|
31
|
+
dark_grey: string;
|
|
32
|
+
darker_grey: string;
|
|
33
|
+
light_grey: string;
|
|
34
|
+
dark_button: string;
|
|
35
|
+
warning: string;
|
|
36
|
+
warning_secondary: string;
|
|
37
|
+
error: string;
|
|
38
|
+
error_secondary: string;
|
|
39
|
+
success: string;
|
|
40
|
+
success_secondary: string;
|
|
41
|
+
info: string;
|
|
42
|
+
info_secondary: string;
|
|
43
|
+
default: string;
|
|
44
|
+
default_secondary: string;
|
|
45
|
+
};
|
|
46
|
+
font_family: {
|
|
47
|
+
primary: string;
|
|
48
|
+
secondary: string;
|
|
49
|
+
code: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
declare const lightModeTheme: {
|
|
53
|
+
darkMode: boolean;
|
|
54
|
+
colors: {
|
|
55
|
+
primary: string;
|
|
56
|
+
secondary: string;
|
|
57
|
+
border: string;
|
|
58
|
+
dark_grey: string;
|
|
59
|
+
translucent_bg: string;
|
|
60
|
+
dropdown_bg: string;
|
|
61
|
+
dropdown_bg_2: string;
|
|
62
|
+
warning: string;
|
|
63
|
+
error: string;
|
|
64
|
+
success: string;
|
|
65
|
+
info: string;
|
|
66
|
+
default: string;
|
|
67
|
+
majestic_blue: string;
|
|
68
|
+
majestic_blue_soft: string;
|
|
69
|
+
orange_og: string;
|
|
70
|
+
orange_soft: string;
|
|
71
|
+
dark_red: string;
|
|
72
|
+
darker_red: string;
|
|
73
|
+
darkest_red: string;
|
|
74
|
+
darkest_red_hover: string;
|
|
75
|
+
dark_green: string;
|
|
76
|
+
};
|
|
77
|
+
text: {
|
|
78
|
+
white: string;
|
|
79
|
+
primary: string;
|
|
80
|
+
secondary: string;
|
|
81
|
+
grey: string;
|
|
82
|
+
dark_grey: string;
|
|
83
|
+
darker_grey: string;
|
|
84
|
+
light_grey: string;
|
|
85
|
+
dark_button: string;
|
|
86
|
+
warning: string;
|
|
87
|
+
warning_secondary: string;
|
|
88
|
+
error: string;
|
|
89
|
+
error_secondary: string;
|
|
90
|
+
success: string;
|
|
91
|
+
success_secondary: string;
|
|
92
|
+
info: string;
|
|
93
|
+
info_secondary: string;
|
|
94
|
+
default: string;
|
|
95
|
+
default_secondary: string;
|
|
96
|
+
};
|
|
97
|
+
font_family: {
|
|
98
|
+
primary: string;
|
|
99
|
+
secondary: string;
|
|
100
|
+
code: string;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
export type ITheme = typeof darkModeTheme & typeof lightModeTheme;
|
|
104
|
+
export declare const getTheme: (darkMode: boolean) => ITheme;
|
|
105
|
+
export {};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { SIGNAL_TYPE } from '../signals';
|
|
2
|
+
import type { Condition, SVG } from '../common';
|
|
3
|
+
export declare enum ACTION_TYPE {
|
|
4
|
+
K8S_ATTRIBUTES = "K8sAttributesResolver",
|
|
5
|
+
ADD_CLUSTER_INFO = "AddClusterInfo",
|
|
6
|
+
DELETE_ATTRIBUTES = "DeleteAttribute",
|
|
7
|
+
RENAME_ATTRIBUTES = "RenameAttribute",
|
|
8
|
+
ERROR_SAMPLER = "ErrorSampler",
|
|
9
|
+
PROBABILISTIC_SAMPLER = "ProbabilisticSampler",
|
|
10
|
+
LATENCY_SAMPLER = "LatencySampler",
|
|
11
|
+
PII_MASKING = "PiiMasking"
|
|
12
|
+
}
|
|
13
|
+
export interface Action {
|
|
14
|
+
id: string;
|
|
15
|
+
type: ACTION_TYPE;
|
|
16
|
+
conditions: Condition[] | null;
|
|
17
|
+
spec: {
|
|
18
|
+
actionName?: string;
|
|
19
|
+
notes?: string;
|
|
20
|
+
signals: SIGNAL_TYPE[];
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
collectContainerAttributes?: boolean | null;
|
|
23
|
+
collectWorkloadId?: boolean | null;
|
|
24
|
+
collectClusterId?: boolean | null;
|
|
25
|
+
labelsAttributes?: {
|
|
26
|
+
labelKey: string;
|
|
27
|
+
attributeKey: string;
|
|
28
|
+
}[] | null;
|
|
29
|
+
annotationsAttributes?: {
|
|
30
|
+
annotationKey: string;
|
|
31
|
+
attributeKey: string;
|
|
32
|
+
}[] | null;
|
|
33
|
+
clusterAttributes?: {
|
|
34
|
+
attributeName: string;
|
|
35
|
+
attributeStringValue: string;
|
|
36
|
+
}[] | null;
|
|
37
|
+
attributeNamesToDelete?: string[] | null;
|
|
38
|
+
renames?: {
|
|
39
|
+
[oldKey: string]: string;
|
|
40
|
+
} | null;
|
|
41
|
+
piiCategories?: string[] | null;
|
|
42
|
+
fallbackSamplingRatio?: number | null;
|
|
43
|
+
samplingPercentage?: number | null;
|
|
44
|
+
endpointsFilters?: {
|
|
45
|
+
serviceName: string;
|
|
46
|
+
httpRoute: string;
|
|
47
|
+
minimumLatencyThreshold: number;
|
|
48
|
+
fallbackSamplingRatio: number;
|
|
49
|
+
}[] | null;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export interface ActionOption {
|
|
53
|
+
type?: ACTION_TYPE;
|
|
54
|
+
icon?: SVG;
|
|
55
|
+
label: string;
|
|
56
|
+
description?: string;
|
|
57
|
+
allowedSignals?: SIGNAL_TYPE[];
|
|
58
|
+
docsEndpoint?: string;
|
|
59
|
+
docsDescription?: string;
|
|
60
|
+
items?: ActionOption[];
|
|
61
|
+
}
|
|
62
|
+
export interface ActionFormData {
|
|
63
|
+
type: Action['type'];
|
|
64
|
+
name: Action['spec']['actionName'];
|
|
65
|
+
notes: Action['spec']['notes'];
|
|
66
|
+
signals: Action['spec']['signals'];
|
|
67
|
+
disabled: Action['spec']['disabled'];
|
|
68
|
+
collectContainerAttributes: Action['spec']['collectContainerAttributes'];
|
|
69
|
+
collectWorkloadId: Action['spec']['collectWorkloadId'];
|
|
70
|
+
collectClusterId: Action['spec']['collectClusterId'];
|
|
71
|
+
labelsAttributes: Action['spec']['labelsAttributes'];
|
|
72
|
+
annotationsAttributes: Action['spec']['annotationsAttributes'];
|
|
73
|
+
clusterAttributes: Action['spec']['clusterAttributes'];
|
|
74
|
+
attributeNamesToDelete: Action['spec']['attributeNamesToDelete'];
|
|
75
|
+
renames: Action['spec']['renames'];
|
|
76
|
+
piiCategories: Action['spec']['piiCategories'];
|
|
77
|
+
fallbackSamplingRatio: Action['spec']['fallbackSamplingRatio'];
|
|
78
|
+
samplingPercentage: Action['spec']['samplingPercentage'];
|
|
79
|
+
endpointsFilters: Action['spec']['endpointsFilters'];
|
|
80
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import type { FC, MouseEventHandler } from 'react';
|
|
2
|
+
export type SVG = FC<{
|
|
3
|
+
/**
|
|
4
|
+
* Size of the SVG icon
|
|
5
|
+
*/
|
|
6
|
+
size?: number;
|
|
7
|
+
/**
|
|
8
|
+
* Fill color of the SVG icon
|
|
9
|
+
*/
|
|
10
|
+
fill?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Rotate the SVG icon by a number of degrees
|
|
13
|
+
*/
|
|
14
|
+
rotate?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Click handler for the SVG icon
|
|
17
|
+
*/
|
|
18
|
+
onClick?: MouseEventHandler<SVGSVGElement>;
|
|
19
|
+
}>;
|
|
20
|
+
export declare enum TIER {
|
|
21
|
+
COMMUNITY = "community",
|
|
22
|
+
CLOUD = "cloud",
|
|
23
|
+
ONPREM = "onprem"
|
|
24
|
+
}
|
|
25
|
+
export declare enum PLATFORM_TYPE {
|
|
26
|
+
K8S = "k8s",
|
|
27
|
+
VM = "vm"
|
|
28
|
+
}
|
|
29
|
+
export declare enum PROGRAMMING_LANGUAGES {
|
|
30
|
+
GO = "go",
|
|
31
|
+
JAVASCRIPT = "javascript",
|
|
32
|
+
PYTHON = "python",
|
|
33
|
+
JAVA = "java",
|
|
34
|
+
DOTNET = "dotnet",
|
|
35
|
+
CSHARP = "csharp",
|
|
36
|
+
CPLUSPLUS = "cplusplus",
|
|
37
|
+
PHP = "php",
|
|
38
|
+
RUBY = "ruby",
|
|
39
|
+
RUST = "rust",
|
|
40
|
+
SWIFT = "swift",
|
|
41
|
+
ELIXIR = "elixir",
|
|
42
|
+
MYSQL = "mysql",
|
|
43
|
+
NGINX = "nginx",
|
|
44
|
+
POSTGRES = "postgres",
|
|
45
|
+
REDIS = "redis",
|
|
46
|
+
KAFKA = "kafka",
|
|
47
|
+
IGNORED = "ignored",
|
|
48
|
+
UNKNOWN = "unknown",// language detection completed but could not find a supported language
|
|
49
|
+
PROCESSING = "processing",// language detection is not yet complotted, data is not available
|
|
50
|
+
NO_CONTAINERS = "no containers",// language detection completed but no containers found or they are ignored
|
|
51
|
+
NO_RUNNING_PODS = "no running pods"
|
|
52
|
+
}
|
|
53
|
+
export declare enum CRUD {
|
|
54
|
+
CREATE = "Create",
|
|
55
|
+
READ = "Read",
|
|
56
|
+
UPDATE = "Update",
|
|
57
|
+
DELETE = "Delete"
|
|
58
|
+
}
|
|
59
|
+
export declare enum ENTITY_TYPES {
|
|
60
|
+
SOURCE = "source",
|
|
61
|
+
DESTINATION = "destination",
|
|
62
|
+
ACTION = "action",
|
|
63
|
+
INSTRUMENTATION_RULE = "rule"
|
|
64
|
+
}
|
|
65
|
+
export declare enum FIELD_TYPES {
|
|
66
|
+
INPUT = "input",
|
|
67
|
+
MULTI_INPUT = "multiInput",
|
|
68
|
+
MULTI_TABLED_INPUT = "multiTabledInput",// not used by dests, but is in form components
|
|
69
|
+
KEY_VALUE_PAIR = "keyValuePairs",
|
|
70
|
+
TEXTAREA = "textarea",
|
|
71
|
+
DROPDOWN = "dropdown",
|
|
72
|
+
CHECKBOX = "checkbox",
|
|
73
|
+
TOGGLE = "toggle"
|
|
74
|
+
}
|
|
75
|
+
export declare enum CRD_TYPES {
|
|
76
|
+
ODIGOS_CONFIGURATION = "OdigosConfiguration",
|
|
77
|
+
COLLECTORS_GROUP = "CollectorsGroup",
|
|
78
|
+
SOURCE = "Source",
|
|
79
|
+
INSTRUMENTATION_CONFIG = "InstrumentationConfig",
|
|
80
|
+
INSTRUMENTATION_INSTANCE = "InstrumentationInstance",
|
|
81
|
+
DESTINATION = "Destination",
|
|
82
|
+
INSTRUMENTATION_RULE = "InstrumentationRule",
|
|
83
|
+
PROCESSOR = "Processor",
|
|
84
|
+
ADD_CLUSTER_INFO = "AddClusterInfo",
|
|
85
|
+
DELETE_ATTTRIBUTE = "DeleteAttribute",
|
|
86
|
+
RENAME_ATTRIBUTE = "RenameAttribute",
|
|
87
|
+
PII_MASKING = "PiiMasking",
|
|
88
|
+
ERROR_SAMPLER = "ErrorSampler",
|
|
89
|
+
LATENCY_SAMPLER = "LatencySampler",
|
|
90
|
+
PROBABILISTIC_SAMPLER = "ProbabilisticSampler"
|
|
91
|
+
}
|
|
92
|
+
export declare enum NOTIFICATION_TYPE {
|
|
93
|
+
WARNING = "warning",
|
|
94
|
+
ERROR = "error",
|
|
95
|
+
SUCCESS = "success",
|
|
96
|
+
INFO = "info",
|
|
97
|
+
DEFAULT = "default"
|
|
98
|
+
}
|
|
99
|
+
export declare enum OTHER_STATUS {
|
|
100
|
+
LOADING = "loading",
|
|
101
|
+
DISABLED = "disabled"
|
|
102
|
+
}
|
|
103
|
+
export interface Condition {
|
|
104
|
+
status: NOTIFICATION_TYPE | OTHER_STATUS;
|
|
105
|
+
type: string;
|
|
106
|
+
reason?: string | null;
|
|
107
|
+
message?: string | null;
|
|
108
|
+
lastTransitionTime: string;
|
|
109
|
+
}
|
|
110
|
+
export interface Notification {
|
|
111
|
+
id: string;
|
|
112
|
+
type: NOTIFICATION_TYPE;
|
|
113
|
+
title?: string;
|
|
114
|
+
message?: string;
|
|
115
|
+
crdType?: string;
|
|
116
|
+
target?: string;
|
|
117
|
+
dismissed: boolean;
|
|
118
|
+
seen: boolean;
|
|
119
|
+
hideFromHistory?: boolean;
|
|
120
|
+
time: string;
|
|
121
|
+
}
|
|
122
|
+
export type CustomFieldProps<T = Record<string, any>> = {
|
|
123
|
+
value: T;
|
|
124
|
+
setValue: (key: keyof T, value: any) => void;
|
|
125
|
+
formErrors: Record<string, string>;
|
|
126
|
+
};
|