@factorialco/f0-react 6.5.0 → 6.7.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/{ChatPdfThumbnail-DyDN7a-p.js → ChatPdfThumbnail-B4bLjJi7.js} +1 -1
- package/dist/{DocumentToolbar-CAyUihSI.js → DocumentToolbar-Dqkf8NBb.js} +2 -2
- package/dist/{DocxViewer-Dl3crfqU.js → DocxViewer-s0wCu2Vu.js} +2 -2
- package/dist/{F0AiProcessingOverlay-BkfsZ5Iy.js → F0AiProcessingOverlay-BoGKj-lN.js} +110 -110
- package/dist/{F0CanvasPanel-C6qzM_nP.js → F0CanvasPanel-BImifyj_.js} +28416 -26472
- package/dist/{F0VideoPlayer-FW15Bsth.js → F0VideoPlayer-je4bZKr4.js} +43 -43
- package/dist/{SheetViewer-CqS4McZP.js → SheetViewer-B9E1gIyw.js} +2 -2
- package/dist/{TextViewer-CnSGe6Lw.js → TextViewer-BWvNHtfU.js} +2 -2
- package/dist/{VolumeMuted-BBB_OqPt.js → VolumeMuted-DKLKhxyd.js} +7 -43
- package/dist/ai.d.ts +162 -8
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +8 -8
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +262 -8
- package/dist/experimental.js +1366 -1362
- package/dist/f0.d.ts +249 -16
- package/dist/f0.js +10 -10
- package/dist/i18n-provider-defaults.d.ts +162 -8
- package/dist/i18n-provider-defaults.js +157 -3
- package/dist/index-BUBmSLPT.js +4 -0
- package/dist/{index-C5uJNrqj.js → index-BVOXv_4V.js} +32332 -27924
- package/dist/{index-Cdvq3ahA.js → index-CL_6VRqF.js} +3 -3
- package/dist/{pdfWorker-CDTHY8xz.js → pdfWorker-CZwH8V_c.js} +2 -2
- package/dist/styles.css +1 -1
- package/package.json +3 -1
- package/dist/index-3FYXCO1b.js +0 -4
package/dist/f0.d.ts
CHANGED
|
@@ -4478,6 +4478,7 @@ export declare const defaultTranslations: {
|
|
|
4478
4478
|
readonly selectPlaceholder: "Select";
|
|
4479
4479
|
};
|
|
4480
4480
|
readonly countries: {
|
|
4481
|
+
ac: string;
|
|
4481
4482
|
ad: string;
|
|
4482
4483
|
ae: string;
|
|
4483
4484
|
af: string;
|
|
@@ -4502,14 +4503,19 @@ export declare const defaultTranslations: {
|
|
|
4502
4503
|
bh: string;
|
|
4503
4504
|
bi: string;
|
|
4504
4505
|
bj: string;
|
|
4506
|
+
bl: string;
|
|
4505
4507
|
bm: string;
|
|
4508
|
+
bn: string;
|
|
4506
4509
|
bo: string;
|
|
4510
|
+
bq: string;
|
|
4507
4511
|
br: string;
|
|
4512
|
+
bs: string;
|
|
4508
4513
|
bt: string;
|
|
4509
4514
|
bw: string;
|
|
4510
4515
|
by: string;
|
|
4511
4516
|
bz: string;
|
|
4512
4517
|
ca: string;
|
|
4518
|
+
cc: string;
|
|
4513
4519
|
cd: string;
|
|
4514
4520
|
cf: string;
|
|
4515
4521
|
cg: string;
|
|
@@ -4524,6 +4530,7 @@ export declare const defaultTranslations: {
|
|
|
4524
4530
|
cu: string;
|
|
4525
4531
|
cv: string;
|
|
4526
4532
|
cw: string;
|
|
4533
|
+
cx: string;
|
|
4527
4534
|
cy: string;
|
|
4528
4535
|
cz: string;
|
|
4529
4536
|
de: string;
|
|
@@ -4535,6 +4542,7 @@ export declare const defaultTranslations: {
|
|
|
4535
4542
|
ec: string;
|
|
4536
4543
|
ee: string;
|
|
4537
4544
|
eg: string;
|
|
4545
|
+
eh: string;
|
|
4538
4546
|
er: string;
|
|
4539
4547
|
es: string;
|
|
4540
4548
|
et: string;
|
|
@@ -4548,17 +4556,20 @@ export declare const defaultTranslations: {
|
|
|
4548
4556
|
gb: string;
|
|
4549
4557
|
gd: string;
|
|
4550
4558
|
ge: string;
|
|
4559
|
+
gf: string;
|
|
4551
4560
|
gg: string;
|
|
4552
4561
|
gh: string;
|
|
4553
4562
|
gi: string;
|
|
4554
4563
|
gl: string;
|
|
4555
4564
|
gm: string;
|
|
4556
4565
|
gn: string;
|
|
4566
|
+
gp: string;
|
|
4557
4567
|
gq: string;
|
|
4558
4568
|
gr: string;
|
|
4559
4569
|
gt: string;
|
|
4560
4570
|
gu: string;
|
|
4561
4571
|
gw: string;
|
|
4572
|
+
gy: string;
|
|
4562
4573
|
hk: string;
|
|
4563
4574
|
hn: string;
|
|
4564
4575
|
hr: string;
|
|
@@ -4579,6 +4590,140 @@ export declare const defaultTranslations: {
|
|
|
4579
4590
|
jo: string;
|
|
4580
4591
|
jp: string;
|
|
4581
4592
|
ke: string;
|
|
4593
|
+
kg: string;
|
|
4594
|
+
kh: string;
|
|
4595
|
+
ki: string;
|
|
4596
|
+
km: string;
|
|
4597
|
+
kn: string;
|
|
4598
|
+
kp: string;
|
|
4599
|
+
kr: string;
|
|
4600
|
+
kw: string;
|
|
4601
|
+
ky: string;
|
|
4602
|
+
kz: string;
|
|
4603
|
+
la: string;
|
|
4604
|
+
lb: string;
|
|
4605
|
+
lc: string;
|
|
4606
|
+
li: string;
|
|
4607
|
+
lk: string;
|
|
4608
|
+
lr: string;
|
|
4609
|
+
ls: string;
|
|
4610
|
+
lt: string;
|
|
4611
|
+
lu: string;
|
|
4612
|
+
lv: string;
|
|
4613
|
+
ly: string;
|
|
4614
|
+
ma: string;
|
|
4615
|
+
mc: string;
|
|
4616
|
+
md: string;
|
|
4617
|
+
me: string;
|
|
4618
|
+
mf: string;
|
|
4619
|
+
mg: string;
|
|
4620
|
+
mh: string;
|
|
4621
|
+
mk: string;
|
|
4622
|
+
ml: string;
|
|
4623
|
+
mm: string;
|
|
4624
|
+
mn: string;
|
|
4625
|
+
mo: string;
|
|
4626
|
+
mp: string;
|
|
4627
|
+
mq: string;
|
|
4628
|
+
mr: string;
|
|
4629
|
+
ms: string;
|
|
4630
|
+
mt: string;
|
|
4631
|
+
mu: string;
|
|
4632
|
+
mv: string;
|
|
4633
|
+
mw: string;
|
|
4634
|
+
mx: string;
|
|
4635
|
+
my: string;
|
|
4636
|
+
mz: string;
|
|
4637
|
+
na: string;
|
|
4638
|
+
nc: string;
|
|
4639
|
+
ne: string;
|
|
4640
|
+
nf: string;
|
|
4641
|
+
ng: string;
|
|
4642
|
+
ni: string;
|
|
4643
|
+
nl: string;
|
|
4644
|
+
no: string;
|
|
4645
|
+
np: string;
|
|
4646
|
+
nr: string;
|
|
4647
|
+
nu: string;
|
|
4648
|
+
nz: string;
|
|
4649
|
+
om: string;
|
|
4650
|
+
pa: string;
|
|
4651
|
+
pe: string;
|
|
4652
|
+
pf: string;
|
|
4653
|
+
pg: string;
|
|
4654
|
+
ph: string;
|
|
4655
|
+
pk: string;
|
|
4656
|
+
pl: string;
|
|
4657
|
+
pm: string;
|
|
4658
|
+
pn: string;
|
|
4659
|
+
pr: string;
|
|
4660
|
+
ps: string;
|
|
4661
|
+
pt: string;
|
|
4662
|
+
pw: string;
|
|
4663
|
+
py: string;
|
|
4664
|
+
qa: string;
|
|
4665
|
+
re: string;
|
|
4666
|
+
ro: string;
|
|
4667
|
+
rs: string;
|
|
4668
|
+
ru: string;
|
|
4669
|
+
rw: string;
|
|
4670
|
+
sa: string;
|
|
4671
|
+
sb: string;
|
|
4672
|
+
sc: string;
|
|
4673
|
+
sd: string;
|
|
4674
|
+
se: string;
|
|
4675
|
+
sg: string;
|
|
4676
|
+
sh: string;
|
|
4677
|
+
si: string;
|
|
4678
|
+
sj: string;
|
|
4679
|
+
sk: string;
|
|
4680
|
+
sl: string;
|
|
4681
|
+
sm: string;
|
|
4682
|
+
sn: string;
|
|
4683
|
+
so: string;
|
|
4684
|
+
sr: string;
|
|
4685
|
+
ss: string;
|
|
4686
|
+
st: string;
|
|
4687
|
+
sv: string;
|
|
4688
|
+
sx: string;
|
|
4689
|
+
sy: string;
|
|
4690
|
+
sz: string;
|
|
4691
|
+
ta: string;
|
|
4692
|
+
tc: string;
|
|
4693
|
+
td: string;
|
|
4694
|
+
tg: string;
|
|
4695
|
+
th: string;
|
|
4696
|
+
tj: string;
|
|
4697
|
+
tk: string;
|
|
4698
|
+
tl: string;
|
|
4699
|
+
tm: string;
|
|
4700
|
+
tn: string;
|
|
4701
|
+
to: string;
|
|
4702
|
+
tr: string;
|
|
4703
|
+
tt: string;
|
|
4704
|
+
tv: string;
|
|
4705
|
+
tw: string;
|
|
4706
|
+
tz: string;
|
|
4707
|
+
ua: string;
|
|
4708
|
+
ug: string;
|
|
4709
|
+
us: string;
|
|
4710
|
+
uy: string;
|
|
4711
|
+
uz: string;
|
|
4712
|
+
va: string;
|
|
4713
|
+
vc: string;
|
|
4714
|
+
ve: string;
|
|
4715
|
+
vg: string;
|
|
4716
|
+
vi: string;
|
|
4717
|
+
vn: string;
|
|
4718
|
+
vu: string;
|
|
4719
|
+
wf: string;
|
|
4720
|
+
ws: string;
|
|
4721
|
+
xk: string;
|
|
4722
|
+
ye: string;
|
|
4723
|
+
yt: string;
|
|
4724
|
+
za: string;
|
|
4725
|
+
zm: string;
|
|
4726
|
+
zw: string;
|
|
4582
4727
|
};
|
|
4583
4728
|
readonly approvals: {
|
|
4584
4729
|
readonly history: "Approval history";
|
|
@@ -5246,6 +5391,12 @@ export declare const defaultTranslations: {
|
|
|
5246
5391
|
readonly greaterThan: "It should be greater than {{min}}";
|
|
5247
5392
|
readonly lessThan: "It should be less than {{max}}";
|
|
5248
5393
|
};
|
|
5394
|
+
readonly phoneInput: {
|
|
5395
|
+
readonly country: "Country";
|
|
5396
|
+
readonly countryWithDialCode: "{{country}} {{dialCode}}";
|
|
5397
|
+
readonly searchCountry: "Search country or dial code";
|
|
5398
|
+
readonly noResults: "No country found";
|
|
5399
|
+
};
|
|
5249
5400
|
readonly imageUpload: {
|
|
5250
5401
|
readonly uploading: "Uploading...";
|
|
5251
5402
|
readonly uploadError: "Upload failed";
|
|
@@ -5459,6 +5610,9 @@ export declare const defaultTranslations: {
|
|
|
5459
5610
|
readonly checkbox: {
|
|
5460
5611
|
readonly mustBeChecked: "This option must be selected";
|
|
5461
5612
|
};
|
|
5613
|
+
readonly phone: {
|
|
5614
|
+
readonly invalid: "Enter a valid phone number";
|
|
5615
|
+
};
|
|
5462
5616
|
};
|
|
5463
5617
|
};
|
|
5464
5618
|
readonly graph: {
|
|
@@ -9712,7 +9866,7 @@ export declare interface F0FAQItem {
|
|
|
9712
9866
|
/**
|
|
9713
9867
|
* Union of all F0 field types used for rendering
|
|
9714
9868
|
*/
|
|
9715
|
-
export declare type F0Field = F0TextField | F0NumberField | F0DurationField | F0TextareaField | F0SelectField | F0CheckboxField | F0SwitchField | F0DateField | F0TimeField | F0DateTimeField | F0DateRangeField | F0PeriodField | F0RichTextField | F0FileField | F0CardSelectField | F0EntitiesListField | F0CustomField;
|
|
9869
|
+
export declare type F0Field = F0TextField | F0NumberField | F0DurationField | F0TextareaField | F0SelectField | F0CheckboxField | F0SwitchField | F0DateField | F0TimeField | F0DateTimeField | F0DateRangeField | F0PeriodField | F0PhoneField | F0RichTextField | F0FileField | F0CardSelectField | F0EntitiesListField | F0CustomField;
|
|
9716
9870
|
|
|
9717
9871
|
/**
|
|
9718
9872
|
* Alert configuration for a field.
|
|
@@ -9752,7 +9906,7 @@ export declare type F0FieldConfig<T extends string | number = string | number, R
|
|
|
9752
9906
|
/**
|
|
9753
9907
|
* Field types for rendering
|
|
9754
9908
|
*/
|
|
9755
|
-
export declare type F0FieldType = "text" | "number" | "percentage" | "money" | "duration" | "textarea" | "select" | "checkbox" | "switch" | "date" | "time" | "datetime" | "daterange" | "period" | "richtext" | "file" | "cardSelect" | "entitiesList" | "custom";
|
|
9909
|
+
export declare type F0FieldType = "text" | "number" | "percentage" | "money" | "duration" | "textarea" | "select" | "checkbox" | "switch" | "date" | "time" | "datetime" | "daterange" | "period" | "phone" | "richtext" | "file" | "cardSelect" | "entitiesList" | "custom";
|
|
9756
9910
|
|
|
9757
9911
|
export declare type F0FileAction = {
|
|
9758
9912
|
icon?: IconType;
|
|
@@ -10290,6 +10444,14 @@ export declare namespace f0FormField {
|
|
|
10290
10444
|
export function datePeriod(config: DatePeriodConfig & {
|
|
10291
10445
|
optional?: false | undefined;
|
|
10292
10446
|
}): PeriodValueSchema & F0ZodType<PeriodValueSchema>;
|
|
10447
|
+
/* Excluded from this release type: PhoneObjectSchema */
|
|
10448
|
+
/* Excluded from this release type: PhoneFieldShortcutConfig */
|
|
10449
|
+
export function phone(config: PhoneFieldShortcutConfig & {
|
|
10450
|
+
optional: true;
|
|
10451
|
+
}): z.ZodOptional<PhoneObjectSchema> & F0ZodType<z.ZodOptional<PhoneObjectSchema>>;
|
|
10452
|
+
export function phone(config: PhoneFieldShortcutConfig & {
|
|
10453
|
+
optional?: false | undefined;
|
|
10454
|
+
}): PhoneObjectSchema & F0ZodType<PhoneObjectSchema>;
|
|
10293
10455
|
/* Excluded from this release type: RichTextObjectSchema */
|
|
10294
10456
|
/* Excluded from this release type: RichTextConfig */
|
|
10295
10457
|
export function richText(config: RichTextConfig & {
|
|
@@ -10439,6 +10601,23 @@ export declare type F0FormFieldProps = F0FormFieldFileProps | F0FormFieldNonFile
|
|
|
10439
10601
|
*/
|
|
10440
10602
|
export declare type F0FormLikeComponent = React.ComponentType<F0FormCommonProps>;
|
|
10441
10603
|
|
|
10604
|
+
/**
|
|
10605
|
+
* Styling configuration for per-section schema forms.
|
|
10606
|
+
* Extends the base config with options that only apply when each section
|
|
10607
|
+
* has its own independent schema and submit button.
|
|
10608
|
+
*/
|
|
10609
|
+
declare interface F0FormPerSectionStylingConfig extends F0FormStylingConfig {
|
|
10610
|
+
/**
|
|
10611
|
+
* Renders only the section selected in the sidepanel instead of stacking
|
|
10612
|
+
* all sections. Useful for large forms where showing every section at once
|
|
10613
|
+
* is overwhelming. Hidden sections stay mounted so their values, dirty
|
|
10614
|
+
* state, and validation are preserved.
|
|
10615
|
+
* Has no effect unless `showSectionsSidepanel` is true.
|
|
10616
|
+
* @default false
|
|
10617
|
+
*/
|
|
10618
|
+
showOnlySelectedSection?: boolean;
|
|
10619
|
+
}
|
|
10620
|
+
|
|
10442
10621
|
/**
|
|
10443
10622
|
* Union of all F0Form prop variants.
|
|
10444
10623
|
* The component detects the mode based on whether `schema` is a single Zod schema
|
|
@@ -10481,7 +10660,7 @@ declare interface F0FormPropsWithDefinition {
|
|
|
10481
10660
|
export declare interface F0FormPropsWithPerSectionDefinition<T extends F0PerSectionSchema> {
|
|
10482
10661
|
formDefinition: F0FormDefinitionPerSection_2<T>;
|
|
10483
10662
|
className?: string;
|
|
10484
|
-
styling?:
|
|
10663
|
+
styling?: F0FormPerSectionStylingConfig;
|
|
10485
10664
|
formRef?: React.MutableRefObject<F0FormRef | null>;
|
|
10486
10665
|
initialFiles?: InitialFile[];
|
|
10487
10666
|
/** Upload hook shared by all file fields in the form. */
|
|
@@ -10529,7 +10708,7 @@ export declare interface F0FormPropsWithPerSectionSchema<T extends F0PerSectionS
|
|
|
10529
10708
|
/**
|
|
10530
10709
|
* Styling configuration for form layout and appearance.
|
|
10531
10710
|
*/
|
|
10532
|
-
styling?:
|
|
10711
|
+
styling?: F0FormPerSectionStylingConfig;
|
|
10533
10712
|
/**
|
|
10534
10713
|
* Ref to control the form programmatically from outside.
|
|
10535
10714
|
*/
|
|
@@ -10739,7 +10918,9 @@ declare type F0FormStateCallback = (state: {
|
|
|
10739
10918
|
*/
|
|
10740
10919
|
export declare interface F0FormStylingConfig {
|
|
10741
10920
|
/**
|
|
10742
|
-
* Shows a sidebar with section navigation (Table of Contents)
|
|
10921
|
+
* Shows a sidebar with section navigation (Table of Contents).
|
|
10922
|
+
* Automatically hidden on small viewports (max-width 560px), where
|
|
10923
|
+
* sections stack as in the regular layout.
|
|
10743
10924
|
* @default false
|
|
10744
10925
|
*/
|
|
10745
10926
|
showSectionsSidepanel?: boolean;
|
|
@@ -11170,12 +11351,12 @@ declare type F0NumberSelectConfig<R extends Record<string, unknown> = Record<str
|
|
|
11170
11351
|
};
|
|
11171
11352
|
|
|
11172
11353
|
/**
|
|
11173
|
-
* Config for object fields (richtext, daterange, or custom)
|
|
11354
|
+
* Config for object fields (richtext, daterange, phone, or custom)
|
|
11174
11355
|
*
|
|
11175
11356
|
* @typeParam TValue - Type of the field value (for custom fields)
|
|
11176
11357
|
* @typeParam TConfig - Type of the custom configuration object (for custom fields)
|
|
11177
11358
|
*/
|
|
11178
|
-
declare type F0ObjectConfig<TValue = unknown, TConfig = undefined> = F0RichTextFieldConfig | F0DateRangeFieldConfig | F0CustomFieldConfig<TValue, TConfig>;
|
|
11359
|
+
declare type F0ObjectConfig<TValue = unknown, TConfig = undefined> = F0RichTextFieldConfig | F0DateRangeFieldConfig | F0PhoneFieldConfig | F0CustomFieldConfig<TValue, TConfig>;
|
|
11179
11360
|
|
|
11180
11361
|
export declare const F0OneIcon: ForwardRefExoticComponent<Omit<F0OneIconProps, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
11181
11362
|
|
|
@@ -11385,6 +11566,36 @@ export declare interface F0PerSectionSubmitConfig {
|
|
|
11385
11566
|
hideSubmitButton?: boolean;
|
|
11386
11567
|
}
|
|
11387
11568
|
|
|
11569
|
+
/**
|
|
11570
|
+
* F0 config options specific to phone fields
|
|
11571
|
+
*/
|
|
11572
|
+
export declare interface F0PhoneConfig {
|
|
11573
|
+
/** Country pre-selected while the input is empty */
|
|
11574
|
+
defaultCountry?: CountryCode;
|
|
11575
|
+
/** Countries listed first in the selector, in the given order */
|
|
11576
|
+
pinnedCountries?: CountryCode[];
|
|
11577
|
+
/** Restricts both the selector and typed/pasted country detection */
|
|
11578
|
+
allowedCountries?: CountryCode[];
|
|
11579
|
+
}
|
|
11580
|
+
|
|
11581
|
+
/**
|
|
11582
|
+
* Phone field with all properties for rendering
|
|
11583
|
+
*/
|
|
11584
|
+
export declare type F0PhoneField = F0BaseField & F0PhoneConfig & {
|
|
11585
|
+
type: "phone";
|
|
11586
|
+
/** Whether the field can be cleared (derived from optional/nullable) */
|
|
11587
|
+
clearable?: boolean;
|
|
11588
|
+
/** Conditional rendering based on another field's value */
|
|
11589
|
+
renderIf?: PhoneFieldRenderIf;
|
|
11590
|
+
};
|
|
11591
|
+
|
|
11592
|
+
/**
|
|
11593
|
+
* Config for phone fields (form value is a `{ prefix, number }` pair)
|
|
11594
|
+
*/
|
|
11595
|
+
export declare type F0PhoneFieldConfig = F0BaseConfig & F0PhoneConfig & {
|
|
11596
|
+
fieldType: "phone";
|
|
11597
|
+
};
|
|
11598
|
+
|
|
11388
11599
|
export declare const F0Provider: React.FC<{
|
|
11389
11600
|
children: React.ReactNode;
|
|
11390
11601
|
link?: LinkContextValue;
|
|
@@ -11807,11 +12018,28 @@ export declare type F0SelectField = F0BaseField & F0SelectConfig & {
|
|
|
11807
12018
|
renderIf?: SelectFieldRenderIf;
|
|
11808
12019
|
};
|
|
11809
12020
|
|
|
12021
|
+
/**
|
|
12022
|
+
* Short token rendered next to the option label, in secondary color, on a
|
|
12023
|
+
* single line — never wraps and never affects row height. For prose that
|
|
12024
|
+
* deserves its own line use `description`; for chips/badges use `tag`.
|
|
12025
|
+
* Can coexist with both.
|
|
12026
|
+
*
|
|
12027
|
+
* Deliberately strict: no free-form variant. Each variant carries semantics
|
|
12028
|
+
* the component can validate and format — add new ones (e.g. currency,
|
|
12029
|
+
* locale) as concrete use cases appear.
|
|
12030
|
+
*/
|
|
12031
|
+
export declare type F0SelectItemMetadata = {
|
|
12032
|
+
type: "dialCode";
|
|
12033
|
+
dialCode: string;
|
|
12034
|
+
};
|
|
12035
|
+
|
|
11810
12036
|
export declare type F0SelectItemObject<T, R = unknown> = {
|
|
11811
12037
|
type?: "item";
|
|
11812
12038
|
value: T;
|
|
11813
12039
|
label: string;
|
|
11814
12040
|
description?: string;
|
|
12041
|
+
/** Short token shown next to the label (e.g. a dial code) */
|
|
12042
|
+
metadata?: F0SelectItemMetadata;
|
|
11815
12043
|
avatar?: AvatarVariant;
|
|
11816
12044
|
tag?: F0SelectTagProp;
|
|
11817
12045
|
icon?: IconType;
|
|
@@ -12631,7 +12859,7 @@ export declare function fieldsToSeconds(fields: DurationFields): number;
|
|
|
12631
12859
|
/**
|
|
12632
12860
|
* Field types for rendering
|
|
12633
12861
|
*/
|
|
12634
|
-
export declare type FieldType = "text" | "number" | "duration" | "textarea" | "select" | "checkbox" | "switch" | "date" | "time" | "datetime" | "daterange" | "period" | "richtext" | "file" | "cardSelect" | "entitiesList" | "custom";
|
|
12862
|
+
export declare type FieldType = "text" | "number" | "duration" | "textarea" | "select" | "checkbox" | "switch" | "date" | "time" | "datetime" | "daterange" | "period" | "phone" | "richtext" | "file" | "cardSelect" | "entitiesList" | "custom";
|
|
12635
12863
|
|
|
12636
12864
|
export declare const FILE_TYPES: {
|
|
12637
12865
|
readonly PDF: "pdf";
|
|
@@ -15559,6 +15787,11 @@ export declare type PersonProfile = {
|
|
|
15559
15787
|
|
|
15560
15788
|
declare type PersonTagProps = ComponentProps<typeof F0TagPerson>;
|
|
15561
15789
|
|
|
15790
|
+
/**
|
|
15791
|
+
* All valid renderIf conditions for phone fields
|
|
15792
|
+
*/
|
|
15793
|
+
declare type PhoneFieldRenderIf = CommonRenderIfCondition | F0BaseFieldRenderIfFunction;
|
|
15794
|
+
|
|
15562
15795
|
export declare const PieChart: WithDataTestIdReturnType_5<ForwardRefExoticComponent<Omit<PieChartProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
15563
15796
|
|
|
15564
15797
|
export declare interface PieChartConfig {
|
|
@@ -19286,9 +19519,11 @@ declare module "@tiptap/core" {
|
|
|
19286
19519
|
|
|
19287
19520
|
declare module "@tiptap/core" {
|
|
19288
19521
|
interface Commands<ReturnType> {
|
|
19289
|
-
|
|
19290
|
-
|
|
19291
|
-
|
|
19522
|
+
enhanceHighlight: {
|
|
19523
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
19524
|
+
placeholder?: string;
|
|
19525
|
+
}) => ReturnType;
|
|
19526
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
19292
19527
|
};
|
|
19293
19528
|
}
|
|
19294
19529
|
}
|
|
@@ -19296,11 +19531,9 @@ declare module "@tiptap/core" {
|
|
|
19296
19531
|
|
|
19297
19532
|
declare module "@tiptap/core" {
|
|
19298
19533
|
interface Commands<ReturnType> {
|
|
19299
|
-
|
|
19300
|
-
|
|
19301
|
-
|
|
19302
|
-
}) => ReturnType;
|
|
19303
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
19534
|
+
fontSize: {
|
|
19535
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
19536
|
+
unsetFontSize: () => ReturnType;
|
|
19304
19537
|
};
|
|
19305
19538
|
}
|
|
19306
19539
|
}
|
package/dist/f0.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { hC as uN, w as at, cq as Mb, a7 as vn, h2 as cN, a6 as fn, fb as GV, aL as fN, s as jv, S as J, u as Oe, V as Je, dM as Gl, ad as bl, a1 as HV, ag as wd, ca as La, r as Xt, av as af, hD as WV, hE as Lw, hF as Mr, hG as qa, hH as UV, aJ as Kv, hI as qi, hJ as Hl, hK as hN, aD as ul, g$ as Uy, hL as $V, hM as YV, hN as XV, hO as Nw, eo as qV, hP as ZV, hQ as dN, hR as jV, hS as KV, hT as vN, hU as QV, t as Qv, v as Jv, m as tt, x as ep, y as Gr, O as JV, Q as eF, z as of, A as sf, B as lf, ge as $y, am as Ft, aC as xl, ao as Na, aR as Eb, hV as tF, by as rF, ej as Iw, n as pN, o as wl, bz as nF, db as Sd, co as gN, hW as iF, h1 as kw, aw as aF, hX as Pw, fK as oF, hY as sF, c5 as mN, cd as yN, fZ as Yy, aW as lF, dm as Xy, ce as _N, gA as Wl, gB as uf, gD as bN, h8 as uF, gc as xN, gb as cF, hZ as tp, dV as Lb, gR as fF, at as wN, fJ as hF, cI as dF, hz as Nb, bV as SN, b_ as vF, b$ as pF, c0 as gF, d as mF, af as CN, dt as as, e7 as TN, dU as DN, cL as Ib, c7 as AN, dg as kb, G as cl, H as fl, K as hl, L as dl, gf as va, cf as MN, j as yF, dS as Cd, bJ as Sl, J as Nr, cV as _F, as as EN, dW as qy, ek as Tc, cU as bF, ap as Ul, bm as LN, b3 as xF, gK as Or, h_ as wF, h$ as SF, i0 as NN, i1 as rp, i2 as CF, i3 as TF, R as IN, U as kN, eh as DF, i4 as AF, bf as PN, cb as MF, cc as EF, aN as $l, cu as Yl, cB as cf, e9 as LF, cr as NF, bx as IF, ai as RN, bB as kF, ar as PF, bT as Rw, e6 as Dc, fM as RF, fN as OF, i5 as BF, bl as zF, cv as VF, l as ON, ax as FF, cl as GF, i6 as HF, h5 as WF, ay as UF, bp as $F, ab as BN, i7 as zN, i8 as YF, i9 as XF, I as qF, ia as ZF, ib as jF, ic as KF, id as QF } from "./F0CanvasPanel-BImifyj_.js";
|
|
2
|
+
import { iw as Hhe, C as Whe, D as Uhe, bd as $he, c as Yhe, F as Xhe, a as qhe, ip as Zhe, f as jhe, bE as Khe, be as Qhe, cD as Jhe, bR as ede, b6 as tde, aG as rde, aQ as nde, en as ide, aY as ade, cP as ode, g as sde, c1 as lde, cQ as ude, ij as cde, iB as fde, bS as hde, e as dde, c8 as vde, k as pde, cw as gde, ir as mde, bt as yde, is as _de, iu as bde, iv as xde, de as wde, iy as Sde, d7 as Cde, d8 as Tde, P as Dde, dc as Ade, it as Mde, d9 as Ede, ix as Lde, iC as Nde, ig as Ide, ih as kde, ii as Pde, ie as Rde, da as Ode, iA as Bde, iq as zde, im as Vde, il as Fde, dd as Gde, g9 as Hde, gS as Wde, iz as Ude, bi as $de, d6 as Yde, d3 as Xde, d5 as qde, d2 as Zde, io as jde, gU as Kde, gO as Qde, gE as Jde, iF as eve, cW as tve, d4 as rve, iE as nve, bN as ive, ef as ave, g8 as ove, gF as sve, b as lve, bQ as uve, h7 as cve, bg as fve, eg as hve, ik as dve, gQ as vve, gP as pve, iD as gve } from "./F0CanvasPanel-BImifyj_.js";
|
|
3
3
|
import { jsx as x, jsxs as B, Fragment as it } from "react/jsx-runtime";
|
|
4
4
|
import * as wt from "react";
|
|
5
5
|
import JF, { forwardRef as Tr, useRef as ce, useImperativeHandle as e5, Children as Td, createContext as Fa, useContext as os, useState as ue, useMemo as me, useEffect as Ae, useCallback as de, useLayoutEffect as Zy, isValidElement as VN, Fragment as Xl, useSyncExternalStore as Cl, useId as cc, memo as t5 } from "react";
|
|
6
|
-
import { D as r5, E as n5, G as i5, H as Dd, I as Pb, J as FN, K as GN, L as Qn, M as a5, N as o5, O as s5, P as l5, Q as u5, F as c5 } from "./F0AiProcessingOverlay-
|
|
7
|
-
import { A as yve, C as _ve, t as bve, s as xve, v as wve, y as Sve, l as Cve, i as Tve, q as Dve, z as Ave, B as Mve, p as Eve, r as Lve, j as Nve, e as Ive, g as kve, k as Pve, T as Rve, w as Ove, h as Bve, a as zve, n as Vve, m as Fve, o as Gve, b as Hve, f as Wve, x as Uve, c as $ve, d as Yve, u as Xve } from "./F0AiProcessingOverlay-
|
|
6
|
+
import { D as r5, E as n5, G as i5, H as Dd, I as Pb, J as FN, K as GN, L as Qn, M as a5, N as o5, O as s5, P as l5, Q as u5, F as c5 } from "./F0AiProcessingOverlay-BoGKj-lN.js";
|
|
7
|
+
import { A as yve, C as _ve, t as bve, s as xve, v as wve, y as Sve, l as Cve, i as Tve, q as Dve, z as Ave, B as Mve, p as Eve, r as Lve, j as Nve, e as Ive, g as kve, k as Pve, T as Rve, w as Ove, h as Bve, a as zve, n as Vve, m as Fve, o as Gve, b as Hve, f as Wve, x as Uve, c as $ve, d as Yve, u as Xve } from "./F0AiProcessingOverlay-BoGKj-lN.js";
|
|
8
8
|
import { d as ee, u as ff, h as f5, i as tl, P as hf, g as ql, j as h5, f as Ga } from "./tooltip-Cik7KBQT.js";
|
|
9
9
|
import { createPortal as np } from "react-dom";
|
|
10
|
-
import { C as d5,
|
|
11
|
-
import { v as Zve, w as jve, N as Kve, x as Qve, H as Jve,
|
|
12
|
-
import { l as jy, c as ZN, d as Ad, r as Ky } from "./F0VideoPlayer-
|
|
13
|
-
import { F as nge } from "./F0VideoPlayer-
|
|
14
|
-
import { F as age, p as oge } from "./index-
|
|
15
|
-
import { c as lge } from "./pdfWorker-
|
|
10
|
+
import { C as d5, aq as v5, ar as p5, as as g5, at as Ow, au as m5, av as y5, aw as _5, ax as b5, ay as x5, az as w5, aA as S5, j as C5, F as HN, aB as T5, aC as D5, aD as A5, aE as M5, aF as E5, aG as WN, aH as L5, aI as ip, aJ as Za, aK as N5, aL as Rb, aM as Ob, K as I5, aN as k5, aO as xs, aP as UN, aQ as P5, aR as R5, aS as O5, aT as B5, aU as z5, aV as V5, a1 as F5, ah as G5, aW as H5, Y as W5, E as U5, a as $5, e as ap, R as Bb, u as zb, $ as $N, O as Vb, aX as YN, aY as Bw, aZ as Fb, s as Y5, f as XN, a5 as qN, a_ as X5, a$ as q5, b0 as Z5, b1 as j5, M as K5 } from "./index-BVOXv_4V.js";
|
|
11
|
+
import { v as Zve, w as jve, N as Kve, x as Qve, H as Jve, bn as epe, bm as tpe, bg as rpe, b3 as npe, b2 as ipe, b4 as ape, b5 as ope, b7 as spe, b8 as lpe, aj as upe, ai as cpe, am as fpe, _ as hpe, U as dpe, ao as vpe, W as ppe, y as gpe, bo as mpe, ak as ype, al as _pe, X as bpe, z as xpe, P as wpe, G as Spe, I as Cpe, an as Tpe, Z as Dpe, ap as Ape, D as Mpe, J as Epe, bq as Lpe, q as Npe, r as Ipe, bf as kpe, bk as Ppe, bk as Rpe, bl as Ope, bb as Bpe, ba as zpe, bp as Vpe, af as Fpe, bd as Gpe, be as Hpe, T as Wpe, br as Upe, bs as $pe, g as Ype, bh as Xpe, bi as qpe, bj as Zpe, b6 as jpe, bc as Kpe, h as Qpe, k as Jpe, b9 as ege, bt as tge } from "./index-BVOXv_4V.js";
|
|
12
|
+
import { l as jy, c as ZN, d as Ad, r as Ky } from "./F0VideoPlayer-je4bZKr4.js";
|
|
13
|
+
import { F as nge } from "./F0VideoPlayer-je4bZKr4.js";
|
|
14
|
+
import { F as age, p as oge } from "./index-CL_6VRqF.js";
|
|
15
|
+
import { c as lge } from "./pdfWorker-CZwH8V_c.js";
|
|
16
16
|
import { g as Q5 } from "./_commonjsHelpers-ByX85dGu.js";
|
|
17
17
|
import { utils as vl, write as jN } from "./xlsx-CzlURDDb.js";
|
|
18
18
|
import { defaultTranslations as cge } from "./i18n-provider-defaults.js";
|