@odigos/ui-kit 0.0.236 → 0.0.238

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.
Files changed (152) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/lib/chunks/index-CCaTS6aq.js +145 -0
  3. package/lib/chunks/{index-CmhFl_vY.js → index-ChkHWnzu.js} +4 -4
  4. package/lib/chunks/{index-zIhroDGj.js → index-D6SlbWIi.js} +1 -1
  5. package/lib/chunks/ui-components-rpRyPe3l.js +2235 -0
  6. package/lib/components/data-card/data-card-fields/index.d.ts +0 -1
  7. package/lib/components/index.d.ts +0 -20
  8. package/lib/components/v2.js +1 -1
  9. package/lib/components.js +1 -1
  10. package/lib/constants/sampling/index.d.ts +5 -6
  11. package/lib/constants.js +1 -1
  12. package/lib/containers/_v2/overview/search/builder.d.ts +1 -1
  13. package/lib/containers/_v2/sampling-rules/converters.d.ts +2 -0
  14. package/lib/containers/index.d.ts +0 -32
  15. package/lib/containers/v2.js +96 -96
  16. package/lib/containers.js +19 -556
  17. package/lib/contexts.js +1 -1
  18. package/lib/functions/decimals-only/index.d.ts +1 -0
  19. package/lib/functions/index.d.ts +1 -0
  20. package/lib/functions.js +1 -1
  21. package/lib/hooks/useActionFormData.d.ts +1 -1
  22. package/lib/hooks.js +1 -1
  23. package/lib/snippets/_v2/sampling-rule-form-sections/percentage.d.ts +1 -1
  24. package/lib/snippets/_v2/sampling-rule-form-sections/preset-with-custom-input.d.ts +5 -2
  25. package/lib/snippets/index.d.ts +0 -2
  26. package/lib/snippets/v2.js +1 -1
  27. package/lib/snippets.js +1 -1
  28. package/lib/store.js +1 -1
  29. package/lib/theme.js +1 -1
  30. package/lib/types/common/index.d.ts +2 -1
  31. package/lib/types.js +1 -1
  32. package/lib/visuals.js +1 -1
  33. package/package.json +1 -1
  34. package/lib/chunks/index-Cm0_bD--.js +0 -145
  35. package/lib/chunks/ui-components-DHsbbgZi.js +0 -2708
  36. package/lib/components/auto-complete-input/index.d.ts +0 -22
  37. package/lib/components/data-finger/index.d.ts +0 -12
  38. package/lib/components/docs-button/index.d.ts +0 -8
  39. package/lib/components/header/index.d.ts +0 -8
  40. package/lib/components/icon-title-badge/index.d.ts +0 -11
  41. package/lib/components/icons-nav/index.d.ts +0 -17
  42. package/lib/components/input-list/index.d.ts +0 -13
  43. package/lib/components/input-table/index.d.ts +0 -13
  44. package/lib/components/input-table/map-columns-to-fields/index.d.ts +0 -15
  45. package/lib/components/input-table/types.d.ts +0 -15
  46. package/lib/components/interactive-table/index.d.ts +0 -27
  47. package/lib/components/interactive-table/table-row.d.ts +0 -13
  48. package/lib/components/key-value-input-list/index.d.ts +0 -20
  49. package/lib/components/monitors-checkboxes/index.d.ts +0 -13
  50. package/lib/components/navigation-buttons/index.d.ts +0 -16
  51. package/lib/components/section-title/index.d.ts +0 -12
  52. package/lib/components/segment/index.d.ts +0 -17
  53. package/lib/components/selection-button/index.d.ts +0 -17
  54. package/lib/components/stepper/index.d.ts +0 -11
  55. package/lib/components/tag/index.d.ts +0 -9
  56. package/lib/components/textarea/index.d.ts +0 -8
  57. package/lib/components/toggle/index.d.ts +0 -12
  58. package/lib/components/trace-loader/index.d.ts +0 -6
  59. package/lib/containers/action-drawer/build-card.d.ts +0 -3
  60. package/lib/containers/action-drawer/index.d.ts +0 -8
  61. package/lib/containers/action-form/custom-fields/add-cluster-info.d.ts +0 -5
  62. package/lib/containers/action-form/custom-fields/delete-attributes.d.ts +0 -5
  63. package/lib/containers/action-form/custom-fields/error-sampler.d.ts +0 -5
  64. package/lib/containers/action-form/custom-fields/index.d.ts +0 -7
  65. package/lib/containers/action-form/custom-fields/k8s-attributes.d.ts +0 -5
  66. package/lib/containers/action-form/custom-fields/latency-sampler.d.ts +0 -5
  67. package/lib/containers/action-form/custom-fields/pii-masking.d.ts +0 -5
  68. package/lib/containers/action-form/custom-fields/probabilistic-sampler.d.ts +0 -5
  69. package/lib/containers/action-form/custom-fields/rename-attributes.d.ts +0 -5
  70. package/lib/containers/action-form/custom-fields/service-name-sampler.d.ts +0 -5
  71. package/lib/containers/action-form/custom-fields/span-attribute-sampler.d.ts +0 -5
  72. package/lib/containers/action-form/custom-fields/url-templatization.d.ts +0 -5
  73. package/lib/containers/action-form/index.d.ts +0 -11
  74. package/lib/containers/action-modal/index.d.ts +0 -7
  75. package/lib/containers/action-table/build-spec-cell.d.ts +0 -3
  76. package/lib/containers/action-table/index.d.ts +0 -7
  77. package/lib/containers/await-pipeline/index.d.ts +0 -4
  78. package/lib/containers/data-flow/column/add.d.ts +0 -8
  79. package/lib/containers/data-flow/column/base.d.ts +0 -21
  80. package/lib/containers/data-flow/column/frame.d.ts +0 -10
  81. package/lib/containers/data-flow/column/head.d.ts +0 -15
  82. package/lib/containers/data-flow/column/index.d.ts +0 -13
  83. package/lib/containers/data-flow/column/namespace-divider.d.ts +0 -7
  84. package/lib/containers/data-flow/column/source-visual-state.d.ts +0 -9
  85. package/lib/containers/data-flow/index.d.ts +0 -12
  86. package/lib/containers/data-flow-actions-menu/add-entity/index.d.ts +0 -4
  87. package/lib/containers/data-flow-actions-menu/data-stream-select/index.d.ts +0 -9
  88. package/lib/containers/data-flow-actions-menu/filters/index.d.ts +0 -4
  89. package/lib/containers/data-flow-actions-menu/index.d.ts +0 -9
  90. package/lib/containers/data-flow-actions-menu/search/index.d.ts +0 -6
  91. package/lib/containers/data-flow-actions-menu/search/search-results/builder.d.ts +0 -25
  92. package/lib/containers/data-flow-actions-menu/search/search-results/index.d.ts +0 -6
  93. package/lib/containers/data-flow-actions-menu/styled.d.ts +0 -10
  94. package/lib/containers/data-stream-drawer/index.d.ts +0 -10
  95. package/lib/containers/data-stream-form/index.d.ts +0 -11
  96. package/lib/containers/data-stream-modal/index.d.ts +0 -7
  97. package/lib/containers/data-stream-selection-form/index.d.ts +0 -13
  98. package/lib/containers/destination-drawer/build-card.d.ts +0 -3
  99. package/lib/containers/destination-drawer/index.d.ts +0 -10
  100. package/lib/containers/destination-form/dynamic-fields/index.d.ts +0 -10
  101. package/lib/containers/destination-form/index.d.ts +0 -15
  102. package/lib/containers/destination-form/test-connection/index.d.ts +0 -12
  103. package/lib/containers/destination-modal/choose-destination/destinations-list/index.d.ts +0 -10
  104. package/lib/containers/destination-modal/choose-destination/index.d.ts +0 -11
  105. package/lib/containers/destination-modal/index.d.ts +0 -13
  106. package/lib/containers/destination-selection-form/destination-list/index.d.ts +0 -8
  107. package/lib/containers/destination-selection-form/index.d.ts +0 -12
  108. package/lib/containers/destination-table/index.d.ts +0 -9
  109. package/lib/containers/dropdowns/condition-dropdown/index.d.ts +0 -15
  110. package/lib/containers/dropdowns/error-dropdown/index.d.ts +0 -16
  111. package/lib/containers/dropdowns/index.d.ts +0 -7
  112. package/lib/containers/dropdowns/kind-dropdown/index.d.ts +0 -15
  113. package/lib/containers/dropdowns/language-dropdown/index.d.ts +0 -15
  114. package/lib/containers/dropdowns/monitor-dropdown/index.d.ts +0 -13
  115. package/lib/containers/dropdowns/namespace-dropdown/index.d.ts +0 -15
  116. package/lib/containers/dropdowns/pods-agent-injection-status-dropdown/index.d.ts +0 -16
  117. package/lib/containers/instrumentation-rule-drawer/build-card.d.ts +0 -3
  118. package/lib/containers/instrumentation-rule-drawer/index.d.ts +0 -8
  119. package/lib/containers/instrumentation-rule-form/custom-fields/code-attributes.d.ts +0 -5
  120. package/lib/containers/instrumentation-rule-form/custom-fields/custom-instrumentation.d.ts +0 -5
  121. package/lib/containers/instrumentation-rule-form/custom-fields/headers-collection.d.ts +0 -5
  122. package/lib/containers/instrumentation-rule-form/custom-fields/index.d.ts +0 -7
  123. package/lib/containers/instrumentation-rule-form/custom-fields/payload-collection.d.ts +0 -5
  124. package/lib/containers/instrumentation-rule-form/index.d.ts +0 -11
  125. package/lib/containers/instrumentation-rule-modal/index.d.ts +0 -7
  126. package/lib/containers/instrumentation-rule-table/build-spec-cell.d.ts +0 -3
  127. package/lib/containers/instrumentation-rule-table/index.d.ts +0 -7
  128. package/lib/containers/multi-source-control/index.d.ts +0 -10
  129. package/lib/containers/setup-summary/index.d.ts +0 -10
  130. package/lib/containers/side-nav/index.d.ts +0 -16
  131. package/lib/containers/slack-invite/index.d.ts +0 -4
  132. package/lib/containers/source-modal/index.d.ts +0 -8
  133. package/lib/containers/source-selection-form/index.d.ts +0 -16
  134. package/lib/containers/source-selection-form/source-list/index.d.ts +0 -8
  135. package/lib/containers/source-table/index.d.ts +0 -9
  136. package/lib/containers/system-overview/describe/index.d.ts +0 -11
  137. package/lib/containers/system-overview/index.d.ts +0 -7
  138. package/lib/containers/system-overview/tokens/expires-at.d.ts +0 -6
  139. package/lib/containers/system-overview/tokens/index.d.ts +0 -8
  140. package/lib/containers/system-overview/tokens/token-actions.d.ts +0 -7
  141. package/lib/containers/table-cell-conditions/index.d.ts +0 -8
  142. package/lib/containers/toggle-dark-mode/index.d.ts +0 -2
  143. package/lib/containers/trace-view/build-spans.d.ts +0 -2
  144. package/lib/containers/trace-view/index.d.ts +0 -9
  145. package/lib/containers/trace-view/span/index.d.ts +0 -38
  146. package/lib/containers/trace-view/span-drawer/build-details-card.d.ts +0 -3
  147. package/lib/containers/trace-view/span-drawer/build-logs-card.d.ts +0 -3
  148. package/lib/containers/trace-view/span-drawer/build-process-card.d.ts +0 -3
  149. package/lib/containers/trace-view/span-drawer/build-tags-card.d.ts +0 -3
  150. package/lib/containers/trace-view/span-drawer/index.d.ts +0 -9
  151. package/lib/snippets/edit-button/index.d.ts +0 -7
  152. package/lib/snippets/note-back-to-summary/index.d.ts +0 -6
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- interface SearchProps {
3
- preventPopup?: boolean;
4
- }
5
- export declare const Search: React.FC<SearchProps>;
6
- export {};
@@ -1,25 +0,0 @@
1
- import { type Action, type Destination, EntityTypes, type InstrumentationRule, type Source } from '@/types';
2
- export type Category = 'all' | EntityTypes;
3
- interface Params {
4
- searchText: string;
5
- selectedCategory: Category;
6
- sources: Source[];
7
- destinations: Destination[];
8
- actions: Action[];
9
- instrumentationRules: InstrumentationRule[];
10
- }
11
- export declare const buildSearchResults: ({ instrumentationRules, sources, actions, destinations, searchText, selectedCategory }: Params) => {
12
- categories: {
13
- category: Category;
14
- label: string;
15
- count: number;
16
- entities: InstrumentationRule[] | Source[] | Action[] | Destination[];
17
- }[];
18
- searchResults: {
19
- entities: Action[] | Destination[] | Source[] | InstrumentationRule[];
20
- category: Category;
21
- label: string;
22
- count: number;
23
- }[];
24
- };
25
- export {};
@@ -1,6 +0,0 @@
1
- import { type FC } from 'react';
2
- interface Props {
3
- onClose: () => void;
4
- }
5
- export declare const SearchResults: FC<Props>;
6
- export {};
@@ -1,10 +0,0 @@
1
- import { type CSSProperties, type HTMLAttributes, type RefAttributes } from 'react';
2
- import { type IStyledComponent } from 'styled-components';
3
- type DivProps<P = object> = P & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>;
4
- export declare const RelativeContainer: IStyledComponent<'web', DivProps>;
5
- interface AbsoluteContainerProps {
6
- $hidden?: boolean;
7
- $padding?: CSSProperties['padding'];
8
- }
9
- export declare const AbsoluteContainer: IStyledComponent<'web', DivProps<AbsoluteContainerProps>>;
10
- export {};
@@ -1,10 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type DataStream } from '@/types';
3
- interface DataStreamDrawerProps {
4
- isOpen: boolean;
5
- onClose: () => void;
6
- dataStreamName: string;
7
- updateDataStream: (dataStreamName: string, dataStream: DataStream) => void;
8
- }
9
- declare const DataStreamDrawer: FC<DataStreamDrawerProps>;
10
- export { DataStreamDrawer, type DataStreamDrawerProps };
@@ -1,11 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type DataStream } from '@/types';
3
- interface DataStreamFormProps {
4
- formData: DataStream;
5
- handleFormChange: (key: keyof DataStream, val: any) => void;
6
- formErrors: Partial<Record<'name', string>>;
7
- /** The original name of the stream being edited (used to exclude self from duplicate check) */
8
- editingStreamName?: string;
9
- }
10
- declare const DataStreamForm: FC<DataStreamFormProps>;
11
- export { DataStreamForm, type DataStreamFormProps };
@@ -1,7 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type DataStream } from '@/types';
3
- type DataStreamModalProps = {
4
- createDataStream?: (dataStream: DataStream) => void;
5
- };
6
- declare const DataStreamModal: FC<DataStreamModalProps>;
7
- export { DataStreamModal, type DataStreamModalProps };
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- interface DataStreamSelectionFormProps {
3
- isModal?: boolean;
4
- onClickSummary?: () => void;
5
- }
6
- interface DataStreamSelectionFormRef {
7
- validateForm: () => boolean;
8
- getFormValues: () => {
9
- name: string;
10
- };
11
- }
12
- declare const DataStreamSelectionForm: React.ForwardRefExoticComponent<DataStreamSelectionFormProps & React.RefAttributes<DataStreamSelectionFormRef>>;
13
- export { DataStreamSelectionForm, type DataStreamSelectionFormProps, type DataStreamSelectionFormRef };
@@ -1,3 +0,0 @@
1
- import { type Destination, type DestinationYamlProperties } from '@/types';
2
- declare const buildCard: (destination: Destination, yamlFields: DestinationYamlProperties[]) => import("../../components/data-card/data-card-fields").DataCardField[];
3
- export { buildCard };
@@ -1,10 +0,0 @@
1
- import { type FC } from 'react';
2
- import { TestConnectionFunc, type DestinationCategories, type DestinationFormData } from '@/types';
3
- interface DestinationDrawerProps {
4
- categories: DestinationCategories;
5
- updateDestination: (id: string, destination: DestinationFormData) => void;
6
- deleteDestination: (id: string) => void;
7
- testConnection: TestConnectionFunc;
8
- }
9
- declare const DestinationDrawer: FC<DestinationDrawerProps>;
10
- export { DestinationDrawer, type DestinationDrawerProps };
@@ -1,10 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type DestinationDynamicField, SignalType } from '@/types';
3
- interface DynamicFieldsProps {
4
- signals: SignalType[];
5
- fields: DestinationDynamicField[];
6
- onChange: (name: string, value: any) => void;
7
- formErrors: Record<string, string>;
8
- }
9
- declare const DynamicFields: FC<DynamicFieldsProps>;
10
- export { DynamicFields, type DynamicFieldsProps };
@@ -1,15 +0,0 @@
1
- import { type Dispatch, type FC, type SetStateAction } from 'react';
2
- import { type DestinationDynamicField, type DestinationFormData, type DestinationOption, type TestConnectionFunc } from '@/types';
3
- interface DestinationFormProps {
4
- isUpdate?: boolean;
5
- categoryItem?: DestinationOption;
6
- formData: DestinationFormData;
7
- formErrors: Record<string, string>;
8
- handleFormChange: (key: keyof DestinationFormData, val: any) => void;
9
- validateForm: () => boolean;
10
- testConnection: TestConnectionFunc;
11
- dynamicFields: DestinationDynamicField[];
12
- setDynamicFields: Dispatch<SetStateAction<DestinationDynamicField[]>>;
13
- }
14
- declare const DestinationForm: FC<DestinationFormProps>;
15
- export { DestinationForm, type DestinationFormProps };
@@ -1,12 +0,0 @@
1
- import { type FC } from 'react';
2
- import { DestinationFormData, StatusType, TestConnectionFunc, TestConnectionResponse } from '@/types';
3
- interface TestConnectionProps {
4
- destination: DestinationFormData;
5
- validateForm: () => boolean;
6
- status?: StatusType;
7
- testConnection: TestConnectionFunc;
8
- onError: (payload: TestConnectionResponse) => void;
9
- onSuccess: (payload: TestConnectionResponse) => void;
10
- }
11
- declare const TestConnection: FC<TestConnectionProps>;
12
- export { TestConnection, type TestConnectionProps };
@@ -1,10 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type DestinationCategories, type DestinationOption } from '@/types';
3
- interface DestinationsListProps {
4
- items: DestinationCategories;
5
- onSelectNew: (item: DestinationOption) => void;
6
- onSelectConfigured: (id: string) => void;
7
- isLoadingForDestinationIds: string[];
8
- }
9
- declare const DestinationsList: FC<DestinationsListProps>;
10
- export { DestinationsList, type DestinationsListProps };
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { DestinationsListProps } from './destinations-list';
3
- import { type DestinationCategories, type DestinationOption, SignalType } from '@/types';
4
- interface Props extends Pick<DestinationsListProps, 'onSelectConfigured' | 'isLoadingForDestinationIds'> {
5
- hidden?: boolean;
6
- categories: DestinationCategories;
7
- potentialDestinations: DestinationOption[];
8
- onSelectNew: (item: DestinationOption, selectedMonitors: SignalType[]) => void;
9
- }
10
- export declare const ChooseDestinationBody: React.FC<Props>;
11
- export {};
@@ -1,13 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type TestConnectionFunc, type DestinationCategories, type DestinationFormData, type DestinationOption } from '@/types';
3
- interface DestinationModalProps {
4
- isOnboarding?: boolean;
5
- categories: DestinationCategories;
6
- potentialDestinations: DestinationOption[];
7
- createDestination: (destination: DestinationFormData) => Promise<void>;
8
- updateDestination: (id: string, destination: DestinationFormData) => Promise<void>;
9
- deleteDestination: (id: string) => Promise<void>;
10
- testConnection: TestConnectionFunc;
11
- }
12
- declare const DestinationModal: FC<DestinationModalProps>;
13
- export { DestinationModal, type DestinationModalProps };
@@ -1,8 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type DestinationCategories } from '@/types';
3
- interface DestinationListProps {
4
- categories: DestinationCategories;
5
- withDelete?: boolean;
6
- }
7
- declare const DestinationList: FC<DestinationListProps>;
8
- export { DestinationList, type DestinationListProps };
@@ -1,12 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type TestConnectionFunc, type DestinationCategories, type DestinationOption } from '@/types';
3
- interface DestinationSelectionFormProps {
4
- isSourcesListEmpty: boolean;
5
- goToSources: () => void;
6
- categories: DestinationCategories;
7
- potentialDestinations: DestinationOption[];
8
- testConnection: TestConnectionFunc;
9
- onClickSummary?: () => void;
10
- }
11
- declare const DestinationSelectionForm: FC<DestinationSelectionFormProps>;
12
- export { DestinationSelectionForm, type DestinationSelectionFormProps };
@@ -1,9 +0,0 @@
1
- import { type CSSProperties, type FC } from 'react';
2
- import { type Metrics } from '@/types';
3
- interface DestinationTableProps {
4
- metrics: Metrics;
5
- maxHeight?: CSSProperties['maxHeight'];
6
- maxWidth?: CSSProperties['maxWidth'];
7
- }
8
- declare const DestinationTable: FC<DestinationTableProps>;
9
- export { DestinationTable, type DestinationTableProps };
@@ -1,15 +0,0 @@
1
- import { type FC } from 'react';
2
- import { Source } from '@/types';
3
- import { type DropdownProps } from '@/components';
4
- interface ConditionDropdownProps {
5
- sources: Source[];
6
- title?: string;
7
- value?: DropdownProps['options'];
8
- onSelect: (val: DropdownProps['options'][0]) => void;
9
- onDeselect: (val: DropdownProps['options'][0]) => void;
10
- isMulti?: boolean;
11
- required?: boolean;
12
- showSearch?: boolean;
13
- }
14
- declare const ConditionDropdown: FC<ConditionDropdownProps>;
15
- export { ConditionDropdown, type ConditionDropdownProps };
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { type Source } from '@/types';
3
- import { type DropdownProps } from '@/components';
4
- interface ErrorDropdownProps {
5
- sources: Source[];
6
- title?: string;
7
- value?: DropdownProps['options'];
8
- onSelect: (val: DropdownProps['options'][0]) => void;
9
- onDeselect: (val: DropdownProps['options'][0]) => void;
10
- disabled?: boolean;
11
- isMulti?: boolean;
12
- required?: boolean;
13
- showSearch?: boolean;
14
- }
15
- declare const ErrorDropdown: React.FC<ErrorDropdownProps>;
16
- export { ErrorDropdown, type ErrorDropdownProps };
@@ -1,7 +0,0 @@
1
- export * from './condition-dropdown';
2
- export * from './error-dropdown';
3
- export * from './language-dropdown';
4
- export * from './monitor-dropdown';
5
- export * from './namespace-dropdown';
6
- export * from './kind-dropdown';
7
- export * from './pods-agent-injection-status-dropdown';
@@ -1,15 +0,0 @@
1
- import { type FC } from 'react';
2
- import type { Source } from '@/types';
3
- import { type DropdownProps } from '@/components';
4
- interface KindDropdownProps {
5
- sources: Source[];
6
- title?: string;
7
- value?: DropdownProps['options'];
8
- onSelect: (val: DropdownProps['options'][0]) => void;
9
- onDeselect: (val: DropdownProps['options'][0]) => void;
10
- isMulti?: boolean;
11
- required?: boolean;
12
- showSearch?: boolean;
13
- }
14
- declare const KindDropdown: FC<KindDropdownProps>;
15
- export { KindDropdown, type KindDropdownProps };
@@ -1,15 +0,0 @@
1
- import { type FC } from 'react';
2
- import { Source } from '@/types';
3
- import { type DropdownProps } from '@/components';
4
- interface LanguageDropdownProps {
5
- sources: Source[];
6
- title?: string;
7
- value?: DropdownProps['options'];
8
- onSelect: (val: DropdownProps['options'][0]) => void;
9
- onDeselect: (val: DropdownProps['options'][0]) => void;
10
- isMulti?: boolean;
11
- required?: boolean;
12
- showSearch?: boolean;
13
- }
14
- declare const LanguageDropdown: FC<LanguageDropdownProps>;
15
- export { LanguageDropdown, type LanguageDropdownProps };
@@ -1,13 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type DropdownProps } from '@/components';
3
- interface MonitorDropdownProps {
4
- title?: string;
5
- value?: DropdownProps['options'];
6
- onSelect: (val: DropdownProps['options'][0]) => void;
7
- onDeselect: (val: DropdownProps['options'][0]) => void;
8
- isMulti?: boolean;
9
- required?: boolean;
10
- showSearch?: boolean;
11
- }
12
- declare const MonitorDropdown: FC<MonitorDropdownProps>;
13
- export { MonitorDropdown, type MonitorDropdownProps };
@@ -1,15 +0,0 @@
1
- import { type FC } from 'react';
2
- import type { Namespace } from '@/types';
3
- import { type DropdownProps } from '@/components';
4
- interface NamespaceDropdownProps {
5
- namespaces: Namespace[];
6
- title?: string;
7
- value?: DropdownProps['options'];
8
- onSelect: (val: DropdownProps['options'][0]) => void;
9
- onDeselect: (val: DropdownProps['options'][0]) => void;
10
- isMulti?: boolean;
11
- required?: boolean;
12
- showSearch?: boolean;
13
- }
14
- declare const NamespaceDropdown: FC<NamespaceDropdownProps>;
15
- export { NamespaceDropdown, type NamespaceDropdownProps };
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { type Source } from '@/types';
3
- import { type DropdownProps } from '@/components';
4
- interface PodsAgentInjectionStatusDropdownProps {
5
- sources: Source[];
6
- title?: string;
7
- value?: DropdownProps['options'];
8
- onSelect: (val: DropdownProps['options'][0]) => void;
9
- onDeselect: (val: DropdownProps['options'][0]) => void;
10
- disabled?: boolean;
11
- isMulti?: boolean;
12
- required?: boolean;
13
- showSearch?: boolean;
14
- }
15
- declare const PodsAgentInjectionStatusDropdown: React.FC<PodsAgentInjectionStatusDropdownProps>;
16
- export { PodsAgentInjectionStatusDropdown, type PodsAgentInjectionStatusDropdownProps };
@@ -1,3 +0,0 @@
1
- import { type InstrumentationRule } from '@/types';
2
- declare const buildCard: (rule: InstrumentationRule) => import("../../components/data-card/data-card-fields").DataCardField[];
3
- export { buildCard };
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { type InstrumentationRuleFormData } from '@/types';
3
- interface InstrumentationRuleDrawerProps {
4
- updateInstrumentationRule: (ruleId: string, instrumentationRule: InstrumentationRuleFormData) => void;
5
- deleteInstrumentationRule: (ruleId: string) => void;
6
- }
7
- declare const InstrumentationRuleDrawer: React.FC<InstrumentationRuleDrawerProps>;
8
- export { InstrumentationRuleDrawer, type InstrumentationRuleDrawerProps };
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { type CustomFieldProps, type InstrumentationRuleFormData } from '@/types';
3
- type CodeAttributesProps = CustomFieldProps<InstrumentationRuleFormData>;
4
- declare const CodeAttributes: React.FC<CodeAttributesProps>;
5
- export { CodeAttributes, type CodeAttributesProps };
@@ -1,5 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type CustomFieldProps, type InstrumentationRuleFormData } from '@/types';
3
- type CustomInstrumentationProps = CustomFieldProps<InstrumentationRuleFormData>;
4
- declare const CustomInstrumentation: FC<CustomInstrumentationProps>;
5
- export { CustomInstrumentation, type CustomInstrumentationProps };
@@ -1,5 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type CustomFieldProps, type InstrumentationRuleFormData } from '@/types';
3
- type HeadersCollectionProps = CustomFieldProps<InstrumentationRuleFormData>;
4
- declare const HeadersCollection: FC<HeadersCollectionProps>;
5
- export { HeadersCollection, type HeadersCollectionProps };
@@ -1,7 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type CustomFieldProps, InstrumentationRuleType, type InstrumentationRuleFormData } from '@/types';
3
- interface CustomFieldsProps extends CustomFieldProps<InstrumentationRuleFormData> {
4
- ruleType?: InstrumentationRuleType;
5
- }
6
- declare const CustomFields: FC<CustomFieldsProps>;
7
- export { CustomFields, type CustomFieldsProps };
@@ -1,5 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type CustomFieldProps, type InstrumentationRuleFormData } from '@/types';
3
- type PayloadCollectionProps = CustomFieldProps<InstrumentationRuleFormData>;
4
- declare const PayloadCollection: FC<PayloadCollectionProps>;
5
- export { PayloadCollection, type PayloadCollectionProps };
@@ -1,11 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type InstrumentationRuleFormData, type InstrumentationRuleOption } from '@/types';
3
- interface InstrumentationRuleFormProps {
4
- isUpdate?: boolean;
5
- rule: InstrumentationRuleOption;
6
- formData: InstrumentationRuleFormData;
7
- formErrors: Record<string, string>;
8
- handleFormChange: (key: keyof InstrumentationRuleFormData, val: any) => void;
9
- }
10
- declare const InstrumentationRuleForm: FC<InstrumentationRuleFormProps>;
11
- export { InstrumentationRuleForm, type InstrumentationRuleFormProps };
@@ -1,7 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type InstrumentationRuleFormData } from '@/types';
3
- interface InstrumentationRuleModalProps {
4
- createInstrumentationRule: (instrumentationRule: InstrumentationRuleFormData) => void;
5
- }
6
- declare const InstrumentationRuleModal: FC<InstrumentationRuleModalProps>;
7
- export { InstrumentationRuleModal, type InstrumentationRuleModalProps };
@@ -1,3 +0,0 @@
1
- import type { InstrumentationRule } from '@/types';
2
- declare const buildSpecCell: (rule: InstrumentationRule) => string;
3
- export { buildSpecCell };
@@ -1,7 +0,0 @@
1
- import { type CSSProperties, type FC } from 'react';
2
- interface InstrumentationRuleTableProps {
3
- maxHeight?: CSSProperties['maxHeight'];
4
- maxWidth?: CSSProperties['maxWidth'];
5
- }
6
- declare const InstrumentationRuleTable: FC<InstrumentationRuleTableProps>;
7
- export { InstrumentationRuleTable, type InstrumentationRuleTableProps };
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { type SelectedState } from '@/store';
3
- import { type WorkloadId } from '@/types';
4
- interface MultiSourceControlProps {
5
- totalSourceCount: number;
6
- uninstrumentSources: (payload: SelectedState['selectedSources']) => void;
7
- restartWorkloads: (sourceIds: WorkloadId[]) => Promise<void>;
8
- }
9
- declare const MultiSourceControl: React.FC<MultiSourceControlProps>;
10
- export { MultiSourceControl, type MultiSourceControlProps };
@@ -1,10 +0,0 @@
1
- import { type FC } from 'react';
2
- import type { DestinationCategories } from '@/types';
3
- interface SetupSummaryProps {
4
- onEditStream: () => void;
5
- onEditSources: () => void;
6
- onEditDestinations: () => void;
7
- categories: DestinationCategories;
8
- }
9
- declare const SetupSummary: FC<SetupSummaryProps>;
10
- export { SetupSummary, type SetupSummaryProps };
@@ -1,16 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type NavIcon } from '@/components';
3
- declare enum NavIconIds {
4
- Overview = "overview",
5
- InstrumentationRules = "InstrumentationRule",
6
- Sources = "Source",
7
- Actions = "Action",
8
- Destinations = "Destination"
9
- }
10
- interface SideNavProps {
11
- onClickId: (id: NavIconIds) => void;
12
- defaultSelectedId?: string;
13
- extendedNavIcons?: NavIcon[];
14
- }
15
- declare const SideNav: FC<SideNavProps>;
16
- export { SideNav, type SideNavProps, NavIconIds };
@@ -1,4 +0,0 @@
1
- import { type FC } from 'react';
2
- type SlackInviteProps = object;
3
- declare const SlackInvite: FC<SlackInviteProps>;
4
- export { SlackInvite, type SlackInviteProps };
@@ -1,8 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type FetchNamespacesWithWorkloads, type PersistSources } from '@/types';
3
- interface SourceModalProps {
4
- fetchNamespacesWithWorkloads: FetchNamespacesWithWorkloads;
5
- persistSources: PersistSources;
6
- }
7
- declare const SourceModal: FC<SourceModalProps>;
8
- export { SourceModal, type SourceModalProps };
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { type FetchNamespacesWithWorkloads } from '@/types';
3
- import { type NamespaceSelectionFormData, type SourceSelectionFormData } from '@/store';
4
- interface SourceSelectionFormProps {
5
- isModal?: boolean;
6
- fetchNamespacesWithWorkloads: FetchNamespacesWithWorkloads;
7
- onClickSummary?: () => void;
8
- }
9
- interface SourceSelectionFormRef {
10
- getFormValues: () => {
11
- apps: SourceSelectionFormData;
12
- futureApps: NamespaceSelectionFormData;
13
- };
14
- }
15
- declare const SourceSelectionForm: React.ForwardRefExoticComponent<SourceSelectionFormProps & React.RefAttributes<SourceSelectionFormRef>>;
16
- export { SourceSelectionForm, type SourceSelectionFormProps, type SourceSelectionFormRef };
@@ -1,8 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type UseSourceSelectionFormData } from '@/hooks';
3
- interface SourceListProps extends Partial<UseSourceSelectionFormData> {
4
- isModal?: boolean;
5
- withInstances?: boolean;
6
- }
7
- declare const SourceList: FC<SourceListProps>;
8
- export { SourceList, type SourceListProps };
@@ -1,9 +0,0 @@
1
- import { type CSSProperties, type FC } from 'react';
2
- import { type Metrics } from '@/types';
3
- interface SourceTableProps {
4
- metrics: Metrics;
5
- maxHeight?: CSSProperties['maxHeight'];
6
- maxWidth?: CSSProperties['maxWidth'];
7
- }
8
- declare const SourceTable: FC<SourceTableProps>;
9
- export { SourceTable, type SourceTableProps };
@@ -1,11 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type DescribeOdigos } from '@/types';
3
- interface DescribeProps {
4
- fetchDescribeOdigos: () => Promise<{
5
- data?: {
6
- describeOdigos: DescribeOdigos;
7
- };
8
- }>;
9
- }
10
- declare const Describe: FC<DescribeProps>;
11
- export { Describe, type DescribeProps };
@@ -1,7 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type TokensProps } from './tokens';
3
- import { type DescribeProps } from './describe';
4
- interface SystemOverviewProps extends TokensProps, DescribeProps {
5
- }
6
- declare const SystemOverview: FC<SystemOverviewProps>;
7
- export { SystemOverview, type SystemOverviewProps };
@@ -1,6 +0,0 @@
1
- import { type FC } from 'react';
2
- interface ExpiresAtProps {
3
- expiresAt: number;
4
- }
5
- declare const ExpiresAt: FC<ExpiresAtProps>;
6
- export { ExpiresAt, type ExpiresAtProps };
@@ -1,8 +0,0 @@
1
- import { type FC } from 'react';
2
- import type { TokenPayload } from '@/types';
3
- interface TokensProps {
4
- tokens: TokenPayload[];
5
- saveToken: (newToken: string) => Promise<void>;
6
- }
7
- declare const Tokens: FC<TokensProps>;
8
- export { Tokens, type TokensProps };
@@ -1,7 +0,0 @@
1
- import { type FC } from 'react';
2
- interface TokenActionsProps {
3
- token: string;
4
- saveToken: (newToken: string) => Promise<void>;
5
- }
6
- declare const TokenActions: FC<TokenActionsProps>;
7
- export { TokenActions, type TokenActionsProps };
@@ -1,8 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type Condition } from '@/types';
3
- interface TableCellConditionsProps {
4
- conditions: Condition[];
5
- id: string;
6
- }
7
- declare const TableCellConditions: FC<TableCellConditionsProps>;
8
- export { TableCellConditions, type TableCellConditionsProps };
@@ -1,2 +0,0 @@
1
- import { type FC } from 'react';
2
- export declare const ToggleDarkMode: FC;
@@ -1,2 +0,0 @@
1
- import type { Trace, TraceSpan } from '@/types';
2
- export declare const buildSpans: (trace: Trace) => TraceSpan[];
@@ -1,9 +0,0 @@
1
- import { type FC } from 'react';
2
- import type { Trace } from '@/types';
3
- interface TraceViewProps {
4
- heightToRemove: number;
5
- traces: Trace[];
6
- isLoading: boolean;
7
- }
8
- declare const TraceView: FC<TraceViewProps>;
9
- export { TraceView, type TraceViewProps };