@odigos/ui-kit 0.0.286-dev.520 → 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.
- package/CHANGELOG.md +7 -0
- package/lib/chunks/helpers-CtkwQ3Wc.js +9 -0
- package/lib/chunks/{index-9H2LDuOq.js → index-BlYPxLja.js} +23 -23
- package/lib/chunks/source-instrument-form-context-Bg6JzU76.js +5 -0
- package/lib/chunks/ui-components-CjgsN17j.js +1943 -0
- package/lib/components/button/index.d.ts +3 -1
- package/lib/components/drop-data/index.d.ts +4 -10
- package/lib/components/index.d.ts +2 -0
- package/lib/components/popup/index.d.ts +17 -0
- package/lib/components/select-window-hours/index.d.ts +17 -0
- package/lib/components.js +1 -1
- package/lib/constants/index.d.ts +1 -0
- package/lib/constants/instrumentation-rules/index.d.ts +2 -1
- package/lib/constants/strings/index.d.ts +14 -0
- package/lib/constants/url-templatization/index.d.ts +90 -0
- package/lib/constants.js +1 -1
- package/lib/containers/_drawers/index.d.ts +3 -0
- package/lib/containers/_drawers/url-templatization-custom-template-drawer/destination-step.d.ts +16 -0
- package/lib/containers/_drawers/url-templatization-custom-template-drawer/index.d.ts +18 -0
- package/lib/containers/_drawers/url-templatization-default-rule-drawer/index.d.ts +14 -0
- package/lib/containers/_drawers/url-templatization-template-view-drawer/index.d.ts +9 -0
- package/lib/containers/central-connections/helpers.d.ts +8 -0
- package/lib/containers/central-connections/index.d.ts +1 -0
- package/lib/containers/index.d.ts +1 -0
- package/lib/containers/insights/findings/drawer/anomaly/index.d.ts +1 -0
- package/lib/containers/insights/findings/drawer/helpers.d.ts +0 -2
- package/lib/containers/insights/findings/drawer/violation/index.d.ts +1 -0
- package/lib/containers/insights/findings/helpers.d.ts +13 -3
- package/lib/containers/insights/findings/resolve-findings/index.d.ts +11 -0
- package/lib/containers/insights/overview/contained-table-and-heading/index.d.ts +1 -0
- package/lib/containers/insights/settings-and-configurations/panels/guardrails/create-panel.d.ts +2 -6
- package/lib/containers/insights/settings-and-configurations/panels/guardrails/facet-section.d.ts +1 -0
- package/lib/containers/insights/settings-and-configurations/panels/guardrails/mappers.d.ts +5 -0
- package/lib/containers/insights/transactions/helpers.d.ts +0 -1
- package/lib/containers/url-templatization/converters.d.ts +43 -0
- package/lib/containers/url-templatization/custom-templates-list.d.ts +16 -0
- package/lib/containers/url-templatization/default-rules-list.d.ts +10 -0
- package/lib/containers/url-templatization/helpers.d.ts +17 -0
- package/lib/containers/url-templatization/index.d.ts +5 -0
- package/lib/containers/url-templatization/scope-summary.d.ts +8 -0
- package/lib/containers/url-templatization/template-path.d.ts +8 -0
- package/lib/containers.js +888 -432
- package/lib/contexts/odigos-api/hooks/use-insights-api.d.ts +4 -1
- package/lib/contexts/odigos-api/index.d.ts +1 -1
- package/lib/contexts/odigos-api/types.d.ts +5 -0
- package/lib/contexts/odigos-context.d.ts +3 -3
- package/lib/contexts.js +1 -1
- package/lib/functions.js +1 -1
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/useAnchoredPopup.d.ts +44 -0
- package/lib/hooks/useOnClickOutside.d.ts +1 -0
- package/lib/hooks.js +1 -1
- package/lib/icons/common/clock-icon/index.d.ts +2 -0
- package/lib/icons/common/index.d.ts +1 -0
- package/lib/icons/overview/index.d.ts +1 -0
- package/lib/icons/overview/url-templatization-icon/index.d.ts +2 -0
- package/lib/icons.js +1 -1
- package/lib/snippets/actions/index.d.ts +8 -5
- package/lib/snippets/upgrade-modal/index.d.ts +1 -1
- package/lib/snippets/wide-drawer/index.d.ts +6 -0
- 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 +12 -0
- package/lib/types/common/index.d.ts +7 -2
- package/lib/types/instrumentation-rules/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/helpers-B0SJ6hqm.js +0 -9
- package/lib/chunks/source-instrument-form-context-BF70uJ_R.js +0 -5
- package/lib/chunks/ui-components-DqG0z5U0.js +0 -1878
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type UrlTemplatizationDefaultGroup } from '../../types';
|
|
3
|
+
interface DefaultRulesListProps {
|
|
4
|
+
actionName?: string | null;
|
|
5
|
+
groups: UrlTemplatizationDefaultGroup[];
|
|
6
|
+
onAddRule?: () => void;
|
|
7
|
+
onEditRule?: (index: number) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const DefaultRulesList: FC<DefaultRulesListProps>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type Action } from '../../types';
|
|
2
|
+
export declare const findUrlTemplatizationActions: (actions: Action[]) => Action[];
|
|
3
|
+
export declare const findUrlTemplatizationAction: (actions: Action[]) => Action | null;
|
|
4
|
+
export declare const hasDefaultTemplatizationRules: (action: Action | null) => boolean;
|
|
5
|
+
export declare const isDefaultTemplatizationEnabled: (action: Action | null) => boolean;
|
|
6
|
+
export declare const hasCustomUrlTemplates: (action: Action | null) => boolean;
|
|
7
|
+
export declare const hasAnyCustomUrlTemplates: (actions: Action[]) => boolean;
|
|
8
|
+
export declare function normalizeUrlPath(input: string): string;
|
|
9
|
+
export interface TemplateMatchCapture {
|
|
10
|
+
name: string;
|
|
11
|
+
value: string;
|
|
12
|
+
}
|
|
13
|
+
export interface TemplateMatchResult {
|
|
14
|
+
matched: boolean;
|
|
15
|
+
captures: TemplateMatchCapture[];
|
|
16
|
+
}
|
|
17
|
+
export declare function matchTemplate(template: string, urlInput: string): TemplateMatchResult;
|