adtec-hnyzfc-core-package 1.2.9 → 1.3.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 +1 @@
1
- import{_ as o}from"../../../chunks/DictDisplay.vue_vue_type_script_setup_true_lang-DiFlFWi1.js";import"vue";import"../../hooks/useDictHooks.js";import"element-plus";import"../../api/SysDictCacheApi.js";import"../../utils/request.js";import"../../utils/AxiosConfig.js";import"axios";import"uuid";import"../../utils/encrypt.js";import"jsencrypt";import"../../utils/behaviorTrack.js";import"crypto-js/enc-base64";import"crypto-js/enc-utf8";import"../../utils/behaviorContext.js";import"../../utils/frontendBus.js";import"../../stores/dictStore.js";import"pinia";import"../../stores/userInfoStore.js";import"../../utils/userSessionStorage.js";import"../../utils/FrameworkUtils.js";import"xlsx-js-style";import"../../../chunks/ElTagDisplay.vue_vue_type_script_setup_true_lang-DQXuYsW_.js";export{o as default};
1
+ import{_ as o}from"../../../chunks/DictDisplay.vue_vue_type_script_setup_true_lang-DiFlFWi1.js";import"vue";import"../../hooks/useDictHooks.js";import"../../api/SysDictCacheApi.js";import"../../utils/request.js";import"../../utils/AxiosConfig.js";import"axios";import"uuid";import"../../utils/encrypt.js";import"jsencrypt";import"../../utils/behaviorTrack.js";import"crypto-js/enc-base64";import"crypto-js/enc-utf8";import"../../utils/behaviorContext.js";import"element-plus";import"../../utils/frontendBus.js";import"../../stores/dictStore.js";import"pinia";import"../../stores/userInfoStore.js";import"../../utils/userSessionStorage.js";import"../../utils/FrameworkUtils.js";import"xlsx-js-style";import"../../../chunks/ElTagDisplay.vue_vue_type_script_setup_true_lang-DQXuYsW_.js";export{o as default};
@@ -1,11 +1,14 @@
1
1
  import type { ISysDictDataCacheVo } from '../interface/ISysDictDataCacheVo';
2
+ import { type dictMapType } from '../stores/dictStore';
2
3
  export default function useDictHooks(dictTypes?: string[], orgId?: string): {
3
4
  getDict: (dictTypes?: string[], orgId?: string) => Promise<void>;
4
5
  userReady: globalThis.Ref<boolean, boolean>;
5
6
  dictReady: globalThis.Ref<boolean, boolean>;
6
- dictMap: globalThis.Ref<import("../stores/dictStore").dictMapType, import("../stores/dictStore").dictMapType>;
7
+ dictLoading: globalThis.Ref<boolean, boolean>;
8
+ dictError: globalThis.ShallowRef<unknown>;
9
+ dictMap: globalThis.Ref<dictMapType, dictMapType>;
7
10
  dictDataMap: globalThis.Ref<import("../stores/dictStore").dictDataMapType, import("../stores/dictStore").dictDataMapType>;
8
- dictDefaultValueMap: globalThis.Ref<import("../stores/dictStore").dictMapType, import("../stores/dictStore").dictMapType>;
11
+ dictDefaultValueMap: globalThis.Ref<dictMapType, dictMapType>;
9
12
  getDictName: (value?: string, dictType?: string, orgId?: string) => string | undefined;
10
13
  getDictData: (value: string, dictType: string, orgId?: string) => ISysDictDataCacheVo | {};
11
14
  getDictTypeData: (dictType: string, orgId?: string) => ISysDictDataCacheVo[];
@@ -1 +1 @@
1
- import{ElMessage as L}from"element-plus";import{ref as C}from"vue";import P from"../api/SysDictCacheApi.js";import{dictStore as F}from"../stores/dictStore.js";import{storeToRefs as G}from"pinia";import{userInfoStore as N}from"../stores/userInfoStore.js";import q from"../utils/FrameworkUtils.js";import"../utils/request.js";import"../utils/AxiosConfig.js";import"axios";import"uuid";import"../utils/encrypt.js";import"jsencrypt";import"../utils/behaviorTrack.js";import"crypto-js/enc-base64";import"crypto-js/enc-utf8";import"../utils/behaviorContext.js";import"../utils/frontendBus.js";import"../utils/userSessionStorage.js";import"xlsx-js-style";const k=i=>{if(!i?.length)return i??[];if(i.some(u=>Array.isArray(u.children)&&u.children.length>0))return i;const p=new Map;if(i.forEach(u=>{u?.id&&p.set(u.id,{...u,children:void 0})}),!p.size)return i;const g=[];let m=0;return p.forEach(u=>{const a=u.parentId;if(a&&a!=="0"&&p.has(a)){const h=p.get(a);h.children||(h.children=[]),h.children.push(u),m+=1}else g.push(u)}),m?g:i};function de(i,p){const g=N(),m=F(),{clearDictCache:u}=m,{dictMap:a,dictDefaultValueMap:h,dictDataMap:l}=G(m),b=e=>e||(g.hydrateFromRootSession(),g.user?.orgId),D=e=>Array.isArray(e)&&e.length>0,E=(e,s)=>s&&D(a.value[`${s}:${e}`])||D(a.value[e])?!0:Object.keys(a.value).some(t=>t.endsWith(`:${e}`)&&D(a.value[t])),x=(e,s)=>{const t=b(),r=s??t;return r&&D(a.value[`${r}:${e}`])?`${r}:${e}`:D(a.value[e])?e:Object.keys(a.value).find(d=>d.endsWith(`:${e}`)&&D(a.value[d]))},M=(e,s)=>{const t=b(),r=s??t;if(r){const n=`${r}:${e}`;if(l.value[n]&&Object.keys(l.value[n]).length)return n}return l.value[e]&&Object.keys(l.value[e]).length?e:Object.keys(l.value).find(n=>n.endsWith(`:${e}`)&&Object.keys(l.value[n]).length>0)},R=()=>{let e=!1;for(const s of Object.keys(a.value)){const t=a.value[s];if(!D(t))continue;const r=k(t);r!==t&&r.some(n=>n.children?.length)&&(a.value[s]=r,e=!0)}return e},j=async(e,s)=>{try{if(!e||!e.length)return;await g.ensureUserHydrated();const t=b(s);let r=!1;if(t){const o=s??t;for(const c of Object.keys(a.value))(c.startsWith(`${o}:`)||!c.includes(":"))&&Array.isArray(a.value[c])&&a.value[c].length===0&&(delete a.value[c],delete l.value[c],delete h.value[c],r=!0)}R()&&(r=!0),r&&m.publishToSharedCache();const n=e.filter(o=>!E(o,s??t));if(!n.length)return;const d=await P.batchGetSysDictDataCacheVo(n,s??t),f={};Object.entries(d).forEach(([o,c])=>{if(!c?.length)return;const v=k(c);f[o]=v;const y=o.indexOf(":");if(y>0){const O=o.slice(y+1);f[O]?.length||(f[O]=v)}else if(t){const O=`${t}:${o}`;f[O]?.length||(f[O]=v)}}),a.value={...a.value,...f};const $={...l.value},A={...h.value},z=Object.keys(f).map(async o=>{const c={},v=[];return await w(c,v,f[o]),{item:o,dataMap:c,defaultList:v}});(await Promise.allSettled(z)).forEach((o,c)=>{if(o.status==="fulfilled"){const{item:v,dataMap:y,defaultList:O}=o.value;$[v]=y,A[v]=O}else L.error(`处理键 ${Object.keys(f)[c]} 时出错:`,o.reason)}),l.value=$,h.value=A,m.publishToSharedCache()}catch(t){q.messageError(t)}},w=async(e,s,t)=>{if(t&&t.length){const r=t.map(async n=>{e[n.value]={...n,children:void 0},n.isDefault==="1"&&s.push({...n,children:void 0}),n.children&&n.children.length>0&&await w(e,s,n.children)});await Promise.all(r)}},W=(e,s,t)=>{const r=M(s,t);return r&&l.value[r]&&l.value[r][e]?.label||e},H=(e,s,t)=>{const r=M(s,t);return r&&l.value[r]?.[e]?l.value[r][e]:{}},K=(e,s)=>{const t=b(),r=s??t;if(r){const n=h.value[`${r}:${e}`];if(n?.length)return n}return h.value[e]??[]},U=(e,s)=>{const t=x(e,s);if(!t)return[];const r=a.value[t],n=k(r);if(n!==r&&n.some(d=>d.children?.length)){a.value[t]=n;const d=t.includes(":")?t.slice(t.indexOf(":")+1):t,f=b(s);f&&!t.includes(":")?a.value[`${f}:${d}`]=n:t.includes(":")&&!a.value[d]?.some($=>$.children?.length)&&(a.value[d]=n)}return n},V=(e,s,t)=>{u(e,b(),s,t)},I=C(!i?.length),S=C(!i?.length);return i?.length&&(async()=>(await g.ensureUserHydrated(),I.value=!0,await j(i,p),S.value=!0))(),{getDict:j,userReady:I,dictReady:S,dictMap:a,dictDataMap:l,dictDefaultValueMap:h,getDictName:W,getDictData:H,getDictTypeData:U,getDictDefaultValue:K,clearDict:V}}export{de as default};
1
+ import{ref as w,shallowRef as $}from"vue";import j from"../api/SysDictCacheApi.js";import{dictStore as z}from"../stores/dictStore.js";import{storeToRefs as B}from"pinia";import{userInfoStore as G}from"../stores/userInfoStore.js";import N from"../utils/FrameworkUtils.js";import"../utils/request.js";import"../utils/AxiosConfig.js";import"axios";import"uuid";import"../utils/encrypt.js";import"jsencrypt";import"../utils/behaviorTrack.js";import"crypto-js/enc-base64";import"crypto-js/enc-utf8";import"../utils/behaviorContext.js";import"element-plus";import"../utils/frontendBus.js";import"../utils/userSessionStorage.js";import"xlsx-js-style";const P=o=>{if(!o?.length)return o??[];if(o.some(c=>Array.isArray(c.children)&&c.children.length>0))return o;const u=new Map;if(o.forEach(c=>{c?.id&&u.set(c.id,{...c,children:void 0})}),!u.size)return o;const l=[];let n=0;return u.forEach(c=>{const h=c.parentId;if(h&&h!=="0"&&u.has(h)){const d=u.get(h);d.children||(d.children=[]),d.children.push(c),n+=1}else l.push(c)}),n?l:o};function he(o,u){const l=G(),n=z(),{clearDictCache:c}=n,{dictMap:h,dictDefaultValueMap:d,dictDataMap:D}=B(n),p=e=>e||(l.user?.orgId||l.hydrateFromRootSession(),l.user?.orgId),g=(e,r)=>r?`${r}:${e}`:e,F=(e,r)=>n.isDictCacheLoaded(g(e,r)),L=(e,r)=>{const t=g(e,r??p());return n.isDictCacheLoaded(t)?t:void 0},q=(e,r)=>{const t=g(e,r??p());return n.isDictCacheLoaded(t)?t:void 0},E=w(!o?.length),I=w(!o?.length),k=w(!1),C=$();let R=0;const M=async(e,r)=>{R+=1,k.value=!0,C.value=void 0;try{if(!e||!e.length)return;await l.ensureUserHydrated(),E.value=!0;const t=p(r),i=[...new Set(e.filter(Boolean))];n.syncFromSharedCache();const a=new Set,f=[],y=[];if(i.forEach(s=>{if(F(s,t))return;const v=g(s,t),m=n.getPendingDictRequest(v);m?a.add(m):(f.push(s),y.push(v))}),f.length){let s;s=(async()=>{const v=await j.batchGetSysDictDataCacheVo(f,t),m={};f.forEach((O,U)=>{const S=y[U];n.isPendingDictRequest(S,s)&&(m[S]=P(v[S]??v[O]??[]))}),Object.keys(m).length&&n.setDictCacheEntries(m)})(),n.registerPendingDictRequest(y,s),s.then(()=>n.clearPendingDictRequest(y,s),()=>n.clearPendingDictRequest(y,s)),a.add(s)}await Promise.all(a),n.syncFromSharedCache()}catch(t){C.value=t,N.messageError(t)}finally{R-=1,k.value=R>0}},b=(e,r,t)=>{const i=q(r,t);return i&&D.value[i]&&D.value[i][e]?.label||e},A=(e,r,t)=>{const i=q(r,t);return i&&D.value[i]?.[e]?D.value[i][e]:{}},K=(e,r)=>{const t=g(e,r??p());return d.value[t]??[]},V=(e,r)=>{const t=L(e,r);if(!t)return[];const i=h.value[t],a=P(i);return a!==i&&a.some(f=>f.children?.length)&&n.setDictCacheEntries({[t]:a}),a},H=(e,r,t)=>{c(e,p(),r,t)};return o?.length&&(async()=>{try{await M(o,u)}finally{I.value=!0}})(),{getDict:M,userReady:E,dictReady:I,dictLoading:k,dictError:C,dictMap:h,dictDataMap:D,dictDefaultValueMap:d,getDictName:b,getDictData:A,getDictTypeData:V,getDictDefaultValue:K,clearDict:H}}export{he as default};
@@ -13,9 +13,12 @@ export interface dictDataMapType {
13
13
  }
14
14
  /** 跨应用共享的 plain 缓存(非 Vue ref,避免 wujie 子应用与宿主 ref 响应式隔离) */
15
15
  export interface SharedDictCache {
16
+ version: number;
16
17
  dictMap: dictMapType;
17
18
  dictDataMap: dictDataMapType;
18
19
  dictDefaultValueMap: dictMapType;
20
+ loadedKeys: Record<string, true>;
21
+ pendingRequests: Map<string, Promise<void>>;
19
22
  }
20
23
  declare global {
21
24
  interface Window {
@@ -44,6 +47,12 @@ export declare const dictStore: import("pinia").StoreDefinition<"dictStore", Pic
44
47
  dictDefaultValueMap: Ref<dictMapType, dictMapType>;
45
48
  clearDictCache: (dictType?: string[], userOrgId?: string, orgId?: string, all?: Boolean) => void;
46
49
  syncFromSharedCache: () => void;
50
+ setDictCacheEntries: (entries: dictMapType) => void;
51
+ isDictCacheLoaded: (key: string) => boolean;
52
+ getPendingDictRequest: (key: string) => Promise<void> | undefined;
53
+ registerPendingDictRequest: (keys: string[], request: Promise<void>) => void;
54
+ isPendingDictRequest: (key: string, request: Promise<void>) => boolean;
55
+ clearPendingDictRequest: (keys: string[], request: Promise<void>) => void;
47
56
  publishToSharedCache: () => void;
48
57
  }, "dictMap" | "dictDataMap" | "dictDefaultValueMap">, Pick<{
49
58
  dictMap: Ref<dictMapType, dictMapType>;
@@ -51,6 +60,12 @@ export declare const dictStore: import("pinia").StoreDefinition<"dictStore", Pic
51
60
  dictDefaultValueMap: Ref<dictMapType, dictMapType>;
52
61
  clearDictCache: (dictType?: string[], userOrgId?: string, orgId?: string, all?: Boolean) => void;
53
62
  syncFromSharedCache: () => void;
63
+ setDictCacheEntries: (entries: dictMapType) => void;
64
+ isDictCacheLoaded: (key: string) => boolean;
65
+ getPendingDictRequest: (key: string) => Promise<void> | undefined;
66
+ registerPendingDictRequest: (keys: string[], request: Promise<void>) => void;
67
+ isPendingDictRequest: (key: string, request: Promise<void>) => boolean;
68
+ clearPendingDictRequest: (keys: string[], request: Promise<void>) => void;
54
69
  publishToSharedCache: () => void;
55
70
  }, never>, Pick<{
56
71
  dictMap: Ref<dictMapType, dictMapType>;
@@ -58,5 +73,11 @@ export declare const dictStore: import("pinia").StoreDefinition<"dictStore", Pic
58
73
  dictDefaultValueMap: Ref<dictMapType, dictMapType>;
59
74
  clearDictCache: (dictType?: string[], userOrgId?: string, orgId?: string, all?: Boolean) => void;
60
75
  syncFromSharedCache: () => void;
76
+ setDictCacheEntries: (entries: dictMapType) => void;
77
+ isDictCacheLoaded: (key: string) => boolean;
78
+ getPendingDictRequest: (key: string) => Promise<void> | undefined;
79
+ registerPendingDictRequest: (keys: string[], request: Promise<void>) => void;
80
+ isPendingDictRequest: (key: string, request: Promise<void>) => boolean;
81
+ clearPendingDictRequest: (keys: string[], request: Promise<void>) => void;
61
82
  publishToSharedCache: () => void;
62
- }, "clearDictCache" | "syncFromSharedCache" | "publishToSharedCache">>;
83
+ }, "clearDictCache" | "syncFromSharedCache" | "setDictCacheEntries" | "isDictCacheLoaded" | "getPendingDictRequest" | "registerPendingDictRequest" | "isPendingDictRequest" | "clearPendingDictRequest" | "publishToSharedCache">>;
@@ -1 +1 @@
1
- import{defineStore as S}from"pinia";import{ref as f}from"vue";import _ from"crypto-js/enc-base64";import C from"crypto-js/enc-utf8";const w="dictStore",p="adtec-dict-cache-update";function l(){return typeof window>"u"?window:window.__POWERED_BY_WUJIE__?window.parent:window}function E(t){const e=l().sessionStorage.getItem(w);if(e)try{const a=JSON.parse(_.parse(e).toString(C));a.dictMap&&Object.assign(t.dictMap,a.dictMap),a.dictDataMap&&s(t.dictDataMap,a.dictDataMap),a.dictDefaultValueMap&&Object.assign(t.dictDefaultValueMap,a.dictDefaultValueMap)}catch{}}function h(t){if(typeof window>"u")return;const e=l().sessionStorage;try{const a=JSON.stringify({dictMap:t.dictMap,dictDataMap:t.dictDataMap,dictDefaultValueMap:t.dictDefaultValueMap});e.setItem(w,_.stringify(C.parse(a)))}catch{}}function s(t,e){Object.keys(e).forEach(a=>{t[a]={...t[a],...e[a]}})}function A(t){const e={};return s(e,t),e}function D(){const t=l();return t.__ADTEC_SHARED_DICT_CACHE__||(t.__ADTEC_SHARED_DICT_CACHE__={dictMap:{},dictDataMap:{},dictDefaultValueMap:{}},E(t.__ADTEC_SHARED_DICT_CACHE__)),t.__ADTEC_SHARED_DICT_CACHE__}function V(){if(typeof window>"u")return;const t=new CustomEvent(p);window.dispatchEvent(t);const e=l();if(e!==window)try{e.dispatchEvent(new CustomEvent(p))}catch{}}function R(){return D()}function b(t){E(D())}const j=S("dictStore",()=>{const t=D(),e=f({...t.dictMap}),a=f(A(t.dictDataMap)),i=f({...t.dictDefaultValueMap}),u=()=>{e.value={...e.value,...t.dictMap},s(a.value,t.dictDataMap),i.value={...i.value,...t.dictDefaultValueMap}},r=()=>{Object.assign(t.dictMap,e.value),s(t.dictDataMap,a.value),Object.assign(t.dictDefaultValueMap,i.value),h(t),V()};if(typeof window<"u"){window.addEventListener(p,u);const n=l();if(n!==window)try{n.addEventListener(p,u)}catch{}}return u(),{dictMap:e,dictDataMap:a,dictDefaultValueMap:i,clearDictCache:(n,d,M,v)=>{n&&n.length>0?(n.forEach(c=>{if(M){const o=`${M}:${c}`;delete e.value[o],delete a.value[o],delete i.value[o],delete t.dictMap[o],delete t.dictDataMap[o],delete t.dictDefaultValueMap[o]}else delete e.value[c],delete a.value[c],delete i.value[c],delete e.value[`${d}:${c}`],delete a.value[`${d}:${c}`],delete i.value[`${d}:${c}`],delete t.dictMap[c],delete t.dictDataMap[c],delete t.dictDefaultValueMap[c],delete t.dictMap[`${d}:${c}`],delete t.dictDataMap[`${d}:${c}`],delete t.dictDefaultValueMap[`${d}:${c}`]}),r()):v&&(e.value={},a.value={},i.value={},t.dictMap={},t.dictDataMap={},t.dictDefaultValueMap={},r())},syncFromSharedCache:u,publishToSharedCache:r}});export{j as dictStore,D as getSharedDictCache,R as getSharedDictRefs,b as syncDictFromSessionStorage};
1
+ import{defineStore as K}from"pinia";import{ref as E}from"vue";import M from"crypto-js/enc-base64";import w from"crypto-js/enc-utf8";const D=2,v="dictStore:v2",h="adtec-dict-cache-update";function p(){return typeof window>"u"?window:window.__POWERED_BY_WUJIE__?window.parent:window}function S(e){const t=p().sessionStorage.getItem(v);if(t)try{const n=JSON.parse(M.parse(t).toString(w));if(n.version!==D||!n.dictMap)return;Object.entries(n.dictMap).forEach(([c,i])=>{e.dictMap[c]=i;const{dataMap:r,defaultList:f}=R(i);e.dictDataMap[c]=r,e.dictDefaultValueMap[c]=f}),n.loadedKeys?.forEach(c=>{e.loadedKeys[c]=!0})}catch{}}function V(e){if(typeof window>"u")return;const t=p().sessionStorage;try{const n=JSON.stringify({version:D,dictMap:e.dictMap,loadedKeys:Object.keys(e.loadedKeys)});t.setItem(v,M.stringify(w.parse(n)))}catch{}}function I(e,t){Object.keys(t).forEach(n=>{e[n]={...e[n],...t[n]}})}function g(e){const t={};return I(t,e),t}function R(e){const t={},n=[],c=[...e].reverse();for(;c.length;){const i=c.pop();t[i.value]={...i,children:void 0},i.isDefault==="1"&&n.push({...i,children:void 0}),i.children?.length&&c.push(...[...i.children].reverse())}return{dataMap:t,defaultList:n}}function l(e){Object.keys(e).forEach(t=>delete e[t])}function C(){const e=p();e.__ADTEC_SHARED_DICT_CACHE__?.version!==D&&(e.__ADTEC_SHARED_DICT_CACHE__={version:D,dictMap:{},dictDataMap:{},dictDefaultValueMap:{},loadedKeys:{},pendingRequests:new Map},S(e.__ADTEC_SHARED_DICT_CACHE__));const t=e.__ADTEC_SHARED_DICT_CACHE__;return(!t.pendingRequests||typeof t.pendingRequests.get!="function")&&(t.pendingRequests=new Map),t}function O(){if(typeof window>"u")return;const e=new CustomEvent(h);window.dispatchEvent(e);const t=p();if(t!==window)try{t.dispatchEvent(new CustomEvent(h))}catch{}}function $(){return C()}function F(e){S(C())}const J=K("dictStore",()=>{const e=C(),t=E({...e.dictMap}),n=E(g(e.dictDataMap)),c=E({...e.dictDefaultValueMap}),i=()=>{t.value={...e.dictMap},n.value=g(e.dictDataMap),c.value={...e.dictDefaultValueMap}},r=()=>{V(e),O(),i()},f=a=>{Object.entries(a).forEach(([o,s])=>{e.dictMap[o]=s;const{dataMap:_,defaultList:u}=R(s);e.dictDataMap[o]=_,e.dictDefaultValueMap[o]=u,e.loadedKeys[o]=!0}),r()},A=a=>e.loadedKeys[a]===!0,m=a=>e.pendingRequests.get(a),q=(a,o)=>{a.forEach(s=>e.pendingRequests.set(s,o))},T=(a,o)=>e.pendingRequests.get(a)===o,y=(a,o)=>{a.forEach(s=>{e.pendingRequests.get(s)===o&&e.pendingRequests.delete(s)})},H=()=>{f(t.value)};if(typeof window<"u"){window.addEventListener(h,i);const a=p();if(a!==window)try{a.addEventListener(h,i)}catch{}}return i(),{dictMap:t,dictDataMap:n,dictDefaultValueMap:c,clearDictCache:(a,o,s,_)=>{a&&a.length>0?(a.forEach(u=>{(s?[`${s}:${u}`]:[u,...o?[`${o}:${u}`]:[]]).forEach(d=>{delete t.value[d],delete n.value[d],delete c.value[d],delete e.dictMap[d],delete e.dictDataMap[d],delete e.dictDefaultValueMap[d],delete e.loadedKeys[d],e.pendingRequests.delete(d)})}),r()):_&&(t.value={},n.value={},c.value={},l(e.dictMap),l(e.dictDataMap),l(e.dictDefaultValueMap),l(e.loadedKeys),e.pendingRequests.clear(),r())},syncFromSharedCache:i,setDictCacheEntries:f,isDictCacheLoaded:A,getPendingDictRequest:m,registerPendingDictRequest:q,isPendingDictRequest:T,clearPendingDictRequest:y,publishToSharedCache:H}});export{J as dictStore,C as getSharedDictCache,$ as getSharedDictRefs,F as syncDictFromSessionStorage};