@layers-app/shared 0.0.39-comments.3 → 0.0.39-comments.4
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/{KanbanLayout-C5JdVttk.js → KanbanLayout-BJFmisAk.js} +1 -1
- package/dist/components/AppContainer/AppContainer.d.ts +1 -1
- package/dist/components/AppContainer/components/DesktopNavbar.d.ts +1 -1
- package/dist/components/AppContainer/components/MenuUserDropdown.d.ts +2 -0
- package/dist/components/AppContainer/types.d.ts +4 -1
- package/dist/components/CommentComposer/index.d.ts +2 -1
- package/dist/components/CommentsPanel/index.d.ts +2 -1
- package/dist/components/EmojiPicker/EmojiPicker.d.ts +2 -1
- package/dist/components/FormViewer/helpers/conditions.d.ts +6 -0
- package/dist/components/FormViewer/helpers/helpers.d.ts +6 -0
- package/dist/components/FormViewer/helpers/steps.d.ts +6 -0
- package/dist/components/FormViewer/hooks/useActiveControl.d.ts +2 -0
- package/dist/components/FormViewer/hooks/useActiveStep.d.ts +6 -0
- package/dist/components/FormViewer/store/formStore.d.ts +1278 -33
- package/dist/components/FormViewer/store/formStoreApi.d.ts +630 -7
- package/dist/components/FormViewer/store/selectors.d.ts +7849 -2468
- package/dist/components/FormViewer/types/schemes.d.ts +120 -0
- package/dist/components/InviteModal/InviteModal.d.ts +2 -0
- package/dist/components/InviteModal/slice.d.ts +13 -0
- package/dist/components/WorkspaceAvatar/WorkspaceAvatar.d.ts +1 -0
- package/dist/helpers/getFileType.d.ts +2 -1
- package/dist/helpers/isAppMode.d.ts +2 -0
- package/dist/{index-CM1iBMgt.js → index-Cj-dmalk.js} +1702 -1145
- package/dist/index.d.ts +3 -0
- package/dist/index.js +59 -52
- package/dist/index.umd.cjs +59 -59
- package/package.json +1 -1
|
@@ -322,6 +322,7 @@ export declare namespace Schemes {
|
|
|
322
322
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
323
323
|
showInput: z.ZodOptional<z.ZodBoolean>;
|
|
324
324
|
variableName: z.ZodOptional<z.ZodString>;
|
|
325
|
+
otherOption: z.ZodOptional<z.ZodBoolean>;
|
|
325
326
|
}, "strip", z.ZodTypeAny, {
|
|
326
327
|
id: string;
|
|
327
328
|
options: {
|
|
@@ -334,6 +335,7 @@ export declare namespace Schemes {
|
|
|
334
335
|
required?: boolean | undefined;
|
|
335
336
|
variableName?: string | undefined;
|
|
336
337
|
showInput?: boolean | undefined;
|
|
338
|
+
otherOption?: boolean | undefined;
|
|
337
339
|
}, {
|
|
338
340
|
id: string;
|
|
339
341
|
options: {
|
|
@@ -346,6 +348,7 @@ export declare namespace Schemes {
|
|
|
346
348
|
required?: boolean | undefined;
|
|
347
349
|
variableName?: string | undefined;
|
|
348
350
|
showInput?: boolean | undefined;
|
|
351
|
+
otherOption?: boolean | undefined;
|
|
349
352
|
}>;
|
|
350
353
|
const multipleChoiceControlItemSchema: z.ZodObject<{
|
|
351
354
|
label: z.ZodString;
|
|
@@ -378,6 +381,7 @@ export declare namespace Schemes {
|
|
|
378
381
|
minOptions: z.ZodOptional<z.ZodNumber>;
|
|
379
382
|
maxOptions: z.ZodOptional<z.ZodNumber>;
|
|
380
383
|
showInput: z.ZodOptional<z.ZodBoolean>;
|
|
384
|
+
otherOption: z.ZodOptional<z.ZodBoolean>;
|
|
381
385
|
}, "strip", z.ZodTypeAny, {
|
|
382
386
|
id: string;
|
|
383
387
|
options: {
|
|
@@ -391,6 +395,7 @@ export declare namespace Schemes {
|
|
|
391
395
|
required?: boolean | undefined;
|
|
392
396
|
variableName?: string | undefined;
|
|
393
397
|
showInput?: boolean | undefined;
|
|
398
|
+
otherOption?: boolean | undefined;
|
|
394
399
|
minOptions?: number | undefined;
|
|
395
400
|
maxOptions?: number | undefined;
|
|
396
401
|
}, {
|
|
@@ -406,6 +411,7 @@ export declare namespace Schemes {
|
|
|
406
411
|
required?: boolean | undefined;
|
|
407
412
|
variableName?: string | undefined;
|
|
408
413
|
showInput?: boolean | undefined;
|
|
414
|
+
otherOption?: boolean | undefined;
|
|
409
415
|
minOptions?: number | undefined;
|
|
410
416
|
maxOptions?: number | undefined;
|
|
411
417
|
}>;
|
|
@@ -894,6 +900,7 @@ export declare namespace Schemes {
|
|
|
894
900
|
minOptions: z.ZodOptional<z.ZodNumber>;
|
|
895
901
|
maxOptions: z.ZodOptional<z.ZodNumber>;
|
|
896
902
|
showInput: z.ZodOptional<z.ZodBoolean>;
|
|
903
|
+
otherOption: z.ZodOptional<z.ZodBoolean>;
|
|
897
904
|
}, "strip", z.ZodTypeAny, {
|
|
898
905
|
id: string;
|
|
899
906
|
options: {
|
|
@@ -907,6 +914,7 @@ export declare namespace Schemes {
|
|
|
907
914
|
required?: boolean | undefined;
|
|
908
915
|
variableName?: string | undefined;
|
|
909
916
|
showInput?: boolean | undefined;
|
|
917
|
+
otherOption?: boolean | undefined;
|
|
910
918
|
minOptions?: number | undefined;
|
|
911
919
|
maxOptions?: number | undefined;
|
|
912
920
|
}, {
|
|
@@ -922,6 +930,7 @@ export declare namespace Schemes {
|
|
|
922
930
|
required?: boolean | undefined;
|
|
923
931
|
variableName?: string | undefined;
|
|
924
932
|
showInput?: boolean | undefined;
|
|
933
|
+
otherOption?: boolean | undefined;
|
|
925
934
|
minOptions?: number | undefined;
|
|
926
935
|
maxOptions?: number | undefined;
|
|
927
936
|
}>, z.ZodObject<{
|
|
@@ -1017,6 +1026,7 @@ export declare namespace Schemes {
|
|
|
1017
1026
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1018
1027
|
showInput: z.ZodOptional<z.ZodBoolean>;
|
|
1019
1028
|
variableName: z.ZodOptional<z.ZodString>;
|
|
1029
|
+
otherOption: z.ZodOptional<z.ZodBoolean>;
|
|
1020
1030
|
}, "strip", z.ZodTypeAny, {
|
|
1021
1031
|
id: string;
|
|
1022
1032
|
options: {
|
|
@@ -1029,6 +1039,7 @@ export declare namespace Schemes {
|
|
|
1029
1039
|
required?: boolean | undefined;
|
|
1030
1040
|
variableName?: string | undefined;
|
|
1031
1041
|
showInput?: boolean | undefined;
|
|
1042
|
+
otherOption?: boolean | undefined;
|
|
1032
1043
|
}, {
|
|
1033
1044
|
id: string;
|
|
1034
1045
|
options: {
|
|
@@ -1041,6 +1052,7 @@ export declare namespace Schemes {
|
|
|
1041
1052
|
required?: boolean | undefined;
|
|
1042
1053
|
variableName?: string | undefined;
|
|
1043
1054
|
showInput?: boolean | undefined;
|
|
1055
|
+
otherOption?: boolean | undefined;
|
|
1044
1056
|
}>, z.ZodObject<{
|
|
1045
1057
|
title: z.ZodOptional<z.ZodString>;
|
|
1046
1058
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1812,6 +1824,7 @@ export declare namespace Schemes {
|
|
|
1812
1824
|
minOptions: z.ZodOptional<z.ZodNumber>;
|
|
1813
1825
|
maxOptions: z.ZodOptional<z.ZodNumber>;
|
|
1814
1826
|
showInput: z.ZodOptional<z.ZodBoolean>;
|
|
1827
|
+
otherOption: z.ZodOptional<z.ZodBoolean>;
|
|
1815
1828
|
}, "strip", z.ZodTypeAny, {
|
|
1816
1829
|
id: string;
|
|
1817
1830
|
options: {
|
|
@@ -1825,6 +1838,7 @@ export declare namespace Schemes {
|
|
|
1825
1838
|
required?: boolean | undefined;
|
|
1826
1839
|
variableName?: string | undefined;
|
|
1827
1840
|
showInput?: boolean | undefined;
|
|
1841
|
+
otherOption?: boolean | undefined;
|
|
1828
1842
|
minOptions?: number | undefined;
|
|
1829
1843
|
maxOptions?: number | undefined;
|
|
1830
1844
|
}, {
|
|
@@ -1840,6 +1854,7 @@ export declare namespace Schemes {
|
|
|
1840
1854
|
required?: boolean | undefined;
|
|
1841
1855
|
variableName?: string | undefined;
|
|
1842
1856
|
showInput?: boolean | undefined;
|
|
1857
|
+
otherOption?: boolean | undefined;
|
|
1843
1858
|
minOptions?: number | undefined;
|
|
1844
1859
|
maxOptions?: number | undefined;
|
|
1845
1860
|
}>, z.ZodObject<{
|
|
@@ -1935,6 +1950,7 @@ export declare namespace Schemes {
|
|
|
1935
1950
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1936
1951
|
showInput: z.ZodOptional<z.ZodBoolean>;
|
|
1937
1952
|
variableName: z.ZodOptional<z.ZodString>;
|
|
1953
|
+
otherOption: z.ZodOptional<z.ZodBoolean>;
|
|
1938
1954
|
}, "strip", z.ZodTypeAny, {
|
|
1939
1955
|
id: string;
|
|
1940
1956
|
options: {
|
|
@@ -1947,6 +1963,7 @@ export declare namespace Schemes {
|
|
|
1947
1963
|
required?: boolean | undefined;
|
|
1948
1964
|
variableName?: string | undefined;
|
|
1949
1965
|
showInput?: boolean | undefined;
|
|
1966
|
+
otherOption?: boolean | undefined;
|
|
1950
1967
|
}, {
|
|
1951
1968
|
id: string;
|
|
1952
1969
|
options: {
|
|
@@ -1959,6 +1976,7 @@ export declare namespace Schemes {
|
|
|
1959
1976
|
required?: boolean | undefined;
|
|
1960
1977
|
variableName?: string | undefined;
|
|
1961
1978
|
showInput?: boolean | undefined;
|
|
1979
|
+
otherOption?: boolean | undefined;
|
|
1962
1980
|
}>, z.ZodObject<{
|
|
1963
1981
|
title: z.ZodOptional<z.ZodString>;
|
|
1964
1982
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2580,6 +2598,16 @@ export declare namespace Schemes {
|
|
|
2580
2598
|
primaryColor?: string | undefined;
|
|
2581
2599
|
customCSS?: string | undefined;
|
|
2582
2600
|
}>>;
|
|
2601
|
+
position: z.ZodOptional<z.ZodObject<{
|
|
2602
|
+
x: z.ZodNumber;
|
|
2603
|
+
y: z.ZodNumber;
|
|
2604
|
+
}, "strip", z.ZodTypeAny, {
|
|
2605
|
+
x: number;
|
|
2606
|
+
y: number;
|
|
2607
|
+
}, {
|
|
2608
|
+
x: number;
|
|
2609
|
+
y: number;
|
|
2610
|
+
}>>;
|
|
2583
2611
|
}, "strip", z.ZodTypeAny, {
|
|
2584
2612
|
id: string;
|
|
2585
2613
|
controls: ({
|
|
@@ -2675,6 +2703,7 @@ export declare namespace Schemes {
|
|
|
2675
2703
|
required?: boolean | undefined;
|
|
2676
2704
|
variableName?: string | undefined;
|
|
2677
2705
|
showInput?: boolean | undefined;
|
|
2706
|
+
otherOption?: boolean | undefined;
|
|
2678
2707
|
} | {
|
|
2679
2708
|
id: string;
|
|
2680
2709
|
options: {
|
|
@@ -2688,6 +2717,7 @@ export declare namespace Schemes {
|
|
|
2688
2717
|
required?: boolean | undefined;
|
|
2689
2718
|
variableName?: string | undefined;
|
|
2690
2719
|
showInput?: boolean | undefined;
|
|
2720
|
+
otherOption?: boolean | undefined;
|
|
2691
2721
|
minOptions?: number | undefined;
|
|
2692
2722
|
maxOptions?: number | undefined;
|
|
2693
2723
|
} | {
|
|
@@ -2787,6 +2817,10 @@ export declare namespace Schemes {
|
|
|
2787
2817
|
variableName?: string | undefined;
|
|
2788
2818
|
})[];
|
|
2789
2819
|
trigger: string;
|
|
2820
|
+
position?: {
|
|
2821
|
+
x: number;
|
|
2822
|
+
y: number;
|
|
2823
|
+
} | undefined;
|
|
2790
2824
|
media?: {
|
|
2791
2825
|
video?: string | undefined;
|
|
2792
2826
|
image?: string | undefined;
|
|
@@ -2949,6 +2983,7 @@ export declare namespace Schemes {
|
|
|
2949
2983
|
required?: boolean | undefined;
|
|
2950
2984
|
variableName?: string | undefined;
|
|
2951
2985
|
showInput?: boolean | undefined;
|
|
2986
|
+
otherOption?: boolean | undefined;
|
|
2952
2987
|
} | {
|
|
2953
2988
|
id: string;
|
|
2954
2989
|
options: {
|
|
@@ -2962,6 +2997,7 @@ export declare namespace Schemes {
|
|
|
2962
2997
|
required?: boolean | undefined;
|
|
2963
2998
|
variableName?: string | undefined;
|
|
2964
2999
|
showInput?: boolean | undefined;
|
|
3000
|
+
otherOption?: boolean | undefined;
|
|
2965
3001
|
minOptions?: number | undefined;
|
|
2966
3002
|
maxOptions?: number | undefined;
|
|
2967
3003
|
} | {
|
|
@@ -3061,6 +3097,10 @@ export declare namespace Schemes {
|
|
|
3061
3097
|
variableName?: string | undefined;
|
|
3062
3098
|
})[];
|
|
3063
3099
|
trigger: string;
|
|
3100
|
+
position?: {
|
|
3101
|
+
x: number;
|
|
3102
|
+
y: number;
|
|
3103
|
+
} | undefined;
|
|
3064
3104
|
media?: {
|
|
3065
3105
|
video?: string | undefined;
|
|
3066
3106
|
image?: string | undefined;
|
|
@@ -3254,6 +3294,7 @@ export declare namespace Schemes {
|
|
|
3254
3294
|
minOptions: z.ZodOptional<z.ZodNumber>;
|
|
3255
3295
|
maxOptions: z.ZodOptional<z.ZodNumber>;
|
|
3256
3296
|
showInput: z.ZodOptional<z.ZodBoolean>;
|
|
3297
|
+
otherOption: z.ZodOptional<z.ZodBoolean>;
|
|
3257
3298
|
}, "strip", z.ZodTypeAny, {
|
|
3258
3299
|
id: string;
|
|
3259
3300
|
options: {
|
|
@@ -3267,6 +3308,7 @@ export declare namespace Schemes {
|
|
|
3267
3308
|
required?: boolean | undefined;
|
|
3268
3309
|
variableName?: string | undefined;
|
|
3269
3310
|
showInput?: boolean | undefined;
|
|
3311
|
+
otherOption?: boolean | undefined;
|
|
3270
3312
|
minOptions?: number | undefined;
|
|
3271
3313
|
maxOptions?: number | undefined;
|
|
3272
3314
|
}, {
|
|
@@ -3282,6 +3324,7 @@ export declare namespace Schemes {
|
|
|
3282
3324
|
required?: boolean | undefined;
|
|
3283
3325
|
variableName?: string | undefined;
|
|
3284
3326
|
showInput?: boolean | undefined;
|
|
3327
|
+
otherOption?: boolean | undefined;
|
|
3285
3328
|
minOptions?: number | undefined;
|
|
3286
3329
|
maxOptions?: number | undefined;
|
|
3287
3330
|
}>, z.ZodObject<{
|
|
@@ -3377,6 +3420,7 @@ export declare namespace Schemes {
|
|
|
3377
3420
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
3378
3421
|
showInput: z.ZodOptional<z.ZodBoolean>;
|
|
3379
3422
|
variableName: z.ZodOptional<z.ZodString>;
|
|
3423
|
+
otherOption: z.ZodOptional<z.ZodBoolean>;
|
|
3380
3424
|
}, "strip", z.ZodTypeAny, {
|
|
3381
3425
|
id: string;
|
|
3382
3426
|
options: {
|
|
@@ -3389,6 +3433,7 @@ export declare namespace Schemes {
|
|
|
3389
3433
|
required?: boolean | undefined;
|
|
3390
3434
|
variableName?: string | undefined;
|
|
3391
3435
|
showInput?: boolean | undefined;
|
|
3436
|
+
otherOption?: boolean | undefined;
|
|
3392
3437
|
}, {
|
|
3393
3438
|
id: string;
|
|
3394
3439
|
options: {
|
|
@@ -3401,6 +3446,7 @@ export declare namespace Schemes {
|
|
|
3401
3446
|
required?: boolean | undefined;
|
|
3402
3447
|
variableName?: string | undefined;
|
|
3403
3448
|
showInput?: boolean | undefined;
|
|
3449
|
+
otherOption?: boolean | undefined;
|
|
3404
3450
|
}>, z.ZodObject<{
|
|
3405
3451
|
title: z.ZodOptional<z.ZodString>;
|
|
3406
3452
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -4022,6 +4068,16 @@ export declare namespace Schemes {
|
|
|
4022
4068
|
primaryColor?: string | undefined;
|
|
4023
4069
|
customCSS?: string | undefined;
|
|
4024
4070
|
}>>;
|
|
4071
|
+
position: z.ZodOptional<z.ZodObject<{
|
|
4072
|
+
x: z.ZodNumber;
|
|
4073
|
+
y: z.ZodNumber;
|
|
4074
|
+
}, "strip", z.ZodTypeAny, {
|
|
4075
|
+
x: number;
|
|
4076
|
+
y: number;
|
|
4077
|
+
}, {
|
|
4078
|
+
x: number;
|
|
4079
|
+
y: number;
|
|
4080
|
+
}>>;
|
|
4025
4081
|
}, "strip", z.ZodTypeAny, {
|
|
4026
4082
|
id: string;
|
|
4027
4083
|
controls: ({
|
|
@@ -4117,6 +4173,7 @@ export declare namespace Schemes {
|
|
|
4117
4173
|
required?: boolean | undefined;
|
|
4118
4174
|
variableName?: string | undefined;
|
|
4119
4175
|
showInput?: boolean | undefined;
|
|
4176
|
+
otherOption?: boolean | undefined;
|
|
4120
4177
|
} | {
|
|
4121
4178
|
id: string;
|
|
4122
4179
|
options: {
|
|
@@ -4130,6 +4187,7 @@ export declare namespace Schemes {
|
|
|
4130
4187
|
required?: boolean | undefined;
|
|
4131
4188
|
variableName?: string | undefined;
|
|
4132
4189
|
showInput?: boolean | undefined;
|
|
4190
|
+
otherOption?: boolean | undefined;
|
|
4133
4191
|
minOptions?: number | undefined;
|
|
4134
4192
|
maxOptions?: number | undefined;
|
|
4135
4193
|
} | {
|
|
@@ -4229,6 +4287,10 @@ export declare namespace Schemes {
|
|
|
4229
4287
|
variableName?: string | undefined;
|
|
4230
4288
|
})[];
|
|
4231
4289
|
trigger: string;
|
|
4290
|
+
position?: {
|
|
4291
|
+
x: number;
|
|
4292
|
+
y: number;
|
|
4293
|
+
} | undefined;
|
|
4232
4294
|
media?: {
|
|
4233
4295
|
video?: string | undefined;
|
|
4234
4296
|
image?: string | undefined;
|
|
@@ -4391,6 +4453,7 @@ export declare namespace Schemes {
|
|
|
4391
4453
|
required?: boolean | undefined;
|
|
4392
4454
|
variableName?: string | undefined;
|
|
4393
4455
|
showInput?: boolean | undefined;
|
|
4456
|
+
otherOption?: boolean | undefined;
|
|
4394
4457
|
} | {
|
|
4395
4458
|
id: string;
|
|
4396
4459
|
options: {
|
|
@@ -4404,6 +4467,7 @@ export declare namespace Schemes {
|
|
|
4404
4467
|
required?: boolean | undefined;
|
|
4405
4468
|
variableName?: string | undefined;
|
|
4406
4469
|
showInput?: boolean | undefined;
|
|
4470
|
+
otherOption?: boolean | undefined;
|
|
4407
4471
|
minOptions?: number | undefined;
|
|
4408
4472
|
maxOptions?: number | undefined;
|
|
4409
4473
|
} | {
|
|
@@ -4503,6 +4567,10 @@ export declare namespace Schemes {
|
|
|
4503
4567
|
variableName?: string | undefined;
|
|
4504
4568
|
})[];
|
|
4505
4569
|
trigger: string;
|
|
4570
|
+
position?: {
|
|
4571
|
+
x: number;
|
|
4572
|
+
y: number;
|
|
4573
|
+
} | undefined;
|
|
4506
4574
|
media?: {
|
|
4507
4575
|
video?: string | undefined;
|
|
4508
4576
|
image?: string | undefined;
|
|
@@ -4695,6 +4763,7 @@ export declare namespace Schemes {
|
|
|
4695
4763
|
minOptions: z.ZodOptional<z.ZodNumber>;
|
|
4696
4764
|
maxOptions: z.ZodOptional<z.ZodNumber>;
|
|
4697
4765
|
showInput: z.ZodOptional<z.ZodBoolean>;
|
|
4766
|
+
otherOption: z.ZodOptional<z.ZodBoolean>;
|
|
4698
4767
|
}, "strip", z.ZodTypeAny, {
|
|
4699
4768
|
id: string;
|
|
4700
4769
|
options: {
|
|
@@ -4708,6 +4777,7 @@ export declare namespace Schemes {
|
|
|
4708
4777
|
required?: boolean | undefined;
|
|
4709
4778
|
variableName?: string | undefined;
|
|
4710
4779
|
showInput?: boolean | undefined;
|
|
4780
|
+
otherOption?: boolean | undefined;
|
|
4711
4781
|
minOptions?: number | undefined;
|
|
4712
4782
|
maxOptions?: number | undefined;
|
|
4713
4783
|
}, {
|
|
@@ -4723,6 +4793,7 @@ export declare namespace Schemes {
|
|
|
4723
4793
|
required?: boolean | undefined;
|
|
4724
4794
|
variableName?: string | undefined;
|
|
4725
4795
|
showInput?: boolean | undefined;
|
|
4796
|
+
otherOption?: boolean | undefined;
|
|
4726
4797
|
minOptions?: number | undefined;
|
|
4727
4798
|
maxOptions?: number | undefined;
|
|
4728
4799
|
}>, z.ZodObject<{
|
|
@@ -4818,6 +4889,7 @@ export declare namespace Schemes {
|
|
|
4818
4889
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
4819
4890
|
showInput: z.ZodOptional<z.ZodBoolean>;
|
|
4820
4891
|
variableName: z.ZodOptional<z.ZodString>;
|
|
4892
|
+
otherOption: z.ZodOptional<z.ZodBoolean>;
|
|
4821
4893
|
}, "strip", z.ZodTypeAny, {
|
|
4822
4894
|
id: string;
|
|
4823
4895
|
options: {
|
|
@@ -4830,6 +4902,7 @@ export declare namespace Schemes {
|
|
|
4830
4902
|
required?: boolean | undefined;
|
|
4831
4903
|
variableName?: string | undefined;
|
|
4832
4904
|
showInput?: boolean | undefined;
|
|
4905
|
+
otherOption?: boolean | undefined;
|
|
4833
4906
|
}, {
|
|
4834
4907
|
id: string;
|
|
4835
4908
|
options: {
|
|
@@ -4842,6 +4915,7 @@ export declare namespace Schemes {
|
|
|
4842
4915
|
required?: boolean | undefined;
|
|
4843
4916
|
variableName?: string | undefined;
|
|
4844
4917
|
showInput?: boolean | undefined;
|
|
4918
|
+
otherOption?: boolean | undefined;
|
|
4845
4919
|
}>, z.ZodObject<{
|
|
4846
4920
|
title: z.ZodOptional<z.ZodString>;
|
|
4847
4921
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -5463,6 +5537,16 @@ export declare namespace Schemes {
|
|
|
5463
5537
|
primaryColor?: string | undefined;
|
|
5464
5538
|
customCSS?: string | undefined;
|
|
5465
5539
|
}>>;
|
|
5540
|
+
position: z.ZodOptional<z.ZodObject<{
|
|
5541
|
+
x: z.ZodNumber;
|
|
5542
|
+
y: z.ZodNumber;
|
|
5543
|
+
}, "strip", z.ZodTypeAny, {
|
|
5544
|
+
x: number;
|
|
5545
|
+
y: number;
|
|
5546
|
+
}, {
|
|
5547
|
+
x: number;
|
|
5548
|
+
y: number;
|
|
5549
|
+
}>>;
|
|
5466
5550
|
}, "strip", z.ZodTypeAny, {
|
|
5467
5551
|
id: string;
|
|
5468
5552
|
controls: ({
|
|
@@ -5558,6 +5642,7 @@ export declare namespace Schemes {
|
|
|
5558
5642
|
required?: boolean | undefined;
|
|
5559
5643
|
variableName?: string | undefined;
|
|
5560
5644
|
showInput?: boolean | undefined;
|
|
5645
|
+
otherOption?: boolean | undefined;
|
|
5561
5646
|
} | {
|
|
5562
5647
|
id: string;
|
|
5563
5648
|
options: {
|
|
@@ -5571,6 +5656,7 @@ export declare namespace Schemes {
|
|
|
5571
5656
|
required?: boolean | undefined;
|
|
5572
5657
|
variableName?: string | undefined;
|
|
5573
5658
|
showInput?: boolean | undefined;
|
|
5659
|
+
otherOption?: boolean | undefined;
|
|
5574
5660
|
minOptions?: number | undefined;
|
|
5575
5661
|
maxOptions?: number | undefined;
|
|
5576
5662
|
} | {
|
|
@@ -5670,6 +5756,10 @@ export declare namespace Schemes {
|
|
|
5670
5756
|
variableName?: string | undefined;
|
|
5671
5757
|
})[];
|
|
5672
5758
|
trigger: string;
|
|
5759
|
+
position?: {
|
|
5760
|
+
x: number;
|
|
5761
|
+
y: number;
|
|
5762
|
+
} | undefined;
|
|
5673
5763
|
media?: {
|
|
5674
5764
|
video?: string | undefined;
|
|
5675
5765
|
image?: string | undefined;
|
|
@@ -5832,6 +5922,7 @@ export declare namespace Schemes {
|
|
|
5832
5922
|
required?: boolean | undefined;
|
|
5833
5923
|
variableName?: string | undefined;
|
|
5834
5924
|
showInput?: boolean | undefined;
|
|
5925
|
+
otherOption?: boolean | undefined;
|
|
5835
5926
|
} | {
|
|
5836
5927
|
id: string;
|
|
5837
5928
|
options: {
|
|
@@ -5845,6 +5936,7 @@ export declare namespace Schemes {
|
|
|
5845
5936
|
required?: boolean | undefined;
|
|
5846
5937
|
variableName?: string | undefined;
|
|
5847
5938
|
showInput?: boolean | undefined;
|
|
5939
|
+
otherOption?: boolean | undefined;
|
|
5848
5940
|
minOptions?: number | undefined;
|
|
5849
5941
|
maxOptions?: number | undefined;
|
|
5850
5942
|
} | {
|
|
@@ -5944,6 +6036,10 @@ export declare namespace Schemes {
|
|
|
5944
6036
|
variableName?: string | undefined;
|
|
5945
6037
|
})[];
|
|
5946
6038
|
trigger: string;
|
|
6039
|
+
position?: {
|
|
6040
|
+
x: number;
|
|
6041
|
+
y: number;
|
|
6042
|
+
} | undefined;
|
|
5947
6043
|
media?: {
|
|
5948
6044
|
video?: string | undefined;
|
|
5949
6045
|
image?: string | undefined;
|
|
@@ -6406,6 +6502,7 @@ export declare namespace Schemes {
|
|
|
6406
6502
|
required?: boolean | undefined;
|
|
6407
6503
|
variableName?: string | undefined;
|
|
6408
6504
|
showInput?: boolean | undefined;
|
|
6505
|
+
otherOption?: boolean | undefined;
|
|
6409
6506
|
} | {
|
|
6410
6507
|
id: string;
|
|
6411
6508
|
options: {
|
|
@@ -6419,6 +6516,7 @@ export declare namespace Schemes {
|
|
|
6419
6516
|
required?: boolean | undefined;
|
|
6420
6517
|
variableName?: string | undefined;
|
|
6421
6518
|
showInput?: boolean | undefined;
|
|
6519
|
+
otherOption?: boolean | undefined;
|
|
6422
6520
|
minOptions?: number | undefined;
|
|
6423
6521
|
maxOptions?: number | undefined;
|
|
6424
6522
|
} | {
|
|
@@ -6518,6 +6616,10 @@ export declare namespace Schemes {
|
|
|
6518
6616
|
variableName?: string | undefined;
|
|
6519
6617
|
})[];
|
|
6520
6618
|
trigger: string;
|
|
6619
|
+
position?: {
|
|
6620
|
+
x: number;
|
|
6621
|
+
y: number;
|
|
6622
|
+
} | undefined;
|
|
6521
6623
|
media?: {
|
|
6522
6624
|
video?: string | undefined;
|
|
6523
6625
|
image?: string | undefined;
|
|
@@ -6681,6 +6783,7 @@ export declare namespace Schemes {
|
|
|
6681
6783
|
required?: boolean | undefined;
|
|
6682
6784
|
variableName?: string | undefined;
|
|
6683
6785
|
showInput?: boolean | undefined;
|
|
6786
|
+
otherOption?: boolean | undefined;
|
|
6684
6787
|
} | {
|
|
6685
6788
|
id: string;
|
|
6686
6789
|
options: {
|
|
@@ -6694,6 +6797,7 @@ export declare namespace Schemes {
|
|
|
6694
6797
|
required?: boolean | undefined;
|
|
6695
6798
|
variableName?: string | undefined;
|
|
6696
6799
|
showInput?: boolean | undefined;
|
|
6800
|
+
otherOption?: boolean | undefined;
|
|
6697
6801
|
minOptions?: number | undefined;
|
|
6698
6802
|
maxOptions?: number | undefined;
|
|
6699
6803
|
} | {
|
|
@@ -6793,6 +6897,10 @@ export declare namespace Schemes {
|
|
|
6793
6897
|
variableName?: string | undefined;
|
|
6794
6898
|
})[];
|
|
6795
6899
|
trigger: string;
|
|
6900
|
+
position?: {
|
|
6901
|
+
x: number;
|
|
6902
|
+
y: number;
|
|
6903
|
+
} | undefined;
|
|
6796
6904
|
media?: {
|
|
6797
6905
|
video?: string | undefined;
|
|
6798
6906
|
image?: string | undefined;
|
|
@@ -7016,6 +7124,7 @@ export declare namespace Schemes {
|
|
|
7016
7124
|
required?: boolean | undefined;
|
|
7017
7125
|
variableName?: string | undefined;
|
|
7018
7126
|
showInput?: boolean | undefined;
|
|
7127
|
+
otherOption?: boolean | undefined;
|
|
7019
7128
|
} | {
|
|
7020
7129
|
id: string;
|
|
7021
7130
|
options: {
|
|
@@ -7029,6 +7138,7 @@ export declare namespace Schemes {
|
|
|
7029
7138
|
required?: boolean | undefined;
|
|
7030
7139
|
variableName?: string | undefined;
|
|
7031
7140
|
showInput?: boolean | undefined;
|
|
7141
|
+
otherOption?: boolean | undefined;
|
|
7032
7142
|
minOptions?: number | undefined;
|
|
7033
7143
|
maxOptions?: number | undefined;
|
|
7034
7144
|
} | {
|
|
@@ -7128,6 +7238,10 @@ export declare namespace Schemes {
|
|
|
7128
7238
|
variableName?: string | undefined;
|
|
7129
7239
|
})[];
|
|
7130
7240
|
trigger: string;
|
|
7241
|
+
position?: {
|
|
7242
|
+
x: number;
|
|
7243
|
+
y: number;
|
|
7244
|
+
} | undefined;
|
|
7131
7245
|
media?: {
|
|
7132
7246
|
video?: string | undefined;
|
|
7133
7247
|
image?: string | undefined;
|
|
@@ -7291,6 +7405,7 @@ export declare namespace Schemes {
|
|
|
7291
7405
|
required?: boolean | undefined;
|
|
7292
7406
|
variableName?: string | undefined;
|
|
7293
7407
|
showInput?: boolean | undefined;
|
|
7408
|
+
otherOption?: boolean | undefined;
|
|
7294
7409
|
} | {
|
|
7295
7410
|
id: string;
|
|
7296
7411
|
options: {
|
|
@@ -7304,6 +7419,7 @@ export declare namespace Schemes {
|
|
|
7304
7419
|
required?: boolean | undefined;
|
|
7305
7420
|
variableName?: string | undefined;
|
|
7306
7421
|
showInput?: boolean | undefined;
|
|
7422
|
+
otherOption?: boolean | undefined;
|
|
7307
7423
|
minOptions?: number | undefined;
|
|
7308
7424
|
maxOptions?: number | undefined;
|
|
7309
7425
|
} | {
|
|
@@ -7403,6 +7519,10 @@ export declare namespace Schemes {
|
|
|
7403
7519
|
variableName?: string | undefined;
|
|
7404
7520
|
})[];
|
|
7405
7521
|
trigger: string;
|
|
7522
|
+
position?: {
|
|
7523
|
+
x: number;
|
|
7524
|
+
y: number;
|
|
7525
|
+
} | undefined;
|
|
7406
7526
|
media?: {
|
|
7407
7527
|
video?: string | undefined;
|
|
7408
7528
|
image?: string | undefined;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface InviteModalState {
|
|
2
|
+
opened: boolean;
|
|
3
|
+
title?: string;
|
|
4
|
+
workspaceName?: string;
|
|
5
|
+
workspaceAvatar?: string;
|
|
6
|
+
invitation: string;
|
|
7
|
+
onAccept?: () => void;
|
|
8
|
+
onDecline?: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const useInviteModalStore: import('zustand').UseBoundStore<import('zustand').StoreApi<InviteModalState>>;
|
|
11
|
+
export declare const openInviteModal: (params: Omit<InviteModalState, "opened">) => void;
|
|
12
|
+
export declare const closeInviteModal: () => void;
|
|
13
|
+
export {};
|
|
@@ -6,6 +6,7 @@ interface UserAvatarProps extends AvatarProps, Omit<React.ComponentPropsWithoutR
|
|
|
6
6
|
isActiveIndicator?: boolean;
|
|
7
7
|
indicatorProps?: IndicatorProps;
|
|
8
8
|
useMultiple?: boolean;
|
|
9
|
+
withBorder?: boolean;
|
|
9
10
|
}
|
|
10
11
|
export declare const WorkspaceAvatar: React.ForwardRefExoticComponent<UserAvatarProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
12
|
export {};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { appMode } from './isAppMode';
|
|
2
|
+
export declare const getFileType: (mimeType: string, mode?: appMode) => "presentation" | "other" | "folder" | "documents" | "media" | "xlsx" | "docx" | "pptx" | "diagram" | "archieve";
|