@anzusystems/common-admin 1.47.0-beta.dev-1778754002 → 1.47.0-beta.dev-1778754004
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/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-Bkvi5ifJ.mjs +9517 -0
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-Bkvi5ifJ.mjs.map +1 -0
- package/dist/common-admin.d.ts +57 -19
- package/dist/common-admin.js +2139 -2112
- package/dist/common-admin.js.map +1 -1
- package/dist/labs.d.ts +145 -5
- package/dist/labs.js +1649 -1616
- package/dist/labs.js.map +1 -1
- package/dist/{webfontloader-Bqk6aJ9o.mjs → webfontloader-BAw7I9Gb.mjs} +2 -2
- package/dist/{webfontloader-Bqk6aJ9o.mjs.map → webfontloader-BAw7I9Gb.mjs.map} +1 -1
- package/package.json +11 -11
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DC3kxupe.mjs +0 -9409
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DC3kxupe.mjs.map +0 -1
package/dist/common-admin.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { AxiosError } from 'axios';
|
|
|
3
3
|
import { AxiosInstance } from 'axios';
|
|
4
4
|
import { AxiosRequestConfig } from 'axios';
|
|
5
5
|
import { CancelTokenSource } from 'axios';
|
|
6
|
+
import { Component } from 'vue';
|
|
6
7
|
import { ComponentOptionsMixin } from 'vue';
|
|
7
8
|
import { ComponentProvideOptions } from 'vue';
|
|
8
9
|
import { ComputedRef } from 'vue';
|
|
@@ -2735,11 +2736,11 @@ declare type __VLS_Slots = {} & {
|
|
|
2735
2736
|
};
|
|
2736
2737
|
|
|
2737
2738
|
declare type __VLS_Slots_10 = {} & {
|
|
2738
|
-
locked?: (props: typeof
|
|
2739
|
+
locked?: (props: typeof __VLS_15) => any;
|
|
2739
2740
|
};
|
|
2740
2741
|
|
|
2741
2742
|
declare type __VLS_Slots_11 = {} & {
|
|
2742
|
-
locked?: (props: typeof
|
|
2743
|
+
locked?: (props: typeof __VLS_13) => any;
|
|
2743
2744
|
};
|
|
2744
2745
|
|
|
2745
2746
|
declare type __VLS_Slots_12 = {} & {
|
|
@@ -2753,7 +2754,7 @@ declare type __VLS_Slots_12 = {} & {
|
|
|
2753
2754
|
};
|
|
2754
2755
|
|
|
2755
2756
|
declare type __VLS_Slots_13 = {} & {
|
|
2756
|
-
'append-inner'?: (props: typeof
|
|
2757
|
+
'append-inner'?: (props: typeof __VLS_71) => any;
|
|
2757
2758
|
};
|
|
2758
2759
|
|
|
2759
2760
|
declare type __VLS_Slots_14 = {} & {
|
|
@@ -2787,7 +2788,7 @@ declare type __VLS_Slots_18 = {} & {
|
|
|
2787
2788
|
};
|
|
2788
2789
|
|
|
2789
2790
|
declare type __VLS_Slots_19 = {} & {
|
|
2790
|
-
'append-item'?: (props: typeof
|
|
2791
|
+
'append-item'?: (props: typeof __VLS_14) => any;
|
|
2791
2792
|
};
|
|
2792
2793
|
|
|
2793
2794
|
declare type __VLS_Slots_2 = {} & {
|
|
@@ -2815,9 +2816,9 @@ declare type __VLS_Slots_21 = {} & {
|
|
|
2815
2816
|
};
|
|
2816
2817
|
|
|
2817
2818
|
declare type __VLS_Slots_22 = {} & {
|
|
2818
|
-
item?: (props: typeof
|
|
2819
|
+
item?: (props: typeof __VLS_13) => any;
|
|
2819
2820
|
} & {
|
|
2820
|
-
buttons?: (props: typeof
|
|
2821
|
+
buttons?: (props: typeof __VLS_16) => any;
|
|
2821
2822
|
};
|
|
2822
2823
|
|
|
2823
2824
|
declare type __VLS_Slots_23 = {} & {
|
|
@@ -2827,13 +2828,13 @@ declare type __VLS_Slots_23 = {} & {
|
|
|
2827
2828
|
};
|
|
2828
2829
|
|
|
2829
2830
|
declare type __VLS_Slots_24 = {} & {
|
|
2830
|
-
append?: (props: typeof
|
|
2831
|
+
append?: (props: typeof __VLS_13) => any;
|
|
2831
2832
|
};
|
|
2832
2833
|
|
|
2833
2834
|
declare type __VLS_Slots_25 = {} & {
|
|
2834
|
-
append?: (props: typeof
|
|
2835
|
+
append?: (props: typeof __VLS_161) => any;
|
|
2835
2836
|
} & {
|
|
2836
|
-
'asset-select-sidebar-prepend'?: (props: typeof
|
|
2837
|
+
'asset-select-sidebar-prepend'?: (props: typeof __VLS_183) => any;
|
|
2837
2838
|
};
|
|
2838
2839
|
|
|
2839
2840
|
declare type __VLS_Slots_26 = {} & {
|
|
@@ -2861,7 +2862,7 @@ declare type __VLS_Slots_3 = {} & {
|
|
|
2861
2862
|
};
|
|
2862
2863
|
|
|
2863
2864
|
declare type __VLS_Slots_30 = {} & {
|
|
2864
|
-
activator?: (props: typeof
|
|
2865
|
+
activator?: (props: typeof __VLS_9) => any;
|
|
2865
2866
|
};
|
|
2866
2867
|
|
|
2867
2868
|
declare type __VLS_Slots_31 = {} & {
|
|
@@ -2887,9 +2888,9 @@ declare type __VLS_Slots_33 = {} & {
|
|
|
2887
2888
|
} & {
|
|
2888
2889
|
filter?: (props: typeof __VLS_18) => any;
|
|
2889
2890
|
} & {
|
|
2890
|
-
'sidebar-prepend'?: (props: typeof
|
|
2891
|
+
'sidebar-prepend'?: (props: typeof __VLS_83) => any;
|
|
2891
2892
|
} & {
|
|
2892
|
-
'sidebar-prepend'?: (props: typeof
|
|
2893
|
+
'sidebar-prepend'?: (props: typeof __VLS_125) => any;
|
|
2893
2894
|
};
|
|
2894
2895
|
|
|
2895
2896
|
declare type __VLS_Slots_34 = {} & {
|
|
@@ -2907,21 +2908,21 @@ declare type __VLS_Slots_4 = {} & {
|
|
|
2907
2908
|
};
|
|
2908
2909
|
|
|
2909
2910
|
declare type __VLS_Slots_5 = {} & {
|
|
2910
|
-
locked?: (props: typeof
|
|
2911
|
+
locked?: (props: typeof __VLS_16) => any;
|
|
2911
2912
|
} & {
|
|
2912
|
-
prepend?: (props: typeof
|
|
2913
|
+
prepend?: (props: typeof __VLS_24) => any;
|
|
2913
2914
|
};
|
|
2914
2915
|
|
|
2915
2916
|
declare type __VLS_Slots_6 = {} & {
|
|
2916
|
-
locked?: (props: typeof
|
|
2917
|
+
locked?: (props: typeof __VLS_16) => any;
|
|
2917
2918
|
} & {
|
|
2918
|
-
prepend?: (props: typeof
|
|
2919
|
+
prepend?: (props: typeof __VLS_24) => any;
|
|
2919
2920
|
} & {
|
|
2920
|
-
counter?: (props: typeof
|
|
2921
|
+
counter?: (props: typeof __VLS_27) => any;
|
|
2921
2922
|
};
|
|
2922
2923
|
|
|
2923
2924
|
declare type __VLS_Slots_7 = {} & {
|
|
2924
|
-
locked?: (props: typeof
|
|
2925
|
+
locked?: (props: typeof __VLS_14) => any;
|
|
2925
2926
|
};
|
|
2926
2927
|
|
|
2927
2928
|
declare type __VLS_Slots_8 = {} & {
|
|
@@ -2929,7 +2930,7 @@ declare type __VLS_Slots_8 = {} & {
|
|
|
2929
2930
|
};
|
|
2930
2931
|
|
|
2931
2932
|
declare type __VLS_Slots_9 = {} & {
|
|
2932
|
-
locked?: (props: typeof
|
|
2933
|
+
locked?: (props: typeof __VLS_29) => any;
|
|
2933
2934
|
};
|
|
2934
2935
|
|
|
2935
2936
|
declare type __VLS_WithSlots<T, S> = T & {
|
|
@@ -3796,6 +3797,8 @@ declare type ButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'icon';
|
|
|
3796
3797
|
|
|
3797
3798
|
declare type ButtonVariantText = 'primary' | 'secondary' | 'tertiary';
|
|
3798
3799
|
|
|
3800
|
+
export declare type CachedChipId = null | undefined | IntegerId | DocId;
|
|
3801
|
+
|
|
3799
3802
|
export declare type CachedItem<T extends object> = T & {
|
|
3800
3803
|
_loaded: boolean;
|
|
3801
3804
|
};
|
|
@@ -4176,6 +4179,41 @@ declare const commonConfig: {
|
|
|
4176
4179
|
};
|
|
4177
4180
|
};
|
|
4178
4181
|
|
|
4182
|
+
/**
|
|
4183
|
+
* Builds a cached-entity chip from a domain's cache composable + route, so each
|
|
4184
|
+
* per-domain `CachedXChip.vue` collapses to a single factory call instead of a
|
|
4185
|
+
* full SFC re-binding `ACachedChip`. Caller-passed attributes (`size`, `color`,
|
|
4186
|
+
* `disable-click`, …) and slots fall through to `ACachedChip`.
|
|
4187
|
+
*
|
|
4188
|
+
* Use in an SFC's plain `<script lang="ts">` (not `setup`):
|
|
4189
|
+
* ```ts
|
|
4190
|
+
* export default createCachedChip({
|
|
4191
|
+
* useGetCachedFn: () => useCachedDesks().getCachedDesk,
|
|
4192
|
+
* route: '/(cms)/desks/[id]',
|
|
4193
|
+
* displayTextPath: 'name',
|
|
4194
|
+
* })
|
|
4195
|
+
* ```
|
|
4196
|
+
*/
|
|
4197
|
+
export declare function createCachedChip(options: CreateCachedChipOptions): Component;
|
|
4198
|
+
|
|
4199
|
+
export declare interface CreateCachedChipOptions {
|
|
4200
|
+
/**
|
|
4201
|
+
* Composable returning the per-id cache getter — invoked inside the chip's
|
|
4202
|
+
* setup so the backing cache store resolves in component scope. The `id`
|
|
4203
|
+
* param is `any` to match `ACachedChip` and accept both numeric- and
|
|
4204
|
+
* doc-id getters regardless of their exact parameter type.
|
|
4205
|
+
*/
|
|
4206
|
+
useGetCachedFn: () => (id: any) => unknown;
|
|
4207
|
+
/** Named route the chip links to (e.g. `'/(cms)/desks/[id]'`). */
|
|
4208
|
+
route: string;
|
|
4209
|
+
/** Dot-path into the cached entity for the chip label (e.g. `'name'`). */
|
|
4210
|
+
displayTextPath: string;
|
|
4211
|
+
/** Static props baked onto every instance (e.g. a fixed `textOnly`). */
|
|
4212
|
+
chipProps?: Record<string, unknown>;
|
|
4213
|
+
/** Component name for devtools / warnings. */
|
|
4214
|
+
name?: string;
|
|
4215
|
+
}
|
|
4216
|
+
|
|
4179
4217
|
export declare function createDatatableColumnsConfig(config: ColumnConfig[], columnsHidden: Ref<Array<string>>, system?: string | undefined, subject?: string | undefined, disableActions?: boolean, customInitialPagination?: Pagination | undefined, customI18n?: undefined | any, showExpand?: undefined | boolean, storeId?: string | undefined): {
|
|
4180
4218
|
columnsAll: {
|
|
4181
4219
|
key: string;
|