@odigos/ui-kit 0.0.236 → 0.0.237
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/lib/chunks/{index-Cm0_bD--.js → index-92vqd713.js} +13 -13
- package/lib/chunks/{index-zIhroDGj.js → index-DB_UqHYt.js} +1 -1
- package/lib/chunks/{index-CmhFl_vY.js → index-zOzusnDO.js} +4 -4
- package/lib/chunks/ui-components-CjDRcQJq.js +2235 -0
- package/lib/components/data-card/data-card-fields/index.d.ts +0 -1
- package/lib/components/index.d.ts +0 -20
- package/lib/components/v2.js +1 -1
- package/lib/components.js +1 -1
- package/lib/constants.js +1 -1
- package/lib/containers/_v2/overview/search/builder.d.ts +1 -1
- package/lib/containers/index.d.ts +0 -32
- package/lib/containers/v2.js +44 -44
- package/lib/containers.js +19 -556
- package/lib/contexts.js +1 -1
- package/lib/functions.js +1 -1
- package/lib/hooks/useActionFormData.d.ts +1 -1
- package/lib/hooks.js +1 -1
- package/lib/snippets/index.d.ts +0 -2
- package/lib/snippets/v2.js +1 -1
- package/lib/snippets.js +1 -1
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types.js +1 -1
- package/lib/visuals.js +1 -1
- package/package.json +1 -1
- package/lib/chunks/ui-components-DHsbbgZi.js +0 -2708
- package/lib/components/auto-complete-input/index.d.ts +0 -22
- package/lib/components/data-finger/index.d.ts +0 -12
- package/lib/components/docs-button/index.d.ts +0 -8
- package/lib/components/header/index.d.ts +0 -8
- package/lib/components/icon-title-badge/index.d.ts +0 -11
- package/lib/components/icons-nav/index.d.ts +0 -17
- package/lib/components/input-list/index.d.ts +0 -13
- package/lib/components/input-table/index.d.ts +0 -13
- package/lib/components/input-table/map-columns-to-fields/index.d.ts +0 -15
- package/lib/components/input-table/types.d.ts +0 -15
- package/lib/components/interactive-table/index.d.ts +0 -27
- package/lib/components/interactive-table/table-row.d.ts +0 -13
- package/lib/components/key-value-input-list/index.d.ts +0 -20
- package/lib/components/monitors-checkboxes/index.d.ts +0 -13
- package/lib/components/navigation-buttons/index.d.ts +0 -16
- package/lib/components/section-title/index.d.ts +0 -12
- package/lib/components/segment/index.d.ts +0 -17
- package/lib/components/selection-button/index.d.ts +0 -17
- package/lib/components/stepper/index.d.ts +0 -11
- package/lib/components/tag/index.d.ts +0 -9
- package/lib/components/textarea/index.d.ts +0 -8
- package/lib/components/toggle/index.d.ts +0 -12
- package/lib/components/trace-loader/index.d.ts +0 -6
- package/lib/containers/action-drawer/build-card.d.ts +0 -3
- package/lib/containers/action-drawer/index.d.ts +0 -8
- package/lib/containers/action-form/custom-fields/add-cluster-info.d.ts +0 -5
- package/lib/containers/action-form/custom-fields/delete-attributes.d.ts +0 -5
- package/lib/containers/action-form/custom-fields/error-sampler.d.ts +0 -5
- package/lib/containers/action-form/custom-fields/index.d.ts +0 -7
- package/lib/containers/action-form/custom-fields/k8s-attributes.d.ts +0 -5
- package/lib/containers/action-form/custom-fields/latency-sampler.d.ts +0 -5
- package/lib/containers/action-form/custom-fields/pii-masking.d.ts +0 -5
- package/lib/containers/action-form/custom-fields/probabilistic-sampler.d.ts +0 -5
- package/lib/containers/action-form/custom-fields/rename-attributes.d.ts +0 -5
- package/lib/containers/action-form/custom-fields/service-name-sampler.d.ts +0 -5
- package/lib/containers/action-form/custom-fields/span-attribute-sampler.d.ts +0 -5
- package/lib/containers/action-form/custom-fields/url-templatization.d.ts +0 -5
- package/lib/containers/action-form/index.d.ts +0 -11
- package/lib/containers/action-modal/index.d.ts +0 -7
- package/lib/containers/action-table/build-spec-cell.d.ts +0 -3
- package/lib/containers/action-table/index.d.ts +0 -7
- package/lib/containers/await-pipeline/index.d.ts +0 -4
- package/lib/containers/data-flow/column/add.d.ts +0 -8
- package/lib/containers/data-flow/column/base.d.ts +0 -21
- package/lib/containers/data-flow/column/frame.d.ts +0 -10
- package/lib/containers/data-flow/column/head.d.ts +0 -15
- package/lib/containers/data-flow/column/index.d.ts +0 -13
- package/lib/containers/data-flow/column/namespace-divider.d.ts +0 -7
- package/lib/containers/data-flow/column/source-visual-state.d.ts +0 -9
- package/lib/containers/data-flow/index.d.ts +0 -12
- package/lib/containers/data-flow-actions-menu/add-entity/index.d.ts +0 -4
- package/lib/containers/data-flow-actions-menu/data-stream-select/index.d.ts +0 -9
- package/lib/containers/data-flow-actions-menu/filters/index.d.ts +0 -4
- package/lib/containers/data-flow-actions-menu/index.d.ts +0 -9
- package/lib/containers/data-flow-actions-menu/search/index.d.ts +0 -6
- package/lib/containers/data-flow-actions-menu/search/search-results/builder.d.ts +0 -25
- package/lib/containers/data-flow-actions-menu/search/search-results/index.d.ts +0 -6
- package/lib/containers/data-flow-actions-menu/styled.d.ts +0 -10
- package/lib/containers/data-stream-drawer/index.d.ts +0 -10
- package/lib/containers/data-stream-form/index.d.ts +0 -11
- package/lib/containers/data-stream-modal/index.d.ts +0 -7
- package/lib/containers/data-stream-selection-form/index.d.ts +0 -13
- package/lib/containers/destination-drawer/build-card.d.ts +0 -3
- package/lib/containers/destination-drawer/index.d.ts +0 -10
- package/lib/containers/destination-form/dynamic-fields/index.d.ts +0 -10
- package/lib/containers/destination-form/index.d.ts +0 -15
- package/lib/containers/destination-form/test-connection/index.d.ts +0 -12
- package/lib/containers/destination-modal/choose-destination/destinations-list/index.d.ts +0 -10
- package/lib/containers/destination-modal/choose-destination/index.d.ts +0 -11
- package/lib/containers/destination-modal/index.d.ts +0 -13
- package/lib/containers/destination-selection-form/destination-list/index.d.ts +0 -8
- package/lib/containers/destination-selection-form/index.d.ts +0 -12
- package/lib/containers/destination-table/index.d.ts +0 -9
- package/lib/containers/dropdowns/condition-dropdown/index.d.ts +0 -15
- package/lib/containers/dropdowns/error-dropdown/index.d.ts +0 -16
- package/lib/containers/dropdowns/index.d.ts +0 -7
- package/lib/containers/dropdowns/kind-dropdown/index.d.ts +0 -15
- package/lib/containers/dropdowns/language-dropdown/index.d.ts +0 -15
- package/lib/containers/dropdowns/monitor-dropdown/index.d.ts +0 -13
- package/lib/containers/dropdowns/namespace-dropdown/index.d.ts +0 -15
- package/lib/containers/dropdowns/pods-agent-injection-status-dropdown/index.d.ts +0 -16
- package/lib/containers/instrumentation-rule-drawer/build-card.d.ts +0 -3
- package/lib/containers/instrumentation-rule-drawer/index.d.ts +0 -8
- package/lib/containers/instrumentation-rule-form/custom-fields/code-attributes.d.ts +0 -5
- package/lib/containers/instrumentation-rule-form/custom-fields/custom-instrumentation.d.ts +0 -5
- package/lib/containers/instrumentation-rule-form/custom-fields/headers-collection.d.ts +0 -5
- package/lib/containers/instrumentation-rule-form/custom-fields/index.d.ts +0 -7
- package/lib/containers/instrumentation-rule-form/custom-fields/payload-collection.d.ts +0 -5
- package/lib/containers/instrumentation-rule-form/index.d.ts +0 -11
- package/lib/containers/instrumentation-rule-modal/index.d.ts +0 -7
- package/lib/containers/instrumentation-rule-table/build-spec-cell.d.ts +0 -3
- package/lib/containers/instrumentation-rule-table/index.d.ts +0 -7
- package/lib/containers/multi-source-control/index.d.ts +0 -10
- package/lib/containers/setup-summary/index.d.ts +0 -10
- package/lib/containers/side-nav/index.d.ts +0 -16
- package/lib/containers/slack-invite/index.d.ts +0 -4
- package/lib/containers/source-modal/index.d.ts +0 -8
- package/lib/containers/source-selection-form/index.d.ts +0 -16
- package/lib/containers/source-selection-form/source-list/index.d.ts +0 -8
- package/lib/containers/source-table/index.d.ts +0 -9
- package/lib/containers/system-overview/describe/index.d.ts +0 -11
- package/lib/containers/system-overview/index.d.ts +0 -7
- package/lib/containers/system-overview/tokens/expires-at.d.ts +0 -6
- package/lib/containers/system-overview/tokens/index.d.ts +0 -8
- package/lib/containers/system-overview/tokens/token-actions.d.ts +0 -7
- package/lib/containers/table-cell-conditions/index.d.ts +0 -8
- package/lib/containers/toggle-dark-mode/index.d.ts +0 -2
- package/lib/containers/trace-view/build-spans.d.ts +0 -2
- package/lib/containers/trace-view/index.d.ts +0 -9
- package/lib/containers/trace-view/span/index.d.ts +0 -38
- package/lib/containers/trace-view/span-drawer/build-details-card.d.ts +0 -3
- package/lib/containers/trace-view/span-drawer/build-logs-card.d.ts +0 -3
- package/lib/containers/trace-view/span-drawer/build-process-card.d.ts +0 -3
- package/lib/containers/trace-view/span-drawer/build-tags-card.d.ts +0 -3
- package/lib/containers/trace-view/span-drawer/index.d.ts +0 -9
- package/lib/snippets/edit-button/index.d.ts +0 -7
- package/lib/snippets/note-back-to-summary/index.d.ts +0 -6
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { type FC, type InputHTMLAttributes, type CSSProperties } from 'react';
|
|
2
|
-
import type { SVG } from '@/types';
|
|
3
|
-
interface Option {
|
|
4
|
-
type?: string;
|
|
5
|
-
label: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
icon?: SVG;
|
|
8
|
-
items?: Option[];
|
|
9
|
-
}
|
|
10
|
-
interface AutocompleteInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
11
|
-
options: Option[];
|
|
12
|
-
placeholder?: string;
|
|
13
|
-
selectedOption?: Option;
|
|
14
|
-
onOptionSelect?: (option?: Option) => void;
|
|
15
|
-
defaultText?: string;
|
|
16
|
-
onTextChange?: (text: string) => void;
|
|
17
|
-
style?: CSSProperties;
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
errorMessage?: string;
|
|
20
|
-
}
|
|
21
|
-
declare const AutocompleteInput: FC<AutocompleteInputProps>;
|
|
22
|
-
export { AutocompleteInput, type AutocompleteInputProps };
|
|
@@ -1,12 +0,0 @@
|
|
|
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,8 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import { type ButtonProps } from '../button';
|
|
3
|
-
interface DocsButtonProps {
|
|
4
|
-
endpoint?: string;
|
|
5
|
-
variant?: ButtonProps['variant'];
|
|
6
|
-
}
|
|
7
|
-
declare const DocsButton: FC<DocsButtonProps>;
|
|
8
|
-
export { DocsButton, type DocsButtonProps };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import type { SVG } from '@/types';
|
|
3
|
-
interface IconTitleBadgeProps {
|
|
4
|
-
icon?: SVG;
|
|
5
|
-
title: string;
|
|
6
|
-
badge?: string | number;
|
|
7
|
-
badgeTooltip?: string;
|
|
8
|
-
loading?: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const IconTitleBadge: FC<IconTitleBadgeProps>;
|
|
11
|
-
export { IconTitleBadge, type IconTitleBadgeProps };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import type { SVG } from '@/types';
|
|
3
|
-
interface NavIcon {
|
|
4
|
-
id: string;
|
|
5
|
-
icon: SVG | FC;
|
|
6
|
-
selected: boolean;
|
|
7
|
-
onClick: () => void;
|
|
8
|
-
tooltip?: string;
|
|
9
|
-
}
|
|
10
|
-
interface IconsNavProps {
|
|
11
|
-
orientation?: 'horizontal' | 'vertical';
|
|
12
|
-
flip?: boolean;
|
|
13
|
-
mainIcons: NavIcon[];
|
|
14
|
-
subIcons: NavIcon[];
|
|
15
|
-
}
|
|
16
|
-
declare const IconsNav: FC<IconsNavProps>;
|
|
17
|
-
export { IconsNav, type IconsNavProps, type NavIcon };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
type Row = string;
|
|
3
|
-
interface InputListProps {
|
|
4
|
-
initialValues?: Row[];
|
|
5
|
-
value?: Row[];
|
|
6
|
-
onChange: (values: Row[]) => void;
|
|
7
|
-
title?: string;
|
|
8
|
-
tooltip?: string;
|
|
9
|
-
required?: boolean;
|
|
10
|
-
errorMessage?: string;
|
|
11
|
-
}
|
|
12
|
-
declare const InputList: FC<InputListProps>;
|
|
13
|
-
export { InputList, type InputListProps };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import type { Column, Row } from './types';
|
|
3
|
-
interface InputTableProps {
|
|
4
|
-
columns: Column[];
|
|
5
|
-
initialValues?: Row[];
|
|
6
|
-
value?: Row[];
|
|
7
|
-
onChange?: (values: Row[]) => void;
|
|
8
|
-
errorMessage?: string;
|
|
9
|
-
limitFieldsPerRow?: number;
|
|
10
|
-
title?: string;
|
|
11
|
-
}
|
|
12
|
-
declare const InputTable: FC<InputTableProps>;
|
|
13
|
-
export { InputTable, type InputTableProps };
|
|
@@ -1,15 +0,0 @@
|
|
|
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 | string[], idx: number) => void;
|
|
11
|
-
errorMessage?: string;
|
|
12
|
-
limitFieldsPerRow?: number;
|
|
13
|
-
}
|
|
14
|
-
declare const ColumnsToFields: FC<ColumnsToFieldsProps>;
|
|
15
|
-
export { ColumnsToFields, type ColumnsToFieldsProps };
|
|
@@ -1,15 +0,0 @@
|
|
|
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' | 'multi-dropdown';
|
|
13
|
-
options?: DropdownOption[];
|
|
14
|
-
renderCondition?: (row: Row) => boolean;
|
|
15
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { type ReactNode, type FC, CSSProperties } from 'react';
|
|
2
|
-
import { StatusType, type SVG } from '@/types';
|
|
3
|
-
interface ColumnCell {
|
|
4
|
-
key: string;
|
|
5
|
-
title: string;
|
|
6
|
-
sortable?: boolean;
|
|
7
|
-
}
|
|
8
|
-
interface RowCell {
|
|
9
|
-
columnKey: string;
|
|
10
|
-
icon?: SVG;
|
|
11
|
-
component?: () => ReactNode;
|
|
12
|
-
value?: string | number | boolean;
|
|
13
|
-
textColor?: CSSProperties['color'];
|
|
14
|
-
withTooltip?: boolean;
|
|
15
|
-
}
|
|
16
|
-
interface Row {
|
|
17
|
-
status?: StatusType;
|
|
18
|
-
faded?: boolean;
|
|
19
|
-
onClick?: () => void;
|
|
20
|
-
cells: RowCell[];
|
|
21
|
-
}
|
|
22
|
-
interface InteractiveTableProps {
|
|
23
|
-
columns: ColumnCell[];
|
|
24
|
-
rows: Row[];
|
|
25
|
-
}
|
|
26
|
-
declare const InteractiveTable: FC<InteractiveTableProps>;
|
|
27
|
-
export { InteractiveTable, type InteractiveTableProps, type ColumnCell, type RowCell, type Row };
|
|
@@ -1,13 +0,0 @@
|
|
|
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 };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
type Row = {
|
|
3
|
-
key: string;
|
|
4
|
-
value: string;
|
|
5
|
-
};
|
|
6
|
-
interface KeyValueInputsListProps {
|
|
7
|
-
initialKeyValuePairs?: Row[];
|
|
8
|
-
value?: Row[];
|
|
9
|
-
onChange?: (validKeyValuePairs: Row[]) => void;
|
|
10
|
-
title?: string;
|
|
11
|
-
tooltip?: string;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
required?: boolean;
|
|
14
|
-
errorMessage?: string;
|
|
15
|
-
keyPlaceholder?: string;
|
|
16
|
-
valuePlaceholder?: string;
|
|
17
|
-
inputMaxWidth?: number;
|
|
18
|
-
}
|
|
19
|
-
declare const KeyValueInputsList: FC<KeyValueInputsListProps>;
|
|
20
|
-
export { KeyValueInputsList, type KeyValueInputsListProps };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import { SignalType } from '@/types';
|
|
3
|
-
interface MonitorsCheckboxesProps {
|
|
4
|
-
isVertical?: boolean;
|
|
5
|
-
title?: string;
|
|
6
|
-
required?: boolean;
|
|
7
|
-
errorMessage?: string;
|
|
8
|
-
allowedSignals?: SignalType[];
|
|
9
|
-
selectedSignals: SignalType[];
|
|
10
|
-
setSelectedSignals: (value: SignalType[]) => void;
|
|
11
|
-
}
|
|
12
|
-
declare const MonitorsCheckboxes: FC<MonitorsCheckboxesProps>;
|
|
13
|
-
export { MonitorsCheckboxes, type MonitorsCheckboxesProps };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import type { SVG } from '@/types';
|
|
3
|
-
interface IButton {
|
|
4
|
-
label: string;
|
|
5
|
-
icon?: SVG;
|
|
6
|
-
iconSrc?: string;
|
|
7
|
-
tooltip?: string;
|
|
8
|
-
onClick: () => void;
|
|
9
|
-
variant?: 'primary' | 'secondary';
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
}
|
|
12
|
-
interface NavigationButtonsProps {
|
|
13
|
-
buttons: IButton[];
|
|
14
|
-
}
|
|
15
|
-
declare const NavigationButtons: FC<NavigationButtonsProps>;
|
|
16
|
-
export { NavigationButtons, type NavigationButtonsProps };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type ReactNode, type FC } from 'react';
|
|
2
|
-
import type { SVG } from '@/types';
|
|
3
|
-
interface SectionTitleProps {
|
|
4
|
-
title: string;
|
|
5
|
-
description: string;
|
|
6
|
-
badgeLabel?: string | number;
|
|
7
|
-
icon?: SVG;
|
|
8
|
-
actionButton?: ReactNode;
|
|
9
|
-
size?: 'small' | 'medium' | 'large';
|
|
10
|
-
}
|
|
11
|
-
declare const SectionTitle: FC<SectionTitleProps>;
|
|
12
|
-
export { SectionTitle, type SectionTitleProps };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { type CSSProperties, type FC } from 'react';
|
|
2
|
-
import type { SVG } from '@/types';
|
|
3
|
-
type SelectedValue = any;
|
|
4
|
-
type Option = {
|
|
5
|
-
icon?: SVG;
|
|
6
|
-
label?: string;
|
|
7
|
-
value: SelectedValue;
|
|
8
|
-
selectedBgColor?: CSSProperties['backgroundColor'];
|
|
9
|
-
selectedTextColor?: CSSProperties['color'];
|
|
10
|
-
};
|
|
11
|
-
interface SegmentProps {
|
|
12
|
-
options: Option[];
|
|
13
|
-
selected: SelectedValue;
|
|
14
|
-
setSelected: (value: SelectedValue) => void;
|
|
15
|
-
}
|
|
16
|
-
declare const Segment: FC<SegmentProps>;
|
|
17
|
-
export { Segment, type SegmentProps };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { SVG } from '@/types';
|
|
3
|
-
interface SelectionButtonProps {
|
|
4
|
-
label: string;
|
|
5
|
-
onClick: () => void;
|
|
6
|
-
icon?: SVG;
|
|
7
|
-
iconSrc?: string;
|
|
8
|
-
badgeLabel?: string | number;
|
|
9
|
-
badgeFilled?: boolean;
|
|
10
|
-
isSelected?: boolean;
|
|
11
|
-
withBorder?: boolean;
|
|
12
|
-
color?: React.CSSProperties['backgroundColor'];
|
|
13
|
-
hoverColor?: React.CSSProperties['backgroundColor'];
|
|
14
|
-
style?: React.CSSProperties;
|
|
15
|
-
}
|
|
16
|
-
declare const SelectionButton: ({ label, onClick, icon: Icon, iconSrc, badgeLabel, badgeFilled, isSelected, withBorder, color, hoverColor, style }: SelectionButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export { SelectionButton, type SelectionButtonProps };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import { TextProps } from '../text';
|
|
3
|
-
import { type SVG, StatusType } from '@/types';
|
|
4
|
-
interface TagProps extends TextProps {
|
|
5
|
-
type?: StatusType;
|
|
6
|
-
icon?: SVG;
|
|
7
|
-
}
|
|
8
|
-
declare const Tag: FC<TagProps>;
|
|
9
|
-
export { Tag, type TagProps };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type FC, type TextareaHTMLAttributes } from 'react';
|
|
2
|
-
interface TextAreaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
3
|
-
errorMessage?: string;
|
|
4
|
-
title?: string;
|
|
5
|
-
tooltip?: string;
|
|
6
|
-
}
|
|
7
|
-
declare const TextArea: FC<TextAreaProps>;
|
|
8
|
-
export { TextArea, type TextAreaProps };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
interface ToggleProps {
|
|
3
|
-
title?: string;
|
|
4
|
-
tooltip?: string;
|
|
5
|
-
initialValue?: boolean;
|
|
6
|
-
onChange?: (value: boolean) => void;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
allowPropagation?: boolean;
|
|
9
|
-
flipHorizontally?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const Toggle: FC<ToggleProps>;
|
|
12
|
-
export { Toggle, type ToggleProps };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import { ActionType, type ActionFormData } from '@/types';
|
|
3
|
-
interface ActionDrawerProps {
|
|
4
|
-
updateAction: (id: string, action: ActionFormData) => void;
|
|
5
|
-
deleteAction: (id: string, actionType: ActionType) => void;
|
|
6
|
-
}
|
|
7
|
-
declare const ActionDrawer: FC<ActionDrawerProps>;
|
|
8
|
-
export { ActionDrawer, type ActionDrawerProps };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import { type ActionFormData, type CustomFieldProps } from '@/types';
|
|
3
|
-
type AddClusterInfoProps = CustomFieldProps<ActionFormData['fields']>;
|
|
4
|
-
declare const AddClusterInfo: FC<AddClusterInfoProps>;
|
|
5
|
-
export { AddClusterInfo, type AddClusterInfoProps };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import { type ActionFormData, type CustomFieldProps } from '@/types';
|
|
3
|
-
type DeleteAttributesProps = CustomFieldProps<ActionFormData['fields']>;
|
|
4
|
-
declare const DeleteAttributes: FC<DeleteAttributesProps>;
|
|
5
|
-
export { DeleteAttributes, type DeleteAttributesProps };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import { type ActionFormData, type CustomFieldProps } from '@/types';
|
|
3
|
-
type ErrorSamplerProps = CustomFieldProps<ActionFormData['fields']>;
|
|
4
|
-
declare const ErrorSampler: FC<ErrorSamplerProps>;
|
|
5
|
-
export { ErrorSampler, type ErrorSamplerProps };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ActionType, type ActionFormData, type CustomFieldProps } from '@/types';
|
|
3
|
-
interface CustomFieldsProps extends CustomFieldProps<ActionFormData['fields']> {
|
|
4
|
-
actionType?: ActionType;
|
|
5
|
-
}
|
|
6
|
-
declare const CustomFields: React.FC<CustomFieldsProps>;
|
|
7
|
-
export { CustomFields, type CustomFieldsProps };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import { type ActionFormData, type CustomFieldProps } from '@/types';
|
|
3
|
-
type K8sAttributesProps = CustomFieldProps<ActionFormData['fields']>;
|
|
4
|
-
declare const K8sAttributes: FC<K8sAttributesProps>;
|
|
5
|
-
export { K8sAttributes, type K8sAttributesProps };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import { type ActionFormData, type CustomFieldProps } from '@/types';
|
|
3
|
-
type LatencySamplerProps = CustomFieldProps<ActionFormData['fields']>;
|
|
4
|
-
declare const LatencySampler: FC<LatencySamplerProps>;
|
|
5
|
-
export { LatencySampler, type LatencySamplerProps };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import { type ActionFormData, type CustomFieldProps } from '@/types';
|
|
3
|
-
type ProbabilisticSamplerProps = CustomFieldProps<ActionFormData['fields']>;
|
|
4
|
-
declare const ProbabilisticSampler: FC<ProbabilisticSamplerProps>;
|
|
5
|
-
export { ProbabilisticSampler, type ProbabilisticSamplerProps };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import { type ActionFormData, type CustomFieldProps } from '@/types';
|
|
3
|
-
type RenameAttributesProps = CustomFieldProps<ActionFormData['fields']>;
|
|
4
|
-
declare const RenameAttributes: FC<RenameAttributesProps>;
|
|
5
|
-
export { RenameAttributes, type RenameAttributesProps };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import { type ActionFormData, type CustomFieldProps } from '@/types';
|
|
3
|
-
type ServiceNameSamplerProps = CustomFieldProps<ActionFormData['fields']>;
|
|
4
|
-
declare const ServiceNameSampler: FC<ServiceNameSamplerProps>;
|
|
5
|
-
export { ServiceNameSampler, type ServiceNameSamplerProps };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import { type ActionFormData, type CustomFieldProps } from '@/types';
|
|
3
|
-
type SpanAttributeSamplerProps = CustomFieldProps<ActionFormData['fields']>;
|
|
4
|
-
declare const SpanAttributeSampler: FC<SpanAttributeSamplerProps>;
|
|
5
|
-
export { SpanAttributeSampler, type SpanAttributeSamplerProps };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import { type ActionFormData, type CustomFieldProps } from '@/types';
|
|
3
|
-
type UrlTemplatizationProps = CustomFieldProps<ActionFormData['fields']>;
|
|
4
|
-
declare const UrlTemplatization: FC<UrlTemplatizationProps>;
|
|
5
|
-
export { UrlTemplatization, type UrlTemplatizationProps };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import type { ActionOption, ActionFormData } from '@/types';
|
|
3
|
-
interface ActionFormProps {
|
|
4
|
-
isUpdate?: boolean;
|
|
5
|
-
action: ActionOption;
|
|
6
|
-
formData: ActionFormData;
|
|
7
|
-
formErrors: Record<string, string>;
|
|
8
|
-
handleFormChange: (key: keyof ActionFormData, val: any) => void;
|
|
9
|
-
}
|
|
10
|
-
declare const ActionForm: FC<ActionFormProps>;
|
|
11
|
-
export { ActionForm, type ActionFormProps };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type CSSProperties, type FC } from 'react';
|
|
2
|
-
interface ActionTableProps {
|
|
3
|
-
maxHeight?: CSSProperties['maxHeight'];
|
|
4
|
-
maxWidth?: CSSProperties['maxWidth'];
|
|
5
|
-
}
|
|
6
|
-
declare const ActionTable: FC<ActionTableProps>;
|
|
7
|
-
export { ActionTable, type ActionTableProps };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { type Action, type Destination, EntityTypes, type InstrumentationRule, StatusType, SignalType, type Source, type SVG, type WorkloadId } from '@/types';
|
|
3
|
-
interface BaseProps {
|
|
4
|
-
entityId: string | WorkloadId;
|
|
5
|
-
entityType: EntityTypes;
|
|
6
|
-
status?: StatusType;
|
|
7
|
-
faded?: boolean;
|
|
8
|
-
title: string;
|
|
9
|
-
subTitle: string;
|
|
10
|
-
tooltip?: string;
|
|
11
|
-
label?: string;
|
|
12
|
-
icon?: SVG;
|
|
13
|
-
icons?: SVG[];
|
|
14
|
-
iconSrc?: string;
|
|
15
|
-
iconSrcs?: string[];
|
|
16
|
-
monitors?: SignalType[] | null;
|
|
17
|
-
isActive?: boolean;
|
|
18
|
-
raw: Source | Destination | Action | InstrumentationRule;
|
|
19
|
-
}
|
|
20
|
-
declare const Base: FC<BaseProps>;
|
|
21
|
-
export { Base, type BaseProps };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import { type Action, type Destination, EntityTypes, type InstrumentationRule, type Source, type Metrics } from '@/types';
|
|
3
|
-
interface FrameProps {
|
|
4
|
-
height: number;
|
|
5
|
-
entityType: EntityTypes;
|
|
6
|
-
entities: Source[] | Destination[] | Action[] | InstrumentationRule[];
|
|
7
|
-
metrics?: Metrics;
|
|
8
|
-
}
|
|
9
|
-
declare const Frame: FC<FrameProps>;
|
|
10
|
-
export { Frame, type FrameProps };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import { EntityTypes } from '@/types';
|
|
3
|
-
interface HeadProps {
|
|
4
|
-
entityType: EntityTypes;
|
|
5
|
-
badge: string | number;
|
|
6
|
-
badgeTooltip?: string;
|
|
7
|
-
isLoading?: boolean;
|
|
8
|
-
refetch: () => void;
|
|
9
|
-
partiallySelected?: boolean;
|
|
10
|
-
allSelected?: boolean;
|
|
11
|
-
onSelectAll?: (bool: boolean) => void;
|
|
12
|
-
progressPercent?: number;
|
|
13
|
-
}
|
|
14
|
-
declare const Head: FC<HeadProps>;
|
|
15
|
-
export { Head, type HeadProps };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import { type Action, type Destination, EntityTypes, type InstrumentationRule, type Source, type Metrics } from '@/types';
|
|
3
|
-
interface ColumnProps {
|
|
4
|
-
entityType: EntityTypes;
|
|
5
|
-
entities: Source[] | Destination[] | Action[] | InstrumentationRule[];
|
|
6
|
-
unfilteredCount: number;
|
|
7
|
-
metrics?: Metrics;
|
|
8
|
-
loading: boolean;
|
|
9
|
-
maxHeight: number;
|
|
10
|
-
refetch: () => void;
|
|
11
|
-
}
|
|
12
|
-
declare const Column: FC<ColumnProps>;
|
|
13
|
-
export { Column, type ColumnProps };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type Source, StatusType } from '@/types';
|
|
2
|
-
interface SourceVisualState {
|
|
3
|
-
status?: StatusType;
|
|
4
|
-
faded: boolean;
|
|
5
|
-
tooltip?: string;
|
|
6
|
-
displaySource: Source;
|
|
7
|
-
}
|
|
8
|
-
export declare function getSourceVisualState(source: Source): SourceVisualState;
|
|
9
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React, { CSSProperties } from 'react';
|
|
2
|
-
import { type Metrics } from '@/types';
|
|
3
|
-
interface DataFlowProps {
|
|
4
|
-
height: CSSProperties['height'];
|
|
5
|
-
metrics: Metrics;
|
|
6
|
-
refetchSources: () => void;
|
|
7
|
-
refetchDestinations: () => void;
|
|
8
|
-
refetchActions: () => void;
|
|
9
|
-
refetchInstrumentationRules: () => void;
|
|
10
|
-
}
|
|
11
|
-
declare const DataFlow: React.FC<DataFlowProps>;
|
|
12
|
-
export { DataFlow, type DataFlowProps };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import type { DataStream } from '@/types';
|
|
3
|
-
interface DataStreamSelectProps {
|
|
4
|
-
onClickNewDataStream: () => void;
|
|
5
|
-
updateDataStream: (dataStreamName: string, dataStream: DataStream) => void;
|
|
6
|
-
deleteDataStream: (dataStreamName: string) => void;
|
|
7
|
-
}
|
|
8
|
-
declare const DataStreamSelect: FC<DataStreamSelectProps>;
|
|
9
|
-
export { DataStreamSelect, type DataStreamSelectProps };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { EntityTypes } from '@/types';
|
|
3
|
-
import { DataStreamSelectProps } from './data-stream-select';
|
|
4
|
-
interface DataFlowActionsMenuProps extends DataStreamSelectProps {
|
|
5
|
-
addEntity?: EntityTypes;
|
|
6
|
-
preventSearchPopup?: boolean;
|
|
7
|
-
}
|
|
8
|
-
declare const DataFlowActionsMenu: React.FC<DataFlowActionsMenuProps>;
|
|
9
|
-
export { DataFlowActionsMenu, type DataFlowActionsMenuProps };
|