@factorialco/f0-react 1.432.0 → 1.434.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/{F0AiChat-DRUcCTJI.js → F0AiChat-BCNtjNO0.js} +31048 -30690
- package/dist/{F0HILActionConfirmation-ot92kVFT.js → F0HILActionConfirmation-4KT5qQii.js} +1 -1
- package/dist/ai.d.ts +89 -18
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +97 -15
- package/dist/experimental.js +35 -35
- package/dist/f0.d.ts +91 -19
- package/dist/f0.js +5 -5
- package/dist/i18n-provider-defaults.d.ts +8 -6
- package/dist/i18n-provider-defaults.js +3 -1
- package/dist/{index-CCcCCEfU.js → index-8e9inWY-.js} +6095 -6135
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defaultTranslations as ke } from "./i18n-provider-defaults.js";
|
|
2
2
|
import { jsx as q, jsxs as le } from "react/jsx-runtime";
|
|
3
3
|
import { useInsertionEffect as Xe, createContext as Ye, useContext as $e, useRef as B, useEffect as ie, useState as Ue, useCallback as qe, useMemo as He } from "react";
|
|
4
|
-
import { r as Ke, l as je, m as Qe, n as Je, o as Me, p as Ze, q as et, s as tt, t as rt, v as nt, w as Ne, x as ot, V as it, y as st, z as at, A as ct, S as ut, H as lt, B as se, D as ft, E as dt, G as ht, J as mt, K as pt, L as vt, M as fe, N as gt } from "./F0AiChat-
|
|
4
|
+
import { r as Ke, l as je, m as Qe, n as Je, o as Me, p as Ze, q as et, s as tt, t as rt, v as nt, w as Ne, x as ot, V as it, y as st, z as at, A as ct, S as ut, H as lt, B as se, D as ft, E as dt, G as ht, J as mt, K as pt, L as vt, M as fe, N as gt } from "./F0AiChat-BCNtjNO0.js";
|
|
5
5
|
import { useTrackVolume as wt } from "@livekit/components-react";
|
|
6
6
|
function Tt(t, e, r) {
|
|
7
7
|
Xe(() => t.on(e, r), [t, e, r]);
|
package/dist/ai.d.ts
CHANGED
|
@@ -52,6 +52,16 @@ declare type AiChatDisclaimer = {
|
|
|
52
52
|
linkText?: string;
|
|
53
53
|
};
|
|
54
54
|
|
|
55
|
+
export declare type AiChatFileAttachmentConfig = {
|
|
56
|
+
onUploadFiles: (files: File[]) => Promise<UploadedFile[]>;
|
|
57
|
+
allowedMimeTypes?: string | string[];
|
|
58
|
+
/**
|
|
59
|
+
* Maximum number of files that can be attached at once.
|
|
60
|
+
* Omit or pass undefined for no limit.
|
|
61
|
+
*/
|
|
62
|
+
maxFiles?: number;
|
|
63
|
+
};
|
|
64
|
+
|
|
55
65
|
/**
|
|
56
66
|
* Interaction mode for the AI chat
|
|
57
67
|
*/
|
|
@@ -98,12 +108,11 @@ export declare type AiChatProviderProps = {
|
|
|
98
108
|
*/
|
|
99
109
|
VoiceMode?: React.ComponentType;
|
|
100
110
|
/**
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
* (e.g. employee IDs) into rich profile data without knowing the API.
|
|
111
|
+
* Configuration for entity references in markdown.
|
|
112
|
+
* Groups resolver functions (data fetching for hover cards) and
|
|
113
|
+
* URL builders (navigation links) for each entity type.
|
|
105
114
|
*/
|
|
106
|
-
|
|
115
|
+
entityRefs?: EntityRefs;
|
|
107
116
|
/**
|
|
108
117
|
* Available tool hints that the user can activate to provide intent context
|
|
109
118
|
* to the AI. Renders a selector button next to the send button.
|
|
@@ -115,6 +124,10 @@ export declare type AiChatProviderProps = {
|
|
|
115
124
|
* Groups fetchUsage, upgradePlanUrl, and company/plan display info.
|
|
116
125
|
*/
|
|
117
126
|
credits?: AiChatCredits;
|
|
127
|
+
/**
|
|
128
|
+
* File attachment configuration. When provided, enables file uploads in the chat.
|
|
129
|
+
*/
|
|
130
|
+
fileAttachments?: AiChatFileAttachmentConfig;
|
|
118
131
|
onThumbsUp?: (message: AIMessage, { threadId, feedback }: {
|
|
119
132
|
threadId: string;
|
|
120
133
|
feedback: string;
|
|
@@ -224,7 +237,7 @@ declare type AiChatProviderReturnValue = {
|
|
|
224
237
|
inProgress: boolean;
|
|
225
238
|
/** Set the in-progress state (synced from CopilotKit's isLoading) */
|
|
226
239
|
setInProgress: (value: boolean) => void;
|
|
227
|
-
} & Pick<AiChatState, "greeting" | "agent" | "disclaimer" | "resizable" | "
|
|
240
|
+
} & Pick<AiChatState, "greeting" | "agent" | "disclaimer" | "resizable" | "entityRefs" | "toolHints" | "credits" | "fileAttachments"> & {
|
|
228
241
|
/** The current canvas content, or null when canvas is closed */
|
|
229
242
|
canvasContent: CanvasContent | null;
|
|
230
243
|
/** Open the canvas panel with the given content */
|
|
@@ -253,9 +266,10 @@ declare interface AiChatState {
|
|
|
253
266
|
historyEnabled?: boolean;
|
|
254
267
|
footer?: React.ReactNode;
|
|
255
268
|
VoiceMode?: React.ComponentType;
|
|
256
|
-
|
|
269
|
+
entityRefs?: EntityRefs;
|
|
257
270
|
toolHints?: AiChatToolHint[];
|
|
258
271
|
credits?: AiChatCredits;
|
|
272
|
+
fileAttachments?: AiChatFileAttachmentConfig;
|
|
259
273
|
placeholders?: string[];
|
|
260
274
|
setPlaceholders?: React.Dispatch<React.SetStateAction<string[]>>;
|
|
261
275
|
onThumbsUp?: (message: AIMessage, { threadId, feedback }: {
|
|
@@ -291,9 +305,6 @@ export declare type AiChatToolHint = {
|
|
|
291
305
|
prompt: string;
|
|
292
306
|
};
|
|
293
307
|
|
|
294
|
-
/**
|
|
295
|
-
* Tracking options for the AI chat
|
|
296
|
-
*/
|
|
297
308
|
declare type AiChatTrackingOptions = {
|
|
298
309
|
onVisibility?: () => void;
|
|
299
310
|
onClose?: () => void;
|
|
@@ -372,7 +383,7 @@ export declare const aiTranslations: {
|
|
|
372
383
|
readonly unpinChat: "Unpin chat";
|
|
373
384
|
readonly deleteChat: "Delete chat";
|
|
374
385
|
readonly ask: "Ask One";
|
|
375
|
-
readonly
|
|
386
|
+
readonly view: "View";
|
|
376
387
|
readonly tools: "Tools";
|
|
377
388
|
readonly credits: {
|
|
378
389
|
readonly title: "Credits";
|
|
@@ -409,6 +420,8 @@ export declare const aiTranslations: {
|
|
|
409
420
|
readonly actionLabel: "Get credits";
|
|
410
421
|
};
|
|
411
422
|
};
|
|
423
|
+
readonly attachFile: "Attach file";
|
|
424
|
+
readonly removeFile: "Remove";
|
|
412
425
|
readonly growth: {
|
|
413
426
|
readonly demoCard: {
|
|
414
427
|
readonly title: "See {{moduleName}} in action";
|
|
@@ -434,6 +447,18 @@ export declare const aiTranslations: {
|
|
|
434
447
|
};
|
|
435
448
|
};
|
|
436
449
|
|
|
450
|
+
/**
|
|
451
|
+
* Profile data for a candidate entity (ATS applicant), resolved asynchronously
|
|
452
|
+
* and displayed in the entity reference hover card.
|
|
453
|
+
*/
|
|
454
|
+
declare type CandidateProfile = {
|
|
455
|
+
id: string | number;
|
|
456
|
+
firstName: string;
|
|
457
|
+
lastName: string;
|
|
458
|
+
avatarUrl?: string;
|
|
459
|
+
source?: string;
|
|
460
|
+
};
|
|
461
|
+
|
|
437
462
|
/**
|
|
438
463
|
* Discriminated union for canvas panel content.
|
|
439
464
|
* Add new entity types to this union as they are implemented.
|
|
@@ -1099,7 +1124,7 @@ export declare const defaultTranslations: {
|
|
|
1099
1124
|
readonly unpinChat: "Unpin chat";
|
|
1100
1125
|
readonly deleteChat: "Delete chat";
|
|
1101
1126
|
readonly ask: "Ask One";
|
|
1102
|
-
readonly
|
|
1127
|
+
readonly view: "View";
|
|
1103
1128
|
readonly tools: "Tools";
|
|
1104
1129
|
readonly credits: {
|
|
1105
1130
|
readonly title: "Credits";
|
|
@@ -1136,6 +1161,8 @@ export declare const defaultTranslations: {
|
|
|
1136
1161
|
readonly actionLabel: "Get credits";
|
|
1137
1162
|
};
|
|
1138
1163
|
};
|
|
1164
|
+
readonly attachFile: "Attach file";
|
|
1165
|
+
readonly removeFile: "Remove";
|
|
1139
1166
|
readonly growth: {
|
|
1140
1167
|
readonly demoCard: {
|
|
1141
1168
|
readonly title: "See {{moduleName}} in action";
|
|
@@ -1374,6 +1401,15 @@ export declare const defaultTranslations: {
|
|
|
1374
1401
|
};
|
|
1375
1402
|
};
|
|
1376
1403
|
|
|
1404
|
+
/**
|
|
1405
|
+
* Grouped configuration for entity references in the AI chat.
|
|
1406
|
+
* Combines resolver functions (data fetching) with URL builders (navigation).
|
|
1407
|
+
*/
|
|
1408
|
+
export declare type EntityRefs = {
|
|
1409
|
+
resolvers?: EntityResolvers;
|
|
1410
|
+
urls?: EntityUrlBuilders;
|
|
1411
|
+
};
|
|
1412
|
+
|
|
1377
1413
|
/**
|
|
1378
1414
|
* Map of async resolver functions keyed by entity type.
|
|
1379
1415
|
* Each resolver takes an entity ID and returns the profile data
|
|
@@ -1383,6 +1419,8 @@ export declare const defaultTranslations: {
|
|
|
1383
1419
|
*/
|
|
1384
1420
|
export declare type EntityResolvers = {
|
|
1385
1421
|
person?: (id: string) => Promise<PersonProfile>;
|
|
1422
|
+
candidate?: (id: string) => Promise<CandidateProfile>;
|
|
1423
|
+
jobPosting?: (id: string) => Promise<JobPostingProfile>;
|
|
1386
1424
|
/**
|
|
1387
1425
|
* Search for persons by name query. Used by the @mention autocomplete
|
|
1388
1426
|
* in the chat input to let users reference specific employees.
|
|
@@ -1390,6 +1428,19 @@ export declare type EntityResolvers = {
|
|
|
1390
1428
|
searchPersons?: (query: string) => Promise<PersonProfile[]>;
|
|
1391
1429
|
};
|
|
1392
1430
|
|
|
1431
|
+
/**
|
|
1432
|
+
* Map of URL builder functions keyed by entity type.
|
|
1433
|
+
* Each builder takes an entity ID and returns the URL to navigate to.
|
|
1434
|
+
*
|
|
1435
|
+
* When a URL builder is not provided for an entity type, the hover card
|
|
1436
|
+
* will not show a navigation action.
|
|
1437
|
+
*/
|
|
1438
|
+
export declare type EntityUrlBuilders = {
|
|
1439
|
+
person?: (id: string) => string;
|
|
1440
|
+
candidate?: (id: string) => string;
|
|
1441
|
+
jobPosting?: (id: string) => string;
|
|
1442
|
+
};
|
|
1443
|
+
|
|
1393
1444
|
export declare const F0ActionItem: ({ title, status, inGroup }: F0ActionItemProps) => JSX_2.Element;
|
|
1394
1445
|
|
|
1395
1446
|
/**
|
|
@@ -1418,7 +1469,7 @@ export declare const F0AiChat: () => JSX_2.Element | null;
|
|
|
1418
1469
|
/**
|
|
1419
1470
|
* @experimental This is an experimental component use it at your own risk
|
|
1420
1471
|
*/
|
|
1421
|
-
export declare const F0AiChatProvider: ({ enabled, greeting, initialMessage, welcomeScreenSuggestions, disclaimer, resizable, defaultVisualizationMode, lockVisualizationMode, historyEnabled, footer, VoiceMode,
|
|
1472
|
+
export declare const F0AiChatProvider: ({ enabled, greeting, initialMessage, welcomeScreenSuggestions, disclaimer, resizable, defaultVisualizationMode, lockVisualizationMode, historyEnabled, footer, VoiceMode, entityRefs, toolHints, credits, fileAttachments, onThumbsUp, onThumbsDown, children, agent, tracking, ...copilotKitProps }: AiChatProviderProps) => JSX_2.Element;
|
|
1422
1473
|
|
|
1423
1474
|
export declare const F0AiChatTextArea: ({ submitLabel, inProgress, onSend, onStop, creditWarning, onDismissCreditWarning, onGetCredits, }: ChatTextareaProps) => JSX_2.Element;
|
|
1424
1475
|
|
|
@@ -1599,6 +1650,17 @@ declare type IconType = ForwardRefExoticComponent<SVGProps<SVGSVGElement> & RefA
|
|
|
1599
1650
|
animate?: "normal" | "animate";
|
|
1600
1651
|
}>;
|
|
1601
1652
|
|
|
1653
|
+
/**
|
|
1654
|
+
* Profile data for a job posting entity (ATS opening), resolved asynchronously
|
|
1655
|
+
* and displayed in the entity reference hover card.
|
|
1656
|
+
*/
|
|
1657
|
+
declare type JobPostingProfile = {
|
|
1658
|
+
id: string | number;
|
|
1659
|
+
title: string;
|
|
1660
|
+
status?: string;
|
|
1661
|
+
location?: string;
|
|
1662
|
+
};
|
|
1663
|
+
|
|
1602
1664
|
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;
|
|
1603
1665
|
|
|
1604
1666
|
export declare type MaskOptions = {
|
|
@@ -1721,6 +1783,15 @@ declare type TranslationShape_2<T> = {
|
|
|
1721
1783
|
|
|
1722
1784
|
export declare type TranslationsType = TranslationShape<typeof defaultTranslations>;
|
|
1723
1785
|
|
|
1786
|
+
/**
|
|
1787
|
+
* Tracking options for the AI chat
|
|
1788
|
+
*/
|
|
1789
|
+
export declare type UploadedFile = {
|
|
1790
|
+
url: string;
|
|
1791
|
+
filename: string;
|
|
1792
|
+
mimetype: string;
|
|
1793
|
+
};
|
|
1794
|
+
|
|
1724
1795
|
export declare function useAiChat(): AiChatProviderReturnValue;
|
|
1725
1796
|
|
|
1726
1797
|
export declare function useAiChatTranslations(): AiChatTranslations;
|
|
@@ -1801,11 +1872,6 @@ declare module "gridstack" {
|
|
|
1801
1872
|
}
|
|
1802
1873
|
|
|
1803
1874
|
|
|
1804
|
-
declare namespace Calendar {
|
|
1805
|
-
var displayName: string;
|
|
1806
|
-
}
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
1875
|
declare module "@tiptap/core" {
|
|
1810
1876
|
interface Commands<ReturnType> {
|
|
1811
1877
|
aiBlock: {
|
|
@@ -1853,3 +1919,8 @@ declare module "@tiptap/core" {
|
|
|
1853
1919
|
};
|
|
1854
1920
|
}
|
|
1855
1921
|
}
|
|
1922
|
+
|
|
1923
|
+
|
|
1924
|
+
declare namespace Calendar {
|
|
1925
|
+
var displayName: string;
|
|
1926
|
+
}
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./F0AiChat-
|
|
1
|
+
import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./F0AiChat-BCNtjNO0.js";
|
|
2
2
|
import { defaultTranslations as d } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as p, F as S, c as g, d as v, b as x, a as k, o as O, u as P } from "./F0HILActionConfirmation-
|
|
3
|
+
import { A as p, F as S, c as g, d as v, b as x, a as k, o as O, u as P } from "./F0HILActionConfirmation-4KT5qQii.js";
|
|
4
4
|
export {
|
|
5
5
|
p as AiChatTranslationsProvider,
|
|
6
6
|
t as ChatSpinner,
|
package/dist/experimental.d.ts
CHANGED
|
@@ -431,6 +431,16 @@ declare type AiChatDisclaimer = {
|
|
|
431
431
|
linkText?: string;
|
|
432
432
|
};
|
|
433
433
|
|
|
434
|
+
declare type AiChatFileAttachmentConfig = {
|
|
435
|
+
onUploadFiles: (files: File[]) => Promise<UploadedFile[]>;
|
|
436
|
+
allowedMimeTypes?: string | string[];
|
|
437
|
+
/**
|
|
438
|
+
* Maximum number of files that can be attached at once.
|
|
439
|
+
* Omit or pass undefined for no limit.
|
|
440
|
+
*/
|
|
441
|
+
maxFiles?: number;
|
|
442
|
+
};
|
|
443
|
+
|
|
434
444
|
/**
|
|
435
445
|
* Props for the AiChatProvider component
|
|
436
446
|
*/
|
|
@@ -472,12 +482,11 @@ declare type AiChatProviderProps = {
|
|
|
472
482
|
*/
|
|
473
483
|
VoiceMode?: React.ComponentType;
|
|
474
484
|
/**
|
|
475
|
-
*
|
|
476
|
-
*
|
|
477
|
-
*
|
|
478
|
-
* (e.g. employee IDs) into rich profile data without knowing the API.
|
|
485
|
+
* Configuration for entity references in markdown.
|
|
486
|
+
* Groups resolver functions (data fetching for hover cards) and
|
|
487
|
+
* URL builders (navigation links) for each entity type.
|
|
479
488
|
*/
|
|
480
|
-
|
|
489
|
+
entityRefs?: EntityRefs;
|
|
481
490
|
/**
|
|
482
491
|
* Available tool hints that the user can activate to provide intent context
|
|
483
492
|
* to the AI. Renders a selector button next to the send button.
|
|
@@ -489,6 +498,10 @@ declare type AiChatProviderProps = {
|
|
|
489
498
|
* Groups fetchUsage, upgradePlanUrl, and company/plan display info.
|
|
490
499
|
*/
|
|
491
500
|
credits?: AiChatCredits;
|
|
501
|
+
/**
|
|
502
|
+
* File attachment configuration. When provided, enables file uploads in the chat.
|
|
503
|
+
*/
|
|
504
|
+
fileAttachments?: AiChatFileAttachmentConfig;
|
|
492
505
|
onThumbsUp?: (message: AIMessage, { threadId, feedback }: {
|
|
493
506
|
threadId: string;
|
|
494
507
|
feedback: string;
|
|
@@ -522,9 +535,6 @@ declare type AiChatToolHint = {
|
|
|
522
535
|
prompt: string;
|
|
523
536
|
};
|
|
524
537
|
|
|
525
|
-
/**
|
|
526
|
-
* Tracking options for the AI chat
|
|
527
|
-
*/
|
|
528
538
|
declare type AiChatTrackingOptions = {
|
|
529
539
|
onVisibility?: () => void;
|
|
530
540
|
onClose?: () => void;
|
|
@@ -1265,6 +1275,18 @@ declare interface CalloutSkeletonProps {
|
|
|
1265
1275
|
|
|
1266
1276
|
declare type CalloutVariant = (typeof variants)[number];
|
|
1267
1277
|
|
|
1278
|
+
/**
|
|
1279
|
+
* Profile data for a candidate entity (ATS applicant), resolved asynchronously
|
|
1280
|
+
* and displayed in the entity reference hover card.
|
|
1281
|
+
*/
|
|
1282
|
+
declare type CandidateProfile = {
|
|
1283
|
+
id: string | number;
|
|
1284
|
+
firstName: string;
|
|
1285
|
+
lastName: string;
|
|
1286
|
+
avatarUrl?: string;
|
|
1287
|
+
source?: string;
|
|
1288
|
+
};
|
|
1289
|
+
|
|
1268
1290
|
declare type CardAvatarVariant = AvatarVariant | {
|
|
1269
1291
|
type: "emoji";
|
|
1270
1292
|
emoji: string;
|
|
@@ -2672,7 +2694,7 @@ declare const defaultTranslations: {
|
|
|
2672
2694
|
readonly unpinChat: "Unpin chat";
|
|
2673
2695
|
readonly deleteChat: "Delete chat";
|
|
2674
2696
|
readonly ask: "Ask One";
|
|
2675
|
-
readonly
|
|
2697
|
+
readonly view: "View";
|
|
2676
2698
|
readonly tools: "Tools";
|
|
2677
2699
|
readonly credits: {
|
|
2678
2700
|
readonly title: "Credits";
|
|
@@ -2709,6 +2731,8 @@ declare const defaultTranslations: {
|
|
|
2709
2731
|
readonly actionLabel: "Get credits";
|
|
2710
2732
|
};
|
|
2711
2733
|
};
|
|
2734
|
+
readonly attachFile: "Attach file";
|
|
2735
|
+
readonly removeFile: "Remove";
|
|
2712
2736
|
readonly growth: {
|
|
2713
2737
|
readonly demoCard: {
|
|
2714
2738
|
readonly title: "See {{moduleName}} in action";
|
|
@@ -3168,6 +3192,15 @@ export declare type enhanceTextParams = {
|
|
|
3168
3192
|
|
|
3169
3193
|
export declare type EntityId = number | string;
|
|
3170
3194
|
|
|
3195
|
+
/**
|
|
3196
|
+
* Grouped configuration for entity references in the AI chat.
|
|
3197
|
+
* Combines resolver functions (data fetching) with URL builders (navigation).
|
|
3198
|
+
*/
|
|
3199
|
+
declare type EntityRefs = {
|
|
3200
|
+
resolvers?: EntityResolvers;
|
|
3201
|
+
urls?: EntityUrlBuilders;
|
|
3202
|
+
};
|
|
3203
|
+
|
|
3171
3204
|
/**
|
|
3172
3205
|
* Map of async resolver functions keyed by entity type.
|
|
3173
3206
|
* Each resolver takes an entity ID and returns the profile data
|
|
@@ -3177,6 +3210,8 @@ export declare type EntityId = number | string;
|
|
|
3177
3210
|
*/
|
|
3178
3211
|
declare type EntityResolvers = {
|
|
3179
3212
|
person?: (id: string) => Promise<PersonProfile>;
|
|
3213
|
+
candidate?: (id: string) => Promise<CandidateProfile>;
|
|
3214
|
+
jobPosting?: (id: string) => Promise<JobPostingProfile>;
|
|
3180
3215
|
/**
|
|
3181
3216
|
* Search for persons by name query. Used by the @mention autocomplete
|
|
3182
3217
|
* in the chat input to let users reference specific employees.
|
|
@@ -3252,6 +3287,19 @@ export declare type EntitySelectSubEntity = {
|
|
|
3252
3287
|
subDeactivated?: boolean;
|
|
3253
3288
|
};
|
|
3254
3289
|
|
|
3290
|
+
/**
|
|
3291
|
+
* Map of URL builder functions keyed by entity type.
|
|
3292
|
+
* Each builder takes an entity ID and returns the URL to navigate to.
|
|
3293
|
+
*
|
|
3294
|
+
* When a URL builder is not provided for an entity type, the hover card
|
|
3295
|
+
* will not show a navigation action.
|
|
3296
|
+
*/
|
|
3297
|
+
declare type EntityUrlBuilders = {
|
|
3298
|
+
person?: (id: string) => string;
|
|
3299
|
+
candidate?: (id: string) => string;
|
|
3300
|
+
jobPosting?: (id: string) => string;
|
|
3301
|
+
};
|
|
3302
|
+
|
|
3255
3303
|
declare type Enumerate<N extends number, Acc extends number[] = []> = Acc["length"] extends N ? [...Acc, N][number] : Enumerate<N, [...Acc, Acc["length"]]>;
|
|
3256
3304
|
|
|
3257
3305
|
declare interface ErrorMessageProps {
|
|
@@ -3351,6 +3399,7 @@ declare type F0AvatarFlagProps = {
|
|
|
3351
3399
|
declare type F0AvatarIconProps = {
|
|
3352
3400
|
icon: IconType;
|
|
3353
3401
|
size?: (typeof avatarIconSizes)[number];
|
|
3402
|
+
state?: F0IconProps["state"];
|
|
3354
3403
|
} & Partial<Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">>;
|
|
3355
3404
|
|
|
3356
3405
|
declare type F0AvatarListProps = {
|
|
@@ -3790,11 +3839,24 @@ declare type FileDef = {
|
|
|
3790
3839
|
export declare const FileItem: WithDataTestIdReturnType_4<ForwardRefExoticComponent<FileItemProps & RefAttributes<HTMLDivElement>>>;
|
|
3791
3840
|
|
|
3792
3841
|
declare interface FileItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3793
|
-
file: File;
|
|
3842
|
+
file: File | FileDef;
|
|
3794
3843
|
actions?: FileAction[];
|
|
3795
3844
|
disabled?: boolean;
|
|
3845
|
+
size?: FileItemSize;
|
|
3796
3846
|
}
|
|
3797
3847
|
|
|
3848
|
+
export declare type FileItemSize = NonNullable<VariantProps<typeof fileItemVariants>["size"]>;
|
|
3849
|
+
|
|
3850
|
+
declare const fileItemVariants: (props?: ({
|
|
3851
|
+
size?: "lg" | "md" | undefined;
|
|
3852
|
+
} & ({
|
|
3853
|
+
class?: ClassValue;
|
|
3854
|
+
className?: never;
|
|
3855
|
+
} | {
|
|
3856
|
+
class?: never;
|
|
3857
|
+
className?: ClassValue;
|
|
3858
|
+
})) | undefined) => string;
|
|
3859
|
+
|
|
3798
3860
|
export declare type filesConfig = {
|
|
3799
3861
|
onFiles: (files: File[]) => void;
|
|
3800
3862
|
multipleFiles: boolean;
|
|
@@ -4410,6 +4472,17 @@ declare type ItemDefinition = {
|
|
|
4410
4472
|
|
|
4411
4473
|
export declare function ItemSectionHeader({ item, children, isActive, collapsible, isExpanded, onToggleExpanded, sortable, hideChildrenCounter, canDropInside, onDragOver, onDragLeave, onDrop, currentParentId, draggedItemId, }: TOCItemSectionHeaderProps): JSX_2.Element;
|
|
4412
4474
|
|
|
4475
|
+
/**
|
|
4476
|
+
* Profile data for a job posting entity (ATS opening), resolved asynchronously
|
|
4477
|
+
* and displayed in the entity reference hover card.
|
|
4478
|
+
*/
|
|
4479
|
+
declare type JobPostingProfile = {
|
|
4480
|
+
id: string | number;
|
|
4481
|
+
title: string;
|
|
4482
|
+
status?: string;
|
|
4483
|
+
location?: string;
|
|
4484
|
+
};
|
|
4485
|
+
|
|
4413
4486
|
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;
|
|
4414
4487
|
|
|
4415
4488
|
declare type KanbanCollectionProps<Record extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<Record>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<Record>> = CollectionProps<Record, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping, KanbanVisualizationOptions<Record, Filters, Sortings>>;
|
|
@@ -6804,6 +6877,15 @@ declare namespace Types {
|
|
|
6804
6877
|
}
|
|
6805
6878
|
}
|
|
6806
6879
|
|
|
6880
|
+
/**
|
|
6881
|
+
* Tracking options for the AI chat
|
|
6882
|
+
*/
|
|
6883
|
+
declare type UploadedFile = {
|
|
6884
|
+
url: string;
|
|
6885
|
+
filename: string;
|
|
6886
|
+
mimetype: string;
|
|
6887
|
+
};
|
|
6888
|
+
|
|
6807
6889
|
export declare function useAiPromotionChat(): AiPromotionChatProviderReturnValue;
|
|
6808
6890
|
|
|
6809
6891
|
export declare type UseDataCollectionData<R extends RecordType> = UseDataCollectionDataReturn<R> & {
|
|
@@ -7288,11 +7370,6 @@ declare module "gridstack" {
|
|
|
7288
7370
|
}
|
|
7289
7371
|
|
|
7290
7372
|
|
|
7291
|
-
declare namespace Calendar {
|
|
7292
|
-
var displayName: string;
|
|
7293
|
-
}
|
|
7294
|
-
|
|
7295
|
-
|
|
7296
7373
|
declare module "@tiptap/core" {
|
|
7297
7374
|
interface Commands<ReturnType> {
|
|
7298
7375
|
aiBlock: {
|
|
@@ -7340,3 +7417,8 @@ declare module "@tiptap/core" {
|
|
|
7340
7417
|
};
|
|
7341
7418
|
}
|
|
7342
7419
|
}
|
|
7420
|
+
|
|
7421
|
+
|
|
7422
|
+
declare namespace Calendar {
|
|
7423
|
+
var displayName: string;
|
|
7424
|
+
}
|
package/dist/experimental.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { cI as Sf, a7 as _r, b7 as Nf, a6 as If, cJ as Af, cK as _f, a1 as Ef, cL as Eo, cM as er, cN as Tf, cO as Ls, cP as Ui, cQ as Er, K as k, R as Z, L as it, u as ge, cR as Df, cS as Rf, cT as Lf, cU as Of, cV as Mf, ak as Oe, cW as Ff, a0 as jt, cX as Pf, b8 as zf, _ as H, be as $f, bf as Bf, U as Ht, cY as ka, bn as jf, bh as Hf, M as B, cZ as Os, Z as E, c_ as st, c$ as Vf, d0 as Wf, bi as Uf, ay as Gf, bk as Kf, aH as Vt, d1 as Ca, d2 as qf, d3 as Tt, a_ as Sn, aA as Ms, aB as un, k as Sa, a4 as gt, d4 as Na, d5 as Yf, d6 as To, d7 as rn, d8 as Fs, d9 as Hn, da as Tr, db as Jf, dc as Ia, dd as Xf, de as Ps, df as Nn, dg as Le, dh as Zf, di as Qf, dj as Ct, dk as yi, dl as eh, dm as kn, dn as qt, dp as th, P as de, dq as nh, dr as rh, ds as ih, dt as sh, du as oh, W as Je, Y as ue, dv as zs, aW as Vn, cF as Qr, dw as Aa, dx as $s, dy as lh, dz as ah, dA as ch, dB as dh, dC as uh, dD as fh, dE as hh, dF as ph, dG as mh, bb as gh, dH as bh, b9 as wh, dI as xh, dJ as yh, dK as vh, dL as kh, dM as Ch, dN as Sh, dO as Nh, dP as Ih, c3 as rt, dQ as _a, dR as Ah, a3 as V, N as Ea, dS as Ta, dT as _h, b2 as Bs, a8 as Do, a9 as Ro, as as Eh, dU as Th, dV as Dh, am as fn, dW as Rh, dX as Lh, dY as Oh, dZ as Mh, aR as ei, d_ as Da, d$ as Ra, c5 as La, e0 as Fh, aK as Dr, e1 as Ph, e2 as zh, e3 as $h, e4 as Bh, e5 as jh, ai as Hh, aj as Vh, al as Wh, e6 as Oa, e7 as Uh, e8 as Gh, ax as Rr, e9 as Jt, ea as Kh, eb as Ma, ec as js, ed as qh, ee as Yh, ef as Fa, eg as Gi, c0 as Ki, eh as Pa, ei as Jh, ej as Xh, cE as ti, bE as za, cH as Zh, cG as Qh, ek as ep, bF as sn, el as tp, aO as tr, em as Lo, en as qi, eo as np, bs as rp, ep as ip, b_ as $a, c4 as sp, cg as Ba, ce as Hs, ae as op, ch as lp, c1 as Vs, av as ja, a as ap, c as cp, bW as dp, eq as Ha, er as up, es as fp, F as hp, et as Va, eu as Wa, ev as pp, bx as Oo, ew as mp, ex as gp, bY as bp, bv as Ua, by as wp, ey as xp, ez as yp, eA as vp, eB as kp, bZ as Ga, $ as Cp, Q as ot, bK as Ws, eC as Us, eD as Gs, eE as Ka, bL as Ks, eF as qa, eG as Sp, eH as Np, eI as Ip, eJ as Ap, eK as _p, bM as Ep, eL as Tp, b$ as Dp, eM as Rp, eN as Mo, eO as Fo, eP as Po, b0 as Lp, eQ as Op, eR as Mp, bd as Fp, eS as Ya, bD as Pp, eT as zp, eU as $p } from "./F0AiChat-
|
|
2
|
-
import { eY as fA, eX as hA, eV as pA,
|
|
1
|
+
import { cI as Sf, a7 as _r, b7 as Nf, a6 as If, cJ as Af, cK as _f, a1 as Ef, cL as Eo, cM as er, cN as Tf, cO as Ls, cP as Ui, cQ as Er, K as k, R as Z, L as it, u as ge, cR as Df, cS as Rf, cT as Lf, cU as Of, cV as Mf, ak as Oe, cW as Ff, a0 as jt, cX as Pf, b8 as zf, _ as H, be as $f, bf as Bf, U as Ht, cY as ka, bn as jf, bh as Hf, M as B, cZ as Os, Z as E, c_ as st, c$ as Vf, d0 as Wf, bi as Uf, ay as Gf, bk as Kf, aH as Vt, d1 as Ca, d2 as qf, d3 as Tt, a_ as Sn, aA as Ms, aB as un, k as Sa, a4 as gt, d4 as Na, d5 as Yf, d6 as To, d7 as rn, d8 as Fs, d9 as Hn, da as Tr, db as Jf, dc as Ia, dd as Xf, de as Ps, df as Nn, dg as Le, dh as Zf, di as Qf, dj as Ct, dk as yi, dl as eh, dm as kn, dn as qt, dp as th, P as de, dq as nh, dr as rh, ds as ih, dt as sh, du as oh, W as Je, Y as ue, dv as zs, aW as Vn, cF as Qr, dw as Aa, dx as $s, dy as lh, dz as ah, dA as ch, dB as dh, dC as uh, dD as fh, dE as hh, dF as ph, dG as mh, bb as gh, dH as bh, b9 as wh, dI as xh, dJ as yh, dK as vh, dL as kh, dM as Ch, dN as Sh, dO as Nh, dP as Ih, c3 as rt, dQ as _a, dR as Ah, a3 as V, N as Ea, dS as Ta, dT as _h, b2 as Bs, a8 as Do, a9 as Ro, as as Eh, dU as Th, dV as Dh, am as fn, dW as Rh, dX as Lh, dY as Oh, dZ as Mh, aR as ei, d_ as Da, d$ as Ra, c5 as La, e0 as Fh, aK as Dr, e1 as Ph, e2 as zh, e3 as $h, e4 as Bh, e5 as jh, ai as Hh, aj as Vh, al as Wh, e6 as Oa, e7 as Uh, e8 as Gh, ax as Rr, e9 as Jt, ea as Kh, eb as Ma, ec as js, ed as qh, ee as Yh, ef as Fa, eg as Gi, c0 as Ki, eh as Pa, ei as Jh, ej as Xh, cE as ti, bE as za, cH as Zh, cG as Qh, ek as ep, bF as sn, el as tp, aO as tr, em as Lo, en as qi, eo as np, bs as rp, ep as ip, b_ as $a, c4 as sp, cg as Ba, ce as Hs, ae as op, ch as lp, c1 as Vs, av as ja, a as ap, c as cp, bW as dp, eq as Ha, er as up, es as fp, F as hp, et as Va, eu as Wa, ev as pp, bx as Oo, ew as mp, ex as gp, bY as bp, bv as Ua, by as wp, ey as xp, ez as yp, eA as vp, eB as kp, bZ as Ga, $ as Cp, Q as ot, bK as Ws, eC as Us, eD as Gs, eE as Ka, bL as Ks, eF as qa, eG as Sp, eH as Np, eI as Ip, eJ as Ap, eK as _p, bM as Ep, eL as Tp, b$ as Dp, eM as Rp, eN as Mo, eO as Fo, eP as Po, b0 as Lp, eQ as Op, eR as Mp, bd as Fp, eS as Ya, bD as Pp, eT as zp, eU as $p } from "./F0AiChat-BCNtjNO0.js";
|
|
2
|
+
import { eY as fA, eX as hA, eV as pA, fg as mA, aE as gA, eW as bA, aJ as wA, f4 as xA, f5 as yA, f7 as vA, fe as kA, ff as CA, aL as SA, e_ as NA, eZ as IA, f6 as AA, f9 as _A, fa as EA, f3 as TA, f0 as DA, f2 as RA, e$ as LA, c2 as OA, f1 as MA, fb as FA, fc as PA, f8 as zA, fd as $A } from "./F0AiChat-BCNtjNO0.js";
|
|
3
3
|
import { jsx as c, jsxs as g, Fragment as re } from "react/jsx-runtime";
|
|
4
4
|
import * as pe from "react";
|
|
5
5
|
import z, { PureComponent as Bp, forwardRef as F, useRef as q, useTransition as jp, useState as L, useLayoutEffect as Ja, useContext as qs, createContext as Ys, useCallback as X, useMemo as te, useEffect as U, useId as Xa, useImperativeHandle as Za, memo as Qa, Fragment as Hp, isValidElement as Vp, cloneElement as ec, Children as tc } from "react";
|
|
6
|
-
import { f as Xt, ac as In, e as nr, ad as Wp, L as vi, ae as Up, A as Gp, i as rr, k as Kp, G as qp, g as zo, af as Yp, j as $o, n as Jp, ag as nc, ah as rc, ai as Xp, C as Zp, aa as Qp, aj as He, ak as lt, al as Te, am as em, an as gr, ao as Ge, ap as ic, aq as Fe, ar as Js, as as Be, at as Bo, au as tm, av as sc, aw as Ae, ax as ze, ay as An, az as Lr, aA as oc, aB as nm, aC as Wt, aD as rm, aE as im, aF as sm, aG as Wn, aH as Un, aI as Xs, aJ as om, aK as lc, aL as ac, aM as cc, aN as lm, aO as dc, aP as uc, aQ as fc, aR as hc, aS as pc, aT as mc, a3 as jo, aU as am, aV as Ho, aW as cm, aX as dm, aY as um, w as fm, x as hm, z as pm, J as mm, K as gm, s as bm, aZ as gc, a_ as wm, a$ as xm, b0 as ym, b1 as bc, a7 as Yi, b2 as vm, b3 as km, b4 as Cm, b5 as Sm, b6 as Nm, b7 as Im, b8 as Am, $ as _m, b9 as Em, ba as Tm, bb as Dm, bc as Rm, ab as wc, M as Lm, N as Om, P as Mm, Q as Fm, V as Pm, O as zm, bd as Vo, be as $m, bf as Bm, l as jm } from "./index-
|
|
7
|
-
import { a5 as
|
|
6
|
+
import { f as Xt, ac as In, e as nr, ad as Wp, L as vi, ae as Up, A as Gp, i as rr, k as Kp, G as qp, g as zo, af as Yp, j as $o, n as Jp, ag as nc, ah as rc, ai as Xp, C as Zp, aa as Qp, aj as He, ak as lt, al as Te, am as em, an as gr, ao as Ge, ap as ic, aq as Fe, ar as Js, as as Be, at as Bo, au as tm, av as sc, aw as Ae, ax as ze, ay as An, az as Lr, aA as oc, aB as nm, aC as Wt, aD as rm, aE as im, aF as sm, aG as Wn, aH as Un, aI as Xs, aJ as om, aK as lc, aL as ac, aM as cc, aN as lm, aO as dc, aP as uc, aQ as fc, aR as hc, aS as pc, aT as mc, a3 as jo, aU as am, aV as Ho, aW as cm, aX as dm, aY as um, w as fm, x as hm, z as pm, J as mm, K as gm, s as bm, aZ as gc, a_ as wm, a$ as xm, b0 as ym, b1 as bc, a7 as Yi, b2 as vm, b3 as km, b4 as Cm, b5 as Sm, b6 as Nm, b7 as Im, b8 as Am, $ as _m, b9 as Em, ba as Tm, bb as Dm, bc as Rm, ab as wc, M as Lm, N as Om, P as Mm, Q as Fm, V as Pm, O as zm, bd as Vo, be as $m, bf as Bm, l as jm } from "./index-8e9inWY-.js";
|
|
7
|
+
import { a5 as jA, W as HA, a0 as VA, R as WA, _ as UA, bj as GA, bh as KA, bi as qA, a4 as YA, T as JA, Z as XA, U as ZA, bg as QA, a8 as e_, a9 as t_ } from "./index-8e9inWY-.js";
|
|
8
8
|
import './experimental.css';const Hm = Sf("Search", [
|
|
9
9
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
10
10
|
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
|
@@ -22364,7 +22364,7 @@ export {
|
|
|
22364
22364
|
pp as Badge,
|
|
22365
22365
|
HI as BarChartWidget,
|
|
22366
22366
|
Vx as BaseActivityItemList,
|
|
22367
|
-
|
|
22367
|
+
jA as BaseBanner,
|
|
22368
22368
|
Yx as BaseCelebration,
|
|
22369
22369
|
sy as BaseCommunityPost,
|
|
22370
22370
|
fA as BaseTabs,
|
|
@@ -22372,7 +22372,7 @@ export {
|
|
|
22372
22372
|
xg as Breadcrumbs,
|
|
22373
22373
|
fs as CalendarEvent,
|
|
22374
22374
|
qI as CalendarEventList,
|
|
22375
|
-
|
|
22375
|
+
HA as CardSelectableContainer,
|
|
22376
22376
|
Zp as Carousel,
|
|
22377
22377
|
tA as CategoryBarSection,
|
|
22378
22378
|
yI as Celebration,
|
|
@@ -22387,37 +22387,37 @@ export {
|
|
|
22387
22387
|
II as DaytimePage,
|
|
22388
22388
|
Iy as DetailsItem,
|
|
22389
22389
|
CI as DetailsItemsList,
|
|
22390
|
-
|
|
22390
|
+
VA as Dialog,
|
|
22391
22391
|
gt as Dropdown,
|
|
22392
22392
|
wI as EntitySelect,
|
|
22393
|
-
|
|
22393
|
+
WA as F0ActionBar,
|
|
22394
22394
|
ud as F0AiBanner,
|
|
22395
22395
|
za as F0AvatarModule,
|
|
22396
22396
|
mI as F0Callout,
|
|
22397
|
-
|
|
22397
|
+
UA as F0TableOfContent,
|
|
22398
22398
|
bI as F0VersionHistory,
|
|
22399
22399
|
pA as F1SearchBox,
|
|
22400
|
-
|
|
22401
|
-
|
|
22400
|
+
GA as FILE_TYPES,
|
|
22401
|
+
mA as FileItem,
|
|
22402
22402
|
vI as HighlightBanner,
|
|
22403
22403
|
JI as IndicatorsList,
|
|
22404
|
-
|
|
22404
|
+
gA as Input,
|
|
22405
22405
|
KA as Item,
|
|
22406
22406
|
qA as ItemSectionHeader,
|
|
22407
22407
|
VI as LineChartWidget,
|
|
22408
22408
|
DI as Menu,
|
|
22409
|
-
|
|
22409
|
+
bA as MobileDropdown,
|
|
22410
22410
|
PI as NotesTextEditor,
|
|
22411
22411
|
FI as NotesTextEditorSkeleton,
|
|
22412
|
-
|
|
22412
|
+
wA as NumberInput,
|
|
22413
22413
|
AI as OmniButton,
|
|
22414
22414
|
OI as OneApprovalHistory,
|
|
22415
|
-
|
|
22416
|
-
|
|
22417
|
-
|
|
22418
|
-
|
|
22415
|
+
xA as OneCalendar,
|
|
22416
|
+
yA as OneCalendarInternal,
|
|
22417
|
+
vA as OneDataCollection,
|
|
22418
|
+
kA as OneDateNavigator,
|
|
22419
22419
|
Pp as OneEmptyState,
|
|
22420
|
-
|
|
22420
|
+
CA as OnePagination,
|
|
22421
22421
|
SI as OnePersonListItem,
|
|
22422
22422
|
aA as OneRestrictComponent,
|
|
22423
22423
|
_I as Page,
|
|
@@ -22440,9 +22440,9 @@ export {
|
|
|
22440
22440
|
$I as Split,
|
|
22441
22441
|
zI as Stack,
|
|
22442
22442
|
GI as SummariesWidget,
|
|
22443
|
-
|
|
22444
|
-
|
|
22445
|
-
|
|
22443
|
+
SA as Switch,
|
|
22444
|
+
NA as Tabs,
|
|
22445
|
+
IA as TabsSkeleton,
|
|
22446
22446
|
rA as TasksList,
|
|
22447
22447
|
ZA as Textarea,
|
|
22448
22448
|
Fd as ToggleGroup,
|
|
@@ -22450,7 +22450,7 @@ export {
|
|
|
22450
22450
|
Tt as Tooltip,
|
|
22451
22451
|
eA as TwoColumnsList,
|
|
22452
22452
|
UI as VerticalBarChartWidget,
|
|
22453
|
-
|
|
22453
|
+
AA as WeekStartDay,
|
|
22454
22454
|
ay as Weekdays,
|
|
22455
22455
|
nn as Widget,
|
|
22456
22456
|
XI as WidgetAvatarsListItem,
|
|
@@ -22464,20 +22464,20 @@ export {
|
|
|
22464
22464
|
sA as WidgetStrip,
|
|
22465
22465
|
rx as _RadarChart,
|
|
22466
22466
|
QA as actionBarStatuses,
|
|
22467
|
-
|
|
22468
|
-
|
|
22469
|
-
|
|
22470
|
-
|
|
22471
|
-
|
|
22472
|
-
|
|
22473
|
-
|
|
22467
|
+
_A as downloadAsCSV,
|
|
22468
|
+
EA as generateCSVContent,
|
|
22469
|
+
TA as getGranularityDefinition,
|
|
22470
|
+
DA as getGranularityDefinitions,
|
|
22471
|
+
RA as getGranularitySimpleDefinition,
|
|
22472
|
+
LA as granularityDefinitions,
|
|
22473
|
+
OA as modules,
|
|
22474
22474
|
e_ as predefinedPresets,
|
|
22475
|
-
|
|
22475
|
+
MA as rangeSeparator,
|
|
22476
22476
|
t_ as selectSizes,
|
|
22477
22477
|
ni as useAiPromotionChat,
|
|
22478
|
-
|
|
22479
|
-
|
|
22480
|
-
|
|
22481
|
-
|
|
22478
|
+
FA as useDataCollectionData,
|
|
22479
|
+
PA as useDataCollectionSource,
|
|
22480
|
+
zA as useExportAction,
|
|
22481
|
+
$A as useInfiniteScrollPagination,
|
|
22482
22482
|
hn as useSidebar
|
|
22483
22483
|
};
|