@anzusystems/common-admin 1.40.0-alpha24 → 1.40.0-alpha26

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.
@@ -22,8 +22,8 @@ import { IntlDateTimeFormat } from './vue-i18n/dist/vue-i18n.esm-bundler.js';
22
22
  import { IntlNumberFormat } from './vue-i18n/dist/vue-i18n.esm-bundler.js';
23
23
  import type { Method } from 'axios';
24
24
  import type { OpUnitType } from 'dayjs';
25
- import { Promisify } from '@vueuse/shared';
26
- import type { Promisify as Promisify_2 } from '@vueuse/core';
25
+ import type { Promisify } from '@vueuse/core';
26
+ import { Promisify as Promisify_2 } from '@vueuse/shared';
27
27
  import { PropType } from 'vue';
28
28
  import type { QUnitType } from 'dayjs';
29
29
  import { Ref } from 'vue';
@@ -192,6 +192,10 @@ declare type __VLS_NonUndefinedable_75<T> = T extends undefined ? never : T;
192
192
 
193
193
  declare type __VLS_NonUndefinedable_76<T> = T extends undefined ? never : T;
194
194
 
195
+ declare type __VLS_NonUndefinedable_77<T> = T extends undefined ? never : T;
196
+
197
+ declare type __VLS_NonUndefinedable_78<T> = T extends undefined ? never : T;
198
+
195
199
  declare type __VLS_NonUndefinedable_8<T> = T extends undefined ? never : T;
196
200
 
197
201
  declare type __VLS_NonUndefinedable_9<T> = T extends undefined ? never : T;
@@ -480,6 +484,14 @@ declare type __VLS_Prettify_73<T> = {
480
484
  [K in keyof T]: T[K];
481
485
  } & {};
482
486
 
487
+ declare type __VLS_Prettify_74<T> = {
488
+ [K in keyof T]: T[K];
489
+ } & {};
490
+
491
+ declare type __VLS_Prettify_75<T> = {
492
+ [K in keyof T]: T[K];
493
+ } & {};
494
+
483
495
  declare type __VLS_Prettify_8<T> = {
484
496
  [K in keyof T]: T[K];
485
497
  } & {};
@@ -1154,6 +1166,24 @@ declare type __VLS_TypePropsToRuntimeProps_76<T> = {
1154
1166
  };
1155
1167
  };
1156
1168
 
1169
+ declare type __VLS_TypePropsToRuntimeProps_77<T> = {
1170
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
1171
+ type: PropType<__VLS_NonUndefinedable_77<T[K]>>;
1172
+ } : {
1173
+ type: PropType<T[K]>;
1174
+ required: true;
1175
+ };
1176
+ };
1177
+
1178
+ declare type __VLS_TypePropsToRuntimeProps_78<T> = {
1179
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
1180
+ type: PropType<__VLS_NonUndefinedable_78<T[K]>>;
1181
+ } : {
1182
+ type: PropType<T[K]>;
1183
+ required: true;
1184
+ };
1185
+ };
1186
+
1157
1187
  declare type __VLS_TypePropsToRuntimeProps_8<T> = {
1158
1188
  [K in keyof T]-?: {} extends Pick<T, K> ? {
1159
1189
  type: PropType<__VLS_NonUndefinedable_8<T[K]>>;
@@ -1598,6 +1628,18 @@ declare type __VLS_WithDefaults_73<P, D> = {
1598
1628
  }> : P[K];
1599
1629
  };
1600
1630
 
1631
+ declare type __VLS_WithDefaults_74<P, D> = {
1632
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_74<P[K] & {
1633
+ default: D[K];
1634
+ }> : P[K];
1635
+ };
1636
+
1637
+ declare type __VLS_WithDefaults_75<P, D> = {
1638
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_75<P[K] & {
1639
+ default: D[K];
1640
+ }> : P[K];
1641
+ };
1642
+
1601
1643
  declare type __VLS_WithDefaults_8<P, D> = {
1602
1644
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_8<P[K] & {
1603
1645
  default: D[K];
@@ -2111,7 +2153,7 @@ export declare const AAnzuUserAvatar: DefineComponent<__VLS_WithDefaults_55<__VL
2111
2153
  containerClass: string;
2112
2154
  }, {}>;
2113
2155
 
2114
- export declare const AAssetSelect: __VLS_WithTemplateSlots_24<DefineComponent<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_72<{
2156
+ export declare const AAssetSelect: __VLS_WithTemplateSlots_24<DefineComponent<__VLS_WithDefaults_71<__VLS_TypePropsToRuntimeProps_74<{
2115
2157
  modelValue?: boolean | undefined;
2116
2158
  assetType: "image" | "audio" | "video" | "document" | DamAssetType;
2117
2159
  minCount: number;
@@ -2130,7 +2172,7 @@ export declare const AAssetSelect: __VLS_WithTemplateSlots_24<DefineComponent<__
2130
2172
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2131
2173
  "update:modelValue": (data: boolean) => void;
2132
2174
  onConfirm: (data: AssetSelectReturnData) => void;
2133
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_72<{
2175
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_71<__VLS_TypePropsToRuntimeProps_74<{
2134
2176
  modelValue?: boolean | undefined;
2135
2177
  assetType: "image" | "audio" | "video" | "document" | DamAssetType;
2136
2178
  minCount: number;
@@ -2432,6 +2474,66 @@ declare type AclResolverConfig = {
2432
2474
 
2433
2475
  export declare type AclValue = `${string}_${string}_${string}`;
2434
2476
 
2477
+ export declare const ACollabCountdown: DefineComponent<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_72<{
2478
+ label?: string | undefined;
2479
+ seconds?: number | undefined;
2480
+ parentheses?: boolean | undefined;
2481
+ }>, {
2482
+ label: string;
2483
+ seconds: number;
2484
+ parentheses: boolean;
2485
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2486
+ done: () => void;
2487
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_72<{
2488
+ label?: string | undefined;
2489
+ seconds?: number | undefined;
2490
+ parentheses?: boolean | undefined;
2491
+ }>, {
2492
+ label: string;
2493
+ seconds: number;
2494
+ parentheses: boolean;
2495
+ }>>> & {
2496
+ onDone?: (() => any) | undefined;
2497
+ }, {
2498
+ label: string;
2499
+ seconds: number;
2500
+ parentheses: boolean;
2501
+ }, {}>;
2502
+
2503
+ export declare const ACollabLockedByUser: DefineComponent<__VLS_WithDefaults_68<__VLS_TypePropsToRuntimeProps_71<{
2504
+ id: null | undefined | IntegerId;
2505
+ users: CollabCachedUsersMap | Ref<CollabCachedUsersMap>;
2506
+ }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_68<__VLS_TypePropsToRuntimeProps_71<{
2507
+ id: null | undefined | IntegerId;
2508
+ users: CollabCachedUsersMap | Ref<CollabCachedUsersMap>;
2509
+ }>, {}>>>, {}, {}>;
2510
+
2511
+ export declare const ACollabManagement: DefineComponent<__VLS_WithDefaults_70<__VLS_TypePropsToRuntimeProps_73<{
2512
+ collabRoom: CollabRoom;
2513
+ cachedUsers: CollabCachedUsersMap | Ref<CollabCachedUsersMap>;
2514
+ isEdit?: boolean | undefined;
2515
+ addToCachedUsers?: ((...args: AddToCachedArgs<IntegerId>) => void) | undefined;
2516
+ fetchCachedUsers?: (() => Promisify<Promise<any>>) | undefined;
2517
+ }>, {
2518
+ isEdit: boolean;
2519
+ addToCachedUsers: undefined;
2520
+ fetchCachedUsers: undefined;
2521
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_70<__VLS_TypePropsToRuntimeProps_73<{
2522
+ collabRoom: CollabRoom;
2523
+ cachedUsers: CollabCachedUsersMap | Ref<CollabCachedUsersMap>;
2524
+ isEdit?: boolean | undefined;
2525
+ addToCachedUsers?: ((...args: AddToCachedArgs<IntegerId>) => void) | undefined;
2526
+ fetchCachedUsers?: (() => Promisify<Promise<any>>) | undefined;
2527
+ }>, {
2528
+ isEdit: boolean;
2529
+ addToCachedUsers: undefined;
2530
+ fetchCachedUsers: undefined;
2531
+ }>>>, {
2532
+ isEdit: boolean;
2533
+ addToCachedUsers: (...args: AddToCachedArgs<IntegerId>) => void;
2534
+ fetchCachedUsers: () => Promisify<Promise<any>>;
2535
+ }, {}>;
2536
+
2435
2537
  export declare const ACopyText: DefineComponent<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_39<{
2436
2538
  value: number | string;
2437
2539
  notifyT?: string | undefined;
@@ -3321,12 +3423,7 @@ export declare const AFormDatetimePicker: __VLS_WithTemplateSlots_7<DefineCompon
3321
3423
  v?: any;
3322
3424
  dataCy?: string | undefined;
3323
3425
  clearable?: boolean | undefined;
3324
- collab?: {
3325
- room: string;
3326
- field: string;
3327
- enabled: boolean;
3328
- cachedUsers: CollabCachedUsersMap;
3329
- } | undefined;
3426
+ collab?: CollabComponentConfig;
3330
3427
  disabled?: boolean | undefined;
3331
3428
  }>, {
3332
3429
  label: undefined;
@@ -3350,12 +3447,7 @@ export declare const AFormDatetimePicker: __VLS_WithTemplateSlots_7<DefineCompon
3350
3447
  v?: any;
3351
3448
  dataCy?: string | undefined;
3352
3449
  clearable?: boolean | undefined;
3353
- collab?: {
3354
- room: string;
3355
- field: string;
3356
- enabled: boolean;
3357
- cachedUsers: CollabCachedUsersMap;
3358
- } | undefined;
3450
+ collab?: CollabComponentConfig;
3359
3451
  disabled?: boolean | undefined;
3360
3452
  }>, {
3361
3453
  label: undefined;
@@ -3374,17 +3466,16 @@ export declare const AFormDatetimePicker: __VLS_WithTemplateSlots_7<DefineCompon
3374
3466
  }, {
3375
3467
  disabled: boolean;
3376
3468
  dataCy: string;
3377
- required: boolean;
3378
- label: string;
3379
- clearable: boolean;
3380
- errorMessage: string;
3381
- v: any;
3382
3469
  collab: {
3383
3470
  room: string;
3384
3471
  field: string;
3385
- enabled: boolean;
3386
3472
  cachedUsers: CollabCachedUsersMap;
3387
3473
  };
3474
+ required: boolean;
3475
+ label: string;
3476
+ clearable: boolean;
3477
+ errorMessage: string;
3478
+ v: any;
3388
3479
  }, {}>, {
3389
3480
  locked?(_: {
3390
3481
  userId: IntegerIdNullable;
@@ -3399,12 +3490,7 @@ export declare const AFormFlagDatetimePicker: __VLS_WithTemplateSlots_8<DefineCo
3399
3490
  dataCy?: string | undefined;
3400
3491
  clearable?: boolean | undefined;
3401
3492
  defaultActivationValue?: DatetimeUTCNullable | (() => DatetimeUTCNullable) | undefined;
3402
- collab?: {
3403
- room: string;
3404
- field: string;
3405
- enabled: boolean;
3406
- cachedUsers: CollabCachedUsersMap;
3407
- } | undefined;
3493
+ collab?: CollabComponentConfig;
3408
3494
  disabled?: boolean | undefined;
3409
3495
  }>, {
3410
3496
  label: undefined;
@@ -3427,12 +3513,7 @@ export declare const AFormFlagDatetimePicker: __VLS_WithTemplateSlots_8<DefineCo
3427
3513
  dataCy?: string | undefined;
3428
3514
  clearable?: boolean | undefined;
3429
3515
  defaultActivationValue?: DatetimeUTCNullable | (() => DatetimeUTCNullable) | undefined;
3430
- collab?: {
3431
- room: string;
3432
- field: string;
3433
- enabled: boolean;
3434
- cachedUsers: CollabCachedUsersMap;
3435
- } | undefined;
3516
+ collab?: CollabComponentConfig;
3436
3517
  disabled?: boolean | undefined;
3437
3518
  }>, {
3438
3519
  label: undefined;
@@ -3450,16 +3531,15 @@ export declare const AFormFlagDatetimePicker: __VLS_WithTemplateSlots_8<DefineCo
3450
3531
  }, {
3451
3532
  disabled: boolean;
3452
3533
  dataCy: string;
3453
- label: string;
3454
- clearable: boolean;
3455
- errorMessage: string;
3456
- v: any;
3457
3534
  collab: {
3458
3535
  room: string;
3459
3536
  field: string;
3460
- enabled: boolean;
3461
3537
  cachedUsers: CollabCachedUsersMap;
3462
3538
  };
3539
+ label: string;
3540
+ clearable: boolean;
3541
+ errorMessage: string;
3542
+ v: any;
3463
3543
  defaultActivationValue: DatetimeUTCNullable | (() => DatetimeUTCNullable);
3464
3544
  }, {}>, {
3465
3545
  locked?(_: {
@@ -3484,12 +3564,7 @@ export declare const AFormRemoteAutocomplete: __VLS_WithTemplateSlots_9<DefineCo
3484
3564
  filterSortBy?: string | null | undefined;
3485
3565
  disableInitFetch?: boolean | undefined;
3486
3566
  loading?: boolean | undefined;
3487
- collab?: {
3488
- room: string;
3489
- field: string;
3490
- enabled: boolean;
3491
- cachedUsers: CollabCachedUsersMap;
3492
- } | undefined;
3567
+ collab?: CollabComponentConfig;
3493
3568
  disabled?: boolean | undefined;
3494
3569
  }>, {
3495
3570
  label: undefined;
@@ -3529,12 +3604,7 @@ export declare const AFormRemoteAutocomplete: __VLS_WithTemplateSlots_9<DefineCo
3529
3604
  filterSortBy?: string | null | undefined;
3530
3605
  disableInitFetch?: boolean | undefined;
3531
3606
  loading?: boolean | undefined;
3532
- collab?: {
3533
- room: string;
3534
- field: string;
3535
- enabled: boolean;
3536
- cachedUsers: CollabCachedUsersMap;
3537
- } | undefined;
3607
+ collab?: CollabComponentConfig;
3538
3608
  disabled?: boolean | undefined;
3539
3609
  }>, {
3540
3610
  label: undefined;
@@ -3560,6 +3630,11 @@ export declare const AFormRemoteAutocomplete: __VLS_WithTemplateSlots_9<DefineCo
3560
3630
  }, {
3561
3631
  disabled: boolean;
3562
3632
  multiple: boolean;
3633
+ collab: {
3634
+ room: string;
3635
+ field: string;
3636
+ cachedUsers: CollabCachedUsersMap;
3637
+ };
3563
3638
  required: boolean;
3564
3639
  loading: boolean;
3565
3640
  label: string;
@@ -3568,12 +3643,6 @@ export declare const AFormRemoteAutocomplete: __VLS_WithTemplateSlots_9<DefineCo
3568
3643
  hideDetails: boolean;
3569
3644
  errorMessage: string;
3570
3645
  v: any;
3571
- collab: {
3572
- room: string;
3573
- field: string;
3574
- enabled: boolean;
3575
- cachedUsers: CollabCachedUsersMap;
3576
- };
3577
3646
  filterByField: string;
3578
3647
  filterSortBy: string | null;
3579
3648
  disableInitFetch: boolean;
@@ -3749,12 +3818,7 @@ export declare const AFormSwitch: __VLS_WithTemplateSlots_10<DefineComponent<__V
3749
3818
  label?: string | undefined;
3750
3819
  dataCy?: string | undefined;
3751
3820
  hideLabel?: boolean | undefined;
3752
- collab?: {
3753
- room: string;
3754
- field: string;
3755
- enabled: boolean;
3756
- cachedUsers: CollabCachedUsersMap;
3757
- } | undefined;
3821
+ collab?: CollabComponentConfig;
3758
3822
  disabled?: boolean | undefined;
3759
3823
  }>, {
3760
3824
  label: undefined;
@@ -3771,12 +3835,7 @@ export declare const AFormSwitch: __VLS_WithTemplateSlots_10<DefineComponent<__V
3771
3835
  label?: string | undefined;
3772
3836
  dataCy?: string | undefined;
3773
3837
  hideLabel?: boolean | undefined;
3774
- collab?: {
3775
- room: string;
3776
- field: string;
3777
- enabled: boolean;
3778
- cachedUsers: CollabCachedUsersMap;
3779
- } | undefined;
3838
+ collab?: CollabComponentConfig;
3780
3839
  disabled?: boolean | undefined;
3781
3840
  }>, {
3782
3841
  label: undefined;
@@ -3791,14 +3850,13 @@ export declare const AFormSwitch: __VLS_WithTemplateSlots_10<DefineComponent<__V
3791
3850
  }, {
3792
3851
  disabled: boolean;
3793
3852
  dataCy: string;
3794
- label: string;
3795
- hideLabel: boolean;
3796
3853
  collab: {
3797
3854
  room: string;
3798
3855
  field: string;
3799
- enabled: boolean;
3800
3856
  cachedUsers: CollabCachedUsersMap;
3801
3857
  };
3858
+ label: string;
3859
+ hideLabel: boolean;
3802
3860
  }, {}>, {
3803
3861
  locked?(_: {
3804
3862
  userId: number;
@@ -3816,12 +3874,7 @@ export declare const AFormTextarea: __VLS_WithTemplateSlots_6<DefineComponent<__
3816
3874
  dataCy?: string | undefined;
3817
3875
  hideLabel?: boolean | undefined;
3818
3876
  rows?: number | undefined;
3819
- collab?: {
3820
- room: string;
3821
- field: string;
3822
- enabled: boolean;
3823
- cachedUsers: CollabCachedUsersMap;
3824
- } | undefined;
3877
+ collab?: CollabComponentConfig;
3825
3878
  disabled?: boolean | undefined;
3826
3879
  }>, {
3827
3880
  label: undefined;
@@ -3851,12 +3904,7 @@ export declare const AFormTextarea: __VLS_WithTemplateSlots_6<DefineComponent<__
3851
3904
  dataCy?: string | undefined;
3852
3905
  hideLabel?: boolean | undefined;
3853
3906
  rows?: number | undefined;
3854
- collab?: {
3855
- room: string;
3856
- field: string;
3857
- enabled: boolean;
3858
- cachedUsers: CollabCachedUsersMap;
3859
- } | undefined;
3907
+ collab?: CollabComponentConfig;
3860
3908
  disabled?: boolean | undefined;
3861
3909
  }>, {
3862
3910
  label: undefined;
@@ -3880,17 +3928,16 @@ export declare const AFormTextarea: __VLS_WithTemplateSlots_6<DefineComponent<__
3880
3928
  disabled: boolean;
3881
3929
  prependIcon: string;
3882
3930
  dataCy: string;
3883
- required: boolean;
3884
- label: string;
3885
- hideLabel: boolean;
3886
- errorMessage: string;
3887
- v: any;
3888
3931
  collab: {
3889
3932
  room: string;
3890
3933
  field: string;
3891
- enabled: boolean;
3892
3934
  cachedUsers: CollabCachedUsersMap;
3893
3935
  };
3936
+ required: boolean;
3937
+ label: string;
3938
+ hideLabel: boolean;
3939
+ errorMessage: string;
3940
+ v: any;
3894
3941
  rows: number;
3895
3942
  }, {}>, {
3896
3943
  locked?(_: {
@@ -3911,12 +3958,7 @@ export declare const AFormTextField: __VLS_WithTemplateSlots_5<DefineComponent<_
3911
3958
  type?: string | undefined;
3912
3959
  step?: number | undefined;
3913
3960
  maxlength?: number | undefined;
3914
- collab?: {
3915
- room: string;
3916
- field: string;
3917
- enabled: boolean;
3918
- cachedUsers: CollabCachedUsersMap;
3919
- } | undefined;
3961
+ collab?: CollabComponentConfig;
3920
3962
  disabled?: boolean | undefined;
3921
3963
  placeholder?: string | undefined;
3922
3964
  persistentPlaceholder?: boolean | undefined;
@@ -3954,12 +3996,7 @@ export declare const AFormTextField: __VLS_WithTemplateSlots_5<DefineComponent<_
3954
3996
  type?: string | undefined;
3955
3997
  step?: number | undefined;
3956
3998
  maxlength?: number | undefined;
3957
- collab?: {
3958
- room: string;
3959
- field: string;
3960
- enabled: boolean;
3961
- cachedUsers: CollabCachedUsersMap;
3962
- } | undefined;
3999
+ collab?: CollabComponentConfig;
3963
4000
  disabled?: boolean | undefined;
3964
4001
  placeholder?: string | undefined;
3965
4002
  persistentPlaceholder?: boolean | undefined;
@@ -3990,6 +4027,11 @@ export declare const AFormTextField: __VLS_WithTemplateSlots_5<DefineComponent<_
3990
4027
  prependIcon: string;
3991
4028
  type: string;
3992
4029
  dataCy: string;
4030
+ collab: {
4031
+ room: string;
4032
+ field: string;
4033
+ cachedUsers: CollabCachedUsersMap;
4034
+ };
3993
4035
  required: boolean;
3994
4036
  label: string;
3995
4037
  hideLabel: boolean;
@@ -3998,12 +4040,6 @@ export declare const AFormTextField: __VLS_WithTemplateSlots_5<DefineComponent<_
3998
4040
  step: number;
3999
4041
  errorMessage: string;
4000
4042
  v: any;
4001
- collab: {
4002
- room: string;
4003
- field: string;
4004
- enabled: boolean;
4005
- cachedUsers: CollabCachedUsersMap;
4006
- };
4007
4043
  maxlength: number;
4008
4044
  }, {}>, {
4009
4045
  locked?(_: {
@@ -4023,12 +4059,7 @@ export declare const AFormValueObjectOptionsSelect: __VLS_WithTemplateSlots_11<D
4023
4059
  hideDetails?: boolean | undefined;
4024
4060
  clearable?: boolean | undefined;
4025
4061
  dataCy?: string | undefined;
4026
- collab?: {
4027
- room: string;
4028
- field: string;
4029
- enabled: boolean;
4030
- cachedUsers: CollabCachedUsersMap;
4031
- } | undefined;
4062
+ collab?: CollabComponentConfig;
4032
4063
  disabled?: boolean | undefined;
4033
4064
  }>, {
4034
4065
  label: undefined;
@@ -4058,12 +4089,7 @@ export declare const AFormValueObjectOptionsSelect: __VLS_WithTemplateSlots_11<D
4058
4089
  hideDetails?: boolean | undefined;
4059
4090
  clearable?: boolean | undefined;
4060
4091
  dataCy?: string | undefined;
4061
- collab?: {
4062
- room: string;
4063
- field: string;
4064
- enabled: boolean;
4065
- cachedUsers: CollabCachedUsersMap;
4066
- } | undefined;
4092
+ collab?: CollabComponentConfig;
4067
4093
  disabled?: boolean | undefined;
4068
4094
  }>, {
4069
4095
  label: undefined;
@@ -4085,6 +4111,11 @@ export declare const AFormValueObjectOptionsSelect: __VLS_WithTemplateSlots_11<D
4085
4111
  disabled: boolean;
4086
4112
  dataCy: string;
4087
4113
  multiple: boolean;
4114
+ collab: {
4115
+ room: string;
4116
+ field: string;
4117
+ cachedUsers: CollabCachedUsersMap;
4118
+ };
4088
4119
  required: boolean;
4089
4120
  label: string;
4090
4121
  hideLabel: boolean;
@@ -4092,12 +4123,6 @@ export declare const AFormValueObjectOptionsSelect: __VLS_WithTemplateSlots_11<D
4092
4123
  hideDetails: boolean;
4093
4124
  errorMessage: string;
4094
4125
  v: any;
4095
- collab: {
4096
- room: string;
4097
- field: string;
4098
- enabled: boolean;
4099
- cachedUsers: CollabCachedUsersMap;
4100
- };
4101
4126
  }, {}>, {
4102
4127
  locked?(_: {
4103
4128
  userId: number;
@@ -4426,7 +4451,7 @@ export declare const ALogData: DefineComponent<__VLS_WithDefaults_31<__VLS_TypeP
4426
4451
  data: any;
4427
4452
  }>, {}>>>, {}, {}>;
4428
4453
 
4429
- export declare const ALoginView: DefineComponent<__VLS_WithDefaults_70<__VLS_TypePropsToRuntimeProps_73<{
4454
+ export declare const ALoginView: DefineComponent<__VLS_WithDefaults_72<__VLS_TypePropsToRuntimeProps_75<{
4430
4455
  title?: string | undefined;
4431
4456
  logoUrl?: string | undefined;
4432
4457
  loginUrl?: undefined | (() => string);
@@ -4436,7 +4461,7 @@ export declare const ALoginView: DefineComponent<__VLS_WithDefaults_70<__VLS_Typ
4436
4461
  logoUrl: undefined;
4437
4462
  loginUrl: undefined;
4438
4463
  dataCy: string;
4439
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_70<__VLS_TypePropsToRuntimeProps_73<{
4464
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_72<__VLS_TypePropsToRuntimeProps_75<{
4440
4465
  title?: string | undefined;
4441
4466
  logoUrl?: string | undefined;
4442
4467
  loginUrl?: undefined | (() => string);
@@ -4459,11 +4484,11 @@ export declare const ALogLevelChip: DefineComponent<__VLS_WithDefaults_54<__VLS_
4459
4484
  level: LogLevel;
4460
4485
  }>, {}>>>, {}, {}>;
4461
4486
 
4462
- export declare const ALogoutView: DefineComponent<__VLS_WithDefaults_71<__VLS_TypePropsToRuntimeProps_74<{
4487
+ export declare const ALogoutView: DefineComponent<__VLS_WithDefaults_73<__VLS_TypePropsToRuntimeProps_76<{
4463
4488
  logoutUrl?: undefined | (() => string);
4464
4489
  }>, {
4465
4490
  logoutUrl: undefined;
4466
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_71<__VLS_TypePropsToRuntimeProps_74<{
4491
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_73<__VLS_TypePropsToRuntimeProps_76<{
4467
4492
  logoutUrl?: undefined | (() => string);
4468
4493
  }>, {
4469
4494
  logoutUrl: undefined;
@@ -4471,9 +4496,9 @@ export declare const ALogoutView: DefineComponent<__VLS_WithDefaults_71<__VLS_Ty
4471
4496
  logoutUrl: () => string;
4472
4497
  }, {}>;
4473
4498
 
4474
- export declare const ANotFoundView: DefineComponent<__VLS_WithDefaults_73<__VLS_TypePropsToRuntimeProps_76<{
4499
+ export declare const ANotFoundView: DefineComponent<__VLS_WithDefaults_75<__VLS_TypePropsToRuntimeProps_78<{
4475
4500
  returnRouteName: string;
4476
- }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_73<__VLS_TypePropsToRuntimeProps_76<{
4501
+ }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_75<__VLS_TypePropsToRuntimeProps_78<{
4477
4502
  returnRouteName: string;
4478
4503
  }>, {}>>>, {}, {}>;
4479
4504
 
@@ -4510,14 +4535,6 @@ export declare const AnzuSystemsCommonAdmin: {
4510
4535
  install<T extends `${string}_${string}_${string}` = `${string}_${string}_${string}`>(app: App, options: PluginOptions<T>): void;
4511
4536
  };
4512
4537
 
4513
- export declare const AnzutapLockedByUser: DefineComponent<__VLS_WithDefaults_68<__VLS_TypePropsToRuntimeProps_71<{
4514
- id: null | undefined | IntegerId;
4515
- users: CollabCachedUsersMap | Ref<CollabCachedUsersMap>;
4516
- }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_68<__VLS_TypePropsToRuntimeProps_71<{
4517
- id: null | undefined | IntegerId;
4518
- users: CollabCachedUsersMap | Ref<CollabCachedUsersMap>;
4519
- }>, {}>>>, {}, {}>;
4520
-
4521
4538
  export declare interface AnzuUser extends AnzuUserAndTimeTrackingAware, AnzuUserMinimal {
4522
4539
  enabled: boolean;
4523
4540
  roles: string[];
@@ -5361,9 +5378,9 @@ declare interface AudioAttributes {
5361
5378
  bitrate: number;
5362
5379
  }
5363
5380
 
5364
- export declare const AUnauthorizedView: DefineComponent<__VLS_WithDefaults_72<__VLS_TypePropsToRuntimeProps_75<{
5381
+ export declare const AUnauthorizedView: DefineComponent<__VLS_WithDefaults_74<__VLS_TypePropsToRuntimeProps_77<{
5365
5382
  returnRouteName: string;
5366
- }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_72<__VLS_TypePropsToRuntimeProps_75<{
5383
+ }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_74<__VLS_TypePropsToRuntimeProps_77<{
5367
5384
  returnRouteName: string;
5368
5385
  }>, {}>>>, {}, {}>;
5369
5386
 
@@ -5485,6 +5502,12 @@ export declare interface CollabClientToServerEvents {
5485
5502
  fetchRoomsInfo: (rooms: CollabRoom[], callback: (data: CollabRoomsInfo) => void) => void;
5486
5503
  }
5487
5504
 
5505
+ export declare type CollabComponentConfig = undefined | {
5506
+ room: CollabRoom;
5507
+ field: CollabFieldName;
5508
+ cachedUsers: CollabCachedUsersMap;
5509
+ };
5510
+
5488
5511
  declare interface CollabConfig {
5489
5512
  room: CollabRoom;
5490
5513
  joinStrategy: CollabRoomJoinStrategyType;
@@ -6230,7 +6253,7 @@ export declare const DefaultLanguageSymbol: InjectionKey<LanguageCode | undefine
6230
6253
  export declare function defineCached<I extends DocId | IntegerId, T extends Record<DocId | IntegerId, any>, M extends Record<DocId | IntegerId, any>>(mapFullToMinimal: (source: T) => M, mapIdToMinimal: (id: I) => M, fetchCallback: (ids: I[]) => Promise<T[]>, idProp?: string): {
6231
6254
  cache: Ref<Map<I, CachedItem<M>>>;
6232
6255
  toFetch: Ref<Set<I>>;
6233
- fetch: () => Promisify<Promise<T[]>>;
6256
+ fetch: () => Promisify_2<Promise<T[]>>;
6234
6257
  immediateFetch: () => Promise<T[]>;
6235
6258
  add: (...args: AddToCachedArgs<I>) => void;
6236
6259
  addManual: (data: T) => void;
@@ -6841,6 +6864,40 @@ export declare const i18n: I18n<{
6841
6864
  };
6842
6865
  notificationsNotConnected: string;
6843
6866
  };
6867
+ collab: {
6868
+ alert: {
6869
+ occupied: string;
6870
+ error: string;
6871
+ approvedJoinRequest: string;
6872
+ rejectedJoinRequest: string;
6873
+ failedRequestToTakeModeration: string;
6874
+ alreadyRequestedToTakeModeration: string;
6875
+ approvedToTakeModeration: string;
6876
+ rejectedToTakeModeration: string;
6877
+ kickedFromRoom: string;
6878
+ transferredModeration: string;
6879
+ alreadyRequestedToJoin: string;
6880
+ failedRequestedToJoin: string;
6881
+ };
6882
+ occupiedEntityTitle: string;
6883
+ occupiedEntityText: string;
6884
+ requestToCollaborate: string;
6885
+ requestToCollaborateText: string;
6886
+ waitingForApprove: string;
6887
+ approvedAfterCountdown: string;
6888
+ requestToTakeModeration: string;
6889
+ requestToTakeModerationTextTitle: string;
6890
+ requestToTakeModerationText: string;
6891
+ moderatorManagement: string;
6892
+ transferModeration: string;
6893
+ button: {
6894
+ accept: string;
6895
+ reject: string;
6896
+ kickUser: string;
6897
+ kickYourself: string;
6898
+ transferModeration: string;
6899
+ };
6900
+ };
6844
6901
  };
6845
6902
  $vuetify: {
6846
6903
  badge: string;
@@ -7664,6 +7721,40 @@ export declare const messagesCs: {
7664
7721
  };
7665
7722
  notificationsNotConnected: string;
7666
7723
  };
7724
+ collab: {
7725
+ alert: {
7726
+ occupied: string;
7727
+ error: string;
7728
+ approvedJoinRequest: string;
7729
+ rejectedJoinRequest: string;
7730
+ failedRequestToTakeModeration: string;
7731
+ alreadyRequestedToTakeModeration: string;
7732
+ approvedToTakeModeration: string;
7733
+ rejectedToTakeModeration: string;
7734
+ kickedFromRoom: string;
7735
+ transferredModeration: string;
7736
+ alreadyRequestedToJoin: string;
7737
+ failedRequestedToJoin: string;
7738
+ };
7739
+ occupiedEntityTitle: string;
7740
+ occupiedEntityText: string;
7741
+ requestToCollaborate: string;
7742
+ requestToCollaborateText: string;
7743
+ waitingForApprove: string;
7744
+ approvedAfterCountdown: string;
7745
+ requestToTakeModeration: string;
7746
+ requestToTakeModerationTextTitle: string;
7747
+ requestToTakeModerationText: string;
7748
+ moderatorManagement: string;
7749
+ transferModeration: string;
7750
+ button: {
7751
+ accept: string;
7752
+ reject: string;
7753
+ kickUser: string;
7754
+ kickYourself: string;
7755
+ transferModeration: string;
7756
+ };
7757
+ };
7667
7758
  };
7668
7759
  $vuetify: {
7669
7760
  badge: string;
@@ -8280,6 +8371,40 @@ export declare const messagesEn: {
8280
8371
  };
8281
8372
  notificationsNotConnected: string;
8282
8373
  };
8374
+ collab: {
8375
+ alert: {
8376
+ occupied: string;
8377
+ error: string;
8378
+ approvedJoinRequest: string;
8379
+ rejectedJoinRequest: string;
8380
+ failedRequestToTakeModeration: string;
8381
+ alreadyRequestedToTakeModeration: string;
8382
+ approvedToTakeModeration: string;
8383
+ rejectedToTakeModeration: string;
8384
+ kickedFromRoom: string;
8385
+ transferredModeration: string;
8386
+ alreadyRequestedToJoin: string;
8387
+ failedRequestedToJoin: string;
8388
+ };
8389
+ occupiedEntityTitle: string;
8390
+ occupiedEntityText: string;
8391
+ requestToCollaborate: string;
8392
+ requestToCollaborateText: string;
8393
+ waitingForApprove: string;
8394
+ approvedAfterCountdown: string;
8395
+ requestToTakeModeration: string;
8396
+ requestToTakeModerationTextTitle: string;
8397
+ requestToTakeModerationText: string;
8398
+ moderatorManagement: string;
8399
+ transferModeration: string;
8400
+ button: {
8401
+ accept: string;
8402
+ reject: string;
8403
+ kickUser: string;
8404
+ kickYourself: string;
8405
+ transferModeration: string;
8406
+ };
8407
+ };
8283
8408
  };
8284
8409
  $vuetify: {
8285
8410
  badge: string;
@@ -8900,6 +9025,40 @@ export declare const messagesSk: {
8900
9025
  };
8901
9026
  notificationsNotConnected: string;
8902
9027
  };
9028
+ collab: {
9029
+ alert: {
9030
+ occupied: string;
9031
+ error: string;
9032
+ approvedJoinRequest: string;
9033
+ rejectedJoinRequest: string;
9034
+ failedRequestToTakeModeration: string;
9035
+ alreadyRequestedToTakeModeration: string;
9036
+ approvedToTakeModeration: string;
9037
+ rejectedToTakeModeration: string;
9038
+ kickedFromRoom: string;
9039
+ transferredModeration: string;
9040
+ alreadyRequestedToJoin: string;
9041
+ failedRequestedToJoin: string;
9042
+ };
9043
+ occupiedEntityTitle: string;
9044
+ occupiedEntityText: string;
9045
+ requestToCollaborate: string;
9046
+ requestToCollaborateText: string;
9047
+ waitingForApprove: string;
9048
+ approvedAfterCountdown: string;
9049
+ requestToTakeModeration: string;
9050
+ requestToTakeModerationTextTitle: string;
9051
+ requestToTakeModerationText: string;
9052
+ moderatorManagement: string;
9053
+ transferModeration: string;
9054
+ button: {
9055
+ accept: string;
9056
+ reject: string;
9057
+ kickUser: string;
9058
+ kickYourself: string;
9059
+ transferModeration: string;
9060
+ };
9061
+ };
8903
9062
  };
8904
9063
  $vuetify: {
8905
9064
  badge: string;
@@ -9443,13 +9602,6 @@ export declare function useCollabHelpers(): {
9443
9602
  createCollabFieldConfig: (name: CollabFieldName, room: CollabRoom, cachedUsers: CollabCachedUsersMap) => {
9444
9603
  room: string;
9445
9604
  field: string;
9446
- enabled: boolean;
9447
- cachedUsers: CollabCachedUsersMap;
9448
- };
9449
- createCollabCommandConfig: (name: CollabFieldName, room: CollabRoom, cachedUsers: CollabCachedUsersMap) => {
9450
- room: string;
9451
- field: string;
9452
- enabled: boolean;
9453
9605
  cachedUsers: CollabCachedUsersMap;
9454
9606
  };
9455
9607
  createCollabEmbedFieldName: (id: DocId) => string;
@@ -9472,7 +9624,7 @@ export declare function useCollabRejectedRequestToTakeModerationEventBus(): UseE
9472
9624
 
9473
9625
  export declare function useCollabRequestToTakeModerationEventBus(): UseEventBusReturn<CollabRequestToTakeModerationEvent, any>;
9474
9626
 
9475
- export declare function useCollabRoom(room: CollabRoom, watchForNewUsers?: boolean, addToCachedUsers?: ((...args: AddToCachedArgs<IntegerId>) => void) | undefined, fetchCachedUsers?: (() => Promisify_2<Promise<AnzuUser>>) | undefined): {
9627
+ export declare function useCollabRoom(room: CollabRoom, watchForNewUsers?: boolean, addToCachedUsers?: ((...args: AddToCachedArgs<IntegerId>) => void) | undefined, fetchCachedUsers?: (() => Promisify<Promise<any>>) | undefined): {
9476
9628
  subscribeCollabRoomInfo: () => void;
9477
9629
  unsubscribeCollabRoomInfo: () => void;
9478
9630
  joinCollabRoom: (options?: Partial<CollabRoomOptions>) => Promise<CollabAccessRoomStatusType>;