@odigos/ui-kit 0.0.286 → 0.0.287

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 (169) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/docs/api-context.md +1 -1
  3. package/lib/chunks/helpers-CtkwQ3Wc.js +9 -0
  4. package/lib/chunks/index-BlYPxLja.js +311 -0
  5. package/lib/chunks/source-instrument-form-context-Bg6JzU76.js +5 -0
  6. package/lib/chunks/ui-components-CjgsN17j.js +1943 -0
  7. package/lib/components/_cards/data-card/index.d.ts +6 -1
  8. package/lib/components/_cards/text-card/index.d.ts +3 -0
  9. package/lib/components/button/index.d.ts +3 -1
  10. package/lib/components/drawer/header/index.d.ts +2 -0
  11. package/lib/components/drop-data/index.d.ts +4 -10
  12. package/lib/components/hover-actions/index.d.ts +1 -1
  13. package/lib/components/index.d.ts +4 -0
  14. package/lib/components/info-row/index.d.ts +11 -0
  15. package/lib/components/input/index.d.ts +2 -0
  16. package/lib/components/popup/index.d.ts +17 -0
  17. package/lib/components/select-window-hours/index.d.ts +17 -0
  18. package/lib/components/table/index.d.ts +10 -0
  19. package/lib/components/table/styled.d.ts +11 -0
  20. package/lib/components/table/table-rows/index.d.ts +6 -1
  21. package/lib/components/table/types.d.ts +11 -2
  22. package/lib/components/trace-view/index.d.ts +4 -0
  23. package/lib/components/trace-view/styled.d.ts +43 -0
  24. package/lib/components/trace-view/types.d.ts +46 -0
  25. package/lib/components.js +1 -1
  26. package/lib/constants/index.d.ts +1 -0
  27. package/lib/constants/instrumentation-rules/index.d.ts +2 -1
  28. package/lib/constants/strings/index.d.ts +14 -0
  29. package/lib/constants/url-templatization/index.d.ts +90 -0
  30. package/lib/constants.js +1 -1
  31. package/lib/containers/_drawers/edit-source-drawer/pods/containers-card/process-card.d.ts +1 -7
  32. package/lib/containers/_drawers/index.d.ts +3 -0
  33. package/lib/containers/_drawers/url-templatization-custom-template-drawer/destination-step.d.ts +16 -0
  34. package/lib/containers/_drawers/url-templatization-custom-template-drawer/index.d.ts +18 -0
  35. package/lib/containers/_drawers/url-templatization-default-rule-drawer/index.d.ts +14 -0
  36. package/lib/containers/_drawers/url-templatization-template-view-drawer/index.d.ts +9 -0
  37. package/lib/containers/central-connections/helpers.d.ts +8 -0
  38. package/lib/containers/central-connections/index.d.ts +1 -0
  39. package/lib/containers/index.d.ts +2 -0
  40. package/lib/containers/insights/consts.d.ts +6 -0
  41. package/lib/containers/insights/findings/drawer/anomaly/anomaly-blast-radius/animated-edge.d.ts +10 -0
  42. package/lib/containers/insights/findings/drawer/anomaly/anomaly-blast-radius/blast-radius-node.d.ts +6 -0
  43. package/lib/containers/insights/findings/drawer/anomaly/anomaly-blast-radius/helpers.d.ts +28 -0
  44. package/lib/containers/insights/findings/drawer/anomaly/anomaly-blast-radius/index.d.ts +7 -0
  45. package/lib/containers/insights/findings/drawer/anomaly/anomaly-blast-radius/types.d.ts +19 -0
  46. package/lib/containers/insights/findings/drawer/anomaly/anomaly-trace-compare/helpers.d.ts +15 -0
  47. package/lib/containers/insights/findings/drawer/anomaly/anomaly-trace-compare/index.d.ts +7 -0
  48. package/lib/containers/insights/findings/drawer/anomaly/index.d.ts +16 -0
  49. package/lib/containers/insights/findings/drawer/anomaly/why-this-fired/index.d.ts +6 -0
  50. package/lib/containers/insights/findings/drawer/helpers.d.ts +9 -0
  51. package/lib/containers/insights/findings/drawer/index.d.ts +6 -0
  52. package/lib/containers/insights/findings/drawer/violation/index.d.ts +7 -0
  53. package/lib/containers/insights/findings/drawer/violation/violation-trace-view/index.d.ts +8 -0
  54. package/lib/containers/insights/findings/helpers.d.ts +57 -0
  55. package/lib/containers/insights/findings/index.d.ts +2 -0
  56. package/lib/containers/insights/findings/resolve-findings/index.d.ts +11 -0
  57. package/lib/containers/insights/index.d.ts +6 -0
  58. package/lib/containers/insights/insights-context.d.ts +44 -0
  59. package/lib/containers/insights/overview/contained-table-and-heading/index.d.ts +19 -0
  60. package/lib/containers/insights/overview/index.d.ts +6 -0
  61. package/lib/containers/insights/settings-and-configurations/constants.d.ts +16 -0
  62. package/lib/containers/insights/settings-and-configurations/content-panel/index.d.ts +11 -0
  63. package/lib/containers/insights/settings-and-configurations/index.d.ts +2 -0
  64. package/lib/containers/insights/settings-and-configurations/menu-config.d.ts +24 -0
  65. package/lib/containers/insights/settings-and-configurations/panels/detection/constants.d.ts +40 -0
  66. package/lib/containers/insights/settings-and-configurations/panels/detection/create-override-panel.d.ts +14 -0
  67. package/lib/containers/insights/settings-and-configurations/panels/detection/index.d.ts +2 -0
  68. package/lib/containers/insights/settings-and-configurations/panels/detection/mappers.d.ts +12 -0
  69. package/lib/containers/insights/settings-and-configurations/panels/detection/mock.d.ts +4 -0
  70. package/lib/containers/insights/settings-and-configurations/panels/detection/policies-menu.d.ts +10 -0
  71. package/lib/containers/insights/settings-and-configurations/panels/detection/policy-editor.d.ts +8 -0
  72. package/lib/containers/insights/settings-and-configurations/panels/detection/policy-list-item.d.ts +8 -0
  73. package/lib/containers/insights/settings-and-configurations/panels/detection/risk-levels.d.ts +15 -0
  74. package/lib/containers/insights/settings-and-configurations/panels/detection/risk-model-drawer/constants.d.ts +16 -0
  75. package/lib/containers/insights/settings-and-configurations/panels/detection/risk-model-drawer/default-catalog.d.ts +3 -0
  76. package/lib/containers/insights/settings-and-configurations/panels/detection/risk-model-drawer/helpers.d.ts +30 -0
  77. package/lib/containers/insights/settings-and-configurations/panels/detection/risk-model-drawer/index.d.ts +10 -0
  78. package/lib/containers/insights/settings-and-configurations/panels/detection/signal-weights-panel.d.ts +13 -0
  79. package/lib/containers/insights/settings-and-configurations/panels/detection/signal-weights.d.ts +17 -0
  80. package/lib/containers/insights/settings-and-configurations/panels/detection/types.d.ts +29 -0
  81. package/lib/containers/insights/settings-and-configurations/panels/guardrails/constants.d.ts +35 -0
  82. package/lib/containers/insights/settings-and-configurations/panels/guardrails/create-panel.d.ts +13 -0
  83. package/lib/containers/insights/settings-and-configurations/panels/guardrails/edit-panel.d.ts +10 -0
  84. package/lib/containers/insights/settings-and-configurations/panels/guardrails/facet-section.d.ts +14 -0
  85. package/lib/containers/insights/settings-and-configurations/panels/guardrails/guardrail-list-item.d.ts +8 -0
  86. package/lib/containers/insights/settings-and-configurations/panels/guardrails/guardrails-menu.d.ts +9 -0
  87. package/lib/containers/insights/settings-and-configurations/panels/guardrails/index.d.ts +2 -0
  88. package/lib/containers/insights/settings-and-configurations/panels/guardrails/mappers.d.ts +23 -0
  89. package/lib/containers/insights/settings-and-configurations/panels/guardrails/types.d.ts +10 -0
  90. package/lib/containers/insights/settings-and-configurations/panels/learning/constants.d.ts +82 -0
  91. package/lib/containers/insights/settings-and-configurations/panels/learning/create-override-panel.d.ts +21 -0
  92. package/lib/containers/insights/settings-and-configurations/panels/learning/index.d.ts +2 -0
  93. package/lib/containers/insights/settings-and-configurations/panels/learning/mappers.d.ts +38 -0
  94. package/lib/containers/insights/settings-and-configurations/panels/learning/policies-menu.d.ts +10 -0
  95. package/lib/containers/insights/settings-and-configurations/panels/learning/policy-editor.d.ts +9 -0
  96. package/lib/containers/insights/settings-and-configurations/panels/learning/policy-list-item.d.ts +8 -0
  97. package/lib/containers/insights/settings-and-configurations/panels/learning/types.d.ts +31 -0
  98. package/lib/containers/insights/settings-and-configurations/panels/storage/constants.d.ts +52 -0
  99. package/lib/containers/insights/settings-and-configurations/panels/storage/formatters.d.ts +5 -0
  100. package/lib/containers/insights/settings-and-configurations/panels/storage/index.d.ts +2 -0
  101. package/lib/containers/insights/settings-and-configurations/panels/storage/layout.d.ts +18 -0
  102. package/lib/containers/insights/settings-and-configurations/panels/storage/mappers.d.ts +27 -0
  103. package/lib/containers/insights/settings-and-configurations/panels/system/constants.d.ts +31 -0
  104. package/lib/containers/insights/settings-and-configurations/panels/system/index.d.ts +2 -0
  105. package/lib/containers/insights/settings-and-configurations/settings-menu/category-header.d.ts +8 -0
  106. package/lib/containers/insights/settings-and-configurations/settings-menu/index.d.ts +7 -0
  107. package/lib/containers/insights/transactions/drawer/baselines/helpers.d.ts +16 -0
  108. package/lib/containers/insights/transactions/drawer/baselines/index.d.ts +5 -0
  109. package/lib/containers/insights/transactions/drawer/index.d.ts +2 -0
  110. package/lib/containers/insights/transactions/drawer/observations/helpers.d.ts +11 -0
  111. package/lib/containers/insights/transactions/drawer/observations/index.d.ts +5 -0
  112. package/lib/containers/insights/transactions/helpers.d.ts +34 -0
  113. package/lib/containers/insights/transactions/index.d.ts +2 -0
  114. package/lib/containers/url-templatization/converters.d.ts +43 -0
  115. package/lib/containers/url-templatization/custom-templates-list.d.ts +16 -0
  116. package/lib/containers/url-templatization/default-rules-list.d.ts +10 -0
  117. package/lib/containers/url-templatization/helpers.d.ts +17 -0
  118. package/lib/containers/url-templatization/index.d.ts +5 -0
  119. package/lib/containers/url-templatization/scope-summary.d.ts +8 -0
  120. package/lib/containers/url-templatization/template-path.d.ts +8 -0
  121. package/lib/containers.js +1862 -286
  122. package/lib/contexts/odigos-api/capabilities.d.ts +2 -0
  123. package/lib/contexts/odigos-api/hooks/use-insights-api.d.ts +156 -0
  124. package/lib/contexts/odigos-api/index.d.ts +2 -1
  125. package/lib/contexts/odigos-api/internal/notify.d.ts +4 -3
  126. package/lib/contexts/odigos-api/types.d.ts +206 -1
  127. package/lib/contexts/odigos-api/use-odigos-api.d.ts +2 -0
  128. package/lib/contexts/odigos-context.d.ts +3 -3
  129. package/lib/contexts.js +1 -1
  130. package/lib/functions/index.d.ts +1 -0
  131. package/lib/functions/parse-raw-otlp/index.d.ts +43 -0
  132. package/lib/functions.js +1 -1
  133. package/lib/hooks/index.d.ts +1 -0
  134. package/lib/hooks/useAnchoredPopup.d.ts +44 -0
  135. package/lib/hooks/useCopy.d.ts +2 -3
  136. package/lib/hooks/useOnClickOutside.d.ts +1 -0
  137. package/lib/hooks/useTimeAgo.d.ts +4 -0
  138. package/lib/hooks.js +1 -1
  139. package/lib/icons/common/clock-icon/index.d.ts +2 -0
  140. package/lib/icons/common/index.d.ts +4 -0
  141. package/lib/icons/common/insights-findings-icon/index.d.ts +2 -0
  142. package/lib/icons/common/insights-transactions-icon/index.d.ts +2 -0
  143. package/lib/icons/common/threat-detection-icon/index.d.ts +2 -0
  144. package/lib/icons/overview/index.d.ts +2 -0
  145. package/lib/icons/overview/insights-icon/index.d.ts +2 -0
  146. package/lib/icons/overview/url-templatization-icon/index.d.ts +2 -0
  147. package/lib/icons.js +1 -1
  148. package/lib/snippets/actions/index.d.ts +8 -5
  149. package/lib/snippets/code-modal/index.d.ts +9 -0
  150. package/lib/snippets/index.d.ts +1 -0
  151. package/lib/snippets/trace-modal/index.d.ts +8 -0
  152. package/lib/snippets/upgrade-modal/index.d.ts +1 -1
  153. package/lib/snippets/wide-drawer/index.d.ts +6 -0
  154. package/lib/snippets.js +1 -1
  155. package/lib/store.js +1 -1
  156. package/lib/theme/palettes/index.d.ts +7 -1
  157. package/lib/theme.js +1 -1
  158. package/lib/types/actions/index.d.ts +12 -0
  159. package/lib/types/common/index.d.ts +9 -2
  160. package/lib/types/index.d.ts +1 -0
  161. package/lib/types/insights/index.d.ts +598 -0
  162. package/lib/types/instrumentation-rules/index.d.ts +1 -0
  163. package/lib/types.js +1 -1
  164. package/lib/visuals.js +1 -1
  165. package/package.json +1 -1
  166. package/lib/chunks/helpers-C5bkjRbO.js +0 -9
  167. package/lib/chunks/index-DBZ1mLhG.js +0 -298
  168. package/lib/chunks/source-instrument-form-context-CnRKQq6W.js +0 -5
  169. package/lib/chunks/ui-components-Ci-Vq1Dl.js +0 -1620
@@ -1,6 +1,7 @@
1
1
  import { type ReactNode, type FC, type CSSProperties } from 'react';
2
- import { DefaultTheme } from 'styled-components';
2
+ import { type TagProps } from '../../tag';
3
3
  import { type BadgeProps } from '../../badge';
4
+ import { DefaultTheme } from 'styled-components';
4
5
  import { type ActionsProps } from '../../../snippets/actions';
5
6
  import { type DropDataProps } from '../../drop-data';
6
7
  import { type RichTitleProps } from '../../../snippets/rich-title';
@@ -10,6 +11,7 @@ export interface DataCardProps {
10
11
  width?: CSSProperties['width'];
11
12
  fullHeight?: boolean;
12
13
  moreSpacing?: boolean;
14
+ overflow?: CSSProperties['overflow'];
13
15
  richTitle?: RichTitleProps;
14
16
  withCollapse?: boolean;
15
17
  collapseIsDefaultOpen?: boolean;
@@ -32,8 +34,11 @@ export interface DataCardProps {
32
34
  labelTooltip?: string;
33
35
  withCopy?: boolean;
34
36
  badge?: BadgeProps;
37
+ tag?: TagProps;
35
38
  }[];
36
39
  children?: ReactNode;
40
+ onClick?: () => void;
41
+ clickStylesRemainActive?: boolean;
37
42
  }
38
43
  export declare const DataCard: FC<DataCardProps>;
39
44
  export {};
@@ -1,12 +1,15 @@
1
1
  import { type FC } from 'react';
2
+ import { type DefaultTheme } from 'styled-components';
2
3
  interface Cell {
3
4
  value: string;
4
5
  label?: string;
5
6
  isLoading?: boolean;
6
7
  }
8
+ type BgTint = keyof DefaultTheme['v2']['colors']['silver'];
7
9
  export interface TextCardProps {
8
10
  title: string;
9
11
  cells: Cell[];
12
+ bgTint?: BgTint;
10
13
  }
11
14
  export declare const TextCard: FC<TextCardProps>;
12
15
  export {};
@@ -1,4 +1,4 @@
1
- import React, { type ButtonHTMLAttributes, type MouseEvent } from 'react';
1
+ import React, { type ButtonHTMLAttributes, type MouseEvent, type CSSProperties } from 'react';
2
2
  import type { SVG, SVGProps } from '../../types';
3
3
  export declare enum ButtonVariants {
4
4
  Primary = "primary",
@@ -19,11 +19,13 @@ export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement
19
19
  rightIcon?: SVG;
20
20
  variant?: ButtonVariants;
21
21
  size?: ButtonSize;
22
+ isSelected?: boolean;
22
23
  iconSize?: SVGProps['size'];
23
24
  loading?: boolean;
24
25
  fullWidth?: boolean;
25
26
  withShadow?: boolean;
26
27
  textColor?: string;
28
+ textAlign?: CSSProperties['textAlign'];
27
29
  onClick?: (e: MouseEvent<HTMLButtonElement>) => unknown | ((e: MouseEvent<HTMLButtonElement>) => Promise<unknown>);
28
30
  }
29
31
  export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
@@ -1,5 +1,6 @@
1
1
  import { type FC } from 'react';
2
2
  import type { SVG } from '../../../types';
3
+ import { type TagProps } from '../../tag';
3
4
  import { type BadgeProps } from '../../badge';
4
5
  import { type ToggleProps } from '../../toggle';
5
6
  import { type DropDataProps } from '../../drop-data';
@@ -9,6 +10,7 @@ export interface HeaderProps {
9
10
  title?: string;
10
11
  titleBadges?: BadgeProps[];
11
12
  subTitle?: string;
13
+ subTitleTags?: TagProps[];
12
14
  toggleProps?: ToggleProps;
13
15
  actions?: (DropDataProps['items'][number] & {
14
16
  active?: boolean;
@@ -1,14 +1,8 @@
1
1
  import { type FC, type CSSProperties, type ReactNode, type MouseEvent } from 'react';
2
2
  import type { SVG } from '../../types';
3
3
  import { type ButtonProps } from '../button';
4
- export declare enum DropDataAlignX {
5
- Left = "left",
6
- Right = "right"
7
- }
8
- export declare enum DropDataAlignY {
9
- Top = "top",
10
- Bottom = "bottom"
11
- }
4
+ import { PopupAlignX, PopupAlignY } from '../../hooks';
5
+ export { PopupAlignX as DropDataAlignX, PopupAlignY as DropDataAlignY };
12
6
  export interface DropDataOption<T = string> {
13
7
  id: T;
14
8
  label: string;
@@ -22,8 +16,8 @@ export interface DropDataProps {
22
16
  defaultOpen?: boolean;
23
17
  open?: boolean;
24
18
  onOpenChange?: (open: boolean) => void;
25
- alignX?: DropDataAlignX;
26
- alignY?: DropDataAlignY;
19
+ alignX?: PopupAlignX;
20
+ alignY?: PopupAlignY;
27
21
  items: (DropDataOption | null)[];
28
22
  selectedIds: DropDataOption['id'][];
29
23
  setSelectedIds: (ids: DropDataOption['id'][]) => void;
@@ -1,6 +1,6 @@
1
1
  import { type CSSProperties, type FC } from 'react';
2
2
  import { type ButtonProps } from '../button';
3
- export interface HoverAction extends Pick<ButtonProps, 'label' | 'leftIcon' | 'rightIcon' | 'loading' | 'disabled'> {
3
+ export interface HoverAction extends Pick<ButtonProps, 'label' | 'leftIcon' | 'rightIcon' | 'loading' | 'disabled' | 'variant'> {
4
4
  id: string;
5
5
  'data-id'?: string;
6
6
  onClick: () => void;
@@ -20,6 +20,7 @@ export * from './header';
20
20
  export * from './hover-actions';
21
21
  export * from './icon-button';
22
22
  export * from './icon-group';
23
+ export * from './info-row';
23
24
  export * from './input';
24
25
  export * from './input-list';
25
26
  export * from './input-table';
@@ -29,11 +30,13 @@ export * from './modal';
29
30
  export * from './navbar';
30
31
  export * from './no-data';
31
32
  export * from './note';
33
+ export * from './popup';
32
34
  export * from './radio';
33
35
  export * from './radio-card';
34
36
  export * from './scroll-y';
35
37
  export * from './search';
36
38
  export * from './segment';
39
+ export * from './select-window-hours';
37
40
  export * from './skeleton-loader';
38
41
  export * from './stepper';
39
42
  export * from './table';
@@ -42,6 +45,7 @@ export * from './textarea';
42
45
  export * from './time-input';
43
46
  export * from './toggle';
44
47
  export * from './tooltip';
48
+ export * from './trace-view';
45
49
  export * from './typography';
46
50
  export * from './typography-truncatable';
47
51
  export * from './warning-modal';
@@ -0,0 +1,11 @@
1
+ import { type FC } from 'react';
2
+ export interface InfoRowProps {
3
+ label: string;
4
+ value?: string | null;
5
+ isStandardLibrary?: boolean | null;
6
+ healthy?: boolean | null;
7
+ message?: string | null;
8
+ }
9
+ /** Single-line row height: 8px padding × 2 + XXS line-height (12+2). */
10
+ export declare const INFO_ROW_HEIGHT_PX = 30;
11
+ export declare const InfoRow: FC<InfoRowProps>;
@@ -9,6 +9,8 @@ export interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>,
9
9
  badge?: BadgeProps;
10
10
  leftIcon?: SVG;
11
11
  rightIcon?: SVG;
12
+ /** Static text rendered inside the control, after the value (e.g. a unit). */
13
+ suffix?: string;
12
14
  hasError?: boolean;
13
15
  maxWidth?: CSSProperties['maxWidth'];
14
16
  width?: CSSProperties['width'];
@@ -0,0 +1,17 @@
1
+ import { type FC, type ReactNode } from 'react';
2
+ import { type ButtonProps } from '../button';
3
+ import { PopupAlignX, PopupAlignY } from '../../hooks';
4
+ export { PopupAlignX, PopupAlignY };
5
+ export interface PopupProps {
6
+ defaultOpen?: boolean;
7
+ open?: boolean;
8
+ onOpenChange?: (open: boolean) => void;
9
+ alignX?: PopupAlignX;
10
+ alignY?: PopupAlignY;
11
+ buttonProps?: Omit<ButtonProps, 'onClick'>;
12
+ fullWidth?: boolean;
13
+ children?: ReactNode | ((props: {
14
+ close: () => void;
15
+ }) => ReactNode);
16
+ }
17
+ export declare const Popup: FC<PopupProps>;
@@ -0,0 +1,17 @@
1
+ import { type FC } from 'react';
2
+ import { type ButtonProps } from '../button';
3
+ declare const OPTIONS: {
4
+ label: string;
5
+ value: number;
6
+ }[];
7
+ export declare const TIME_WINDOW_DEFAULT_VALUE: number;
8
+ export declare const getWindowHoursButtonProps: (selectedHours?: number) => Omit<ButtonProps, "onClick">;
9
+ export interface SelectWindowHoursProps {
10
+ options?: typeof OPTIONS;
11
+ maxAllowedValue?: number;
12
+ defaultValue?: number;
13
+ onApply: (hours: number) => void;
14
+ onClose?: () => void;
15
+ }
16
+ export declare const SelectWindowHours: FC<SelectWindowHoursProps>;
17
+ export {};
@@ -6,6 +6,13 @@ export * from './types';
6
6
  export interface TableProps {
7
7
  variant: TableVariant;
8
8
  maxHeight?: CSSProperties['maxHeight'];
9
+ /**
10
+ * Prefer content height over filling the parent. With `maxHeight`, small lists
11
+ * (under 100 rows) size to content under the cap; larger lists use a fixed
12
+ * virtua viewport at `maxHeight`. Without `maxHeight`, rows always render at
13
+ * natural height (no virtualization).
14
+ */
15
+ fitContent?: boolean;
9
16
  headerBackgroundColor?: CSSProperties['backgroundColor'];
10
17
  hideHeader?: boolean;
11
18
  isLoading?: boolean;
@@ -27,5 +34,8 @@ export interface TableProps {
27
34
  activeRowId?: string | null;
28
35
  /** Bump to (re)trigger a scroll to `activeRowId` even when it's unchanged (e.g. the same row was re-selected externally). */
29
36
  scrollSignal?: number;
37
+ /** Controlled accordion: id of the expanded row (`TableRow.id`). Pass with `onExpandedRowIdChange`. */
38
+ expandedRowId?: string | null;
39
+ onExpandedRowIdChange?: (id: string | null) => void;
30
40
  }
31
41
  export declare const Table: FC<TableProps>;
@@ -4,6 +4,9 @@ import { type IStyledComponent } from 'styled-components';
4
4
  type DivProps<P = object> = P & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>;
5
5
  interface ContainerProps {
6
6
  $maxHeight?: CSSProperties['maxHeight'];
7
+ $fitContent?: boolean;
8
+ /** With `$fitContent` + `$maxHeight`: fixed viewport for virtua. Without it: content height capped by maxHeight. */
9
+ $virtualize?: boolean;
7
10
  }
8
11
  export declare const Container: IStyledComponent<'web', DivProps<ContainerProps>>;
9
12
  interface TableRootProps {
@@ -11,7 +14,14 @@ interface TableRootProps {
11
14
  }
12
15
  export declare const TableRoot: IStyledComponent<'web', DivProps<TableRootProps>>;
13
16
  export declare const THead: IStyledComponent<'web', DivProps>;
17
+ export declare const TBody: IStyledComponent<'web', DivProps>;
14
18
  export declare const Row: IStyledComponent<'web', DivProps>;
19
+ export declare const ExpandableRowItem: IStyledComponent<'web', DivProps>;
20
+ interface ExpandedContentProps {
21
+ $maxHeight?: CSSProperties['maxHeight'];
22
+ }
23
+ /** Caps accordion panel height when the outer body viewport has been measured. */
24
+ export declare const ExpandedContent: IStyledComponent<'web', DivProps<ExpandedContentProps>>;
15
25
  interface ThProps {
16
26
  $variant: TableVariant;
17
27
  $backgroundColor?: CSSProperties['backgroundColor'];
@@ -26,6 +36,7 @@ export declare const Th: IStyledComponent<'web', DivProps<ThProps>>;
26
36
  export declare const ThBorder: IStyledComponent<'web', DivProps>;
27
37
  interface TdProps {
28
38
  $variant: TableVariant;
39
+ $index?: number;
29
40
  $withClick: boolean;
30
41
  $hovered: boolean;
31
42
  $selected: boolean;
@@ -1,6 +1,6 @@
1
1
  import { type FC, type CSSProperties } from 'react';
2
- import { TableColumn, TableRow, TableVariant } from '../types';
3
2
  import { HoverAction } from '../../hover-actions';
3
+ import { TableColumn, TableRow, TableVariant } from '../types';
4
4
  interface TableRowsProps {
5
5
  variant: TableVariant;
6
6
  columns: TableColumn[];
@@ -17,6 +17,11 @@ interface TableRowsProps {
17
17
  scrollToIndex?: number | null;
18
18
  /** Bump to (re)trigger the scroll even when the index is unchanged. */
19
19
  scrollSignal?: number;
20
+ /** When false, render rows at natural height (no ScrollY/virtua). */
21
+ useVirtua?: boolean;
22
+ expandedRowId?: string | null;
23
+ onToggleExpand?: (rowId: string) => void;
24
+ expandedMaxHeight?: CSSProperties['maxHeight'];
20
25
  }
21
26
  export declare const TableRows: FC<TableRowsProps>;
22
27
  export {};
@@ -1,7 +1,11 @@
1
- import { type CSSProperties, type FC } from 'react';
1
+ import { type CSSProperties, type FC, type ReactNode } from 'react';
2
2
  export declare enum TableVariant {
3
+ Pretty = "pretty",
3
4
  Data = "data",
4
- Pretty = "pretty"
5
+ DataSecondary = "dataSecondary"
6
+ }
7
+ export interface TableRowExpandedContentContext {
8
+ maxHeight?: CSSProperties['maxHeight'];
5
9
  }
6
10
  export interface TableColumnFilterOption {
7
11
  id: string;
@@ -40,6 +44,11 @@ export interface TableRow {
40
44
  id?: string;
41
45
  cells: TableRowCell[];
42
46
  onClick?: () => void;
47
+ /**
48
+ * When set, the row becomes an accordion trigger. Content renders below the row when expanded.
49
+ * Prefer a function form to receive the table body `maxHeight` for nested scrollable content.
50
+ */
51
+ expandedContent?: ReactNode | ((ctx: TableRowExpandedContentContext) => ReactNode);
43
52
  isSelected?: boolean;
44
53
  onSelect?: () => void;
45
54
  onDeselect?: () => void;
@@ -0,0 +1,4 @@
1
+ import { type FC } from 'react';
2
+ import type { TraceViewProps } from './types';
3
+ export type { TraceViewAttribute, TraceViewCorner, TraceViewHeaderBadge, TraceViewMetaChip as TraceViewMetaChipType, TraceViewProps, TraceViewRow, TraceViewRowBadge, TraceViewRowVariant, } from './types';
4
+ export declare const TraceView: FC<TraceViewProps>;
@@ -0,0 +1,43 @@
1
+ import type { TraceViewCorner, TraceViewRowVariant } from './types';
2
+ export declare const TraceViewRoot: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
3
+ export declare const TraceViewHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$corner"> & {
4
+ $corner: TraceViewCorner;
5
+ }, never> & Partial<Pick<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$corner"> & {
6
+ $corner: TraceViewCorner;
7
+ }, never>>> & string;
8
+ export declare const TraceViewHeaderTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
9
+ export declare const TraceViewMetaChip: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
10
+ export declare const TraceViewBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$corner" | "$hasHeader"> & {
11
+ $corner: TraceViewCorner;
12
+ $hasHeader: boolean;
13
+ }, never> & Partial<Pick<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$corner" | "$hasHeader"> & {
14
+ $corner: TraceViewCorner;
15
+ $hasHeader: boolean;
16
+ }, never>>> & string;
17
+ export declare const TraceViewRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "$variant" | "$selected" | "$interactive"> & {
18
+ $variant: TraceViewRowVariant;
19
+ $selected: boolean;
20
+ $interactive: boolean;
21
+ }, never> & Partial<Pick<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "$variant" | "$selected" | "$interactive"> & {
22
+ $variant: TraceViewRowVariant;
23
+ $selected: boolean;
24
+ $interactive: boolean;
25
+ }, never>>> & string;
26
+ export declare const TraceViewRowMain: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$depth"> & {
27
+ $depth: number;
28
+ }, never> & Partial<Pick<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$depth"> & {
29
+ $depth: number;
30
+ }, never>>> & string;
31
+ export declare const TraceViewIndex: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../typography").TypographyProps & import("react").RefAttributes<HTMLElement>, never> & Partial<Pick<import("../typography").TypographyProps & import("react").RefAttributes<HTMLElement>, never>>> & string & Omit<import("react").ForwardRefExoticComponent<import("../typography").TypographyProps & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
32
+ export declare const TraceViewRowContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
33
+ export declare const TraceViewServiceTag: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
34
+ export declare const TraceViewServiceTagText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../typography").TypographyProps & import("react").RefAttributes<HTMLElement>, never> & Partial<Pick<import("../typography").TypographyProps & import("react").RefAttributes<HTMLElement>, never>>> & string & Omit<import("react").ForwardRefExoticComponent<import("../typography").TypographyProps & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
35
+ export declare const TraceViewNameGroup: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
36
+ export declare const TraceViewDuration: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../typography").TypographyProps & import("react").RefAttributes<HTMLElement>, never> & Partial<Pick<import("../typography").TypographyProps & import("react").RefAttributes<HTMLElement>, never>>> & string & Omit<import("react").ForwardRefExoticComponent<import("../typography").TypographyProps & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
37
+ export declare const TraceViewInlineBadge: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$tone"> & {
38
+ $tone: "warning" | "danger" | "success";
39
+ }, never> & Partial<Pick<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$tone"> & {
40
+ $tone: "warning" | "danger" | "success";
41
+ }, never>>> & string;
42
+ export declare const TraceViewPlaceholderBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
43
+ export declare const TraceViewDetails: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
@@ -0,0 +1,46 @@
1
+ import type { SVG } from '../../types';
2
+ export type TraceViewRowVariant = 'default' | 'timing' | 'new' | 'placeholder';
3
+ export type TraceViewCorner = 'left' | 'right' | 'both' | 'none';
4
+ export interface TraceViewAttribute {
5
+ key?: string | null;
6
+ value?: string | null;
7
+ }
8
+ export interface TraceViewRowBadge {
9
+ label?: string | null;
10
+ tone?: 'warning' | 'danger' | 'success' | null;
11
+ icon?: SVG | null;
12
+ }
13
+ export interface TraceViewRow {
14
+ /** Stable id used for selection / expand sync across paired views. */
15
+ id: string;
16
+ /** 1-based display index; omit/null for placeholder rows. */
17
+ index?: number | null;
18
+ service?: string | null;
19
+ name?: string | null;
20
+ durationLabel?: string | null;
21
+ depth?: number | null;
22
+ variant?: TraceViewRowVariant | null;
23
+ badge?: TraceViewRowBadge | null;
24
+ scope?: string | null;
25
+ attributes?: TraceViewAttribute[] | null;
26
+ }
27
+ export interface TraceViewMetaChip {
28
+ label: string;
29
+ }
30
+ export interface TraceViewHeaderBadge {
31
+ label: string;
32
+ tone?: 'success' | 'danger' | 'neutral' | null;
33
+ }
34
+ export interface TraceViewProps {
35
+ title?: string;
36
+ titleIcon?: SVG;
37
+ headerBadge?: TraceViewHeaderBadge | null;
38
+ meta?: TraceViewMetaChip[] | null;
39
+ rows?: TraceViewRow[] | null;
40
+ /** Ids of expanded span rows (multi-expand). */
41
+ expandedRowIds?: string[] | null;
42
+ /** Toggle a row id in the expanded set. */
43
+ onToggleRow?: (rowId: string) => void;
44
+ /** Rounding for split/compare layouts. */
45
+ corner?: TraceViewCorner | null;
46
+ }
package/lib/components.js CHANGED
@@ -1 +1 @@
1
- export{Z as Autocomplete,bH as Badge,B as Button,i as ButtonSize,gZ as ButtonTab,g_ as ButtonTabList,j as ButtonVariants,b0 as CenterThis,C as Checkbox,g$ as CheckboxList,$ as CheckboxSize,cu as CliCommand,b7 as Code,cd as Condition,cf as Conditions,h0 as DEFAULT_TIME_UNITS,z as DataCard,a4 as Divider,D as Drawer,ay as DropData,dG as DropDataAlignX,dF as DropDataAlignY,s as DropDown,h1 as ErrorBoundary,k as FieldMessage,d as FieldTitle,F as FlexColumn,h as FlexRow,fg as GaugeChart,h2 as GaugeChartVariant,h3 as Header,h4 as HoverActions,c4 as IconButton,b6 as IconButtonSize,cz as IconGroup,x as Input,a5 as InputCardTable,w as InputList,I as InputTable,cR as Island,b2 as Loader,dH as Modal,h5 as ModalBody,h6 as Navbar,b1 as NoData,N as Note,h7 as Overlay,bE as Padding,eV as PageContent,as as Radio,cb as RadioCard,h8 as RadioGroup,bM as RadioSize,a$ as ScrollY,b3 as Search,Q as SectionCard,h9 as SectionCardSize,Y as Segment,a6 as SegmentSize,cO as SegmentVariant,bF as SkeletonLoader,ff as StatusCard,eW as Stepper,cP as Table,ha as TableContainer,hb as TableTitleWrap,cQ as TableVariant,hc as TableWrap,H as Tag,ct as TagVariants,u as TextArea,fh as TextCard,r as TimeInput,o as Toggle,hd as ToggleCodeComponent,p as ToggleLabelAlign,he as ToggleList,q as ToggleSize,hf as ToggleVariant,T as Tooltip,bN as TruncatableTypography,e as Typography,f as TypographyColor,g as TypographySize,c7 as TypographyVariants,fi as UpgradeRequiredWrapper,hg as VerticalScroll,W as WarningModal,hh as resolveTypographyColor}from"./chunks/ui-components-Ci-Vq1Dl.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"javascript-time-ago/locale/en";import"react-dom";import"prism-react-renderer";import"zustand/middleware";import"react-error-boundary";import"virtua";
1
+ export{a3 as Autocomplete,bL as Badge,B as Button,i as ButtonSize,iU as ButtonTab,iV as ButtonTabList,j as ButtonVariants,b6 as CenterThis,w as Checkbox,iW as CheckboxList,a5 as CheckboxSize,cy as CliCommand,C as Code,cg as Condition,ci as Conditions,iX as DEFAULT_TIME_UNITS,m as DataCard,aa as Divider,D as Drawer,aE as DropData,eL as DropDataAlignX,eK as DropDataAlignY,x as DropDown,iY as ErrorBoundary,k as FieldMessage,d as FieldTitle,F as FlexColumn,h as FlexRow,gj as GaugeChart,gk as GaugeChartVariant,iZ as Header,i_ as HoverActions,i$ as INFO_ROW_HEIGHT_PX,I as IconButton,l as IconButtonSize,cD as IconGroup,cv as InfoRow,H as Input,ab as InputCardTable,G as InputList,z as InputTable,cV as Island,b7 as Loader,M as Modal,j0 as ModalBody,j1 as Navbar,N as NoData,K as Note,j2 as Overlay,bI as Padding,fZ as PageContent,j3 as Popup,eL as PopupAlignX,eK as PopupAlignY,ay as Radio,ce as RadioCard,j4 as RadioGroup,bQ as RadioSize,b5 as ScrollY,b8 as Search,a0 as SectionCard,j5 as SectionCardSize,a2 as Segment,ac as SegmentSize,cS as SegmentVariant,g6 as SelectWindowHours,bJ as SkeletonLoader,gI as StatusCard,gn as Stepper,g5 as TIME_WINDOW_DEFAULT_VALUE,cT as Table,j6 as TableContainer,j7 as TableTitleWrap,cU as TableVariant,j8 as TableWrap,Q as Tag,cx as TagVariants,y as TextArea,f_ as TextCard,v as TimeInput,q as Toggle,j9 as ToggleCodeComponent,r as ToggleLabelAlign,ja as ToggleList,s as ToggleSize,ek as ToggleVariant,T as Tooltip,g9 as TraceView,bR as TruncatableTypography,e as Typography,f as TypographyColor,g as TypographySize,cb as TypographyVariants,gm as UpgradeRequiredWrapper,jb as VerticalScroll,W as WarningModal,g7 as getWindowHoursButtonProps,jc as resolveTypographyColor}from"./chunks/ui-components-CjgsN17j.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"javascript-time-ago/locale/en";import"react-dom";import"prism-react-renderer";import"zustand/middleware";import"react-error-boundary";import"virtua";
@@ -8,3 +8,4 @@ export * from './signals';
8
8
  export * from './sources';
9
9
  export * from './strings';
10
10
  export * from './tokens';
11
+ export * from './url-templatization';
@@ -1,4 +1,4 @@
1
- import { type GetInstrumentationRuleTypesResult, type InstrumentationRuleOption, PlatformType } from '../../types';
1
+ import { type GetInstrumentationRuleTypesResult, InstrumentationRuleType, type InstrumentationRuleOption, PlatformType } from '../../types';
2
2
  export * from './supported-languages';
3
3
  /**
4
4
  * Whether the rule source-scope editor can be offered for the running agent.
@@ -18,5 +18,6 @@ export * from './supported-languages';
18
18
  * version-drift convention in central-ui's adapter (`if (!(v > 0)) return`).
19
19
  */
20
20
  export declare const isRuleSourceScopeSupported: (platformType: PlatformType, currentVersion: string) => boolean;
21
+ export declare const ruleTypeRequiresConfiguration: (type: InstrumentationRuleType) => boolean;
21
22
  export declare const INSTRUMENTATION_RULE_OPTIONS: InstrumentationRuleOption[];
22
23
  export declare const mapRuleTypesToOptions: (result?: GetInstrumentationRuleTypesResult | null) => InstrumentationRuleOption[];
@@ -31,6 +31,19 @@ export declare const DISPLAY_TITLES: {
31
31
  CONNECTION: string;
32
32
  CONNECTIONS: string;
33
33
  NO_CONNECTIONS: string;
34
+ DELETE_CONNECTION: string;
35
+ ODIGOS_VERSION: string;
36
+ CONNECTED_SINCE: string;
37
+ LAST_ACTIVITY: string;
38
+ MANAGE_CONFIGURATIONS: string;
39
+ EDIT_CONFIGURATION: string;
40
+ UPGRADE_REQUIRED: string;
41
+ UPGRADE_TO_USE_FEATURE: (version: string | number) => string;
42
+ CURRENT_VERSION: (version: string) => string;
43
+ CONNECTION_LIVE: string;
44
+ CONNECTION_LOST: string;
45
+ SEARCH_BY_CLUSTER_NAME: string;
46
+ SELECTED_CLUSTERS: string;
34
47
  CLOUD_CONNECTOR: string;
35
48
  CREATE_CLOUD_CONNECTOR: string;
36
49
  CLOUD_CONNECTOR_SELECT_PROVIDER_TITLE: string;
@@ -119,6 +132,7 @@ export declare const DISPLAY_TITLES: {
119
132
  SOURCE: string;
120
133
  SOURCES: string;
121
134
  ADD_SOURCE: string;
135
+ ADD_SOURCES: string;
122
136
  SOURCE_DETAILS: string;
123
137
  SELECT_SOURCES: string;
124
138
  SELECTED_SOURCES: string;
@@ -0,0 +1,90 @@
1
+ export declare const URL_TEMPLATIZATION_PAGE_TITLE = "URL templatization";
2
+ export declare const URL_TEMPLATIZATION_PAGE_DESCRIPTION = "Replace dynamic URL path segments with named placeholders to reduce cardinality in span names and http.route.";
3
+ export declare const URL_TEMPLATIZATION_SECTION_DEFAULT = "Default templatization";
4
+ export declare const URL_TEMPLATIZATION_DEFAULT_SECTION_SUBTITLE = "Custom and default URL templatization scopes across URL templatization actions.";
5
+ export declare const URL_TEMPLATIZATION_DEFAULT_EMPTY_TITLE = "Default templatization is not enabled";
6
+ export declare const URL_TEMPLATIZATION_DEFAULT_EMPTY_SUBTITLE = "Automatically detect and normalize dynamic URL segments when no custom template matches.";
7
+ export declare const URL_TEMPLATIZATION_BTN_ENABLE_DEFAULT = "Enable for entire cluster";
8
+ export declare const URL_TEMPLATIZATION_SECTION_CUSTOM = "Custom URL templates";
9
+ export declare const URL_TEMPLATIZATION_CUSTOM_SECTION_SUBTITLE = "Define exact URL patterns and control where each template group applies.";
10
+ export declare const URL_TEMPLATIZATION_VIEW_BY = "View by:";
11
+ export declare const URL_TEMPLATIZATION_VIEW_GROUPS = "Groups";
12
+ export declare const URL_TEMPLATIZATION_VIEW_TREE = "Tree";
13
+ export declare const URL_TEMPLATIZATION_VIEW_LIST = "List";
14
+ export declare const URL_TEMPLATIZATION_BTN_CREATE_TEMPLATE_GROUP = "Create template group";
15
+ export declare const URL_TEMPLATIZATION_BTN_EDIT_GROUP = "Edit group";
16
+ export declare const URL_TEMPLATIZATION_BTN_ADD_TEMPLATE = "Add template";
17
+ export declare const URL_TEMPLATIZATION_CUSTOM_EMPTY_TITLE = "No custom URL templates";
18
+ export declare const URL_TEMPLATIZATION_CUSTOM_EMPTY_SUBTITLE = "Define exact route patterns for your application. Custom templates are matched before default templatization.";
19
+ export declare const URL_TEMPLATIZATION_BTN_CREATE = "Create custom template";
20
+ export declare const URL_TEMPLATIZATION_BTN_DOCS = "Docs";
21
+ export declare const URL_TEMPLATIZATION_DOCS_URL = "https://docs.odigos.io/pipeline/actions/attributes/urltemplatization";
22
+ export declare const URL_TEMPLATIZATION_DEFAULT_CONFIGURED_PLACEHOLDER = "Default templatization is enabled \u2014 editor coming next.";
23
+ export declare const URL_TEMPLATIZATION_DRAWER_WIDTH = "746px";
24
+ export declare const URL_TEMPLATIZATION_DEFAULT_RULE_DRAWER_TITLE = "Add default templatization rule";
25
+ export declare const URL_TEMPLATIZATION_EDIT_DEFAULT_RULE_DRAWER_TITLE = "Edit default templatization rule";
26
+ export declare const URL_TEMPLATIZATION_DEFAULT_RULE_DRAWER_SUBTITLE = "UI template rules";
27
+ export declare const URL_TEMPLATIZATION_SECTION_SOURCE_SCOPE = "Source Scope";
28
+ export declare const URL_TEMPLATIZATION_DESC_SOURCE_SCOPE = "Choose where this rule applies.";
29
+ export declare const URL_TEMPLATIZATION_NOTE_ENTIRE_CLUSTER = "This rule will apply to all sources in the cluster.";
30
+ export declare const URL_TEMPLATIZATION_SECTION_DEFAULT_TEMPLATIZATION = "Default templatization";
31
+ export declare const URL_TEMPLATIZATION_DESC_DEFAULT_TEMPLATIZATION = "Automatically normalize dynamic URL segments when no custom template matches.";
32
+ export declare const URL_TEMPLATIZATION_TOGGLE_ENABLE_NORMALIZATION = "Enable automatic URL normalization for this scope";
33
+ export declare const URL_TEMPLATIZATION_SECTION_SKIP_POLICY = "Skip policy";
34
+ export declare const URL_TEMPLATIZATION_BADGE_ADVANCED = "Advanced";
35
+ export declare const URL_TEMPLATIZATION_DESC_SKIP_POLICY = "Prevent selected error responses from being normalized by the default heuristic. Custom templates still match first.";
36
+ export declare const URL_TEMPLATIZATION_TOGGLE_SKIP_NON_2XX = "Skip for non-2xx responses";
37
+ export declare const URL_TEMPLATIZATION_TOGGLE_SKIP_STATUS_CODES = "Skip selected HTTP status codes";
38
+ export declare const URL_TEMPLATIZATION_PLACEHOLDER_STATUS_CODES = "Example: 404, 401";
39
+ export declare const URL_TEMPLATIZATION_HELPER_STATUS_CODES = "Use comma-separated HTTP status codes between 100 and 599.";
40
+ export declare const URL_TEMPLATIZATION_FOOTER_IMMEDIATE_EFFECT = "This rule will take effect in the cluster immediately after it is added.";
41
+ export declare const URL_TEMPLATIZATION_FOOTER_SAVE_EFFECT = "This rule will take effect in the cluster immediately after it is saved.";
42
+ export declare const URL_TEMPLATIZATION_BTN_ADD_RULE = "Add rule";
43
+ export declare const URL_TEMPLATIZATION_BTN_SAVE = "Save";
44
+ export declare const URL_TEMPLATIZATION_BTN_CANCEL = "Cancel";
45
+ export declare const URL_TEMPLATIZATION_ERROR_INVALID_STATUS_CODES = "Enter valid HTTP status codes between 100 and 599, separated by commas.";
46
+ export declare const URL_TEMPLATIZATION_CUSTOM_DRAWER_TITLE = "Create custom template";
47
+ export declare const URL_TEMPLATIZATION_CUSTOM_DRAWER_SUBTITLE = "UI template rules";
48
+ export declare const URL_TEMPLATIZATION_CHOOSE_DESTINATION = "Choose where to add the template";
49
+ export declare const URL_TEMPLATIZATION_DESTINATION_TEMPLATE_GROUP = "Template group";
50
+ export declare const URL_TEMPLATIZATION_DESTINATION_ENTIRE_CLUSTER = "Entire Cluster";
51
+ export declare const URL_TEMPLATIZATION_DESTINATION_GROUP_HINT = "Add the template to an existing group or create a new group with its own scope.";
52
+ export declare const URL_TEMPLATIZATION_DESTINATION_CLUSTER_HINT = "This template will apply to all sources in the cluster.";
53
+ export declare const URL_TEMPLATIZATION_ADD_EXISTING_GROUP = "Add to existing template group";
54
+ export declare const URL_TEMPLATIZATION_ADD_NEW_GROUP = "Add to New template group";
55
+ export declare const URL_TEMPLATIZATION_NEW_GROUP_DEFAULT_HINT = "Template group will be added to the default action";
56
+ export declare const URL_TEMPLATIZATION_ADVANCED_CONFIGURATION = "Advanced Configuration";
57
+ export declare const URL_TEMPLATIZATION_SEARCH_GROUPS_PLACEHOLDER = "Search template group by type action name or scope (languages, namespaces, sources)";
58
+ export declare const URL_TEMPLATIZATION_SELECTED_GROUP = "Selected Template group:";
59
+ export declare const URL_TEMPLATIZATION_ACTION_FIELD_LABEL = "URL templatization action";
60
+ export declare const URL_TEMPLATIZATION_NEW_ACTION_NAME_LABEL = "New action name";
61
+ export declare const URL_TEMPLATIZATION_NEW_ACTION_PLACEHOLDER = "New action group";
62
+ export declare const URL_TEMPLATIZATION_NEW_ACTION_HINT = "Defaults to 'UI template rules'. Actions can help keep templating rules organized, but they are optional - advanced users can create a separate action when useful.";
63
+ export declare const URL_TEMPLATIZATION_BTN_CREATE_GROUP = "Create new template group";
64
+ export declare const URL_TEMPLATIZATION_BTN_NEXT = "Next";
65
+ export declare const URL_TEMPLATIZATION_BTN_BACK = "Back";
66
+ export declare const URL_TEMPLATIZATION_ACTION_NAME_LABEL = "Action name";
67
+ export declare const URL_TEMPLATIZATION_DEFAULT_ACTION_NAME = "URL Templatization";
68
+ export declare const URL_TEMPLATIZATION_BADGE_UI = "UI";
69
+ export declare const URL_TEMPLATIZATION_SECTION_TEMPLATES = "Templates";
70
+ export declare const URL_TEMPLATIZATION_PLACEHOLDER_TEMPLATE = "e.g. /api/users/{id}";
71
+ export declare const URL_TEMPLATIZATION_SCOPE_LANGUAGE = "Language:";
72
+ export declare const URL_TEMPLATIZATION_SCOPE_NAMESPACE = "Namespace:";
73
+ export declare const URL_TEMPLATIZATION_SCOPE_SOURCE = "Deployment/";
74
+ export declare const URL_TEMPLATIZATION_SCOPE_AND = "AND";
75
+ export declare const URL_TEMPLATIZATION_SCOPE_ENTIRE_CLUSTER = "Entire cluster";
76
+ export declare const URL_TEMPLATIZATION_VIEW_DRAWER_TITLE = "URL template";
77
+ export declare const URL_TEMPLATIZATION_DETAIL_TEMPLATE = "Template";
78
+ export declare const URL_TEMPLATIZATION_DETAIL_ORIGIN = "Origin";
79
+ export declare const URL_TEMPLATIZATION_DETAIL_DISPLAY_NAME = "Display name";
80
+ export declare const URL_TEMPLATIZATION_DETAIL_RESOURCE_NAME = "Resource name";
81
+ export declare const URL_TEMPLATIZATION_TRY_A_URL = "Try a URL";
82
+ export declare const URL_TEMPLATIZATION_TRY_A_URL_PLACEHOLDER = "/users/12/orders/345685335358";
83
+ export declare const URL_TEMPLATIZATION_BTN_TEST_URL = "Test URL";
84
+ export declare const URL_TEMPLATIZATION_BTN_CLOSE = "Close";
85
+ export declare const URL_TEMPLATIZATION_RESULT = "Result";
86
+ export declare const URL_TEMPLATIZATION_MATCH_FOUND = "Match found";
87
+ export declare const URL_TEMPLATIZATION_MATCH_FOUND_HINT = "This URL matches the template.";
88
+ export declare const URL_TEMPLATIZATION_NO_MATCH = "No match";
89
+ export declare const URL_TEMPLATIZATION_NO_MATCH_HINT = "This URL doesn't match the template.";
90
+ export declare const URL_TEMPLATIZATION_NO_MATCH_HELP = "Check the URL structure and parameter positions, then try again.";