@flozy/editor 3.3.0 → 3.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,438 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { jsxs as _jsxs } from "react/jsx-runtime";
3
+ export function TextAlignLeftIcon(props) {
4
+ return /*#__PURE__*/_jsxs("svg", {
5
+ width: "15",
6
+ height: "15",
7
+ viewBox: "0 0 15 15",
8
+ fill: "none",
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ ...props,
11
+ children: [/*#__PURE__*/_jsx("path", {
12
+ d: "M1.875 2.8125H13.125",
13
+ stroke: "#9C9C9C",
14
+ strokeLinecap: "round",
15
+ strokeLinejoin: "round"
16
+ }), /*#__PURE__*/_jsx("path", {
17
+ d: "M1.76465 6.17578H13.2352",
18
+ stroke: "#9C9C9C",
19
+ strokeLinecap: "round",
20
+ strokeLinejoin: "round"
21
+ }), /*#__PURE__*/_jsx("path", {
22
+ d: "M1.875 9.0625H13.125",
23
+ stroke: "#9C9C9C",
24
+ strokeLinecap: "round",
25
+ strokeLinejoin: "round"
26
+ }), /*#__PURE__*/_jsx("path", {
27
+ d: "M1.875 12.1875H7.79375",
28
+ stroke: "#9C9C9C",
29
+ strokeLinecap: "round",
30
+ strokeLinejoin: "round"
31
+ })]
32
+ });
33
+ }
34
+ export function MakeShorterIcon(props) {
35
+ return /*#__PURE__*/_jsxs("svg", {
36
+ width: "13",
37
+ height: "5",
38
+ viewBox: "0 0 13 5",
39
+ fill: "none",
40
+ xmlns: "http://www.w3.org/2000/svg",
41
+ ...props,
42
+ children: [/*#__PURE__*/_jsx("path", {
43
+ d: "M1.10938 1H12.3594",
44
+ stroke: "#9C9C9C",
45
+ strokeLinecap: "round",
46
+ strokeLinejoin: "round"
47
+ }), /*#__PURE__*/_jsx("path", {
48
+ d: "M1 4.36328H12.4706",
49
+ stroke: "#9C9C9C",
50
+ strokeLinecap: "round",
51
+ strokeLinejoin: "round"
52
+ })]
53
+ });
54
+ }
55
+ export function EditIcon(props) {
56
+ return /*#__PURE__*/_jsxs("svg", {
57
+ width: "16",
58
+ height: "16",
59
+ viewBox: "0 0 16 16",
60
+ fill: "none",
61
+ xmlns: "http://www.w3.org/2000/svg",
62
+ ...props,
63
+ children: [/*#__PURE__*/_jsx("path", {
64
+ d: "M8.84006 2.4008L3.36673 8.19413C3.16006 8.41413 2.96006 8.84746 2.92006 9.14746L2.6734 11.3075C2.58673 12.0875 3.14673 12.6208 3.92006 12.4875L6.06673 12.1208C6.36673 12.0675 6.78673 11.8475 6.9934 11.6208L12.4667 5.82746C13.4134 4.82746 13.8401 3.68746 12.3667 2.29413C10.9001 0.914129 9.78673 1.4008 8.84006 2.4008Z",
65
+ stroke: "#9C9C9C",
66
+ strokeMiterlimit: "10",
67
+ strokeLinecap: "round",
68
+ strokeLinejoin: "round"
69
+ }), /*#__PURE__*/_jsx("path", {
70
+ d: "M7.92676 3.36719C8.21342 5.20719 9.70676 6.61385 11.5601 6.80052",
71
+ stroke: "#9C9C9C",
72
+ strokeMiterlimit: "10",
73
+ strokeLinecap: "round",
74
+ strokeLinejoin: "round"
75
+ }), /*#__PURE__*/_jsx("path", {
76
+ d: "M2 14.668H14",
77
+ stroke: "#9C9C9C",
78
+ strokeMiterlimit: "10",
79
+ strokeLinecap: "round",
80
+ strokeLinejoin: "round"
81
+ })]
82
+ });
83
+ }
84
+ export function BookIcon(props) {
85
+ return /*#__PURE__*/_jsxs("svg", {
86
+ width: "17",
87
+ height: "17",
88
+ viewBox: "0 0 17 17",
89
+ fill: "none",
90
+ xmlns: "http://www.w3.org/2000/svg",
91
+ children: [/*#__PURE__*/_jsx("path", {
92
+ d: "M15.5834 11.8583V3.30876C15.5834 2.45876 14.8892 1.82835 14.0463 1.89918H14.0038C12.5163 2.02668 10.2567 2.7846 8.99592 3.57793L8.8755 3.65585C8.67008 3.78335 8.33008 3.78335 8.12467 3.65585L7.94758 3.5496C6.68675 2.76335 4.43425 2.01251 2.94675 1.8921C2.10383 1.82126 1.41675 2.45876 1.41675 3.30168V11.8583C1.41675 12.5383 1.96925 13.1758 2.64925 13.2608L2.85466 13.2892C4.39175 13.4946 6.76467 14.2738 8.12467 15.0175L8.153 15.0317C8.34425 15.1379 8.64883 15.1379 8.833 15.0317C10.193 14.2808 12.573 13.4946 14.1172 13.2892L14.3509 13.2608C15.0309 13.1758 15.5834 12.5383 15.5834 11.8583Z",
93
+ stroke: "#9C9C9C",
94
+ strokeLinecap: "round",
95
+ strokeLinejoin: "round"
96
+ }), /*#__PURE__*/_jsx("path", {
97
+ d: "M8.5 3.89062V14.5156",
98
+ stroke: "#9C9C9C",
99
+ strokeLinecap: "round",
100
+ strokeLinejoin: "round"
101
+ }), /*#__PURE__*/_jsx("path", {
102
+ d: "M5.4895 6.01562H3.89575",
103
+ stroke: "#9C9C9C",
104
+ strokeLinecap: "round",
105
+ strokeLinejoin: "round"
106
+ }), /*#__PURE__*/_jsx("path", {
107
+ d: "M6.02075 8.14062H3.89575",
108
+ stroke: "#9C9C9C",
109
+ strokeLinecap: "round",
110
+ strokeLinejoin: "round",
111
+ ...props
112
+ })]
113
+ });
114
+ }
115
+ export function CloseIcon(props) {
116
+ return /*#__PURE__*/_jsxs("svg", {
117
+ width: "19",
118
+ height: "19",
119
+ viewBox: "0 0 19 19",
120
+ fill: "none",
121
+ xmlns: "http://www.w3.org/2000/svg",
122
+ ...props,
123
+ children: [/*#__PURE__*/_jsx("path", {
124
+ d: "M9.49992 17.4154C13.8541 17.4154 17.4166 13.8529 17.4166 9.4987C17.4166 5.14453 13.8541 1.58203 9.49992 1.58203C5.14575 1.58203 1.58325 5.14453 1.58325 9.4987C1.58325 13.8529 5.14575 17.4154 9.49992 17.4154Z",
125
+ stroke: "#9C9C9C",
126
+ strokeWidth: "1.5",
127
+ strokeLinecap: "round",
128
+ strokeLinejoin: "round"
129
+ }), /*#__PURE__*/_jsx("path", {
130
+ d: "M7.25952 11.7386L11.7404 7.25781",
131
+ stroke: "#9C9C9C",
132
+ strokeWidth: "1.5",
133
+ strokeLinecap: "round",
134
+ strokeLinejoin: "round"
135
+ }), /*#__PURE__*/_jsx("path", {
136
+ d: "M11.7404 11.7386L7.25952 7.25781",
137
+ stroke: "#9C9C9C",
138
+ strokeWidth: "1.5",
139
+ strokeLinecap: "round",
140
+ strokeLinejoin: "round"
141
+ })]
142
+ });
143
+ }
144
+ export function SummarizeIcon(props) {
145
+ return /*#__PURE__*/_jsxs("svg", {
146
+ width: "18",
147
+ height: "18",
148
+ viewBox: "0 0 18 18",
149
+ fill: "none",
150
+ xmlns: "http://www.w3.org/2000/svg",
151
+ ...props,
152
+ children: [/*#__PURE__*/_jsx("path", {
153
+ d: "M10.5 3.375H15.75",
154
+ stroke: "#9C9C9C",
155
+ strokeLinecap: "round",
156
+ strokeLinejoin: "round"
157
+ }), /*#__PURE__*/_jsx("path", {
158
+ d: "M10.5 7.125H15.75",
159
+ stroke: "#9C9C9C",
160
+ strokeLinecap: "round",
161
+ strokeLinejoin: "round"
162
+ }), /*#__PURE__*/_jsx("path", {
163
+ d: "M2.25 10.875H15.75",
164
+ stroke: "#9C9C9C",
165
+ strokeLinecap: "round",
166
+ strokeLinejoin: "round"
167
+ }), /*#__PURE__*/_jsx("path", {
168
+ d: "M2.25 14.625H15.75",
169
+ stroke: "#9C9C9C",
170
+ strokeLinecap: "round",
171
+ strokeLinejoin: "round"
172
+ }), /*#__PURE__*/_jsx("path", {
173
+ d: "M7.125 6.3225V4.1775C7.125 3.3375 6.7875 3 5.94 3H3.8025C2.9625 3 2.625 3.3375 2.625 4.1775V6.315C2.625 7.1625 2.9625 7.5 3.8025 7.5H5.94C6.7875 7.5 7.125 7.1625 7.125 6.3225Z",
174
+ stroke: "#9C9C9C",
175
+ strokeLinecap: "round",
176
+ strokeLinejoin: "round"
177
+ })]
178
+ });
179
+ }
180
+ export function ActionItemsIcon(props) {
181
+ return /*#__PURE__*/_jsxs("svg", {
182
+ width: "18",
183
+ height: "18",
184
+ viewBox: "0 0 18 18",
185
+ fill: "none",
186
+ xmlns: "http://www.w3.org/2000/svg",
187
+ ...props,
188
+ children: [/*#__PURE__*/_jsx("path", {
189
+ d: "M8.25 14.625H15.75",
190
+ stroke: "#9C9C9C",
191
+ strokeLinecap: "round",
192
+ strokeLinejoin: "round"
193
+ }), /*#__PURE__*/_jsx("path", {
194
+ d: "M8.25 9.375H15.75",
195
+ stroke: "#9C9C9C",
196
+ strokeLinecap: "round",
197
+ strokeLinejoin: "round"
198
+ }), /*#__PURE__*/_jsx("path", {
199
+ d: "M8.25 4.125H15.75",
200
+ stroke: "#9C9C9C",
201
+ strokeLinecap: "round",
202
+ strokeLinejoin: "round"
203
+ }), /*#__PURE__*/_jsx("path", {
204
+ d: "M2.25 4.125L3 4.875L5.25 2.625",
205
+ stroke: "#9C9C9C",
206
+ strokeLinecap: "round",
207
+ strokeLinejoin: "round"
208
+ }), /*#__PURE__*/_jsx("path", {
209
+ d: "M2.25 9.375L3 10.125L5.25 7.875",
210
+ stroke: "#9C9C9C",
211
+ strokeLinecap: "round",
212
+ strokeLinejoin: "round"
213
+ }), /*#__PURE__*/_jsx("path", {
214
+ d: "M2.25 14.625L3 15.375L5.25 13.125",
215
+ stroke: "#9C9C9C",
216
+ strokeLinecap: "round",
217
+ strokeLinejoin: "round"
218
+ })]
219
+ });
220
+ }
221
+ export function TranslateIcon(props) {
222
+ return /*#__PURE__*/_jsxs("svg", {
223
+ width: "17",
224
+ height: "17",
225
+ viewBox: "0 0 17 17",
226
+ fill: "none",
227
+ xmlns: "http://www.w3.org/2000/svg",
228
+ ...props,
229
+ children: [/*#__PURE__*/_jsx("path", {
230
+ d: "M12.7066 13.4443L11.2799 10.5977L9.85327 13.4443",
231
+ stroke: "#9C9C9C",
232
+ strokeWidth: "0.5",
233
+ strokeLinecap: "round",
234
+ strokeLinejoin: "round"
235
+ }), /*#__PURE__*/_jsx("path", {
236
+ d: "M10.1133 12.9375H12.46",
237
+ stroke: "#9C9C9C",
238
+ strokeWidth: "0.5",
239
+ strokeLinecap: "round",
240
+ strokeLinejoin: "round"
241
+ }), /*#__PURE__*/_jsx("path", {
242
+ d: "M11.28 15.6678C9.41331 15.6678 7.89331 14.1545 7.89331 12.2812C7.89331 10.4145 9.40665 8.89453 11.28 8.89453C13.1466 8.89453 14.6666 10.4078 14.6666 12.2812C14.6666 14.1545 13.1533 15.6678 11.28 15.6678Z",
243
+ stroke: "#9C9C9C",
244
+ strokeLinecap: "round",
245
+ strokeLinejoin: "round"
246
+ }), /*#__PURE__*/_jsx("path", {
247
+ d: "M3.34659 2.33203H5.95992C7.33992 2.33203 8.00659 2.99871 7.97326 4.34538V6.9587C8.00659 8.3387 7.33992 9.00538 5.95992 8.97205H3.34659C1.99992 8.99871 1.33325 8.33203 1.33325 6.95203V4.3387C1.33325 2.9987 1.99992 2.33203 3.34659 2.33203Z",
248
+ stroke: "#9C9C9C",
249
+ strokeLinecap: "round",
250
+ strokeLinejoin: "round"
251
+ }), /*#__PURE__*/_jsx("path", {
252
+ d: "M6.00647 4.89844H3.2998",
253
+ stroke: "#9C9C9C",
254
+ strokeWidth: "0.5",
255
+ strokeLinecap: "round",
256
+ strokeLinejoin: "round"
257
+ }), /*#__PURE__*/_jsx("path", {
258
+ d: "M4.64648 4V4.6",
259
+ stroke: "#9C9C9C",
260
+ strokeWidth: "0.5",
261
+ strokeLinecap: "round",
262
+ strokeLinejoin: "round"
263
+ }), /*#__PURE__*/_jsx("path", {
264
+ d: "M5.32655 4.89062C5.32655 6.05729 4.41321 7.00395 3.29321 7.00395",
265
+ stroke: "#9C9C9C",
266
+ strokeWidth: "0.5",
267
+ strokeLinecap: "round",
268
+ strokeLinejoin: "round"
269
+ }), /*#__PURE__*/_jsx("path", {
270
+ d: "M6.00652 7.00537C5.51985 7.00537 5.07986 6.74536 4.77319 6.33203",
271
+ stroke: "#9C9C9C",
272
+ strokeWidth: "0.5",
273
+ strokeLinecap: "round",
274
+ strokeLinejoin: "round"
275
+ }), /*#__PURE__*/_jsx("path", {
276
+ d: "M1.33325 11C1.33325 13.58 3.41992 15.6667 5.99992 15.6667L5.29992 14.5",
277
+ stroke: "#9C9C9C",
278
+ strokeLinecap: "round",
279
+ strokeLinejoin: "round"
280
+ }), /*#__PURE__*/_jsx("path", {
281
+ d: "M14.6667 6.9987C14.6667 4.4187 12.58 2.33203 10 2.33203L10.7 3.4987",
282
+ stroke: "#9C9C9C",
283
+ strokeLinecap: "round",
284
+ strokeLinejoin: "round"
285
+ })]
286
+ });
287
+ }
288
+ export function ToneIcon(props) {
289
+ return /*#__PURE__*/_jsxs("svg", {
290
+ width: "16",
291
+ height: "16",
292
+ viewBox: "0 0 16 16",
293
+ fill: "none",
294
+ xmlns: "http://www.w3.org/2000/svg",
295
+ ...props,
296
+ children: [/*#__PURE__*/_jsx("path", {
297
+ d: "M14.5399 2.62658C13.5133 5.18658 10.9399 8.66658 8.7866 10.3933L7.47327 11.4466C7.3066 11.5666 7.13993 11.6733 6.95327 11.7466C6.95327 11.6266 6.9466 11.4933 6.9266 11.3666C6.85327 10.8066 6.59993 10.2866 6.15326 9.83992C5.69993 9.38658 5.1466 9.11992 4.57993 9.04658C4.4466 9.03992 4.31326 9.02658 4.17993 9.03992C4.25326 8.83325 4.3666 8.63992 4.5066 8.47992L5.5466 7.16658C7.2666 5.01325 10.7599 2.42658 13.3133 1.40658C13.7066 1.25992 14.0866 1.36658 14.3266 1.61325C14.5799 1.85992 14.6999 2.23992 14.5399 2.62658Z",
298
+ stroke: "#9C9C9C",
299
+ strokeLinecap: "round",
300
+ strokeLinejoin: "round"
301
+ }), /*#__PURE__*/_jsx("path", {
302
+ d: "M6.95343 11.7485C6.95343 12.4818 6.67343 13.1818 6.14677 13.7152C5.7401 14.1218 5.18677 14.4018 4.52677 14.4885L2.88677 14.6685C1.99343 14.7685 1.22677 14.0085 1.33343 13.1018L1.51343 11.4618C1.67343 10.0018 2.89343 9.06849 4.18677 9.04182C4.3201 9.03516 4.4601 9.04182 4.58677 9.04849C5.15343 9.12182 5.70677 9.38182 6.1601 9.84182C6.60677 10.2885 6.8601 10.8085 6.93343 11.3685C6.9401 11.4952 6.95343 11.6218 6.95343 11.7485Z",
303
+ stroke: "#9C9C9C",
304
+ strokeLinecap: "round",
305
+ strokeLinejoin: "round"
306
+ }), /*#__PURE__*/_jsx("path", {
307
+ d: "M9.49342 9.64552C9.49342 7.90552 8.08009 6.49219 6.34009 6.49219",
308
+ stroke: "#9C9C9C",
309
+ strokeLinecap: "round",
310
+ strokeLinejoin: "round"
311
+ }), /*#__PURE__*/_jsx("path", {
312
+ d: "M13.4133 8.48828L13.9066 8.97495C14.9 9.96828 14.9 10.9483 13.9066 11.9416L11.9333 13.9149C10.9533 14.8949 9.95998 14.8949 8.97998 13.9149",
313
+ stroke: "#9C9C9C",
314
+ strokeLinecap: "round"
315
+ }), /*#__PURE__*/_jsx("path", {
316
+ d: "M2.07338 7.00703C1.09338 6.0137 1.09338 5.0337 2.07338 4.04036L4.04671 2.06703C5.02671 1.08703 6.02005 1.08703 7.00005 2.06703L7.49338 2.56036",
317
+ stroke: "#9C9C9C",
318
+ strokeLinecap: "round"
319
+ }), /*#__PURE__*/_jsx("path", {
320
+ d: "M7.50011 2.56641L5.03345 5.03307",
321
+ stroke: "#9C9C9C",
322
+ strokeLinecap: "round"
323
+ }), /*#__PURE__*/_jsx("path", {
324
+ d: "M13.4133 8.48828L11.4399 10.4549",
325
+ stroke: "#9C9C9C",
326
+ strokeLinecap: "round"
327
+ })]
328
+ });
329
+ }
330
+ export function ClarifyIcon(props) {
331
+ return /*#__PURE__*/_jsxs("svg", {
332
+ width: "18",
333
+ height: "18",
334
+ viewBox: "0 0 18 18",
335
+ fill: "none",
336
+ xmlns: "http://www.w3.org/2000/svg",
337
+ ...props,
338
+ children: [/*#__PURE__*/_jsx("path", {
339
+ d: "M12.75 12.8243H9.75L6.41249 15.0442C5.91749 15.3742 5.25 15.0218 5.25 14.4218V12.8243C3 12.8243 1.5 11.3243 1.5 9.07426V4.57422C1.5 2.32422 3 0.824219 5.25 0.824219H12.75C15 0.824219 16.5 2.32422 16.5 4.57422V9.07426C16.5 11.3243 15 12.8243 12.75 12.8243Z",
340
+ stroke: "#9C9C9C",
341
+ strokeMiterlimit: "10",
342
+ strokeLinecap: "round",
343
+ strokeLinejoin: "round"
344
+ }), /*#__PURE__*/_jsx("path", {
345
+ d: "M9.00011 7.51953V7.36206C9.00011 6.85206 9.31513 6.58205 9.63013 6.36455C9.93763 6.15455 10.2451 5.88456 10.2451 5.38956C10.2451 4.69956 9.69011 4.14453 9.00011 4.14453C8.31011 4.14453 7.75513 4.69956 7.75513 5.38956",
346
+ stroke: "#9C9C9C",
347
+ strokeLinecap: "round",
348
+ strokeLinejoin: "round"
349
+ }), /*#__PURE__*/_jsx("path", {
350
+ d: "M8.99662 9.3125H9.00337",
351
+ stroke: "#9C9C9C",
352
+ strokeLinecap: "round",
353
+ strokeLinejoin: "round"
354
+ })]
355
+ });
356
+ }
357
+ export function CheckIcon(props) {
358
+ return /*#__PURE__*/_jsx("svg", {
359
+ width: "14",
360
+ height: "10",
361
+ viewBox: "0 0 14 10",
362
+ fill: "none",
363
+ xmlns: "http://www.w3.org/2000/svg",
364
+ ...props,
365
+ children: /*#__PURE__*/_jsx("path", {
366
+ d: "M1 5L4.99529 9L13 1",
367
+ stroke: "#9C9C9C",
368
+ strokeWidth: "1.5",
369
+ strokeLinecap: "round",
370
+ strokeLinejoin: "round"
371
+ })
372
+ });
373
+ }
374
+ export function TryAgainIcon(props) {
375
+ return /*#__PURE__*/_jsxs("svg", {
376
+ width: "24",
377
+ height: "24",
378
+ viewBox: "0 0 24 24",
379
+ fill: "none",
380
+ xmlns: "http://www.w3.org/2000/svg",
381
+ ...props,
382
+ children: [/*#__PURE__*/_jsx("path", {
383
+ d: "M7.13086 18.3086H15.1309C17.8909 18.3086 20.1309 16.0686 20.1309 13.3086C20.1309 10.5486 17.8909 8.30859 15.1309 8.30859H4.13086",
384
+ stroke: "#9C9C9C",
385
+ strokeWidth: "1.5",
386
+ strokeMiterlimit: "10",
387
+ strokeLinecap: "round",
388
+ strokeLinejoin: "round"
389
+ }), /*#__PURE__*/_jsx("path", {
390
+ d: "M6.42914 10.8114L3.86914 8.25141L6.42914 5.69141",
391
+ stroke: "#9C9C9C",
392
+ strokeWidth: "1.5",
393
+ strokeLinecap: "round",
394
+ strokeLinejoin: "round"
395
+ })]
396
+ });
397
+ }
398
+ export function DeleteIcon(props) {
399
+ return /*#__PURE__*/_jsxs("svg", {
400
+ width: "19",
401
+ height: "19",
402
+ viewBox: "0 0 19 19",
403
+ fill: "none",
404
+ xmlns: "http://www.w3.org/2000/svg",
405
+ ...props,
406
+ children: [/*#__PURE__*/_jsx("path", {
407
+ d: "M16.625 4.73568C13.9888 4.47443 11.3367 4.33984 8.6925 4.33984C7.125 4.33984 5.5575 4.41901 3.99 4.57734L2.375 4.73568",
408
+ stroke: "#9C9C9C",
409
+ strokeWidth: "1.5",
410
+ strokeLinecap: "round",
411
+ strokeLinejoin: "round"
412
+ }), /*#__PURE__*/_jsx("path", {
413
+ d: "M6.72852 3.93328L6.90268 2.8962C7.02935 2.14411 7.12435 1.58203 8.46227 1.58203H10.5364C11.8743 1.58203 11.9773 2.17578 12.096 2.90411L12.2702 3.93328",
414
+ stroke: "#9C9C9C",
415
+ strokeWidth: "1.5",
416
+ strokeLinecap: "round",
417
+ strokeLinejoin: "round"
418
+ }), /*#__PURE__*/_jsx("path", {
419
+ d: "M14.922 7.23438L14.4074 15.2065C14.3203 16.4494 14.2491 17.4152 12.0403 17.4152H6.95784C4.74909 17.4152 4.67784 16.4494 4.59076 15.2065L4.07617 7.23438",
420
+ stroke: "#9C9C9C",
421
+ strokeWidth: "1.5",
422
+ strokeLinecap: "round",
423
+ strokeLinejoin: "round"
424
+ }), /*#__PURE__*/_jsx("path", {
425
+ d: "M8.17773 13.0625H10.814",
426
+ stroke: "#9C9C9C",
427
+ strokeWidth: "1.5",
428
+ strokeLinecap: "round",
429
+ strokeLinejoin: "round"
430
+ }), /*#__PURE__*/_jsx("path", {
431
+ d: "M7.52148 9.89453H11.4798",
432
+ stroke: "#9C9C9C",
433
+ strokeWidth: "1.5",
434
+ strokeLinecap: "round",
435
+ strokeLinejoin: "round"
436
+ })]
437
+ });
438
+ }
@@ -7,7 +7,7 @@ import { AiFillEdit, AiOutlineInsertRowBelow, AiOutlineInsertRowRight, AiOutline
7
7
  import { SiLatex } from "react-icons/si";
8
8
  import { RiDeleteColumn, RiDeleteRow } from "react-icons/ri";
9
9
  import { IoIosImage } from "react-icons/io";
10
- import { GridIcon, AccordionIcon, SignatureIcon, ButtonIcon, Carousal, FormIcon, BoldIcon, FontFamilyIcon, FontSizeIcon, ImageIcon, ItalicIcon, LinkIcon, StrikethroughIcon, TableIcon, UnderLineIcon, VideoIcon, CheckboxIcon, AppHeader, MoreHorizontal, UploadImage, DocsUpload, LeftArrow, RightArrow, CheckListButton, CheckListButtonActive, ExcelIcon, CsvIcon, DividerIcon, CloseIcon, SearchIcon, ExpandIcon, CalendarIconNew } from "./iconslist";
10
+ import { GridIcon, AccordionIcon, SignatureIcon, ButtonIcon, Carousal, FormIcon, BoldIcon, FontFamilyIcon, FontSizeIcon, ImageIcon, ItalicIcon, LinkIcon, StrikethroughIcon, TableIcon, UnderLineIcon, VideoIcon, CheckboxIcon, AppHeader, MoreHorizontal, UploadImage, DocsUpload, LeftArrow, RightArrow, CheckListButton, CheckListButtonActive, ExcelIcon, CsvIcon, DividerIcon, CloseIcon, SearchIcon, ExpandIcon, CalendarIconNew, InfinityIcon } from "./iconslist";
11
11
  import ArrowRightIcon from "@mui/icons-material/ArrowRight";
12
12
  import ArrowDropDownIcon from "@mui/icons-material/ArrowDropDown";
13
13
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -212,7 +212,8 @@ const iconList = {
212
212
  fill: "#64748B"
213
213
  }
214
214
  }),
215
- calenderNewIcon: /*#__PURE__*/_jsx(CalendarIconNew, {})
215
+ calenderNewIcon: /*#__PURE__*/_jsx(CalendarIconNew, {}),
216
+ infinityIcon: /*#__PURE__*/_jsx(InfinityIcon, {})
216
217
  };
217
218
  const Icon = props => {
218
219
  const {
@@ -51,7 +51,7 @@ export const SelectPage = props => {
51
51
  ...rest
52
52
  } = r;
53
53
  return {
54
- label: title,
54
+ label: url_name,
55
55
  value: url_name,
56
56
  ...rest
57
57
  };
@@ -78,7 +78,7 @@ export const SelectPage = props => {
78
78
  }, [value, pages]);
79
79
  return /*#__PURE__*/_jsxs("div", {
80
80
  children: [/*#__PURE__*/_jsx(FreeSoloCreateOption, {
81
- label: page?.label || "Home",
81
+ label: page?.label,
82
82
  setValue: val => onChange(val?.value),
83
83
  placeholder: "Select Page",
84
84
  options: pages
@@ -11,7 +11,6 @@ import LinkSettingsStyles from "./style";
11
11
  import { getNavOptions } from "./navOptions";
12
12
  import { ScrollTopBottom, SelectPage, TextInput, Trigger } from "./NavComponents";
13
13
  import SwipeableDrawer from "../SwipeableDrawer";
14
- import { useEditorContext } from "../../hooks/useMouseMove";
15
14
  import { jsx as _jsx } from "react/jsx-runtime";
16
15
  import { jsxs as _jsxs } from "react/jsx-runtime";
17
16
  import { Fragment as _Fragment } from "react/jsx-runtime";
@@ -6,6 +6,7 @@ import ElementListCard from "./ElementsListCard";
6
6
  import MentionsListCard from "./MentionsListCard";
7
7
  import { Typography, Popper, Box, Paper } from "@mui/material";
8
8
  import usePopupStyle from "./Styles";
9
+ import { useEditorContext } from "../../hooks/useMouseMove";
9
10
  import { jsx as _jsx } from "react/jsx-runtime";
10
11
  import { jsxs as _jsxs } from "react/jsx-runtime";
11
12
  const POPUP_LIST_TYPES = {
@@ -30,6 +31,9 @@ const MentionsPopup = /*#__PURE__*/forwardRef((props, ref) => {
30
31
  const [anchorEl, setAnchorEl] = useState(null);
31
32
  let open = Boolean(anchorEl);
32
33
  let prevGroup = "";
34
+ const {
35
+ setOpenAI
36
+ } = useEditorContext();
33
37
  useEffect(() => {
34
38
  if (target && chars.length > 0) {
35
39
  const domRange = ReactEditor.toDOMRange(editor, target);
@@ -101,6 +105,9 @@ const MentionsPopup = /*#__PURE__*/forwardRef((props, ref) => {
101
105
  const handleInsertMention = (char, e) => {
102
106
  if (!char.renderComponent) {
103
107
  Transforms.select(editor, target);
108
+ if (char.type === "infinityAI") {
109
+ setOpenAI("fromElements");
110
+ }
104
111
  insertMention(editor, char, type);
105
112
  setMentions({
106
113
  ...mentions,
@@ -11,6 +11,7 @@ import Icon from "../Icon";
11
11
  import EmojiButton from "../../Elements/Emoji/EmojiButton";
12
12
  import { insertDivider } from "../../utils/divider";
13
13
  import { Transforms } from "slate";
14
+ import { insertInfinityAI } from "../../utils/infinityAI";
14
15
  import { jsx as _jsx } from "react/jsx-runtime";
15
16
  const ELEMENTS_LIST = [{
16
17
  name: "Heading 1",
@@ -223,6 +224,17 @@ const ELEMENTS_LIST = [{
223
224
  onInsert: editor => {
224
225
  insertForm(editor);
225
226
  }
227
+ }, {
228
+ name: "Ask AI to write anything",
229
+ group: "Infinity AI",
230
+ desc: "",
231
+ type: "infinityAI",
232
+ icon: /*#__PURE__*/_jsx(Icon, {
233
+ icon: "infinityIcon"
234
+ }),
235
+ onInsert: editor => {
236
+ insertInfinityAI(editor);
237
+ }
226
238
  }];
227
239
  const elements = props => {
228
240
  const {
@@ -33,7 +33,7 @@ const appHeaderStyle = [{
33
33
  key: "appLogo",
34
34
  type: "text"
35
35
  }, {
36
- label: "App Logo Height",
36
+ label: "Logo Height",
37
37
  key: "logoHeight",
38
38
  type: "text",
39
39
  placeholder: "40px"
@@ -1,4 +1,4 @@
1
- import { Box, SwipeableDrawer, Typography } from "@mui/material";
1
+ import { Box, SwipeableDrawer } from "@mui/material";
2
2
  import DrawerStyles from "./style";
3
3
  import { grey } from "@mui/material/colors";
4
4
  import { styled } from "@mui/material/styles";
@@ -0,0 +1,18 @@
1
+ import "./style.css";
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import { jsxs as _jsxs } from "react/jsx-runtime";
4
+ function WaveLoading() {
5
+ return /*#__PURE__*/_jsxs("div", {
6
+ className: "bouncing-dots",
7
+ children: [/*#__PURE__*/_jsx("div", {
8
+ className: "dot"
9
+ }), /*#__PURE__*/_jsx("div", {
10
+ className: "dot"
11
+ }), /*#__PURE__*/_jsx("div", {
12
+ className: "dot"
13
+ }), /*#__PURE__*/_jsx("div", {
14
+ className: "dot"
15
+ })]
16
+ });
17
+ }
18
+ export default WaveLoading;
@@ -0,0 +1,38 @@
1
+ .bouncing-dots {
2
+ display: flex;
3
+ justify-content: space-between;
4
+ width: 34px;
5
+ }
6
+
7
+ .dot {
8
+ width: 5px;
9
+ height: 5px;
10
+ background-color: #8360FD;
11
+ border-radius: 50%;
12
+ animation: bounceInfinity 1.5s infinite;
13
+ }
14
+
15
+ .dot:nth-child(1) {
16
+ animation-delay: 0s;
17
+ }
18
+
19
+ .dot:nth-child(2) {
20
+ animation-delay: 0.3s;
21
+ }
22
+
23
+ .dot:nth-child(3) {
24
+ animation-delay: 0.6s;
25
+ }
26
+
27
+ .dot:nth-child(4) {
28
+ animation-delay: 0.9s;
29
+ }
30
+
31
+ @keyframes bounceInfinity {
32
+ 0%, 100% {
33
+ transform: translateY(0);
34
+ }
35
+ 20% {
36
+ transform: translateY(-8px);
37
+ }
38
+ }