@odigos/ui-kit 0.0.264 → 0.0.265

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 (65) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/lib/chunks/index-BMLDblot.js +155 -0
  3. package/lib/chunks/{odigos-context-_YAZF63s.js → odigos-context-Dq_yIuDF.js} +2 -2
  4. package/lib/chunks/source-instrument-form-context-D1tB6ZAx.js +5 -0
  5. package/lib/chunks/ui-components-CoDVeDqt.js +1581 -0
  6. package/lib/components/index.d.ts +1 -0
  7. package/lib/components/radio-card/index.d.ts +16 -0
  8. package/lib/components.js +1 -1
  9. package/lib/constants/strings/index.d.ts +74 -0
  10. package/lib/constants.js +1 -1
  11. package/lib/containers/_drawers/add-source-drawer/strings.d.ts +8 -6
  12. package/lib/containers/_drawers/create-cloud-connector-drawer/index.d.ts +15 -0
  13. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/select-provider/custom-resource-table.d.ts +9 -0
  14. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/select-provider/helpers.d.ts +5 -0
  15. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/select-provider/index.d.ts +2 -0
  16. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/select-provider/permission-list.d.ts +12 -0
  17. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/select-provider/permissions.d.ts +25 -0
  18. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/select-provider/policy-preview.d.ts +5 -0
  19. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/select-provider/provider-list.d.ts +8 -0
  20. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/setup-credentials/create-role-section.d.ts +6 -0
  21. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/setup-credentials/enter-arn-section.d.ts +5 -0
  22. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/setup-credentials/index.d.ts +5 -0
  23. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/setup-credentials/methods.d.ts +30 -0
  24. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/setup-credentials/section.d.ts +9 -0
  25. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/validate-connection/index.d.ts +8 -0
  26. package/lib/containers/_drawers/edit-source-drawer/helpers.d.ts +9 -5
  27. package/lib/containers/_drawers/edit-source-drawer/overview/runtime-card.d.ts +12 -0
  28. package/lib/containers/_drawers/edit-source-drawer/profiling/flamebearer.d.ts +18 -0
  29. package/lib/containers/_drawers/index.d.ts +1 -0
  30. package/lib/containers/central-connections/helpers.d.ts +11 -1
  31. package/lib/containers/central-connections/index.d.ts +6 -1
  32. package/lib/containers.js +599 -170
  33. package/lib/contexts/cloud-connector-form-context.d.ts +35 -0
  34. package/lib/contexts/index.d.ts +1 -0
  35. package/lib/contexts/odigos-api/capabilities.d.ts +5 -1
  36. package/lib/contexts/odigos-api/hooks/use-sources-api.d.ts +1 -0
  37. package/lib/contexts/odigos-api/types.d.ts +1 -0
  38. package/lib/contexts/odigos-context.d.ts +2 -0
  39. package/lib/contexts.js +1 -1
  40. package/lib/functions/get-source-kind-label/index.d.ts +8 -0
  41. package/lib/functions/index.d.ts +1 -0
  42. package/lib/functions.js +1 -1
  43. package/lib/hooks.js +1 -1
  44. package/lib/icons/compute-platform/cloud-connector-icon/index.d.ts +2 -0
  45. package/lib/icons/compute-platform/cloud-connector-policy-icon/index.d.ts +2 -0
  46. package/lib/icons/compute-platform/index.d.ts +2 -0
  47. package/lib/icons.js +1 -1
  48. package/lib/snippets/connector-created-modal/index.d.ts +7 -0
  49. package/lib/snippets/index.d.ts +1 -0
  50. package/lib/snippets.js +1 -1
  51. package/lib/store.js +1 -1
  52. package/lib/theme.js +1 -1
  53. package/lib/types/actions/index.d.ts +1 -4
  54. package/lib/types/cloud-connectors/index.d.ts +88 -0
  55. package/lib/types/common/index.d.ts +2 -1
  56. package/lib/types/index.d.ts +1 -0
  57. package/lib/types/snapshot/index.d.ts +1 -0
  58. package/lib/types/sources/index.d.ts +1 -0
  59. package/lib/types/workload/index.d.ts +38 -0
  60. package/lib/types.js +1 -1
  61. package/lib/visuals.js +1 -1
  62. package/package.json +1 -1
  63. package/lib/chunks/index-B-zICLj7.js +0 -155
  64. package/lib/chunks/source-instrument-form-context-CZQIaTUV.js +0 -5
  65. package/lib/chunks/ui-components-CAPnizLR.js +0 -1543
@@ -30,6 +30,7 @@ export * from './navbar';
30
30
  export * from './no-data';
31
31
  export * from './note';
32
32
  export * from './radio';
33
+ export * from './radio-card';
33
34
  export * from './scroll-y';
34
35
  export * from './search';
35
36
  export * from './segment';
@@ -0,0 +1,16 @@
1
+ import { type FC, type ReactNode } from 'react';
2
+ export interface RadioCardProps {
3
+ 'data-id'?: string;
4
+ /** Bold title shown next to the radio. */
5
+ title: string;
6
+ /** Optional supporting copy under the title. */
7
+ description?: ReactNode;
8
+ /** Optional rich content rendered below the header (e.g. a policy preview). */
9
+ body?: ReactNode;
10
+ /** Optional note rendered at the bottom of the card (e.g. a contextual banner). */
11
+ footerNote?: ReactNode;
12
+ checked: boolean;
13
+ onChange: (checked: boolean) => void;
14
+ disabled?: boolean;
15
+ }
16
+ export declare const RadioCard: FC<RadioCardProps>;
package/lib/components.js CHANGED
@@ -1 +1 @@
1
- export{aI as Autocomplete,bE as Badge,k as Button,l as ButtonSize,g5 as ButtonTab,g6 as ButtonTabList,B as ButtonVariants,aT as CenterThis,C as Checkbox,g7 as CheckboxList,aK as CheckboxSize,ce as CliCommand,a_ as Code,c9 as Condition,b$ as Conditions,g8 as DEFAULT_TIME_UNITS,av as DataCard,bx as Divider,aV as Drawer,a4 as DropData,cV as DropDataAlignX,cU as DropDataAlignY,D as DropDown,g9 as ErrorBoundary,aQ as FieldMessage,v as FieldTitle,u as FlexColumn,w as FlexRow,eu as GaugeChart,ga as GaugeChartVariant,gb as Header,gc as HoverActions,bT as IconButton,bU as IconButtonSize,cj as IconGroup,i as Input,bz as InputCardTable,h as InputList,I as InputTable,cv as Island,aW as Loader,cW as Modal,gd as ModalBody,ge as Navbar,aU as NoData,aw as Note,gf as Overlay,bR as Padding,e8 as PageContent,_ as Radio,gg as RadioGroup,bw as RadioSize,aS as ScrollY,aX as Search,x as SectionCard,gh as SectionCardSize,S as Segment,bB as SegmentSize,cs as SegmentVariant,bS as SkeletonLoader,et as StatusCard,e9 as Stepper,ct as Table,gi as TableContainer,gj as TableTitleWrap,cu as TableVariant,gk as TableWrap,aA as Tag,cd as TagVariants,g as TextArea,ev as TextCard,f as TimeInput,c as Toggle,gl as ToggleCodeComponent,d as ToggleLabelAlign,gm as ToggleList,e as ToggleSize,gn as ToggleVariant,T as Tooltip,bA as TruncatableTypography,K as Typography,N as TypographyColor,O as TypographySize,bX as TypographyVariants,ew as UpgradeRequiredWrapper,go as VerticalScroll,W as WarningModal,gp as resolveTypographyColor}from"./chunks/ui-components-CAPnizLR.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{aL as Autocomplete,bF as Badge,m as Button,n as ButtonSize,g8 as ButtonTab,g9 as ButtonTabList,B as ButtonVariants,aV as CenterThis,C as Checkbox,ga as CheckboxList,aN as CheckboxSize,cg as CliCommand,b0 as Code,cb as Condition,c1 as Conditions,gb as DEFAULT_TIME_UNITS,ay as DataCard,by as Divider,aX as Drawer,a7 as DropData,cY as DropDataAlignX,cX as DropDataAlignY,h as DropDown,gc as ErrorBoundary,aT as FieldMessage,x as FieldTitle,w as FlexColumn,y as FlexRow,ey as GaugeChart,gd as GaugeChartVariant,ge as Header,gf as HoverActions,bU as IconButton,bV as IconButtonSize,cl as IconGroup,k as Input,bA as InputCardTable,j as InputList,I as InputTable,cy as Island,aY as Loader,cZ as Modal,gg as ModalBody,gh as Navbar,aW as NoData,az as Note,gi as Overlay,bS as Padding,ec as PageContent,a1 as Radio,c0 as RadioCard,gj as RadioGroup,bx as RadioSize,aU as ScrollY,aZ as Search,z as SectionCard,gk as SectionCardSize,S as Segment,bC as SegmentSize,cv as SegmentVariant,bT as SkeletonLoader,ex as StatusCard,ed as Stepper,cw as Table,gl as TableContainer,gm as TableTitleWrap,cx as TableVariant,gn as TableWrap,aD as Tag,cf as TagVariants,i as TextArea,ez as TextCard,g as TimeInput,d as Toggle,go as ToggleCodeComponent,e as ToggleLabelAlign,gp as ToggleList,f as ToggleSize,gq as ToggleVariant,T as Tooltip,bB as TruncatableTypography,N as Typography,Q as TypographyColor,U as TypographySize,bY as TypographyVariants,eA as UpgradeRequiredWrapper,gr as VerticalScroll,W as WarningModal,gs as resolveTypographyColor}from"./chunks/ui-components-CoDVeDqt.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";
@@ -25,8 +25,67 @@ export declare const DISPLAY_TITLES: {
25
25
  NAMESPACE: string;
26
26
  NAME: string;
27
27
  KIND: string;
28
+ REGION: string;
29
+ SERVICE_NAME: string;
28
30
  CONNECTION: string;
29
31
  CONNECTIONS: string;
32
+ CLOUD_CONNECTOR: string;
33
+ CREATE_CLOUD_CONNECTOR: string;
34
+ CLOUD_CONNECTOR_SELECT_PROVIDER_TITLE: string;
35
+ CLOUD_CONNECTOR_SELECT_PROVIDER_SUBTITLE: string;
36
+ CLOUD_CONNECTOR_PERMISSIONS_NOTE: string;
37
+ CLOUD_CONNECTOR_PERMISSION_DISCOVERY_ONLY_TITLE: string;
38
+ CLOUD_CONNECTOR_PERMISSION_DISCOVERY_ONLY_DESC: string;
39
+ CLOUD_CONNECTOR_PERMISSION_DISCOVERY_INSTRUMENTATION_TITLE: string;
40
+ CLOUD_CONNECTOR_PERMISSION_DISCOVERY_INSTRUMENTATION_DESC: string;
41
+ CLOUD_CONNECTOR_PERMISSION_CUSTOM_TITLE: string;
42
+ CLOUD_CONNECTOR_PERMISSION_CUSTOM_DESC: string;
43
+ CLOUD_CONNECTOR_POLICY_PREVIEW: string;
44
+ CLOUD_CONNECTOR_POLICY_NOTE: string;
45
+ CLOUD_CONNECTOR_POLICY_NOTE_CUSTOM: string;
46
+ CLOUD_CONNECTOR_CUSTOM_COL_TYPE: string;
47
+ CLOUD_CONNECTOR_CUSTOM_COL_DISCOVERY: string;
48
+ CLOUD_CONNECTOR_CUSTOM_COL_INSTRUMENTATION: string;
49
+ CLOUD_CONNECTOR_SETUP_CREDENTIALS_TITLE: string;
50
+ CLOUD_CONNECTOR_SETUP_CREDENTIALS_SUBTITLE: string;
51
+ CLOUD_CONNECTOR_AUTH_TITLE: string;
52
+ CLOUD_CONNECTOR_AUTH_SUBTITLE: string;
53
+ CLOUD_CONNECTOR_AUTH_ASSUME_ROLE: string;
54
+ CLOUD_CONNECTOR_AUTH_STATIC_KEYS: string;
55
+ CLOUD_CONNECTOR_AUTH_ASSUME_ROLE_NOTE: string;
56
+ CLOUD_CONNECTOR_AUTH_STATIC_KEYS_NOTE: string;
57
+ CLOUD_CONNECTOR_SETUP_METHOD_TITLE: string;
58
+ CLOUD_CONNECTOR_SETUP_METHOD_SUBTITLE: string;
59
+ CLOUD_CONNECTOR_SETUP_METHOD_CLOUDFORMATION: string;
60
+ CLOUD_CONNECTOR_SETUP_METHOD_TERRAFORM: string;
61
+ CLOUD_CONNECTOR_SETUP_METHOD_AWS_CLI: string;
62
+ CLOUD_CONNECTOR_SETUP_METHOD_MANUAL: string;
63
+ CLOUD_CONNECTOR_CREATE_ROLE_TITLE: string;
64
+ CLOUD_CONNECTOR_CREATE_ROLE_STEPS_HEADING: string;
65
+ CLOUD_CONNECTOR_ENTER_ARN_TITLE: string;
66
+ CLOUD_CONNECTOR_ENTER_ARN_SUBTITLE: string;
67
+ CLOUD_CONNECTOR_FIELD_ACCOUNT_ID_LABEL: string;
68
+ CLOUD_CONNECTOR_FIELD_ACCOUNT_ID_PLACEHOLDER: string;
69
+ CLOUD_CONNECTOR_FIELD_ACCOUNT_ID_HELP: string;
70
+ CLOUD_CONNECTOR_FIELD_ACCESS_TOKEN_LABEL: string;
71
+ CLOUD_CONNECTOR_FIELD_ACCESS_TOKEN_PLACEHOLDER: string;
72
+ CLOUD_CONNECTOR_FIELD_ACCESS_TOKEN_HELP: string;
73
+ CLOUD_CONNECTOR_FIELD_SECRET_ID_LABEL: string;
74
+ CLOUD_CONNECTOR_FIELD_SECRET_ID_PLACEHOLDER: string;
75
+ CLOUD_CONNECTOR_FIELD_SECRET_ID_HELP: string;
76
+ CLOUD_CONNECTOR_VALIDATE_TITLE: string;
77
+ CLOUD_CONNECTOR_VALIDATE_SUBTITLE: string;
78
+ CLOUD_CONNECTOR_VALIDATE_SUCCESS: string;
79
+ CLOUD_CONNECTOR_VALIDATE_FAILURE: string;
80
+ CLOUD_CONNECTOR_VALIDATE_EMPTY: string;
81
+ CLOUD_CONNECTOR_VALIDATE_ACCOUNT: string;
82
+ CLOUD_CONNECTOR_VALIDATE_IDENTITY: string;
83
+ CLOUD_CONNECTOR_TESTING_TITLE: string;
84
+ CLOUD_CONNECTOR_CONNECTION_FAILED_TITLE: string;
85
+ CLOUD_CONNECTOR_CONNECTION_FAILED_DEFAULT: string;
86
+ CLOUD_CONNECTOR_CREATED_SUCCESS: string;
87
+ CLOUD_CONNECTOR_CREATED_MODAL_TITLE: string;
88
+ CLOUD_CONNECTOR_CREATED_MODAL_DESC: string;
30
89
  DATA_STREAM: string;
31
90
  DATA_STREAMS: string;
32
91
  STREAM_NAME: string;
@@ -79,6 +138,14 @@ export declare const DISPLAY_TITLES: {
79
138
  TYPE: string;
80
139
  NOTES: string;
81
140
  STATUS: string;
141
+ INSTRUMENTATION_STATUS: string;
142
+ INSTRUMENTATION: string;
143
+ INSTRUMENTATION_DESCRIPTION: string;
144
+ PROGRESS: string;
145
+ RUNTIME: string;
146
+ LAST_UPDATED: string;
147
+ ISSUES: string;
148
+ WAITING_FOR: string;
82
149
  READONLY: string;
83
150
  LANGUAGE: string;
84
151
  VERSION: string;
@@ -263,6 +330,7 @@ export declare const BUTTON_TEXTS: {
263
330
  GET_STARTED: string;
264
331
  ADD: string;
265
332
  ADD_NEW: string;
333
+ CREATE_NEW: string;
266
334
  NEW: string;
267
335
  SELECT: string;
268
336
  CREATE: string;
@@ -273,11 +341,17 @@ export declare const BUTTON_TEXTS: {
273
341
  RESTART_POD: string;
274
342
  REFRESH: string;
275
343
  CANCEL: string;
344
+ CLOSE: string;
276
345
  DONE: string;
277
346
  SAVE: string;
278
347
  BACK: string;
279
348
  CONFIRM: string;
280
349
  NEXT: string;
350
+ VERIFY: string;
351
+ VERIFY_AND_CREATE_CONNECTOR: string;
352
+ STAY_ON_CONNECTIONS: string;
353
+ GO_TO_CONNECTOR_OVERVIEW: string;
354
+ RETRY: string;
281
355
  TEST: string;
282
356
  TEST_CONNECTION: string;
283
357
  INSTRUMENT: string;
package/lib/constants.js CHANGED
@@ -1 +1 @@
1
- export{bg as ACTION_OPTIONS,fH as ALL_SOURCES,cz as BTN_CANCEL,cG as BTN_CONTINUE_EDITING,ez as BTN_CREATE_FIRST_RULE,cx as BTN_CREATE_RULE,cC as BTN_DELETE_RULE,m as BTN_EDIT_AUTO_RULE,cB as BTN_EDIT_RULE,cQ as BTN_SAVE,cA as BTN_SAVE_RULE,b_ as BUTTON_TEXTS,cD as CATEGORY_DESCRIPTIONS,as as CATEGORY_LABELS,cF as CATEGORY_TITLES,fI as CREATE_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,fJ as CREATE_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,fK as CREATE_NOISY_AUTO_RULE_DRAWER_TITLE,bZ as DEFAULT_CLUSTER_ID,bY as DEFAULT_CLUSTER_NAME,eq as DEFAULT_DATA_STREAM_NAME,Q as DESC_DURATION,fL as DESC_ERRORS,X as DESC_OPERATION,fM as DESC_PERCENTAGE_HIGHLY_RELEVANT,bK as DESC_PERCENTAGE_NOISY,at as DESC_RULE_TYPE,aH as DESC_SOURCE_SCOPE,bV as DESTINATION_CATEGORIES,bF as DISPLAY_LANGUAGES,b1 as DISPLAY_TITLES,bC as DOCS_BASE_URL,bl as DestinationCategoryTypes,cM as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_SUBTITLE,cN as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,cK as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_SUBTITLE,cL as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,cO as EDIT_NOISY_AUTO_RULE_DRAWER_SUBTITLE,cP as EDIT_NOISY_AUTO_RULE_DRAWER_TITLE,cE as EDIT_TITLES,a9 as EMPTY_VALUE,bv as EXTRACTION_FORMAT_COPY,bt as EXTRACT_ATTRIBUTE_FORM,ex as FILTER_TYPE_ALL,b0 as FORM_ALERTS,bp as INSTRUMENTATION_RULE_OPTIONS,U as LABEL_CUSTOM_DURATION,bO as LABEL_CUSTOM_PERCENTAGE,bN as LABEL_DISABLED,cw as LABEL_DISABLED_RULE,aj as LABEL_DROP_ALL,bH as LABEL_DROP_AT_MOST,bM as LABEL_ENABLED,a1 as LABEL_HTTP_ROUTE,a3 as LABEL_HTTP_ROUTE_PREFIX,a6 as LABEL_KAFKA_TOPIC,ak as LABEL_KEEP_ALL,ag as LABEL_KEEP_AT_LEAST,ah as LABEL_KEEP_AT_MOST,af as LABEL_KEEP_PERCENTAGE,M as LABEL_KEEP_TRACES_DURATION,z as LABEL_KEEP_TRACES_ERRORS,a5 as LABEL_METHOD,ao as LABEL_NOTE,L as LABEL_NO_PREVIEW,a8 as LABEL_OPERATION_TYPE,fN as LABEL_RULE_DISABLED,fO as LABEL_RULE_ENABLED,am as LABEL_RULE_NAME,an as LABEL_RULE_TYPE,ai as LABEL_SAMPLE,Z as LABEL_SERVER_ADDRESS,a0 as LABEL_TEMPLATED_PATH,a2 as LABEL_TEMPLATED_PATH_PREFIX,cp as LANGUAGE_OPTIONS,aP as MONITORS_OPTIONS,ax as NOTE_ENTIRE_CLUSTER,aE as NOTE_SOURCE_SCOPE_LOGIC,fP as OPENTELEMETRY_EBPF_DISTRO_OPTION,ab as OPERATION_ALL,aa as OPERATION_HTTP_CLIENT,a7 as OPERATION_HTTP_SERVER,ac as OPERATION_KAFKA_CONSUMER,ad as OPERATION_KAFKA_PRODUCER,co as OTEL_DISTRO_NAME_OPTIONS,ae as PERCENTAGE_SECTION_DESCRIPTIONS,aq as PLACEHOLDER_NOTE,$ as PLACEHOLDER_ROUTE,ap as PLACEHOLDER_RULE_NAME,aJ as PLACEHOLDER_SEARCH_SOURCE,Y as PLACEHOLDER_SERVER_ADDRESS,cb as PROCESS_ATTRIBUTE_NAMES,bs as REGEX_TESTER_DRAWER,bL as SAMPLING_AUTO_RULE_TITLE,eF as SAMPLING_BTN_CREATE_RULE,eD as SAMPLING_BTN_DOCS,eE as SAMPLING_BTN_REFRESH,bJ as SAMPLING_COST_REDUCTION_AUTO_RULE_TITLE,cH as SAMPLING_DEFAULT_CONFIRM_DESCRIPTION,cJ as SAMPLING_DEFAULT_CONFIRM_PREVIEW_LABEL,cI as SAMPLING_DEFAULT_CONFIRM_TITLE,eI as SAMPLING_DELETE_MODAL_APPROVE,eJ as SAMPLING_DELETE_MODAL_CANCEL,eK as SAMPLING_DELETE_MODAL_DESCRIPTION,eL as SAMPLING_DELETE_MODAL_TITLE,cR as SAMPLING_DRAWER_WIDTH,eC as SAMPLING_DUPLICATE_RULE_WARNING,bG as SAMPLING_HIGHLY_RELEVANT_AUTO_RULE_TITLE,dH as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_1,dI as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_2,dJ as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_3,dK as SAMPLING_ONBOARDING_ADVANCED_LEFT_TITLE,dL as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_1,dM as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_2,dN as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_3,dO as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_4,dP as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_5,dQ as SAMPLING_ONBOARDING_ADVANCED_RIGHT_TITLE,dS as SAMPLING_ONBOARDING_ADVANCED_SUBTITLE,dR as SAMPLING_ONBOARDING_ADVANCED_TITLE,e7 as SAMPLING_ONBOARDING_AMBIENT_LABEL,dc as SAMPLING_ONBOARDING_BTN_GO_TO,cZ as SAMPLING_ONBOARDING_BTN_NEXT,dG as SAMPLING_ONBOARDING_BTN_READ_MORE,dn as SAMPLING_ONBOARDING_BTN_SKIP,dp as SAMPLING_ONBOARDING_BTN_START,dT as SAMPLING_ONBOARDING_COMMON_BANNER,e6 as SAMPLING_ONBOARDING_COMMON_RULES_SECTION,dW as SAMPLING_ONBOARDING_DROP_DESCRIPTION,dV as SAMPLING_ONBOARDING_DROP_SUBTITLE,dU as SAMPLING_ONBOARDING_DROP_TITLE,dZ as SAMPLING_ONBOARDING_ERROR_PRESET_NAME,dY as SAMPLING_ONBOARDING_ERROR_PRESET_TOGGLE_LABEL,e0 as SAMPLING_ONBOARDING_KEEP_DESCRIPTION,d$ as SAMPLING_ONBOARDING_KEEP_SUBTITLE,d_ as SAMPLING_ONBOARDING_KEEP_TITLE,e1 as SAMPLING_ONBOARDING_KEEP_USE_CASE_1,e2 as SAMPLING_ONBOARDING_KEEP_USE_CASE_2,e3 as SAMPLING_ONBOARDING_KEEP_USE_CASE_3,e4 as SAMPLING_ONBOARDING_KEEP_USE_CASE_4,e5 as SAMPLING_ONBOARDING_KEEP_USE_CASE_5,d4 as SAMPLING_ONBOARDING_NOISY_BANNER,d0 as SAMPLING_ONBOARDING_NOISY_DESCRIPTION,d3 as SAMPLING_ONBOARDING_NOISY_PRESET_NAME,d1 as SAMPLING_ONBOARDING_NOISY_PRESET_SECTION,d2 as SAMPLING_ONBOARDING_NOISY_PRESET_TOGGLE_LABEL,c$ as SAMPLING_ONBOARDING_NOISY_SUBTITLE,c_ as SAMPLING_ONBOARDING_NOISY_TITLE,dX as SAMPLING_ONBOARDING_PRESET_RULES_SECTION,cY as SAMPLING_ONBOARDING_RECOMMENDED_BADGE,dD as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_BADGE,dE as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_DESC,dF as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_NAME,dA as SAMPLING_ONBOARDING_STRATEGY_DROP_BADGE,dy as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_1,dz as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_2,dB as SAMPLING_ONBOARDING_STRATEGY_DROP_DESC,dC as SAMPLING_ONBOARDING_STRATEGY_DROP_NAME,dv as SAMPLING_ONBOARDING_STRATEGY_KEEP_BADGE,dt as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_1,du as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_2,dw as SAMPLING_ONBOARDING_STRATEGY_KEEP_DESC,dx as SAMPLING_ONBOARDING_STRATEGY_KEEP_NAME,ds as SAMPLING_ONBOARDING_STRATEGY_KEEP_WARNING,dr as SAMPLING_ONBOARDING_STRATEGY_SUBTITLE,dq as SAMPLING_ONBOARDING_STRATEGY_TITLE,d9 as SAMPLING_ONBOARDING_SUCCESS_BULLET_1,da as SAMPLING_ONBOARDING_SUCCESS_BULLET_2,db as SAMPLING_ONBOARDING_SUCCESS_BULLET_3,d8 as SAMPLING_ONBOARDING_SUCCESS_INTRO,d7 as SAMPLING_ONBOARDING_SUCCESS_SUBTITLE,d6 as SAMPLING_ONBOARDING_SUCCESS_TITLE,dm as SAMPLING_ONBOARDING_WELCOME_BANNER,df as SAMPLING_ONBOARDING_WELCOME_INTRO,dg as SAMPLING_ONBOARDING_WELCOME_STAGE_1_DESC,dh as SAMPLING_ONBOARDING_WELCOME_STAGE_1_TITLE,di as SAMPLING_ONBOARDING_WELCOME_STAGE_2_DESC,dj as SAMPLING_ONBOARDING_WELCOME_STAGE_2_TITLE,dk as SAMPLING_ONBOARDING_WELCOME_STAGE_3_DESC,dl as SAMPLING_ONBOARDING_WELCOME_STAGE_3_TITLE,de as SAMPLING_ONBOARDING_WELCOME_SUBTITLE,dd as SAMPLING_ONBOARDING_WELCOME_TITLE,eG as SAMPLING_PAGE_DESCRIPTION,eH as SAMPLING_PAGE_TITLE,aM as SCOPE_AND_LABEL,aL as SCOPE_GROUP_ANY_OF_HINT,aD as SCOPE_GROUP_LANGUAGES_TITLE,aC as SCOPE_GROUP_NAMESPACES_TITLE,az as SCOPE_GROUP_SOURCES_TITLE,E as SECTION_DURATION,y as SECTION_ERRORS,bI as SECTION_KEEP_PERCENTAGE,V as SECTION_OPERATION,au as SECTION_SAMPLING_PREVIEW,aN as SECTION_SOURCE_SCOPE,ec as STORAGE_KEYS,ey as TITLE_NO_RESULTS,eA as TITLE_NO_RULES,fQ as TOKEN_ABOUT_TO_EXPIRE,ar as TOOLTIP_NOTE,aB as UNKNOWN_SOURCE_LABEL,al as UNNAMED_RULE,eB as getNoResultsSubTitle,bQ as getSupportedActionOptions,fR as isActionSupportedOnPlatform,fS as isActionSupportedOnVersion,ba as mapActionTypesToOptions,bd as mapRuleTypesToOptions}from"./chunks/ui-components-CAPnizLR.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{bh as ACTION_OPTIONS,fK as ALL_SOURCES,cC as BTN_CANCEL,cJ as BTN_CONTINUE_EDITING,eD as BTN_CREATE_FIRST_RULE,cA as BTN_CREATE_RULE,cF as BTN_DELETE_RULE,o as BTN_EDIT_AUTO_RULE,cE as BTN_EDIT_RULE,cT as BTN_SAVE,cD as BTN_SAVE_RULE,c as BUTTON_TEXTS,cG as CATEGORY_DESCRIPTIONS,av as CATEGORY_LABELS,cI as CATEGORY_TITLES,fL as CREATE_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,fM as CREATE_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,fN as CREATE_NOISY_AUTO_RULE_DRAWER_TITLE,b_ as DEFAULT_CLUSTER_ID,bZ as DEFAULT_CLUSTER_NAME,eu as DEFAULT_DATA_STREAM_NAME,X as DESC_DURATION,fO as DESC_ERRORS,_ as DESC_OPERATION,fP as DESC_PERCENTAGE_HIGHLY_RELEVANT,bL as DESC_PERCENTAGE_NOISY,aw as DESC_RULE_TYPE,aK as DESC_SOURCE_SCOPE,bW as DESTINATION_CATEGORIES,bG as DISPLAY_LANGUAGES,D as DISPLAY_TITLES,bD as DOCS_BASE_URL,bm as DestinationCategoryTypes,cP as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_SUBTITLE,cQ as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,cN as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_SUBTITLE,cO as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,cR as EDIT_NOISY_AUTO_RULE_DRAWER_SUBTITLE,cS as EDIT_NOISY_AUTO_RULE_DRAWER_TITLE,cH as EDIT_TITLES,ac as EMPTY_VALUE,bw as EXTRACTION_FORMAT_COPY,bu as EXTRACT_ATTRIBUTE_FORM,eB as FILTER_TYPE_ALL,b2 as FORM_ALERTS,bq as INSTRUMENTATION_RULE_OPTIONS,Y as LABEL_CUSTOM_DURATION,bP as LABEL_CUSTOM_PERCENTAGE,bO as LABEL_DISABLED,cz as LABEL_DISABLED_RULE,am as LABEL_DROP_ALL,bI as LABEL_DROP_AT_MOST,bN as LABEL_ENABLED,a4 as LABEL_HTTP_ROUTE,a6 as LABEL_HTTP_ROUTE_PREFIX,a9 as LABEL_KAFKA_TOPIC,an as LABEL_KEEP_ALL,aj as LABEL_KEEP_AT_LEAST,ak as LABEL_KEEP_AT_MOST,ai as LABEL_KEEP_PERCENTAGE,O as LABEL_KEEP_TRACES_DURATION,K as LABEL_KEEP_TRACES_ERRORS,a8 as LABEL_METHOD,ar as LABEL_NOTE,L as LABEL_NO_PREVIEW,ab as LABEL_OPERATION_TYPE,fQ as LABEL_RULE_DISABLED,fR as LABEL_RULE_ENABLED,ap as LABEL_RULE_NAME,aq as LABEL_RULE_TYPE,al as LABEL_SAMPLE,a0 as LABEL_SERVER_ADDRESS,a3 as LABEL_TEMPLATED_PATH,a5 as LABEL_TEMPLATED_PATH_PREFIX,cs as LANGUAGE_OPTIONS,aS as MONITORS_OPTIONS,aA as NOTE_ENTIRE_CLUSTER,aH as NOTE_SOURCE_SCOPE_LOGIC,fS as OPENTELEMETRY_EBPF_DISTRO_OPTION,ae as OPERATION_ALL,ad as OPERATION_HTTP_CLIENT,aa as OPERATION_HTTP_SERVER,af as OPERATION_KAFKA_CONSUMER,ag as OPERATION_KAFKA_PRODUCER,cr as OTEL_DISTRO_NAME_OPTIONS,ah as PERCENTAGE_SECTION_DESCRIPTIONS,at as PLACEHOLDER_NOTE,a2 as PLACEHOLDER_ROUTE,as as PLACEHOLDER_RULE_NAME,aM as PLACEHOLDER_SEARCH_SOURCE,$ as PLACEHOLDER_SERVER_ADDRESS,cd as PROCESS_ATTRIBUTE_NAMES,bt as REGEX_TESTER_DRAWER,bM as SAMPLING_AUTO_RULE_TITLE,eJ as SAMPLING_BTN_CREATE_RULE,eH as SAMPLING_BTN_DOCS,eI as SAMPLING_BTN_REFRESH,bK as SAMPLING_COST_REDUCTION_AUTO_RULE_TITLE,cK as SAMPLING_DEFAULT_CONFIRM_DESCRIPTION,cM as SAMPLING_DEFAULT_CONFIRM_PREVIEW_LABEL,cL as SAMPLING_DEFAULT_CONFIRM_TITLE,eM as SAMPLING_DELETE_MODAL_APPROVE,eN as SAMPLING_DELETE_MODAL_CANCEL,eO as SAMPLING_DELETE_MODAL_DESCRIPTION,eP as SAMPLING_DELETE_MODAL_TITLE,cU as SAMPLING_DRAWER_WIDTH,eG as SAMPLING_DUPLICATE_RULE_WARNING,bH as SAMPLING_HIGHLY_RELEVANT_AUTO_RULE_TITLE,dK as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_1,dL as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_2,dM as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_3,dN as SAMPLING_ONBOARDING_ADVANCED_LEFT_TITLE,dO as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_1,dP as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_2,dQ as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_3,dR as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_4,dS as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_5,dT as SAMPLING_ONBOARDING_ADVANCED_RIGHT_TITLE,dV as SAMPLING_ONBOARDING_ADVANCED_SUBTITLE,dU as SAMPLING_ONBOARDING_ADVANCED_TITLE,ea as SAMPLING_ONBOARDING_AMBIENT_LABEL,df as SAMPLING_ONBOARDING_BTN_GO_TO,d0 as SAMPLING_ONBOARDING_BTN_NEXT,dJ as SAMPLING_ONBOARDING_BTN_READ_MORE,dr as SAMPLING_ONBOARDING_BTN_SKIP,ds as SAMPLING_ONBOARDING_BTN_START,dW as SAMPLING_ONBOARDING_COMMON_BANNER,e9 as SAMPLING_ONBOARDING_COMMON_RULES_SECTION,dZ as SAMPLING_ONBOARDING_DROP_DESCRIPTION,dY as SAMPLING_ONBOARDING_DROP_SUBTITLE,dX as SAMPLING_ONBOARDING_DROP_TITLE,e0 as SAMPLING_ONBOARDING_ERROR_PRESET_NAME,d$ as SAMPLING_ONBOARDING_ERROR_PRESET_TOGGLE_LABEL,e3 as SAMPLING_ONBOARDING_KEEP_DESCRIPTION,e2 as SAMPLING_ONBOARDING_KEEP_SUBTITLE,e1 as SAMPLING_ONBOARDING_KEEP_TITLE,e4 as SAMPLING_ONBOARDING_KEEP_USE_CASE_1,e5 as SAMPLING_ONBOARDING_KEEP_USE_CASE_2,e6 as SAMPLING_ONBOARDING_KEEP_USE_CASE_3,e7 as SAMPLING_ONBOARDING_KEEP_USE_CASE_4,e8 as SAMPLING_ONBOARDING_KEEP_USE_CASE_5,d7 as SAMPLING_ONBOARDING_NOISY_BANNER,d3 as SAMPLING_ONBOARDING_NOISY_DESCRIPTION,d6 as SAMPLING_ONBOARDING_NOISY_PRESET_NAME,d4 as SAMPLING_ONBOARDING_NOISY_PRESET_SECTION,d5 as SAMPLING_ONBOARDING_NOISY_PRESET_TOGGLE_LABEL,d2 as SAMPLING_ONBOARDING_NOISY_SUBTITLE,d1 as SAMPLING_ONBOARDING_NOISY_TITLE,d_ as SAMPLING_ONBOARDING_PRESET_RULES_SECTION,c$ as SAMPLING_ONBOARDING_RECOMMENDED_BADGE,dG as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_BADGE,dH as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_DESC,dI as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_NAME,dD as SAMPLING_ONBOARDING_STRATEGY_DROP_BADGE,dB as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_1,dC as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_2,dE as SAMPLING_ONBOARDING_STRATEGY_DROP_DESC,dF as SAMPLING_ONBOARDING_STRATEGY_DROP_NAME,dy as SAMPLING_ONBOARDING_STRATEGY_KEEP_BADGE,dw as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_1,dx as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_2,dz as SAMPLING_ONBOARDING_STRATEGY_KEEP_DESC,dA as SAMPLING_ONBOARDING_STRATEGY_KEEP_NAME,dv as SAMPLING_ONBOARDING_STRATEGY_KEEP_WARNING,du as SAMPLING_ONBOARDING_STRATEGY_SUBTITLE,dt as SAMPLING_ONBOARDING_STRATEGY_TITLE,dc as SAMPLING_ONBOARDING_SUCCESS_BULLET_1,dd as SAMPLING_ONBOARDING_SUCCESS_BULLET_2,de as SAMPLING_ONBOARDING_SUCCESS_BULLET_3,db as SAMPLING_ONBOARDING_SUCCESS_INTRO,da as SAMPLING_ONBOARDING_SUCCESS_SUBTITLE,d9 as SAMPLING_ONBOARDING_SUCCESS_TITLE,dq as SAMPLING_ONBOARDING_WELCOME_BANNER,di as SAMPLING_ONBOARDING_WELCOME_INTRO,dj as SAMPLING_ONBOARDING_WELCOME_STAGE_1_DESC,dk as SAMPLING_ONBOARDING_WELCOME_STAGE_1_TITLE,dl as SAMPLING_ONBOARDING_WELCOME_STAGE_2_DESC,dm as SAMPLING_ONBOARDING_WELCOME_STAGE_2_TITLE,dn as SAMPLING_ONBOARDING_WELCOME_STAGE_3_DESC,dp as SAMPLING_ONBOARDING_WELCOME_STAGE_3_TITLE,dh as SAMPLING_ONBOARDING_WELCOME_SUBTITLE,dg as SAMPLING_ONBOARDING_WELCOME_TITLE,eK as SAMPLING_PAGE_DESCRIPTION,eL as SAMPLING_PAGE_TITLE,aP as SCOPE_AND_LABEL,aO as SCOPE_GROUP_ANY_OF_HINT,aG as SCOPE_GROUP_LANGUAGES_TITLE,aF as SCOPE_GROUP_NAMESPACES_TITLE,aC as SCOPE_GROUP_SOURCES_TITLE,M as SECTION_DURATION,E as SECTION_ERRORS,bJ as SECTION_KEEP_PERCENTAGE,Z as SECTION_OPERATION,ax as SECTION_SAMPLING_PREVIEW,aQ as SECTION_SOURCE_SCOPE,eg as STORAGE_KEYS,eC as TITLE_NO_RESULTS,eE as TITLE_NO_RULES,fT as TOKEN_ABOUT_TO_EXPIRE,au as TOOLTIP_NOTE,aE as UNKNOWN_SOURCE_LABEL,ao as UNNAMED_RULE,eF as getNoResultsSubTitle,bR as getSupportedActionOptions,fU as isActionSupportedOnPlatform,fV as isActionSupportedOnVersion,bb as mapActionTypesToOptions,be as mapRuleTypesToOptions}from"./chunks/ui-components-CoDVeDqt.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,15 +1,17 @@
1
1
  import { EntityTypes } from '../../../types';
2
2
  /**
3
- * Copy used by the Add Source drawer, with K8s/VM variants.
3
+ * Copy used by the Add Source drawer, with K8s / non-K8s (VM + connector) variants.
4
4
  *
5
5
  * The drawer is a generic two-column "group → item" picker:
6
- * - K8s: namespaces (groups) → workloads (items)
7
- * - VM: kinds (groups) → sources (items)
6
+ * - K8s: namespaces (groups) → workloads (items)
7
+ * - VM/Connector: kinds (groups) → sources (items)
8
8
  *
9
- * Components call `getAddSourceDrawerLabels(isVm)` once and read fields off
10
- * the returned object instead of branching on `isVm` inline. Keeps copy
9
+ * Components call `getAddSourceDrawerLabels(useKindGroups)` once and read fields off
10
+ * the returned object instead of branching on platform inline. Keeps copy
11
11
  * centralized and makes adding a third platform (or wiring i18n) a one-file
12
12
  * change.
13
+ *
14
+ * @param useKindGroups - true for VM and cloud connectors (group by kind); false for K8s
13
15
  */
14
16
  export interface AddSourceDrawerLabels {
15
17
  groupSegmentLabel: string;
@@ -32,7 +34,7 @@ export interface AddSourceDrawerLabels {
32
34
  };
33
35
  noItemsInGroupSubTitle: string;
34
36
  }
35
- export declare const getAddSourceDrawerLabels: (isVm: boolean) => AddSourceDrawerLabels;
37
+ export declare const getAddSourceDrawerLabels: (useKindGroups: boolean) => AddSourceDrawerLabels;
36
38
  /**
37
39
  * Copy that is shared between K8s and VM (and between both columns of the drawer).
38
40
  * Centralized here so identical strings don't drift apart across files.
@@ -0,0 +1,15 @@
1
+ import { type FC } from 'react';
2
+ import { type CloudConnectorCreateInput, type CloudConnectorCreateResult } from '../../../types';
3
+ import { type HeaderProps } from '../../../components/drawer/header';
4
+ export declare enum CloudConnectorStep {
5
+ SelectProvider = 1,
6
+ Config = 2,
7
+ Validate = 3
8
+ }
9
+ export interface CreateCloudConnectorDrawerProps {
10
+ onClose: HeaderProps['onClose'];
11
+ withOverlay?: boolean;
12
+ onCreateCloudConnector?: (input: CloudConnectorCreateInput) => Promise<CloudConnectorCreateResult>;
13
+ onCreated?: (connectorId: string) => void;
14
+ }
15
+ export declare const CreateCloudConnectorDrawer: FC<CreateCloudConnectorDrawerProps>;
@@ -0,0 +1,9 @@
1
+ import { type FC } from 'react';
2
+ import type { CloudConnectorProvider } from '../../../../../types';
3
+ import type { CloudConnectorCapabilities } from '../../../../../contexts';
4
+ export interface CustomResourceTableProps {
5
+ provider?: CloudConnectorProvider;
6
+ capabilities: CloudConnectorCapabilities;
7
+ onCapabilitiesChange: (next: CloudConnectorCapabilities) => void;
8
+ }
9
+ export declare const CustomResourceTable: FC<CustomResourceTableProps>;
@@ -0,0 +1,5 @@
1
+ import type { SVG } from '../../../../../types';
2
+ import { type CloudConnectorProvider } from '../../../../../types';
3
+ export declare const getProviderIcon: (provider: CloudConnectorProvider) => SVG;
4
+ export declare const getProviderCapabilitySummary: (provider: CloudConnectorProvider) => string;
5
+ export declare const getProviderLabel: (provider: CloudConnectorProvider) => string;
@@ -0,0 +1,2 @@
1
+ import { type FC } from 'react';
2
+ export declare const SelectProviderStep: FC;
@@ -0,0 +1,12 @@
1
+ import { type FC } from 'react';
2
+ import type { CloudConnectorProvider } from '../../../../../types';
3
+ import type { CloudConnectorCapabilities } from '../../../../../contexts';
4
+ import { CloudConnectorPermissionLevel } from './permissions';
5
+ export interface PermissionListProps {
6
+ provider?: CloudConnectorProvider;
7
+ selectedPermission: string;
8
+ onSelect: (permission: CloudConnectorPermissionLevel) => void;
9
+ capabilities: CloudConnectorCapabilities;
10
+ onCapabilitiesChange: (next: CloudConnectorCapabilities) => void;
11
+ }
12
+ export declare const PermissionList: FC<PermissionListProps>;
@@ -0,0 +1,25 @@
1
+ import type { CloudConnectorCapabilities } from '../../../../../contexts';
2
+ import { CloudConnectorFeatureKey, type CloudConnectorProvider, type CloudConnectorTestCapability } from '../../../../../types';
3
+ export declare enum CloudConnectorPermissionLevel {
4
+ DiscoveryOnly = "discovery-only",
5
+ DiscoveryInstrumentation = "discovery-instrumentation",
6
+ Custom = "custom"
7
+ }
8
+ export interface PermissionLevelOption {
9
+ id: CloudConnectorPermissionLevel;
10
+ title: string;
11
+ description: string;
12
+ featureKeys: CloudConnectorFeatureKey[];
13
+ }
14
+ export declare const PERMISSION_LEVELS: PermissionLevelOption[];
15
+ export interface CustomResourceRow {
16
+ typeName: string;
17
+ displayName: string;
18
+ discoveryPermissions: string[];
19
+ instrumentationPermissions?: string[];
20
+ }
21
+ export declare const getCustomResourceRows: (provider: CloudConnectorProvider | undefined) => CustomResourceRow[];
22
+ export declare const getRequiredPermissions: (provider: CloudConnectorProvider | undefined, level: CloudConnectorPermissionLevel) => string[];
23
+ export declare const getCustomRequiredPermissions: (provider: CloudConnectorProvider | undefined, capabilities: CloudConnectorCapabilities) => string[];
24
+ export declare const getSelectedCapabilities: (provider: CloudConnectorProvider | undefined, level: CloudConnectorPermissionLevel, customCapabilities: CloudConnectorCapabilities) => CloudConnectorTestCapability[];
25
+ export declare const getPolicyPreview: (provider: CloudConnectorProvider | undefined, level: CloudConnectorPermissionLevel, capabilities?: CloudConnectorCapabilities) => string;
@@ -0,0 +1,5 @@
1
+ import { type FC } from 'react';
2
+ export interface PolicyPreviewProps {
3
+ policy: string;
4
+ }
5
+ export declare const PolicyPreview: FC<PolicyPreviewProps>;
@@ -0,0 +1,8 @@
1
+ import { type FC } from 'react';
2
+ import type { CloudConnectorProvider } from '../../../../../types';
3
+ export interface ProviderListProps {
4
+ providers: CloudConnectorProvider[];
5
+ selectedProvider: string;
6
+ onSelect: (provider: string) => void;
7
+ }
8
+ export declare const ProviderList: FC<ProviderListProps>;
@@ -0,0 +1,6 @@
1
+ import { type FC } from 'react';
2
+ export interface CreateRoleSectionProps {
3
+ step: number;
4
+ setupMethod: string;
5
+ }
6
+ export declare const CreateRoleSection: FC<CreateRoleSectionProps>;
@@ -0,0 +1,5 @@
1
+ import { type FC } from 'react';
2
+ export interface EnterArnSectionProps {
3
+ step: number;
4
+ }
5
+ export declare const EnterArnSection: FC<EnterArnSectionProps>;
@@ -0,0 +1,5 @@
1
+ import { type FC } from 'react';
2
+ export interface SetupCredentialsStepProps {
3
+ onBack: () => void;
4
+ }
5
+ export declare const SetupCredentialsStep: FC<SetupCredentialsStepProps>;
@@ -0,0 +1,30 @@
1
+ import type { CloudConnectorField, CloudConnectorProvider } from '../../../../../types';
2
+ export declare enum CloudConnectorAuthMethod {
3
+ AssumeRole = "assume-role",
4
+ StaticKeys = "static-keys"
5
+ }
6
+ export declare enum CloudConnectorSetupMethod {
7
+ CloudFormation = "cloudformation",
8
+ Terraform = "terraform",
9
+ AwsCli = "aws-cli",
10
+ Manual = "manual"
11
+ }
12
+ export interface AuthMethodOption {
13
+ id: CloudConnectorAuthMethod;
14
+ label: string;
15
+ note: string;
16
+ }
17
+ export declare const AUTH_METHODS: AuthMethodOption[];
18
+ export interface SetupMethodOption {
19
+ id: CloudConnectorSetupMethod;
20
+ label: string;
21
+ }
22
+ export declare const SETUP_METHODS: SetupMethodOption[];
23
+ export interface IamRoleInstructions {
24
+ description: string;
25
+ steps: string[];
26
+ code: string;
27
+ }
28
+ export declare const IAM_ROLE_INSTRUCTIONS: Record<CloudConnectorSetupMethod, IamRoleInstructions>;
29
+ export declare const getIamRoleInstructions: (setupMethod: string) => IamRoleInstructions;
30
+ export declare const getCredentialFields: (provider: CloudConnectorProvider | undefined, authMethodId: string) => CloudConnectorField[];
@@ -0,0 +1,9 @@
1
+ import { type FC, type ReactNode } from 'react';
2
+ export interface SectionProps {
3
+ 'data-id'?: string;
4
+ step: number;
5
+ title: string;
6
+ description: string;
7
+ children?: ReactNode;
8
+ }
9
+ export declare const Section: FC<SectionProps>;
@@ -0,0 +1,8 @@
1
+ import { type FC } from 'react';
2
+ import { type CloudConnectorTestResult } from '../../../../../types';
3
+ export interface ValidateConnectionStepProps {
4
+ isTesting: boolean;
5
+ error?: string;
6
+ result?: CloudConnectorTestResult;
7
+ }
8
+ export declare const ValidateConnectionStep: FC<ValidateConnectionStepProps>;
@@ -2,11 +2,15 @@ import { type DataCardProps } from '../../../components';
2
2
  import { type Workload } from '../../../types';
3
3
  /**
4
4
  * Build the items shown in the view-mode `Source Details` `DataCard`.
5
- * In VM mode the namespace is hidden and the kubectl command is omitted (handled separately).
5
+ * Namespace is K8s-only; region is connector-only; kubectl is omitted for
6
+ * non-K8s platforms.
6
7
  */
7
- export declare const buildDataCard: (source: Workload, isVm: boolean) => DataCardProps["items"];
8
+ export declare const buildDataCard: (source: Workload, opts: {
9
+ isK8s?: boolean;
10
+ isConnector?: boolean;
11
+ } | boolean) => DataCardProps["items"];
8
12
  /**
9
- * Build the kubectl command that targets this source. Returns `null` for VM sources
10
- * (they don't have a workload to address with kubectl).
13
+ * Build the kubectl command that targets this source. Returns `null` for
14
+ * non-K8s sources (they don't have a workload to address with kubectl).
11
15
  */
12
- export declare const buildKubectlCommand: (source: Workload, isVm: boolean) => string | null;
16
+ export declare const buildKubectlCommand: (source: Workload, isVmOrNonK8s: boolean) => string | null;
@@ -0,0 +1,12 @@
1
+ import { type FC } from 'react';
2
+ import { type Workload } from '../../../../types';
3
+ export interface RuntimeCardProps {
4
+ source: Workload;
5
+ }
6
+ /**
7
+ * Connector/VM counterpart to the K8s Containers card row: one instrumentation
8
+ * unit (the source itself) with runtime + instrumented badge and source-level
9
+ * runtime/distro overrides. Does not reuse ContainersCard — that component is
10
+ * scoped to per-container K8s overrides.
11
+ */
12
+ export declare const RuntimeCard: FC<RuntimeCardProps>;
@@ -38,6 +38,24 @@ export declare function flattenFlameRects(fb: Flamebearer): FlameRect[];
38
38
  /** Stable identity for a frame in the raw flamebearer (for zoom stack + hit-test). */
39
39
  export declare function flameRectKey(r: Pick<FlameRect, 'level' | 'offset' | 'size' | 'nameIndex'>): string;
40
40
  export declare function flameRectsEqual(a: FlameRect, b: FlameRect): boolean;
41
+ /**
42
+ * Ancestor chain from level 0 through `rect` (inclusive), by horizontal containment.
43
+ * Used to build a stable name-path identity for zoom frames across live profile refreshes (PLAT-1283).
44
+ */
45
+ export declare function flameRectAncestorChain(all: FlameRect[], rect: FlameRect): FlameRect[];
46
+ /** Root-to-frame symbol names for a rect — stable across tick growth when the call tree shape is unchanged. */
47
+ export declare function flameRectNamePath(fb: Pick<Flamebearer, 'names'>, all: FlameRect[], rect: FlameRect): string[];
48
+ /**
49
+ * Find the frame matching a root-to-frame name path in a (possibly updated) flamebearer.
50
+ * At each level picks the widest matching child under the previous match so live profiles that
51
+ * grow sample counts still resolve to the same logical stack frame.
52
+ */
53
+ export declare function findFlameRectByNamePath(fb: Pick<Flamebearer, 'names'>, all: FlameRect[], namePath: string[]): FlameRect | null;
54
+ /**
55
+ * Re-resolve a zoom stack against a new profile so live auto-refresh doesn't wipe the user's zoom (PLAT-1283).
56
+ * Truncates at the first frame that can no longer be found in the updated tree.
57
+ */
58
+ export declare function remapZoomStack(oldFb: Pick<Flamebearer, 'names'>, oldRects: FlameRect[], newFb: Pick<Flamebearer, 'names'>, newRects: FlameRect[], stack: FlameRect[]): FlameRect[];
41
59
  /**
42
60
  * All frames in the subtree under `root` (pprof-style “zoom into this frame”).
43
61
  * Parent/child follows horizontal containment on adjacent levels, matching merged flame graphs.
@@ -2,6 +2,7 @@ export * from './add-action-drawer';
2
2
  export * from './add-destination-drawer';
3
3
  export * from './add-rule-drawer';
4
4
  export * from './add-source-drawer';
5
+ export * from './create-cloud-connector-drawer';
5
6
  export * from './edit-action-drawer';
6
7
  export * from './edit-config-drawer';
7
8
  export * from './edit-destination-drawer';
@@ -1,4 +1,4 @@
1
- import { type Connection, type MinSupportedVersion } from '../../types';
1
+ import { type Connection, type MinSupportedVersion, PlatformType } from '../../types';
2
2
  import { type IslandProps, type TableProps, type TableRowCell } from '../../components';
3
3
  export declare enum DrawerId {
4
4
  BulkConfig = "bulk-config",
@@ -8,6 +8,16 @@ export declare enum DrawerId {
8
8
  BulkInstrumentationRule = "bulk-instrumentation-rule",
9
9
  Delete = "delete"
10
10
  }
11
+ export declare enum CreateNewType {
12
+ K8s = "k8s",
13
+ VmAgent = "vm-agent",
14
+ CloudConnector = "cloud-connector"
15
+ }
16
+ export declare const createNewTypeToPlatform: Record<CreateNewType, PlatformType>;
17
+ export declare const createNewOptions: {
18
+ id: CreateNewType;
19
+ label: string;
20
+ }[];
11
21
  export declare enum Keys {
12
22
  Id = "id",
13
23
  Name = "name",
@@ -1,10 +1,15 @@
1
1
  import { type FC } from 'react';
2
- import { type Connection, type MinSupportedVersion } from '../../types';
2
+ import { CloudConnectorCreateResult, CloudConnectorCreateInput, CloudConnectorProvider, type Connection, type MinSupportedVersion } from '../../types';
3
+ import { CreateNewType } from './helpers';
4
+ export { CreateNewType } from './helpers';
3
5
  export interface CentralConnectionsProps {
4
6
  connections?: Connection[];
5
7
  getConnections: () => Promise<Connection[]>;
6
8
  onClickConnection: (connection: Connection) => void;
7
9
  deleteConnection: (id: string) => Promise<void>;
10
+ onCreateNew?: (type: CreateNewType) => void;
11
+ cloudConnectorProviders?: CloudConnectorProvider[];
12
+ onCreateCloudConnector?: (input: CloudConnectorCreateInput) => Promise<CloudConnectorCreateResult>;
8
13
  configMinSupportedVersion?: MinSupportedVersion;
9
14
  snapshotMinSupportedVersion?: MinSupportedVersion;
10
15
  }