@gravitee/graphene-charts 2.36.2 → 2.36.3-feat-password-input.efed5fc

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 (66) hide show
  1. package/USAGE_GUIDE.md +0 -38
  2. package/dist/base/ChartLegend/ChartLegend.d.ts +1 -7
  3. package/dist/base/ChartLegend/ChartLegend.d.ts.map +1 -1
  4. package/dist/base/ChartTooltip/ChartTooltip.d.ts +1 -7
  5. package/dist/base/ChartTooltip/ChartTooltip.d.ts.map +1 -1
  6. package/dist/charts/DoughnutChart/DoughnutChart.d.ts.map +1 -1
  7. package/dist/dashboard-grid/DashboardGrid.d.ts.map +1 -1
  8. package/dist/dashboard-grid/DashboardWidget.d.ts.map +1 -1
  9. package/dist/dashboard-grid/index.js +47 -49
  10. package/dist/index.d.ts +1 -4
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +1767 -4399
  13. package/dist/primitives/Axis.d.ts +2 -10
  14. package/dist/primitives/Axis.d.ts.map +1 -1
  15. package/dist/primitives/CartesianChart.d.ts.map +1 -1
  16. package/dist/primitives/CartesianContext.d.ts +0 -8
  17. package/dist/primitives/CartesianContext.d.ts.map +1 -1
  18. package/dist/primitives/ReferenceLine.d.ts +1 -3
  19. package/dist/primitives/ReferenceLine.d.ts.map +1 -1
  20. package/dist/series/AreaSeries.d.ts +1 -3
  21. package/dist/series/AreaSeries.d.ts.map +1 -1
  22. package/dist/series/BarSeries.d.ts +1 -3
  23. package/dist/series/BarSeries.d.ts.map +1 -1
  24. package/dist/series/LineSeries.d.ts +1 -3
  25. package/dist/series/LineSeries.d.ts.map +1 -1
  26. package/dist/types/index.d.ts +0 -2
  27. package/dist/types/index.d.ts.map +1 -1
  28. package/package.json +4 -15
  29. package/dist/charts/TraceWaterfall/TraceWaterfall.d.ts +0 -22
  30. package/dist/charts/TraceWaterfall/TraceWaterfall.d.ts.map +0 -1
  31. package/dist/charts/TraceWaterfall/fixtures.d.ts +0 -12
  32. package/dist/charts/TraceWaterfall/fixtures.d.ts.map +0 -1
  33. package/dist/charts/TraceWaterfall/formatDuration.d.ts +0 -24
  34. package/dist/charts/TraceWaterfall/formatDuration.d.ts.map +0 -1
  35. package/dist/charts/TraceWaterfall/index.d.ts +0 -5
  36. package/dist/charts/TraceWaterfall/index.d.ts.map +0 -1
  37. package/dist/charts/TraceWaterfall/types.d.ts +0 -20
  38. package/dist/charts/TraceWaterfall/types.d.ts.map +0 -1
  39. package/dist/lib/format.d.ts +0 -18
  40. package/dist/lib/format.d.ts.map +0 -1
  41. package/dist/lib/surface.d.ts +0 -8
  42. package/dist/lib/surface.d.ts.map +0 -1
  43. package/dist/lineage/AnimatedEdge.d.ts +0 -12
  44. package/dist/lineage/AnimatedEdge.d.ts.map +0 -1
  45. package/dist/lineage/BaseNode.d.ts +0 -6
  46. package/dist/lineage/BaseNode.d.ts.map +0 -1
  47. package/dist/lineage/LineageSkeleton.d.ts +0 -13
  48. package/dist/lineage/LineageSkeleton.d.ts.map +0 -1
  49. package/dist/lineage/LineageViewer.d.ts +0 -3
  50. package/dist/lineage/LineageViewer.d.ts.map +0 -1
  51. package/dist/lineage/StatusLegend.d.ts +0 -2
  52. package/dist/lineage/StatusLegend.d.ts.map +0 -1
  53. package/dist/lineage/highlight.d.ts +0 -21
  54. package/dist/lineage/highlight.d.ts.map +0 -1
  55. package/dist/lineage/index.d.ts +0 -10
  56. package/dist/lineage/index.d.ts.map +0 -1
  57. package/dist/lineage/index.js +0 -624
  58. package/dist/lineage/layout.d.ts +0 -7
  59. package/dist/lineage/layout.d.ts.map +0 -1
  60. package/dist/lineage/styles.css +0 -1139
  61. package/dist/lineage/types.d.ts +0 -114
  62. package/dist/lineage/types.d.ts.map +0 -1
  63. package/dist/primitives/TooltipPortal.d.ts +0 -17
  64. package/dist/primitives/TooltipPortal.d.ts.map +0 -1
  65. package/dist/primitives-Bp_ciIfm.js +0 -1036
  66. package/dist/surface-k4U7sG_T.js +0 -5
@@ -16,11 +16,7 @@ export interface CategoryAxisProps {
16
16
  export declare function CategoryAxis({ scale: scaleProp, orientation: orientationProp, length: lengthProp, }: CategoryAxisProps): import("react/jsx-runtime").JSX.Element | null;
17
17
  export interface ValueAxisProps {
18
18
  scale?: ScaleLinear<number, number>;
19
- orientation?: Extract<AxisOrientation, 'bottom' | 'left' | 'right'>;
20
- /** Bind this axis to a specific axis group (e.g. `"left"` or `"right"`). */
21
- axisId?: string;
22
- /** Unit label shown once at the top of the axis. Auto-resolved from series config when omitted. */
23
- unit?: string;
19
+ orientation?: Extract<AxisOrientation, 'bottom' | 'left'>;
24
20
  /** Inner plot width/height the axis sits against. Auto-resolved from context. */
25
21
  length?: number;
26
22
  tickCount?: number;
@@ -29,12 +25,8 @@ export interface ValueAxisProps {
29
25
  /**
30
26
  * Linear axis tick labels for the value axis. When used inside CartesianChart,
31
27
  * `scale`, `orientation`, and `length` are auto-resolved from context.
32
- *
33
- * When a `unit` is available (explicit prop or auto-resolved from series config),
34
- * it is appended only to the topmost tick label to avoid visual noise while still
35
- * communicating the unit clearly.
36
28
  */
37
- export declare function ValueAxis({ scale: scaleProp, orientation: orientationProp, axisId, unit: unitProp, length: lengthProp, tickCount, tickFormatter: tickFormatterProp, }: ValueAxisProps): import("react/jsx-runtime").JSX.Element | null;
29
+ export declare function ValueAxis({ scale: scaleProp, orientation: orientationProp, length: lengthProp, tickCount, tickFormatter: tickFormatterProp, }: ValueAxisProps): import("react/jsx-runtime").JSX.Element | null;
38
30
  /** Public alias for CategoryAxis used in composable API. */
39
31
  export declare const XAxis: typeof CategoryAxis;
40
32
  /** Public alias for ValueAxis used in composable API. */
@@ -1 +1 @@
1
- {"version":3,"file":"Axis.d.ts","sourceRoot":"","sources":["../../src/primitives/Axis.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGxD,KAA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BAAgB,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IAC9F,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,iHAAiH;IACjH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAkCD,iBAAS,cAAc,CAAC,EACtB,KAAK,EACL,SAAS,EACT,IAAI,EACJ,MAAM,EACN,eAAe,EACf,iBAAiB,EACjB,MAAM,EACN,QAAQ,EACR,SAAS,EACT,kBAAkB,EAClB,qBAAqB,EACrB,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,GAAG,QAAQ,EACZ,EAAE,mBAAmB,2CAgCrB;AAkWD,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -23,14 +23,7 @@ export interface CartesianContextValue {
23
23
  data: CartesianDataPoint[];
24
24
  dataKeys: string[];
25
25
  categoryScale: CategoryScale;
26
- /** Default (left) value scale. Kept for backward compat with Grid, standalone ValueAxis, etc. */
27
26
  valueScale: ScaleLinear<number, number>;
28
- /** Per-axis value scales keyed by axisId (e.g. `'left'`, `'right'`). */
29
- valueScales: Record<string, ScaleLinear<number, number>>;
30
- /** Resolve the value scale for a given axisId; falls back to the default (left) scale. */
31
- resolveValueScale: (axisId?: string) => ScaleLinear<number, number>;
32
- /** Per-axis unit strings resolved from series config (e.g. `{ left: 'req', right: 'ms' }`). */
33
- axisUnits: Record<string, string>;
34
27
  innerWidth: number;
35
28
  innerHeight: number;
36
29
  /** Left margin in pixels; used by CategoryAxis to compute available label width. */
@@ -38,7 +31,6 @@ export interface CartesianContextValue {
38
31
  layout: 'vertical' | 'horizontal';
39
32
  animated: boolean;
40
33
  hoveredCategory: string | null;
41
- hoveredLegendKey: string | null;
42
34
  config: ChartConfig;
43
35
  stackedLayers: Map<string, Series<CartesianDataPoint, string>[]>;
44
36
  barGroupScale: ScaleBand<string> | null;
@@ -1 +1 @@
1
- {"version":3,"file":"Cartes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6E;IAC7E,OAAO,EAAE,MAAM,CAAC;IAChB,uEAAuE;IACvE,aAAa,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACzD,wCAAwC;IACxC,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,QAAA,MAAM,gBAAgB,6CAA0D,CAAC;AAEjF,wBAAgB,mBAAmB,IAAI,qBAAqB,CAM3D;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
@@ -9,8 +9,6 @@ export interface ReferenceLineProps {
9
9
  * In vertical layout this draws a horizontal line; in horizontal layout a vertical line.
10
10
  */
11
11
  y?: number;
12
- /** Bind this reference line to a specific value axis (e.g. `"left"` or `"right"`). */
13
- axisId?: string;
14
12
  /** Stroke color (any CSS color or variable). Defaults to `currentColor`. */
15
13
  stroke?: string;
16
14
  /** SVG dash pattern, e.g. `"4 2"`. Solid line when omitted. */
@@ -42,5 +40,5 @@ export interface ReferenceLineProps {
42
40
  * The optional label renders as a styled badge (via `foreignObject`) that uses
43
41
  * design-system tokens for background, border, and typography.
44
42
  */
45
- export declare function ReferenceLine({ x, y, axisId, stroke, strokeDasharray, strokeWidth, label, labelPosition, pulse, }: ReferenceLineProps): import("react/jsx-runtime").JSX.Element | null;
43
+ export declare function ReferenceLine({ x, y, stroke, strokeDasharray, strokeWidth, label, labelPosition, pulse, }: ReferenceLineProps): import("react/jsx-runtime").JSX.Element | null;
46
44
  //# sourceMappingURL=ReferenceLine.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReferenceLine.d.ts","sourceRoot":"","sources":["../../src/primitives/ReferenceLine.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;IACX;;;OAGG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,sFAAsF;IACtF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,4EAA4E;IAC5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mHpB"}
@@ -1,15 +1,13 @@
1
1
  import { CurveType } from './curves';
2
2
  export interface AreaSeriesProps {
3
3
  dataKey: string;
4
- /** Bind this series to a specific value axis (e.g. `"left"` or `"right"`). */
5
- axisId?: string;
6
4
  stackId?: string;
7
5
  curveType?: CurveType;
8
6
  fillOpacity?: number;
9
7
  gradient?: boolean;
10
8
  connectNulls?: boolean;
11
9
  }
12
- declare function AreaSeries({ dataKey, axisId, stackId, curveType, fillOpacity, gradient, connectNulls, }: AreaSeriesProps): import("react/jsx-runtime").JSX.Element;
10
+ declare function AreaSeries({ dataKey, stackId, curveType, fillOpacity, gradient, connectNulls, }: AreaSeriesProps): import("react/jsx-runtime").JSX.Element;
13
11
  declare namespace AreaSeries {
14
12
  var seriesType: "AreaSeries";
15
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AreaSeries.d.ts","sourceRoot":"","sources":["../../src/series/AreaSeries.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,8EAA8E;IAC9E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AA6BD,iBAAS,UAAU,CAAC,EAClB,OAAO,EACP,MAAM,EACN,OAAO,EACP,SAAsB,EACtB,WAAiB,EACjB,QAAe,EACf,YAAoB,GACrB,EAAE,eAAe,2CAoKjB;kBA5KQ,UAAU;;;AAgLnB,OAAO,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"AreaSeries.d.ts","sourceRoot":"","sources":["../../src/series/AreaSeries.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AA6BD,iBAAS,UAAU,CAAC,EAClB,OAAO,EACP,OAAO,EACP,SAAsB,EACtB,WAAiB,EACjB,QAAe,EACf,YAAoB,GACrB,EAAE,eAAe,2CAuJjB;kBA9JQ,UAAU;;;AAkKnB,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -1,11 +1,9 @@
1
1
  export interface BarSeriesProps {
2
2
  dataKey: string;
3
- /** Bind this series to a specific value axis (e.g. `"left"` or `"right"`). */
4
- axisId?: string;
5
3
  stackId?: string;
6
4
  barRadius?: number;
7
5
  }
8
- declare function BarSeries({ dataKey, axisId, stackId, barRadius: barRadiusProp }: BarSeriesProps): import("react/jsx-runtime").JSX.Element;
6
+ declare function BarSeries({ dataKey, stackId, barRadius: barRadiusProp }: BarSeriesProps): import("react/jsx-runtime").JSX.Element;
9
7
  declare namespace BarSeries {
10
8
  var seriesType: "BarSeries";
11
9
  }
@@ -1 +1 @@
1
- {"version":3,"file":"BarSeries.d.ts","sourceRoot":"","sources":["../../src/series/BarSeries.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,8EAA8E;IAC9E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA0CD,iBAAS,SAAS,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,EAAE,cAAc,2CAoKxF;kBApKQ,SAAS;;;AAwKlB,OAAO,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"BarSeries.d.ts","sourceRoot":"","sources":["../../src/series/BarSeries.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA0CD,iBAAS,SAAS,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,EAAE,cAAc,2CA+JhF;kBA/JQ,SAAS;;;AAmKlB,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -2,13 +2,11 @@ import { CurveType } from './curves';
2
2
  export type { CurveType } from './curves';
3
3
  export interface LineSeriesProps {
4
4
  dataKey: string;
5
- /** Bind this series to a specific value axis (e.g. `"left"` or `"right"`). */
6
- axisId?: string;
7
5
  curveType?: CurveType;
8
6
  showDots?: boolean;
9
7
  connectNulls?: boolean;
10
8
  }
11
- declare function LineSeries({ dataKey, axisId, curveType, showDots, connectNulls, }: LineSeriesProps): import("react/jsx-runtime").JSX.Element;
9
+ declare function LineSeries({ dataKey, curveType, showDots, connectNulls }: LineSeriesProps): import("react/jsx-runtime").JSX.Element;
12
10
  declare namespace LineSeries {
13
11
  var seriesType: "LineSeries";
14
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"LineSeries.d.ts","sourceRoot":"","sources":["../../src/series/LineSeries.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,YAAY,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,8EAA8E;IAC9E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAsBD,iBAAS,UAAU,CAAC,EAClB,OAAO,EACP,MAAM,EACN,SAAsB,EACtB,QAAgB,EAChB,YAAoB,GACrB,EAAE,eAAe,2CAyHjB;kBA/HQ,UAAU;;;AAmInB,OAAO,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"LineSeries.d.ts","sourceRoot":"","sources":["../../src/series/LineSeries.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,YAAY,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAsBD,iBAAS,UAAU,CAAC,EAAE,OAAO,EAAE,SAAsB,EAAE,QAAgB,EAAE,YAAoB,EAAE,EAAE,eAAe,2CAoH/G;kBApHQ,UAAU;;;AAwHnB,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -19,8 +19,6 @@ export interface ChartSeriesConfig {
19
19
  icon?: React.ComponentType;
20
20
  color?: string;
21
21
  theme?: ChartThemeColors;
22
- /** Unit suffix appended to formatted values in tooltips (e.g. "req", "ms"). */
23
- unit?: string;
24
22
  }
25
23
  export type ChartConfig = Record<string, ChartSeriesConfig>;
26
24
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,eAAO,MAAM,YAAY;;;CAAwC,CAAC;AAElE,MAAM,MAAM,gBAAgB,GAAG;KAAG,CAAC,IAAI,MAAM,OAAO,YAAY,GAAG,MAAM;CAAE,CAAC;AAE5E;;;;;;;GAOG;AACH,MAAM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G,OAAO,CAAC;AAEvD,MAAM,WAAW,MAAM;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,cAAc,EAAE,MAK5B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/graphene-charts",
3
- "version": "2.36.2",
3
+ "version": "2.36.3-feat-password-input.efed5fc",
4
4
  "type": "module",
5
5
  "description": "Theme-compliant data visualization components for the Graphene design system. Built on D3, styled with Tailwind, and designed to inherit the Graphene token system out of the box.",
6
6
  "keywords": [
@@ -37,12 +37,7 @@
37
37
  "types": "./dist/dashboard-grid/index.d.ts",
38
38
  "import": "./dist/dashboard-grid/index.js"
39
39
  },
40
- "./dashboard-grid/styles.css": "./dist/dashboard-grid/styles.css",
41
- "./lineage": {
42
- "types": "./dist/lineage/index.d.ts",
43
- "import": "./dist/lineage/index.js"
44
- },
45
- "./lineage/styles.css": "./dist/lineage/styles.css"
40
+ "./dashboard-grid/styles.css": "./dist/dashboard-grid/styles.css"
46
41
  },
47
42
  "files": [
48
43
  "dist",
@@ -50,7 +45,7 @@
50
45
  ],
51
46
  "scripts": {
52
47
  "dev": "storybook dev -p 6007",
53
- "build": "tsc -p tsconfig.lib.json && vite build && node scripts/build-dashboard-grid-styles.mjs && node scripts/build-lineage-styles.mjs",
48
+ "build": "tsc -p tsconfig.lib.json && vite build && node scripts/build-dashboard-grid-styles.mjs",
54
49
  "lint": "eslint . && prettier --check . --ignore-path ../../.prettierignore",
55
50
  "lint:fix": "eslint . --fix && prettier --write . --ignore-path ../../.prettierignore",
56
51
  "storybook": "storybook dev -p 6007",
@@ -58,23 +53,18 @@
58
53
  "test": "vitest run"
59
54
  },
60
55
  "dependencies": {
61
- "@dagrejs/dagre": "3.0.0",
62
56
  "d3-array": "3.2.4",
63
57
  "d3-scale": "4.0.2",
64
58
  "d3-shape": "3.2.0"
65
59
  },
66
60
  "peerDependencies": {
67
- "@gravitee/graphene-core": "^2.31.0",
68
- "@xyflow/react": "^12.0.0",
61
+ "@gravitee/graphene-core": "2.36.3-feat-password-input.efed5fc",
69
62
  "react": "^19.0.0",
70
63
  "react-dom": "^19.0.0",
71
64
  "react-grid-layout": "^2.0.0",
72
65
  "tailwindcss": "^4.0.0"
73
66
  },
74
67
  "peerDependenciesMeta": {
75
- "@xyflow/react": {
76
- "optional": true
77
- },
78
68
  "react-grid-layout": {
79
69
  "optional": true
80
70
  },
@@ -89,7 +79,6 @@
89
79
  "@types/d3-array": "3.2.2",
90
80
  "@types/d3-scale": "4.0.9",
91
81
  "@types/d3-shape": "3.1.8",
92
- "@xyflow/react": "12.10.2",
93
82
  "happy-dom": "20.9.0",
94
83
  "react-grid-layout": "^2.0.0",
95
84
  "vitest": "4.1.6"
@@ -1,22 +0,0 @@
1
- import { ChartState } from '../../types';
2
- import { TraceWaterfallRow } from './types';
3
- import * as React from 'react';
4
- export interface TraceWaterfallProps extends Omit<React.ComponentProps<'div'>, 'onSelect'> {
5
- spans: TraceWaterfallRow[];
6
- /** Lifecycle state. When omitted, inferred from spans length. */
7
- state?: ChartState;
8
- selectedSpanId?: string;
9
- /** Fired when a span row is selected (click or keyboard Enter). Receives the full span. */
10
- onSpanSelect?: (span: TraceWaterfallRow) => void;
11
- /** Called when a span row is hovered. */
12
- onSpanHover?: (span: TraceWaterfallRow) => void;
13
- /** Called when the cursor leaves a span row. */
14
- onSpanLeave?: () => void;
15
- /** When true, all parent spans start collapsed. */
16
- defaultCollapsed?: boolean;
17
- /** Custom render for the hover card content. When omitted, the built-in detail card is used. */
18
- renderTooltip?: (span: TraceWaterfallRow) => React.ReactNode;
19
- ariaLabel?: string;
20
- }
21
- export declare function TraceWaterfall({ spans, state, selectedSpanId, onSpanSelect, onSpanHover, onSpanLeave, defaultCollapsed, renderTooltip, ariaLabel, className, ...rest }: TraceWaterfallProps): import("react/jsx-runtime").JSX.Element;
22
- //# sourceMappingURL=TraceWaterfall.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TraceWaterfall.d.ts","sourceRoot":"","sources":["../../../src/charts/TraceWaterfall/TraceWaterfall.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAUlE,OAAO,KAAK,EAAwB,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAwDvE,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IACxF,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,iEAAiE;IACjE,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,2FAA2F;IAC3F,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACjD,yCAAyC;IACzC,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAChD,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,mDAAmD;IACnD,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gGAAgG;IAChG,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,KAAK,CAAC,SAAS,CAAC;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAuhBD,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,KAAK,EACL,cAAc,EACd,YAAY,EACZ,WAAW,EACX,WAAW,EACX,gBAAwB,EACxB,aAAa,EACb,SAAsC,EACtC,SAAS,EACT,GAAG,IAAI,EACR,EAAE,mBAAmB,2CAkHrB"}
@@ -1,12 +0,0 @@
1
- import { TraceWaterfallRow } from './types';
2
- /** Sequential parent → child chain across multiple services. */
3
- export declare const chainSpans: TraceWaterfallRow[];
4
- /** Parallel sibling spans — microservice fan-out. */
5
- export declare const parallelSpans: TraceWaterfallRow[];
6
- /** Trace with cascading error. */
7
- export declare const errorSpans: TraceWaterfallRow[];
8
- /** Deep nesting with sub-millisecond spans. */
9
- export declare const deepTreeSpans: TraceWaterfallRow[];
10
- /** Realistic API gateway trace with many services. */
11
- export declare const realisticSpans: TraceWaterfallRow[];
12
- //# sourceMappingURL=fixtures.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../src/charts/TraceWaterfall/fixtures.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAKjD,gEAAgE;AAChE,eAAO,MAAM,UAAU,EAAE,iBAAiB,EAkEzC,CAAC;AAEF,qDAAqD;AACrD,eAAO,MAAM,aAAa,EAAE,iBAAiB,EA6E5C,CAAC;AAEF,kCAAkC;AAClC,eAAO,MAAM,UAAU,EAAE,iBAAiB,EAuDzC,CAAC;AAEF,+CAA+C;AAC/C,eAAO,MAAM,aAAa,EAAE,iBAAiB,EAmG5C,CAAC;AAEF,sDAAsD;AACtD,eAAO,MAAM,cAAc,EAAE,iBAAiB,EAyH7C,CAAC"}
@@ -1,24 +0,0 @@
1
- /** Minimum rendered bar width in pixels so sub-ms spans remain visible. */
2
- export declare const MIN_BAR_WIDTH_PX = 3;
3
- /**
4
- * Formats a nanosecond duration for span labels and axis ticks.
5
- * Preserves sub-millisecond precision when relevant.
6
- */
7
- export declare function formatDurationNs(ns: number): string;
8
- /** Returns the trace end offset in nanoseconds (at least 1 to avoid a zero domain). */
9
- export declare function computeTraceDurationNs(spans: ReadonlyArray<{
10
- startOffsetNs: number;
11
- durationNs: number;
12
- }>): number;
13
- /** Maps span timing to pixel geometry on the shared timeline. */
14
- export declare function computeBarGeometry(startOffsetNs: number, durationNs: number, traceDurationNs: number, timelineWidth: number): {
15
- x: number;
16
- width: number;
17
- };
18
- /** Formats a span duration as a percentage of the total trace duration. */
19
- export declare function formatTracePercent(durationNs: number, traceDurationNs: number): string;
20
- /** Returns the number of ticks the time axis should display for a given pixel width. */
21
- export declare function getTickCount(usableWidth: number): number;
22
- /** Builds evenly spaced tick values for the time axis. */
23
- export declare function buildTimeAxisTicks(traceDurationNs: number, tickCount?: number): number[];
24
- //# sourceMappingURL=formatDuration.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"formatDuration.d.ts","sourceRoot":"","sources":["../../../src/charts/TraceWaterfall/formatDuration.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,eAAO,MAAM,gBAAgB,IAAI,CAAC;AAElC;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAsBnD;AAED,uFAAuF;AACvF,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,aAAa,CAAC;IAAE,aAAa,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,MAAM,CAOlH;AAED,iEAAiE;AACjE,wBAAgB,kBAAkB,CAChC,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,EAClB,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,MAAM,GACpB;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAa9B;AAED,2EAA2E;AAC3E,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,MAAM,CAMtF;AAKD,wFAAwF;AACxF,wBAAgB,YAAY,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAIxD;AAED,0DAA0D;AAC1D,wBAAgB,kBAAkB,CAAC,eAAe,EAAE,MAAM,EAAE,SAAS,SAAI,GAAG,MAAM,EAAE,CAMnF"}
@@ -1,5 +0,0 @@
1
- export { TraceWaterfall } from './TraceWaterfall';
2
- export type { TraceWaterfallProps } from './TraceWaterfall';
3
- export { buildTimeAxisTicks, computeBarGeometry, computeTraceDurationNs, formatDurationNs, formatTracePercent, } from './formatDuration';
4
- export type { SpanKind, SpanStatus, TraceWaterfallRow } from './types';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/charts/TraceWaterfall/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC"}
@@ -1,20 +0,0 @@
1
- export type SpanKind = 'internal' | 'server' | 'client' | 'producer' | 'consumer';
2
- export type SpanStatus = 'ok' | 'error' | 'unset';
3
- /** Pre-flattened span row for presentational rendering. */
4
- export interface TraceWaterfallRow {
5
- spanId: string;
6
- parentSpanId?: string;
7
- /** Operation name (e.g. `GET /api/users`). */
8
- name: string;
9
- /** Service that emitted this span (e.g. `api-gateway`). */
10
- serviceName: string;
11
- kind: SpanKind;
12
- status: SpanStatus;
13
- /** Offset from trace origin in nanoseconds. */
14
- startOffsetNs: number;
15
- /** Duration in nanoseconds. */
16
- durationNs: number;
17
- /** Nesting depth (0 = root). */
18
- depth: number;
19
- }
20
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/charts/TraceWaterfall/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,UAAU,GAAG,UAAU,CAAC;AAElF,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,OAAO,GAAG,OAAO,CAAC;AAElD,2DAA2D;AAC3D,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,8CAA8C;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,2DAA2D;IAC3D,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,QAAQ,CAAC;IACf,MAAM,EAAE,UAAU,CAAC;IACnB,+CAA+C;IAC/C,aAAa,EAAE,MAAM,CAAC;IACtB,+BAA+B;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -1,18 +0,0 @@
1
- /**
2
- * Compact number formatter for chart axis ticks.
3
- *
4
- * Uses SI suffixes (k, M, G, T) to keep labels short regardless of magnitude.
5
- * Values below 1 000 are returned as-is. At most one decimal is shown, and
6
- * trailing ".0" is trimmed.
7
- *
8
- * @example
9
- * compactTick(0) // "0"
10
- * compactTick(500) // "500"
11
- * compactTick(1000) // "1k"
12
- * compactTick(2300) // "2.3k"
13
- * compactTick(20000) // "20k"
14
- * compactTick(1500000) // "1.5M"
15
- * compactTick(-5000) // "-5k"
16
- */
17
- export declare function compactTick(value: number): string;
18
- //# sourceMappingURL=format.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../src/lib/format.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAajD"}
@@ -1,8 +0,0 @@
1
- /**
2
- * Shared surface styles for premium tile/card components in the charts package.
3
- * Used by DashboardWidget and BaseNode (lineage) to ensure visual consistency
4
- * without coupling the two modules.
5
- */
6
- export declare const surfaceBase: string;
7
- export declare const surfaceHover: string;
8
- //# sourceMappingURL=surface.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"surface.d.ts","sourceRoot":"","sources":["../../src/lib/surface.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,WAAW,QAMvB,CAAC;AAEF,eAAO,MAAM,YAAY,QAA8E,CAAC"}
@@ -1,12 +0,0 @@
1
- import { EdgeProps } from '@xyflow/react';
2
- import { EdgeAnimation, EdgeStatus } from './types';
3
- export interface AnimatedEdgeData {
4
- status?: EdgeStatus;
5
- animation?: EdgeAnimation;
6
- strokeWidth?: number;
7
- label?: string;
8
- dimmed?: boolean;
9
- highlighted?: boolean;
10
- }
11
- export declare function AnimatedEdge({ id, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, markerEnd, data: rawData, }: EdgeProps): import("react/jsx-runtime").JSX.Element;
12
- //# sourceMappingURL=AnimatedEdge.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnimatedEdge.d.ts","sourceRoot":"","sources":["../../src/lineage/AnimatedEdge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,SAAS,EAAqB,MAAM,eAAe,CAAC;AAC/F,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAQzD,MAAM,WAAW,gBAAgB;IAC/B,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAUD,wBAAgB,YAAY,CAAC,EAC3B,EAAE,EACF,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,EACP,cAAc,EACd,cAAc,EACd,SAAS,EACT,IAAI,EAAE,OAAO,GACd,EAAE,SAAS,2CAkEX"}
@@ -1,6 +0,0 @@
1
- import { NodeProps } from '@xyflow/react';
2
- import { BaseNodeData } from './types';
3
- export declare function BaseNode({ data }: NodeProps & {
4
- data: BaseNodeData;
5
- }): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=BaseNode.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BaseNode.d.ts","sourceRoot":"","sources":["../../src/lineage/BaseNode.tsx"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,SAAS,EAAY,MAAM,eAAe,CAAC;AAGjE,OAAO,KAAK,EAAE,YAAY,EAAc,MAAM,SAAS,CAAC;AASxD,wBAAgB,QAAQ,CAAC,EAAE,IAAI,EAAE,EAAE,SAAS,GAAG;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,2CAyEpE"}
@@ -1,13 +0,0 @@
1
- interface LineageSkeletonProps {
2
- className?: string;
3
- /** Number of placeholder nodes to render. Defaults to 4. */
4
- nodes?: number;
5
- }
6
- /**
7
- * Pulsating placeholder shown while the lineage graph is loading.
8
- * Nodes flex to share the available width (capped per node) and the group is
9
- * padded so it never touches the container edges, regardless of size.
10
- */
11
- export declare function LineageSkeleton({ className, nodes }: LineageSkeletonProps): import("react/jsx-runtime").JSX.Element;
12
- export {};
13
- //# sourceMappingURL=LineageSkeleton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LineageSkeleton.d.ts","sourceRoot":"","sources":["../../src/lineage/LineageSkeleton.tsx"],"names":[],"mappings":"AAIA,UAAU,oBAAoB;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4DAA4D;IAC5D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,KAAS,EAAE,EAAE,oBAAoB,2CAmB7E"}
@@ -1,3 +0,0 @@
1
- import { LineageViewerProps } from './types';
2
- export declare function LineageViewer<N = Record<string, unknown>>(props: LineageViewerProps<N>): import("react/jsx-runtime").JSX.Element;
3
- //# sourceMappingURL=LineageViewer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LineageViewer.d.ts","sourceRoot":"","sources":["../../src/lineage/LineageViewer.tsx"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EAMV,kBAAkB,EAEnB,MAAM,SAAS,CAAC;AAwgBjB,wBAAgB,aAAa,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,KAAK,EAAE,kBAAkB,CAAC,CAAC,CAAC,2CAMtF"}
@@ -1,2 +0,0 @@
1
- export declare function StatusLegend(): import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=StatusLegend.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StatusLegend.d.ts","sourceRoot":"","sources":["../../src/lineage/StatusLegend.tsx"],"names":[],"mappings":"AASA,wBAAgB,YAAY,4CAW3B"}
@@ -1,21 +0,0 @@
1
- import { LineageEdge } from './types';
2
- /**
3
- * How focusing a node highlights the rest of the graph.
4
- * - `neighbors`: the node plus its direct incoming/outgoing dependencies (1 hop).
5
- * This is the standard service-map behavior (Kiali, Datadog Service Map).
6
- * - `path`: the full upstream (ancestors) and downstream (descendants) lineage,
7
- * tracing every dependency chain through the node (impact analysis).
8
- */
9
- export type HighlightMode = 'neighbors' | 'path';
10
- export interface HighlightResult {
11
- /** Node ids that should stay fully visible. */
12
- nodes: Set<string>;
13
- /** Edge ids that should stay fully visible. */
14
- edges: Set<string>;
15
- }
16
- /**
17
- * Computes the set of nodes and edges to keep highlighted when `activeId` is focused.
18
- * Everything not in the returned sets should be dimmed by the caller.
19
- */
20
- export declare function computeHighlight(edges: LineageEdge[], activeId: string, mode: HighlightMode): HighlightResult;
21
- //# sourceMappingURL=highlight.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"highlight.d.ts","sourceRoot":"","sources":["../../src/lineage/highlight.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;GAMG;AACH,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG,MAAM,CAAC;AAEjD,MAAM,WAAW,eAAe;IAC9B,+CAA+C;IAC/C,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACnB,+CAA+C;IAC/C,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CACpB;AAuBD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,WAAW,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa,GAAG,eAAe,CAmC7G"}
@@ -1,10 +0,0 @@
1
- export { LineageViewer } from './LineageViewer';
2
- export { BaseNode } from './BaseNode';
3
- export { AnimatedEdge } from './AnimatedEdge';
4
- export { StatusLegend } from './StatusLegend';
5
- export { LineageSkeleton } from './LineageSkeleton';
6
- export { computeHighlight } from './highlight';
7
- export { applyDagreLayout } from './layout';
8
- export type { HighlightMode, HighlightResult } from './highlight';
9
- export type { BaseNodeData, EdgeAnimation, EdgeStatus, LayoutDirection, LayoutStrategy, LineageEdge, LineageNode, LineageViewerProps, NodeMetric, NodeStatus, } from './types';
10
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lineage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5C,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAClE,YAAY,EACV,YAAY,EACZ,aAAa,EACb,UAAU,EACV,eAAe,EACf,cAAc,EACd,WAAW,EACX,WAAW,EACX,kBAAkB,EAClB,UAAU,EACV,UAAU,GACX,MAAM,SAAS,CAAC"}