@mvriu5/payload-ai 0.5.9 → 1.1.1
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/README.md +62 -6
- package/dist/ai/{proposals.d.ts → proposalSigning.d.ts} +1 -1
- package/dist/ai/{proposals.js → proposalSigning.js} +6 -11
- package/dist/ai/providerOptions.d.ts +17 -1
- package/dist/ai/providerOptions.js +35 -7
- package/dist/ai/providerRuntime.d.ts +2 -2
- package/dist/ai/providerRuntime.js +50 -16
- package/dist/ai/sensitiveData.js +2 -6
- package/dist/components/AIInput.d.ts +2 -1
- package/dist/components/AIInput.js +363 -135
- package/dist/components/AIInput.module.css +15 -1
- package/dist/components/APIKeyField.d.ts +3 -0
- package/dist/components/APIKeyField.js +63 -0
- package/dist/components/ActionToast.d.ts +30 -0
- package/dist/components/ActionToast.js +263 -0
- package/dist/components/AuditLogList.d.ts +32 -0
- package/dist/components/AuditLogList.js +104 -0
- package/dist/components/{RecentChangesList.module.css → AuditLogList.module.css} +18 -1
- package/dist/components/DiffDialog.d.ts +10 -3
- package/dist/components/DiffDialog.js +284 -97
- package/dist/components/DiffDialog.module.css +86 -2
- package/dist/components/Icons.d.ts +5 -0
- package/dist/components/Icons.js +436 -214
- package/dist/components/MentionPopover.d.ts +19 -0
- package/dist/components/MentionPopover.js +95 -0
- package/dist/components/{CollectionMentionPopover.module.css → MentionPopover.module.css} +0 -2
- package/dist/components/hooks/useAISettings.d.ts +6 -4
- package/dist/components/hooks/useAISettings.js +18 -3
- package/dist/components/hooks/useDocumentMentionSuggestions.d.ts +3 -3
- package/dist/components/hooks/useDocumentMentionSuggestions.js +2 -2
- package/dist/exports/client.d.ts +4 -2
- package/dist/exports/client.js +4 -2
- package/dist/handlers/applyActionHandler.d.ts +8 -0
- package/dist/handlers/applyActionHandler.js +563 -0
- package/dist/handlers/auditLogHandler.d.ts +6 -0
- package/dist/{endpoints/aiRecentChangesEndpointHandler.js → handlers/auditLogHandler.js} +12 -8
- package/dist/handlers/chatHandler.d.ts +42 -0
- package/dist/handlers/chatHandler.js +721 -0
- package/dist/handlers/mentionSuggestionHandler.d.ts +7 -0
- package/dist/handlers/mentionSuggestionHandler.js +97 -0
- package/dist/handlers/proposalDiffHandler.d.ts +7 -0
- package/dist/handlers/proposalDiffHandler.js +208 -0
- package/dist/index.d.ts +6 -6
- package/dist/index.js +52 -20
- package/dist/payload/collectionPermissions.d.ts +14 -13
- package/dist/payload/collectionPermissions.js +3 -2
- package/dist/payload/normalizeData.d.ts +8 -0
- package/dist/payload/normalizeData.js +25 -3
- package/dist/payload/schemaContext.d.ts +43 -16
- package/dist/payload/schemaContext.js +139 -18
- package/dist/payload/shared.d.ts +33 -0
- package/dist/payload/shared.js +114 -0
- package/package.json +45 -9
- package/dist/components/AIActionProposalList.d.ts +0 -26
- package/dist/components/AIActionProposalList.js +0 -162
- package/dist/components/AIApiKeyField.d.ts +0 -2
- package/dist/components/AIApiKeyField.js +0 -47
- package/dist/components/CollectionMentionPopover.d.ts +0 -16
- package/dist/components/CollectionMentionPopover.js +0 -77
- package/dist/components/RecentChangesList.d.ts +0 -18
- package/dist/components/RecentChangesList.js +0 -66
- package/dist/components/hooks/utils.d.ts +0 -1
- package/dist/components/hooks/utils.js +0 -3
- package/dist/endpoints/aiApplyActionEndpointHandler.d.ts +0 -8
- package/dist/endpoints/aiApplyActionEndpointHandler.js +0 -365
- package/dist/endpoints/aiChatEndpointHandler.d.ts +0 -35
- package/dist/endpoints/aiChatEndpointHandler.js +0 -382
- package/dist/endpoints/aiMentionSuggestionsEndpointHandler.d.ts +0 -7
- package/dist/endpoints/aiMentionSuggestionsEndpointHandler.js +0 -63
- package/dist/endpoints/aiProposalDiffEndpointHandler.d.ts +0 -7
- package/dist/endpoints/aiProposalDiffEndpointHandler.js +0 -138
- package/dist/endpoints/aiRecentChangesEndpointHandler.d.ts +0 -6
- /package/dist/components/{AIActionProposalList.module.css → ActionToast.module.css} +0 -0
package/dist/components/Icons.js
CHANGED
|
@@ -1,184 +1,281 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
1
2
|
export function MistralAiIcon(props) {
|
|
2
|
-
return /*#__PURE__*/
|
|
3
|
+
return /*#__PURE__*/ _jsxs("svg", {
|
|
3
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4
5
|
viewBox: "0 0 256 233",
|
|
5
|
-
...props
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
6
|
+
...props,
|
|
7
|
+
children: [
|
|
8
|
+
/*#__PURE__*/ _jsx("path", {
|
|
9
|
+
d: "M186.182 0h46.545v46.545h-46.545z"
|
|
10
|
+
}),
|
|
11
|
+
/*#__PURE__*/ _jsx("path", {
|
|
12
|
+
fill: "#f7d046",
|
|
13
|
+
d: "M209.455 0H256v46.545h-46.545z"
|
|
14
|
+
}),
|
|
15
|
+
/*#__PURE__*/ _jsx("path", {
|
|
16
|
+
d: "M0 0h46.545v46.545H0zm0 46.545h46.545V93.09H0zm0 46.546h46.545v46.545H0zm0 46.545h46.545v46.545H0zm0 46.546h46.545v46.545H0z"
|
|
17
|
+
}),
|
|
18
|
+
/*#__PURE__*/ _jsx("path", {
|
|
19
|
+
fill: "#f7d046",
|
|
20
|
+
d: "M23.273 0h46.545v46.545H23.273z"
|
|
21
|
+
}),
|
|
22
|
+
/*#__PURE__*/ _jsx("path", {
|
|
23
|
+
fill: "#f2a73b",
|
|
24
|
+
d: "M209.455 46.545H256V93.09h-46.545zm-186.182 0h46.545V93.09H23.273z"
|
|
25
|
+
}),
|
|
26
|
+
/*#__PURE__*/ _jsx("path", {
|
|
27
|
+
d: "M139.636 46.545h46.545V93.09h-46.545z"
|
|
28
|
+
}),
|
|
29
|
+
/*#__PURE__*/ _jsx("path", {
|
|
30
|
+
fill: "#f2a73b",
|
|
31
|
+
d: "M162.909 46.545h46.545V93.09h-46.545zm-93.091 0h46.545V93.09H69.818z"
|
|
32
|
+
}),
|
|
33
|
+
/*#__PURE__*/ _jsx("path", {
|
|
34
|
+
fill: "#ee792f",
|
|
35
|
+
d: "M116.364 93.091h46.545v46.545h-46.545zm46.545 0h46.545v46.545h-46.545zm-93.091 0h46.545v46.545H69.818z"
|
|
36
|
+
}),
|
|
37
|
+
/*#__PURE__*/ _jsx("path", {
|
|
38
|
+
d: "M93.091 139.636h46.545v46.545H93.091z"
|
|
39
|
+
}),
|
|
40
|
+
/*#__PURE__*/ _jsx("path", {
|
|
41
|
+
fill: "#eb5829",
|
|
42
|
+
d: "M116.364 139.636h46.545v46.545h-46.545z"
|
|
43
|
+
}),
|
|
44
|
+
/*#__PURE__*/ _jsx("path", {
|
|
45
|
+
fill: "#ee792f",
|
|
46
|
+
d: "M209.455 93.091H256v46.545h-46.545zm-186.182 0h46.545v46.545H23.273z"
|
|
47
|
+
}),
|
|
48
|
+
/*#__PURE__*/ _jsx("path", {
|
|
49
|
+
d: "M186.182 139.636h46.545v46.545h-46.545z"
|
|
50
|
+
}),
|
|
51
|
+
/*#__PURE__*/ _jsx("path", {
|
|
52
|
+
fill: "#eb5829",
|
|
53
|
+
d: "M209.455 139.636H256v46.545h-46.545z"
|
|
54
|
+
}),
|
|
55
|
+
/*#__PURE__*/ _jsx("path", {
|
|
56
|
+
d: "M186.182 186.182h46.545v46.545h-46.545z"
|
|
57
|
+
}),
|
|
58
|
+
/*#__PURE__*/ _jsx("path", {
|
|
59
|
+
fill: "#eb5829",
|
|
60
|
+
d: "M23.273 139.636h46.545v46.545H23.273z"
|
|
61
|
+
}),
|
|
62
|
+
/*#__PURE__*/ _jsx("path", {
|
|
63
|
+
fill: "#ea3326",
|
|
64
|
+
d: "M209.455 186.182H256v46.545h-46.545zm-186.182 0h46.545v46.545H23.273z"
|
|
65
|
+
})
|
|
66
|
+
]
|
|
67
|
+
});
|
|
49
68
|
}
|
|
50
69
|
export function OpenaiIcon(props) {
|
|
51
|
-
return /*#__PURE__*/
|
|
70
|
+
return /*#__PURE__*/ _jsx("svg", {
|
|
52
71
|
xmlns: "http://www.w3.org/2000/svg",
|
|
53
72
|
viewBox: "0 0 256 260",
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
73
|
+
fill: "currentColor",
|
|
74
|
+
stroke: "currentColor",
|
|
75
|
+
...props,
|
|
76
|
+
children: /*#__PURE__*/ _jsx("path", {
|
|
77
|
+
d: "M239.184 106.203a64.72 64.72 0 0 0-5.576-53.103C219.452 28.459 191 15.784 163.213 21.74A65.586 65.586 0 0 0 52.096 45.22a64.72 64.72 0 0 0-43.23 31.36c-14.31 24.602-11.061 55.634 8.033 76.74a64.67 64.67 0 0 0 5.525 53.102c14.174 24.65 42.644 37.324 70.446 31.36a64.72 64.72 0 0 0 48.754 21.744c28.481.025 53.714-18.361 62.414-45.481a64.77 64.77 0 0 0 43.229-31.36c14.137-24.558 10.875-55.423-8.083-76.483m-97.56 136.338a48.4 48.4 0 0 1-31.105-11.255l1.535-.87l51.67-29.825a8.6 8.6 0 0 0 4.247-7.367v-72.85l21.845 12.636c.218.111.37.32.409.563v60.367c-.056 26.818-21.783 48.545-48.601 48.601M37.158 197.93a48.35 48.35 0 0 1-5.781-32.589l1.534.921l51.722 29.826a8.34 8.34 0 0 0 8.441 0l63.181-36.425v25.221a.87.87 0 0 1-.358.665l-52.335 30.184c-23.257 13.398-52.97 5.431-66.404-17.803M23.549 85.38a48.5 48.5 0 0 1 25.58-21.333v61.39a8.29 8.29 0 0 0 4.195 7.316l62.874 36.272l-21.845 12.636a.82.82 0 0 1-.767 0L41.353 151.53c-23.211-13.454-31.171-43.144-17.804-66.405zm179.466 41.695l-63.08-36.63L161.73 77.86a.82.82 0 0 1 .768 0l52.233 30.184a48.6 48.6 0 0 1-7.316 87.635v-61.391a8.54 8.54 0 0 0-4.4-7.213m21.742-32.69l-1.535-.922l-51.619-30.081a8.39 8.39 0 0 0-8.492 0L99.98 99.808V74.587a.72.72 0 0 1 .307-.665l52.233-30.133a48.652 48.652 0 0 1 72.236 50.391zM88.061 139.097l-21.845-12.585a.87.87 0 0 1-.41-.614V65.685a48.652 48.652 0 0 1 79.757-37.346l-1.535.87l-51.67 29.825a8.6 8.6 0 0 0-4.246 7.367zm11.868-25.58L128.067 97.3l28.188 16.218v32.434l-28.086 16.218l-28.188-16.218z"
|
|
78
|
+
})
|
|
79
|
+
});
|
|
58
80
|
}
|
|
59
81
|
export function ClaudeIcon(props) {
|
|
60
|
-
return /*#__PURE__*/
|
|
82
|
+
return /*#__PURE__*/ _jsx("svg", {
|
|
61
83
|
xmlns: "http://www.w3.org/2000/svg",
|
|
62
84
|
viewBox: "0 0 256 257",
|
|
63
|
-
...props
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
85
|
+
...props,
|
|
86
|
+
children: /*#__PURE__*/ _jsx("path", {
|
|
87
|
+
fill: "#d97757",
|
|
88
|
+
d: "m50.228 170.321l50.357-28.257l.843-2.463l-.843-1.361h-2.462l-8.426-.518l-28.775-.778l-24.952-1.037l-24.175-1.296l-6.092-1.297L0 125.796l.583-3.759l5.12-3.434l7.324.648l16.202 1.101l24.304 1.685l17.629 1.037l26.118 2.722h4.148l.583-1.685l-1.426-1.037l-1.101-1.037l-25.147-17.045l-27.22-18.017l-14.258-10.37l-7.713-5.25l-3.888-4.925l-1.685-10.758l7-7.713l9.397.649l2.398.648l9.527 7.323l20.35 15.75L94.817 91.9l3.889 3.24l1.555-1.102l.195-.777l-1.75-2.917l-14.453-26.118l-15.425-26.572l-6.87-11.018l-1.814-6.61c-.648-2.723-1.102-4.991-1.102-7.778l7.972-10.823L71.42 0l10.63 1.426l4.472 3.888l6.61 15.101l10.694 23.786l16.591 32.34l4.861 9.592l2.592 8.879l.973 2.722h1.685v-1.556l1.36-18.211l2.528-22.36l2.463-28.776l.843-8.1l4.018-9.722l7.971-5.25l6.222 2.981l5.12 7.324l-.713 4.73l-3.046 19.768l-5.962 30.98l-3.889 20.739h2.268l2.593-2.593l10.499-13.934l17.628-22.036l7.778-8.749l9.073-9.657l5.833-4.601h11.018l8.1 12.055l-3.628 12.443l-11.342 14.388l-9.398 12.184l-13.48 18.147l-8.426 14.518l.778 1.166l2.01-.194l30.46-6.481l16.462-2.982l19.637-3.37l8.88 4.148l.971 4.213l-3.5 8.62l-20.998 5.184l-24.628 4.926l-36.682 8.685l-.454.324l.519.648l16.526 1.555l7.065.389h17.304l32.21 2.398l8.426 5.574l5.055 6.805l-.843 5.184l-12.962 6.611l-17.498-4.148l-40.83-9.721l-14-3.5h-1.944v1.167l11.666 11.406l21.387 19.314l26.767 24.887l1.36 6.157l-3.434 4.86l-3.63-.518l-23.526-17.693l-9.073-7.972l-20.545-17.304h-1.36v1.814l4.73 6.935l25.017 37.59l1.296 11.536l-1.814 3.76l-6.481 2.268l-7.13-1.297l-14.647-20.544l-15.1-23.138l-12.185-20.739l-1.49.843l-7.194 77.448l-3.37 3.953l-7.778 2.981l-6.48-4.925l-3.436-7.972l3.435-15.749l4.148-20.544l3.37-16.333l3.046-20.285l1.815-6.74l-.13-.454l-1.49.194l-15.295 20.999l-23.267 31.433l-18.406 19.702l-4.407 1.75l-7.648-3.954l.713-7.064l4.277-6.286l25.47-32.405l15.36-20.092l9.917-11.6l-.065-1.686h-.583L44.07 198.125l-12.055 1.555l-5.185-4.86l.648-7.972l2.463-2.593l20.35-13.999z"
|
|
89
|
+
})
|
|
90
|
+
});
|
|
68
91
|
}
|
|
69
92
|
export function GoogleGeminiIcon(props) {
|
|
70
|
-
return /*#__PURE__*/
|
|
93
|
+
return /*#__PURE__*/ _jsxs("svg", {
|
|
71
94
|
xmlns: "http://www.w3.org/2000/svg",
|
|
72
95
|
viewBox: "0 0 512 188",
|
|
73
|
-
...props
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
96
|
+
...props,
|
|
97
|
+
children: [
|
|
98
|
+
/*#__PURE__*/ _jsxs("defs", {
|
|
99
|
+
children: [
|
|
100
|
+
/*#__PURE__*/ _jsxs("radialGradient", {
|
|
101
|
+
id: "SVGPMo0zqwk",
|
|
102
|
+
cx: "85.738%",
|
|
103
|
+
cy: "25.354%",
|
|
104
|
+
r: "103.154%",
|
|
105
|
+
fx: "85.738%",
|
|
106
|
+
fy: "25.354%",
|
|
107
|
+
gradientTransform: "matrix(-.86887 .47915 -.39276 -.66723 1.702 .012)",
|
|
108
|
+
children: [
|
|
109
|
+
/*#__PURE__*/ _jsx("stop", {
|
|
110
|
+
offset: "0%",
|
|
111
|
+
stopColor: "#5baeff"
|
|
112
|
+
}),
|
|
113
|
+
/*#__PURE__*/ _jsx("stop", {
|
|
114
|
+
offset: "100%",
|
|
115
|
+
stopColor: "#9cbfff"
|
|
116
|
+
})
|
|
117
|
+
]
|
|
118
|
+
}),
|
|
119
|
+
/*#__PURE__*/ _jsxs("radialGradient", {
|
|
120
|
+
id: "SVG6LOdsc2X",
|
|
121
|
+
cx: "61.879%",
|
|
122
|
+
cy: "26.683%",
|
|
123
|
+
r: "80.612%",
|
|
124
|
+
fx: "61.879%",
|
|
125
|
+
fy: "26.683%",
|
|
126
|
+
gradientTransform: "matrix(-.14736 .90946 -.98908 -.1355 .974 -.26)",
|
|
127
|
+
children: [
|
|
128
|
+
/*#__PURE__*/ _jsx("stop", {
|
|
129
|
+
offset: "0%",
|
|
130
|
+
stopColor: "#409dff"
|
|
131
|
+
}),
|
|
132
|
+
/*#__PURE__*/ _jsx("stop", {
|
|
133
|
+
offset: "100%",
|
|
134
|
+
stopColor: "#64b0ff"
|
|
135
|
+
})
|
|
136
|
+
]
|
|
137
|
+
}),
|
|
138
|
+
/*#__PURE__*/ _jsxs("radialGradient", {
|
|
139
|
+
id: "SVGRoCRHePI",
|
|
140
|
+
cx: "53.184%",
|
|
141
|
+
cy: "19.021%",
|
|
142
|
+
r: "110.789%",
|
|
143
|
+
fx: "53.184%",
|
|
144
|
+
fy: "19.021%",
|
|
145
|
+
gradientTransform: "matrix(-.16226 .97112 -.66046 -.23858 .744 -.28)",
|
|
146
|
+
children: [
|
|
147
|
+
/*#__PURE__*/ _jsx("stop", {
|
|
148
|
+
offset: "0%",
|
|
149
|
+
stopColor: "#177cff"
|
|
150
|
+
}),
|
|
151
|
+
/*#__PURE__*/ _jsx("stop", {
|
|
152
|
+
offset: "100%",
|
|
153
|
+
stopColor: "#4da4ff"
|
|
154
|
+
})
|
|
155
|
+
]
|
|
156
|
+
}),
|
|
157
|
+
/*#__PURE__*/ _jsxs("radialGradient", {
|
|
158
|
+
id: "SVG8W8bkc7G",
|
|
159
|
+
cx: "-182.665%",
|
|
160
|
+
cy: "10.869%",
|
|
161
|
+
r: "521.404%",
|
|
162
|
+
fx: "-182.665%",
|
|
163
|
+
fy: "10.869%",
|
|
164
|
+
gradientTransform: "matrix(.41608 .16332 -.90933 .07473 -.968 .399)",
|
|
165
|
+
children: [
|
|
166
|
+
/*#__PURE__*/ _jsx("stop", {
|
|
167
|
+
offset: "0%",
|
|
168
|
+
stopColor: "#1c7aff"
|
|
169
|
+
}),
|
|
170
|
+
/*#__PURE__*/ _jsx("stop", {
|
|
171
|
+
offset: "100%",
|
|
172
|
+
stopColor: "#76a9ff"
|
|
173
|
+
}),
|
|
174
|
+
/*#__PURE__*/ _jsx("stop", {
|
|
175
|
+
offset: "100%",
|
|
176
|
+
stopColor: "#8fb9ff"
|
|
177
|
+
})
|
|
178
|
+
]
|
|
179
|
+
}),
|
|
180
|
+
/*#__PURE__*/ _jsxs("linearGradient", {
|
|
181
|
+
id: "SVGKvzpwcOj",
|
|
182
|
+
x1: "48.887%",
|
|
183
|
+
x2: "48.887%",
|
|
184
|
+
y1: "8.809%",
|
|
185
|
+
y2: "100%",
|
|
186
|
+
children: [
|
|
187
|
+
/*#__PURE__*/ _jsx("stop", {
|
|
188
|
+
offset: "0%",
|
|
189
|
+
stopColor: "#076eff"
|
|
190
|
+
}),
|
|
191
|
+
/*#__PURE__*/ _jsx("stop", {
|
|
192
|
+
offset: "100%",
|
|
193
|
+
stopColor: "#3e93ff"
|
|
194
|
+
})
|
|
195
|
+
]
|
|
196
|
+
}),
|
|
197
|
+
/*#__PURE__*/ _jsxs("linearGradient", {
|
|
198
|
+
id: "SVGaWXYB1Pi",
|
|
199
|
+
x1: "13.217%",
|
|
200
|
+
x2: "78.598%",
|
|
201
|
+
y1: "0%",
|
|
202
|
+
y2: "94.201%",
|
|
203
|
+
children: [
|
|
204
|
+
/*#__PURE__*/ _jsx("stop", {
|
|
205
|
+
offset: "0%",
|
|
206
|
+
stopColor: "#076eff"
|
|
207
|
+
}),
|
|
208
|
+
/*#__PURE__*/ _jsx("stop", {
|
|
209
|
+
offset: "100%",
|
|
210
|
+
stopColor: "#69a3ff"
|
|
211
|
+
})
|
|
212
|
+
]
|
|
213
|
+
})
|
|
214
|
+
]
|
|
215
|
+
}),
|
|
216
|
+
/*#__PURE__*/ _jsx("path", {
|
|
217
|
+
fill: "url(#SVGPMo0zqwk)",
|
|
218
|
+
d: "M125.939 126.64q0 26.094-15.482 41.575q-17.395 18.438-45.748 18.438q-27.135 0-45.923-18.786Q0 149.08 0 121.597q0-27.485 18.786-46.27Q37.573 56.54 64.71 56.54q13.741 0 25.918 4.87t20.004 13.742l-11.48 11.48q-5.74-6.957-14.873-10.871t-19.57-3.914q-20.351 0-34.441 14.09q-13.916 14.264-13.916 35.66t13.916 35.659q14.09 14.09 34.442 14.09q18.613 0 30.963-10.437t14.263-28.702H64.71v-14.96h60.36q.87 4.872.87 9.394"
|
|
219
|
+
}),
|
|
220
|
+
/*#__PURE__*/ _jsx("path", {
|
|
221
|
+
fill: "url(#SVG6LOdsc2X)",
|
|
222
|
+
d: "M176.17 96.205q19.152 0 30.485 12.387q11.334 12.388 11.334 34.703l-.176 1.757h-67.648q.352 12.651 8.434 20.382q8.083 7.73 19.328 7.73q15.462 0 24.248-15.461l14.408 7.028q-5.799 10.894-16.077 17.044t-23.282 6.15q-18.976 0-31.276-13.003t-12.299-32.857q0-19.68 11.948-32.77t30.573-13.09m-.351 14.76q-9.137 0-15.726 5.622q-6.59 5.623-8.698 15.11h49.374q-.702-8.96-7.292-14.846t-17.658-5.887"
|
|
223
|
+
}),
|
|
224
|
+
/*#__PURE__*/ _jsx("path", {
|
|
225
|
+
fill: "url(#SVGRoCRHePI)",
|
|
226
|
+
d: "M244.493 184.843h-16.116V99.008h15.416v11.912h.7q3.68-6.306 11.299-10.51q7.62-4.206 15.153-4.205q9.459 0 16.641 4.38q7.182 4.379 10.51 12.086q10.687-16.466 29.605-16.466q14.89 0 22.948 9.11q8.058 9.108 8.058 25.925v53.603h-16.116v-51.15q0-12.088-4.38-17.43q-4.379-5.343-14.714-5.343q-9.285 0-15.59 7.883q-6.307 7.882-6.307 18.568v47.472h-16.116v-51.15q0-12.088-4.38-17.43q-4.379-5.343-14.714-5.343q-9.285 0-15.59 7.883q-6.307 7.882-6.307 18.568z"
|
|
227
|
+
}),
|
|
228
|
+
/*#__PURE__*/ _jsx("path", {
|
|
229
|
+
fill: "url(#SVGKvzpwcOj)",
|
|
230
|
+
d: "M393.263 69.216q0 4.737-3.334 8.07q-3.334 3.335-8.071 3.335t-8.071-3.334t-3.334-8.071q0-4.738 3.334-8.071q3.334-3.334 8.07-3.334q4.74 0 8.072 3.334q3.334 3.334 3.334 8.07m-3.334 29.652v85.975h-16.142V98.868z"
|
|
231
|
+
}),
|
|
232
|
+
/*#__PURE__*/ _jsx("path", {
|
|
233
|
+
fill: "url(#SVG8W8bkc7G)",
|
|
234
|
+
d: "M512 69.216q0 4.737-3.334 8.07q-3.334 3.335-8.07 3.335q-4.74 0-8.072-3.334q-3.333-3.334-3.334-8.071q0-4.738 3.334-8.071q3.334-3.334 8.071-3.334t8.071 3.334t3.334 8.07m-3.334 29.652v85.975h-16.142V98.868z"
|
|
235
|
+
}),
|
|
236
|
+
/*#__PURE__*/ _jsx("path", {
|
|
237
|
+
fill: "url(#SVGaWXYB1Pi)",
|
|
238
|
+
d: "M404.004 99.008h15.415v11.912h.7q3.68-6.306 11.3-10.51q7.62-4.206 15.853-4.205q15.765 0 24.261 9.022q8.496 9.02 8.496 25.663v53.953h-16.116v-52.902q-.526-21.021-21.196-21.021q-9.634 0-16.116 7.795t-6.481 18.656v47.472h-16.116z"
|
|
239
|
+
}),
|
|
240
|
+
/*#__PURE__*/ _jsx("path", {
|
|
241
|
+
fill: "#076eff",
|
|
242
|
+
d: "M348.374 72.76c-2.846-18.788-17.592-33.533-36.38-36.38c18.788-2.847 33.534-17.593 36.38-36.38c2.847 18.787 17.593 33.533 36.38 36.38c-18.787 2.847-33.533 17.592-36.38 36.38"
|
|
243
|
+
})
|
|
244
|
+
]
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
export function OpenrouterIcon(props) {
|
|
248
|
+
return /*#__PURE__*/ _jsx("svg", {
|
|
249
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
250
|
+
width: "512",
|
|
251
|
+
height: "512",
|
|
252
|
+
viewBox: "0 0 512 512",
|
|
253
|
+
fill: "currentColor",
|
|
254
|
+
stroke: "currentColor",
|
|
255
|
+
...props,
|
|
256
|
+
children: /*#__PURE__*/ _jsxs("g", {
|
|
257
|
+
clipPath: "url(#clip0_205_3)",
|
|
258
|
+
children: [
|
|
259
|
+
/*#__PURE__*/ _jsx("path", {
|
|
260
|
+
d: "M3 248.945C18 248.945 76 236 106 219C136 202 136 202 198 158C276.497 102.293 332 120.945 423 120.945",
|
|
261
|
+
strokeWidth: "90"
|
|
262
|
+
}),
|
|
263
|
+
/*#__PURE__*/ _jsx("path", {
|
|
264
|
+
d: "M511 121.5L357.25 210.268L357.25 32.7324L511 121.5Z"
|
|
265
|
+
}),
|
|
266
|
+
/*#__PURE__*/ _jsx("path", {
|
|
267
|
+
d: "M0 249C15 249 73 261.945 103 278.945C133 295.945 133 295.945 195 339.945C273.497 395.652 329 377 420 377",
|
|
268
|
+
strokeWidth: "90"
|
|
269
|
+
}),
|
|
270
|
+
/*#__PURE__*/ _jsx("path", {
|
|
271
|
+
d: "M508 376.445L354.25 287.678L354.25 465.213L508 376.445Z"
|
|
272
|
+
})
|
|
273
|
+
]
|
|
274
|
+
})
|
|
275
|
+
});
|
|
179
276
|
}
|
|
180
277
|
export function FileDiff(props) {
|
|
181
|
-
return /*#__PURE__*/
|
|
278
|
+
return /*#__PURE__*/ _jsxs("svg", {
|
|
182
279
|
xmlns: "http://www.w3.org/2000/svg",
|
|
183
280
|
viewBox: "0 0 24 24",
|
|
184
281
|
fill: "none",
|
|
@@ -186,25 +283,33 @@ export function FileDiff(props) {
|
|
|
186
283
|
strokeWidth: 2,
|
|
187
284
|
strokeLinecap: "round",
|
|
188
285
|
strokeLinejoin: "round",
|
|
189
|
-
...props
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
286
|
+
...props,
|
|
287
|
+
children: [
|
|
288
|
+
/*#__PURE__*/ _jsx("path", {
|
|
289
|
+
stroke: "none",
|
|
290
|
+
d: "M0 0h24v24H0z",
|
|
291
|
+
fill: "none"
|
|
292
|
+
}),
|
|
293
|
+
/*#__PURE__*/ _jsx("path", {
|
|
294
|
+
d: "M14 3v4a1 1 0 0 0 1 1h4"
|
|
295
|
+
}),
|
|
296
|
+
/*#__PURE__*/ _jsx("path", {
|
|
297
|
+
d: "M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2"
|
|
298
|
+
}),
|
|
299
|
+
/*#__PURE__*/ _jsx("path", {
|
|
300
|
+
d: "M12 10l0 4"
|
|
301
|
+
}),
|
|
302
|
+
/*#__PURE__*/ _jsx("path", {
|
|
303
|
+
d: "M10 12l4 0"
|
|
304
|
+
}),
|
|
305
|
+
/*#__PURE__*/ _jsx("path", {
|
|
306
|
+
d: "M10 17l4 0"
|
|
307
|
+
})
|
|
308
|
+
]
|
|
309
|
+
});
|
|
205
310
|
}
|
|
206
311
|
export function Send(props) {
|
|
207
|
-
return /*#__PURE__*/
|
|
312
|
+
return /*#__PURE__*/ _jsxs("svg", {
|
|
208
313
|
xmlns: "http://www.w3.org/2000/svg",
|
|
209
314
|
viewBox: "0 0 24 24",
|
|
210
315
|
fill: "none",
|
|
@@ -212,20 +317,24 @@ export function Send(props) {
|
|
|
212
317
|
strokeWidth: 2,
|
|
213
318
|
strokeLinecap: "round",
|
|
214
319
|
strokeLinejoin: "round",
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
320
|
+
...props,
|
|
321
|
+
children: [
|
|
322
|
+
/*#__PURE__*/ _jsx("path", {
|
|
323
|
+
stroke: "none",
|
|
324
|
+
d: "M0 0h24v24H0z",
|
|
325
|
+
fill: "none"
|
|
326
|
+
}),
|
|
327
|
+
/*#__PURE__*/ _jsx("path", {
|
|
328
|
+
d: "M10 14l11 -11"
|
|
329
|
+
}),
|
|
330
|
+
/*#__PURE__*/ _jsx("path", {
|
|
331
|
+
d: "M21 3l-6.5 18a.55 .55 0 0 1 -1 0l-3.5 -7l-7 -3.5a.55 .55 0 0 1 0 -1l18 -6.5"
|
|
332
|
+
})
|
|
333
|
+
]
|
|
334
|
+
});
|
|
226
335
|
}
|
|
227
336
|
export function Apply(props) {
|
|
228
|
-
return /*#__PURE__*/
|
|
337
|
+
return /*#__PURE__*/ _jsxs("svg", {
|
|
229
338
|
xmlns: "http://www.w3.org/2000/svg",
|
|
230
339
|
viewBox: "0 0 24 24",
|
|
231
340
|
fill: "none",
|
|
@@ -233,18 +342,127 @@ export function Apply(props) {
|
|
|
233
342
|
strokeWidth: 2,
|
|
234
343
|
strokeLinecap: "round",
|
|
235
344
|
strokeLinejoin: "round",
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
345
|
+
...props,
|
|
346
|
+
children: [
|
|
347
|
+
/*#__PURE__*/ _jsx("path", {
|
|
348
|
+
stroke: "none",
|
|
349
|
+
d: "M0 0h24v24H0z",
|
|
350
|
+
fill: "none"
|
|
351
|
+
}),
|
|
352
|
+
/*#__PURE__*/ _jsx("path", {
|
|
353
|
+
d: "M5 12l5 5l10 -10"
|
|
354
|
+
})
|
|
355
|
+
]
|
|
356
|
+
});
|
|
245
357
|
}
|
|
246
358
|
export function Reject(props) {
|
|
247
|
-
return /*#__PURE__*/
|
|
359
|
+
return /*#__PURE__*/ _jsxs("svg", {
|
|
360
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
361
|
+
viewBox: "0 0 24 24",
|
|
362
|
+
fill: "none",
|
|
363
|
+
stroke: "currentColor",
|
|
364
|
+
strokeWidth: 2,
|
|
365
|
+
strokeLinecap: "round",
|
|
366
|
+
strokeLinejoin: "round",
|
|
367
|
+
...props,
|
|
368
|
+
children: [
|
|
369
|
+
/*#__PURE__*/ _jsx("path", {
|
|
370
|
+
stroke: "none",
|
|
371
|
+
d: "M0 0h24v24H0z",
|
|
372
|
+
fill: "none"
|
|
373
|
+
}),
|
|
374
|
+
/*#__PURE__*/ _jsx("path", {
|
|
375
|
+
d: "M18 6l-12 12"
|
|
376
|
+
}),
|
|
377
|
+
/*#__PURE__*/ _jsx("path", {
|
|
378
|
+
d: "M6 6l12 12"
|
|
379
|
+
})
|
|
380
|
+
]
|
|
381
|
+
});
|
|
382
|
+
}
|
|
383
|
+
export function Collection(props) {
|
|
384
|
+
return /*#__PURE__*/ _jsxs("svg", {
|
|
385
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
386
|
+
viewBox: "0 0 24 24",
|
|
387
|
+
fill: "none",
|
|
388
|
+
stroke: "currentColor",
|
|
389
|
+
strokeWidth: 2,
|
|
390
|
+
strokeLinecap: "round",
|
|
391
|
+
strokeLinejoin: "round",
|
|
392
|
+
...props,
|
|
393
|
+
children: [
|
|
394
|
+
/*#__PURE__*/ _jsx("path", {
|
|
395
|
+
stroke: "none",
|
|
396
|
+
d: "M0 0h24v24H0z",
|
|
397
|
+
fill: "none"
|
|
398
|
+
}),
|
|
399
|
+
/*#__PURE__*/ _jsx("path", {
|
|
400
|
+
d: "M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2"
|
|
401
|
+
})
|
|
402
|
+
]
|
|
403
|
+
});
|
|
404
|
+
}
|
|
405
|
+
export function Document(props) {
|
|
406
|
+
return /*#__PURE__*/ _jsxs("svg", {
|
|
407
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
408
|
+
viewBox: "0 0 24 24",
|
|
409
|
+
fill: "none",
|
|
410
|
+
stroke: "currentColor",
|
|
411
|
+
strokeWidth: 2,
|
|
412
|
+
strokeLinecap: "round",
|
|
413
|
+
strokeLinejoin: "round",
|
|
414
|
+
...props,
|
|
415
|
+
children: [
|
|
416
|
+
/*#__PURE__*/ _jsx("path", {
|
|
417
|
+
stroke: "none",
|
|
418
|
+
d: "M0 0h24v24H0z",
|
|
419
|
+
fill: "none"
|
|
420
|
+
}),
|
|
421
|
+
/*#__PURE__*/ _jsx("path", {
|
|
422
|
+
d: "M14 3v4a1 1 0 0 0 1 1h4"
|
|
423
|
+
}),
|
|
424
|
+
/*#__PURE__*/ _jsx("path", {
|
|
425
|
+
d: "M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2"
|
|
426
|
+
})
|
|
427
|
+
]
|
|
428
|
+
});
|
|
429
|
+
}
|
|
430
|
+
export function Global(props) {
|
|
431
|
+
return /*#__PURE__*/ _jsxs("svg", {
|
|
432
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
433
|
+
viewBox: "0 0 24 24",
|
|
434
|
+
fill: "none",
|
|
435
|
+
stroke: "currentColor",
|
|
436
|
+
strokeWidth: 2,
|
|
437
|
+
strokeLinecap: "round",
|
|
438
|
+
strokeLinejoin: "round",
|
|
439
|
+
...props,
|
|
440
|
+
children: [
|
|
441
|
+
/*#__PURE__*/ _jsx("path", {
|
|
442
|
+
stroke: "none",
|
|
443
|
+
d: "M0 0h24v24H0z",
|
|
444
|
+
fill: "none"
|
|
445
|
+
}),
|
|
446
|
+
/*#__PURE__*/ _jsx("path", {
|
|
447
|
+
d: "M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"
|
|
448
|
+
}),
|
|
449
|
+
/*#__PURE__*/ _jsx("path", {
|
|
450
|
+
d: "M3.6 9h16.8"
|
|
451
|
+
}),
|
|
452
|
+
/*#__PURE__*/ _jsx("path", {
|
|
453
|
+
d: "M3.6 15h16.8"
|
|
454
|
+
}),
|
|
455
|
+
/*#__PURE__*/ _jsx("path", {
|
|
456
|
+
d: "M11.5 3a17 17 0 0 0 0 18"
|
|
457
|
+
}),
|
|
458
|
+
/*#__PURE__*/ _jsx("path", {
|
|
459
|
+
d: "M12.5 3a17 17 0 0 1 0 18"
|
|
460
|
+
})
|
|
461
|
+
]
|
|
462
|
+
});
|
|
463
|
+
}
|
|
464
|
+
export function Block(props) {
|
|
465
|
+
return /*#__PURE__*/ _jsxs("svg", {
|
|
248
466
|
xmlns: "http://www.w3.org/2000/svg",
|
|
249
467
|
viewBox: "0 0 24 24",
|
|
250
468
|
fill: "none",
|
|
@@ -252,15 +470,19 @@ export function Reject(props) {
|
|
|
252
470
|
strokeWidth: 2,
|
|
253
471
|
strokeLinecap: "round",
|
|
254
472
|
strokeLinejoin: "round",
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
473
|
+
...props,
|
|
474
|
+
children: [
|
|
475
|
+
/*#__PURE__*/ _jsx("path", {
|
|
476
|
+
stroke: "none",
|
|
477
|
+
d: "M0 0h24v24H0z",
|
|
478
|
+
fill: "none"
|
|
479
|
+
}),
|
|
480
|
+
/*#__PURE__*/ _jsx("path", {
|
|
481
|
+
d: "M14 4a1 1 0 0 1 1 -1h5a1 1 0 0 1 1 1v5a1 1 0 0 1 -1 1h-5a1 1 0 0 1 -1 -1l0 -5"
|
|
482
|
+
}),
|
|
483
|
+
/*#__PURE__*/ _jsx("path", {
|
|
484
|
+
d: "M3 14h12a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h3a2 2 0 0 1 2 2v12"
|
|
485
|
+
})
|
|
486
|
+
]
|
|
487
|
+
});
|
|
266
488
|
}
|