@gooddata/sdk-ui-dashboard 10.22.0-alpha.18 → 10.22.0-alpha.19

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.
@@ -1,2 +1,2 @@
1
- export declare const LIB_VERSION = "10.22.0-alpha.18";
1
+ export declare const LIB_VERSION = "10.22.0-alpha.19";
2
2
  //# sourceMappingURL=__version.d.ts.map
package/esm/__version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // (C) 2021 GoodData Corporation
2
2
  // DO NOT CHANGE THIS FILE, IT IS RE-GENERATED ON EVERY BUILD
3
- export const LIB_VERSION = "10.22.0-alpha.18";
3
+ export const LIB_VERSION = "10.22.0-alpha.19";
4
4
  //# sourceMappingURL=__version.js.map
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { IDashboardProps } from "./types.js";
3
3
  /**
4
- * @internal
4
+ * @public
5
5
  */
6
6
  export declare const Dashboard: React.FC<IDashboardProps>;
7
7
  //# sourceMappingURL=Dashboard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dashboard.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboard/Dashboard.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAG7C;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAoB/C,CAAC"}
1
+ {"version":3,"file":"Dashboard.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboard/Dashboard.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAK7C;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAqB/C,CAAC"}
@@ -1,16 +1,18 @@
1
- // (C) 2021-2022 GoodData Corporation
2
- import React from "react";
3
- import { LoadingComponent as DefaultLoading, useClientWorkspaceStatus, useClientWorkspaceIdentifiers, useClientWorkspaceInitialized, } from "@gooddata/sdk-ui";
1
+ // (C) 2021-2025 GoodData Corporation
2
+ import React, { useMemo } from "react";
3
+ import { LoadingComponent as DefaultLoading, useClientWorkspaceStatus, useClientWorkspaceIdentifiers, useClientWorkspaceInitialized, useBackendWithCorrelation, } from "@gooddata/sdk-ui";
4
+ import { isDashboard, isIdentifierRef, isUriRef } from "@gooddata/sdk-model";
4
5
  import { DashboardRenderer } from "./components/DashboardRenderer.js";
5
6
  /**
6
- * @internal
7
+ * @public
7
8
  */
8
9
  export const Dashboard = (props) => {
9
10
  const workspaceStatus = useClientWorkspaceStatus();
10
11
  const clientWsIdentifiers = useClientWorkspaceIdentifiers();
11
12
  const isClientWorkspaceInitialized = useClientWorkspaceInitialized();
13
+ const backend = useBackendWithDashboardCorrelation(props.backend, props.dashboard);
12
14
  if (!isClientWorkspaceInitialized) {
13
- return React.createElement(DashboardRenderer, { ...props });
15
+ return React.createElement(DashboardRenderer, { ...props, backend: backend });
14
16
  }
15
17
  const LoadingComponent = props.LoadingComponent ?? DefaultLoading;
16
18
  /**
@@ -20,6 +22,24 @@ export const Dashboard = (props) => {
20
22
  if (workspaceStatus !== "success") {
21
23
  return React.createElement(LoadingComponent, null);
22
24
  }
23
- return React.createElement(DashboardRenderer, { workspace: clientWsIdentifiers.workspace, ...props });
25
+ return React.createElement(DashboardRenderer, { workspace: clientWsIdentifiers.workspace, ...props, backend: backend });
24
26
  };
27
+ function useBackendWithDashboardCorrelation(backend, dashboard) {
28
+ const dashboardId = useMemo(() => {
29
+ if (typeof dashboard === "string") {
30
+ return dashboard;
31
+ }
32
+ else if (isDashboard(dashboard)) {
33
+ return dashboard.identifier;
34
+ }
35
+ else if (isIdentifierRef(dashboard)) {
36
+ return dashboard.identifier;
37
+ }
38
+ else if (isUriRef(dashboard)) {
39
+ return dashboard.uri;
40
+ }
41
+ return "__new_dashboard__";
42
+ }, [dashboard]);
43
+ return useBackendWithCorrelation(backend, { dashboardId });
44
+ }
25
45
  //# sourceMappingURL=Dashboard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dashboard.js","sourceRoot":"","sources":["../../../src/presentation/dashboard/Dashboard.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACH,gBAAgB,IAAI,cAAc,EAClC,wBAAwB,EACxB,6BAA6B,EAC7B,6BAA6B,GAChC,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAA8B,CAAC,KAAsB,EAAE,EAAE;IAC3E,MAAM,eAAe,GAAG,wBAAwB,EAAE,CAAC;IACnD,MAAM,mBAAmB,GAAG,6BAA6B,EAAE,CAAC;IAC5D,MAAM,4BAA4B,GAAG,6BAA6B,EAAE,CAAC;IAErE,IAAI,CAAC,4BAA4B,EAAE,CAAC;QAChC,OAAO,oBAAC,iBAAiB,OAAK,KAAK,GAAI,CAAC;IAC5C,CAAC;IAED,MAAM,gBAAgB,GAAG,KAAK,CAAC,gBAAgB,IAAI,cAAc,CAAC;IAElE;;;OAGG;IACH,IAAI,eAAe,KAAK,SAAS,EAAE,CAAC;QAChC,OAAO,oBAAC,gBAAgB,OAAG,CAAC;IAChC,CAAC;IAED,OAAO,oBAAC,iBAAiB,IAAC,SAAS,EAAE,mBAAmB,CAAC,SAAS,KAAM,KAAK,GAAI,CAAC;AACtF,CAAC,CAAC"}
1
+ {"version":3,"file":"Dashboard.js","sourceRoot":"","sources":["../../../src/presentation/dashboard/Dashboard.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EACH,gBAAgB,IAAI,cAAc,EAClC,wBAAwB,EACxB,6BAA6B,EAC7B,6BAA6B,EAC7B,yBAAyB,GAC5B,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAGtE;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAA8B,CAAC,KAAsB,EAAE,EAAE;IAC3E,MAAM,eAAe,GAAG,wBAAwB,EAAE,CAAC;IACnD,MAAM,mBAAmB,GAAG,6BAA6B,EAAE,CAAC;IAC5D,MAAM,4BAA4B,GAAG,6BAA6B,EAAE,CAAC;IACrE,MAAM,OAAO,GAAG,kCAAkC,CAAC,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IAEnF,IAAI,CAAC,4BAA4B,EAAE,CAAC;QAChC,OAAO,oBAAC,iBAAiB,OAAK,KAAK,EAAE,OAAO,EAAE,OAAO,GAAI,CAAC;IAC9D,CAAC;IAED,MAAM,gBAAgB,GAAG,KAAK,CAAC,gBAAgB,IAAI,cAAc,CAAC;IAElE;;;OAGG;IACH,IAAI,eAAe,KAAK,SAAS,EAAE,CAAC;QAChC,OAAO,oBAAC,gBAAgB,OAAG,CAAC;IAChC,CAAC;IAED,OAAO,oBAAC,iBAAiB,IAAC,SAAS,EAAE,mBAAmB,CAAC,SAAS,KAAM,KAAK,EAAE,OAAO,EAAE,OAAO,GAAI,CAAC;AACxG,CAAC,CAAC;AAEF,SAAS,kCAAkC,CACvC,OAA4B,EAC5B,SAAwC;IAExC,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,EAAE;QAC7B,IAAI,OAAO,SAAS,KAAK,QAAQ,EAAE,CAAC;YAChC,OAAO,SAAS,CAAC;QACrB,CAAC;aAAM,IAAI,WAAW,CAAC,SAAS,CAAC,EAAE,CAAC;YAChC,OAAO,SAAS,CAAC,UAAU,CAAC;QAChC,CAAC;aAAM,IAAI,eAAe,CAAC,SAAS,CAAC,EAAE,CAAC;YACpC,OAAO,SAAS,CAAC,UAAU,CAAC;QAChC,CAAC;aAAM,IAAI,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;YAC7B,OAAO,SAAS,CAAC,GAAG,CAAC;QACzB,CAAC;QAED,OAAO,mBAAmB,CAAC;IAC/B,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IAEhB,OAAO,yBAAyB,CAAC,OAAO,EAAE,EAAE,WAAW,EAAE,CAAC,CAAC;AAC/D,CAAC"}
@@ -1,8 +1,9 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
+ import { IDashboardInsightProps } from "./types.js";
2
3
  /**
3
4
  * Default implementation of the Dashboard Insight widget.
4
5
  *
5
6
  * @public
6
7
  */
7
- export declare const DefaultDashboardInsight: import("react").ComponentType<import("./types.js").IDashboardInsightProps>;
8
+ export declare const DefaultDashboardInsight: (props: IDashboardInsightProps) => React.JSX.Element;
8
9
  //# sourceMappingURL=DefaultDashboardInsight.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultDashboardInsight.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/insight/DefaultDashboardInsight.ts"],"names":[],"mappings":";AAOA;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,4EAIlC,CAAC"}
1
+ {"version":3,"file":"DefaultDashboardInsight.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/insight/DefaultDashboardInsight.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAWpD;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,UAAW,sBAAsB,sBAIpE,CAAC"}
@@ -1,16 +1,25 @@
1
1
  // (C) 2022-2025 GoodData Corporation
2
+ import React from "react";
2
3
  import { renderModeAware } from "../../componentDefinition/index.js";
4
+ import { useBackendWithInsightWidgetCorrelation } from "./useBackendWithInsightWidgetCorrelation.js";
3
5
  import { ViewModeDashboardInsight } from "./ViewModeDashboardInsight/index.js";
4
6
  import { EditModeDashboardInsight } from "./EditModeDashboardInsight/index.js";
5
7
  import { ExportModeDashboardInsight } from "./ExportModeDashboardInsight/index.js";
6
8
  /**
7
- * Default implementation of the Dashboard Insight widget.
8
- *
9
- * @public
9
+ * @internal
10
10
  */
11
- export const DefaultDashboardInsight = renderModeAware({
11
+ const DefaultDashboardInsightInner = renderModeAware({
12
12
  view: ViewModeDashboardInsight,
13
13
  edit: EditModeDashboardInsight,
14
14
  export: ExportModeDashboardInsight,
15
15
  });
16
+ /**
17
+ * Default implementation of the Dashboard Insight widget.
18
+ *
19
+ * @public
20
+ */
21
+ export const DefaultDashboardInsight = (props) => {
22
+ const backend = useBackendWithInsightWidgetCorrelation(props);
23
+ return React.createElement(DefaultDashboardInsightInner, { ...props, backend: backend });
24
+ };
16
25
  //# sourceMappingURL=DefaultDashboardInsight.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultDashboardInsight.js","sourceRoot":"","sources":["../../../../src/presentation/widget/insight/DefaultDashboardInsight.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAErE,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAEnF;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,eAAe,CAAC;IACnD,IAAI,EAAE,wBAAwB;IAC9B,IAAI,EAAE,wBAAwB;IAC9B,MAAM,EAAE,0BAA0B;CACrC,CAAC,CAAC"}
1
+ {"version":3,"file":"DefaultDashboardInsight.js","sourceRoot":"","sources":["../../../../src/presentation/widget/insight/DefaultDashboardInsight.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,sCAAsC,EAAE,MAAM,6CAA6C,CAAC;AACrG,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAGnF;;GAEG;AACH,MAAM,4BAA4B,GAAG,eAAe,CAAC;IACjD,IAAI,EAAE,wBAAwB;IAC9B,IAAI,EAAE,wBAAwB;IAC9B,MAAM,EAAE,0BAA0B;CACrC,CAAC,CAAC;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,KAA6B,EAAE,EAAE;IACrE,MAAM,OAAO,GAAG,sCAAsC,CAAC,KAAK,CAAC,CAAC;IAE9D,OAAO,oBAAC,4BAA4B,OAAK,KAAK,EAAE,OAAO,EAAE,OAAO,GAAI,CAAC;AACzE,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { IDashboardInsightProps } from "./types.js";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare function useBackendWithInsightWidgetCorrelation(props: IDashboardInsightProps): import("@gooddata/sdk-backend-spi").IAnalyticalBackend | undefined;
6
+ //# sourceMappingURL=useBackendWithInsightWidgetCorrelation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBackendWithInsightWidgetCorrelation.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/insight/useBackendWithInsightWidgetCorrelation.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAEpD;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,sBAAsB,sEAsBnF"}
@@ -0,0 +1,26 @@
1
+ // (C) 2025 GoodData Corporation
2
+ import { useBackendWithCorrelation } from "@gooddata/sdk-ui";
3
+ import { isIdentifierRef } from "@gooddata/sdk-model";
4
+ /**
5
+ * @internal
6
+ */
7
+ export function useBackendWithInsightWidgetCorrelation(props) {
8
+ const { insight, widget, backend } = props;
9
+ // Create correlation headers for telemetry
10
+ let correlationData = {};
11
+ // Add insight ID if available
12
+ if (isIdentifierRef(insight.insight?.ref)) {
13
+ correlationData = {
14
+ visualizationId: insight.insight.ref.identifier,
15
+ };
16
+ }
17
+ // Add widget ID if available
18
+ if (isIdentifierRef(widget.ref)) {
19
+ correlationData = {
20
+ ...correlationData,
21
+ widgetId: widget.ref.identifier,
22
+ };
23
+ }
24
+ return useBackendWithCorrelation(backend, correlationData);
25
+ }
26
+ //# sourceMappingURL=useBackendWithInsightWidgetCorrelation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBackendWithInsightWidgetCorrelation.js","sourceRoot":"","sources":["../../../../src/presentation/widget/insight/useBackendWithInsightWidgetCorrelation.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAItD;;GAEG;AACH,MAAM,UAAU,sCAAsC,CAAC,KAA6B;IAChF,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE3C,2CAA2C;IAC3C,IAAI,eAAe,GAAgC,EAAE,CAAC;IAEtD,8BAA8B;IAC9B,IAAI,eAAe,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC;QACxC,eAAe,GAAG;YACd,eAAe,EAAE,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU;SAClD,CAAC;IACN,CAAC;IAED,6BAA6B;IAC7B,IAAI,eAAe,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC;QAC9B,eAAe,GAAG;YACd,GAAG,eAAe;YAClB,QAAQ,EAAE,MAAM,CAAC,GAAG,CAAC,UAAU;SAClC,CAAC;IACN,CAAC;IAED,OAAO,yBAAyB,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC;AAC/D,CAAC"}
@@ -180,7 +180,6 @@ import { IDashboardDefinition } from '@gooddata/sdk-model';
180
180
  import { IDashboardDrillEvent as IDashboardDrillEvent_2 } from '../../../types.js';
181
181
  import { IDashboardFilterReference } from '@gooddata/sdk-model';
182
182
  import { IDashboardFilterView } from '@gooddata/sdk-model';
183
- import { IDashboardInsightProps as IDashboardInsightProps_2 } from './types.js';
184
183
  import { IDashboardLayout } from '@gooddata/sdk-model';
185
184
  import { IDashboardLayoutItem } from '@gooddata/sdk-model';
186
185
  import { IDashboardLayoutProps as IDashboardLayoutProps_2 } from './types.js';
@@ -2557,7 +2556,7 @@ export declare type CustomWidgetDraggableItem = BaseDraggableMovingItem & {
2557
2556
  };
2558
2557
 
2559
2558
  /**
2560
- * @internal
2559
+ * @public
2561
2560
  */
2562
2561
  export declare const Dashboard: React_2.FC<IDashboardProps>;
2563
2562
 
@@ -6648,7 +6647,7 @@ export declare function DefaultDashboardDateFilterComponentSetFactory(dateFilter
6648
6647
  *
6649
6648
  * @public
6650
6649
  */
6651
- export declare const DefaultDashboardInsight: ComponentType<IDashboardInsightProps_2>;
6650
+ export declare const DefaultDashboardInsight: (props: IDashboardInsightProps) => React_2.JSX.Element;
6652
6651
 
6653
6652
  /**
6654
6653
  * @internal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-dashboard",
3
- "version": "10.22.0-alpha.18",
3
+ "version": "10.22.0-alpha.19",
4
4
  "description": "GoodData SDK - Dashboard Component",
5
5
  "repository": {
6
6
  "type": "git",
@@ -57,17 +57,17 @@
57
57
  "ts-invariant": "^0.7.5",
58
58
  "tslib": "^2.5.0",
59
59
  "uuid": "^8.3.2",
60
- "@gooddata/sdk-backend-base": "10.22.0-alpha.18",
61
- "@gooddata/sdk-model": "10.22.0-alpha.18",
62
- "@gooddata/sdk-backend-spi": "10.22.0-alpha.18",
63
- "@gooddata/sdk-ui": "10.22.0-alpha.18",
64
- "@gooddata/sdk-ui-filters": "10.22.0-alpha.18",
65
- "@gooddata/sdk-ui-ext": "10.22.0-alpha.18",
66
- "@gooddata/sdk-ui-kit": "10.22.0-alpha.18",
67
- "@gooddata/sdk-ui-geo": "10.22.0-alpha.18",
68
- "@gooddata/sdk-ui-theme-provider": "10.22.0-alpha.18",
69
- "@gooddata/sdk-ui-vis-commons": "10.22.0-alpha.18",
70
- "@gooddata/util": "10.22.0-alpha.18"
60
+ "@gooddata/sdk-backend-base": "10.22.0-alpha.19",
61
+ "@gooddata/sdk-backend-spi": "10.22.0-alpha.19",
62
+ "@gooddata/sdk-ui-ext": "10.22.0-alpha.19",
63
+ "@gooddata/sdk-model": "10.22.0-alpha.19",
64
+ "@gooddata/sdk-ui": "10.22.0-alpha.19",
65
+ "@gooddata/sdk-ui-geo": "10.22.0-alpha.19",
66
+ "@gooddata/sdk-ui-kit": "10.22.0-alpha.19",
67
+ "@gooddata/sdk-ui-filters": "10.22.0-alpha.19",
68
+ "@gooddata/sdk-ui-vis-commons": "10.22.0-alpha.19",
69
+ "@gooddata/util": "10.22.0-alpha.19",
70
+ "@gooddata/sdk-ui-theme-provider": "10.22.0-alpha.19"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "react": "^16.10.0 || ^17.0.0 || ^18.0.0",
@@ -120,9 +120,9 @@
120
120
  "typescript": "5.3.3",
121
121
  "vitest": "1.0.4",
122
122
  "vitest-dom": "0.1.1",
123
- "@gooddata/i18n-toolkit": "10.22.0-alpha.18",
124
- "@gooddata/reference-workspace": "10.22.0-alpha.18",
125
- "@gooddata/sdk-backend-mockingbird": "10.22.0-alpha.18"
123
+ "@gooddata/i18n-toolkit": "10.22.0-alpha.19",
124
+ "@gooddata/reference-workspace": "10.22.0-alpha.19",
125
+ "@gooddata/sdk-backend-mockingbird": "10.22.0-alpha.19"
126
126
  },
127
127
  "scripts": {
128
128
  "clean": "rm -rf ci dist esm coverage *.log styles/css tsconfig.tsbuildinfo",