@odigos/ui-kit 0.0.244 → 0.0.246
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 +27 -0
- package/lib/chunks/helpers-BFZzc68M.js +19 -0
- package/lib/chunks/index-BrSebk-Z.js +155 -0
- package/lib/chunks/source-instrument-form-context-n8N3zC_-.js +1 -0
- package/lib/chunks/ui-components-DNrEjxrR.js +1635 -0
- package/lib/components/_v2/cards/section-card/index.d.ts +3 -1
- package/lib/components/_v2/input-table/dynamic-field/index.d.ts +1 -0
- package/lib/components/_v2/input-table/types.d.ts +2 -1
- package/lib/components/_v2/table/styled.d.ts +7 -1
- package/lib/components/_v2/table/table-columns/index.d.ts +2 -0
- package/lib/components/_v2/table/table-rows/index.d.ts +2 -0
- package/lib/components/_v2/typography/index.d.ts +8 -4
- package/lib/components/_v2/typography-truncatable/index.d.ts +18 -10
- package/lib/components/styled.d.ts +4 -1
- package/lib/components/v2.js +1 -1
- package/lib/components.js +1 -1
- package/lib/constants/index.d.ts +1 -0
- package/lib/constants/regex.d.ts +40 -0
- package/lib/constants/sampling/index.d.ts +5 -0
- package/lib/constants.js +1 -1
- package/lib/containers/_v2/_drawers/edit-source-drawer/{yaml-files → debug}/index.d.ts +2 -2
- package/lib/containers/_v2/_drawers/index.d.ts +1 -0
- package/lib/containers/_v2/_drawers/regex-tester-drawer/highlighter.d.ts +20 -0
- package/lib/containers/_v2/_drawers/regex-tester-drawer/index.d.ts +13 -0
- package/lib/containers/_v2/_forms/add-action-form/custom-fields/extract-attribute/index.d.ts +5 -0
- package/lib/containers/_v2/central-connections/index.d.ts +1 -2
- package/lib/containers/_v2/overview/columns/index.d.ts +1 -2
- package/lib/containers/_v2/overview/drawers/index.d.ts +4 -1
- package/lib/containers/_v2/overview/index.d.ts +0 -2
- package/lib/containers/_v2/pipeline-collectors/index.d.ts +3 -3
- package/lib/containers/_v2/pipeline-collectors/pods-info/index.d.ts +2 -2
- package/lib/containers/_v2/sampling-rules/helpers.d.ts +2 -1
- package/lib/containers/_v2/sampling-rules/rules-table/index.d.ts +1 -2
- package/lib/containers/_v2/sampling-rules/types.d.ts +0 -2
- package/lib/containers/_v2/settings/index.d.ts +0 -1
- package/lib/containers/service-map/index.d.ts +0 -1
- package/lib/containers/v2.js +255 -126
- package/lib/containers.js +7 -4
- package/lib/contexts/rule-form-context.d.ts +13 -4
- package/lib/contexts.js +1 -1
- package/lib/functions/index.d.ts +1 -0
- package/lib/functions/instrumentation-rule-source-scopes/index.d.ts +76 -0
- package/lib/functions.js +1 -1
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/useInstrumentationRuleFormData.d.ts +2 -2
- package/lib/hooks/useOverflow.d.ts +26 -0
- package/lib/hooks.js +1 -1
- package/lib/snippets/_v2/index.d.ts +1 -0
- package/lib/snippets/_v2/instrumentation-rule-form-sections/index.d.ts +1 -0
- package/lib/snippets/_v2/instrumentation-rule-form-sections/instrumentation-preview.d.ts +10 -0
- package/lib/snippets/_v2/rich-title/index.d.ts +5 -1
- package/lib/snippets/_v2/sampling-rule-form-sections/source-scope.d.ts +18 -8
- package/lib/snippets/v2.js +1 -1
- package/lib/snippets.js +2 -2
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/actions/index.d.ts +19 -2
- package/lib/types/instrumentation-rules/index.d.ts +14 -0
- package/lib/types.js +1 -1
- package/lib/visuals.js +1 -1
- package/package.json +1 -1
- package/lib/chunks/helpers-aJJ1GhqS.js +0 -19
- package/lib/chunks/index-BnOPIhIp.js +0 -149
- package/lib/chunks/source-instrument-form-context-5GXsAhJd.js +0 -1
- package/lib/chunks/ui-components-Dnqp-MQm.js +0 -1592
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { type ReactNode } from 'react';
|
|
1
|
+
import React, { type CSSProperties, type ReactNode } from 'react';
|
|
2
2
|
import { type SearchProps } from '../../search';
|
|
3
3
|
import { type ActionsProps } from '@/snippets/_v2/actions';
|
|
4
4
|
import { type RichTitleProps } from '@/snippets/_v2/rich-title';
|
|
@@ -25,5 +25,7 @@ export interface SectionCardProps {
|
|
|
25
25
|
filters?: ReactNode;
|
|
26
26
|
actions?: ActionsProps['actions'];
|
|
27
27
|
children?: ReactNode;
|
|
28
|
+
backgroundColor?: CSSProperties['backgroundColor'];
|
|
29
|
+
padding?: number;
|
|
28
30
|
}
|
|
29
31
|
export declare const SectionCard: React.ForwardRefExoticComponent<SectionCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -5,7 +5,7 @@ export interface Row {
|
|
|
5
5
|
}
|
|
6
6
|
export interface Column {
|
|
7
7
|
keyName: string;
|
|
8
|
-
label
|
|
8
|
+
label?: string;
|
|
9
9
|
tooltip?: string;
|
|
10
10
|
placeholder?: string;
|
|
11
11
|
inputType?: InputTypes;
|
|
@@ -14,4 +14,5 @@ export interface Column {
|
|
|
14
14
|
componentType?: 'input' | 'dropdown' | 'multi-dropdown';
|
|
15
15
|
options?: DropDataOption[];
|
|
16
16
|
renderCondition?: (row: Row) => boolean;
|
|
17
|
+
helpMessage?: string;
|
|
17
18
|
}
|
|
@@ -3,7 +3,7 @@ import { type TableColumn, TableVariant } from './types';
|
|
|
3
3
|
import { type IStyledComponent } from 'styled-components';
|
|
4
4
|
type DivProps<P = object> = P & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>;
|
|
5
5
|
interface ContainerProps {
|
|
6
|
-
$maxHeight
|
|
6
|
+
$maxHeight?: CSSProperties['maxHeight'];
|
|
7
7
|
}
|
|
8
8
|
export declare const Container: IStyledComponent<'web', DivProps<ContainerProps>>;
|
|
9
9
|
interface TableRootProps {
|
|
@@ -19,6 +19,8 @@ interface ThProps {
|
|
|
19
19
|
$minWidth?: TableColumn['minWidth'];
|
|
20
20
|
$isFirst: boolean;
|
|
21
21
|
$isLast: boolean;
|
|
22
|
+
$autoWidth?: boolean;
|
|
23
|
+
$resolvedWidth?: number;
|
|
22
24
|
}
|
|
23
25
|
export declare const Th: IStyledComponent<'web', DivProps<ThProps>>;
|
|
24
26
|
export declare const ThBorder: IStyledComponent<'web', DivProps>;
|
|
@@ -32,8 +34,12 @@ interface TdProps {
|
|
|
32
34
|
$isLastCell: boolean;
|
|
33
35
|
$flex?: TableColumn['flex'];
|
|
34
36
|
$minWidth?: TableColumn['minWidth'];
|
|
37
|
+
$autoWidth?: boolean;
|
|
38
|
+
$resolvedWidth?: number;
|
|
35
39
|
}
|
|
36
40
|
export declare const Td: IStyledComponent<'web', DivProps<TdProps>>;
|
|
41
|
+
export declare const MeasurementLayer: IStyledComponent<'web', DivProps>;
|
|
42
|
+
export declare const MeasurementCell: IStyledComponent<'web', DivProps>;
|
|
37
43
|
interface HeadWrapperProps {
|
|
38
44
|
$textAlign?: TableColumn['textAlign'];
|
|
39
45
|
}
|
|
@@ -6,6 +6,8 @@ interface TableColumnsProps {
|
|
|
6
6
|
backgroundColor?: CSSProperties['backgroundColor'];
|
|
7
7
|
columns: TableColumn[];
|
|
8
8
|
rowsUnfiltered: TableRow[];
|
|
9
|
+
autoWidthColumnKeys: Set<string>;
|
|
10
|
+
resolvedColumnWidths: Record<string, number>;
|
|
9
11
|
sortDirection: SortDirection;
|
|
10
12
|
sortByKey: string;
|
|
11
13
|
onSort: (columnKey: string) => void;
|
|
@@ -5,6 +5,8 @@ interface TableRowsProps {
|
|
|
5
5
|
variant: TableVariant;
|
|
6
6
|
columns: TableColumn[];
|
|
7
7
|
rows: TableRow[];
|
|
8
|
+
autoWidthColumnKeys: Set<string>;
|
|
9
|
+
resolvedColumnWidths: Record<string, number>;
|
|
8
10
|
getRowActions: (row: TableRow) => (HoverAction | null)[];
|
|
9
11
|
rowActionsPushRightPosition?: CSSProperties['right'];
|
|
10
12
|
rowActionsPushLeftPosition?: CSSProperties['left'];
|
|
@@ -40,10 +40,6 @@ export declare const resolveTypographyColor: (theme: DefaultTheme, color?: Typog
|
|
|
40
40
|
export interface TypographyProps {
|
|
41
41
|
children: React.ReactNode;
|
|
42
42
|
variant?: TypographyVariants;
|
|
43
|
-
/**
|
|
44
|
-
* Either a `TypographyColor` semantic variant (resolved from the theme) or any
|
|
45
|
-
* raw CSS color string for ad-hoc overrides.
|
|
46
|
-
*/
|
|
47
43
|
color?: TypographyColor | CSSProperties['color'];
|
|
48
44
|
size?: TypographySize;
|
|
49
45
|
weight?: CSSProperties['fontWeight'];
|
|
@@ -55,5 +51,13 @@ export interface TypographyProps {
|
|
|
55
51
|
underline?: boolean;
|
|
56
52
|
onClick?: () => void;
|
|
57
53
|
disabled?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Clamp the rendered text to at most N visible lines via CSS `line-clamp`.
|
|
56
|
+
* This is the styling side only — wrap in `TruncatableTypography` to also get
|
|
57
|
+
* a tooltip exposing the full text when the content actually overflows.
|
|
58
|
+
* Set to `0` / `undefined` to disable. Has no effect when combined with
|
|
59
|
+
* `nowrap` (which prevents line breaks entirely).
|
|
60
|
+
*/
|
|
61
|
+
maxLines?: number;
|
|
58
62
|
}
|
|
59
63
|
export declare const Typography: React.ForwardRefExoticComponent<TypographyProps & React.RefAttributes<HTMLElement>>;
|
|
@@ -1,18 +1,26 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
2
|
import { TypographyProps } from '../typography';
|
|
3
3
|
/**
|
|
4
|
-
* Renders a `Typography` and,
|
|
5
|
-
*
|
|
4
|
+
* Renders a `Typography` and, when its content overflows the available space,
|
|
5
|
+
* reveals the full text in a `Tooltip` on hover. Two modes:
|
|
6
|
+
*
|
|
7
|
+
* - Single-line ellipsis: pair with `nowrap` (the default behavior). Overflow
|
|
8
|
+
* is detected horizontally via `scrollWidth > clientWidth`.
|
|
9
|
+
* - Multi-line clamp: pair with `maxLines={N}`. The underlying CSS
|
|
10
|
+
* `-webkit-line-clamp` clips at N visible lines, and overflow is detected
|
|
11
|
+
* vertically via `scrollHeight > clientHeight`.
|
|
6
12
|
*
|
|
7
13
|
* Implementation notes:
|
|
8
|
-
* - We ALWAYS wrap in `Tooltip` with `keepAlive` so the DOM structure is stable
|
|
9
|
-
* renders. Toggling between two different parent component types based
|
|
10
|
-
* would unmount and remount `Typography`, resetting the ref
|
|
11
|
-
* risking a flicker loop when the two wrappers report
|
|
12
|
-
* `Tooltip` only opens the popup when `text` is
|
|
13
|
-
* passing an empty `text` is the
|
|
14
|
-
*
|
|
15
|
-
*
|
|
14
|
+
* - We ALWAYS wrap in `Tooltip` with `keepAlive` so the DOM structure is stable
|
|
15
|
+
* across renders. Toggling between two different parent component types based
|
|
16
|
+
* on truncation would unmount and remount `Typography`, resetting the ref/
|
|
17
|
+
* `ResizeObserver` and risking a flicker loop when the two wrappers report
|
|
18
|
+
* different available widths. `Tooltip` only opens the popup when `text` is
|
|
19
|
+
* non-empty (`isOpen && !!text`), so passing an empty `text` is the
|
|
20
|
+
* no-tooltip state.
|
|
21
|
+
* - Detection runs in `useLayoutEffect` and via `ResizeObserver`, so we react to
|
|
22
|
+
* drawer resize, collapse, and any other layout change without needing
|
|
23
|
+
* explicit invalidation.
|
|
16
24
|
*/
|
|
17
25
|
export interface TruncatableTypographyProps extends TypographyProps {
|
|
18
26
|
/** The full text used for the tooltip; defaults to `String(children)`. */
|
|
@@ -2,7 +2,6 @@ import { type HTMLAttributes, type RefAttributes } from 'react';
|
|
|
2
2
|
import { type CSSProperties, type IStyledComponent } from 'styled-components';
|
|
3
3
|
type DivProps<P = object> = P & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>;
|
|
4
4
|
export declare const PageContent: IStyledComponent<'web', DivProps<{
|
|
5
|
-
$heightOffset?: number;
|
|
6
5
|
$gap?: number;
|
|
7
6
|
}>>;
|
|
8
7
|
export declare const UpgradeRequiredWrapper: IStyledComponent<'web', DivProps>;
|
|
@@ -18,6 +17,8 @@ interface FlexRowProps {
|
|
|
18
17
|
$height?: CSSProperties['height'];
|
|
19
18
|
$margin?: CSSProperties['margin'];
|
|
20
19
|
$padding?: CSSProperties['padding'];
|
|
20
|
+
/** Stretch to fill the parent flex container's cross-axis (`flex: 1; min-height: 0`). */
|
|
21
|
+
$fullHeight?: boolean;
|
|
21
22
|
}
|
|
22
23
|
export declare const FlexRow: IStyledComponent<'web', DivProps<FlexRowProps>>;
|
|
23
24
|
interface FlexColumnProps {
|
|
@@ -29,6 +30,8 @@ interface FlexColumnProps {
|
|
|
29
30
|
$height?: CSSProperties['height'];
|
|
30
31
|
$margin?: CSSProperties['margin'];
|
|
31
32
|
$padding?: CSSProperties['padding'];
|
|
33
|
+
/** Stretch to fill the parent flex container's main-axis (`flex: 1; min-height: 0`). */
|
|
34
|
+
$fullHeight?: boolean;
|
|
32
35
|
}
|
|
33
36
|
export declare const FlexColumn: IStyledComponent<'web', DivProps<FlexColumnProps>>;
|
|
34
37
|
interface CenterThisProps extends FlexColumnProps {
|
package/lib/components/v2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{eD as Autocomplete,am as Badge,a2 as Button,a3 as ButtonSize,gl as ButtonTab,gm as ButtonTabList,a4 as ButtonVariants,V as Checkbox,gn as CheckboxList,de as CheckboxSize,b9 as CliCommand,b3 as Condition,aT as Conditions,go as DEFAULT_TIME_UNITS,aS as DataCard,f as Drawer,bO as DropData,bQ as DropDataAlignX,bP as DropDataAlignY,aC as DropDown,W as FieldMessage,U as FieldTitle,dv as GaugeChart,gp as GaugeChartVariant,gq as Header,gr as HoverActions,aD as IconButton,aE as IconButtonSize,bf as IconGroup,ab as Input,$ as InputList,X as InputTable,d4 as Island,aF as Loader,bT as Modal,gs as Navbar,ac as NoData,n as Note,a8 as Radio,gt as RadioGroup,aa as RadioSize,bb as Search,ay as SectionCard,gu as SectionCardSize,a5 as Segment,ae as SegmentSize,bq as SegmentVariant,du as StatusCard,d5 as Stepper,bs as Table,bt as TableVariant,aZ as Tag,b8 as TagVariants,ag as TextArea,dw as TextCard,dP as TimeInput,Z as Toggle,_ as ToggleLabelAlign,gv as ToggleList,aJ as ToggleSize,gw as ToggleVariant,ad as TruncatableTypography,b as Typography,a1 as TypographyColor,c as TypographySize,aK as TypographyVariants,ap as WarningModal,gx as resolveTypographyColor}from"../chunks/ui-components-DNrEjxrR.js";import"react/jsx-runtime";import"styled-components";import"../icons.js";import"zustand";import"react";import"javascript-time-ago";import"../chunks/vendor-Be0cOokr.js";import"prism-react-renderer";import"react-error-boundary";import"react-dom";import"virtua";
|
package/lib/components.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{aB as CenterThis,eJ as Code,i as Divider,g3 as ErrorBoundary,g4 as FadeLoader,R as FlexColumn,F as FlexRow,g5 as IconButton,eK as IconGroup,g6 as IconWrapped,g7 as ImageControlled,g8 as LoadingText,g9 as ModalBody,ga as NotificationNote,gb as Overlay,aR as Padding,d3 as PageContent,a as Popup,gc as ScrollX,bc as ScrollY,bg as SkeletonLoader,gd as TableContainer,ge as TableTitleWrap,gf as TableWrap,h as Text,gg as ToggleCodeComponent,ak as Tooltip,dx as UpgradeRequiredWrapper,gh as VerticalScroll,gi as getLinksFromText,gj as getStrongsFromText,gk as renderText}from"./chunks/ui-components-DNrEjxrR.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-Be0cOokr.js";import"prism-react-renderer";import"react-error-boundary";import"react-dom";import"virtua";
|
package/lib/constants/index.d.ts
CHANGED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ExtractionDataFormat } from '@/types';
|
|
2
|
+
export declare const REGEX_TESTER_DRAWER: {
|
|
3
|
+
TITLE: string;
|
|
4
|
+
REGEX_LABEL: string;
|
|
5
|
+
REGEX_EMPTY_HINT: string;
|
|
6
|
+
TEST_STRING_LABEL: string;
|
|
7
|
+
TEST_STRING_PLACEHOLDER: string;
|
|
8
|
+
TEST_STRING_HELP: string;
|
|
9
|
+
RESULT_LABEL: string;
|
|
10
|
+
RESULT_CAPTURE_HINT: string;
|
|
11
|
+
RESULT_EMPTY_REGEX: string;
|
|
12
|
+
RESULT_EMPTY_INPUT: string;
|
|
13
|
+
RESULT_NO_MATCH: string;
|
|
14
|
+
RESULT_INVALID_REGEX_FALLBACK: string;
|
|
15
|
+
UNESCAPE_LABEL: string;
|
|
16
|
+
UNESCAPE_TOOLTIP: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const EXTRACT_ATTRIBUTE_FORM: {
|
|
19
|
+
SEGMENT_PRESET_LABEL: string;
|
|
20
|
+
SEGMENT_PRESET_TOOLTIP: string;
|
|
21
|
+
SEGMENT_REGEX_LABEL: string;
|
|
22
|
+
SEGMENT_REGEX_TOOLTIP: string;
|
|
23
|
+
PRESET_ROW_TITLE: (idx: number) => string;
|
|
24
|
+
REGEX_ROW_TITLE: (idx: number) => string;
|
|
25
|
+
TEST_REGEX_LABEL: string;
|
|
26
|
+
REGEX_LABEL: string;
|
|
27
|
+
REGEX_PLACEHOLDER: string;
|
|
28
|
+
REGEX_HELP: string;
|
|
29
|
+
TARGET_LABEL: string;
|
|
30
|
+
TARGET_PLACEHOLDER: string;
|
|
31
|
+
TARGET_HELP: string;
|
|
32
|
+
};
|
|
33
|
+
interface ExtractionFormatCopy {
|
|
34
|
+
label: string;
|
|
35
|
+
keyLabel: string;
|
|
36
|
+
placeholder: string;
|
|
37
|
+
helpMessage: string;
|
|
38
|
+
}
|
|
39
|
+
export declare const EXTRACTION_FORMAT_COPY: Record<ExtractionDataFormat, ExtractionFormatCopy>;
|
|
40
|
+
export {};
|
|
@@ -65,6 +65,11 @@ export declare const NOTE_SOURCE_SCOPE_LOGIC = "If multiple source scopes are se
|
|
|
65
65
|
export declare const ALL_SOURCES = "All sources";
|
|
66
66
|
export declare const EMPTY_VALUE = "-";
|
|
67
67
|
export declare const FILTER_TYPE_ALL = "All";
|
|
68
|
+
export declare const SCOPE_GROUP_SOURCES_TITLE = "Sources";
|
|
69
|
+
export declare const SCOPE_GROUP_NAMESPACES_TITLE = "Namespaces";
|
|
70
|
+
export declare const SCOPE_GROUP_LANGUAGES_TITLE = "Languages";
|
|
71
|
+
export declare const SCOPE_GROUP_ANY_OF_HINT = "any of";
|
|
72
|
+
export declare const SCOPE_AND_LABEL = "AND";
|
|
68
73
|
export declare const OPERATION_ALL = "All operations";
|
|
69
74
|
export declare const OPERATION_HTTP_SERVER = "HTTP server endpoint";
|
|
70
75
|
export declare const OPERATION_HTTP_CLIENT = "HTTP client endpoint";
|
package/lib/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{A as ACTION_OPTIONS,
|
|
1
|
+
export{A as ACTION_OPTIONS,fJ as ALL_SOURCES,bv as BTN_CANCEL,dB as BTN_CREATE_FIRST_RULE,bC as BTN_CREATE_RULE,by as BTN_DELETE_RULE,dR as BTN_EDIT_AUTO_RULE,bx as BTN_EDIT_RULE,bK as BTN_SAVE,bw as BTN_SAVE_RULE,aQ as BUTTON_TEXTS,bz as CATEGORY_DESCRIPTIONS,et as CATEGORY_LABELS,bD as CATEGORY_TITLES,fK as CREATE_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,fL as CREATE_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,fM as CREATE_NOISY_AUTO_RULE_DRAWER_TITLE,aO as DEFAULT_CLUSTER_ID,aN as DEFAULT_CLUSTER_NAME,dp as DEFAULT_DATA_STREAM_NAME,dY as DESC_DURATION,dX as DESC_ERRORS,d$ as DESC_OPERATION,fN as DESC_PERCENTAGE_HIGHLY_RELEVANT,au as DESC_PERCENTAGE_NOISY,eu as DESC_RULE_TYPE,eC as DESC_SOURCE_SCOPE,aG as DESTINATION_CATEGORIES,an as DISPLAY_LANGUAGES,D as DISPLAY_TITLES,af as DOCS_BASE_URL,y as DestinationCategoryTypes,bG as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_SUBTITLE,bH as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,bE as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_SUBTITLE,bF as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,bI as EDIT_NOISY_AUTO_RULE_DRAWER_SUBTITLE,bJ as EDIT_NOISY_AUTO_RULE_DRAWER_TITLE,bA as EDIT_TITLES,eb as EMPTY_VALUE,a9 as EXTRACTION_FORMAT_COPY,a6 as EXTRACT_ATTRIBUTE_FORM,dz as FILTER_TYPE_ALL,v as FORM_ALERTS,I as INSTRUMENTATION_RULE_OPTIONS,dZ as LABEL_CUSTOM_DURATION,az as LABEL_CUSTOM_PERCENTAGE,ax as LABEL_DISABLED,dy as LABEL_DISABLED_RULE,el as LABEL_DROP_ALL,ar as LABEL_DROP_AT_MOST,aw as LABEL_ENABLED,e4 as LABEL_HTTP_ROUTE,e6 as LABEL_HTTP_ROUTE_PREFIX,e8 as LABEL_KAFKA_TOPIC,em as LABEL_KEEP_ALL,ei as LABEL_KEEP_AT_LEAST,ej as LABEL_KEEP_AT_MOST,eh as LABEL_KEEP_PERCENTAGE,dW as LABEL_KEEP_TRACES_DURATION,dU as LABEL_KEEP_TRACES_ERRORS,e7 as LABEL_METHOD,ep as LABEL_NOTE,dS as LABEL_NO_PREVIEW,ea as LABEL_OPERATION_TYPE,fO as LABEL_RULE_DISABLED,fP as LABEL_RULE_ENABLED,en as LABEL_RULE_NAME,eo as LABEL_RULE_TYPE,ek as LABEL_SAMPLE,e1 as LABEL_SERVER_ADDRESS,e3 as LABEL_TEMPLATED_PATH,e5 as LABEL_TEMPLATED_PATH_PREFIX,bn as LANGUAGE_OPTIONS,d9 as MONITORS_OPTIONS,ew as NOTE_ENTIRE_CLUSTER,eB as NOTE_SOURCE_SCOPE_LOGIC,fQ as OPENTELEMETRY_EBPF_DISTRO_OPTION,ed as OPERATION_ALL,ec as OPERATION_HTTP_CLIENT,e9 as OPERATION_HTTP_SERVER,ee as OPERATION_KAFKA_CONSUMER,ef as OPERATION_KAFKA_PRODUCER,bm as OTEL_DISTRO_NAME_OPTIONS,eg as PERCENTAGE_SECTION_DESCRIPTIONS,er as PLACEHOLDER_NOTE,e2 as PLACEHOLDER_ROUTE,eq as PLACEHOLDER_RULE_NAME,eE as PLACEHOLDER_SEARCH_SOURCE,e0 as PLACEHOLDER_SERVER_ADDRESS,b5 as PROCESS_ATTRIBUTE_NAMES,a0 as REGEX_TESTER_DRAWER,av as SAMPLING_AUTO_RULE_TITLE,dH as SAMPLING_BTN_CREATE_RULE,dF as SAMPLING_BTN_DOCS,dG as SAMPLING_BTN_REFRESH,at as SAMPLING_COST_REDUCTION_AUTO_RULE_TITLE,dK as SAMPLING_DELETE_MODAL_APPROVE,dL as SAMPLING_DELETE_MODAL_CANCEL,dM as SAMPLING_DELETE_MODAL_DESCRIPTION,dN as SAMPLING_DELETE_MODAL_TITLE,bL as SAMPLING_DRAWER_WIDTH,dE as SAMPLING_DUPLICATE_RULE_WARNING,aq as SAMPLING_HIGHLY_RELEVANT_AUTO_RULE_TITLE,cC as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_1,cD as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_2,cE as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_3,cF as SAMPLING_ONBOARDING_ADVANCED_LEFT_TITLE,cG as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_1,cH as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_2,cI as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_3,cJ as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_4,cK as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_5,cL as SAMPLING_ONBOARDING_ADVANCED_RIGHT_TITLE,cN as SAMPLING_ONBOARDING_ADVANCED_SUBTITLE,cM as SAMPLING_ONBOARDING_ADVANCED_TITLE,d2 as SAMPLING_ONBOARDING_AMBIENT_LABEL,c8 as SAMPLING_ONBOARDING_BTN_GO_TO,bV as SAMPLING_ONBOARDING_BTN_NEXT,cB as SAMPLING_ONBOARDING_BTN_READ_MORE,cj as SAMPLING_ONBOARDING_BTN_SKIP,ck as SAMPLING_ONBOARDING_BTN_START,cO as SAMPLING_ONBOARDING_COMMON_BANNER,d1 as SAMPLING_ONBOARDING_COMMON_RULES_SECTION,cR as SAMPLING_ONBOARDING_DROP_DESCRIPTION,cQ as SAMPLING_ONBOARDING_DROP_SUBTITLE,cP as SAMPLING_ONBOARDING_DROP_TITLE,cU as SAMPLING_ONBOARDING_ERROR_PRESET_NAME,cT as SAMPLING_ONBOARDING_ERROR_PRESET_TOGGLE_LABEL,cX as SAMPLING_ONBOARDING_KEEP_DESCRIPTION,cW as SAMPLING_ONBOARDING_KEEP_SUBTITLE,cV as SAMPLING_ONBOARDING_KEEP_TITLE,cY as SAMPLING_ONBOARDING_KEEP_USE_CASE_1,cZ as SAMPLING_ONBOARDING_KEEP_USE_CASE_2,c_ as SAMPLING_ONBOARDING_KEEP_USE_CASE_3,c$ as SAMPLING_ONBOARDING_KEEP_USE_CASE_4,d0 as SAMPLING_ONBOARDING_KEEP_USE_CASE_5,c0 as SAMPLING_ONBOARDING_NOISY_BANNER,bY as SAMPLING_ONBOARDING_NOISY_DESCRIPTION,b$ as SAMPLING_ONBOARDING_NOISY_PRESET_NAME,bZ as SAMPLING_ONBOARDING_NOISY_PRESET_SECTION,b_ as SAMPLING_ONBOARDING_NOISY_PRESET_TOGGLE_LABEL,bX as SAMPLING_ONBOARDING_NOISY_SUBTITLE,bW as SAMPLING_ONBOARDING_NOISY_TITLE,cS as SAMPLING_ONBOARDING_PRESET_RULES_SECTION,bU as SAMPLING_ONBOARDING_RECOMMENDED_BADGE,cy as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_BADGE,cz as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_DESC,cA as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_NAME,cv as SAMPLING_ONBOARDING_STRATEGY_DROP_BADGE,ct as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_1,cu as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_2,cw as SAMPLING_ONBOARDING_STRATEGY_DROP_DESC,cx as SAMPLING_ONBOARDING_STRATEGY_DROP_NAME,cq as SAMPLING_ONBOARDING_STRATEGY_KEEP_BADGE,co as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_1,cp as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_2,cr as SAMPLING_ONBOARDING_STRATEGY_KEEP_DESC,cs as SAMPLING_ONBOARDING_STRATEGY_KEEP_NAME,cn as SAMPLING_ONBOARDING_STRATEGY_KEEP_WARNING,cm as SAMPLING_ONBOARDING_STRATEGY_SUBTITLE,cl as SAMPLING_ONBOARDING_STRATEGY_TITLE,c5 as SAMPLING_ONBOARDING_SUCCESS_BULLET_1,c6 as SAMPLING_ONBOARDING_SUCCESS_BULLET_2,c7 as SAMPLING_ONBOARDING_SUCCESS_BULLET_3,c4 as SAMPLING_ONBOARDING_SUCCESS_INTRO,c3 as SAMPLING_ONBOARDING_SUCCESS_SUBTITLE,c2 as SAMPLING_ONBOARDING_SUCCESS_TITLE,ci as SAMPLING_ONBOARDING_WELCOME_BANNER,cb as SAMPLING_ONBOARDING_WELCOME_INTRO,cc as SAMPLING_ONBOARDING_WELCOME_STAGE_1_DESC,cd as SAMPLING_ONBOARDING_WELCOME_STAGE_1_TITLE,ce as SAMPLING_ONBOARDING_WELCOME_STAGE_2_DESC,cf as SAMPLING_ONBOARDING_WELCOME_STAGE_2_TITLE,cg as SAMPLING_ONBOARDING_WELCOME_STAGE_3_DESC,ch as SAMPLING_ONBOARDING_WELCOME_STAGE_3_TITLE,ca as SAMPLING_ONBOARDING_WELCOME_SUBTITLE,c9 as SAMPLING_ONBOARDING_WELCOME_TITLE,dI as SAMPLING_PAGE_DESCRIPTION,dJ as SAMPLING_PAGE_TITLE,eG as SCOPE_AND_LABEL,eF as SCOPE_GROUP_ANY_OF_HINT,eA as SCOPE_GROUP_LANGUAGES_TITLE,ez as SCOPE_GROUP_NAMESPACES_TITLE,ex as SCOPE_GROUP_SOURCES_TITLE,dV as SECTION_DURATION,dT as SECTION_ERRORS,as as SECTION_KEEP_PERCENTAGE,d_ as SECTION_OPERATION,ev as SECTION_SAMPLING_PREVIEW,eH as SECTION_SOURCE_SCOPE,d8 as STORAGE_KEYS,dA as TITLE_NO_RESULTS,dC as TITLE_NO_RULES,fR as TOKEN_ABOUT_TO_EXPIRE,es as TOOLTIP_NOTE,ey as UNKNOWN_SOURCE_LABEL,bB as UNNAMED_RULE,dD as getNoResultsSubTitle}from"./chunks/ui-components-DNrEjxrR.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-Be0cOokr.js";import"prism-react-renderer";import"react-error-boundary";import"react-dom";import"virtua";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
2
|
import { type FetchK8sManifestFn, type Workload } from '@/types';
|
|
3
|
-
export interface
|
|
3
|
+
export interface DebugProps {
|
|
4
4
|
source: Workload;
|
|
5
5
|
fetchK8sManifest: FetchK8sManifestFn;
|
|
6
6
|
}
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const Debug: FC<DebugProps>;
|
|
@@ -7,5 +7,6 @@ export * from './edit-config-drawer';
|
|
|
7
7
|
export * from './edit-destination-drawer';
|
|
8
8
|
export * from './edit-rule-drawer';
|
|
9
9
|
export * from './edit-source-drawer';
|
|
10
|
+
export * from './regex-tester-drawer';
|
|
10
11
|
export * from './sampling-rule-drawer';
|
|
11
12
|
export * from './system-drawer';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type FC, type TextareaHTMLAttributes } from 'react';
|
|
2
|
+
export type RegexTokenKind = 'group' | 'anchor-quantifier' | 'class-bracket' | 'class-content' | 'literal' | 'alternation';
|
|
3
|
+
interface RegexToken {
|
|
4
|
+
text: string;
|
|
5
|
+
kind: RegexTokenKind;
|
|
6
|
+
}
|
|
7
|
+
export declare const tokenizeRegex: (pattern: string) => RegexToken[];
|
|
8
|
+
export declare const HighlightedRegex: FC<{
|
|
9
|
+
pattern: string;
|
|
10
|
+
'data-id'?: string;
|
|
11
|
+
}>;
|
|
12
|
+
export interface HighlightedTextAreaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'value' | 'onChange'> {
|
|
13
|
+
regex: string;
|
|
14
|
+
value: string;
|
|
15
|
+
onChange: (next: string) => void;
|
|
16
|
+
/** Minimum height in pixels for the editor (and the mirror behind it). */
|
|
17
|
+
minHeight?: number;
|
|
18
|
+
}
|
|
19
|
+
export declare const HighlightedTextArea: FC<HighlightedTextAreaProps>;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
export interface RegexTesterDrawerProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
regex: string;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
/**
|
|
7
|
+
* Optional pre-populated test string. Useful for storybook demos and could later
|
|
8
|
+
* back a "test with last seen value" flow. Only applied on the first render; further
|
|
9
|
+
* edits are owned by the drawer's internal state until close.
|
|
10
|
+
*/
|
|
11
|
+
initialTestString?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const RegexTesterDrawer: FC<RegexTesterDrawerProps>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { type FC
|
|
1
|
+
import { type FC } from 'react';
|
|
2
2
|
import { type Connection, type GetEffectiveConfigFunc, type ApplyConfigurationsFunc, type GetAllClusterSnapshots, type PersistSourcesFunc, type GetDestinationCategoriesFunc, type GetPotentialDestinationsFunc, type CreateDestinationFunc, type UpdateDestinationFunc, type CreateActionFunc, type CreateInstrumentationRuleFunc, TestConnectionFunc } from '@/types';
|
|
3
3
|
export interface CentralConnectionsProps {
|
|
4
|
-
tableRowsMaxHeight: CSSProperties['maxHeight'];
|
|
5
4
|
connections?: Connection[];
|
|
6
5
|
getConnections: () => Promise<Connection[]>;
|
|
7
6
|
onClickConnection: (connection: Connection) => void;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type FC } from 'react';
|
|
2
2
|
import { type Metrics } from '@/types';
|
|
3
3
|
export interface ColumnsProps {
|
|
4
|
-
height?: CSSProperties['height'];
|
|
5
4
|
metrics: Metrics;
|
|
6
5
|
refetchSources: () => void;
|
|
7
6
|
refetchDestinations: () => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
import { type CreateActionFunc, type CreateDestinationFunc, type CreateInstrumentationRuleFunc, type DeleteActionFunc, type DeleteDestinationFunc, type DeleteInstrumentationRuleFunc, type EffectiveConfig, type EnableProfilingFunc, type FetchNamespacesWithWorkloads, type FetchPeerSourcesFunc, type FetchProfilingSlotsFunc, type FetchSourceByIdFunc, type FetchSourceProfilingFunc, type GetDestinationCategoriesFunc, type GetPotentialDestinationsFunc, type PersistSourcesFunc, type RecoverFromRollbackFunc, type RestartPodFunc, type RestartWorkloadsFunc, type TestConnectionFunc, type UpdateActionFunc, type UpdateDestinationFunc, type UpdateInstrumentationRuleFunc, type UpdateSourceFunc, type FetchK8sManifestFn } from '@/types';
|
|
2
|
+
import { type CreateActionFunc, type CreateDestinationFunc, type CreateInstrumentationRuleFunc, type DeleteActionFunc, type DeleteDestinationFunc, type DeleteInstrumentationRuleFunc, type EffectiveConfig, type EnableProfilingFunc, type FetchNamespacesWithWorkloads, type FetchPeerSourcesFunc, type FetchProfilingSlotsFunc, type FetchSourceByIdFunc, type FetchSourceProfilingFunc, type GetDestinationCategoriesFunc, type GetPotentialDestinationsFunc, type PersistSourcesFunc, type RecoverFromRollbackFunc, type RestartPodFunc, type RestartWorkloadsFunc, type TestConnectionFunc, type UpdateActionFunc, type UpdateDestinationFunc, type UpdateInstrumentationRuleFunc, type UpdateSourceFunc, type WorkloadId, type FetchK8sManifestFn } from '@/types';
|
|
3
3
|
export interface DrawersProps {
|
|
4
4
|
effectiveConfig?: EffectiveConfig;
|
|
5
5
|
fetchNamespacesWithWorkloads: FetchNamespacesWithWorkloads;
|
|
@@ -14,6 +14,9 @@ export interface DrawersProps {
|
|
|
14
14
|
fetchProfilingSlots: FetchProfilingSlotsFunc;
|
|
15
15
|
fetchSourceProfiling: FetchSourceProfilingFunc;
|
|
16
16
|
fetchK8sManifest: FetchK8sManifestFn;
|
|
17
|
+
workloads?: {
|
|
18
|
+
id: WorkloadId;
|
|
19
|
+
}[];
|
|
17
20
|
getDestinationCategories: GetDestinationCategoriesFunc;
|
|
18
21
|
getPotentialDestinations: GetPotentialDestinationsFunc;
|
|
19
22
|
testConnection: TestConnectionFunc;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
2
|
import { type ColumnsProps } from './columns';
|
|
3
3
|
import { type DrawersProps } from './drawers';
|
|
4
|
-
import { CSSProperties } from 'styled-components';
|
|
5
4
|
import { type DataStreamSelectProps } from './data-stream-select';
|
|
6
5
|
export interface OverviewProps extends DrawersProps, DataStreamSelectProps {
|
|
7
|
-
columnsMaxHeight: CSSProperties['maxHeight'];
|
|
8
6
|
metrics: ColumnsProps['metrics'];
|
|
9
7
|
refetchSources: ColumnsProps['refetchSources'];
|
|
10
8
|
refetchDestinations: ColumnsProps['refetchDestinations'];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { type FC
|
|
1
|
+
import { type FC } from 'react';
|
|
2
2
|
import { Tabs } from './enum';
|
|
3
|
-
import { type GetExtendedPodInfo, type GetGatewayInfo, type GetGatewayPods, type GetNodeCollectorInfo, type GetNodeCollectorPods } from '@/types';
|
|
3
|
+
import { type GetExtendedPodInfo, type GetGatewayInfo, type GetGatewayPods, type GetNodeCollectorInfo, type GetNodeCollectorPods, type EffectiveConfig } from '@/types';
|
|
4
4
|
export interface PipelineCollectorsProps {
|
|
5
5
|
minSupportedVersion?: number;
|
|
6
|
-
|
|
6
|
+
effectiveConfig?: Pick<EffectiveConfig, 'odigosOwnTelemetryStore'> | null;
|
|
7
7
|
getGatewayInfo: GetGatewayInfo;
|
|
8
8
|
getGatewayPods: GetGatewayPods;
|
|
9
9
|
getNodeCollectorInfo: GetNodeCollectorInfo;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { type FC
|
|
1
|
+
import { type FC } from 'react';
|
|
2
2
|
import { type GetExtendedPodInfo, type PodInfo } from '@/types';
|
|
3
3
|
export interface PodsInfoProps {
|
|
4
4
|
isLoading?: boolean;
|
|
5
|
-
tableRowsMaxHeight: CSSProperties['maxHeight'];
|
|
6
5
|
pods: PodInfo[];
|
|
7
6
|
getExtendedPodInfo: GetExtendedPodInfo;
|
|
7
|
+
withSpanDropRate: boolean;
|
|
8
8
|
}
|
|
9
9
|
export declare const PodsInfo: FC<PodsInfoProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ColoredSpanPart } from '@/snippets/_v2/colored-span';
|
|
2
2
|
import type { SamplingRuleItem, SamplingRuleCategory, HighlyRelevantBadgeType, ViewRuleData } from '@/types';
|
|
3
|
-
import type { NoisyOperationRule, HighlyRelevantOperationRule, CostReductionRule, SourcesScopesInput, HeadSamplingOperationMatcher, TailSamplingOperationMatcher, SamplingRules } from '@/types';
|
|
3
|
+
import type { NoisyOperationRule, HighlyRelevantOperationRule, CostReductionRule, SourcesScopes, SourcesScopesInput, HeadSamplingOperationMatcher, TailSamplingOperationMatcher, SamplingRules } from '@/types';
|
|
4
4
|
export declare enum SamplingCategory {
|
|
5
5
|
Noisy = "noisy",
|
|
6
6
|
HighlyRelevant = "highly-relevant",
|
|
@@ -14,6 +14,7 @@ export declare const SAMPLING_SEGMENT_OPTIONS: {
|
|
|
14
14
|
export declare const SAMPLING_CATEGORY_NOTES: Record<SamplingCategory, string>;
|
|
15
15
|
export declare const SAMPLING_CATEGORY_LIST_TITLES: Record<SamplingCategory, string>;
|
|
16
16
|
export declare const CATEGORY_TO_RULE_CATEGORY: Record<SamplingCategory, SamplingRuleCategory>;
|
|
17
|
+
export declare function buildScopeParts(scopes: SourcesScopes | null | undefined): ColoredSpanPart[];
|
|
17
18
|
export declare function buildNoisySummary(rule: NoisyOperationRule): ColoredSpanPart[];
|
|
18
19
|
export declare function buildHighlyRelevantSummary(rule: HighlyRelevantOperationRule): ColoredSpanPart[];
|
|
19
20
|
export declare function buildCostReductionSummary(rule: CostReductionRule): ColoredSpanPart[];
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { type FC
|
|
1
|
+
import { type FC } from 'react';
|
|
2
2
|
import type { SamplingRuleItem } from '@/types';
|
|
3
3
|
export interface RulesTableProps {
|
|
4
4
|
title: string;
|
|
5
5
|
items: SamplingRuleItem[];
|
|
6
6
|
isLoading: boolean;
|
|
7
7
|
showTypeFilter: boolean;
|
|
8
|
-
tableRowsMaxHeight: CSSProperties['maxHeight'];
|
|
9
8
|
onRuleClick: (item: SamplingRuleItem) => void;
|
|
10
9
|
onCreateRule: () => void;
|
|
11
10
|
onEditRule: (ruleId: string, samplingId: string) => void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { CSSProperties } from 'react';
|
|
2
1
|
import type { CostReductionRuleInput, HighlyRelevantOperationRuleInput, NoisyOperationRuleInput, SamplingRules, WorkloadId, SamplingRuleCategory, SamplingRuleItem, SamplingRulesK8sHealthConfig } from '@/types';
|
|
3
2
|
export interface SamplingRulesListProps {
|
|
4
3
|
title: string;
|
|
@@ -17,7 +16,6 @@ export interface SamplingRulesProps {
|
|
|
17
16
|
samplingRules: SamplingRules[];
|
|
18
17
|
k8sHealthProbesConfig: SamplingRulesK8sHealthConfig | null;
|
|
19
18
|
loading: boolean;
|
|
20
|
-
tableRowsMaxHeight: CSSProperties['maxHeight'];
|
|
21
19
|
fetchSamplingRules: () => void;
|
|
22
20
|
createNoisyOperationRule: (samplingId: string, rule: NoisyOperationRuleInput) => Promise<void> | void;
|
|
23
21
|
updateNoisyOperationRule: (samplingId: string, ruleId: string, rule: NoisyOperationRuleInput) => Promise<void> | void;
|
|
@@ -2,7 +2,6 @@ import { type FC } from 'react';
|
|
|
2
2
|
import { type ConfigYaml, type EffectiveConfig, type LocalUiConfigInput } from '@/types';
|
|
3
3
|
export interface SettingsProps {
|
|
4
4
|
minSupportedVersion?: number;
|
|
5
|
-
pageHeightOffset?: number;
|
|
6
5
|
configYamls: ConfigYaml[];
|
|
7
6
|
configYamlsLoading: boolean;
|
|
8
7
|
effectiveConfig: EffectiveConfig | null;
|