@anzusystems/common-admin 1.47.0-beta.dev-1778753795 → 1.47.0-beta.dev-1778753798

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/labs.d.ts CHANGED
@@ -73,6 +73,45 @@ declare const __VLS_base_3: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, Compo
73
73
  allowed: TimeIntervalToolsValue[];
74
74
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
75
75
 
76
+ declare const __VLS_base_4: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
77
+ "update:search": (value: string) => any;
78
+ "update:loadingLocal": (value: boolean) => any;
79
+ "update:fetchedItemsMinimal": (value: Map<string | number, any>) => any;
80
+ } & {
81
+ blur: (data: string | number | string[] | number[] | null | undefined) => any;
82
+ focus: (data: string | number | string[] | number[] | null | undefined) => any;
83
+ "update:modelValue": (data: string | number | string[] | number[] | null | undefined) => any;
84
+ searchChange: (data: string) => any;
85
+ searchChangeDebounced: (data: string) => any;
86
+ }, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
87
+ onBlur?: ((data: string | number | string[] | number[] | null | undefined) => any) | undefined;
88
+ onFocus?: ((data: string | number | string[] | number[] | null | undefined) => any) | undefined;
89
+ "onUpdate:modelValue"?: ((data: string | number | string[] | number[] | null | undefined) => any) | undefined;
90
+ onSearchChange?: ((data: string) => any) | undefined;
91
+ onSearchChangeDebounced?: ((data: string) => any) | undefined;
92
+ "onUpdate:search"?: ((value: string) => any) | undefined;
93
+ "onUpdate:loadingLocal"?: ((value: boolean) => any) | undefined;
94
+ "onUpdate:fetchedItemsMinimal"?: ((value: Map<string | number, any>) => any) | undefined;
95
+ }>, {
96
+ loading: boolean;
97
+ required: boolean;
98
+ label: string;
99
+ clearable: boolean;
100
+ errorMessage: string;
101
+ v: any;
102
+ hideLabel: boolean;
103
+ multiple: boolean;
104
+ itemTitle: string;
105
+ itemValue: string;
106
+ filterByField: string;
107
+ filterSortBy: {
108
+ key: string;
109
+ order: SortOrderType;
110
+ } | null;
111
+ minSearchChars: number;
112
+ minSearchText: string;
113
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
114
+
76
115
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
77
116
 
78
117
  declare const __VLS_export_10: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
@@ -163,7 +202,9 @@ declare const __VLS_export_13: <T extends string | number>(__VLS_props: NonNulla
163
202
  __ctx?: Awaited<typeof __VLS_setup>;
164
203
  };
165
204
 
166
- declare const __VLS_export_14: <TItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_3<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
205
+ declare const __VLS_export_14: __VLS_WithSlots_4<typeof __VLS_base_4, __VLS_Slots_4>;
206
+
207
+ declare const __VLS_export_15: <TItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_3<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
167
208
  props: PublicProps & __VLS_PrettifyLocal_3<{
168
209
  selectedItems: Array<TItem>;
169
210
  pagination: Pagination;
@@ -224,7 +265,7 @@ declare const __VLS_export_14: <TItem>(__VLS_props: NonNullable<Awaited<typeof _
224
265
  __ctx?: Awaited<typeof __VLS_setup>;
225
266
  };
226
267
 
227
- declare const __VLS_export_15: <TItem extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_4<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
268
+ declare const __VLS_export_16: <TItem extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_4<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
228
269
  props: PublicProps & __VLS_PrettifyLocal_4<(Props<TItem> & {
229
270
  modelValue: TItem[];
230
271
  unsavedKeys?: Set<ListEditorKey>;
@@ -271,7 +312,7 @@ declare const __VLS_export_15: <TItem extends Record<string, any>>(__VLS_props:
271
312
  __ctx?: Awaited<typeof __VLS_setup>;
272
313
  };
273
314
 
274
- declare const __VLS_export_16: <TItem extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_5<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
315
+ declare const __VLS_export_17: <TItem extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_5<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
275
316
  props: PublicProps & __VLS_PrettifyLocal_5<(Props_2<TItem> & {
276
317
  modelValue: TItem[];
277
318
  mode?: ReorderMode;
@@ -331,7 +372,7 @@ declare const __VLS_export_16: <TItem extends Record<string, any>>(__VLS_props:
331
372
  __ctx?: Awaited<typeof __VLS_setup>;
332
373
  };
333
374
 
334
- declare const __VLS_export_17: <TItem extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_6<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
375
+ declare const __VLS_export_18: <TItem extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_6<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
335
376
  props: PublicProps & __VLS_PrettifyLocal_6<(Props_3<TItem> & {
336
377
  modelValue: NestedTree<TItem>;
337
378
  mode?: ReorderMode_2;
@@ -412,10 +453,10 @@ declare const __VLS_export_17: <TItem extends Record<string, any>>(__VLS_props:
412
453
  __ctx?: Awaited<typeof __VLS_setup>;
413
454
  };
414
455
 
415
- declare const __VLS_export_18: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
456
+ declare const __VLS_export_19: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
416
457
  "update:modelValue": (value: boolean) => any;
417
458
  resolve: (discard: boolean) => any;
418
- }, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
459
+ }, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
419
460
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
420
461
  onResolve?: ((discard: boolean) => any) | undefined;
421
462
  }>, {
@@ -521,6 +562,12 @@ declare type __VLS_ModelProps_3 = {
521
562
  };
522
563
 
523
564
  declare type __VLS_ModelProps_4 = {
565
+ 'search'?: string;
566
+ 'loadingLocal'?: boolean;
567
+ 'fetchedItemsMinimal': Map<IntegerId | DocId, any>;
568
+ };
569
+
570
+ declare type __VLS_ModelProps_5 = {
524
571
  modelValue: boolean;
525
572
  };
526
573
 
@@ -582,7 +629,27 @@ declare type __VLS_Props_11 = {
582
629
  hideRecordsPerPage?: boolean;
583
630
  };
584
631
 
585
- declare type __VLS_Props_12 = Props_4;
632
+ declare type __VLS_Props_12 = {
633
+ modelValue: any;
634
+ label?: string | undefined;
635
+ required?: boolean;
636
+ multiple?: boolean;
637
+ clearable?: boolean;
638
+ v?: any;
639
+ errorMessage?: string;
640
+ hideLabel?: boolean;
641
+ fetchItemsMinimal: FetchItemsMinimalType_2;
642
+ filterByField?: string;
643
+ filterSortBy?: DatatableSortBy;
644
+ loading?: boolean;
645
+ useCached: UseCachedType;
646
+ itemTitle?: string;
647
+ itemValue?: string;
648
+ minSearchChars?: number;
649
+ minSearchText?: string | undefined;
650
+ };
651
+
652
+ declare type __VLS_Props_13 = Props_4;
586
653
 
587
654
  declare type __VLS_Props_2 = {
588
655
  hideButtons?: boolean;
@@ -652,6 +719,8 @@ declare type __VLS_PublicProps_3 = __VLS_Props_10 & __VLS_ModelProps_3;
652
719
 
653
720
  declare type __VLS_PublicProps_4 = __VLS_Props_12 & __VLS_ModelProps_4;
654
721
 
722
+ declare type __VLS_PublicProps_5 = __VLS_Props_13 & __VLS_ModelProps_5;
723
+
655
724
  declare type __VLS_Slots = {} & {
656
725
  [K in NonNullable<typeof __VLS_123>]?: (props: typeof __VLS_124) => any;
657
726
  } & {
@@ -680,6 +749,10 @@ declare type __VLS_Slots_3 = {} & {
680
749
  title?: (props: typeof __VLS_45) => any;
681
750
  };
682
751
 
752
+ declare type __VLS_Slots_4 = {} & {
753
+ 'append-item'?: (props: typeof __VLS_14) => any;
754
+ };
755
+
683
756
  declare type __VLS_WithSlots<T, S> = T & {
684
757
  new (): {
685
758
  $slots: S;
@@ -698,6 +771,12 @@ declare type __VLS_WithSlots_3<T, S> = T & {
698
771
  };
699
772
  };
700
773
 
774
+ declare type __VLS_WithSlots_4<T, S> = T & {
775
+ new (): {
776
+ $slots: S;
777
+ };
778
+ };
779
+
701
780
  export declare const ADatatableOrdering: typeof __VLS_export_11;
702
781
 
703
782
  export declare const ADatatablePagination: typeof __VLS_export_12;
@@ -757,11 +836,13 @@ export declare const AFilterWrapperSubjectSelect: typeof __VLS_export_2;
757
836
 
758
837
  export declare const AFormRemoteAutocomplete: typeof __VLS_export_13;
759
838
 
760
- export declare const AListEditor: typeof __VLS_export_15;
839
+ export declare const AFormRemoteAutocompleteWithCached: typeof __VLS_export_14;
840
+
841
+ export declare const AListEditor: typeof __VLS_export_16;
761
842
 
762
843
  declare type AllowedFilterValues = number | number[] | string | string[] | null | undefined | boolean;
763
844
 
764
- export declare const ANestedSortableListEditor: typeof __VLS_export_17;
845
+ export declare const ANestedSortableListEditor: typeof __VLS_export_18;
765
846
 
766
847
  declare interface AnzuUserAndTimeTrackingAware extends CreatedByAware {
767
848
  createdAt: DatetimeUTC;
@@ -773,11 +854,11 @@ declare interface AnzuUserMinimal extends BaseUser {
773
854
  id: IntegerId;
774
855
  }
775
856
 
776
- export declare const ASortableListEditor: typeof __VLS_export_16;
857
+ export declare const ASortableListEditor: typeof __VLS_export_17;
777
858
 
778
- export declare const ASubjectSelect: typeof __VLS_export_14;
859
+ export declare const ASubjectSelect: typeof __VLS_export_15;
779
860
 
780
- export declare const AUnsavedConfirmDialog: typeof __VLS_export_18;
861
+ export declare const AUnsavedConfirmDialog: typeof __VLS_export_19;
781
862
 
782
863
  export declare type AxiosClientFn = () => AxiosInstance;
783
864
 
@@ -947,6 +1028,8 @@ declare type FetchItemsMinimalByIdsType = ((ids: IntegerId[]) => Promise<any[]>)
947
1028
 
948
1029
  declare type FetchItemsMinimalType = (pagination: Ref<Pagination>, filterData: FilterData, filterConfig: FilterConfig) => Promise<any[]>;
949
1030
 
1031
+ declare type FetchItemsMinimalType_2 = (pagination: Ref<Pagination>, filterData: FilterData, filterConfig: FilterConfig) => Promise<any[]>;
1032
+
950
1033
  declare type FetchListBatchParams = {
951
1034
  urlTemplate?: string;
952
1035
  urlParams?: UrlParams;
@@ -1706,6 +1789,12 @@ declare type UseApiRequestParams = {
1706
1789
  silentConsoleError?: boolean;
1707
1790
  };
1708
1791
 
1792
+ declare type UseCachedType = () => {
1793
+ fetch: any;
1794
+ add: any;
1795
+ addManualMinimal: any;
1796
+ };
1797
+
1709
1798
  export declare function useFilterHelpers<F extends readonly MakeFilterOption<string>[] = readonly MakeFilterOption<string>[]>(filterData: FilterData<F>, filterConfig: FilterConfig<F>, moreOptions?: Partial<FilterHelpersMoreOptions>): {
1710
1799
  loadStoredFilters: (pagination: Ref<Pagination>, callback?: AnyFn) => boolean;
1711
1800
  resetFilter: (pagination: Ref<Pagination>, callback?: AnyFn) => void;