@factorialco/f0-react 1.288.0 → 1.290.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/experimental.d.ts +139 -52
- package/dist/experimental.js +9945 -10035
- package/dist/f0.d.ts +104 -41
- package/dist/f0.js +552 -959
- package/dist/{hooks-DOxjzQyl.js → hooks-B2MvGPG3.js} +48871 -39340
- package/dist/i18n-provider-defaults.d.ts +509 -0
- package/dist/i18n-provider-defaults.js +420 -0
- package/icons/app/{EqualAproximately.d.ts → EqualApproximately.d.ts} +1 -1
- package/icons/app/EqualApproximately.d.ts.map +1 -0
- package/icons/app/index.d.ts +1 -1
- package/icons/app/index.d.ts.map +1 -1
- package/icons/app/index.js +1 -1
- package/package.json +2 -2
- package/icons/app/EqualAproximately.d.ts.map +0 -1
- /package/icons/app/{EqualAproximately.js → EqualApproximately.js} +0 -0
|
@@ -0,0 +1,509 @@
|
|
|
1
|
+
export declare const defaultTranslations: {
|
|
2
|
+
readonly countries: {
|
|
3
|
+
ad: string;
|
|
4
|
+
ae: string;
|
|
5
|
+
af: string;
|
|
6
|
+
ag: string;
|
|
7
|
+
ai: string;
|
|
8
|
+
al: string;
|
|
9
|
+
am: string;
|
|
10
|
+
ao: string;
|
|
11
|
+
ar: string;
|
|
12
|
+
as: string;
|
|
13
|
+
at: string;
|
|
14
|
+
au: string;
|
|
15
|
+
aw: string;
|
|
16
|
+
ax: string;
|
|
17
|
+
az: string;
|
|
18
|
+
ba: string;
|
|
19
|
+
bb: string;
|
|
20
|
+
bd: string;
|
|
21
|
+
be: string;
|
|
22
|
+
bf: string;
|
|
23
|
+
bg: string;
|
|
24
|
+
bh: string;
|
|
25
|
+
bi: string;
|
|
26
|
+
bj: string;
|
|
27
|
+
bm: string;
|
|
28
|
+
bo: string;
|
|
29
|
+
br: string;
|
|
30
|
+
bt: string;
|
|
31
|
+
bw: string;
|
|
32
|
+
by: string;
|
|
33
|
+
bz: string;
|
|
34
|
+
ca: string;
|
|
35
|
+
cd: string;
|
|
36
|
+
cf: string;
|
|
37
|
+
cg: string;
|
|
38
|
+
ch: string;
|
|
39
|
+
ci: string;
|
|
40
|
+
ck: string;
|
|
41
|
+
cl: string;
|
|
42
|
+
cm: string;
|
|
43
|
+
cn: string;
|
|
44
|
+
co: string;
|
|
45
|
+
cr: string;
|
|
46
|
+
cu: string;
|
|
47
|
+
cv: string;
|
|
48
|
+
cw: string;
|
|
49
|
+
cy: string;
|
|
50
|
+
cz: string;
|
|
51
|
+
de: string;
|
|
52
|
+
dj: string;
|
|
53
|
+
dk: string;
|
|
54
|
+
dm: string;
|
|
55
|
+
do: string;
|
|
56
|
+
dz: string;
|
|
57
|
+
ec: string;
|
|
58
|
+
ee: string;
|
|
59
|
+
eg: string;
|
|
60
|
+
er: string;
|
|
61
|
+
es: string;
|
|
62
|
+
et: string;
|
|
63
|
+
fi: string;
|
|
64
|
+
fj: string;
|
|
65
|
+
fk: string;
|
|
66
|
+
fm: string;
|
|
67
|
+
fo: string;
|
|
68
|
+
fr: string;
|
|
69
|
+
ga: string;
|
|
70
|
+
gb: string;
|
|
71
|
+
gd: string;
|
|
72
|
+
ge: string;
|
|
73
|
+
gg: string;
|
|
74
|
+
gh: string;
|
|
75
|
+
gi: string;
|
|
76
|
+
gl: string;
|
|
77
|
+
gm: string;
|
|
78
|
+
gn: string;
|
|
79
|
+
gq: string;
|
|
80
|
+
gr: string;
|
|
81
|
+
gt: string;
|
|
82
|
+
gu: string;
|
|
83
|
+
gw: string;
|
|
84
|
+
hk: string;
|
|
85
|
+
hn: string;
|
|
86
|
+
hr: string;
|
|
87
|
+
ht: string;
|
|
88
|
+
hu: string;
|
|
89
|
+
id: string;
|
|
90
|
+
ie: string;
|
|
91
|
+
il: string;
|
|
92
|
+
im: string;
|
|
93
|
+
in: string;
|
|
94
|
+
io: string;
|
|
95
|
+
iq: string;
|
|
96
|
+
ir: string;
|
|
97
|
+
is: string;
|
|
98
|
+
it: string;
|
|
99
|
+
je: string;
|
|
100
|
+
jm: string;
|
|
101
|
+
jo: string;
|
|
102
|
+
jp: string;
|
|
103
|
+
ke: string;
|
|
104
|
+
};
|
|
105
|
+
readonly approvals: {
|
|
106
|
+
readonly history: "Approval history";
|
|
107
|
+
readonly statuses: {
|
|
108
|
+
readonly waiting: "Waiting";
|
|
109
|
+
readonly pending: "Pending";
|
|
110
|
+
readonly approved: "Approved";
|
|
111
|
+
readonly rejected: "Rejected";
|
|
112
|
+
};
|
|
113
|
+
readonly requiredNumbers: {
|
|
114
|
+
readonly one: "One approval required";
|
|
115
|
+
readonly other: "{{count}} approvals required";
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
readonly navigation: {
|
|
119
|
+
readonly sidebar: {
|
|
120
|
+
readonly label: "Main navigation";
|
|
121
|
+
readonly companySelector: {
|
|
122
|
+
readonly label: "Select a company";
|
|
123
|
+
readonly placeholder: "Select a company";
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
readonly previous: "Previous";
|
|
127
|
+
readonly next: "Next";
|
|
128
|
+
};
|
|
129
|
+
readonly inputs: {
|
|
130
|
+
readonly password: {
|
|
131
|
+
readonly show: "Show password";
|
|
132
|
+
readonly hide: "Hide password";
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
readonly actions: {
|
|
136
|
+
readonly add: "Add";
|
|
137
|
+
readonly edit: "Edit";
|
|
138
|
+
readonly save: "Save";
|
|
139
|
+
readonly send: "Send";
|
|
140
|
+
readonly cancel: "Cancel";
|
|
141
|
+
readonly copy: "Copy";
|
|
142
|
+
readonly close: "Close";
|
|
143
|
+
readonly showAll: "Show all";
|
|
144
|
+
readonly showLess: "Show less";
|
|
145
|
+
readonly skipToContent: "Skip to content";
|
|
146
|
+
readonly view: "View";
|
|
147
|
+
readonly unselect: "Unselect";
|
|
148
|
+
readonly search: "Search";
|
|
149
|
+
readonly clear: "Clear";
|
|
150
|
+
readonly more: "More";
|
|
151
|
+
readonly moveUp: "Move up";
|
|
152
|
+
readonly moveDown: "Move down";
|
|
153
|
+
readonly thumbsUp: "Like";
|
|
154
|
+
readonly thumbsDown: "Dislike";
|
|
155
|
+
readonly other: "Other actions";
|
|
156
|
+
readonly toggle: "Toggle";
|
|
157
|
+
readonly toggleDropdownMenu: "Toggle dropdown menu";
|
|
158
|
+
};
|
|
159
|
+
readonly status: {
|
|
160
|
+
readonly selected: {
|
|
161
|
+
readonly singular: "Selected";
|
|
162
|
+
readonly plural: "Selected";
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
readonly filters: {
|
|
166
|
+
readonly label: "Filters";
|
|
167
|
+
readonly applyFilters: "Apply filters";
|
|
168
|
+
readonly applySelection: "Apply selection";
|
|
169
|
+
readonly cancel: "Cancel";
|
|
170
|
+
readonly failedToLoadOptions: "Failed to load options";
|
|
171
|
+
readonly retry: "Retry";
|
|
172
|
+
readonly number: {
|
|
173
|
+
readonly value: "Value";
|
|
174
|
+
readonly equal: "Equal to";
|
|
175
|
+
readonly equalTo: "Equal to {{value}}";
|
|
176
|
+
readonly lessOrEqual: "Less or equal to";
|
|
177
|
+
readonly lessThan: "Less than";
|
|
178
|
+
readonly greaterOrEqual: "Greater or equal to";
|
|
179
|
+
readonly greaterThan: "Greater than";
|
|
180
|
+
readonly equalShort: "= {{value}}";
|
|
181
|
+
readonly greaterThanOrEqualShort: ">= {{value}}";
|
|
182
|
+
readonly greaterThanShort: "> {{value}}";
|
|
183
|
+
readonly lessThanOrEqualShort: "<= {{value}}";
|
|
184
|
+
readonly lessThanShort: "< {{value}}";
|
|
185
|
+
readonly rangeTitle: "Use range";
|
|
186
|
+
readonly range: "{{minStrict}} {{min}} and {{maxStrict}} {{max}}";
|
|
187
|
+
};
|
|
188
|
+
readonly search: {
|
|
189
|
+
readonly relaxed: "Relaxed";
|
|
190
|
+
readonly strict: "Strict";
|
|
191
|
+
};
|
|
192
|
+
readonly selectAll: "Select all";
|
|
193
|
+
readonly clear: "Clear";
|
|
194
|
+
};
|
|
195
|
+
readonly toc: {
|
|
196
|
+
readonly search: "Search...";
|
|
197
|
+
};
|
|
198
|
+
readonly collections: {
|
|
199
|
+
readonly sorting: {
|
|
200
|
+
readonly noSorting: "No sorting";
|
|
201
|
+
readonly toggleDirection: "Toggle sorting direction";
|
|
202
|
+
readonly sortBy: "Sort by";
|
|
203
|
+
};
|
|
204
|
+
readonly grouping: {
|
|
205
|
+
readonly noGrouping: "No grouping";
|
|
206
|
+
readonly groupBy: "Group by";
|
|
207
|
+
readonly toggleDirection: "Toggle direction";
|
|
208
|
+
};
|
|
209
|
+
readonly actions: {
|
|
210
|
+
readonly actions: "Actions";
|
|
211
|
+
};
|
|
212
|
+
readonly visualizations: {
|
|
213
|
+
readonly table: "Table view";
|
|
214
|
+
readonly card: "Card view";
|
|
215
|
+
readonly list: "List view";
|
|
216
|
+
readonly kanban: "Kanban view";
|
|
217
|
+
readonly pagination: {
|
|
218
|
+
readonly of: "of";
|
|
219
|
+
};
|
|
220
|
+
readonly settings: "{{visualizationName}} settings";
|
|
221
|
+
readonly reset: "Reset to default";
|
|
222
|
+
};
|
|
223
|
+
readonly table: {
|
|
224
|
+
readonly settings: {
|
|
225
|
+
readonly showAllColumns: "Show all";
|
|
226
|
+
readonly hideAllColumns: "Hide all";
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
readonly itemsCount: "items";
|
|
230
|
+
readonly emptyStates: {
|
|
231
|
+
readonly noData: {
|
|
232
|
+
readonly title: "No data";
|
|
233
|
+
readonly description: "No data available";
|
|
234
|
+
};
|
|
235
|
+
readonly noResults: {
|
|
236
|
+
readonly title: "No results";
|
|
237
|
+
readonly description: "No results found try another search or clear the filters";
|
|
238
|
+
readonly clearFilters: "Clear filters";
|
|
239
|
+
};
|
|
240
|
+
readonly error: {
|
|
241
|
+
readonly title: "Error";
|
|
242
|
+
readonly description: "An error occurred while loading the data";
|
|
243
|
+
readonly retry: "Retry";
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
readonly summaries: {
|
|
247
|
+
readonly types: {
|
|
248
|
+
readonly sum: "sum";
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
readonly shortcut: "Shortcut";
|
|
253
|
+
readonly date: {
|
|
254
|
+
readonly from: "From";
|
|
255
|
+
readonly to: "To";
|
|
256
|
+
readonly none: "None";
|
|
257
|
+
readonly date: "Date";
|
|
258
|
+
readonly custom: "Custom period";
|
|
259
|
+
readonly selectDate: "Select Date";
|
|
260
|
+
readonly compareTo: "Compare to";
|
|
261
|
+
readonly presets: {
|
|
262
|
+
readonly last7Days: "Last 7 days";
|
|
263
|
+
readonly last30Days: "Last 30 days";
|
|
264
|
+
readonly last3Months: "Last 3 months";
|
|
265
|
+
readonly last6Months: "Last 6 months";
|
|
266
|
+
readonly lastYear: "Last year";
|
|
267
|
+
readonly last3Years: "Last 3 years";
|
|
268
|
+
readonly last100Years: "Last 100 years";
|
|
269
|
+
};
|
|
270
|
+
readonly range: "Range";
|
|
271
|
+
readonly selectedBy: "Selected by";
|
|
272
|
+
readonly groups: {
|
|
273
|
+
readonly today: "Today";
|
|
274
|
+
readonly yesterday: "Yesterday";
|
|
275
|
+
readonly lastWeek: "Last week";
|
|
276
|
+
readonly lastMonth: "Last month";
|
|
277
|
+
readonly other: "Other";
|
|
278
|
+
};
|
|
279
|
+
readonly granularities: {
|
|
280
|
+
readonly day: {
|
|
281
|
+
readonly currentDate: "Today";
|
|
282
|
+
readonly label: "Day";
|
|
283
|
+
};
|
|
284
|
+
readonly week: {
|
|
285
|
+
readonly currentDate: "This week";
|
|
286
|
+
readonly label: "Week";
|
|
287
|
+
readonly long: "Week of {{day}} {{month}} {{year}}";
|
|
288
|
+
readonly longSingular: "Week of {{date}}";
|
|
289
|
+
readonly longPlural: "Weeks of {{date}}";
|
|
290
|
+
};
|
|
291
|
+
readonly month: {
|
|
292
|
+
readonly currentDate: "This month";
|
|
293
|
+
readonly label: "Month";
|
|
294
|
+
};
|
|
295
|
+
readonly quarter: {
|
|
296
|
+
readonly currentDate: "This quarter";
|
|
297
|
+
readonly label: "Quarter";
|
|
298
|
+
};
|
|
299
|
+
readonly halfyear: {
|
|
300
|
+
readonly currentDate: "This half year";
|
|
301
|
+
readonly label: "Half year";
|
|
302
|
+
};
|
|
303
|
+
readonly year: {
|
|
304
|
+
readonly currentDate: "This year";
|
|
305
|
+
readonly label: "Year";
|
|
306
|
+
};
|
|
307
|
+
readonly range: {
|
|
308
|
+
readonly currentDate: "Today";
|
|
309
|
+
readonly label: "Range";
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
readonly month: {
|
|
313
|
+
readonly january: "January";
|
|
314
|
+
readonly february: "February";
|
|
315
|
+
readonly march: "March";
|
|
316
|
+
readonly april: "April";
|
|
317
|
+
readonly may: "May";
|
|
318
|
+
readonly june: "June";
|
|
319
|
+
readonly july: "July";
|
|
320
|
+
readonly august: "August";
|
|
321
|
+
readonly september: "September";
|
|
322
|
+
readonly october: "October";
|
|
323
|
+
readonly november: "November";
|
|
324
|
+
readonly december: "December";
|
|
325
|
+
};
|
|
326
|
+
};
|
|
327
|
+
readonly favorites: {
|
|
328
|
+
readonly favorites: "Favorites";
|
|
329
|
+
readonly remove: "Remove favorite";
|
|
330
|
+
};
|
|
331
|
+
readonly notifications: "Notifications";
|
|
332
|
+
readonly ai: {
|
|
333
|
+
readonly openChat: "Open Chat with One AI";
|
|
334
|
+
readonly closeChat: "Close Chat with One AI";
|
|
335
|
+
readonly startNewChat: "Start new chat";
|
|
336
|
+
readonly scrollToBottom: "Scroll to bottom";
|
|
337
|
+
readonly welcome: "Ask or create with One";
|
|
338
|
+
readonly defaultInitialMessage: "How can I help you today?";
|
|
339
|
+
readonly inputPlaceholder: "Ask about time, people, or company info…";
|
|
340
|
+
readonly stopAnswerGeneration: "Stop generating";
|
|
341
|
+
readonly sendMessage: "Send message";
|
|
342
|
+
readonly thoughtsGroupTitle: "Reflection";
|
|
343
|
+
readonly resourcesGroupTitle: "Resources";
|
|
344
|
+
readonly thinking: "Thinking...";
|
|
345
|
+
readonly feedbackModal: {
|
|
346
|
+
readonly positive: {
|
|
347
|
+
readonly title: "What did you like about this response?";
|
|
348
|
+
readonly label: "Your feedback helps us make Factorial AI better";
|
|
349
|
+
readonly placeholder: "Share what worked well";
|
|
350
|
+
};
|
|
351
|
+
readonly negative: {
|
|
352
|
+
readonly title: "What could have been better?";
|
|
353
|
+
readonly label: "Your feedback helps us improve future answers";
|
|
354
|
+
readonly placeholder: "Share what didn’t work";
|
|
355
|
+
};
|
|
356
|
+
};
|
|
357
|
+
};
|
|
358
|
+
readonly select: {
|
|
359
|
+
readonly noResults: "No results found";
|
|
360
|
+
readonly loadingMore: "Loading...";
|
|
361
|
+
};
|
|
362
|
+
readonly numberInput: {
|
|
363
|
+
readonly between: "It should be between {{min}} and {{max}}";
|
|
364
|
+
readonly greaterThan: "It should be greater than {{min}}";
|
|
365
|
+
readonly lessThan: "It should be less than {{max}}";
|
|
366
|
+
};
|
|
367
|
+
readonly coCreationForm: {
|
|
368
|
+
readonly actions: {
|
|
369
|
+
readonly actions: "Actions";
|
|
370
|
+
readonly duplicateQuestion: "Duplicate question";
|
|
371
|
+
readonly deleteQuestion: "Delete question";
|
|
372
|
+
readonly duplicateSection: "Duplicate section";
|
|
373
|
+
readonly deleteSection: "Delete section";
|
|
374
|
+
};
|
|
375
|
+
readonly questionTypes: {
|
|
376
|
+
readonly section: "Section";
|
|
377
|
+
readonly rating: "Rating";
|
|
378
|
+
readonly multipleChoice: "Multiple choice";
|
|
379
|
+
readonly singleChoice: "Single choice";
|
|
380
|
+
readonly text: "Text";
|
|
381
|
+
readonly longText: "Long text";
|
|
382
|
+
readonly numeric: "Numeric";
|
|
383
|
+
readonly link: "Link";
|
|
384
|
+
readonly date: "Date";
|
|
385
|
+
};
|
|
386
|
+
readonly selectQuestion: {
|
|
387
|
+
readonly addOption: "Add option";
|
|
388
|
+
readonly newOption: "New option {{number}}";
|
|
389
|
+
readonly markAsCorrect: "Mark as correct";
|
|
390
|
+
readonly remove: "Remove";
|
|
391
|
+
readonly correct: "Correct";
|
|
392
|
+
readonly optionPlaceholder: "Type anything you want here...";
|
|
393
|
+
};
|
|
394
|
+
readonly answer: {
|
|
395
|
+
readonly label: "Answer";
|
|
396
|
+
readonly placeholder: "Respondent's answer";
|
|
397
|
+
};
|
|
398
|
+
readonly labels: {
|
|
399
|
+
readonly endOfSection: "End of section";
|
|
400
|
+
readonly title: "Title";
|
|
401
|
+
readonly titlePlaceholder: "Question title";
|
|
402
|
+
readonly description: "Description";
|
|
403
|
+
readonly questionDescriptionPlaceholder: "Describe the question in a few words";
|
|
404
|
+
readonly sectionDescriptionPlaceholder: "Describe the section in a few words";
|
|
405
|
+
readonly required: "Required";
|
|
406
|
+
readonly questionType: "Question type";
|
|
407
|
+
readonly questionOptions: "Question options";
|
|
408
|
+
readonly actions: "Actions";
|
|
409
|
+
readonly sectionTitlePlaceholder: "Section title";
|
|
410
|
+
};
|
|
411
|
+
readonly defaults: {
|
|
412
|
+
readonly newSection: "New Section";
|
|
413
|
+
readonly newQuestion: "New Question";
|
|
414
|
+
readonly newQuestionDescription: "New question description";
|
|
415
|
+
};
|
|
416
|
+
};
|
|
417
|
+
};
|
|
418
|
+
|
|
419
|
+
declare type Join<T extends string[], D extends string> = T extends [] ? never : T extends [infer F] ? F : T extends [infer F, ...infer R] ? F extends string ? `${F}${D}${Join<Extract<R, string[]>, D>}` : never : string;
|
|
420
|
+
|
|
421
|
+
declare type PathsToStringProps<T> = T extends string ? [] : {
|
|
422
|
+
[K in Extract<keyof T, string>]: [K, ...PathsToStringProps<T[K]>];
|
|
423
|
+
}[Extract<keyof T, string>];
|
|
424
|
+
|
|
425
|
+
export declare type TranslationKey = Join<PathsToStringProps<typeof defaultTranslations>, ".">;
|
|
426
|
+
|
|
427
|
+
declare type TranslationShape<T> = {
|
|
428
|
+
[K in keyof T]: T[K] extends string ? string : T[K] extends Record<string, string | Record<string, unknown>> ? TranslationShape<T[K]> : never;
|
|
429
|
+
};
|
|
430
|
+
|
|
431
|
+
export declare type TranslationsType = TranslationShape<typeof defaultTranslations>;
|
|
432
|
+
|
|
433
|
+
export { }
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
declare global {
|
|
437
|
+
interface Window {
|
|
438
|
+
XRay: {
|
|
439
|
+
enable: (filter?: ComponentTypes[]) => void;
|
|
440
|
+
disable: () => void;
|
|
441
|
+
};
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
declare module "@tiptap/core" {
|
|
447
|
+
interface Commands<ReturnType> {
|
|
448
|
+
aiBlock: {
|
|
449
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
|
|
450
|
+
};
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
declare module "@tiptap/core" {
|
|
456
|
+
interface Commands<ReturnType> {
|
|
457
|
+
liveCompanion: {
|
|
458
|
+
insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
|
|
459
|
+
};
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
declare module "@tiptap/core" {
|
|
465
|
+
interface Commands<ReturnType> {
|
|
466
|
+
transcript: {
|
|
467
|
+
insertTranscript: (data: TranscriptData, config?: TranscriptConfig) => ReturnType;
|
|
468
|
+
};
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
declare module "gridstack" {
|
|
474
|
+
interface GridStackWidget {
|
|
475
|
+
id?: string;
|
|
476
|
+
allowedSizes?: Array<{
|
|
477
|
+
w: number;
|
|
478
|
+
h: number;
|
|
479
|
+
}>;
|
|
480
|
+
renderFn?: () => React.ReactElement | null;
|
|
481
|
+
meta?: Record<string, unknown>;
|
|
482
|
+
}
|
|
483
|
+
interface GridStackNode {
|
|
484
|
+
id?: string;
|
|
485
|
+
w?: number;
|
|
486
|
+
h?: number;
|
|
487
|
+
x?: number;
|
|
488
|
+
y?: number;
|
|
489
|
+
allowedSizes?: Array<{
|
|
490
|
+
w: number;
|
|
491
|
+
h: number;
|
|
492
|
+
}>;
|
|
493
|
+
renderFn?: () => React.ReactElement | null;
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
declare module "@tiptap/core" {
|
|
499
|
+
interface Commands<ReturnType> {
|
|
500
|
+
moodTracker: {
|
|
501
|
+
insertMoodTracker: (data: MoodTrackerData, config?: MoodTrackerConfig) => ReturnType;
|
|
502
|
+
};
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
declare namespace Calendar {
|
|
508
|
+
var displayName: string;
|
|
509
|
+
}
|