@anzusystems/common-admin 1.12.0 → 1.13.0

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.
@@ -1,4 +1,3 @@
1
- import AFormRemoteAutocompleteWithCached from './components/form/AFormRemoteAutocompleteWithCached.vue';
2
1
  import { AllowedComponentProps } from 'vue';
3
2
  import type { App } from 'vue';
4
3
  import { AxiosError } from 'axios';
@@ -2308,7 +2307,162 @@ export declare const AFormRemoteAutocomplete: DefineComponent<{
2308
2307
  disableInitFetch: boolean;
2309
2308
  }, {}>;
2310
2309
 
2311
- export { AFormRemoteAutocompleteWithCached }
2310
+ export declare const AFormRemoteAutocompleteWithCached: DefineComponent<{
2311
+ itemTitle: {
2312
+ type: PropType<string>;
2313
+ default: string;
2314
+ };
2315
+ itemValue: {
2316
+ type: PropType<string>;
2317
+ default: string;
2318
+ };
2319
+ multiple: {
2320
+ type: PropType<boolean>;
2321
+ default: boolean;
2322
+ };
2323
+ required: {
2324
+ type: PropType<boolean>;
2325
+ default: undefined;
2326
+ };
2327
+ loading: {
2328
+ type: PropType<boolean>;
2329
+ default: boolean;
2330
+ };
2331
+ modelValue: {
2332
+ type: PropType<any>;
2333
+ required: true;
2334
+ };
2335
+ label: {
2336
+ type: PropType<string>;
2337
+ default: undefined;
2338
+ };
2339
+ hideLabel: {
2340
+ type: PropType<boolean>;
2341
+ default: boolean;
2342
+ };
2343
+ clearable: {
2344
+ type: PropType<boolean>;
2345
+ default: boolean;
2346
+ };
2347
+ errorMessage: {
2348
+ type: PropType<string>;
2349
+ default: undefined;
2350
+ };
2351
+ v: {
2352
+ type: PropType<any>;
2353
+ default: null;
2354
+ };
2355
+ innerFilter: {
2356
+ type: PropType<FilterBag>;
2357
+ required: true;
2358
+ };
2359
+ filterByField: {
2360
+ type: PropType<string>;
2361
+ default: string;
2362
+ };
2363
+ filterSortBy: {
2364
+ type: PropType<string | null>;
2365
+ default: string;
2366
+ };
2367
+ fetchItemsMinimal: {
2368
+ type: PropType<FetchItemsMinimalType>;
2369
+ required: true;
2370
+ };
2371
+ useCached: {
2372
+ type: PropType<UseCachedType>;
2373
+ required: true;
2374
+ };
2375
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2376
+ "update:modelValue": (data: string | number | string[] | number[] | null | undefined) => void;
2377
+ blur: (data: string | number | string[] | number[] | null | undefined) => void;
2378
+ focus: (data: string | number | string[] | number[] | null | undefined) => void;
2379
+ searchChange: (data: string) => void;
2380
+ searchChangeDebounced: (data: string) => void;
2381
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
2382
+ itemTitle: {
2383
+ type: PropType<string>;
2384
+ default: string;
2385
+ };
2386
+ itemValue: {
2387
+ type: PropType<string>;
2388
+ default: string;
2389
+ };
2390
+ multiple: {
2391
+ type: PropType<boolean>;
2392
+ default: boolean;
2393
+ };
2394
+ required: {
2395
+ type: PropType<boolean>;
2396
+ default: undefined;
2397
+ };
2398
+ loading: {
2399
+ type: PropType<boolean>;
2400
+ default: boolean;
2401
+ };
2402
+ modelValue: {
2403
+ type: PropType<any>;
2404
+ required: true;
2405
+ };
2406
+ label: {
2407
+ type: PropType<string>;
2408
+ default: undefined;
2409
+ };
2410
+ hideLabel: {
2411
+ type: PropType<boolean>;
2412
+ default: boolean;
2413
+ };
2414
+ clearable: {
2415
+ type: PropType<boolean>;
2416
+ default: boolean;
2417
+ };
2418
+ errorMessage: {
2419
+ type: PropType<string>;
2420
+ default: undefined;
2421
+ };
2422
+ v: {
2423
+ type: PropType<any>;
2424
+ default: null;
2425
+ };
2426
+ innerFilter: {
2427
+ type: PropType<FilterBag>;
2428
+ required: true;
2429
+ };
2430
+ filterByField: {
2431
+ type: PropType<string>;
2432
+ default: string;
2433
+ };
2434
+ filterSortBy: {
2435
+ type: PropType<string | null>;
2436
+ default: string;
2437
+ };
2438
+ fetchItemsMinimal: {
2439
+ type: PropType<FetchItemsMinimalType>;
2440
+ required: true;
2441
+ };
2442
+ useCached: {
2443
+ type: PropType<UseCachedType>;
2444
+ required: true;
2445
+ };
2446
+ }>> & {
2447
+ "onUpdate:modelValue"?: ((data: string | number | string[] | number[] | null | undefined) => any) | undefined;
2448
+ onFocus?: ((data: string | number | string[] | number[] | null | undefined) => any) | undefined;
2449
+ onBlur?: ((data: string | number | string[] | number[] | null | undefined) => any) | undefined;
2450
+ onSearchChange?: ((data: string) => any) | undefined;
2451
+ onSearchChangeDebounced?: ((data: string) => any) | undefined;
2452
+ }, {
2453
+ itemTitle: string;
2454
+ itemValue: string;
2455
+ multiple: boolean;
2456
+ required: boolean;
2457
+ loading: boolean;
2458
+ label: string;
2459
+ hideLabel: boolean;
2460
+ clearable: boolean;
2461
+ errorMessage: string;
2462
+ v: any;
2463
+ filterByField: string;
2464
+ filterSortBy: string | null;
2465
+ }, {}>;
2312
2466
 
2313
2467
  export declare const AFormRemoteCheckbox: DefineComponent<{
2314
2468
  modelValue: {
@@ -4044,6 +4198,8 @@ declare type fetchItemsByIdsType = ((ids: IntegerId[]) => Promise<ValueObjectOpt
4044
4198
 
4045
4199
  declare type fetchItemsByIdsType_2 = ((ids: IntegerId[]) => Promise<ValueObjectOption<IntegerId>[]>) | ((ids: DocId[]) => Promise<ValueObjectOption<DocId>[]>);
4046
4200
 
4201
+ declare type FetchItemsMinimalType = (pagination: Pagination, filterBag: FilterBag) => Promise<any[]>;
4202
+
4047
4203
  declare interface FileAttributes {
4048
4204
  status: AssetFileProcessStatus;
4049
4205
  mimeType: string;
@@ -5465,6 +5621,12 @@ export declare function useApiQueryBuilder(): {
5465
5621
  queryBuild: () => string;
5466
5622
  };
5467
5623
 
5624
+ declare type UseCachedType = () => {
5625
+ fetch: any;
5626
+ add: any;
5627
+ addManualMinimal: any;
5628
+ };
5629
+
5468
5630
  export declare function useCommonJobFactory(): {
5469
5631
  createBase: (resourceName: JobBaseResource, system: string) => JobBase;
5470
5632
  createUserDataDelete: (system: string) => JobUserDataDelete;
@@ -1,4 +1,4 @@
1
- import { P as z, Q as k, R as v, S as j, T as G, U as M, I as x, d as J, a6 as K, ad as W, a7 as Q, e as q, a1 as X, H as Y, _ as Z, a as $, c as aa, M as ea, E as sa, a8 as ta, B as ra, C as oa, z as ia, y as na, D as Aa, J as ma, V as ba, A as la, w as pa, x as ua, t as ca, Y as Ta, u as da, W as Sa, s as ga, X as Fa, v as ya, r as Ea, l as Ca, m as Da, n as Ba, a9 as Oa, o as Ra, p as Pa, j as Ua, k as _a, q as ha, N as La, aa as Na, G as Ia, a3 as Va, F as fa, a5 as wa, ae as Ha, af as za, ah as ka, f as va, h as ja, b as Ga, ab as Ma, ac as xa, a4 as Ja, i as Ka, Z as Wa, $ as Qa, a0 as qa, a2 as Xa, K as Ya, ag as Za, O as $a, L as ae, ca as ee, cf as se, cc as te, ci as re, ck as oe, cl as ie, bW as ne, c5 as Ae, be as me, bd as be, aI as le, aH as pe, bX as ue, aw as ce, ay as Te, b$ as de, bZ as Se, c1 as ge, b_ as Fe, bY as ye, c0 as Ee, c2 as Ce, aE as De, aF as Be, aA as Oe, c4 as Re, c3 as Pe, bV as Ue, bU as _e, as as he, bG as Le, bH as Ne, bI as Ie, bJ as Ve, bK as fe, bL as we, bM as He, bA as ze, bz as ke, bx as ve, by as je, bB as Ge, ce as Me, ch as xe, c9 as Je, bw as Ke, bD as We, bC as Qe, aM as qe, ap as Xe, bs as Ye, bl as Ze, bn as $e, bq as as, bg as es, bj as ss, bi as ts, bk as rs, bh as os, bo as is, bm as ns, ar as As, bE as ms, bF as bs, c7 as ls, c8 as ps, cd as us, cb as cs, cg as Ts, cj as ds, aR as Ss, aT as gs, aD as Fs, aX as ys, aU as Es, aN as Cs, aQ as Ds, aO as Bs, aS as Os, aY as Rs, aV as Ps, a_ as Us, aP as _s, aC as hs, aZ as Ls, aW as Ns, bu as Is, cn as Vs, al as fs, bS as ws, bT as Hs, au as zs, bv as ks, b3 as vs, b2 as js, b0 as Gs, a$ as Ms, b1 as xs, bt as Js, ba as Ks, b7 as Ws, b5 as Qs, b4 as qs, b9 as Xs, b6 as Ys, b8 as Zs, bb as $s, bc as at, br as et, bf as st, bR as tt, an as rt, aJ as ot, bN as it, aG as nt, cm as At, ao as mt, ak as bt, ax as lt, az as pt, bO as ut, bP as ct, bQ as Tt, at as dt, aB as St, av as gt, ai as Ft, aj as yt, aK as Et, aL as Ct, am as Dt, aq as Bt, c6 as Ot, bp as Rt } from "./lib-fd7f57f8.js";
1
+ import { P as z, Q as k, R as v, S as j, T as G, U as M, I as x, d as J, a6 as K, ad as W, a7 as Q, e as q, a1 as X, H as Y, _ as Z, a as $, c as aa, M as ea, E as sa, a8 as ta, B as ra, C as oa, z as ia, y as na, D as Aa, J as ma, V as ba, A as la, w as pa, x as ua, t as ca, Y as Ta, u as da, W as Sa, s as ga, X as Fa, v as ya, r as Ea, l as Ca, m as Da, n as Ba, a9 as Oa, o as Ra, p as Pa, j as Ua, k as _a, q as ha, N as La, aa as Na, G as Ia, a3 as Va, F as fa, a5 as wa, ae as Ha, af as za, ah as ka, f as va, h as ja, b as Ga, ab as Ma, ac as xa, a4 as Ja, i as Ka, Z as Wa, $ as Qa, a0 as qa, a2 as Xa, K as Ya, ag as Za, O as $a, L as ae, ca as ee, cf as se, cc as te, ci as re, ck as oe, cl as ie, bW as ne, c5 as Ae, be as me, bd as be, aI as le, aH as pe, bX as ue, aw as ce, ay as Te, b$ as de, bZ as Se, c1 as ge, b_ as Fe, bY as ye, c0 as Ee, c2 as Ce, aE as De, aF as Be, aA as Oe, c4 as Re, c3 as Pe, bV as Ue, bU as _e, as as he, bG as Le, bH as Ne, bI as Ie, bJ as Ve, bK as fe, bL as we, bM as He, bA as ze, bz as ke, bx as ve, by as je, bB as Ge, ce as Me, ch as xe, c9 as Je, bw as Ke, bD as We, bC as Qe, aM as qe, ap as Xe, bs as Ye, bl as Ze, bn as $e, bq as as, bg as es, bj as ss, bi as ts, bk as rs, bh as os, bo as is, bm as ns, ar as As, bE as ms, bF as bs, c7 as ls, c8 as ps, cd as us, cb as cs, cg as Ts, cj as ds, aR as Ss, aT as gs, aD as Fs, aX as ys, aU as Es, aN as Cs, aQ as Ds, aO as Bs, aS as Os, aY as Rs, aV as Ps, a_ as Us, aP as _s, aC as hs, aZ as Ls, aW as Ns, bu as Is, cn as Vs, al as fs, bS as ws, bT as Hs, au as zs, bv as ks, b3 as vs, b2 as js, b0 as Gs, a$ as Ms, b1 as xs, bt as Js, ba as Ks, b7 as Ws, b5 as Qs, b4 as qs, b9 as Xs, b6 as Ys, b8 as Zs, bb as $s, bc as at, br as et, bf as st, bR as tt, an as rt, aJ as ot, bN as it, aG as nt, cm as At, ao as mt, ak as bt, ax as lt, az as pt, bO as ut, bP as ct, bQ as Tt, at as dt, aB as St, av as gt, ai as Ft, aj as yt, aK as Et, aL as Ct, am as Dt, aq as Bt, c6 as Ot, bp as Rt } from "./lib-ab683ff8.js";
2
2
  import { useI18n as Ut } from "vue-i18n";
3
3
  import "vue";
4
4
  import "vuetify/lib/components/VChip/index.mjs";
@@ -4462,7 +4462,7 @@ const tu = {
4462
4462
  },
4463
4463
  { immediate: !0 }
4464
4464
  ), Ur(() => {
4465
- import("./shortcut-buttons-flatpickr-a5e8cbdf.js").then((b) => b.s).then((b) => {
4465
+ import("./shortcut-buttons-flatpickr-73d1cddc.js").then((b) => b.s).then((b) => {
4466
4466
  i.value = b.default, s.value = !0;
4467
4467
  });
4468
4468
  }), (b, O) => (v(), T(Wr, {
@@ -9713,7 +9713,7 @@ function JV(t, r, e, i) {
9713
9713
  return A === -1 ? null : A;
9714
9714
  }, B = (V, q, A, g = null) => {
9715
9715
  V.data = xe(q), ue(A) || (V.data.position = A), ue(g) || K(q.id);
9716
- }, k = (V, q, A, g = null) => {
9716
+ }, k = (V, q, A = null, g = null) => {
9717
9717
  const C = xe(t.value), b = M(V, C);
9718
9718
  !ue(b) && C[b] && (B(C[b], q, A, g), X(C));
9719
9719
  }, G = (V, q, A, g = null) => {
@@ -9835,12 +9835,7 @@ const ZV = ["id"], QV = { class: "a-sortable-widget__content" }, ef = { class: "
9835
9835
  addAfterIndex: R,
9836
9836
  removeByIndex: E,
9837
9837
  updateDataAtIndex: V
9838
- } = JV(
9839
- s,
9840
- u,
9841
- i,
9842
- e
9843
- );
9838
+ } = JV(s, u, i, e);
9844
9839
  return Ls(() => {
9845
9840
  M();
9846
9841
  }), ur(() => {
@@ -10236,7 +10231,7 @@ function nf(t, r, e) {
10236
10231
  }
10237
10232
  return u(E), A;
10238
10233
  },
10239
- updateData: (R, E, V, q, A = null, g = void 0) => {
10234
+ updateData: (R, E, V = null, q = null, A = null, g = void 0) => {
10240
10235
  const C = xe(t.value), { itemFound: b } = G(R, C.children);
10241
10236
  b && (b.data = xe(E), ue(V) || (b.children = V), ue(q) || (b.data.position = q), ue(A) || (b.meta.dirty = A), !ue(A) && A === !0 && (C.meta.dirty = !0), w(g) || (b.data.parent = g), u(C));
10242
10237
  }
@@ -12023,7 +12018,7 @@ function pA(t, r, e, i = "id") {
12023
12018
  };
12024
12019
  }
12025
12020
  async function AA() {
12026
- (await import("./webfontloader-7a1fa310.js").then((r) => r.w)).load({
12021
+ (await import("./webfontloader-0d5777d1.js").then((r) => r.w)).load({
12027
12022
  google: {
12028
12023
  families: ["Roboto:100,300,400,500,700,900&display=swap"]
12029
12024
  }
@@ -12287,4 +12282,4 @@ export {
12287
12282
  Rr as y,
12288
12283
  Bm as z
12289
12284
  };
12290
- //# sourceMappingURL=lib-fd7f57f8.js.map
12285
+ //# sourceMappingURL=lib-ab683ff8.js.map