@odigos/ui-kit 0.0.261 → 0.0.263-dev.519
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/lib/chunks/{connections-scope-DhNWocBO.js → connections-scope-DEVWbigK.js} +1 -1
- package/lib/chunks/index-BVtv0LGZ.js +155 -0
- package/lib/chunks/{odigos-context-BYgtdAtj.js → odigos-context-DGEWcwEQ.js} +1 -2
- package/lib/chunks/source-instrument-form-context-DMCdySjE.js +1 -0
- package/lib/chunks/ui-components-BDtk3K99.js +1742 -0
- package/lib/chunks/use-odigos-api-ZAJiPzPh.js +5 -0
- package/lib/components/_v2/cards/section-card/index.d.ts +2 -0
- package/lib/components/_v2/index.d.ts +1 -0
- package/lib/components/_v2/input-list/index.d.ts +2 -0
- package/lib/components/_v2/input-table/card-table.d.ts +10 -0
- package/lib/components/_v2/input-table/dynamic-field/index.d.ts +1 -0
- package/lib/components/_v2/input-table/index.d.ts +2 -0
- package/lib/components/_v2/input-table/types.d.ts +13 -1
- package/lib/components/_v2/radio-card/index.d.ts +16 -0
- package/lib/components/v2.js +1 -1
- package/lib/components.js +1 -1
- package/lib/constants/instrumentation-rules/index.d.ts +2 -1
- package/lib/constants/strings/index.d.ts +64 -0
- package/lib/constants.js +1 -1
- package/lib/containers/_v2/_drawers/add-source-drawer/strings.d.ts +1 -0
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/index.d.ts +15 -0
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/select-provider/custom-resource-table.d.ts +9 -0
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/select-provider/helpers.d.ts +5 -0
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/select-provider/index.d.ts +2 -0
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/select-provider/permission-list.d.ts +12 -0
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/select-provider/permissions.d.ts +25 -0
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/select-provider/policy-preview.d.ts +5 -0
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/select-provider/provider-list.d.ts +8 -0
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/setup-credentials/create-role-section.d.ts +6 -0
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/setup-credentials/enter-arn-section.d.ts +5 -0
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/setup-credentials/index.d.ts +5 -0
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/setup-credentials/methods.d.ts +30 -0
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/setup-credentials/section.d.ts +9 -0
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/validate-connection/index.d.ts +8 -0
- package/lib/containers/_v2/_drawers/index.d.ts +1 -0
- package/lib/containers/_v2/_forms/add-action-form/dynamic-fields/index.d.ts +1 -0
- package/lib/containers/_v2/_forms/add-rule-form/custom-fields/index.d.ts +2 -1
- package/lib/containers/_v2/central-connections/helpers.d.ts +9 -0
- package/lib/containers/_v2/central-connections/index.d.ts +6 -1
- package/lib/containers/_v2/settings/side-menu/index.d.ts +12 -0
- package/lib/containers/_v2/settings/toolbar/index.d.ts +2 -5
- package/lib/containers/v2.js +598 -158
- package/lib/containers.js +1 -1
- package/lib/contexts/cloud-connector-form-context.d.ts +35 -0
- package/lib/contexts/index.d.ts +1 -0
- package/lib/contexts/odigos-api/capabilities.d.ts +1 -0
- package/lib/contexts/odigos-api/hooks/use-instrumentation-rules-api.d.ts +13 -1
- package/lib/contexts/odigos-api/types.d.ts +3 -1
- package/lib/contexts/odigos-api.js +1 -1
- package/lib/contexts/rule-form-context.d.ts +1 -1
- package/lib/contexts.js +1 -1
- package/lib/functions.js +1 -1
- package/lib/hooks.js +1 -1
- package/lib/icons/common/index.d.ts +1 -0
- package/lib/icons/common/lock-icon/index.d.ts +2 -0
- package/lib/icons/compute-platform/cloud-connector-icon/index.d.ts +2 -0
- package/lib/icons/compute-platform/cloud-connector-policy-icon/index.d.ts +2 -0
- package/lib/icons/compute-platform/index.d.ts +2 -0
- package/lib/icons.js +1 -1
- package/lib/snippets/_v2/connector-created-modal/index.d.ts +7 -0
- package/lib/snippets/_v2/dynamic-field/index.d.ts +2 -1
- package/lib/snippets/_v2/index.d.ts +1 -0
- package/lib/snippets/v2.js +1 -1
- package/lib/snippets.js +1 -1
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/actions/index.d.ts +1 -4
- package/lib/types/cloud-connectors/index.d.ts +88 -0
- package/lib/types/common/index.d.ts +3 -1
- package/lib/types/index.d.ts +1 -0
- package/lib/types/instrumentation-rules/index.d.ts +22 -3
- package/lib/types/snapshot/index.d.ts +1 -0
- package/lib/types/sources/index.d.ts +1 -0
- package/lib/types/workload/index.d.ts +1 -0
- package/lib/types.js +1 -1
- package/lib/visuals.js +1 -1
- package/package.json +1 -1
- package/lib/chunks/index-DILEVYlK.js +0 -155
- package/lib/chunks/source-instrument-form-context-oDlfTrOD.js +0 -1
- package/lib/chunks/ui-components-BDSEcaSZ.js +0 -1692
- package/lib/chunks/use-odigos-api-DHCLONPK.js +0 -5
package/lib/containers.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{jsx as e,jsxs as t,Fragment as i}from"react/jsx-runtime";import o,{useTheme as r}from"styled-components";import{memo as n,useState as a,useCallback as s,useEffect as d,useMemo as l,createContext as c,useContext as p,useRef as u}from"react";import{U as h}from"./chunks/consts-D6GCMJ6c.js";import{MarkerType as g,useNodesState as m,useEdgesState as f,Handle as v,Position as y,getSmoothStepPath as b,BaseEdge as x,EdgeLabelRenderer as N,ReactFlowProvider as S,ReactFlow as I,Background as w,Controls as $,ControlButton as k,useReactFlow as M}from"@xyflow/react";import{N as C,o as T,p as A,q as E,r as z,v as X,w as K,T as R,a as V,x as O,y as _,B as q,z as L,L as j,M as H,O as D,Q as G,R as P,U as B,V as F,W as U,X as Y,Y as W}from"./chunks/ui-components-
|
|
1
|
+
import{jsx as e,jsxs as t,Fragment as i}from"react/jsx-runtime";import o,{useTheme as r}from"styled-components";import{memo as n,useState as a,useCallback as s,useEffect as d,useMemo as l,createContext as c,useContext as p,useRef as u}from"react";import{U as h}from"./chunks/consts-D6GCMJ6c.js";import{MarkerType as g,useNodesState as m,useEdgesState as f,Handle as v,Position as y,getSmoothStepPath as b,BaseEdge as x,EdgeLabelRenderer as N,ReactFlowProvider as S,ReactFlow as I,Background as w,Controls as $,ControlButton as k,useReactFlow as M}from"@xyflow/react";import{N as C,o as T,p as A,q as E,r as z,v as X,w as K,T as R,a as V,x as O,y as _,B as q,z as L,L as j,M as H,O as D,Q as G,R as P,U as B,V as F,W as U,X as Y,Y as W}from"./chunks/ui-components-BDtk3K99.js";import{UserIcon as Z,ImageErrorIcon as Q,ArrowLeftIcon as J,InboundIcon as ee,OutboundIcon as te,RefreshIcon as ie}from"./icons.js";import oe from"elkjs/lib/elk.bundled.js";import{d as re}from"./chunks/use-odigos-api-ZAJiPzPh.js";import"@xyflow/react/dist/style.css";import"zustand";import"javascript-time-ago";import"javascript-time-ago/locale/en";import"prism-react-renderer";import"./chunks/vendor-BFqT13Me.js";import"zustand/middleware";import"react-error-boundary";import"react-dom";import"virtua";import"@apollo/client";import"@apollo/client/link/error";import"@apollo/client/link/context";import"@apollo/client/utilities";const ne=o.div`
|
|
2
2
|
padding: 12px;
|
|
3
3
|
border-radius: 12px;
|
|
4
4
|
background-color: ${({theme:e})=>e.v2.colors.silver[750]};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type FC, type ReactNode } from 'react';
|
|
2
|
+
import type { CloudConnectorProvider } from '@/types';
|
|
3
|
+
import { type GenericFormResult } from '@/hooks/useGenericForm';
|
|
4
|
+
export interface CloudConnectorCapability {
|
|
5
|
+
discovery: boolean;
|
|
6
|
+
instrumentation: boolean;
|
|
7
|
+
}
|
|
8
|
+
export type CloudConnectorCapabilities = Record<string, CloudConnectorCapability>;
|
|
9
|
+
export interface CloudConnectorFormData {
|
|
10
|
+
provider: string;
|
|
11
|
+
permission: string;
|
|
12
|
+
customCapabilities: CloudConnectorCapabilities;
|
|
13
|
+
authMethod: string;
|
|
14
|
+
setupMethod: string;
|
|
15
|
+
awsAccountId: string;
|
|
16
|
+
credentials: Record<string, string>;
|
|
17
|
+
accessToken: string;
|
|
18
|
+
secretId: string;
|
|
19
|
+
name: string;
|
|
20
|
+
}
|
|
21
|
+
interface CloudConnectorFormContextValue {
|
|
22
|
+
providers: CloudConnectorProvider[];
|
|
23
|
+
genericForm: GenericFormResult<CloudConnectorFormData>;
|
|
24
|
+
validateFormData: () => {
|
|
25
|
+
errorMessage?: string;
|
|
26
|
+
preparedFormData: CloudConnectorFormData;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export interface CloudConnectorFormContextProviderProps {
|
|
30
|
+
children: ReactNode;
|
|
31
|
+
providers?: CloudConnectorProvider[];
|
|
32
|
+
}
|
|
33
|
+
export declare const CloudConnectorFormContextProvider: FC<CloudConnectorFormContextProviderProps>;
|
|
34
|
+
export declare const useCloudConnectorFormContext: () => CloudConnectorFormContextValue;
|
|
35
|
+
export {};
|
package/lib/contexts/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export interface Capabilities {
|
|
|
28
28
|
canCreateAction: boolean;
|
|
29
29
|
canFetchActionTypes: boolean;
|
|
30
30
|
canCreateInstrumentationRule: boolean;
|
|
31
|
+
canFetchInstrumentationRuleTypes: boolean;
|
|
31
32
|
canApplyEffectiveConfig: boolean;
|
|
32
33
|
canFetchEffectiveConfig: boolean;
|
|
33
34
|
canFetchConfigYamls: boolean;
|
|
@@ -21,12 +21,16 @@
|
|
|
21
21
|
* here rather than per-adapter.
|
|
22
22
|
*/
|
|
23
23
|
import type { OperationContext, OdigosApiOperations } from '../types';
|
|
24
|
-
import { type InstrumentationRule, type InstrumentationRuleFormData, type InstrumentationRuleType } from '@/types';
|
|
24
|
+
import { type InstrumentationRule, type InstrumentationRuleFormData, type InstrumentationRuleOption, type InstrumentationRuleType } from '@/types';
|
|
25
25
|
export interface UseInstrumentationRulesResult {
|
|
26
26
|
items: InstrumentationRule[];
|
|
27
27
|
loading: boolean;
|
|
28
28
|
refetch: () => Promise<void>;
|
|
29
29
|
}
|
|
30
|
+
export interface UseInstrumentationRuleTypesResult {
|
|
31
|
+
options: InstrumentationRuleOption[];
|
|
32
|
+
loading: boolean;
|
|
33
|
+
}
|
|
30
34
|
export interface InstrumentationRulesApi {
|
|
31
35
|
/**
|
|
32
36
|
* Subscribe to the instrumentation-rules list. Owns a
|
|
@@ -35,6 +39,14 @@ export interface InstrumentationRulesApi {
|
|
|
35
39
|
* already folded back into the kit's `sourceScopes` spec shape).
|
|
36
40
|
*/
|
|
37
41
|
useRules: () => UseInstrumentationRulesResult;
|
|
42
|
+
/**
|
|
43
|
+
* Subscribe to the dynamic rule-type catalog (GET_INSTRUMENTATION_RULE_TYPES).
|
|
44
|
+
* Owns a `useApiQuery` — call at the top level of a container. Returns the
|
|
45
|
+
* mapped `{ options, loading }`; `options` is empty when the operation is
|
|
46
|
+
* unsupported or resolves nothing, so callers can fall back to
|
|
47
|
+
* `INSTRUMENTATION_RULE_OPTIONS`.
|
|
48
|
+
*/
|
|
49
|
+
useRuleTypes: () => UseInstrumentationRuleTypesResult;
|
|
38
50
|
fetchAll: () => Promise<void>;
|
|
39
51
|
create: (input: InstrumentationRuleFormData, ruleType?: InstrumentationRuleType) => Promise<void>;
|
|
40
52
|
update: (id: string, input: InstrumentationRuleFormData, ruleType?: InstrumentationRuleType) => Promise<void>;
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
import type { ReactNode } from 'react';
|
|
18
18
|
import type { DocumentNode } from 'graphql';
|
|
19
19
|
import type { InstrumentationRuleInputWire } from '@/functions/instrumentation-rule-source-scopes';
|
|
20
|
-
import type { Action, ActionFormData, AllClusterSnapshots, ClusterSnapshot, ConfigYaml, CostReductionRule, CostReductionRuleInput, DataStream, DescribeOdigos, DescribeSource, Destination, DestinationFormData, DiagnoseFormData, EffectiveConfig, EffectiveConfigInput, EnableProfilingResult, ExtendedPodInfo, FetchedConfig, GatewayInfo, GetActionTypesResult, GetDestinationCategoriesResult, GetPotentialDestinationsResult, HighlyRelevantOperationRule, HighlyRelevantOperationRuleInput, InstrumentationRule, K8sResourceKind, LocalUiConfigInput, Metrics, Namespace, NoisyOperationRule, NoisyOperationRuleInput, NodeCollectoInfo, PlatformType, PodInfo, ProfilingSlots, SamplingRules, SamplingRulesK8sHealthConfig, ServiceMapSources, SourceFormData, SourceProfilingResult, TestConnectionResponse, Tier, TokenPayload, Workload, WorkloadId, PeerSources } from '@/types';
|
|
20
|
+
import type { Action, ActionFormData, AllClusterSnapshots, ClusterSnapshot, ConfigYaml, CostReductionRule, CostReductionRuleInput, DataStream, DescribeOdigos, DescribeSource, Destination, DestinationFormData, DiagnoseFormData, EffectiveConfig, EffectiveConfigInput, EnableProfilingResult, ExtendedPodInfo, FetchedConfig, GatewayInfo, GetActionTypesResult, GetInstrumentationRuleTypesResult, GetDestinationCategoriesResult, GetPotentialDestinationsResult, HighlyRelevantOperationRule, HighlyRelevantOperationRuleInput, InstrumentationRule, K8sResourceKind, LocalUiConfigInput, Metrics, Namespace, NoisyOperationRule, NoisyOperationRuleInput, NodeCollectoInfo, PlatformType, PodInfo, ProfilingSlots, SamplingRules, SamplingRulesK8sHealthConfig, ServiceMapSources, SourceFormData, SourceProfilingResult, TestConnectionResponse, Tier, TokenPayload, Workload, WorkloadId, PeerSources } from '@/types';
|
|
21
21
|
import type { ApolloClient, ApolloLink, FetchPolicy, MutationFetchPolicy, NormalizedCacheObject, TypePolicies, WatchQueryFetchPolicy } from '@apollo/client';
|
|
22
22
|
/**
|
|
23
23
|
* The execution context for a given operation, propagated through every
|
|
@@ -266,6 +266,7 @@ export interface PersistSourcesVars {
|
|
|
266
266
|
namespace: string;
|
|
267
267
|
name: string;
|
|
268
268
|
kind: K8sResourceKind | '';
|
|
269
|
+
region?: string;
|
|
269
270
|
selected: boolean;
|
|
270
271
|
currentStreamName: string;
|
|
271
272
|
}[];
|
|
@@ -713,6 +714,7 @@ export interface OdigosApiOperations {
|
|
|
713
714
|
UPDATE_ACTION: Operation<UpdateActionResult, UpdateActionVars>;
|
|
714
715
|
DELETE_ACTION: Operation<DeleteActionResult, DeleteActionVars>;
|
|
715
716
|
GET_INSTRUMENTATION_RULES: Operation<GetInstrumentationRulesData, undefined>;
|
|
717
|
+
GET_INSTRUMENTATION_RULE_TYPES?: Operation<GetInstrumentationRuleTypesResult, undefined>;
|
|
716
718
|
CREATE_INSTRUMENTATION_RULE: Operation<CreateInstrumentationRuleResult, CreateInstrumentationRuleVars>;
|
|
717
719
|
UPDATE_INSTRUMENTATION_RULE: Operation<UpdateInstrumentationRuleResult, UpdateInstrumentationRuleVars>;
|
|
718
720
|
DELETE_INSTRUMENTATION_RULE: Operation<DeleteInstrumentationRuleResult, DeleteInstrumentationRuleVars>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as o,r,f as t}from"../chunks/use-odigos-api-
|
|
1
|
+
import{e as o,r,f as t}from"../chunks/use-odigos-api-ZAJiPzPh.js";export{O as OdigosApiProvider,p as prepareNamespacePayloads,a as prepareSourcePayloads,u as useApiLazyQuery,b as useApiMutation,c as useApiQuery,d as useOdigosApi}from"../chunks/use-odigos-api-ZAJiPzPh.js";export{O as OdigosApiConnectionsScope}from"../chunks/connections-scope-DEVWbigK.js";import{useApolloClient as e}from"@apollo/client";import{c as s,t as i}from"../chunks/ui-components-BDtk3K99.js";import"react";import"react/jsx-runtime";import"@apollo/client/link/error";import"@apollo/client/link/context";import"@apollo/client/utilities";import"styled-components";import"../icons.js";import"zustand";import"javascript-time-ago";import"javascript-time-ago/locale/en";import"prism-react-renderer";import"../chunks/vendor-BFqT13Me.js";import"zustand/middleware";import"react-error-boundary";import"react-dom";import"virtua";const n=()=>{const s=e(),{operations:i,context:n}=o();return{multiFetch:async(o,r,e)=>{const a=i[o];return a?t(s,a,r,e,n):{results:[],allSucceeded:!1,anySucceeded:!1,successCount:0,failureCount:r.length,error:`Operation ${String(o)} not configured`}},bulkPersistSources:async(o,t)=>{const e=[];for(const a of o){const o={...n,proxyID:a},{error:c}=await r(s,i.PERSIST_SOURCES,t,o);c&&e.push(`${a}: ${c}`)}return e.length?{error:e.join(", ")}:void 0},applyConfigurations:async(o,t)=>{if(!i.UPDATE_REMOTE_CONFIG)return{error:"UPDATE_REMOTE_CONFIG not configured"};const{error:e}=await r(s,i.UPDATE_REMOTE_CONFIG,{formData:t,connectionIds:o},n);return e?{error:e}:void 0}}},m=(o,r)=>o.platformType===s.K8s?r.K8s:o.platformType===s.Vm?r.Vm:void 0,l=o=>r=>{const t=o[r.platformType];if(!t)return;const e=Object.keys(t);if(0===e.length)return;const s=i(r.schemaVersion??r.version),n=[...e].sort((o,r)=>i(r)-i(o)).find(o=>s>=i(o));return n?t[n]:void 0},f=(o,r)=>{const t={};for(const e of Object.keys(o))t[e]=r(o[e]);return t};export{m as pickByPlatform,n as useApiForConnections,l as versionedDocument,f as vmDialectMap};
|
|
@@ -8,7 +8,7 @@ type FormState = Omit<InstrumentationRuleFormData, 'sourceScopes'> & {
|
|
|
8
8
|
interface RuleFormContextValue {
|
|
9
9
|
selectedOption: InstrumentationRuleOption | null;
|
|
10
10
|
onSelectOption: (option: InstrumentationRuleOption | null) => void;
|
|
11
|
-
loadRule: (rule: InstrumentationRule) => void;
|
|
11
|
+
loadRule: (rule: InstrumentationRule, option?: InstrumentationRuleOption | null) => void;
|
|
12
12
|
genericForm?: GenericFormResult<FormState>;
|
|
13
13
|
validateFormData: () => {
|
|
14
14
|
errorMessage?: string;
|
package/lib/contexts.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{A as ActionFormContextProvider,D as DataStreamFormContextProvider,a as DestinationFormContextProvider,R as RuleFormContextProvider,S as SamplingRuleFormType,b as SamplingRulesFormProvider,c as SourceEditFormContextProvider,d as SourceInstrumentFormContextProvider,u as useActionFormContext,e as
|
|
1
|
+
export{A as ActionFormContextProvider,C as CloudConnectorFormContextProvider,D as DataStreamFormContextProvider,a as DestinationFormContextProvider,R as RuleFormContextProvider,S as SamplingRuleFormType,b as SamplingRulesFormProvider,c as SourceEditFormContextProvider,d as SourceInstrumentFormContextProvider,u as useActionFormContext,e as useCloudConnectorFormContext,f as useDataStreamFormContext,g as useDestinationFormContext,h as useRuleFormContext,i as useSamplingRulesFormContext,j as useSourceEditFormContext,k as useSourceInstrumentFormContext}from"./chunks/source-instrument-form-context-DMCdySjE.js";export{O as OdigosProvider,c as checkVersionSupport,u as useOdigos}from"./chunks/odigos-context-DGEWcwEQ.js";import{jsx as o}from"react/jsx-runtime";import{useMemo as r,useContext as t,createContext as s}from"react";export{O as OdigosApiConnectionsScope}from"./chunks/connections-scope-DEVWbigK.js";export{O as OdigosApiProvider,p as prepareNamespacePayloads,a as prepareSourcePayloads,u as useApiLazyQuery,b as useApiMutation,c as useApiQuery,d as useOdigosApi}from"./chunks/use-odigos-api-ZAJiPzPh.js";export{pickByPlatform,useApiForConnections,versionedDocument,vmDialectMap}from"./contexts/odigos-api.js";import"./chunks/ui-components-BDtk3K99.js";import"styled-components";import"./icons.js";import"zustand";import"javascript-time-ago";import"javascript-time-ago/locale/en";import"prism-react-renderer";import"./chunks/vendor-BFqT13Me.js";import"zustand/middleware";import"react-error-boundary";import"react-dom";import"virtua";import"@apollo/client";import"@apollo/client/link/error";import"@apollo/client/link/context";import"@apollo/client/utilities";const n=s({formType:void 0}),m=({children:e,formType:t})=>{const s=r(()=>({formType:t}),[t]);return o(n.Provider,{value:s,children:e})},l=()=>t(n);export{m as StorybookProvider,l as useStorybook};
|
package/lib/functions.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{a7 as adaptInstrumentationRuleFromWire,a5 as adaptInstrumentationRuleInputForWire,bf as buildBadgeForDesiredStatus,fg as capitalizeFirstLetter,fh as cleanObjectEmptyStringsValues,ap as compareCondition,fi as decimalsOnly,e as deepClone,ds as entityIdKey,dx as filterActions,dw as filterDestinations,b8 as filterDestinationsByStream,dv as filterSources,dj as filterSourcesByStream,fj as flattenObjectKeys,bq as formatBytes,fk as formatDuration,c1 as generateId,b6 as getActionIcon,v as getConditionsBooleans,bD as getContainersIcons,fl as getContainersInstrumentedCount,fm as getDeepValue,aW as getDestinationIcon,fn as getDetectedLanguageIcons,bk as getEffectiveLanguage,bw as getEffectiveRuntimeVersion,dt as getEntityIcon,a4 as getEntityId,dq as getEntityIdKey,dr as getEntityLabel,fo as getHealthBadgeLabel,a2 as getIdFromSseTarget,bc as getInstrumentationRuleIcon,fp as getMainContainerLanguage,fq as getMetricForEntity,fr as getMonitorIcon,fs as getNearestTypographySize,ft as getPlatformIcon,df as getPlatformLabel,aA as getProgrammingLanguageIcon,fu as getRecursiveValues,r as getSourceLanguageIcons,Z as getSseTargetFromId,fv as getStatusColor,dC as getStatusFromPodStatus,x as getStatusIcon,br as getStatusTypeFromOdigosHealth,fw as getValueForRange,q as getVirtualServiceIcon,bp as getWorkloadId,b9 as getYamlFieldsForDestination,fx as hasUnhealthyInstances,fy as instrumentationRuleSourceScopesFromWire,fz as instrumentationRuleSourceScopesToWire,i as isEmpty,j as isLegalK8sLabel,bZ as isOverTime,fA as isStringABoolean,fB as isTimeElapsed,bv as isValidVersion,fC as mapConditions,bi as mapDesiredStatusToConditionStatus,b7 as mapDestinationFieldsForDisplay,k as mapExportedSignals,m as mapSupportedSignals,fD as numbersOnly,fE as parseBooleanFromString,fF as parseJsonStringToPrettyString,aw as prepareDestinationFormData,fG as removeEmptyValuesFromObject,s as safeJsonParse,fH as safeJsonStringify,fI as setDeepValue,fJ as sleep,ba as splitCamelString,fK as stringifyNonStringValues,t as trimVersion}from"./chunks/ui-components-BDtk3K99.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"prism-react-renderer";import"./chunks/vendor-BFqT13Me.js";import"zustand/middleware";import"react-error-boundary";import"react-dom";import"virtua";
|
package/lib/hooks.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{fY as IGNORE_OUTSIDE_CLICK_ATTR,fZ as useActionFormData,f_ as useBodyScroll,dy as useClickNode,X as useClickNotification,du as useContainerSize,b0 as useCopy,f$ as useDataStreamFormData,g0 as useDestinationFormData,d as useGenericForm,g1 as useInstrumentationRuleFormData,bY as useKeyDown,bs as useOnClickOutside,g2 as useOverflow,u as usePopup,be as useScrollIntoViewWhen,dY as useScrollTo,dm as useSessionStorage,g3 as useSourceFormData,bd as useTimeAgo}from"./chunks/ui-components-BDtk3K99.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"prism-react-renderer";import"./chunks/vendor-BFqT13Me.js";import"zustand/middleware";import"react-error-boundary";import"react-dom";import"virtua";
|
|
@@ -27,6 +27,7 @@ export * from './image-error-icon';
|
|
|
27
27
|
export * from './inbound-icon';
|
|
28
28
|
export * from './key-icon';
|
|
29
29
|
export * from './list-icon';
|
|
30
|
+
export * from './lock-icon';
|
|
30
31
|
export * from './minus-circled-icon';
|
|
31
32
|
export * from './minus-icon';
|
|
32
33
|
export * from './no-data-icon';
|