@anzusystems/common-admin 1.47.0-beta.dev-1782079999 → 1.47.0-beta.dev-1784059859

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.
@@ -31,10 +31,10 @@ import { RouteLocationNormalized } from 'vue-router';
31
31
  import { RouteLocationRaw } from 'vue-router';
32
32
  import { RouteParams } from 'vue-router';
33
33
  import { Router } from 'vue-router';
34
+ import { SetupStoreDefinition } from 'pinia';
34
35
  import { ShallowRef } from 'vue';
35
36
  import { ShallowUnwrapRef } from 'vue';
36
37
  import { Socket } from 'socket.io-client';
37
- import { StoreDefinition } from 'pinia';
38
38
  import { UnwrapRef } from 'vue';
39
39
  import { UseDocumentVisibilityReturn } from '@vueuse/core';
40
40
  import { UseEventBusReturn } from '@vueuse/core';
@@ -9811,7 +9811,7 @@ export declare function useDamConfigState(client?: undefined | (() => AxiosInsta
9811
9811
  } | undefined;
9812
9812
  };
9813
9813
 
9814
- export declare const useDamConfigStore: StoreDefinition<"commonAdminDamConfigStore", Pick<{
9814
+ export declare const useDamConfigStore: SetupStoreDefinition<"commonAdminDamConfigStore", {
9815
9815
  initialized: {
9816
9816
  damPubConfig: boolean;
9817
9817
  damPrvConfig: boolean;
@@ -9833,51 +9833,7 @@ export declare const useDamConfigStore: StoreDefinition<"commonAdminDamConfigSto
9833
9833
  }>>;
9834
9834
  damConfigDistributionCustomFormElements: ShallowRef<Map<string, CustomDataFormElement[]>, Map<string, CustomDataFormElement[]>>;
9835
9835
  reset: () => void;
9836
- }, "damPubConfig" | "damPrvConfig" | "initialized" | "damConfigExtSystem" | "damConfigLicenceExtSystem" | "damConfigAssetCustomFormElements" | "damConfigDistributionCustomFormElements">, Pick<{
9837
- initialized: {
9838
- damPubConfig: boolean;
9839
- damPrvConfig: boolean;
9840
- };
9841
- damPubConfig: ShallowRef<DamPubConfig, DamPubConfig>;
9842
- damPrvConfig: ShallowRef<DamPrvConfig, DamPrvConfig>;
9843
- damConfigExtSystem: ShallowRef<Map<number, DamExtSystemConfig>, Map<number, DamExtSystemConfig>>;
9844
- damConfigLicenceExtSystem: ShallowRef<Map<number, DamConfigLicenceExtSystem>, Map<number, DamConfigLicenceExtSystem>>;
9845
- damConfigAssetCustomFormElements: ShallowRef<Map<number, {
9846
- image: CustomDataFormElement[];
9847
- audio: CustomDataFormElement[];
9848
- video: CustomDataFormElement[];
9849
- document: CustomDataFormElement[];
9850
- }>, Map<number, {
9851
- image: CustomDataFormElement[];
9852
- audio: CustomDataFormElement[];
9853
- video: CustomDataFormElement[];
9854
- document: CustomDataFormElement[];
9855
- }>>;
9856
- damConfigDistributionCustomFormElements: ShallowRef<Map<string, CustomDataFormElement[]>, Map<string, CustomDataFormElement[]>>;
9857
- reset: () => void;
9858
- }, never>, Pick<{
9859
- initialized: {
9860
- damPubConfig: boolean;
9861
- damPrvConfig: boolean;
9862
- };
9863
- damPubConfig: ShallowRef<DamPubConfig, DamPubConfig>;
9864
- damPrvConfig: ShallowRef<DamPrvConfig, DamPrvConfig>;
9865
- damConfigExtSystem: ShallowRef<Map<number, DamExtSystemConfig>, Map<number, DamExtSystemConfig>>;
9866
- damConfigLicenceExtSystem: ShallowRef<Map<number, DamConfigLicenceExtSystem>, Map<number, DamConfigLicenceExtSystem>>;
9867
- damConfigAssetCustomFormElements: ShallowRef<Map<number, {
9868
- image: CustomDataFormElement[];
9869
- audio: CustomDataFormElement[];
9870
- video: CustomDataFormElement[];
9871
- document: CustomDataFormElement[];
9872
- }>, Map<number, {
9873
- image: CustomDataFormElement[];
9874
- audio: CustomDataFormElement[];
9875
- video: CustomDataFormElement[];
9876
- document: CustomDataFormElement[];
9877
- }>>;
9878
- damConfigDistributionCustomFormElements: ShallowRef<Map<string, CustomDataFormElement[]>, Map<string, CustomDataFormElement[]>>;
9879
- reset: () => void;
9880
- }, "reset">>;
9836
+ }>;
9881
9837
 
9882
9838
  export declare function useDamDistributionServiceType(): {
9883
9839
  allDistributionServiceTypeOptions: Ref<{
@@ -9994,59 +9950,7 @@ export declare function useImageActions(config: ReturnType<typeof useCommonAdmin
9994
9950
  damImageIdToDamImageOriginalUrl: (imageId: DocId) => string;
9995
9951
  };
9996
9952
 
9997
- export declare const useImageStore: StoreDefinition<"commonImageStore", Pick<{
9998
- images: Ref<{
9999
- damAuthors: DocId[];
10000
- showDamAuthors: boolean;
10001
- assetId: undefined | DocId;
10002
- key: string;
10003
- id?: IntegerId | undefined;
10004
- texts: {
10005
- description: string;
10006
- source: string;
10007
- };
10008
- flags: {
10009
- showSource: boolean;
10010
- internal: boolean;
10011
- overrideInternal: boolean;
10012
- };
10013
- position?: number | undefined;
10014
- dam: {
10015
- damId: DocId;
10016
- licenceId: IntegerId;
10017
- regionPosition: number;
10018
- internal: boolean;
10019
- };
10020
- }[], ImageStoreItem[] | {
10021
- damAuthors: DocId[];
10022
- showDamAuthors: boolean;
10023
- assetId: undefined | DocId;
10024
- key: string;
10025
- id?: IntegerId | undefined;
10026
- texts: {
10027
- description: string;
10028
- source: string;
10029
- };
10030
- flags: {
10031
- showSource: boolean;
10032
- internal: boolean;
10033
- overrideInternal: boolean;
10034
- };
10035
- position?: number | undefined;
10036
- dam: {
10037
- damId: DocId;
10038
- licenceId: IntegerId;
10039
- regionPosition: number;
10040
- internal: boolean;
10041
- };
10042
- }[]>;
10043
- maxPosition: Ref<number, number>;
10044
- setImages: (data: ImageStoreItem[]) => void;
10045
- addImages: (data: ImageStoreItem[]) => void;
10046
- updateMaxPositionIfGreater: (newPosition: number) => void;
10047
- removeImageByIndex: (index: number) => void;
10048
- reset: () => void;
10049
- }, "images" | "maxPosition">, Pick<{
9953
+ export declare const useImageStore: SetupStoreDefinition<"commonImageStore", {
10050
9954
  images: Ref<{
10051
9955
  damAuthors: DocId[];
10052
9956
  showDamAuthors: boolean;
@@ -10098,59 +10002,7 @@ export declare const useImageStore: StoreDefinition<"commonImageStore", Pick<{
10098
10002
  updateMaxPositionIfGreater: (newPosition: number) => void;
10099
10003
  removeImageByIndex: (index: number) => void;
10100
10004
  reset: () => void;
10101
- }, never>, Pick<{
10102
- images: Ref<{
10103
- damAuthors: DocId[];
10104
- showDamAuthors: boolean;
10105
- assetId: undefined | DocId;
10106
- key: string;
10107
- id?: IntegerId | undefined;
10108
- texts: {
10109
- description: string;
10110
- source: string;
10111
- };
10112
- flags: {
10113
- showSource: boolean;
10114
- internal: boolean;
10115
- overrideInternal: boolean;
10116
- };
10117
- position?: number | undefined;
10118
- dam: {
10119
- damId: DocId;
10120
- licenceId: IntegerId;
10121
- regionPosition: number;
10122
- internal: boolean;
10123
- };
10124
- }[], ImageStoreItem[] | {
10125
- damAuthors: DocId[];
10126
- showDamAuthors: boolean;
10127
- assetId: undefined | DocId;
10128
- key: string;
10129
- id?: IntegerId | undefined;
10130
- texts: {
10131
- description: string;
10132
- source: string;
10133
- };
10134
- flags: {
10135
- showSource: boolean;
10136
- internal: boolean;
10137
- overrideInternal: boolean;
10138
- };
10139
- position?: number | undefined;
10140
- dam: {
10141
- damId: DocId;
10142
- licenceId: IntegerId;
10143
- regionPosition: number;
10144
- internal: boolean;
10145
- };
10146
- }[]>;
10147
- maxPosition: Ref<number, number>;
10148
- setImages: (data: ImageStoreItem[]) => void;
10149
- addImages: (data: ImageStoreItem[]) => void;
10150
- updateMaxPositionIfGreater: (newPosition: number) => void;
10151
- removeImageByIndex: (index: number) => void;
10152
- reset: () => void;
10153
- }, "reset" | "setImages" | "addImages" | "updateMaxPositionIfGreater" | "removeImageByIndex">>;
10005
+ }>;
10154
10006
 
10155
10007
  export declare function useJobApi<JobType extends JobBase = JobBase>(client: () => AxiosInstance, system: string): {
10156
10008
  fetchJobList: (pagination: Pagination, filterBag: FilterBag) => Promise<JobType[]>;
@@ -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 O3 } 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-EL9qin-6.mjs";
6
- import { bc as H3, bd as W3, be as G3, bf as Z3, bg as J3, bh as Q3, bi as eE, bj as tE, bk as aE, bl as sE, bm as iE, bn as oE, bo as rE, bp as nE, bq as lE, br as dE, bs as uE, bt as cE, bu as mE, bv as fE, bw as VE, bx as vE, by as gE, bz as pE, bA as FE, bB as hE, bC as qE, bD as yE, bE as YE, bF as XE, bG as AE, bH as bE, bI as xE, bJ as CE, bK as kE, bL as IE, bM as wE, bN as SE, bO as KE, bP as TE, bQ as DE, bR as EE, bS as ME } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-EL9qin-6.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-CFIcQNlF.mjs";
6
+ import { bc as H3, bd as W3, be as G3, bf as Z3, bg as J3, bh as Q3, bi as eE, bj as tE, bk as aE, bl as sE, bm as iE, bn as oE, bo as rE, bp as nE, bq as lE, br as dE, bs as uE, bt as cE, bu as mE, bv as fE, bw as VE, bx as vE, by as gE, bz as pE, bA as FE, bB as hE, bC as qE, bD as yE, bE as YE, bF as XE, bG as AE, bH as bE, bI as xE, bJ as CE, bK as kE, bL as IE, bM as wE, bN as SE, bO as KE, bP as TE, bQ as DE, bR as EE, bS as ME } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-CFIcQNlF.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";
@@ -1465,7 +1465,7 @@ const Xm = /* @__PURE__ */ H({
1465
1465
  function c() {
1466
1466
  setTimeout(() => n?.(), 0);
1467
1467
  }
1468
- return (f, v) => t.value ? le(f.$slots, "default", { key: 0 }) : E("", !0);
1468
+ return (f, v) => t.value ? le(f.$slots, "default", {}, void 0, void 0, 0) : E("", !0);
1469
1469
  }
1470
1470
  }), Us = /* @__PURE__ */ H({
1471
1471
  __name: "ADatetime",
@@ -2596,9 +2596,9 @@ const Lm = { key: 1 }, Rm = /* @__PURE__ */ H({
2596
2596
  return (f, v) => (V(), w("div", {
2597
2597
  class: Ye(l.value)
2598
2598
  }, [
2599
- d(ne)(e.id) || d(_)(e.id) ? le(f.$slots, "empty", { key: 0 }, () => [
2599
+ d(ne)(e.id) || d(_)(e.id) ? le(f.$slots, "empty", {}, () => [
2600
2600
  v[2] || (v[2] = M(" - ", -1))
2601
- ]) : e.textOnly ? (V(), w("div", Lm, [
2601
+ ], void 0, 0) : e.textOnly ? (V(), w("div", Lm, [
2602
2602
  M(X(n.value) + " ", 1),
2603
2603
  !d(r) && e.title.length === 0 ? (V(), x(Le, {
2604
2604
  key: 0,
@@ -5730,9 +5730,8 @@ const tV = {
5730
5730
  onOnClick: h,
5731
5731
  onOnDrop: v
5732
5732
  }, null, 8, ["variant", "hover-only"])) : le(p.$slots, "activator", {
5733
- key: 1,
5734
5733
  props: { onClick: J(() => n(), ["stop"]) }
5735
- }),
5734
+ }, void 0, void 0, 1),
5736
5735
  (V(), w("input", {
5737
5736
  ref_key: "inputRef",
5738
5737
  ref: i,
@@ -8986,7 +8985,7 @@ function Bg(e = 30) {
8986
8985
  };
8987
8986
  }
8988
8987
  let hr = null;
8989
- const fo = () => (hr || (hr = import("./index-dQlAzg3f.mjs").then((e) => e).catch(() => null)), hr);
8988
+ const fo = () => (hr || (hr = import("./index-DjbvubKW.mjs").then((e) => e).catch(() => null)), hr);
8990
8989
  function ru(e = "common-admin") {
8991
8990
  const a = `[${e}]`;
8992
8991
  return {
@@ -10285,9 +10284,9 @@ const rl = (e) => {
10285
10284
  return (f, v) => (V(), w("div", {
10286
10285
  class: Ye(e.containerClass)
10287
10286
  }, [
10288
- d(ne)(e.id) || d(_)(e.id) ? le(f.$slots, "empty", { key: 0 }, () => [
10287
+ d(ne)(e.id) || d(_)(e.id) ? le(f.$slots, "empty", {}, () => [
10289
10288
  v[0] || (v[0] = M(" - ", -1))
10290
- ]) : e.textOnly ? (V(), w("div", dp, [
10289
+ ], void 0, 0) : e.textOnly ? (V(), w("div", dp, [
10291
10290
  M(X(l.value) + " ", 1),
10292
10291
  !d(i) && e.title.length === 0 ? (V(), x(Le, {
10293
10292
  key: 0,
@@ -10855,9 +10854,9 @@ const gp = /* @__PURE__ */ H({
10855
10854
  return (n, c) => (V(), w("div", {
10856
10855
  class: Ye(e.containerClass)
10857
10856
  }, [
10858
- d(ne)(e.id) || d(_)(e.id) ? le(n.$slots, "empty", { key: 0 }, () => [
10857
+ d(ne)(e.id) || d(_)(e.id) ? le(n.$slots, "empty", {}, () => [
10859
10858
  c[0] || (c[0] = M(" - ", -1))
10860
- ]) : e.textOnly ? (V(), w("div", yp, [
10859
+ ], void 0, 0) : e.textOnly ? (V(), w("div", yp, [
10861
10860
  M(X(l.value) + " ", 1),
10862
10861
  !d(i) && e.title.length === 0 ? (V(), x(Le, {
10863
10862
  key: 0,
@@ -15774,7 +15773,6 @@ const Ji = Ts("commonImageStore", () => {
15774
15773
  const Ee = ze("ABtnSecondary");
15775
15774
  return V(), w(Ve, null, [
15776
15775
  Ie.value ? le(pe.$slots, "upload-activator", {
15777
- key: 0,
15778
15776
  onFileInput: ft,
15779
15777
  uploadAccept: d(ve),
15780
15778
  uploadSizes: d(He)
@@ -15796,7 +15794,7 @@ const Ji = Ts("commonImageStore", () => {
15796
15794
  ]),
15797
15795
  _: 1
15798
15796
  }, 8, ["file-input-key", "accept", "max-sizes"])
15799
- ]) : E("", !0),
15797
+ ], void 0, 0) : E("", !0),
15800
15798
  P("div", {
15801
15799
  class: Ye(["subject-select__card", { "subject-select__card--inline": e.variant === "inline" }])
15802
15800
  }, [
@@ -22811,7 +22809,7 @@ function y3(e) {
22811
22809
  return e;
22812
22810
  }
22813
22811
  async function Y3() {
22814
- (await import("./webfontloader-U5WMkAUn.mjs").then((a) => a.w)).load({
22812
+ (await import("./webfontloader-N7ZBp63v.mjs").then((a) => a.w)).load({
22815
22813
  google: {
22816
22814
  families: ["Roboto:100,300,400,500,700,900&display=swap"]
22817
22815
  }