@anzusystems/common-admin 1.47.0-beta.1 → 1.47.0-beta.10

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.
@@ -1808,12 +1808,6 @@ declare type __VLS_WithTemplateSlots_24<T, S> = T & {
1808
1808
  };
1809
1809
  };
1810
1810
 
1811
- declare type __VLS_WithTemplateSlots_25<T, S> = T & {
1812
- new (): {
1813
- $slots: S;
1814
- };
1815
- };
1816
-
1817
1811
  declare type __VLS_WithTemplateSlots_3<T, S> = T & {
1818
1812
  new (): {
1819
1813
  $slots: S;
@@ -1856,7 +1850,7 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
1856
1850
  };
1857
1851
  };
1858
1852
 
1859
- export declare const AActionCloseButton: DefineComponent<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_40<{
1853
+ export declare const AActionCloseButton: DefineComponent<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_39<{
1860
1854
  routeName?: string | undefined;
1861
1855
  routeParams?: any | undefined;
1862
1856
  buttonT?: string | undefined;
@@ -1870,7 +1864,7 @@ buttonT: string;
1870
1864
  buttonClass: string;
1871
1865
  dataCy: string;
1872
1866
  size: number;
1873
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_40<{
1867
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_39<{
1874
1868
  routeName?: string | undefined;
1875
1869
  routeParams?: any | undefined;
1876
1870
  buttonT?: string | undefined;
@@ -1893,7 +1887,7 @@ routeName: string;
1893
1887
  routeParams: any | undefined;
1894
1888
  }, {}>;
1895
1889
 
1896
- export declare const AActionCreateButton: DefineComponent<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_41<{
1890
+ export declare const AActionCreateButton: DefineComponent<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_40<{
1897
1891
  routeName: string;
1898
1892
  buttonT?: string | undefined;
1899
1893
  buttonClass?: string | undefined;
@@ -1906,7 +1900,7 @@ buttonClass: string;
1906
1900
  dataCy: string;
1907
1901
  size: number;
1908
1902
  variant: string;
1909
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_41<{
1903
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_40<{
1910
1904
  routeName: string;
1911
1905
  buttonT?: string | undefined;
1912
1906
  buttonClass?: string | undefined;
@@ -1927,7 +1921,7 @@ buttonClass: string;
1927
1921
  buttonT: string;
1928
1922
  }, {}>;
1929
1923
 
1930
- export declare const AActionDeleteButton: DefineComponent<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_42<{
1924
+ export declare const AActionDeleteButton: DefineComponent<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_41<{
1931
1925
  variant?: ButtonVariant | undefined;
1932
1926
  buttonT?: string | undefined;
1933
1927
  buttonClass?: string | undefined;
@@ -1962,7 +1956,7 @@ size: number;
1962
1956
  closeDialog: () => void;
1963
1957
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1964
1958
  deleteRecord: () => void;
1965
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_42<{
1959
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_41<{
1966
1960
  variant?: ButtonVariant | undefined;
1967
1961
  buttonT?: string | undefined;
1968
1962
  buttonClass?: string | undefined;
@@ -2012,7 +2006,7 @@ dialogMaxWidth: number;
2012
2006
  disableCloseAfterConfirm: boolean;
2013
2007
  }, {}>;
2014
2008
 
2015
- export declare const AActionEditButton: DefineComponent<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_43<{
2009
+ export declare const AActionEditButton: DefineComponent<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_42<{
2016
2010
  routeName: string;
2017
2011
  recordId?: number | string | undefined;
2018
2012
  routeParams?: any | undefined;
@@ -2033,7 +2027,7 @@ size: number;
2033
2027
  variant: string;
2034
2028
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2035
2029
  editRecord: () => void;
2036
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_43<{
2030
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_42<{
2037
2031
  routeName: string;
2038
2032
  recordId?: number | string | undefined;
2039
2033
  routeParams?: any | undefined;
@@ -2065,7 +2059,7 @@ routeParams: any | undefined;
2065
2059
  recordId: string | number;
2066
2060
  }, {}>;
2067
2061
 
2068
- export declare const AActionSaveAndCloseButton: DefineComponent<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_44<{
2062
+ export declare const AActionSaveAndCloseButton: DefineComponent<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_43<{
2069
2063
  buttonT?: string | undefined;
2070
2064
  buttonClass?: string | undefined;
2071
2065
  dataCy?: string | undefined;
@@ -2079,7 +2073,7 @@ loading: undefined;
2079
2073
  disabled: undefined;
2080
2074
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2081
2075
  saveRecordAndClose: () => void;
2082
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_44<{
2076
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_43<{
2083
2077
  buttonT?: string | undefined;
2084
2078
  buttonClass?: string | undefined;
2085
2079
  dataCy?: string | undefined;
@@ -2101,7 +2095,7 @@ buttonClass: string;
2101
2095
  buttonT: string;
2102
2096
  }, {}>;
2103
2097
 
2104
- export declare const AActionSaveButton: DefineComponent<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_45<{
2098
+ export declare const AActionSaveButton: DefineComponent<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_44<{
2105
2099
  buttonT?: string | undefined;
2106
2100
  buttonClass?: string | undefined;
2107
2101
  dataCy?: string | undefined;
@@ -2119,7 +2113,7 @@ size: number;
2119
2113
  variant: string;
2120
2114
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2121
2115
  saveRecord: () => void;
2122
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_45<{
2116
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_44<{
2123
2117
  buttonT?: string | undefined;
2124
2118
  buttonClass?: string | undefined;
2125
2119
  dataCy?: string | undefined;
@@ -2218,7 +2212,7 @@ containerClass: string;
2218
2212
  tooltip: string;
2219
2213
  }, {}>;
2220
2214
 
2221
- export declare const AAssetSelect: __VLS_WithTemplateSlots_25<DefineComponent<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_73<{
2215
+ export declare const AAssetSelect: __VLS_WithTemplateSlots_24<DefineComponent<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_73<{
2222
2216
  modelValue?: boolean | undefined;
2223
2217
  assetType: "image" | "audio" | "video" | "document" | DamAssetType;
2224
2218
  minCount: number;
@@ -2369,7 +2363,7 @@ chip: boolean;
2369
2363
  invertColor: boolean;
2370
2364
  }, {}>;
2371
2365
 
2372
- export declare const ABtnSplit: __VLS_WithTemplateSlots_19<DefineComponent<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<{
2366
+ export declare const ABtnSplit: __VLS_WithTemplateSlots_18<DefineComponent<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<{
2373
2367
  buttonT?: string | undefined;
2374
2368
  buttonClass?: string | undefined;
2375
2369
  dataCy?: string | undefined;
@@ -2393,7 +2387,7 @@ rounded: undefined;
2393
2387
  color: string;
2394
2388
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2395
2389
  onClick: () => void;
2396
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<{
2390
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<{
2397
2391
  buttonT?: string | undefined;
2398
2392
  buttonClass?: string | undefined;
2399
2393
  dataCy?: string | undefined;
@@ -2562,26 +2556,41 @@ dataCy: string;
2562
2556
  default?(_: {}): any;
2563
2557
  }>;
2564
2558
 
2565
- export declare const Acl: __VLS_WithTemplateSlots_17<DefineComponent<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_36<{
2566
- permission: `${string}_${string}_${string}`;
2567
- subject?: object | undefined;
2568
- }>, {
2569
- subject: undefined;
2570
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_36<{
2571
- permission: `${string}_${string}_${string}`;
2572
- subject?: object | undefined;
2573
- }>, {
2574
- subject: undefined;
2575
- }>>>, {
2576
- subject: object;
2577
- }, {}>, {
2578
- default?(_: {}): any;
2579
- }>;
2580
-
2581
- declare type AclResolverConfig = {
2582
- disableInject?: true | undefined;
2583
- currentUser?: CurrentUserType;
2584
- customAclProvider?: CustomAclResolver;
2559
+ export declare const Acl: <TAclValue extends `${string}_${string}_${string}`>(__VLS_props: {
2560
+ permission: TAclValue;
2561
+ subject?: object | undefined;
2562
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, __VLS_ctx?: {
2563
+ attrs: any;
2564
+ slots: {
2565
+ default?(_: {}): any;
2566
+ };
2567
+ emit: any;
2568
+ } | undefined, __VLS_expose?: ((exposed: ShallowUnwrapRef< {}>) => void) | undefined, __VLS_setup?: Promise<{
2569
+ props: {
2570
+ permission: TAclValue;
2571
+ subject?: object | undefined;
2572
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
2573
+ expose(exposed: ShallowUnwrapRef< {}>): void;
2574
+ attrs: any;
2575
+ slots: {
2576
+ default?(_: {}): any;
2577
+ };
2578
+ emit: any;
2579
+ }>) => VNode<RendererNode, RendererElement, {
2580
+ [key: string]: any;
2581
+ }> & {
2582
+ __ctx?: {
2583
+ props: {
2584
+ permission: TAclValue;
2585
+ subject?: object | undefined;
2586
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
2587
+ expose(exposed: ShallowUnwrapRef< {}>): void;
2588
+ attrs: any;
2589
+ slots: {
2590
+ default?(_: {}): any;
2591
+ };
2592
+ emit: any;
2593
+ } | undefined;
2585
2594
  };
2586
2595
 
2587
2596
  export declare type AclValue = `${string}_${string}_${string}`;
@@ -2646,14 +2655,14 @@ addToCachedUsers: (...args: AddToCachedArgs<IntegerId>) => void;
2646
2655
  fetchCachedUsers: () => Promisify<Promise<any>>;
2647
2656
  }, {}>;
2648
2657
 
2649
- export declare const ACopyText: __VLS_WithTemplateSlots_18<DefineComponent<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_37<{
2658
+ export declare const ACopyText: __VLS_WithTemplateSlots_17<DefineComponent<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_36<{
2650
2659
  value: string | number;
2651
2660
  notifyT?: string | undefined;
2652
2661
  dataCy?: string | undefined;
2653
2662
  }>, {
2654
2663
  notifyT: string;
2655
2664
  dataCy: string;
2656
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_37<{
2665
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_36<{
2657
2666
  value: string | number;
2658
2667
  notifyT?: string | undefined;
2659
2668
  dataCy?: string | undefined;
@@ -2972,7 +2981,7 @@ dataCy: string;
2972
2981
  dataCy: string;
2973
2982
  }, {}>;
2974
2983
 
2975
- export declare const ACustomDataForm: __VLS_WithTemplateSlots_23<DefineComponent<__VLS_WithDefaults_60<__VLS_TypePropsToRuntimeProps_64<{
2984
+ export declare const ACustomDataForm: __VLS_WithTemplateSlots_22<DefineComponent<__VLS_WithDefaults_60<__VLS_TypePropsToRuntimeProps_64<{
2976
2985
  modelValue: {
2977
2986
  [key: string]: any;
2978
2987
  };
@@ -3282,7 +3291,7 @@ onOnCancel?: (() => any) | undefined;
3282
3291
 
3283
3292
  export declare const AEmptyRouterView: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
3284
3293
 
3285
- export declare const AFilterAdvancedButton: DefineComponent<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_46<{
3294
+ export declare const AFilterAdvancedButton: DefineComponent<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_45<{
3286
3295
  tooltipT?: string | undefined;
3287
3296
  buttonClass?: string | undefined;
3288
3297
  dataCy?: string | undefined;
@@ -3292,7 +3301,7 @@ buttonClass: string;
3292
3301
  dataCy: string;
3293
3302
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3294
3303
  advancedFilter: () => void;
3295
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_46<{
3304
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_45<{
3296
3305
  tooltipT?: string | undefined;
3297
3306
  buttonClass?: string | undefined;
3298
3307
  dataCy?: string | undefined;
@@ -3400,7 +3409,7 @@ dataCy: string;
3400
3409
  dataCy: string;
3401
3410
  }, {}>;
3402
3411
 
3403
- export declare const AFilterMixed: DefineComponent<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_49<{
3412
+ export declare const AFilterMixed: DefineComponent<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_48<{
3404
3413
  filterId?: Filter | undefined;
3405
3414
  filterDocId?: Filter | undefined;
3406
3415
  filterText?: Filter | undefined;
@@ -3416,7 +3425,7 @@ filterUrl: undefined;
3416
3425
  filterOverrides: undefined;
3417
3426
  placeholder: undefined;
3418
3427
  dataCy: string;
3419
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_49<{
3428
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_48<{
3420
3429
  filterId?: Filter | undefined;
3421
3430
  filterDocId?: Filter | undefined;
3422
3431
  filterText?: Filter | undefined;
@@ -3481,7 +3490,7 @@ filterSortBy: string | null;
3481
3490
  disableInitFetch: boolean;
3482
3491
  }, {}>;
3483
3492
 
3484
- export declare const AFilterResetButton: DefineComponent<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_47<{
3493
+ export declare const AFilterResetButton: DefineComponent<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_46<{
3485
3494
  tooltipT?: string | undefined;
3486
3495
  buttonClass?: string | undefined;
3487
3496
  dataCy?: string | undefined;
@@ -3491,7 +3500,7 @@ buttonClass: string;
3491
3500
  dataCy: string;
3492
3501
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3493
3502
  reset: () => void;
3494
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_47<{
3503
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_46<{
3495
3504
  tooltipT?: string | undefined;
3496
3505
  buttonClass?: string | undefined;
3497
3506
  dataCy?: string | undefined;
@@ -3530,7 +3539,7 @@ dataCy: string;
3530
3539
  placeholder: string;
3531
3540
  }, {}>;
3532
3541
 
3533
- export declare const AFilterSubmitButton: DefineComponent<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_48<{
3542
+ export declare const AFilterSubmitButton: DefineComponent<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_47<{
3534
3543
  buttonT?: string | undefined;
3535
3544
  buttonClass?: string | undefined;
3536
3545
  dataCy?: string | undefined;
@@ -3542,7 +3551,7 @@ dataCy: string;
3542
3551
  touched: boolean;
3543
3552
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3544
3553
  submit: () => void;
3545
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_48<{
3554
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_47<{
3546
3555
  buttonT?: string | undefined;
3547
3556
  buttonClass?: string | undefined;
3548
3557
  dataCy?: string | undefined;
@@ -4432,7 +4441,7 @@ v: any;
4432
4441
  }): any;
4433
4442
  }>;
4434
4443
 
4435
- export declare const AIconGroup: DefineComponent<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_38<{
4444
+ export declare const AIconGroup: DefineComponent<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_37<{
4436
4445
  mainIcon: string;
4437
4446
  secondaryIcon?: string | null | undefined;
4438
4447
  secondaryText?: string | null | undefined;
@@ -4441,7 +4450,7 @@ size?: string | undefined;
4441
4450
  secondaryIcon: null;
4442
4451
  secondaryText: null;
4443
4452
  size: string;
4444
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_38<{
4453
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_37<{
4445
4454
  mainIcon: string;
4446
4455
  secondaryIcon?: string | null | undefined;
4447
4456
  secondaryText?: string | null | undefined;
@@ -4719,7 +4728,7 @@ showSource: boolean;
4719
4728
  images: ImageAware[];
4720
4729
  }, {}>;
4721
4730
 
4722
- export declare const AImageWidgetSimple: __VLS_WithTemplateSlots_24<DefineComponent<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_67<{
4731
+ export declare const AImageWidgetSimple: __VLS_WithTemplateSlots_23<DefineComponent<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_67<{
4723
4732
  modelValue: IntegerIdNullable | undefined;
4724
4733
  image?: ImageAware | ImageCreateUpdateAware | null | undefined;
4725
4734
  configName?: string | undefined;
@@ -4808,7 +4817,7 @@ type: PropType<JobBase<`job${string}`>>;
4808
4817
  };
4809
4818
  }>>, {}, {}>;
4810
4819
 
4811
- export declare const AJobDetailCommon: __VLS_WithTemplateSlots_20<DefineComponent<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_60<{
4820
+ export declare const AJobDetailCommon: __VLS_WithTemplateSlots_19<DefineComponent<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_60<{
4812
4821
  job: JobBase<`job${string}`>;
4813
4822
  loading?: boolean | undefined;
4814
4823
  }>, {
@@ -4836,9 +4845,13 @@ value: JobStatus;
4836
4845
  value: JobStatus;
4837
4846
  }>>>, {}, {}>;
4838
4847
 
4839
- export declare const ALanguageSelect: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4848
+ export declare const ALanguageSelect: DefineComponent<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<{
4849
+ system: string;
4850
+ }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4840
4851
  afterChange: (code: LanguageCode) => void;
4841
- }, string, PublicProps, Readonly<ExtractPropTypes< {}>> & {
4852
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<{
4853
+ system: string;
4854
+ }>, {}>>> & {
4842
4855
  onAfterChange?: ((code: LanguageCode) => any) | undefined;
4843
4856
  }, {}, {}>;
4844
4857
 
@@ -4929,7 +4942,7 @@ export declare class AnzuFatalError extends Error {
4929
4942
  }
4930
4943
 
4931
4944
  export declare const AnzuSystemsCommonAdmin: {
4932
- install<T extends `${string}_${string}_${string}` = `${string}_${string}_${string}`>(app: App, options: PluginOptions<T>): void;
4945
+ install(app: App, options: PluginOptions): void;
4933
4946
  };
4934
4947
 
4935
4948
  export declare interface AnzuUser extends AnzuUserAndTimeTrackingAware, Omit<AnzuUserMinimal, 'id'> {
@@ -5077,7 +5090,7 @@ export declare const arraysHaveSameElements: <T>(array1: T[], array2: T[]) => bo
5077
5090
 
5078
5091
  export declare const arrayToString: (values: Array<string | number>, separator?: string) => string;
5079
5092
 
5080
- export declare const ASortable: __VLS_WithTemplateSlots_21<DefineComponent<__VLS_WithDefaults_58<__VLS_TypePropsToRuntimeProps_62<{
5093
+ export declare const ASortable: __VLS_WithTemplateSlots_20<DefineComponent<__VLS_WithDefaults_58<__VLS_TypePropsToRuntimeProps_62<{
5081
5094
  modelValue: any;
5082
5095
  dirty?: Set<string | number> | undefined;
5083
5096
  keyField?: string | undefined;
@@ -5093,6 +5106,9 @@ showAddLastButton?: boolean | undefined;
5093
5106
  showDeleteButton?: boolean | undefined;
5094
5107
  showEditButton?: boolean | undefined;
5095
5108
  addLastButtonT?: string | undefined;
5109
+ chips?: boolean | undefined;
5110
+ chipSize?: string | undefined;
5111
+ disableDeleteDialog?: boolean | undefined;
5096
5112
  }>, {
5097
5113
  dirty: () => Set<string | number>;
5098
5114
  keyField: string;
@@ -5108,6 +5124,9 @@ showAddLastButton: boolean;
5108
5124
  showDeleteButton: boolean;
5109
5125
  showEditButton: boolean;
5110
5126
  addLastButtonT: string;
5127
+ chips: boolean;
5128
+ chipSize: string;
5129
+ disableDeleteDialog: boolean;
5111
5130
  }>, {
5112
5131
  refresh: () => void;
5113
5132
  addAfterId: (targetId: string | number | null, data: any) => SortableItemNewPositions;
@@ -5141,6 +5160,9 @@ showAddLastButton?: boolean | undefined;
5141
5160
  showDeleteButton?: boolean | undefined;
5142
5161
  showEditButton?: boolean | undefined;
5143
5162
  addLastButtonT?: string | undefined;
5163
+ chips?: boolean | undefined;
5164
+ chipSize?: string | undefined;
5165
+ disableDeleteDialog?: boolean | undefined;
5144
5166
  }>, {
5145
5167
  dirty: () => Set<string | number>;
5146
5168
  keyField: string;
@@ -5156,6 +5178,9 @@ showAddLastButton: boolean;
5156
5178
  showDeleteButton: boolean;
5157
5179
  showEditButton: boolean;
5158
5180
  addLastButtonT: string;
5181
+ chips: boolean;
5182
+ chipSize: string;
5183
+ disableDeleteDialog: boolean;
5159
5184
  }>>> & {
5160
5185
  "onUpdate:modelValue"?: ((data: any[]) => any) | undefined;
5161
5186
  onOnEnd?: ((data: SortableItemNewPositions) => any) | undefined;
@@ -5167,6 +5192,7 @@ onOnEdit?: ((data: SortableItem<any>) => any) | undefined;
5167
5192
  onOnDelete?: ((data: SortableItem<any>) => any) | undefined;
5168
5193
  }, {
5169
5194
  dirty: Set<string | number>;
5195
+ chips: boolean;
5170
5196
  keyField: string;
5171
5197
  disableDraggable: boolean;
5172
5198
  rootClassName: string;
@@ -5180,11 +5206,13 @@ showAddLastButton: boolean;
5180
5206
  showDeleteButton: boolean;
5181
5207
  showEditButton: boolean;
5182
5208
  addLastButtonT: string;
5209
+ chipSize: string;
5210
+ disableDeleteDialog: boolean;
5183
5211
  }, {}>, {
5184
- itemBefore?(_: {
5212
+ item?(_: {
5185
5213
  item: SortableItem<any>;
5186
5214
  }): any;
5187
- item?(_: {
5215
+ itemBefore?(_: {
5188
5216
  item: SortableItem<any>;
5189
5217
  }): any;
5190
5218
  buttons?(_: {
@@ -5200,7 +5228,7 @@ addLastButtonT: string;
5200
5228
  }): any;
5201
5229
  }>;
5202
5230
 
5203
- export declare const ASortableNested: __VLS_WithTemplateSlots_22<DefineComponent<__VLS_WithDefaults_59<__VLS_TypePropsToRuntimeProps_63<{
5231
+ export declare const ASortableNested: __VLS_WithTemplateSlots_21<DefineComponent<__VLS_WithDefaults_59<__VLS_TypePropsToRuntimeProps_63<{
5204
5232
  modelValue: SortableNested<any>;
5205
5233
  maxDepth: number;
5206
5234
  disableDraggable?: boolean | undefined;
@@ -5652,7 +5680,7 @@ subject: string;
5652
5680
  default?(_: {}): any;
5653
5681
  }>;
5654
5682
 
5655
- export declare const ATableCopyIdButton: DefineComponent<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_50<{
5683
+ export declare const ATableCopyIdButton: DefineComponent<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_49<{
5656
5684
  id: number | string;
5657
5685
  buttonT?: string | undefined;
5658
5686
  buttonClass?: string | undefined;
@@ -5667,7 +5695,7 @@ iconT: string;
5667
5695
  notifyT: string;
5668
5696
  dataCy: string;
5669
5697
  size: string;
5670
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_50<{
5698
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_49<{
5671
5699
  id: number | string;
5672
5700
  buttonT?: string | undefined;
5673
5701
  buttonClass?: string | undefined;
@@ -5691,7 +5719,7 @@ notifyT: string;
5691
5719
  iconT: string;
5692
5720
  }, {}>;
5693
5721
 
5694
- export declare const ATableDetailButton: DefineComponent<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_51<{
5722
+ export declare const ATableDetailButton: DefineComponent<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_50<{
5695
5723
  routeName: string;
5696
5724
  recordId?: number | string | undefined;
5697
5725
  routeParams?: any | undefined;
@@ -5704,7 +5732,7 @@ routeParams: undefined;
5704
5732
  buttonT: string;
5705
5733
  buttonClass: string;
5706
5734
  dataCy: string;
5707
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_51<{
5735
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_50<{
5708
5736
  routeName: string;
5709
5737
  recordId?: number | string | undefined;
5710
5738
  routeParams?: any | undefined;
@@ -5725,7 +5753,7 @@ routeParams: any | undefined;
5725
5753
  recordId: string | number;
5726
5754
  }, {}>;
5727
5755
 
5728
- export declare const ATableEditButton: DefineComponent<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<{
5756
+ export declare const ATableEditButton: DefineComponent<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_51<{
5729
5757
  routeName: string;
5730
5758
  recordId?: number | string | undefined;
5731
5759
  routeParams?: any | undefined;
@@ -5738,7 +5766,7 @@ routeParams: undefined;
5738
5766
  buttonT: string;
5739
5767
  buttonClass: string;
5740
5768
  dataCy: string;
5741
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<{
5769
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_51<{
5742
5770
  routeName: string;
5743
5771
  recordId?: number | string | undefined;
5744
5772
  routeParams?: any | undefined;
@@ -5797,7 +5825,7 @@ returnRouteName: string;
5797
5825
  returnRouteName: string;
5798
5826
  }>, {}>>>, {}, {}>;
5799
5827
 
5800
- export declare const AUserAndTimeTrackingFields: DefineComponent<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_39<{
5828
+ export declare const AUserAndTimeTrackingFields: DefineComponent<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_38<{
5801
5829
  data: AnzuUserAndTimeTrackingAware | any;
5802
5830
  hideCreatedAt?: boolean | undefined;
5803
5831
  hideModifiedAt?: boolean | undefined;
@@ -5808,7 +5836,7 @@ hideCreatedAt: boolean;
5808
5836
  hideModifiedAt: boolean;
5809
5837
  hideCreatedBy: boolean;
5810
5838
  hideModifiedBy: boolean;
5811
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_39<{
5839
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_38<{
5812
5840
  data: AnzuUserAndTimeTrackingAware | any;
5813
5841
  hideCreatedAt?: boolean | undefined;
5814
5842
  hideModifiedAt?: boolean | undefined;
@@ -5836,6 +5864,22 @@ export declare const axiosErrorResponseIsForbidden: (error: Error) => boolean;
5836
5864
 
5837
5865
  export declare const booleanToInteger: (value: boolean) => 0 | 1;
5838
5866
 
5867
+ export declare interface BreadcrumbItem {
5868
+ title: string;
5869
+ routeName: string;
5870
+ id?: IntegerId | DocId;
5871
+ routeParams?: any;
5872
+ }
5873
+
5874
+ declare interface BreadcrumbOptions {
5875
+ linkLastItem: boolean;
5876
+ }
5877
+
5878
+ export declare interface Breadcrumbs {
5879
+ items: ComputedRef<Array<BreadcrumbItem>>;
5880
+ options: BreadcrumbOptions;
5881
+ }
5882
+
5839
5883
  export declare const browserHistoryReplaceUrlByRouter: (router: Router, to: RouteLocationRaw) => void;
5840
5884
 
5841
5885
  export declare const browserHistoryReplaceUrlByString: (path: string) => void;
@@ -6212,11 +6256,6 @@ export declare const cropToRegion: (cropper: default_2, regionOfInterest: Region
6212
6256
 
6213
6257
  export declare type CurrentUserType = DeepReadonly<Ref<UnwrapRef<AnzuUser | undefined>>>;
6214
6258
 
6215
- export declare type CustomAclResolver<T extends AclValue = AclValue> = undefined | {
6216
- can?: (acl: T, subject?: object) => boolean;
6217
- canOwner?: (subject: object) => boolean;
6218
- };
6219
-
6220
6259
  export declare interface CustomDataAware {
6221
6260
  customData: {
6222
6261
  [key: string]: any;
@@ -6506,51 +6545,6 @@ declare interface DamConfigLicenceExtSystemReturnType {
6506
6545
  extSystemConfig: DamExtSystemConfig;
6507
6546
  }
6508
6547
 
6509
- export declare const damCurrentUser: Ref< {
6510
- selectedLicence: {
6511
- id: number;
6512
- name: string;
6513
- extSystem: number;
6514
- } | null;
6515
- adminToExtSystems: {
6516
- id: number;
6517
- name: string;
6518
- }[];
6519
- userToExtSystems: {
6520
- id: number;
6521
- name: string;
6522
- }[];
6523
- assetLicences: {
6524
- id: number;
6525
- name: string;
6526
- extSystem: number;
6527
- }[];
6528
- person: {
6529
- firstName: string;
6530
- lastName: string;
6531
- fullName: string;
6532
- };
6533
- avatar: {
6534
- color: string;
6535
- text: string;
6536
- };
6537
- allowedAssetExternalProviders: string[];
6538
- allowedDistributionServices: string[];
6539
- id?: IntegerIdNullable | undefined;
6540
- enabled: boolean;
6541
- roles: string[];
6542
- permissionGroups: number[];
6543
- permissions: Permissions_2;
6544
- resolvedPermissions: Permissions_2;
6545
- _resourceName: string;
6546
- _system: string;
6547
- createdAt: string;
6548
- modifiedAt: string;
6549
- modifiedBy: IntegerIdNullable;
6550
- createdBy: IntegerIdNullable;
6551
- email: string;
6552
- } | undefined>;
6553
-
6554
6548
  declare interface DamCurrentUserAssetLicence {
6555
6549
  id: IntegerId;
6556
6550
  name: string;
@@ -6580,8 +6574,6 @@ declare interface DamCurrentUserExtSystem {
6580
6574
  name: string;
6581
6575
  }
6582
6576
 
6583
- export declare const damCurrentUserIsSuperAdmin: Ref<boolean>;
6584
-
6585
6577
  export declare interface DamDistributionConfig {
6586
6578
  distributionServices: Array<DamDistributionServiceName>;
6587
6579
  distributionRequirements: Record<DamDistributionServiceName, DamDistributionRequirementsConfig>;
@@ -7000,6 +6992,29 @@ export declare const dateToUtc: (date: default_3.ConfigType) => string;
7000
6992
 
7001
6993
  export declare const DefaultLanguageSymbol: InjectionKey<LanguageCode | undefined>;
7002
6994
 
6995
+ /**
6996
+ * @param mainCurrentUserSystem - By this system currentUser object is used to get user ID.
6997
+ */
6998
+ export declare function defineAuth<TAclValue extends AclValue>(mainCurrentUserSystem: string): {
6999
+ can: (acl: TAclValue, subject?: object) => boolean;
7000
+ canForAll: (acls: TAclValue[], subject?: object) => boolean;
7001
+ canForSome: (acls: TAclValue[], subject?: object) => boolean;
7002
+ useCurrentUser: <TCurrentUser extends AnzuUser | undefined>(system: string) => {
7003
+ currentUser: ComputedRef<TCurrentUser | undefined>;
7004
+ setCurrentUser: (user: TCurrentUser) => void;
7005
+ isSuperAdmin: ComputedRef<boolean>;
7006
+ hasCurrentUser: ComputedRef<false | NonNullable<TCurrentUser>>;
7007
+ fetchCurrentUser: (client: () => AxiosInstance, endPoint?: string, urlParams?: UrlParams | undefined, entity?: string) => Promise<TCurrentUser | undefined>;
7008
+ };
7009
+ };
7010
+
7011
+ export declare function defineBreadcrumbs(items: ComputedRef<Array<BreadcrumbItem>>, options?: Partial<BreadcrumbOptions>): {
7012
+ items: ComputedRef<BreadcrumbItem[]>;
7013
+ options: {
7014
+ linkLastItem: boolean;
7015
+ };
7016
+ };
7017
+
7003
7018
  /**
7004
7019
  * @template I Identifier type
7005
7020
  * @template T Source type
@@ -10275,13 +10290,11 @@ export { Permissions_2 as Permissions }
10275
10290
 
10276
10291
  export declare type PermissionTranslationGroup = 'subjects' | 'actions' | 'roles';
10277
10292
 
10278
- export declare type PluginOptions<T extends AclValue = AclValue> = {
10279
- currentUser: CurrentUserType;
10293
+ export declare type PluginOptions = {
10280
10294
  languages: {
10281
10295
  available: LanguageCode[];
10282
10296
  default: LanguageCode;
10283
10297
  };
10284
- customAclResolver?: CustomAclResolver<T>;
10285
10298
  coreDam?: CommonAdminCoreDamOptions;
10286
10299
  image?: CommonAdminImageOptions;
10287
10300
  collab?: CommonAdminCollabOptions;
@@ -10326,7 +10339,7 @@ export declare interface ResourceNameSystemAware {
10326
10339
  _system: string;
10327
10340
  }
10328
10341
 
10329
- export declare const ROLE_SUPER_ADMIN = "ROLE_ADMIN";
10342
+ export declare const ROLE_SUPER_ADMIN = "ROLE_SUPER_ADMIN";
10330
10343
 
10331
10344
  export declare interface SortableItem<TItem = any> {
10332
10345
  key: DocId | IntegerId;
@@ -10430,8 +10443,6 @@ export declare const timePretty: (isoDate: DatetimeUTC | DatetimeUTCNullable | s
10430
10443
 
10431
10444
  export declare const timestampCurrent: () => number;
10432
10445
 
10433
- export declare function updateDamCurrentUser(client: () => AxiosInstance): Promise<unknown>;
10434
-
10435
10446
  export declare const updateDamUser: (client: () => AxiosInstance, id: number, data: DamUserUpdateDto) => Promise<DamUser>;
10436
10447
 
10437
10448
  export declare interface UploadQueue {
@@ -10510,15 +10521,6 @@ export declare type UrlParams = {
10510
10521
  [key: string]: number | string;
10511
10522
  };
10512
10523
 
10513
- /**
10514
- * @deprecated This function is deprecated and will be removed in future versions.
10515
- */
10516
- export declare function useAcl<T extends AclValue = AclValue>(options?: AclResolverConfig): {
10517
- can: (acl: T, subject?: object) => boolean;
10518
- canForAll: (acls: T[], subject?: object) => boolean;
10519
- canForSome: (acls: T[], subject?: object) => boolean;
10520
- };
10521
-
10522
10524
  export declare function useAlerts(): {
10523
10525
  showSuccess: (message: string, duration?: number) => void;
10524
10526
  showSuccessT: (translation: string, duration?: number) => void;
@@ -10938,54 +10940,6 @@ export declare function useDamConfigState(client?: undefined | (() => AxiosInsta
10938
10940
  } | undefined;
10939
10941
  };
10940
10942
 
10941
- export declare function useDamCurrentUser(): {
10942
- damCurrentUser: Ref< {
10943
- selectedLicence: {
10944
- id: number;
10945
- name: string;
10946
- extSystem: number;
10947
- } | null;
10948
- adminToExtSystems: {
10949
- id: number;
10950
- name: string;
10951
- }[];
10952
- userToExtSystems: {
10953
- id: number;
10954
- name: string;
10955
- }[];
10956
- assetLicences: {
10957
- id: number;
10958
- name: string;
10959
- extSystem: number;
10960
- }[];
10961
- person: {
10962
- firstName: string;
10963
- lastName: string;
10964
- fullName: string;
10965
- };
10966
- avatar: {
10967
- color: string;
10968
- text: string;
10969
- };
10970
- allowedAssetExternalProviders: string[];
10971
- allowedDistributionServices: string[];
10972
- id?: IntegerIdNullable | undefined;
10973
- enabled: boolean;
10974
- roles: string[];
10975
- permissionGroups: number[];
10976
- permissions: Permissions_2;
10977
- resolvedPermissions: Permissions_2;
10978
- _resourceName: string;
10979
- _system: string;
10980
- createdAt: string;
10981
- modifiedAt: string;
10982
- modifiedBy: IntegerIdNullable;
10983
- createdBy: IntegerIdNullable;
10984
- email: string;
10985
- } | undefined>;
10986
- damCurrentUserIsSuperAdmin: Ref<boolean>;
10987
- };
10988
-
10989
10943
  export declare function useDamDistributionServiceType(client: () => AxiosInstance): {
10990
10944
  allDistributionServiceTypeOptions: Ref< {
10991
10945
  value: string;