@factorialco/f0-react 1.363.0 → 1.366.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.
@@ -117533,38 +117533,37 @@ export {
117533
117533
  e4 as f7,
117534
117534
  M7 as f8,
117535
117535
  hy2 as f9,
117536
- M52 as fA,
117537
- r42 as fB,
117538
- K32 as fC,
117539
- jK as fD,
117540
- RK as fE,
117541
- CT as fF,
117536
+ r42 as fA,
117537
+ K32 as fB,
117538
+ jK as fC,
117539
+ RK as fD,
117540
+ CT as fE,
117542
117541
  Mk2 as fa,
117543
117542
  kV as fb,
117544
117543
  o12 as fc,
117545
- J32 as fd,
117546
- Fw2 as fe,
117547
- cd as ff,
117548
- jT as fg,
117549
- zT as fh,
117550
- UT as fi,
117551
- mP as fj,
117552
- B0 as fk,
117553
- ic1 as fl,
117554
- zd1 as fm,
117555
- LM as fn,
117556
- VQ as fo,
117557
- Cb2 as fp,
117558
- hb2 as fq,
117559
- AQ as fr,
117560
- kf as fs,
117561
- OQ as ft,
117562
- DQ as fu,
117563
- WQ as fv,
117564
- RQ as fw,
117565
- sJ as fx,
117566
- z12 as fy,
117567
- R52 as fz,
117544
+ Fw2 as fd,
117545
+ cd as fe,
117546
+ jT as ff,
117547
+ zT as fg,
117548
+ UT as fh,
117549
+ mP as fi,
117550
+ B0 as fj,
117551
+ ic1 as fk,
117552
+ zd1 as fl,
117553
+ LM as fm,
117554
+ VQ as fn,
117555
+ Cb2 as fo,
117556
+ hb2 as fp,
117557
+ AQ as fq,
117558
+ kf as fr,
117559
+ OQ as fs,
117560
+ DQ as ft,
117561
+ WQ as fu,
117562
+ RQ as fv,
117563
+ sJ as fw,
117564
+ z12 as fx,
117565
+ R52 as fy,
117566
+ M52 as fz,
117568
117567
  ik1 as g,
117569
117568
  vA as h,
117570
117569
  rD as i,
@@ -1,6 +1,6 @@
1
1
  import { jsx as X, jsxs as le } from "react/jsx-runtime";
2
2
  import { useInsertionEffect as Xe, createContext as ke, useContext as $e, useRef as _, useEffect as ne, useState as _e, useCallback as ze, useMemo as Ye } from "react";
3
- import { y as qe, z as We, D as He, G as je, J as Ne, K as Ke, M as Qe, N as Je, Q as Ze, R as et, V as Ce, W as tt, X as rt, Y as nt, Z as it, _ as ot, $ as at, a0 as st, a1 as ie, a2 as ct, a3 as ut, a4 as lt, a5 as ft, a6 as mt, a7 as dt, a8 as fe, a9 as ht } from "./F0AiChat-BtIGa9o0.js";
3
+ import { y as qe, z as We, D as He, G as je, J as Ne, K as Ke, M as Qe, N as Je, Q as Ze, R as et, V as Ce, W as tt, X as rt, Y as nt, Z as it, _ as ot, $ as at, a0 as st, a1 as ie, a2 as ct, a3 as ut, a4 as lt, a5 as ft, a6 as mt, a7 as dt, a8 as fe, a9 as ht } from "./F0AiChat-hgYSsd3K.js";
4
4
  import { useTrackVolume as pt } from "@livekit/components-react";
5
5
  function vt(t, e, r) {
6
6
  Xe(() => t.on(e, r), [t, e, r]);
package/dist/ai.d.ts CHANGED
@@ -367,14 +367,6 @@ export declare const defaultTranslations: {
367
367
  readonly allItemsSelected: "All {{total}} items selected";
368
368
  };
369
369
  };
370
- readonly syncStatus: {
371
- readonly synced: "Sync completed successfully.";
372
- readonly syncing: "Sync in progress.";
373
- readonly pending: "Not yet started.";
374
- readonly partiallySynced: "All aggregated data was synced but at least 1 failed.";
375
- readonly outdated: "Data might need to be synced again.";
376
- readonly failed: "Sync failed.";
377
- };
378
370
  readonly filters: {
379
371
  readonly searchPlaceholder: "Search filters...";
380
372
  readonly inFilter: {
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { A as e, B as o, C as t, E as n, h as i, F as r, a as l, x as c, i as A, b as u, s as F, t as h, v as C, w as T, c as d, n as m, o as I, p as f, H as g, I as S, k as p, L as x, O as H, q as P, P as b, S as k, T as O, l as v, m as w, U as M, r as E, j as L, d as q, e as B, u as U, g as j, f as z } from "./F0AiChat-BtIGa9o0.js";
1
+ import { A as e, B as o, C as t, E as n, h as i, F as r, a as l, x as c, i as A, b as u, s as F, t as h, v as C, w as T, c as d, n as m, o as I, p as f, H as g, I as S, k as p, L as x, O as H, q as P, P as b, S as k, T as O, l as v, m as w, U as M, r as E, j as L, d as q, e as B, u as U, g as j, f as z } from "./F0AiChat-hgYSsd3K.js";
2
2
  import { defaultTranslations as R } from "./i18n-provider-defaults.js";
3
- import { A as y, F as G, c as J, b as K, a as N, o as Q, u as W } from "./F0HILActionConfirmation-BgQuxt3l.js";
3
+ import { A as y, F as G, c as J, b as K, a as N, o as Q, u as W } from "./F0HILActionConfirmation-jfsj-ueP.js";
4
4
  export {
5
5
  e as A,
6
6
  y as AiChatTranslationsProvider,
@@ -77,7 +77,6 @@ import { SearchFilterOptions } from './SearchFilter/SearchFilter';
77
77
  import { StatusCellValue } from './types/status';
78
78
  import { StatusCellValue as StatusCellValue_2 } from '../../../ui/value-display/types/status';
79
79
  import { SVGProps } from 'react';
80
- import { SyncStatusCellValue } from './types/syncStatus';
81
80
  import { TagCellValue } from './types/tag';
82
81
  import { TagCellValue as TagCellValue_2 } from '../../../ui/value-display/types/tag';
83
82
  import { TagListCellValue } from './types/tagList';
@@ -1574,7 +1573,7 @@ export declare const CommunityPost: (({ id, author, group, createdAt, title, des
1574
1573
  };
1575
1574
 
1576
1575
  export declare type CommunityPostAction = {
1577
- label: string;
1576
+ label?: string;
1578
1577
  icon?: IconType;
1579
1578
  onClick: () => void;
1580
1579
  };
@@ -2318,14 +2317,6 @@ declare const defaultTranslations: {
2318
2317
  readonly allItemsSelected: "All {{total}} items selected";
2319
2318
  };
2320
2319
  };
2321
- readonly syncStatus: {
2322
- readonly synced: "Sync completed successfully.";
2323
- readonly syncing: "Sync in progress.";
2324
- readonly pending: "Not yet started.";
2325
- readonly partiallySynced: "All aggregated data was synced but at least 1 failed.";
2326
- readonly outdated: "Data might need to be synced again.";
2327
- readonly failed: "Sync failed.";
2328
- };
2329
2320
  readonly filters: {
2330
2321
  readonly searchPlaceholder: "Search filters...";
2331
2322
  readonly inFilter: {
@@ -2818,6 +2809,12 @@ declare type DropdownProps = Omit<DropdownInternalProps, (typeof privateProps_4)
2818
2809
  onOpenChange?: (open: boolean) => void;
2819
2810
  };
2820
2811
 
2812
+ declare type DropdownSingleQuestionProps = BaseQuestionPropsForOtherQuestionComponents & {
2813
+ type: "dropdown-single";
2814
+ options: SelectQuestionOption[];
2815
+ value?: string | null;
2816
+ };
2817
+
2821
2818
  export declare type editorStateType = {
2822
2819
  html: string;
2823
2820
  json: JSONContent | null;
@@ -4512,6 +4509,10 @@ declare type OnChangeQuestionParams = BaseQuestionOnChangeParams & ({
4512
4509
  type: "multi-select";
4513
4510
  value?: string[] | null;
4514
4511
  options: SelectQuestionOption[];
4512
+ } | {
4513
+ type: "dropdown-single";
4514
+ value?: string | null;
4515
+ options?: SelectQuestionOption[];
4515
4516
  } | {
4516
4517
  type: "numeric";
4517
4518
  value?: number | null;
@@ -5238,6 +5239,8 @@ export declare type QuestionElement = Omit<TextQuestionProps, QuestionPropsToOmi
5238
5239
  type: "rating";
5239
5240
  }, QuestionPropsToOmit> | Omit<SelectQuestionProps & {
5240
5241
  type: "select" | "multi-select";
5242
+ }, QuestionPropsToOmit> | Omit<DropdownSingleQuestionProps & {
5243
+ type: "dropdown-single";
5241
5244
  }, QuestionPropsToOmit> | Omit<NumericQuestionProps & {
5242
5245
  type: "numeric";
5243
5246
  }, QuestionPropsToOmit> | Omit<LinkQuestionProps & {
@@ -5248,7 +5251,7 @@ export declare type QuestionElement = Omit<TextQuestionProps, QuestionPropsToOmi
5248
5251
 
5249
5252
  declare type QuestionPropsToOmit = "onAction" | "onChange" | "onAddNewElement";
5250
5253
 
5251
- export declare type QuestionType = "rating" | "select" | "multi-select" | "text" | "longText" | "numeric" | "link" | "date";
5254
+ export declare type QuestionType = "rating" | "select" | "multi-select" | "dropdown-single" | "text" | "longText" | "numeric" | "link" | "date";
5252
5255
 
5253
5256
  /**
5254
5257
  * @experimental This is an experimental component use it at your own risk
@@ -6317,7 +6320,6 @@ declare const valueDisplayRenderers: {
6317
6320
  readonly file: (args: FileCellValue) => JSX_2.Element;
6318
6321
  readonly folder: (args: FolderCellValue) => JSX_2.Element;
6319
6322
  readonly country: (args: CountryCellValue, context: ValueDisplayRendererContext) => JSX_2.Element;
6320
- readonly syncStatus: (args: SyncStatusCellValue, context: ValueDisplayRendererContext) => JSX_2.Element;
6321
6323
  };
6322
6324
 
6323
6325
  declare type ValueDisplayVisualizationType = "table" | "card" | "list" | (string & {});