@kopexa/grc 0.0.22 → 0.0.24
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/dist/chunk-VQUPRJG7.mjs +41 -0
- package/dist/common/impact/impact-badge.d.mts +26 -0
- package/dist/common/impact/impact-badge.d.ts +26 -0
- package/dist/common/impact/impact-badge.js +348 -0
- package/dist/common/impact/impact-badge.mjs +10 -0
- package/dist/common/impact/index.d.mts +1 -0
- package/dist/common/impact/index.d.ts +1 -0
- package/dist/common/impact/index.js +79 -44
- package/dist/common/impact/index.mjs +5 -1
- package/dist/common/index.d.mts +1 -0
- package/dist/common/index.d.ts +1 -0
- package/dist/common/index.js +95 -60
- package/dist/common/index.mjs +17 -13
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +139 -104
- package/dist/index.mjs +17 -13
- package/package.json +8 -8
- package/src/common/impact/impact-badge.tsx +72 -0
- package/src/common/impact/index.ts +2 -0
- /package/dist/{chunk-GFABGXAO.mjs → chunk-4DMM2HCE.mjs} +0 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getScale
|
|
4
|
+
} from "./chunk-AUICT2D3.mjs";
|
|
5
|
+
|
|
6
|
+
// src/common/impact/impact-badge.tsx
|
|
7
|
+
import { useSafeIntl } from "@kopexa/i18n";
|
|
8
|
+
import { cn } from "@kopexa/shared-utils";
|
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
function ImpactBadge({
|
|
11
|
+
level,
|
|
12
|
+
scale = "risk",
|
|
13
|
+
showValue = false,
|
|
14
|
+
className
|
|
15
|
+
}) {
|
|
16
|
+
var _a;
|
|
17
|
+
const intl = useSafeIntl();
|
|
18
|
+
const normalizedLevel = level === null || level === void 0 ? 0 : (_a = Math.min(5, Math.max(0, Math.round(level)))) != null ? _a : 0;
|
|
19
|
+
const scaleConfig = typeof scale === "string" ? getScale(scale) : scale;
|
|
20
|
+
const config = scaleConfig[normalizedLevel];
|
|
21
|
+
const isUnrated = normalizedLevel === 0;
|
|
22
|
+
const label = intl.formatMessage(config.message);
|
|
23
|
+
return /* @__PURE__ */ jsxs(
|
|
24
|
+
"span",
|
|
25
|
+
{
|
|
26
|
+
className: cn(
|
|
27
|
+
"inline-flex items-center gap-1.5 text-sm font-medium px-2 py-0.5 rounded",
|
|
28
|
+
isUnrated ? "text-muted-foreground bg-muted" : `${config.color} ${config.bgColor}`,
|
|
29
|
+
className
|
|
30
|
+
),
|
|
31
|
+
children: [
|
|
32
|
+
showValue && !isUnrated && /* @__PURE__ */ jsx("span", { className: "text-xs font-mono opacity-70", children: normalizedLevel }),
|
|
33
|
+
label
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export {
|
|
40
|
+
ImpactBadge
|
|
41
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ImpactLevel, ImpactScalePreset, ImpactScaleConfig } from './scales.mjs';
|
|
3
|
+
import 'react-intl';
|
|
4
|
+
|
|
5
|
+
interface ImpactBadgeProps {
|
|
6
|
+
/** Impact level 0-5 */
|
|
7
|
+
level: ImpactLevel | number | null | undefined;
|
|
8
|
+
/** Scale preset or custom scale config */
|
|
9
|
+
scale?: ImpactScalePreset | ImpactScaleConfig;
|
|
10
|
+
/** Show numeric value before label */
|
|
11
|
+
showValue?: boolean;
|
|
12
|
+
/** Additional class names */
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* ImpactBadge displays an impact level as a colored badge.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```tsx
|
|
20
|
+
* <ImpactBadge level={3} scale="risk" />
|
|
21
|
+
* <ImpactBadge level={4} scale="asset" showValue />
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
declare function ImpactBadge({ level, scale, showValue, className, }: ImpactBadgeProps): react_jsx_runtime.JSX.Element;
|
|
25
|
+
|
|
26
|
+
export { ImpactBadge, type ImpactBadgeProps };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ImpactLevel, ImpactScalePreset, ImpactScaleConfig } from './scales.js';
|
|
3
|
+
import 'react-intl';
|
|
4
|
+
|
|
5
|
+
interface ImpactBadgeProps {
|
|
6
|
+
/** Impact level 0-5 */
|
|
7
|
+
level: ImpactLevel | number | null | undefined;
|
|
8
|
+
/** Scale preset or custom scale config */
|
|
9
|
+
scale?: ImpactScalePreset | ImpactScaleConfig;
|
|
10
|
+
/** Show numeric value before label */
|
|
11
|
+
showValue?: boolean;
|
|
12
|
+
/** Additional class names */
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* ImpactBadge displays an impact level as a colored badge.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```tsx
|
|
20
|
+
* <ImpactBadge level={3} scale="risk" />
|
|
21
|
+
* <ImpactBadge level={4} scale="asset" showValue />
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
declare function ImpactBadge({ level, scale, showValue, className, }: ImpactBadgeProps): react_jsx_runtime.JSX.Element;
|
|
25
|
+
|
|
26
|
+
export { ImpactBadge, type ImpactBadgeProps };
|
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
"use client";
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
21
|
+
|
|
22
|
+
// src/common/impact/impact-badge.tsx
|
|
23
|
+
var impact_badge_exports = {};
|
|
24
|
+
__export(impact_badge_exports, {
|
|
25
|
+
ImpactBadge: () => ImpactBadge
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(impact_badge_exports);
|
|
28
|
+
var import_i18n2 = require("@kopexa/i18n");
|
|
29
|
+
var import_shared_utils = require("@kopexa/shared-utils");
|
|
30
|
+
|
|
31
|
+
// src/common/impact/messages.ts
|
|
32
|
+
var import_i18n = require("@kopexa/i18n");
|
|
33
|
+
var messages = (0, import_i18n.defineMessages)({
|
|
34
|
+
// Card titles
|
|
35
|
+
title_cia: {
|
|
36
|
+
id: "grc.impact.title_cia",
|
|
37
|
+
defaultMessage: "CIA Impact"
|
|
38
|
+
},
|
|
39
|
+
title_ciaa: {
|
|
40
|
+
id: "grc.impact.title_ciaa",
|
|
41
|
+
defaultMessage: "CIAA Impact"
|
|
42
|
+
},
|
|
43
|
+
// Dimensions
|
|
44
|
+
confidentiality: {
|
|
45
|
+
id: "grc.impact.confidentiality",
|
|
46
|
+
defaultMessage: "Confidentiality"
|
|
47
|
+
},
|
|
48
|
+
integrity: {
|
|
49
|
+
id: "grc.impact.integrity",
|
|
50
|
+
defaultMessage: "Integrity"
|
|
51
|
+
},
|
|
52
|
+
availability: {
|
|
53
|
+
id: "grc.impact.availability",
|
|
54
|
+
defaultMessage: "Availability"
|
|
55
|
+
},
|
|
56
|
+
authenticity: {
|
|
57
|
+
id: "grc.impact.authenticity",
|
|
58
|
+
defaultMessage: "Authenticity"
|
|
59
|
+
},
|
|
60
|
+
// Justification
|
|
61
|
+
justification: {
|
|
62
|
+
id: "grc.impact.justification",
|
|
63
|
+
defaultMessage: "Justification"
|
|
64
|
+
},
|
|
65
|
+
justification_hint: {
|
|
66
|
+
id: "grc.impact.justification_hint",
|
|
67
|
+
defaultMessage: "(highest impact: {level})"
|
|
68
|
+
},
|
|
69
|
+
justification_placeholder: {
|
|
70
|
+
id: "grc.impact.justification_placeholder",
|
|
71
|
+
defaultMessage: "Enter justification for the chosen impact values..."
|
|
72
|
+
},
|
|
73
|
+
no_justification: {
|
|
74
|
+
id: "grc.impact.no_justification",
|
|
75
|
+
defaultMessage: "No justification provided"
|
|
76
|
+
},
|
|
77
|
+
// Actions
|
|
78
|
+
edit: {
|
|
79
|
+
id: "grc.impact.edit",
|
|
80
|
+
defaultMessage: "Edit"
|
|
81
|
+
},
|
|
82
|
+
cancel: {
|
|
83
|
+
id: "grc.impact.cancel",
|
|
84
|
+
defaultMessage: "Cancel"
|
|
85
|
+
},
|
|
86
|
+
save: {
|
|
87
|
+
id: "grc.impact.save",
|
|
88
|
+
defaultMessage: "Save"
|
|
89
|
+
},
|
|
90
|
+
required: {
|
|
91
|
+
id: "grc.impact.required",
|
|
92
|
+
defaultMessage: "Required"
|
|
93
|
+
},
|
|
94
|
+
// Risk Scale (default)
|
|
95
|
+
risk_0: {
|
|
96
|
+
id: "grc.impact.scale.risk.0",
|
|
97
|
+
defaultMessage: "Not rated"
|
|
98
|
+
},
|
|
99
|
+
risk_1: {
|
|
100
|
+
id: "grc.impact.scale.risk.1",
|
|
101
|
+
defaultMessage: "Negligible"
|
|
102
|
+
},
|
|
103
|
+
risk_2: {
|
|
104
|
+
id: "grc.impact.scale.risk.2",
|
|
105
|
+
defaultMessage: "Low"
|
|
106
|
+
},
|
|
107
|
+
risk_3: {
|
|
108
|
+
id: "grc.impact.scale.risk.3",
|
|
109
|
+
defaultMessage: "Medium"
|
|
110
|
+
},
|
|
111
|
+
risk_4: {
|
|
112
|
+
id: "grc.impact.scale.risk.4",
|
|
113
|
+
defaultMessage: "High"
|
|
114
|
+
},
|
|
115
|
+
risk_5: {
|
|
116
|
+
id: "grc.impact.scale.risk.5",
|
|
117
|
+
defaultMessage: "Critical"
|
|
118
|
+
},
|
|
119
|
+
// Process Scale
|
|
120
|
+
process_0: {
|
|
121
|
+
id: "grc.impact.scale.process.0",
|
|
122
|
+
defaultMessage: "Not rated"
|
|
123
|
+
},
|
|
124
|
+
process_1: {
|
|
125
|
+
id: "grc.impact.scale.process.1",
|
|
126
|
+
defaultMessage: "Insignificant"
|
|
127
|
+
},
|
|
128
|
+
process_2: {
|
|
129
|
+
id: "grc.impact.scale.process.2",
|
|
130
|
+
defaultMessage: "Low"
|
|
131
|
+
},
|
|
132
|
+
process_3: {
|
|
133
|
+
id: "grc.impact.scale.process.3",
|
|
134
|
+
defaultMessage: "Relevant"
|
|
135
|
+
},
|
|
136
|
+
process_4: {
|
|
137
|
+
id: "grc.impact.scale.process.4",
|
|
138
|
+
defaultMessage: "Important"
|
|
139
|
+
},
|
|
140
|
+
process_5: {
|
|
141
|
+
id: "grc.impact.scale.process.5",
|
|
142
|
+
defaultMessage: "Vital"
|
|
143
|
+
},
|
|
144
|
+
// Asset Scale
|
|
145
|
+
asset_0: {
|
|
146
|
+
id: "grc.impact.scale.asset.0",
|
|
147
|
+
defaultMessage: "Not classified"
|
|
148
|
+
},
|
|
149
|
+
asset_1: {
|
|
150
|
+
id: "grc.impact.scale.asset.1",
|
|
151
|
+
defaultMessage: "Insignificant"
|
|
152
|
+
},
|
|
153
|
+
asset_2: {
|
|
154
|
+
id: "grc.impact.scale.asset.2",
|
|
155
|
+
defaultMessage: "Low"
|
|
156
|
+
},
|
|
157
|
+
asset_3: {
|
|
158
|
+
id: "grc.impact.scale.asset.3",
|
|
159
|
+
defaultMessage: "Medium"
|
|
160
|
+
},
|
|
161
|
+
asset_4: {
|
|
162
|
+
id: "grc.impact.scale.asset.4",
|
|
163
|
+
defaultMessage: "High"
|
|
164
|
+
},
|
|
165
|
+
asset_5: {
|
|
166
|
+
id: "grc.impact.scale.asset.5",
|
|
167
|
+
defaultMessage: "Business Critical"
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
|
|
171
|
+
// src/common/impact/scales.ts
|
|
172
|
+
var riskScale = {
|
|
173
|
+
0: {
|
|
174
|
+
message: messages.risk_0,
|
|
175
|
+
fallbackLabel: "Not rated",
|
|
176
|
+
color: "text-muted-foreground",
|
|
177
|
+
bgColor: "bg-muted",
|
|
178
|
+
barColor: "bg-muted"
|
|
179
|
+
},
|
|
180
|
+
1: {
|
|
181
|
+
message: messages.risk_1,
|
|
182
|
+
fallbackLabel: "Negligible",
|
|
183
|
+
color: "text-green-700",
|
|
184
|
+
bgColor: "bg-green-100",
|
|
185
|
+
barColor: "bg-green-500"
|
|
186
|
+
},
|
|
187
|
+
2: {
|
|
188
|
+
message: messages.risk_2,
|
|
189
|
+
fallbackLabel: "Low",
|
|
190
|
+
color: "text-lime-700",
|
|
191
|
+
bgColor: "bg-lime-100",
|
|
192
|
+
barColor: "bg-lime-500"
|
|
193
|
+
},
|
|
194
|
+
3: {
|
|
195
|
+
message: messages.risk_3,
|
|
196
|
+
fallbackLabel: "Medium",
|
|
197
|
+
color: "text-yellow-700",
|
|
198
|
+
bgColor: "bg-yellow-100",
|
|
199
|
+
barColor: "bg-yellow-500"
|
|
200
|
+
},
|
|
201
|
+
4: {
|
|
202
|
+
message: messages.risk_4,
|
|
203
|
+
fallbackLabel: "High",
|
|
204
|
+
color: "text-orange-700",
|
|
205
|
+
bgColor: "bg-orange-100",
|
|
206
|
+
barColor: "bg-orange-500"
|
|
207
|
+
},
|
|
208
|
+
5: {
|
|
209
|
+
message: messages.risk_5,
|
|
210
|
+
fallbackLabel: "Critical",
|
|
211
|
+
color: "text-red-700",
|
|
212
|
+
bgColor: "bg-red-100",
|
|
213
|
+
barColor: "bg-red-500"
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
var processScale = {
|
|
217
|
+
0: {
|
|
218
|
+
message: messages.process_0,
|
|
219
|
+
fallbackLabel: "Not rated",
|
|
220
|
+
color: "text-muted-foreground",
|
|
221
|
+
bgColor: "bg-muted",
|
|
222
|
+
barColor: "bg-muted"
|
|
223
|
+
},
|
|
224
|
+
1: {
|
|
225
|
+
message: messages.process_1,
|
|
226
|
+
fallbackLabel: "Insignificant",
|
|
227
|
+
color: "text-green-700",
|
|
228
|
+
bgColor: "bg-green-100",
|
|
229
|
+
barColor: "bg-green-500"
|
|
230
|
+
},
|
|
231
|
+
2: {
|
|
232
|
+
message: messages.process_2,
|
|
233
|
+
fallbackLabel: "Low",
|
|
234
|
+
color: "text-lime-700",
|
|
235
|
+
bgColor: "bg-lime-100",
|
|
236
|
+
barColor: "bg-lime-500"
|
|
237
|
+
},
|
|
238
|
+
3: {
|
|
239
|
+
message: messages.process_3,
|
|
240
|
+
fallbackLabel: "Relevant",
|
|
241
|
+
color: "text-yellow-700",
|
|
242
|
+
bgColor: "bg-yellow-100",
|
|
243
|
+
barColor: "bg-yellow-500"
|
|
244
|
+
},
|
|
245
|
+
4: {
|
|
246
|
+
message: messages.process_4,
|
|
247
|
+
fallbackLabel: "Important",
|
|
248
|
+
color: "text-orange-700",
|
|
249
|
+
bgColor: "bg-orange-100",
|
|
250
|
+
barColor: "bg-orange-500"
|
|
251
|
+
},
|
|
252
|
+
5: {
|
|
253
|
+
message: messages.process_5,
|
|
254
|
+
fallbackLabel: "Vital",
|
|
255
|
+
color: "text-red-700",
|
|
256
|
+
bgColor: "bg-red-100",
|
|
257
|
+
barColor: "bg-red-500"
|
|
258
|
+
}
|
|
259
|
+
};
|
|
260
|
+
var assetScale = {
|
|
261
|
+
0: {
|
|
262
|
+
message: messages.asset_0,
|
|
263
|
+
fallbackLabel: "Not classified",
|
|
264
|
+
color: "text-muted-foreground",
|
|
265
|
+
bgColor: "bg-muted",
|
|
266
|
+
barColor: "bg-muted"
|
|
267
|
+
},
|
|
268
|
+
1: {
|
|
269
|
+
message: messages.asset_1,
|
|
270
|
+
fallbackLabel: "Insignificant",
|
|
271
|
+
color: "text-green-700",
|
|
272
|
+
bgColor: "bg-green-100",
|
|
273
|
+
barColor: "bg-green-500"
|
|
274
|
+
},
|
|
275
|
+
2: {
|
|
276
|
+
message: messages.asset_2,
|
|
277
|
+
fallbackLabel: "Low",
|
|
278
|
+
color: "text-lime-700",
|
|
279
|
+
bgColor: "bg-lime-100",
|
|
280
|
+
barColor: "bg-lime-500"
|
|
281
|
+
},
|
|
282
|
+
3: {
|
|
283
|
+
message: messages.asset_3,
|
|
284
|
+
fallbackLabel: "Medium",
|
|
285
|
+
color: "text-yellow-700",
|
|
286
|
+
bgColor: "bg-yellow-100",
|
|
287
|
+
barColor: "bg-yellow-500"
|
|
288
|
+
},
|
|
289
|
+
4: {
|
|
290
|
+
message: messages.asset_4,
|
|
291
|
+
fallbackLabel: "High",
|
|
292
|
+
color: "text-orange-700",
|
|
293
|
+
bgColor: "bg-orange-100",
|
|
294
|
+
barColor: "bg-orange-500"
|
|
295
|
+
},
|
|
296
|
+
5: {
|
|
297
|
+
message: messages.asset_5,
|
|
298
|
+
fallbackLabel: "Business Critical",
|
|
299
|
+
color: "text-red-700",
|
|
300
|
+
bgColor: "bg-red-100",
|
|
301
|
+
barColor: "bg-red-500"
|
|
302
|
+
}
|
|
303
|
+
};
|
|
304
|
+
function getScale(preset) {
|
|
305
|
+
switch (preset) {
|
|
306
|
+
case "process":
|
|
307
|
+
return processScale;
|
|
308
|
+
case "asset":
|
|
309
|
+
return assetScale;
|
|
310
|
+
default:
|
|
311
|
+
return riskScale;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
// src/common/impact/impact-badge.tsx
|
|
316
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
317
|
+
function ImpactBadge({
|
|
318
|
+
level,
|
|
319
|
+
scale = "risk",
|
|
320
|
+
showValue = false,
|
|
321
|
+
className
|
|
322
|
+
}) {
|
|
323
|
+
var _a;
|
|
324
|
+
const intl = (0, import_i18n2.useSafeIntl)();
|
|
325
|
+
const normalizedLevel = level === null || level === void 0 ? 0 : (_a = Math.min(5, Math.max(0, Math.round(level)))) != null ? _a : 0;
|
|
326
|
+
const scaleConfig = typeof scale === "string" ? getScale(scale) : scale;
|
|
327
|
+
const config = scaleConfig[normalizedLevel];
|
|
328
|
+
const isUnrated = normalizedLevel === 0;
|
|
329
|
+
const label = intl.formatMessage(config.message);
|
|
330
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
331
|
+
"span",
|
|
332
|
+
{
|
|
333
|
+
className: (0, import_shared_utils.cn)(
|
|
334
|
+
"inline-flex items-center gap-1.5 text-sm font-medium px-2 py-0.5 rounded",
|
|
335
|
+
isUnrated ? "text-muted-foreground bg-muted" : `${config.color} ${config.bgColor}`,
|
|
336
|
+
className
|
|
337
|
+
),
|
|
338
|
+
children: [
|
|
339
|
+
showValue && !isUnrated && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-xs font-mono opacity-70", children: normalizedLevel }),
|
|
340
|
+
label
|
|
341
|
+
]
|
|
342
|
+
}
|
|
343
|
+
);
|
|
344
|
+
}
|
|
345
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
346
|
+
0 && (module.exports = {
|
|
347
|
+
ImpactBadge
|
|
348
|
+
});
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { ImpactBadge, ImpactBadgeProps } from './impact-badge.mjs';
|
|
1
2
|
export { ImpactCard, ImpactCardProps, ImpactValue } from './impact-card.mjs';
|
|
2
3
|
export { messages as impactMessages } from './messages.mjs';
|
|
3
4
|
export { ImpactLevel, ImpactLevelConfig, ImpactScaleConfig, ImpactScalePreset, assetScale, getScale, impactLevels, processScale, riskScale } from './scales.mjs';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { ImpactBadge, ImpactBadgeProps } from './impact-badge.js';
|
|
1
2
|
export { ImpactCard, ImpactCardProps, ImpactValue } from './impact-card.js';
|
|
2
3
|
export { messages as impactMessages } from './messages.js';
|
|
3
4
|
export { ImpactLevel, ImpactLevelConfig, ImpactScaleConfig, ImpactScalePreset, assetScale, getScale, impactLevels, processScale, riskScale } from './scales.js';
|