@anzusystems/common-admin 1.47.0-beta.dev-1784059879-fix1 → 1.47.0-beta.dev-1788935854
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-f8Kz2DT2.mjs +9455 -0
- package/dist/AFormRemoteAutocomplete-f8Kz2DT2.mjs.map +1 -0
- package/dist/common-admin.css +2 -1
- package/dist/common-admin.css.d.ts +6 -0
- package/dist/common-admin.d.ts +829 -20
- package/dist/common-admin.js +23993 -23871
- package/dist/common-admin.js.map +1 -1
- package/dist/esm-BJSr9Mys.mjs +18190 -0
- package/dist/esm-BJSr9Mys.mjs.map +1 -0
- package/dist/labs.d.ts +29 -3
- package/dist/labs.js +3190 -3518
- package/dist/labs.js.map +1 -1
- package/dist/webfontloader-Dw7pJgKj.mjs +485 -0
- package/dist/webfontloader-Dw7pJgKj.mjs.map +1 -0
- package/package.json +40 -36
- package/src/eslint/oxlint.mjs +30 -0
- package/src/eslint/plugin.mjs +39 -28
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DAnD88NB.mjs +0 -10084
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DAnD88NB.mjs.map +0 -1
- package/dist/index-2jGSo7Ju.mjs +0 -22165
- package/dist/index-2jGSo7Ju.mjs.map +0 -1
- package/dist/webfontloader-CZqOgyx0.mjs +0 -454
- package/dist/webfontloader-CZqOgyx0.mjs.map +0 -1
package/dist/labs.d.ts
CHANGED
|
@@ -75,7 +75,9 @@ declare const __VLS_base_3: DefineComponent<__VLS_PublicProps_2, {
|
|
|
75
75
|
store: FilterStoreIdentifier | boolean;
|
|
76
76
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
77
77
|
|
|
78
|
-
declare const __VLS_base_4: DefineComponent<__VLS_Props_9, {
|
|
78
|
+
declare const __VLS_base_4: DefineComponent<__VLS_Props_9, {
|
|
79
|
+
onClear: () => void;
|
|
80
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
79
81
|
change: () => any;
|
|
80
82
|
}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
|
|
81
83
|
onChange?: (() => any) | undefined;
|
|
@@ -105,9 +107,9 @@ declare const __VLS_base_5: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {},
|
|
|
105
107
|
"onUpdate:loadingLocal"?: ((value: boolean) => any) | undefined;
|
|
106
108
|
"onUpdate:fetchedItemsMinimal"?: ((value: Map<string | number, any>) => any) | undefined;
|
|
107
109
|
}>, {
|
|
108
|
-
loading: boolean;
|
|
109
110
|
required: boolean;
|
|
110
111
|
label: string;
|
|
112
|
+
loading: boolean;
|
|
111
113
|
clearable: boolean;
|
|
112
114
|
errorMessage: string;
|
|
113
115
|
v: any;
|
|
@@ -141,7 +143,9 @@ declare const __VLS_export_12: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, C
|
|
|
141
143
|
change: () => any;
|
|
142
144
|
}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{
|
|
143
145
|
onChange?: (() => any) | undefined;
|
|
144
|
-
}>, {
|
|
146
|
+
}>, {
|
|
147
|
+
dataCy: string;
|
|
148
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
145
149
|
|
|
146
150
|
declare const __VLS_export_13: DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
147
151
|
"update:modelValue": (value: number) => any;
|
|
@@ -594,6 +598,7 @@ declare type __VLS_Props = {
|
|
|
594
598
|
declare type __VLS_Props_10 = {
|
|
595
599
|
name: string;
|
|
596
600
|
items: ValueObjectOption<string | number>[];
|
|
601
|
+
dataCy?: string;
|
|
597
602
|
};
|
|
598
603
|
|
|
599
604
|
declare type __VLS_Props_11 = {
|
|
@@ -865,6 +870,17 @@ declare interface BaseUser {
|
|
|
865
870
|
};
|
|
866
871
|
}
|
|
867
872
|
|
|
873
|
+
/**
|
|
874
|
+
* Hash for a filter link, with values equal to their default left out.
|
|
875
|
+
*
|
|
876
|
+
* Pair it with `router.push({ name, hash })`, which needs the leading `#` — without it vue-router
|
|
877
|
+
* glues the value onto the path instead. A hash still containing `%` (diacritics, `&`, `=`) does
|
|
878
|
+
* not survive that trip; check with `isRouterSafeHash` and fall back to assigning
|
|
879
|
+
* `window.location.hash` after navigating. Returns an empty string when nothing differs from
|
|
880
|
+
* the defaults.
|
|
881
|
+
*/
|
|
882
|
+
export declare function buildFilterHash<F extends readonly MakeFilterOption<string>[]>(filterConfig: FilterConfig<F>, filters: Partial<Record<keyof FilterData<F> & string, AllowedFilterValues>>, sortBy?: DatatableSortBy): string;
|
|
883
|
+
|
|
868
884
|
/**
|
|
869
885
|
* `_unresolved` is terminal: the fetch settled without resolving the item, either because
|
|
870
886
|
* it failed or because the server did not return it.
|
|
@@ -1176,6 +1192,9 @@ declare type IntegerId = number;
|
|
|
1176
1192
|
*/
|
|
1177
1193
|
declare type IntegerIdNullable = number | null;
|
|
1178
1194
|
|
|
1195
|
+
/** Whether `router.push({ hash })` would leave the hash intact — see `buildFilterHash`. */
|
|
1196
|
+
export declare const isRouterSafeHash: (hash: string) => boolean;
|
|
1197
|
+
|
|
1179
1198
|
declare const JOB_RESOURCE_USER_DATA_DELETE = "jobUserDataDelete";
|
|
1180
1199
|
|
|
1181
1200
|
declare interface JobBase<T extends JobBaseResource = JobBaseResource> extends AnzuUserAndTimeTrackingAware {
|
|
@@ -2591,6 +2610,13 @@ declare interface UseUnsavedChangesGuardApi {
|
|
|
2591
2610
|
* next unrelated navigation. Consuming it (a real leave) clears the timer.
|
|
2592
2611
|
*/
|
|
2593
2612
|
acknowledge: () => void;
|
|
2613
|
+
/**
|
|
2614
|
+
* Releases what the guard registered imperatively — `beforeunload` listener, acknowledge timer,
|
|
2615
|
+
* dialog watcher — and settles an open prompt as "stay". Idempotent, and called automatically on
|
|
2616
|
+
* unmount; outside a component it is the only way to clean up. The route-leave guard is
|
|
2617
|
+
* lifecycle-bound and unaffected.
|
|
2618
|
+
*/
|
|
2619
|
+
stop: () => void;
|
|
2594
2620
|
/**
|
|
2595
2621
|
* Cancel a pending `acknowledge()` (disarm). Call from a delete's failure path
|
|
2596
2622
|
* so a failed/aborted delete restores the guard immediately instead of waiting
|