@stokelp/ui 2.112.0 → 2.114.0
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/components/chat/ChatScoreBreakdown.cjs +1 -1
- package/dist/components/chat/ChatScoreBreakdown.cjs.map +1 -1
- package/dist/components/chat/ChatScoreBreakdown.js +13 -4
- package/dist/components/chat/ChatScoreBreakdown.js.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/supplier-rating-badge/SupplierRatingBadge.cjs +2 -0
- package/dist/components/supplier-rating-badge/SupplierRatingBadge.cjs.map +1 -0
- package/dist/components/supplier-rating-badge/SupplierRatingBadge.d.ts +9 -0
- package/dist/components/supplier-rating-badge/SupplierRatingBadge.js +99 -0
- package/dist/components/supplier-rating-badge/SupplierRatingBadge.js.map +1 -0
- package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.cjs +2 -0
- package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.cjs.map +1 -0
- package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.d.ts +47 -0
- package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.js +241 -0
- package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.js.map +1 -0
- package/dist/components/supplier-rating-badge/index.d.ts +2 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +16 -14
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.cjs +2 -0
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js +25 -0
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js.map +1 -0
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.cjs +2 -0
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.js +25 -0
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.js.map +1 -0
- package/dist/ui.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { Text as e } from "../text/Text.js";
|
|
3
|
+
import { Icon as t } from "../icon/Icon.js";
|
|
4
|
+
import n from "../../node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js";
|
|
5
|
+
import r from "../../node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.js";
|
|
6
|
+
import { Box as i, HStack as a, VStack as o } from "@stokelp/styled-system/jsx";
|
|
7
|
+
import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
8
|
+
//#region src/components/supplier-rating-badge/SupplierRatingBreakdown.tsx
|
|
9
|
+
var u = 5, d = {
|
|
10
|
+
title: "Note fournisseur",
|
|
11
|
+
insufficientData: "Pas encore assez de données",
|
|
12
|
+
componentsTitle: "Détail de la note",
|
|
13
|
+
completionTitle: "Complétion du compte",
|
|
14
|
+
responseRate: "Taux de réponse",
|
|
15
|
+
notAvailable: "—",
|
|
16
|
+
components: {
|
|
17
|
+
responseRate: "Taux de réponse",
|
|
18
|
+
responseDelay: "Délai de réponse",
|
|
19
|
+
completion: "Complétion du compte"
|
|
20
|
+
},
|
|
21
|
+
completion: {
|
|
22
|
+
profile: "Profil (photo et description)",
|
|
23
|
+
locationContacts: "Localisation et contact",
|
|
24
|
+
legalBanking: "Coordonnées légales et bancaires",
|
|
25
|
+
business: "Secteur, certificat et intérêt produit"
|
|
26
|
+
}
|
|
27
|
+
}, f = {
|
|
28
|
+
responseRate: 40,
|
|
29
|
+
responseDelay: 30,
|
|
30
|
+
completion: 30
|
|
31
|
+
}, p = [
|
|
32
|
+
"responseRate",
|
|
33
|
+
"responseDelay",
|
|
34
|
+
"completion"
|
|
35
|
+
], m = [
|
|
36
|
+
"profile",
|
|
37
|
+
"locationContacts",
|
|
38
|
+
"legalBanking",
|
|
39
|
+
"business"
|
|
40
|
+
];
|
|
41
|
+
function h(e) {
|
|
42
|
+
return e.toFixed(1).replace(".", ",");
|
|
43
|
+
}
|
|
44
|
+
function g(e) {
|
|
45
|
+
let t = e / 5;
|
|
46
|
+
return t >= .7 ? "#3B6D11" : t >= .4 ? "#854F0B" : "#A32D2D";
|
|
47
|
+
}
|
|
48
|
+
function _(e) {
|
|
49
|
+
return e >= 70 ? "#639922" : e >= 40 ? "#BA7517" : "#E24B4A";
|
|
50
|
+
}
|
|
51
|
+
var v = ({ rating: u, responseRate: v, labels: y }) => {
|
|
52
|
+
let b = {
|
|
53
|
+
...d,
|
|
54
|
+
...y,
|
|
55
|
+
components: {
|
|
56
|
+
...d.components,
|
|
57
|
+
...y?.components
|
|
58
|
+
},
|
|
59
|
+
completion: {
|
|
60
|
+
...d.completion,
|
|
61
|
+
...y?.completion
|
|
62
|
+
}
|
|
63
|
+
}, x = {
|
|
64
|
+
responseRate: u.responseRateScore,
|
|
65
|
+
responseDelay: u.responseDelayScore,
|
|
66
|
+
completion: u.completionScore
|
|
67
|
+
};
|
|
68
|
+
return /* @__PURE__ */ l(i, {
|
|
69
|
+
bg: "white",
|
|
70
|
+
borderRadius: "radius-8",
|
|
71
|
+
p: "space-16",
|
|
72
|
+
minW: "240px",
|
|
73
|
+
maxW: "260px",
|
|
74
|
+
css: { "& *": { fontFamily: "inherit" } },
|
|
75
|
+
children: [
|
|
76
|
+
/* @__PURE__ */ l(a, {
|
|
77
|
+
justify: "space-between",
|
|
78
|
+
alignItems: "baseline",
|
|
79
|
+
mb: "space-8",
|
|
80
|
+
children: [/* @__PURE__ */ c(e, {
|
|
81
|
+
as: "span",
|
|
82
|
+
fontSize: "body.md",
|
|
83
|
+
fontWeight: "bold",
|
|
84
|
+
children: b.title
|
|
85
|
+
}), u.insufficientData || u.overall == null ? /* @__PURE__ */ c(e, {
|
|
86
|
+
as: "span",
|
|
87
|
+
fontSize: "body.sm",
|
|
88
|
+
fontWeight: "medium",
|
|
89
|
+
color: "grey.400",
|
|
90
|
+
children: b.insufficientData
|
|
91
|
+
}) : /* @__PURE__ */ l(e, {
|
|
92
|
+
as: "span",
|
|
93
|
+
fontSize: "body.lg",
|
|
94
|
+
fontWeight: "medium",
|
|
95
|
+
style: { color: g(u.overall) },
|
|
96
|
+
children: [
|
|
97
|
+
h(u.overall),
|
|
98
|
+
" / ",
|
|
99
|
+
5,
|
|
100
|
+
" ★"
|
|
101
|
+
]
|
|
102
|
+
})]
|
|
103
|
+
}),
|
|
104
|
+
/* @__PURE__ */ c(i, {
|
|
105
|
+
h: "1px",
|
|
106
|
+
bg: "grey.100",
|
|
107
|
+
mb: "space-8"
|
|
108
|
+
}),
|
|
109
|
+
/* @__PURE__ */ l(o, {
|
|
110
|
+
alignItems: "stretch",
|
|
111
|
+
gap: "space-8",
|
|
112
|
+
mb: "space-8",
|
|
113
|
+
children: [/* @__PURE__ */ c(e, {
|
|
114
|
+
as: "span",
|
|
115
|
+
fontSize: "body.sm",
|
|
116
|
+
fontWeight: "bold",
|
|
117
|
+
color: "grey.400",
|
|
118
|
+
children: b.componentsTitle
|
|
119
|
+
}), p.map((t) => {
|
|
120
|
+
let n = x[t], r = n != null, s = r ? Math.round(n * 100) : 0;
|
|
121
|
+
return /* @__PURE__ */ l(o, {
|
|
122
|
+
alignItems: "stretch",
|
|
123
|
+
gap: "space-2",
|
|
124
|
+
children: [/* @__PURE__ */ l(a, {
|
|
125
|
+
justify: "space-between",
|
|
126
|
+
alignItems: "baseline",
|
|
127
|
+
children: [/* @__PURE__ */ c(e, {
|
|
128
|
+
as: "span",
|
|
129
|
+
fontSize: "body.sm",
|
|
130
|
+
color: "grey.500",
|
|
131
|
+
children: b.components[t]
|
|
132
|
+
}), /* @__PURE__ */ l(e, {
|
|
133
|
+
as: "span",
|
|
134
|
+
fontSize: "body.sm",
|
|
135
|
+
color: "grey.300",
|
|
136
|
+
children: [f[t], " %"]
|
|
137
|
+
})]
|
|
138
|
+
}), /* @__PURE__ */ l(a, {
|
|
139
|
+
alignItems: "center",
|
|
140
|
+
gap: "space-8",
|
|
141
|
+
children: [/* @__PURE__ */ c(i, {
|
|
142
|
+
flex: "1",
|
|
143
|
+
h: "3px",
|
|
144
|
+
bg: "grey.100",
|
|
145
|
+
borderRadius: "full",
|
|
146
|
+
overflow: "hidden",
|
|
147
|
+
children: /* @__PURE__ */ c(i, {
|
|
148
|
+
h: "100%",
|
|
149
|
+
borderRadius: "full",
|
|
150
|
+
style: {
|
|
151
|
+
width: r ? `${s}%` : "0%",
|
|
152
|
+
background: _(s)
|
|
153
|
+
}
|
|
154
|
+
})
|
|
155
|
+
}), /* @__PURE__ */ c(e, {
|
|
156
|
+
as: "span",
|
|
157
|
+
fontSize: "body.sm",
|
|
158
|
+
fontWeight: "medium",
|
|
159
|
+
minW: "40px",
|
|
160
|
+
textAlign: "right",
|
|
161
|
+
style: { color: r ? _(s) : void 0 },
|
|
162
|
+
color: r ? void 0 : "grey.300",
|
|
163
|
+
children: r ? `${s} %` : b.notAvailable
|
|
164
|
+
})]
|
|
165
|
+
})]
|
|
166
|
+
}, t);
|
|
167
|
+
})]
|
|
168
|
+
}),
|
|
169
|
+
v != null && /* @__PURE__ */ l(s, { children: [/* @__PURE__ */ c(i, {
|
|
170
|
+
h: "1px",
|
|
171
|
+
bg: "grey.100",
|
|
172
|
+
mb: "space-8"
|
|
173
|
+
}), /* @__PURE__ */ l(a, {
|
|
174
|
+
justify: "space-between",
|
|
175
|
+
alignItems: "baseline",
|
|
176
|
+
mb: "space-8",
|
|
177
|
+
children: [/* @__PURE__ */ c(e, {
|
|
178
|
+
as: "span",
|
|
179
|
+
fontSize: "body.sm",
|
|
180
|
+
color: "grey.500",
|
|
181
|
+
children: b.responseRate
|
|
182
|
+
}), /* @__PURE__ */ l(e, {
|
|
183
|
+
as: "span",
|
|
184
|
+
fontSize: "body.sm",
|
|
185
|
+
fontWeight: "medium",
|
|
186
|
+
color: "grey.500",
|
|
187
|
+
children: [Math.round(v), " %"]
|
|
188
|
+
})]
|
|
189
|
+
})] }),
|
|
190
|
+
/* @__PURE__ */ c(i, {
|
|
191
|
+
h: "1px",
|
|
192
|
+
bg: "grey.100",
|
|
193
|
+
mb: "space-8"
|
|
194
|
+
}),
|
|
195
|
+
/* @__PURE__ */ l(o, {
|
|
196
|
+
alignItems: "stretch",
|
|
197
|
+
gap: "space-4",
|
|
198
|
+
children: [/* @__PURE__ */ c(e, {
|
|
199
|
+
as: "span",
|
|
200
|
+
fontSize: "body.sm",
|
|
201
|
+
fontWeight: "bold",
|
|
202
|
+
color: "grey.400",
|
|
203
|
+
children: b.completionTitle
|
|
204
|
+
}), m.map((i) => {
|
|
205
|
+
let o = u.completion[i];
|
|
206
|
+
return /* @__PURE__ */ l(a, {
|
|
207
|
+
alignItems: "center",
|
|
208
|
+
gap: "space-8",
|
|
209
|
+
children: [/* @__PURE__ */ c(t, {
|
|
210
|
+
size: "sm",
|
|
211
|
+
color: o ? "success.500" : "grey.300",
|
|
212
|
+
flexShrink: "0",
|
|
213
|
+
children: c(o ? n : r, {})
|
|
214
|
+
}), /* @__PURE__ */ c(e, {
|
|
215
|
+
as: "span",
|
|
216
|
+
fontSize: "body.sm",
|
|
217
|
+
color: o ? "grey.500" : "grey.400",
|
|
218
|
+
children: b.completion[i]
|
|
219
|
+
})]
|
|
220
|
+
}, i);
|
|
221
|
+
})]
|
|
222
|
+
}),
|
|
223
|
+
b.footer && /* @__PURE__ */ l(s, { children: [/* @__PURE__ */ c(i, {
|
|
224
|
+
h: "1px",
|
|
225
|
+
bg: "grey.100",
|
|
226
|
+
mt: "space-8",
|
|
227
|
+
mb: "space-8"
|
|
228
|
+
}), /* @__PURE__ */ c(e, {
|
|
229
|
+
as: "span",
|
|
230
|
+
fontSize: "9px",
|
|
231
|
+
color: "grey.300",
|
|
232
|
+
style: { lineHeight: 1 },
|
|
233
|
+
children: b.footer
|
|
234
|
+
})] })
|
|
235
|
+
]
|
|
236
|
+
});
|
|
237
|
+
};
|
|
238
|
+
//#endregion
|
|
239
|
+
export { d as DEFAULT_SUPPLIER_RATING_LABELS, u as SUPPLIER_RATING_MAX, f as SUPPLIER_RATING_WEIGHTS, v as SupplierRatingBreakdown, h as formatOverall, g as getHeadlineColor };
|
|
240
|
+
|
|
241
|
+
//# sourceMappingURL=SupplierRatingBreakdown.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SupplierRatingBreakdown.js","names":[],"sources":["../../../src/components/supplier-rating-badge/SupplierRatingBreakdown.tsx"],"sourcesContent":["import { CheckCircleIcon, XCircleIcon } from '@heroicons/react/24/outline'\nimport { Box, HStack, VStack } from '@stokelp/styled-system/jsx'\n\nimport { Icon, Text } from '~/components'\n\nexport const SUPPLIER_RATING_MAX = 5\n\nexport type SupplierRatingComponentKey = 'responseRate' | 'responseDelay' | 'completion'\n\nexport type SupplierRatingCompletionKey = 'profile' | 'locationContacts' | 'legalBanking' | 'business'\n\nexport type SupplierRatingCompletion = Record<SupplierRatingCompletionKey, boolean>\n\nexport type SupplierRating = {\n /** Overall note out of 5. Absent when insufficientData is true. */\n overall?: number\n /** Response-rate sub-score, 0..1. Absent when insufficientData is true. */\n responseRateScore?: number\n /** Response-delay sub-score, 0..1. Absent when insufficientData is true. */\n responseDelayScore?: number\n /** Account-completion sub-score, 0..1. Always present. */\n completionScore: number\n /** True when the supplier has too few interactions for a reliable note. */\n insufficientData: boolean\n /** Completion checklist shown in the breakdown. */\n completion: SupplierRatingCompletion\n}\n\nexport type SupplierRatingLabels = {\n title: string\n /** Neutral state shown instead of a note when data is insufficient. */\n insufficientData: string\n /** Section heading above the three weighted sub-scores. */\n componentsTitle: string\n /** Section heading above the completion checklist. */\n completionTitle: string\n /** Label for the \"original response rate\" reminder row. */\n responseRate: string\n /** Suffix used for the \"not enough data yet\" sub-score value (e.g. \"—\"). */\n notAvailable: string\n components: Record<SupplierRatingComponentKey, string>\n completion: Record<SupplierRatingCompletionKey, string>\n footer?: string\n}\n\nexport const DEFAULT_SUPPLIER_RATING_LABELS: SupplierRatingLabels = {\n title: 'Note fournisseur',\n insufficientData: 'Pas encore assez de données',\n componentsTitle: 'Détail de la note',\n completionTitle: 'Complétion du compte',\n responseRate: 'Taux de réponse',\n notAvailable: '—',\n components: {\n responseRate: 'Taux de réponse',\n responseDelay: 'Délai de réponse',\n completion: 'Complétion du compte',\n },\n completion: {\n profile: 'Profil (photo et description)',\n locationContacts: 'Localisation et contact',\n legalBanking: 'Coordonnées légales et bancaires',\n business: 'Secteur, certificat et intérêt produit',\n },\n}\n\n/** Weights (in %) of each sub-score in the overall note. */\nexport const SUPPLIER_RATING_WEIGHTS: Record<SupplierRatingComponentKey, number> = {\n responseRate: 40,\n responseDelay: 30,\n completion: 30,\n}\n\nconst COMPONENT_ORDER: SupplierRatingComponentKey[] = ['responseRate', 'responseDelay', 'completion']\n\nconst COMPLETION_ORDER: SupplierRatingCompletionKey[] = ['profile', 'locationContacts', 'legalBanking', 'business']\n\nexport function formatOverall(overall: number): string {\n return overall.toFixed(1).replace('.', ',')\n}\n\nexport function getHeadlineColor(overall: number): string {\n const ratio = overall / SUPPLIER_RATING_MAX\n if (ratio >= 0.7) return '#3B6D11'\n if (ratio >= 0.4) return '#854F0B'\n return '#A32D2D'\n}\n\nfunction getBarColor(ratioPercent: number): string {\n if (ratioPercent >= 70) return '#639922'\n if (ratioPercent >= 40) return '#BA7517'\n return '#E24B4A'\n}\n\ntype SupplierRatingBreakdownProps = {\n rating: SupplierRating\n /** Optional original response rate (0..100) to remind in the breakdown. */\n responseRate?: number\n labels?: Partial<SupplierRatingLabels>\n}\n\nexport const SupplierRatingBreakdown = ({ rating, responseRate, labels: labelsProp }: SupplierRatingBreakdownProps) => {\n const labels: SupplierRatingLabels = {\n ...DEFAULT_SUPPLIER_RATING_LABELS,\n ...labelsProp,\n components: { ...DEFAULT_SUPPLIER_RATING_LABELS.components, ...labelsProp?.components },\n completion: { ...DEFAULT_SUPPLIER_RATING_LABELS.completion, ...labelsProp?.completion },\n }\n\n const scores: Record<SupplierRatingComponentKey, number | undefined> = {\n responseRate: rating.responseRateScore,\n responseDelay: rating.responseDelayScore,\n completion: rating.completionScore,\n }\n\n return (\n <Box\n bg=\"white\"\n borderRadius=\"radius-8\"\n p=\"space-16\"\n minW=\"240px\"\n maxW=\"260px\"\n css={{ '& *': { fontFamily: 'inherit' } }}\n >\n <HStack justify=\"space-between\" alignItems=\"baseline\" mb=\"space-8\">\n <Text as=\"span\" fontSize=\"body.md\" fontWeight=\"bold\">\n {labels.title}\n </Text>\n {rating.insufficientData || rating.overall == null ? (\n <Text as=\"span\" fontSize=\"body.sm\" fontWeight=\"medium\" color=\"grey.400\">\n {labels.insufficientData}\n </Text>\n ) : (\n <Text as=\"span\" fontSize=\"body.lg\" fontWeight=\"medium\" style={{ color: getHeadlineColor(rating.overall) }}>\n {formatOverall(rating.overall)} / {SUPPLIER_RATING_MAX} ★\n </Text>\n )}\n </HStack>\n\n <Box h=\"1px\" bg=\"grey.100\" mb=\"space-8\" />\n\n <VStack alignItems=\"stretch\" gap=\"space-8\" mb=\"space-8\">\n <Text as=\"span\" fontSize=\"body.sm\" fontWeight=\"bold\" color=\"grey.400\">\n {labels.componentsTitle}\n </Text>\n {COMPONENT_ORDER.map(key => {\n const score = scores[key]\n const hasScore = score != null\n const ratioPercent = hasScore ? Math.round(score * 100) : 0\n return (\n <VStack key={key} alignItems=\"stretch\" gap=\"space-2\">\n <HStack justify=\"space-between\" alignItems=\"baseline\">\n <Text as=\"span\" fontSize=\"body.sm\" color=\"grey.500\">\n {labels.components[key]}\n </Text>\n <Text as=\"span\" fontSize=\"body.sm\" color=\"grey.300\">\n {SUPPLIER_RATING_WEIGHTS[key]} %\n </Text>\n </HStack>\n <HStack alignItems=\"center\" gap=\"space-8\">\n <Box flex=\"1\" h=\"3px\" bg=\"grey.100\" borderRadius=\"full\" overflow=\"hidden\">\n <Box\n h=\"100%\"\n borderRadius=\"full\"\n style={{\n width: hasScore ? `${ratioPercent}%` : '0%',\n background: getBarColor(ratioPercent),\n }}\n />\n </Box>\n <Text\n as=\"span\"\n fontSize=\"body.sm\"\n fontWeight=\"medium\"\n minW=\"40px\"\n textAlign=\"right\"\n style={{ color: hasScore ? getBarColor(ratioPercent) : undefined }}\n color={hasScore ? undefined : 'grey.300'}\n >\n {hasScore ? `${ratioPercent} %` : labels.notAvailable}\n </Text>\n </HStack>\n </VStack>\n )\n })}\n </VStack>\n\n {responseRate != null && (\n <>\n <Box h=\"1px\" bg=\"grey.100\" mb=\"space-8\" />\n <HStack justify=\"space-between\" alignItems=\"baseline\" mb=\"space-8\">\n <Text as=\"span\" fontSize=\"body.sm\" color=\"grey.500\">\n {labels.responseRate}\n </Text>\n <Text as=\"span\" fontSize=\"body.sm\" fontWeight=\"medium\" color=\"grey.500\">\n {Math.round(responseRate)} %\n </Text>\n </HStack>\n </>\n )}\n\n <Box h=\"1px\" bg=\"grey.100\" mb=\"space-8\" />\n\n <VStack alignItems=\"stretch\" gap=\"space-4\">\n <Text as=\"span\" fontSize=\"body.sm\" fontWeight=\"bold\" color=\"grey.400\">\n {labels.completionTitle}\n </Text>\n {COMPLETION_ORDER.map(key => {\n const done = rating.completion[key]\n return (\n <HStack key={key} alignItems=\"center\" gap=\"space-8\">\n <Icon size=\"sm\" color={done ? 'success.500' : 'grey.300'} flexShrink=\"0\">\n {done ? <CheckCircleIcon /> : <XCircleIcon />}\n </Icon>\n <Text as=\"span\" fontSize=\"body.sm\" color={done ? 'grey.500' : 'grey.400'}>\n {labels.completion[key]}\n </Text>\n </HStack>\n )\n })}\n </VStack>\n\n {labels.footer && (\n <>\n <Box h=\"1px\" bg=\"grey.100\" mt=\"space-8\" mb=\"space-8\" />\n <Text as=\"span\" fontSize=\"9px\" color=\"grey.300\" style={{ lineHeight: 1 }}>\n {labels.footer}\n </Text>\n </>\n )}\n </Box>\n )\n}\n"],"mappings":"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"}
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});/* empty css */const e=require("./components/accordion/Accordion.cjs"),t=require("./components/button/Button.cjs"),n=require("./components/checkbox/Checkbox.cjs"),r=require("./components/icon-button/IconButton.cjs"),i=require("./components/drawer/Drawer.cjs"),ee=require("./components/form/FormControl.cjs"),a=require("./components/tooltip/Tooltip.cjs"),o=require("./components/form/FormLabel.cjs"),s=require("./components/form/FormHelperText.cjs"),c=require("./components/heading/Heading.cjs"),l=require("./components/switch/Switch.cjs"),u=require("./components/text/Text.cjs"),d=require("./components/textarea/Textarea.cjs"),f=require("./components/tabs/Tabs.cjs"),
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});/* empty css */const e=require("./components/accordion/Accordion.cjs"),t=require("./components/button/Button.cjs"),n=require("./components/checkbox/Checkbox.cjs"),r=require("./components/icon-button/IconButton.cjs"),i=require("./components/drawer/Drawer.cjs"),ee=require("./components/form/FormControl.cjs"),a=require("./components/tooltip/Tooltip.cjs"),o=require("./components/form/FormLabel.cjs"),s=require("./components/form/FormHelperText.cjs"),c=require("./components/heading/Heading.cjs"),l=require("./components/switch/Switch.cjs"),u=require("./components/text/Text.cjs"),d=require("./components/textarea/Textarea.cjs"),f=require("./components/tabs/Tabs.cjs"),p=require("./components/select/Select.cjs"),te=require("./components/select-language/SelectLanguage.cjs"),ne=require("./components/input/Input.cjs"),m=require("./components/input/HighlightedInput.cjs"),re=require("./components/input/InputAddon.cjs"),h=require("./components/input/InputGroup.cjs"),g=require("./components/input/PhoneNumberInput.cjs"),_=require("./components/box/Box.cjs"),v=require("./components/date-picker/DatePicker.cjs"),y=require("./components/tag/Tag.cjs"),b=require("./components/radio-button-group/RadioButtonGroup.cjs"),x=require("./components/radio-group/RadioGroup.cjs"),S=require("./components/chip/Chip.cjs"),C=require("./components/action-card/ActionCard.cjs"),w=require("./components/alert/Alert.cjs"),T=require("./components/table/Table.cjs"),E=require("./components/breadcrumb/Breadcrumb.cjs"),D=require("./components/popover/Popover.cjs"),O=require("./components/pagination/Pagination.cjs"),k=require("./components/illustration/Illustration.cjs"),A=require("./components/button-filter/ButtonFilter.cjs"),j=require("./components/status-tag-select/StatusTagSelect.cjs"),M=require("./components/switch-card/namespace.cjs"),N=require("./components/radio-card-group/namespace.cjs"),P=require("./components/checkbox-card/namespace.cjs"),F=require("./components/combobox/Combobox.cjs"),I=require("./components/icon/Icon.cjs"),L=require("./components/collapsible/styled.cjs"),ie=require("./components/dialog/styled.cjs"),R=require("./components/avatar/styled.cjs"),z=require("./components/menu/Menu.cjs"),B=require("./components/flag/styled.cjs"),V=require("./components/chat/ChatMessage.cjs"),H=require("./components/chat/ChatDocumentMessage.cjs"),U=require("./components/chat/ChatProfileAvatar.cjs"),W=require("./components/chat/Chat.cjs"),G=require("./components/chat/ChatScoreBreakdown.cjs"),K=require("./components/chat/ChatTextInput.cjs"),q=require("./components/supplier-rating-badge/SupplierRatingBreakdown.cjs"),J=require("./components/supplier-rating-badge/SupplierRatingBadge.cjs"),Y=require("./components/app/price-tag/PriceTag.cjs"),ae=require("./components/app/product-card-catalog/styled.cjs"),oe=require("./components/app/navigation/AppNavigation.cjs"),se=require("./components/app/navigation/language-select/AppNavigationLanguageSelect.cjs"),ce=require("./components/app/mobile-navigation/MobileNavigation.cjs"),le=require("./components/app/mobile-card/MobileCardShell.cjs"),X=require("./components/app/mobile-card/MobileCardHeader.cjs"),ue=require("./components/app/mobile-card/MobileCardNotificationBadge.cjs"),de=require("./components/app/mobile-card/MobileCardEntityRow.cjs"),Z=require("./components/app/mobile-card/MobileCardSkeleton.cjs"),fe=require("./preset.cjs");let Q=require("@ark-ui/react"),$=require("react-phone-number-input");exports.Accordion=e.Accordion,exports.AccordionItem=e.AccordionItem,exports.AccordionItemContent=e.AccordionItemContent,exports.AccordionItemIndicator=e.AccordionItemIndicator,exports.AccordionItemTrigger=e.AccordionItemTrigger,exports.ActionCard=C.ActionCard,exports.ActionCardDescription=C.ActionCardDescription,exports.ActionCardTitle=C.ActionCardTitle,exports.Alert=w.Alert,Object.defineProperty(exports,"AppNavigation",{enumerable:!0,get:function(){return oe.AppNavigation_exports}}),exports.AppNavigationLanguageSelect=se.AppNavigationLanguageSelect,Object.defineProperty(exports,"Avatar",{enumerable:!0,get:function(){return R.styled_exports}}),exports.Box=_.Box,exports.Breadcrumb=E.Breadcrumb,exports.BreadcrumbItem=E.BreadcrumbItem,exports.BreadcrumbLink=E.BreadcrumbLink,exports.Button=t.Button,exports.ButtonFilter=A.ButtonFilter,Object.defineProperty(exports,"Chat",{enumerable:!0,get:function(){return W.Chat_exports}}),exports.ChatDocumentMessage=H.ChatDocumentMessage,exports.ChatMessage=V.ChatMessage,exports.ChatProfileAvatar=U.ChatProfileAvatar,exports.ChatScoreBreakdown=G.ChatScoreBreakdown,exports.ChatTextInput=K.ChatTextInput,exports.Checkbox=n.Checkbox,Object.defineProperty(exports,"CheckboxCard",{enumerable:!0,get:function(){return P.namespace_exports}}),exports.CheckboxGroup=n.CheckboxGroup,exports.Chip=S.Chip,exports.ChipAvatar=S.ChipAvatar,exports.ChipClearTrigger=S.ChipClearTrigger,exports.ChipLabel=S.ChipLabel,Object.defineProperty(exports,"Collapsible",{enumerable:!0,get:function(){return L.styled_exports}}),exports.Combobox=F.Combobox,exports.DEFAULT_SUPPLIER_RATING_LABELS=q.DEFAULT_SUPPLIER_RATING_LABELS,exports.DatePicker=v.DatePicker,Object.defineProperty(exports,"Dialog",{enumerable:!0,get:function(){return ie.styled_exports}}),exports.Drawer=i.Drawer,exports.DrawerBody=i.DrawerBody,exports.DrawerCloseTrigger=i.DrawerCloseTrigger,exports.DrawerContent=i.DrawerContent,exports.DrawerContext=i.DrawerContext,exports.DrawerFooter=i.DrawerFooter,exports.DrawerHeader=i.DrawerHeader,exports.DrawerTitle=i.DrawerTitle,exports.DrawerTrigger=i.DrawerTrigger,exports.Flag=B.Flag,exports.FlagCountryCodes=B.FlagCountryCodes,exports.FormControl=ee.FormControl,exports.FormHelperText=s.FormHelperText,exports.FormLabel=o.FormLabel,exports.Heading=c.Heading,exports.Highlight=m.Highlight,exports.HighlightedInput=m.HighlightedInput,exports.Icon=I.Icon,exports.IconButton=r.IconButton,exports.Illustration=k.Illustration,exports.Input=ne.Input,exports.InputAddon=re.InputAddon,exports.InputGroup=h.InputGroup,exports.InputSlot=m.InputSlot,Object.defineProperty(exports,"Menu",{enumerable:!0,get:function(){return z.Menu_exports}}),exports.MobileCardEntityRow=de.MobileCardEntityRow,exports.MobileCardHeader=X.MobileCardHeader,exports.MobileCardNotificationBadge=ue.MobileCardNotificationBadge,exports.MobileCardShell=le.MobileCardShell,exports.MobileCardSkeleton=Z.MobileCardSkeleton,exports.MobileCardSkeletonList=Z.MobileCardSkeletonList,Object.defineProperty(exports,"MobileNavigation",{enumerable:!0,get:function(){return ce.MobileNavigation_exports}}),exports.Pagination=O.Pagination,exports.PhoneNumberInput=g.PhoneNumberInput,exports.Popover=D.Popover,exports.PopoverAnchor=D.PopoverAnchor,exports.PopoverCloseTrigger=D.PopoverCloseTrigger,exports.PopoverContent=D.PopoverContent,exports.PopoverContext=D.PopoverContext,exports.PopoverTrigger=D.PopoverTrigger,exports.PriceTag=Y.PriceTag,Object.defineProperty(exports,"ProductCardCatalog",{enumerable:!0,get:function(){return ae.styled_exports}}),exports.RadioButtonGroup=b.RadioButtonGroup,exports.RadioButtonGroupItem=b.RadioButtonGroupItem,exports.RadioButtonGroupLabel=b.RadioButtonGroupLabel,Object.defineProperty(exports,"RadioCardGroup",{enumerable:!0,get:function(){return N.namespace_exports}}),exports.RadioGroup=x.RadioGroup,exports.RadioGroupItem=x.RadioGroupItem,exports.RadioGroupLabel=x.RadioGroupLabel,exports.Renderer=m.Renderer,exports.Root=m.Root,exports.SUPPLIER_RATING_MAX=q.SUPPLIER_RATING_MAX,exports.SUPPLIER_RATING_WEIGHTS=q.SUPPLIER_RATING_WEIGHTS,exports.Select=p.Select,exports.SelectLanguage=te.SelectLanguage,exports.SkeletonBlock=Z.SkeletonBlock,exports.StatusTagSelect=j.StatusTagSelect,exports.SupplierRatingBadge=J.SupplierRatingBadge,exports.SupplierRatingBreakdown=q.SupplierRatingBreakdown,exports.Switch=l.Switch,Object.defineProperty(exports,"SwitchCard",{enumerable:!0,get:function(){return M.namespace_exports}}),exports.Table=T.Table,exports.TableContainer=T.TableContainer,exports.TableEmptyRow=T.TableEmptyRow,exports.TableGroupTitle=T.TableGroupTitle,exports.Tabs=f.Tabs,exports.TabsChip=f.TabsChip,exports.TabsContent=f.TabsContent,exports.TabsList=f.TabsList,exports.TabsTrigger=f.TabsTrigger,exports.Tag=y.Tag,exports.Tbody=T.Tbody,exports.Td=T.Td,exports.Text=u.Text,exports.Textarea=d.Textarea,exports.Th=T.Th,exports.Thead=T.Thead,exports.Tooltip=a.Tooltip,exports.Tr=T.Tr,Object.defineProperty(exports,"createListCollection",{enumerable:!0,get:function(){return Q.createListCollection}}),Object.defineProperty(exports,"createToaster",{enumerable:!0,get:function(){return Q.createToaster}}),exports.formatOverall=q.formatOverall,Object.defineProperty(exports,"formatPhoneNumber",{enumerable:!0,get:function(){return $.formatPhoneNumber}}),Object.defineProperty(exports,"formatPhoneNumberIntl",{enumerable:!0,get:function(){return $.formatPhoneNumberIntl}}),Object.defineProperty(exports,"getCountries",{enumerable:!0,get:function(){return $.getCountries}}),Object.defineProperty(exports,"getCountryCallingCode",{enumerable:!0,get:function(){return $.getCountryCallingCode}}),exports.getHeadlineColor=q.getHeadlineColor,Object.defineProperty(exports,"isPossiblePhoneNumber",{enumerable:!0,get:function(){return $.isPossiblePhoneNumber}}),Object.defineProperty(exports,"isSupportedCountry",{enumerable:!0,get:function(){return $.isSupportedCountry}}),Object.defineProperty(exports,"isValidPhoneNumber",{enumerable:!0,get:function(){return $.isValidPhoneNumber}}),Object.defineProperty(exports,"parseColor",{enumerable:!0,get:function(){return Q.parseColor}}),Object.defineProperty(exports,"parseDate",{enumerable:!0,get:function(){return Q.parseDate}}),Object.defineProperty(exports,"parsePhoneNumber",{enumerable:!0,get:function(){return $.parsePhoneNumber}}),exports.preset=fe.preset,Object.defineProperty(exports,"useAccordion",{enumerable:!0,get:function(){return Q.useAccordion}});
|
package/dist/index.js
CHANGED
|
@@ -52,17 +52,19 @@ import { ChatProfileAvatar as Ve } from "./components/chat/ChatProfileAvatar.js"
|
|
|
52
52
|
import { Chat_exports as He } from "./components/chat/Chat.js";
|
|
53
53
|
import { ChatScoreBreakdown as Ue } from "./components/chat/ChatScoreBreakdown.js";
|
|
54
54
|
import { ChatTextInput as We } from "./components/chat/ChatTextInput.js";
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
|
|
55
|
+
import { DEFAULT_SUPPLIER_RATING_LABELS as Ge, SUPPLIER_RATING_MAX as Ke, SUPPLIER_RATING_WEIGHTS as qe, SupplierRatingBreakdown as Je, formatOverall as Ye, getHeadlineColor as Xe } from "./components/supplier-rating-badge/SupplierRatingBreakdown.js";
|
|
56
|
+
import { SupplierRatingBadge as Ze } from "./components/supplier-rating-badge/SupplierRatingBadge.js";
|
|
57
|
+
import { PriceTag as Qe } from "./components/app/price-tag/PriceTag.js";
|
|
58
|
+
import { styled_exports as $e } from "./components/app/product-card-catalog/styled.js";
|
|
59
|
+
import { AppNavigation_exports as et } from "./components/app/navigation/AppNavigation.js";
|
|
60
|
+
import { AppNavigationLanguageSelect as tt } from "./components/app/navigation/language-select/AppNavigationLanguageSelect.js";
|
|
61
|
+
import { MobileNavigation_exports as nt } from "./components/app/mobile-navigation/MobileNavigation.js";
|
|
62
|
+
import { MobileCardShell as rt } from "./components/app/mobile-card/MobileCardShell.js";
|
|
63
|
+
import { MobileCardHeader as it } from "./components/app/mobile-card/MobileCardHeader.js";
|
|
64
|
+
import { MobileCardNotificationBadge as at } from "./components/app/mobile-card/MobileCardNotificationBadge.js";
|
|
65
|
+
import { MobileCardEntityRow as ot } from "./components/app/mobile-card/MobileCardEntityRow.js";
|
|
66
|
+
import { MobileCardSkeleton as st, MobileCardSkeletonList as ct, SkeletonBlock as lt } from "./components/app/mobile-card/MobileCardSkeleton.js";
|
|
67
|
+
import { preset as ut } from "./preset.js";
|
|
68
|
+
import { createListCollection as dt, createToaster as ft, parseColor as pt, parseDate as mt } from "@ark-ui/react";
|
|
69
|
+
import { formatPhoneNumber as ht, formatPhoneNumberIntl as gt, getCountries as _t, getCountryCallingCode as vt, isPossiblePhoneNumber as yt, isSupportedCountry as bt, isValidPhoneNumber as xt, parsePhoneNumber as St } from "react-phone-number-input";
|
|
70
|
+
export { e as Accordion, t as AccordionItem, n as AccordionItemContent, r as AccordionItemIndicator, i as AccordionItemTrigger, ne as ActionCard, re as ActionCardDescription, ie as ActionCardTitle, ae as Alert, et as AppNavigation, tt as AppNavigationLanguageSelect, Fe as Avatar, U as Box, he as Breadcrumb, ge as BreadcrumbItem, _e as BreadcrumbLink, o as Button, Ee as ButtonFilter, He as Chat, Be as ChatDocumentMessage, ze as ChatMessage, Ve as ChatProfileAvatar, Ue as ChatScoreBreakdown, We as ChatTextInput, s as Checkbox, Ae as CheckboxCard, c as CheckboxGroup, Q as Chip, $ as ChipAvatar, ee as ChipClearTrigger, te as ChipLabel, Ne as Collapsible, je as Combobox, Ge as DEFAULT_SUPPLIER_RATING_LABELS, W as DatePicker, Pe as Dialog, u as Drawer, d as DrawerBody, f as DrawerCloseTrigger, p as DrawerContent, m as DrawerContext, h as DrawerFooter, g as DrawerHeader, _ as DrawerTitle, v as DrawerTrigger, Le as Flag, Re as FlagCountryCodes, y as FormControl, S as FormHelperText, x as FormLabel, C as Heading, F as Highlight, I as HighlightedInput, Me as Icon, l as IconButton, Te as Illustration, P as Input, B as InputAddon, V as InputGroup, L as InputSlot, Ie as Menu, ot as MobileCardEntityRow, it as MobileCardHeader, at as MobileCardNotificationBadge, rt as MobileCardShell, st as MobileCardSkeleton, ct as MobileCardSkeletonList, nt as MobileNavigation, we as Pagination, H as PhoneNumberInput, ve as Popover, ye as PopoverAnchor, be as PopoverCloseTrigger, xe as PopoverContent, Se as PopoverContext, Ce as PopoverTrigger, Qe as PriceTag, $e as ProductCardCatalog, K as RadioButtonGroup, q as RadioButtonGroupItem, J as RadioButtonGroupLabel, ke as RadioCardGroup, Y as RadioGroup, X as RadioGroupItem, Z as RadioGroupLabel, R as Renderer, z as Root, Ke as SUPPLIER_RATING_MAX, qe as SUPPLIER_RATING_WEIGHTS, M as Select, N as SelectLanguage, lt as SkeletonBlock, De as StatusTagSelect, Ze as SupplierRatingBadge, Je as SupplierRatingBreakdown, w as Switch, Oe as SwitchCard, oe as Table, se as TableContainer, ce as TableEmptyRow, le as TableGroupTitle, D as Tabs, O as TabsChip, k as TabsContent, A as TabsList, j as TabsTrigger, G as Tag, ue as Tbody, de as Td, T as Text, E as Textarea, fe as Th, pe as Thead, b as Tooltip, me as Tr, dt as createListCollection, ft as createToaster, Ye as formatOverall, ht as formatPhoneNumber, gt as formatPhoneNumberIntl, _t as getCountries, vt as getCountryCallingCode, Xe as getHeadlineColor, yt as isPossiblePhoneNumber, bt as isSupportedCountry, xt as isValidPhoneNumber, pt as parseColor, mt as parseDate, St as parsePhoneNumber, ut as preset, a as useAccordion };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";const e=require("../../../../../../../../../_virtual/_rolldown/runtime.cjs");let t=require("react");t=e.__toESM(t);function n({title:e,titleId:n,...r},i){return t.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:i,"aria-labelledby":n},r),e?t.createElement(`title`,{id:n},e):null,t.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z`}))}var r=t.forwardRef(n);exports.default=r;
|
|
2
|
+
//# sourceMappingURL=CheckCircleIcon.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckCircleIcon.cjs","names":[],"sources":["../../../../../../../../../../../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js"],"sourcesContent":["import * as React from \"react\";\nfunction CheckCircleIcon({\n title,\n titleId,\n ...props\n}, svgRef) {\n return /*#__PURE__*/React.createElement(\"svg\", Object.assign({\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n viewBox: \"0 0 24 24\",\n strokeWidth: 1.5,\n stroke: \"currentColor\",\n \"aria-hidden\": \"true\",\n \"data-slot\": \"icon\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, /*#__PURE__*/React.createElement(\"path\", {\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\",\n d: \"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"\n }));\n}\nconst ForwardRef = /*#__PURE__*/ React.forwardRef(CheckCircleIcon);\nexport default ForwardRef;"],"x_google_ignoreList":[0],"mappings":"gIACA,SAAS,EAAgB,CACvB,QACA,UACA,GAAG,GACF,EAAQ,CACT,OAAoB,EAAM,cAAc,MAAO,OAAO,OAAO,CAC3D,MAAO,6BACP,KAAM,OACN,QAAS,YACT,YAAa,IACb,OAAQ,eACR,cAAe,OACf,YAAa,OACb,IAAK,EACL,kBAAmB,CACrB,EAAG,CAAK,EAAG,EAAqB,EAAM,cAAc,QAAS,CAC3D,GAAI,CACN,EAAG,CAAK,EAAI,KAAmB,EAAM,cAAc,OAAQ,CACzD,cAAe,QACf,eAAgB,QAChB,EAAG,gEACL,CAAC,CAAC,CACJ,CACA,IAAM,EAA2B,EAAM,WAAW,CAAe"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as e from "react";
|
|
3
|
+
//#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js
|
|
4
|
+
function t({ title: t, titleId: n, ...r }, i) {
|
|
5
|
+
return /* @__PURE__ */ e.createElement("svg", Object.assign({
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
fill: "none",
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
strokeWidth: 1.5,
|
|
10
|
+
stroke: "currentColor",
|
|
11
|
+
"aria-hidden": "true",
|
|
12
|
+
"data-slot": "icon",
|
|
13
|
+
ref: i,
|
|
14
|
+
"aria-labelledby": n
|
|
15
|
+
}, r), t ? /* @__PURE__ */ e.createElement("title", { id: n }, t) : null, /* @__PURE__ */ e.createElement("path", {
|
|
16
|
+
strokeLinecap: "round",
|
|
17
|
+
strokeLinejoin: "round",
|
|
18
|
+
d: "M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
|
|
19
|
+
}));
|
|
20
|
+
}
|
|
21
|
+
var n = /* @__PURE__ */ e.forwardRef(t);
|
|
22
|
+
//#endregion
|
|
23
|
+
export { n as default };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=CheckCircleIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckCircleIcon.js","names":[],"sources":["../../../../../../../../../../../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js"],"sourcesContent":["import * as React from \"react\";\nfunction CheckCircleIcon({\n title,\n titleId,\n ...props\n}, svgRef) {\n return /*#__PURE__*/React.createElement(\"svg\", Object.assign({\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n viewBox: \"0 0 24 24\",\n strokeWidth: 1.5,\n stroke: \"currentColor\",\n \"aria-hidden\": \"true\",\n \"data-slot\": \"icon\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, /*#__PURE__*/React.createElement(\"path\", {\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\",\n d: \"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"\n }));\n}\nconst ForwardRef = /*#__PURE__*/ React.forwardRef(CheckCircleIcon);\nexport default ForwardRef;"],"x_google_ignoreList":[0],"mappings":";;;AACA,SAAS,EAAgB,EACvB,UACA,YACA,GAAG,KACF,GAAQ;CACT,OAAoB,kBAAM,cAAc,OAAO,OAAO,OAAO;EAC3D,OAAO;EACP,MAAM;EACN,SAAS;EACT,aAAa;EACb,QAAQ;EACR,eAAe;EACf,aAAa;EACb,KAAK;EACL,mBAAmB;CACrB,GAAG,CAAK,GAAG,IAAqB,kBAAM,cAAc,SAAS,EAC3D,IAAI,EACN,GAAG,CAAK,IAAI,MAAmB,kBAAM,cAAc,QAAQ;EACzD,eAAe;EACf,gBAAgB;EAChB,GAAG;CACL,CAAC,CAAC;AACJ;AACA,IAAM,IAA2B,kBAAM,WAAW,CAAe"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";const e=require("../../../../../../../../../_virtual/_rolldown/runtime.cjs");let t=require("react");t=e.__toESM(t);function n({title:e,titleId:n,...r},i){return t.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:i,"aria-labelledby":n},r),e?t.createElement(`title`,{id:n},e):null,t.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z`}))}var r=t.forwardRef(n);exports.default=r;
|
|
2
|
+
//# sourceMappingURL=XCircleIcon.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"XCircleIcon.cjs","names":[],"sources":["../../../../../../../../../../../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.js"],"sourcesContent":["import * as React from \"react\";\nfunction XCircleIcon({\n title,\n titleId,\n ...props\n}, svgRef) {\n return /*#__PURE__*/React.createElement(\"svg\", Object.assign({\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n viewBox: \"0 0 24 24\",\n strokeWidth: 1.5,\n stroke: \"currentColor\",\n \"aria-hidden\": \"true\",\n \"data-slot\": \"icon\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, /*#__PURE__*/React.createElement(\"path\", {\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\",\n d: \"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"\n }));\n}\nconst ForwardRef = /*#__PURE__*/ React.forwardRef(XCircleIcon);\nexport default ForwardRef;"],"x_google_ignoreList":[0],"mappings":"gIACA,SAAS,EAAY,CACnB,QACA,UACA,GAAG,GACF,EAAQ,CACT,OAAoB,EAAM,cAAc,MAAO,OAAO,OAAO,CAC3D,MAAO,6BACP,KAAM,OACN,QAAS,YACT,YAAa,IACb,OAAQ,eACR,cAAe,OACf,YAAa,OACb,IAAK,EACL,kBAAmB,CACrB,EAAG,CAAK,EAAG,EAAqB,EAAM,cAAc,QAAS,CAC3D,GAAI,CACN,EAAG,CAAK,EAAI,KAAmB,EAAM,cAAc,OAAQ,CACzD,cAAe,QACf,eAAgB,QAChB,EAAG,uEACL,CAAC,CAAC,CACJ,CACA,IAAM,EAA2B,EAAM,WAAW,CAAW"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as e from "react";
|
|
3
|
+
//#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.js
|
|
4
|
+
function t({ title: t, titleId: n, ...r }, i) {
|
|
5
|
+
return /* @__PURE__ */ e.createElement("svg", Object.assign({
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
fill: "none",
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
strokeWidth: 1.5,
|
|
10
|
+
stroke: "currentColor",
|
|
11
|
+
"aria-hidden": "true",
|
|
12
|
+
"data-slot": "icon",
|
|
13
|
+
ref: i,
|
|
14
|
+
"aria-labelledby": n
|
|
15
|
+
}, r), t ? /* @__PURE__ */ e.createElement("title", { id: n }, t) : null, /* @__PURE__ */ e.createElement("path", {
|
|
16
|
+
strokeLinecap: "round",
|
|
17
|
+
strokeLinejoin: "round",
|
|
18
|
+
d: "m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
|
|
19
|
+
}));
|
|
20
|
+
}
|
|
21
|
+
var n = /* @__PURE__ */ e.forwardRef(t);
|
|
22
|
+
//#endregion
|
|
23
|
+
export { n as default };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=XCircleIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"XCircleIcon.js","names":[],"sources":["../../../../../../../../../../../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.js"],"sourcesContent":["import * as React from \"react\";\nfunction XCircleIcon({\n title,\n titleId,\n ...props\n}, svgRef) {\n return /*#__PURE__*/React.createElement(\"svg\", Object.assign({\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n viewBox: \"0 0 24 24\",\n strokeWidth: 1.5,\n stroke: \"currentColor\",\n \"aria-hidden\": \"true\",\n \"data-slot\": \"icon\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, /*#__PURE__*/React.createElement(\"path\", {\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\",\n d: \"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"\n }));\n}\nconst ForwardRef = /*#__PURE__*/ React.forwardRef(XCircleIcon);\nexport default ForwardRef;"],"x_google_ignoreList":[0],"mappings":";;;AACA,SAAS,EAAY,EACnB,UACA,YACA,GAAG,KACF,GAAQ;CACT,OAAoB,kBAAM,cAAc,OAAO,OAAO,OAAO;EAC3D,OAAO;EACP,MAAM;EACN,SAAS;EACT,aAAa;EACb,QAAQ;EACR,eAAe;EACf,aAAa;EACb,KAAK;EACL,mBAAmB;CACrB,GAAG,CAAK,GAAG,IAAqB,kBAAM,cAAc,SAAS,EAC3D,IAAI,EACN,GAAG,CAAK,IAAI,MAAmB,kBAAM,cAAc,QAAQ;EACzD,eAAe;EACf,gBAAgB;EAChB,GAAG;CACL,CAAC,CAAC;AACJ;AACA,IAAM,IAA2B,kBAAM,WAAW,CAAW"}
|