@anzusystems/common-admin 1.47.0-beta.dev-1782072399 → 1.47.0-beta.dev-1782072599

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.
@@ -1075,7 +1075,7 @@ declare const __VLS_export_43: <TAclValue extends AclValue>(__VLS_props: NonNull
1075
1075
  };
1076
1076
  emit: {};
1077
1077
  }>) => VNode & {
1078
- __ctx?: Awaited<typeof __VLS_setup>;
1078
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
1079
1079
  };
1080
1080
 
1081
1081
  declare const __VLS_export_44: __VLS_WithSlots_17<typeof __VLS_base_17, __VLS_Slots_17>;
@@ -1383,7 +1383,7 @@ declare const __VLS_export_75: <TItem>(__VLS_props: NonNullable<Awaited<typeof _
1383
1383
  (e: "onFetchNextPage"): void;
1384
1384
  };
1385
1385
  }>) => VNode & {
1386
- __ctx?: Awaited<typeof __VLS_setup>;
1386
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
1387
1387
  };
1388
1388
 
1389
1389
  declare const __VLS_export_76: __VLS_WithSlots_23<typeof __VLS_base_23, __VLS_Slots_23>;
@@ -1530,7 +1530,7 @@ declare const __VLS_export_88: <T extends EventTarget = EventTarget>(__VLS_props
1530
1530
  slots: {};
1531
1531
  emit: {};
1532
1532
  }>) => VNode & {
1533
- __ctx?: Awaited<typeof __VLS_setup>;
1533
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
1534
1534
  };
1535
1535
 
1536
1536
  declare const __VLS_export_89: DefineComponent<__VLS_Props_81, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_81> & Readonly<{}>, {
@@ -1594,7 +1594,7 @@ declare const __VLS_export_97: <TItem = Record<string, unknown>>(__VLS_props: No
1594
1594
  };
1595
1595
  emit: (e: "click:row", data: any) => void;
1596
1596
  }>) => VNode & {
1597
- __ctx?: Awaited<typeof __VLS_setup>;
1597
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
1598
1598
  };
1599
1599
 
1600
1600
  declare const __VLS_export_98: DefineComponent<__VLS_Props_89, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
@@ -2,8 +2,8 @@ import { defineComponent as H, computed as I, openBlock as V, createBlock as x,
2
2
  import { useI18n as se } from "vue-i18n";
3
3
  import { useI18n as R3 } from "vue-i18n";
4
4
  import { VChip as $t } from "vuetify/components/VChip";
5
- import { _ as oa, u as Ma, i as Me, a as ti, C as Jt, b as Qt, S as is, c as os, d as _, s as bs, e as ga, f as wt, g as De, h as ne, j as la, k as Ou, l as Tt, m as Qe, n as qs, o as je, p as ot, q as Ml, r as So, t as ju, v as Hu, w as $l, x as ta, y as xr, z as Gs, A as $a, B as Wu, D as Gu, E as Bt, F as zo, G as Bl, H as Wt, I as Zu, J as Ti, K as Ju, L as Wr, M as Pl, N as _l, O as zl, P as Ll, Q as Rl, R as Ul, T as Nl, U as Ol, V as jl, W as xt, X as bo, Y as xo, Z as En, $ as Mn, a0 as Qu, a1 as Hl, a2 as Di, a3 as Wl, a4 as Gl, a5 as Cr, a6 as ec, a7 as kr, a8 as Ba, a9 as Pa, aa as xs, ab as Cs, ac as rs, ad as ks, ae as Is, af as ws, ag as pa, ah as _a, ai as za, aj as ai, ak as Ei, al as Mi, am as $i, an as Bi, ao as Pi, ap as Zl, aq as Jl, ar as Lo, as as Ql, at as Ir, au as tc, av as ed, aw as td, ax as ac, ay as La, az as Ra, aA as Gr, aB as sc, aC as ic, aD as wr, aE as nr, aF as oc, aG as ad, aH as sd, aI as id, aJ as rc, aK as Ss, aL as od, aM as nc, aN as Sr, aO as rd, aP as lc, aQ as $n, aR as ps, aS as dc, aT as uc, aU as cc, aV as nd, aW as Bn, aX as mc, aY as Kr, aZ as fc, a_ as Vc, a$ as vc, b0 as gc, b1 as pc, b2 as Fc, b3 as hc, b4 as qc, b5 as ld, b6 as yc, b7 as Pn, b8 as so, b9 as _n, ba as zn, bb as Zr } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-CDFIJFqU.mjs";
6
- import { bc as N3, bd as O3, be as j3, bf as H3, bg as W3, bh as G3, bi as Z3, bj as J3, bk as Q3, bl as eE, bm as tE, bn as aE, bo as sE, bp as iE, bq as oE, br as rE, bs as nE, bt as lE, bu as dE, bv as uE, bw as cE, bx as mE, by as fE, bz as VE, bA as vE, bB as gE, bC as pE, bD as FE, bE as hE, bF as qE, bG as yE, bH as YE, bI as XE, bJ as AE, bK as bE, bL as xE, bM as CE, bN as kE, bO as IE, bP as wE, bQ as SE, bR as KE, bS as TE } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-CDFIJFqU.mjs";
5
+ import { _ as oa, u as Ma, i as Me, a as ti, C as Jt, b as Qt, S as is, c as os, d as _, s as bs, e as ga, f as wt, g as De, h as ne, j as la, k as Ou, l as Tt, m as Qe, n as qs, o as je, p as ot, q as Ml, r as So, t as ju, v as Hu, w as $l, x as ta, y as xr, z as Gs, A as $a, B as Wu, D as Gu, E as Bt, F as zo, G as Bl, H as Wt, I as Zu, J as Ti, K as Ju, L as Wr, M as Pl, N as _l, O as zl, P as Ll, Q as Rl, R as Ul, T as Nl, U as Ol, V as jl, W as xt, X as bo, Y as xo, Z as En, $ as Mn, a0 as Qu, a1 as Hl, a2 as Di, a3 as Wl, a4 as Gl, a5 as Cr, a6 as ec, a7 as kr, a8 as Ba, a9 as Pa, aa as xs, ab as Cs, ac as rs, ad as ks, ae as Is, af as ws, ag as pa, ah as _a, ai as za, aj as ai, ak as Ei, al as Mi, am as $i, an as Bi, ao as Pi, ap as Zl, aq as Jl, ar as Lo, as as Ql, at as Ir, au as tc, av as ed, aw as td, ax as ac, ay as La, az as Ra, aA as Gr, aB as sc, aC as ic, aD as wr, aE as nr, aF as oc, aG as ad, aH as sd, aI as id, aJ as rc, aK as Ss, aL as od, aM as nc, aN as Sr, aO as rd, aP as lc, aQ as $n, aR as ps, aS as dc, aT as uc, aU as cc, aV as nd, aW as Bn, aX as mc, aY as Kr, aZ as fc, a_ as Vc, a$ as vc, b0 as gc, b1 as pc, b2 as Fc, b3 as hc, b4 as qc, b5 as ld, b6 as yc, b7 as Pn, b8 as so, b9 as _n, ba as zn, bb as Zr } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-WyveKd3t.mjs";
6
+ import { bc as N3, bd as O3, be as j3, bf as H3, bg as W3, bh as G3, bi as Z3, bj as J3, bk as Q3, bl as eE, bm as tE, bn as aE, bo as sE, bp as iE, bq as oE, br as rE, bs as nE, bt as lE, bu as dE, bv as uE, bw as cE, bx as mE, by as fE, bz as VE, bA as vE, bB as gE, bC as pE, bD as FE, bE as hE, bF as qE, bG as yE, bH as YE, bI as XE, bJ as AE, bK as bE, bL as xE, bM as CE, bN as kE, bO as IE, bP as wE, bQ as SE, bR as KE, bS as TE } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-WyveKd3t.mjs";
7
7
  import { VAlert as Fi } from "vuetify/components/VAlert";
8
8
  import { VIcon as ae } from "vuetify/components/VIcon";
9
9
  import { VProgressCircular as Le } from "vuetify/components/VProgressCircular";
@@ -22807,7 +22807,7 @@ function F3(e) {
22807
22807
  return e;
22808
22808
  }
22809
22809
  async function h3() {
22810
- (await import("./webfontloader-BGN_Aqmn.mjs").then((a) => a.w)).load({
22810
+ (await import("./webfontloader-DdOo7WIX.mjs").then((a) => a.w)).load({
22811
22811
  google: {
22812
22812
  families: ["Roboto:100,300,400,500,700,900&display=swap"]
22813
22813
  }
package/dist/labs.d.ts CHANGED
@@ -210,7 +210,7 @@ declare const __VLS_export_14: <T extends string | number>(__VLS_props: NonNulla
210
210
  (e: "click:chipClose", data: ValueObjectOption<T>): void;
211
211
  } & (((event: "update:modelValue", value: T | T[] | null | undefined) => void) & ((event: "update:selected", value: ValueObjectOption<T> | ValueObjectOption<T>[] | null) => void));
212
212
  }>) => VNode & {
213
- __ctx?: Awaited<typeof __VLS_setup>;
213
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
214
214
  };
215
215
 
216
216
  declare const __VLS_export_15: __VLS_WithSlots_5<typeof __VLS_base_5, __VLS_Slots_5>;
@@ -273,7 +273,7 @@ declare const __VLS_export_16: <TItem>(__VLS_props: NonNullable<Awaited<typeof _
273
273
  (e: "onFetchNextPage"): void;
274
274
  };
275
275
  }>) => VNode & {
276
- __ctx?: Awaited<typeof __VLS_setup>;
276
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
277
277
  };
278
278
 
279
279
  declare const __VLS_export_17: <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<{
@@ -306,7 +306,7 @@ declare const __VLS_export_17: <TItem extends Record<string, any>>(__VLS_props:
306
306
  };
307
307
  emit: (((evt: "deleted", item: ListViewItem<TItem>) => void) & ((evt: "close", item: ListViewItem<TItem>) => void) & ((evt: "edit", item: ListViewItem<TItem>) => void) & ((evt: "item-saved", item: ListViewItem<TItem>) => void) & ((evt: "item-expand", item: ListViewItem<TItem>, expanded: boolean) => void)) & ((event: "update:modelValue", value: TItem[]) => void);
308
308
  }>) => VNode & {
309
- __ctx?: Awaited<typeof __VLS_setup>;
309
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
310
310
  };
311
311
 
312
312
  declare const __VLS_export_18: <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<{
@@ -355,7 +355,7 @@ declare const __VLS_export_18: <TItem extends Record<string, any>>(__VLS_props:
355
355
  };
356
356
  emit: (((evt: "deleted", item: ListViewItem<TItem>) => void) & ((evt: "close", item: ListViewItem<TItem>) => void) & ((evt: "edit", item: ListViewItem<TItem>) => void) & ((evt: "item-saved", item: ListViewItem<TItem>) => void) & ((evt: "item-expand", item: ListViewItem<TItem>, expanded: boolean) => void) & ((evt: "reorder-start") => void) & ((evt: "reorder-cancel") => void) & ((evt: "reorder-applied", items: TItem[]) => void) & ((evt: "reorder-apply-error", error: unknown) => void) & ((evt: "reorder-end") => void)) & (((event: "update:modelValue", value: TItem[]) => void) & ((event: "update:mode", value: ReorderMode) => void));
357
357
  }>) => VNode & {
358
- __ctx?: Awaited<typeof __VLS_setup>;
358
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
359
359
  };
360
360
 
361
361
  declare const __VLS_export_19: <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<{
@@ -418,7 +418,7 @@ declare const __VLS_export_19: <TItem extends Record<string, any>>(__VLS_props:
418
418
  };
419
419
  emit: (((evt: "deleted", item: NestedViewItem<TItem>) => void) & ((evt: "close", item: NestedViewItem<TItem>) => void) & ((evt: "edit", item: NestedViewItem<TItem>) => void) & ((evt: "add", hint: NestedPositionHint | undefined) => void) & ((evt: "indent", item: NestedViewItem<TItem>) => void) & ((evt: "outdent", item: NestedViewItem<TItem>) => void) & ((evt: "item-saved", item: NestedViewItem<TItem>) => void) & ((evt: "item-expand", item: NestedViewItem<TItem>, expanded: boolean) => void) & ((evt: "reorder-start") => void) & ((evt: "reorder-cancel") => void) & ((evt: "reorder-applied", tree: NestedTree<TItem>) => void) & ((evt: "reorder-apply-error", error: unknown) => void) & ((evt: "reorder-end") => void) & ((evt: "add-child", parent: NestedViewItem<TItem>) => void)) & (((event: "update:modelValue", value: NestedTree<TItem>) => void) & ((event: "update:mode", value: ReorderMode_2) => void));
420
420
  }>) => VNode & {
421
- __ctx?: Awaited<typeof __VLS_setup>;
421
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
422
422
  };
423
423
 
424
424
  declare const __VLS_export_2: __VLS_WithSlots_2<typeof __VLS_base_2, __VLS_Slots_2>;
@@ -488,7 +488,7 @@ declare const __VLS_export_7: <T extends string | number>(__VLS_props: NonNullab
488
488
  slots: {};
489
489
  emit: (e: "change") => void;
490
490
  }>) => VNode & {
491
- __ctx?: Awaited<typeof __VLS_setup>;
491
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
492
492
  };
493
493
 
494
494
  declare const __VLS_export_8: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
@@ -1852,6 +1852,22 @@ export declare const sortByPosition: <TItem extends {
1852
1852
  position: number;
1853
1853
  }>(items: TItem[]) => TItem[];
1854
1854
 
1855
+ /**
1856
+ * Non-mutating deep `sortByPosition`. Sorts the top-level array, then for every
1857
+ * item carrying one of `childKeys` as an array, recursively sorts that nested
1858
+ * array too. The same `childKeys` apply at every depth and keys absent on a node
1859
+ * are skipped — so pass the UNION of nested position-bearing array fields across
1860
+ * the whole shape (e.g. `['contentItems', 'boxPositionIncludes']`).
1861
+ *
1862
+ * Same non-mutating contract as `sortByPosition`: only nodes that actually have a
1863
+ * nested array are shallow-cloned; leaf nodes and untouched branches keep their
1864
+ * reference. Use it to normalize an API response's ordering before it becomes
1865
+ * store state, in one call, for nested collections.
1866
+ */
1867
+ export declare const sortByPositionDeep: <TItem extends {
1868
+ position: number;
1869
+ }>(items: TItem[], childKeys?: string[]) => TItem[];
1870
+
1855
1871
  declare const SortOrder: {
1856
1872
  readonly Asc: "asc";
1857
1873
  readonly Desc: "desc";