@qxs-bns/utils 0.0.30 → 0.0.32

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,2 +1,2 @@
1
- import e from"ali-oss";var t=Object.defineProperty,s=(e,s,i)=>((e,s,i)=>s in e?t(e,s,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[s]=i)(e,"symbol"!=typeof s?s+"":s,i);class i extends Error{constructor(e){super(e),this.name="OssError"}}const n={accessKeyId:"",accessKeySecret:"",stsToken:"",secure:!0,bucket:"yao-file-daily",region:"oss-cn-hangzhou",timeout:6e4};class r{static async getOssCredentials(e){const t=await e();if(!t)throw new i("获取凭证失败");return t}static async initOssClient(t,s){const r=Date.now()-this.createTokenTime;if(!n.accessKeyId||r>this.expireTime)try{const{securityToken:i,...r}=await this.getOssCredentials(t);Object.assign(n,{stsToken:i,...r,...s,refreshSTSToken:async()=>await this.getOssCredentials(t),refreshSTSTokenInterval:3e5}),this.createTokenTime=Date.now(),this.client=new e(n)}catch(e){throw new i(e instanceof Error?e.message:String(e))}}static async uploadFile(e){const{file:t,onProgress:s=()=>{},path:n="ksh/pdf",getCredentials:r,...a}=e;await this.initOssClient(r,a);try{return await this.client.multipartUpload(`${n}/${t.name}`,t,{progress(e){s({percent:Math.round(100*e)})}})}catch(e){throw new i(e instanceof Error?e.message:String(e))}}static async generateSignedUrl(e,t,s){await this.initOssClient(t,s);try{return await this.client.signatureUrl(e,{expires:3600})}catch(e){throw new i(e instanceof Error?e.message:String(e))}}}s(r,"client"),s(r,"createTokenTime",0),s(r,"expireTime",9e5);const a=r.uploadFile.bind(r),c=r.generateSignedUrl.bind(r);export{i as OssError,r as OssUploader,c as generateSignedUrl,a as uploadFile};
1
+ import e from"ali-oss";var t=Object.defineProperty,s=(e,s,n)=>((e,s,n)=>s in e?t(e,s,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[s]=n)(e,"symbol"!=typeof s?s+"":s,n);class n extends Error{constructor(e){super(e),this.name="OssError"}}const r={accessKeyId:"",accessKeySecret:"",stsToken:"",secure:!0,bucket:"yao-file-daily",region:"oss-cn-hangzhou",timeout:6e4};class i{static async getOssCredentials(e){const t=await e();if(!t)throw new n("获取凭证失败");return t}static getClientKey(e){return`${e.endpoint||""}-${e.region||r.region}-${e.bucket||r.bucket}`}static async initOssClient(t,s){const i=this.getClientKey({...r,...s}),a=this.clients.get(i),c=Date.now();if(a&&c-a.createTime<this.expireTime)return a.client;try{const{securityToken:n,...a}=await this.getOssCredentials(t),o={...r,...s,stsToken:n,...a,refreshSTSToken:async()=>{const e=await this.getOssCredentials(t);return{accessKeyId:e.accessKeyId,accessKeySecret:e.accessKeySecret,stsToken:e.securityToken}},refreshSTSTokenInterval:3e5},l=new e(o);return this.clients.set(i,{client:l,createTime:c,credentials:{...a,securityToken:n}}),l}catch(e){throw new n(e instanceof Error?e.message:String(e))}}static async uploadFile(e){const{file:t,onProgress:s=()=>{},path:r="ksh/pdf",headers:i,getCredentials:a,...c}=e,o=await this.initOssClient(a,c);try{const e=r&&/\.\w+$/.test(r)?r:`${r}/${t.name}`,n={progress(e){const t=Math.round(100*e);s({percent:t})}};i&&(n.headers=i);return await o.multipartUpload(e,t,n)}catch(e){throw new n(e instanceof Error?e.message:String(e))}}static async generateSignedUrl(e,t,s){const r=await this.initOssClient(t,s);try{return await r.signatureUrl(e,{expires:3600})}catch(e){throw new n(e instanceof Error?e.message:String(e))}}static clearExpiredClients(){const e=Date.now();for(const[t,s]of this.clients.entries())e-s.createTime>=this.expireTime&&this.clients.delete(t)}static clearAllClients(){this.clients.clear()}}s(i,"clients",new Map),s(i,"expireTime",9e5);const a=i.uploadFile.bind(i),c=i.generateSignedUrl.bind(i);export{n as OssError,i as OssUploader,c as generateSignedUrl,a as uploadFile};
2
2
  //# sourceMappingURL=oss-uploader.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"oss-uploader.mjs","sources":["../../../../packages/utils/src/oss-uploader.ts"],"sourcesContent":["import OSS from 'ali-oss'\n\nexport interface OssCredentials {\n accessKeyId: string\n accessKeySecret: string\n securityToken: string\n}\n\nexport interface OssConfig extends Partial<Omit<OSS.Options, 'accessKeyId' | 'accessKeySecret' | 'stsToken'>> {\n file: File\n onProgress?: (p: { percent: number }) => void\n path?: string\n getCredentials: () => Promise<OssCredentials | null>\n}\n\n// 定义错误类型\nexport class OssError extends Error {\n constructor(message: string) {\n super(message)\n this.name = 'OssError'\n }\n}\n\nconst ossConfig: OSS.Options = {\n accessKeyId: '',\n accessKeySecret: '',\n stsToken: '',\n secure: true,\n bucket: 'yao-file-daily',\n region: 'oss-cn-hangzhou',\n timeout: 60000,\n}\n\nexport class OssUploader {\n private static client: OSS\n private static createTokenTime: number = 0\n private static readonly expireTime = 15 * 60 * 1000\n\n // 获取凭证\n private static async getOssCredentials(getCredentials: OssConfig['getCredentials']): Promise<Required<OssCredentials>> {\n const credentials = await getCredentials()\n if (!credentials) {\n throw new OssError('获取凭证失败')\n }\n return credentials\n }\n\n // 修改初始化方法\n public static async initOssClient(getCredentials: OssConfig['getCredentials'], args?: Partial<OssConfig>): Promise<void> {\n const diff = Date.now() - this.createTokenTime\n if (!ossConfig.accessKeyId || diff > this.expireTime) {\n try {\n const { securityToken: stsToken, ...credentials } = await this.getOssCredentials(getCredentials)\n Object.assign(ossConfig, {\n stsToken,\n ...credentials,\n ...args,\n refreshSTSToken: async () => {\n return await this.getOssCredentials(getCredentials)\n },\n refreshSTSTokenInterval: 300000,\n })\n this.createTokenTime = Date.now()\n this.client = new OSS(ossConfig)\n }\n catch (error) {\n throw new OssError(error instanceof Error ? error.message : String(error))\n }\n }\n }\n\n // 修改上传方法\n public static async uploadFile(opts: OssConfig & { getCredentials: OssConfig['getCredentials'] }): Promise<OSS.MultipartUploadResult> {\n const { file, onProgress = () => {}, path = 'ksh/pdf', getCredentials, ...rest } = opts\n\n await this.initOssClient(getCredentials, rest)\n\n try {\n const result = await this.client.multipartUpload(`${path}/${file.name}`, file, {\n progress(p: number) {\n onProgress({ percent: Math.round(p * 100) })\n },\n })\n return result\n }\n catch (error) {\n throw new OssError(error instanceof Error ? error.message : String(error))\n }\n }\n\n // 修改生成签名URL方法\n public static async generateSignedUrl(\n objectKey: string,\n getCredentials: OssConfig['getCredentials'],\n args?: Partial<OssConfig>,\n ): Promise<string> {\n await this.initOssClient(getCredentials, args)\n try {\n return await this.client.signatureUrl(objectKey, { expires: 60 * 60 })\n }\n catch (error) {\n throw new OssError(error instanceof Error ? error.message : String(error))\n }\n }\n}\n\n// 导出便捷方法\nexport const uploadFile = OssUploader.uploadFile.bind(OssUploader)\nexport const generateSignedUrl = OssUploader.generateSignedUrl.bind(OssUploader)\n"],"names":["OssError","Error","constructor","message","super","this","name","ossConfig","accessKeyId","accessKeySecret","stsToken","secure","bucket","region","timeout","OssUploader","getOssCredentials","getCredentials","credentials","initOssClient","args","diff","Date","now","createTokenTime","expireTime","securityToken","Object","assign","refreshSTSToken","async","refreshSTSTokenInterval","client","OSS","error","String","uploadFile","opts","file","onProgress","path","rest","multipartUpload","progress","p","percent","Math","round","generateSignedUrl","objectKey","signatureUrl","expires","__publicField","bind"],"mappings":"iLAgBO,MAAMA,UAAiBC,MAC5BC,WAAAA,CAAYC,GACVC,MAAMD,GACNE,KAAKC,KAAO,UACd,EAGF,MAAMC,EAAyB,CAC7BC,YAAa,GACbC,gBAAiB,GACjBC,SAAU,GACVC,QAAQ,EACRC,OAAQ,iBACRC,OAAQ,kBACRC,QAAS,KAGJ,MAAMC,EAMX,8BAAqBC,CAAkBC,GACrC,MAAMC,QAAoBD,IAC1B,IAAKC,EACH,MAAM,IAAIlB,EAAS,UAErB,OAAOkB,CACT,CAGA,0BAAoBC,CAAcF,EAA6CG,GAC7E,MAAMC,EAAOC,KAAKC,MAAQlB,KAAKmB,gBAC/B,IAAKjB,EAAUC,aAAea,EAAOhB,KAAKoB,WACxC,IACE,MAAQC,cAAehB,KAAaQ,SAAsBb,KAAKW,kBAAkBC,GACjFU,OAAOC,OAAOrB,EAAW,CACvBG,cACGQ,KACAE,EACHS,gBAAiBC,eACFzB,KAAKW,kBAAkBC,GAEtCc,wBAAyB,MAE3B1B,KAAKmB,gBAAkBF,KAAKC,MAC5BlB,KAAK2B,OAAS,IAAIC,EAAI1B,EACxB,OACO2B,GACL,MAAM,IAAIlC,EAASkC,aAAiBjC,MAAQiC,EAAM/B,QAAUgC,OAAOD,GACrE,CAEJ,CAGA,uBAAoBE,CAAWC,GAC7B,MAAMC,KAAEA,EAAAC,WAAMA,EAAaA,YAAUC,EAAO,UAAAvB,eAAWA,KAAmBwB,GAASJ,QAE7EhC,KAAKc,cAAcF,EAAgBwB,GAEzC,IAME,aALqBpC,KAAK2B,OAAOU,gBAAgB,GAAGF,KAAQF,EAAKhC,OAAQgC,EAAM,CAC7EK,QAAAA,CAASC,GACPL,EAAW,CAAEM,QAASC,KAAKC,MAAU,IAAJH,IACnC,GAGJ,OACOV,GACL,MAAM,IAAIlC,EAASkC,aAAiBjC,MAAQiC,EAAM/B,QAAUgC,OAAOD,GACrE,CACF,CAGA,8BAAoBc,CAClBC,EACAhC,EACAG,SAEMf,KAAKc,cAAcF,EAAgBG,GACzC,IACE,aAAaf,KAAK2B,OAAOkB,aAAaD,EAAW,CAAEE,QAAS,MAC9D,OACOjB,GACL,MAAM,IAAIlC,EAASkC,aAAiBjC,MAAQiC,EAAM/B,QAAUgC,OAAOD,GACrE,CACF,EArEAkB,EADWrC,EACI,UACfqC,EAFWrC,EAEI,kBAA0B,GACzCqC,EAHWrC,EAGa,aAAa,KAuEhC,MAAMqB,EAAarB,EAAYqB,WAAWiB,KAAKtC,GACzCiC,EAAoBjC,EAAYiC,kBAAkBK,KAAKtC"}
1
+ {"version":3,"file":"oss-uploader.mjs","sources":["../../../../packages/utils/src/oss-uploader.ts"],"sourcesContent":["import OSS from 'ali-oss'\n\nexport interface OssCredentials {\n accessKeyId: string\n accessKeySecret: string\n securityToken: string\n}\n\nexport interface OssConfig extends Partial<Omit<OSS.Options, 'accessKeyId' | 'accessKeySecret' | 'stsToken'>> {\n file: File\n onProgress?: (p: { percent: number }) => void\n path?: string\n headers?: Record<string, string> // 支持自定义 headers(如 OSS 回调)\n getCredentials: () => Promise<OssCredentials | null>\n}\n\n// 定义错误类型\nexport class OssError extends Error {\n constructor(message: string) {\n super(message)\n this.name = 'OssError'\n }\n}\n\nconst ossConfig: OSS.Options = {\n accessKeyId: '',\n accessKeySecret: '',\n stsToken: '',\n secure: true,\n bucket: 'yao-file-daily',\n region: 'oss-cn-hangzhou',\n timeout: 60000,\n}\n\nexport class OssUploader {\n // 使用 Map 缓存不同配置的 client\n private static clients: Map<string, { client: OSS, createTime: number, credentials: OssCredentials }> = new Map()\n private static readonly expireTime = 15 * 60 * 1000\n\n // 获取凭证\n private static async getOssCredentials(getCredentials: OssConfig['getCredentials']): Promise<OssCredentials> {\n const credentials = await getCredentials()\n if (!credentials) {\n throw new OssError('获取凭证失败')\n }\n return credentials\n }\n\n // 生成 client 缓存 key\n private static getClientKey(config: Partial<OSS.Options>): string {\n const endpoint = config.endpoint || ''\n const region = config.region || ossConfig.region\n const bucket = config.bucket || ossConfig.bucket\n return `${endpoint}-${region}-${bucket}`\n }\n\n // 修改初始化方法 - 返回对应配置的 client\n private static async initOssClient(getCredentials: OssConfig['getCredentials'], args?: Partial<OssConfig>): Promise<OSS> {\n const clientKey = this.getClientKey({ ...ossConfig, ...args })\n const cached = this.clients.get(clientKey)\n const now = Date.now()\n\n // 检查缓存是否有效\n if (cached && (now - cached.createTime) < this.expireTime) {\n return cached.client\n }\n\n try {\n // 获取新凭证\n const { securityToken: stsToken, ...credentials } = await this.getOssCredentials(getCredentials)\n\n // 合并配置\n const finalConfig: OSS.Options = {\n ...ossConfig,\n ...args,\n stsToken,\n ...credentials,\n refreshSTSToken: async () => {\n const creds = await this.getOssCredentials(getCredentials)\n return {\n accessKeyId: creds.accessKeyId,\n accessKeySecret: creds.accessKeySecret,\n stsToken: creds.securityToken,\n }\n },\n refreshSTSTokenInterval: 300000,\n }\n\n // 创建新 client\n const client = new OSS(finalConfig)\n\n // 缓存 client\n this.clients.set(clientKey, {\n client,\n createTime: now,\n credentials: { ...credentials, securityToken: stsToken },\n })\n\n return client\n }\n catch (error) {\n throw new OssError(error instanceof Error ? error.message : String(error))\n }\n }\n\n // 修改上传方法\n public static async uploadFile(opts: OssConfig & { getCredentials: OssConfig['getCredentials'] }): Promise<OSS.MultipartUploadResult> {\n const { file, onProgress = () => {}, path = 'ksh/pdf', headers, getCredentials, ...rest } = opts\n\n const client = await this.initOssClient(getCredentials, rest)\n\n try {\n // 确定上传的对象键\n const uploadKey = (() => {\n // 1. 判断 path 是否已经是完整路径(带文件后缀)\n // 如果 path 包含文件后缀(如 .pdf, .jpg 等),直接使用\n if (path && /\\.\\w+$/.test(path)) {\n return path\n }\n\n // 2. 否则使用 path + filename 组合\n return `${path}/${file.name}`\n })()\n\n // 构建上传选项\n const uploadOptions: OSS.MultipartUploadOptions = {\n progress(p: number) {\n const percent = Math.round(p * 100)\n onProgress({ percent })\n },\n }\n\n // 如果有自定义 headers,添加到上传选项中\n if (headers) {\n uploadOptions.headers = headers\n }\n\n const result = await client.multipartUpload(uploadKey, file, uploadOptions)\n return result\n }\n catch (error) {\n throw new OssError(error instanceof Error ? error.message : String(error))\n }\n }\n\n // 修改生成签名URL方法\n public static async generateSignedUrl(\n objectKey: string,\n getCredentials: OssConfig['getCredentials'],\n args?: Partial<OssConfig>,\n ): Promise<string> {\n const client = await this.initOssClient(getCredentials, args)\n try {\n return await client.signatureUrl(objectKey, { expires: 60 * 60 })\n }\n catch (error) {\n throw new OssError(error instanceof Error ? error.message : String(error))\n }\n }\n\n // 新增:清理过期的 client 缓存\n public static clearExpiredClients(): void {\n const now = Date.now()\n for (const [key, value] of this.clients.entries()) {\n if (now - value.createTime >= this.expireTime) {\n this.clients.delete(key)\n }\n }\n }\n\n // 新增:清理所有缓存\n public static clearAllClients(): void {\n this.clients.clear()\n }\n}\n\n// 导出便捷方法\nexport const uploadFile = OssUploader.uploadFile.bind(OssUploader)\nexport const generateSignedUrl = OssUploader.generateSignedUrl.bind(OssUploader)\n"],"names":["OssError","Error","constructor","message","super","this","name","ossConfig","accessKeyId","accessKeySecret","stsToken","secure","bucket","region","timeout","OssUploader","getOssCredentials","getCredentials","credentials","getClientKey","config","endpoint","initOssClient","args","clientKey","cached","clients","get","now","Date","createTime","expireTime","client","securityToken","finalConfig","refreshSTSToken","async","creds","refreshSTSTokenInterval","OSS","set","error","String","uploadFile","opts","file","onProgress","path","headers","rest","uploadKey","test","uploadOptions","progress","p","percent","Math","round","multipartUpload","generateSignedUrl","objectKey","signatureUrl","expires","clearExpiredClients","key","value","entries","delete","clearAllClients","clear","__publicField","Map","bind"],"mappings":"iLAiBO,MAAMA,UAAiBC,MAC5BC,WAAAA,CAAYC,GACVC,MAAMD,GACNE,KAAKC,KAAO,UACd,EAGF,MAAMC,EAAyB,CAC7BC,YAAa,GACbC,gBAAiB,GACjBC,SAAU,GACVC,QAAQ,EACRC,OAAQ,iBACRC,OAAQ,kBACRC,QAAS,KAGJ,MAAMC,EAMX,8BAAqBC,CAAkBC,GACrC,MAAMC,QAAoBD,IAC1B,IAAKC,EACH,MAAM,IAAIlB,EAAS,UAErB,OAAOkB,CACT,CAGA,mBAAeC,CAAaC,GAI1B,MAAO,GAHUA,EAAOC,UAAY,MACrBD,EAAOP,QAAUN,EAAUM,UAC3BO,EAAOR,QAAUL,EAAUK,QAE5C,CAGA,0BAAqBU,CAAcL,EAA6CM,GAC9E,MAAMC,EAAYnB,KAAKc,aAAa,IAAKZ,KAAcgB,IACjDE,EAASpB,KAAKqB,QAAQC,IAAIH,GAC1BI,EAAMC,KAAKD,MAGjB,GAAIH,GAAWG,EAAMH,EAAOK,WAAczB,KAAK0B,WAC7C,OAAON,EAAOO,OAGhB,IAEE,MAAQC,cAAevB,KAAaQ,SAAsBb,KAAKW,kBAAkBC,GAG3EiB,EAA2B,IAC5B3B,KACAgB,EACHb,cACGQ,EACHiB,gBAAiBC,UACf,MAAMC,QAAchC,KAAKW,kBAAkBC,GAC3C,MAAO,CACLT,YAAa6B,EAAM7B,YACnBC,gBAAiB4B,EAAM5B,gBACvBC,SAAU2B,EAAMJ,gBAGpBK,wBAAyB,KAIrBN,EAAS,IAAIO,EAAIL,GASvB,OANA7B,KAAKqB,QAAQc,IAAIhB,EAAW,CAC1BQ,SACAF,WAAYF,EACZV,YAAa,IAAKA,EAAae,cAAevB,KAGzCsB,CACT,OACOS,GACL,MAAM,IAAIzC,EAASyC,aAAiBxC,MAAQwC,EAAMtC,QAAUuC,OAAOD,GACrE,CACF,CAGA,uBAAoBE,CAAWC,GAC7B,MAAMC,KAAEA,EAAAC,WAAMA,EAAaA,YAAUC,EAAO,UAAAC,QAAWA,iBAAS/B,KAAmBgC,GAASL,EAEtFZ,QAAe3B,KAAKiB,cAAcL,EAAgBgC,GAExD,IAEE,MAAMC,EAGAH,GAAQ,SAASI,KAAKJ,GACjBA,EAIF,GAAGA,KAAQF,EAAKvC,OAInB8C,EAA4C,CAChDC,QAAAA,CAASC,GACP,MAAMC,EAAUC,KAAKC,MAAU,IAAJH,GAC3BR,EAAW,CAAES,WACf,GAIEP,IACFI,EAAcJ,QAAUA,GAI1B,aADqBhB,EAAO0B,gBAAgBR,EAAWL,EAAMO,EAE/D,OACOX,GACL,MAAM,IAAIzC,EAASyC,aAAiBxC,MAAQwC,EAAMtC,QAAUuC,OAAOD,GACrE,CACF,CAGA,8BAAoBkB,CAClBC,EACA3C,EACAM,GAEA,MAAMS,QAAe3B,KAAKiB,cAAcL,EAAgBM,GACxD,IACE,aAAaS,EAAO6B,aAAaD,EAAW,CAAEE,QAAS,MACzD,OACOrB,GACL,MAAM,IAAIzC,EAASyC,aAAiBxC,MAAQwC,EAAMtC,QAAUuC,OAAOD,GACrE,CACF,CAGA,0BAAcsB,GACZ,MAAMnC,EAAMC,KAAKD,MACjB,IAAA,MAAYoC,EAAKC,KAAU5D,KAAKqB,QAAQwC,UAClCtC,EAAMqC,EAAMnC,YAAczB,KAAK0B,YACjC1B,KAAKqB,QAAQyC,OAAOH,EAG1B,CAGA,sBAAcI,GACZ/D,KAAKqB,QAAQ2C,OACf,EAzIAC,EAFWvD,EAEI,UAAyF,IAAIwD,KAC5GD,EAHWvD,EAGa,aAAa,KA4IhC,MAAM4B,EAAa5B,EAAY4B,WAAW6B,KAAKzD,GACzC4C,EAAoB5C,EAAY4C,kBAAkBa,KAAKzD"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("ali-oss"),t=Object.defineProperty,s=(e,s,r)=>((e,s,r)=>s in e?t(e,s,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[s]=r)(e,"symbol"!=typeof s?s+"":s,r);class r extends Error{constructor(e){super(e),this.name="OssError"}}const i={accessKeyId:"",accessKeySecret:"",stsToken:"",secure:!0,bucket:"yao-file-daily",region:"oss-cn-hangzhou",timeout:6e4};class n{static async getOssCredentials(e){const t=await e();if(!t)throw new r("获取凭证失败");return t}static async initOssClient(t,s){const n=Date.now()-this.createTokenTime;if(!i.accessKeyId||n>this.expireTime)try{const{securityToken:r,...n}=await this.getOssCredentials(t);Object.assign(i,{stsToken:r,...n,...s,refreshSTSToken:async()=>await this.getOssCredentials(t),refreshSTSTokenInterval:3e5}),this.createTokenTime=Date.now(),this.client=new e(i)}catch(e){throw new r(e instanceof Error?e.message:String(e))}}static async uploadFile(e){const{file:t,onProgress:s=()=>{},path:i="ksh/pdf",getCredentials:n,...a}=e;await this.initOssClient(n,a);try{return await this.client.multipartUpload(`${i}/${t.name}`,t,{progress(e){s({percent:Math.round(100*e)})}})}catch(e){throw new r(e instanceof Error?e.message:String(e))}}static async generateSignedUrl(e,t,s){await this.initOssClient(t,s);try{return await this.client.signatureUrl(e,{expires:3600})}catch(e){throw new r(e instanceof Error?e.message:String(e))}}}s(n,"client"),s(n,"createTokenTime",0),s(n,"expireTime",9e5);const a=n.uploadFile.bind(n),o=n.generateSignedUrl.bind(n);exports.OssError=r,exports.OssUploader=n,exports.generateSignedUrl=o,exports.uploadFile=a;
1
+ "use strict";var e=require("ali-oss"),t=Object.defineProperty,s=(e,s,r)=>((e,s,r)=>s in e?t(e,s,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[s]=r)(e,"symbol"!=typeof s?s+"":s,r);class r extends Error{constructor(e){super(e),this.name="OssError"}}const i={accessKeyId:"",accessKeySecret:"",stsToken:"",secure:!0,bucket:"yao-file-daily",region:"oss-cn-hangzhou",timeout:6e4};class n{static async getOssCredentials(e){const t=await e();if(!t)throw new r("获取凭证失败");return t}static getClientKey(e){return`${e.endpoint||""}-${e.region||i.region}-${e.bucket||i.bucket}`}static async initOssClient(t,s){const n=this.getClientKey({...i,...s}),a=this.clients.get(n),c=Date.now();if(a&&c-a.createTime<this.expireTime)return a.client;try{const{securityToken:r,...a}=await this.getOssCredentials(t),o={...i,...s,stsToken:r,...a,refreshSTSToken:async()=>{const e=await this.getOssCredentials(t);return{accessKeyId:e.accessKeyId,accessKeySecret:e.accessKeySecret,stsToken:e.securityToken}},refreshSTSTokenInterval:3e5},l=new e(o);return this.clients.set(n,{client:l,createTime:c,credentials:{...a,securityToken:r}}),l}catch(e){throw new r(e instanceof Error?e.message:String(e))}}static async uploadFile(e){const{file:t,onProgress:s=()=>{},path:i="ksh/pdf",headers:n,getCredentials:a,...c}=e,o=await this.initOssClient(a,c);try{const e=i&&/\.\w+$/.test(i)?i:`${i}/${t.name}`,r={progress(e){const t=Math.round(100*e);s({percent:t})}};n&&(r.headers=n);return await o.multipartUpload(e,t,r)}catch(e){throw new r(e instanceof Error?e.message:String(e))}}static async generateSignedUrl(e,t,s){const i=await this.initOssClient(t,s);try{return await i.signatureUrl(e,{expires:3600})}catch(e){throw new r(e instanceof Error?e.message:String(e))}}static clearExpiredClients(){const e=Date.now();for(const[t,s]of this.clients.entries())e-s.createTime>=this.expireTime&&this.clients.delete(t)}static clearAllClients(){this.clients.clear()}}s(n,"clients",new Map),s(n,"expireTime",9e5);const a=n.uploadFile.bind(n),c=n.generateSignedUrl.bind(n);exports.OssError=r,exports.OssUploader=n,exports.generateSignedUrl=c,exports.uploadFile=a;
2
2
  //# sourceMappingURL=oss-uploader.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"oss-uploader.cjs","sources":["../../../../packages/utils/src/oss-uploader.ts"],"sourcesContent":["import OSS from 'ali-oss'\n\nexport interface OssCredentials {\n accessKeyId: string\n accessKeySecret: string\n securityToken: string\n}\n\nexport interface OssConfig extends Partial<Omit<OSS.Options, 'accessKeyId' | 'accessKeySecret' | 'stsToken'>> {\n file: File\n onProgress?: (p: { percent: number }) => void\n path?: string\n getCredentials: () => Promise<OssCredentials | null>\n}\n\n// 定义错误类型\nexport class OssError extends Error {\n constructor(message: string) {\n super(message)\n this.name = 'OssError'\n }\n}\n\nconst ossConfig: OSS.Options = {\n accessKeyId: '',\n accessKeySecret: '',\n stsToken: '',\n secure: true,\n bucket: 'yao-file-daily',\n region: 'oss-cn-hangzhou',\n timeout: 60000,\n}\n\nexport class OssUploader {\n private static client: OSS\n private static createTokenTime: number = 0\n private static readonly expireTime = 15 * 60 * 1000\n\n // 获取凭证\n private static async getOssCredentials(getCredentials: OssConfig['getCredentials']): Promise<Required<OssCredentials>> {\n const credentials = await getCredentials()\n if (!credentials) {\n throw new OssError('获取凭证失败')\n }\n return credentials\n }\n\n // 修改初始化方法\n public static async initOssClient(getCredentials: OssConfig['getCredentials'], args?: Partial<OssConfig>): Promise<void> {\n const diff = Date.now() - this.createTokenTime\n if (!ossConfig.accessKeyId || diff > this.expireTime) {\n try {\n const { securityToken: stsToken, ...credentials } = await this.getOssCredentials(getCredentials)\n Object.assign(ossConfig, {\n stsToken,\n ...credentials,\n ...args,\n refreshSTSToken: async () => {\n return await this.getOssCredentials(getCredentials)\n },\n refreshSTSTokenInterval: 300000,\n })\n this.createTokenTime = Date.now()\n this.client = new OSS(ossConfig)\n }\n catch (error) {\n throw new OssError(error instanceof Error ? error.message : String(error))\n }\n }\n }\n\n // 修改上传方法\n public static async uploadFile(opts: OssConfig & { getCredentials: OssConfig['getCredentials'] }): Promise<OSS.MultipartUploadResult> {\n const { file, onProgress = () => {}, path = 'ksh/pdf', getCredentials, ...rest } = opts\n\n await this.initOssClient(getCredentials, rest)\n\n try {\n const result = await this.client.multipartUpload(`${path}/${file.name}`, file, {\n progress(p: number) {\n onProgress({ percent: Math.round(p * 100) })\n },\n })\n return result\n }\n catch (error) {\n throw new OssError(error instanceof Error ? error.message : String(error))\n }\n }\n\n // 修改生成签名URL方法\n public static async generateSignedUrl(\n objectKey: string,\n getCredentials: OssConfig['getCredentials'],\n args?: Partial<OssConfig>,\n ): Promise<string> {\n await this.initOssClient(getCredentials, args)\n try {\n return await this.client.signatureUrl(objectKey, { expires: 60 * 60 })\n }\n catch (error) {\n throw new OssError(error instanceof Error ? error.message : String(error))\n }\n }\n}\n\n// 导出便捷方法\nexport const uploadFile = OssUploader.uploadFile.bind(OssUploader)\nexport const generateSignedUrl = OssUploader.generateSignedUrl.bind(OssUploader)\n"],"names":["OssError","Error","constructor","message","super","this","name","ossConfig","accessKeyId","accessKeySecret","stsToken","secure","bucket","region","timeout","OssUploader","getOssCredentials","getCredentials","credentials","initOssClient","args","diff","Date","now","createTokenTime","expireTime","securityToken","Object","assign","refreshSTSToken","async","refreshSTSTokenInterval","client","OSS","error","String","uploadFile","opts","file","onProgress","path","rest","multipartUpload","progress","p","percent","Math","round","generateSignedUrl","objectKey","signatureUrl","expires","__publicField","bind"],"mappings":"4LAgBO,MAAMA,UAAiBC,MAC5BC,WAAAA,CAAYC,GACVC,MAAMD,GACNE,KAAKC,KAAO,UACd,EAGF,MAAMC,EAAyB,CAC7BC,YAAa,GACbC,gBAAiB,GACjBC,SAAU,GACVC,QAAQ,EACRC,OAAQ,iBACRC,OAAQ,kBACRC,QAAS,KAGJ,MAAMC,EAMX,8BAAqBC,CAAkBC,GACrC,MAAMC,QAAoBD,IAC1B,IAAKC,EACH,MAAM,IAAIlB,EAAS,UAErB,OAAOkB,CACT,CAGA,0BAAoBC,CAAcF,EAA6CG,GAC7E,MAAMC,EAAOC,KAAKC,MAAQlB,KAAKmB,gBAC/B,IAAKjB,EAAUC,aAAea,EAAOhB,KAAKoB,WACxC,IACE,MAAQC,cAAehB,KAAaQ,SAAsBb,KAAKW,kBAAkBC,GACjFU,OAAOC,OAAOrB,EAAW,CACvBG,cACGQ,KACAE,EACHS,gBAAiBC,eACFzB,KAAKW,kBAAkBC,GAEtCc,wBAAyB,MAE3B1B,KAAKmB,gBAAkBF,KAAKC,MAC5BlB,KAAK2B,OAAS,IAAIC,EAAI1B,EACxB,OACO2B,GACL,MAAM,IAAIlC,EAASkC,aAAiBjC,MAAQiC,EAAM/B,QAAUgC,OAAOD,GACrE,CAEJ,CAGA,uBAAoBE,CAAWC,GAC7B,MAAMC,KAAEA,EAAAC,WAAMA,EAAaA,YAAUC,EAAO,UAAAvB,eAAWA,KAAmBwB,GAASJ,QAE7EhC,KAAKc,cAAcF,EAAgBwB,GAEzC,IAME,aALqBpC,KAAK2B,OAAOU,gBAAgB,GAAGF,KAAQF,EAAKhC,OAAQgC,EAAM,CAC7EK,QAAAA,CAASC,GACPL,EAAW,CAAEM,QAASC,KAAKC,MAAU,IAAJH,IACnC,GAGJ,OACOV,GACL,MAAM,IAAIlC,EAASkC,aAAiBjC,MAAQiC,EAAM/B,QAAUgC,OAAOD,GACrE,CACF,CAGA,8BAAoBc,CAClBC,EACAhC,EACAG,SAEMf,KAAKc,cAAcF,EAAgBG,GACzC,IACE,aAAaf,KAAK2B,OAAOkB,aAAaD,EAAW,CAAEE,QAAS,MAC9D,OACOjB,GACL,MAAM,IAAIlC,EAASkC,aAAiBjC,MAAQiC,EAAM/B,QAAUgC,OAAOD,GACrE,CACF,EArEAkB,EADWrC,EACI,UACfqC,EAFWrC,EAEI,kBAA0B,GACzCqC,EAHWrC,EAGa,aAAa,KAuEhC,MAAMqB,EAAarB,EAAYqB,WAAWiB,KAAKtC,GACzCiC,EAAoBjC,EAAYiC,kBAAkBK,KAAKtC"}
1
+ {"version":3,"file":"oss-uploader.cjs","sources":["../../../../packages/utils/src/oss-uploader.ts"],"sourcesContent":["import OSS from 'ali-oss'\n\nexport interface OssCredentials {\n accessKeyId: string\n accessKeySecret: string\n securityToken: string\n}\n\nexport interface OssConfig extends Partial<Omit<OSS.Options, 'accessKeyId' | 'accessKeySecret' | 'stsToken'>> {\n file: File\n onProgress?: (p: { percent: number }) => void\n path?: string\n headers?: Record<string, string> // 支持自定义 headers(如 OSS 回调)\n getCredentials: () => Promise<OssCredentials | null>\n}\n\n// 定义错误类型\nexport class OssError extends Error {\n constructor(message: string) {\n super(message)\n this.name = 'OssError'\n }\n}\n\nconst ossConfig: OSS.Options = {\n accessKeyId: '',\n accessKeySecret: '',\n stsToken: '',\n secure: true,\n bucket: 'yao-file-daily',\n region: 'oss-cn-hangzhou',\n timeout: 60000,\n}\n\nexport class OssUploader {\n // 使用 Map 缓存不同配置的 client\n private static clients: Map<string, { client: OSS, createTime: number, credentials: OssCredentials }> = new Map()\n private static readonly expireTime = 15 * 60 * 1000\n\n // 获取凭证\n private static async getOssCredentials(getCredentials: OssConfig['getCredentials']): Promise<OssCredentials> {\n const credentials = await getCredentials()\n if (!credentials) {\n throw new OssError('获取凭证失败')\n }\n return credentials\n }\n\n // 生成 client 缓存 key\n private static getClientKey(config: Partial<OSS.Options>): string {\n const endpoint = config.endpoint || ''\n const region = config.region || ossConfig.region\n const bucket = config.bucket || ossConfig.bucket\n return `${endpoint}-${region}-${bucket}`\n }\n\n // 修改初始化方法 - 返回对应配置的 client\n private static async initOssClient(getCredentials: OssConfig['getCredentials'], args?: Partial<OssConfig>): Promise<OSS> {\n const clientKey = this.getClientKey({ ...ossConfig, ...args })\n const cached = this.clients.get(clientKey)\n const now = Date.now()\n\n // 检查缓存是否有效\n if (cached && (now - cached.createTime) < this.expireTime) {\n return cached.client\n }\n\n try {\n // 获取新凭证\n const { securityToken: stsToken, ...credentials } = await this.getOssCredentials(getCredentials)\n\n // 合并配置\n const finalConfig: OSS.Options = {\n ...ossConfig,\n ...args,\n stsToken,\n ...credentials,\n refreshSTSToken: async () => {\n const creds = await this.getOssCredentials(getCredentials)\n return {\n accessKeyId: creds.accessKeyId,\n accessKeySecret: creds.accessKeySecret,\n stsToken: creds.securityToken,\n }\n },\n refreshSTSTokenInterval: 300000,\n }\n\n // 创建新 client\n const client = new OSS(finalConfig)\n\n // 缓存 client\n this.clients.set(clientKey, {\n client,\n createTime: now,\n credentials: { ...credentials, securityToken: stsToken },\n })\n\n return client\n }\n catch (error) {\n throw new OssError(error instanceof Error ? error.message : String(error))\n }\n }\n\n // 修改上传方法\n public static async uploadFile(opts: OssConfig & { getCredentials: OssConfig['getCredentials'] }): Promise<OSS.MultipartUploadResult> {\n const { file, onProgress = () => {}, path = 'ksh/pdf', headers, getCredentials, ...rest } = opts\n\n const client = await this.initOssClient(getCredentials, rest)\n\n try {\n // 确定上传的对象键\n const uploadKey = (() => {\n // 1. 判断 path 是否已经是完整路径(带文件后缀)\n // 如果 path 包含文件后缀(如 .pdf, .jpg 等),直接使用\n if (path && /\\.\\w+$/.test(path)) {\n return path\n }\n\n // 2. 否则使用 path + filename 组合\n return `${path}/${file.name}`\n })()\n\n // 构建上传选项\n const uploadOptions: OSS.MultipartUploadOptions = {\n progress(p: number) {\n const percent = Math.round(p * 100)\n onProgress({ percent })\n },\n }\n\n // 如果有自定义 headers,添加到上传选项中\n if (headers) {\n uploadOptions.headers = headers\n }\n\n const result = await client.multipartUpload(uploadKey, file, uploadOptions)\n return result\n }\n catch (error) {\n throw new OssError(error instanceof Error ? error.message : String(error))\n }\n }\n\n // 修改生成签名URL方法\n public static async generateSignedUrl(\n objectKey: string,\n getCredentials: OssConfig['getCredentials'],\n args?: Partial<OssConfig>,\n ): Promise<string> {\n const client = await this.initOssClient(getCredentials, args)\n try {\n return await client.signatureUrl(objectKey, { expires: 60 * 60 })\n }\n catch (error) {\n throw new OssError(error instanceof Error ? error.message : String(error))\n }\n }\n\n // 新增:清理过期的 client 缓存\n public static clearExpiredClients(): void {\n const now = Date.now()\n for (const [key, value] of this.clients.entries()) {\n if (now - value.createTime >= this.expireTime) {\n this.clients.delete(key)\n }\n }\n }\n\n // 新增:清理所有缓存\n public static clearAllClients(): void {\n this.clients.clear()\n }\n}\n\n// 导出便捷方法\nexport const uploadFile = OssUploader.uploadFile.bind(OssUploader)\nexport const generateSignedUrl = OssUploader.generateSignedUrl.bind(OssUploader)\n"],"names":["OssError","Error","constructor","message","super","this","name","ossConfig","accessKeyId","accessKeySecret","stsToken","secure","bucket","region","timeout","OssUploader","getOssCredentials","getCredentials","credentials","getClientKey","config","endpoint","initOssClient","args","clientKey","cached","clients","get","now","Date","createTime","expireTime","client","securityToken","finalConfig","refreshSTSToken","async","creds","refreshSTSTokenInterval","OSS","set","error","String","uploadFile","opts","file","onProgress","path","headers","rest","uploadKey","test","uploadOptions","progress","p","percent","Math","round","multipartUpload","generateSignedUrl","objectKey","signatureUrl","expires","clearExpiredClients","key","value","entries","delete","clearAllClients","clear","__publicField","Map","bind"],"mappings":"4LAiBO,MAAMA,UAAiBC,MAC5BC,WAAAA,CAAYC,GACVC,MAAMD,GACNE,KAAKC,KAAO,UACd,EAGF,MAAMC,EAAyB,CAC7BC,YAAa,GACbC,gBAAiB,GACjBC,SAAU,GACVC,QAAQ,EACRC,OAAQ,iBACRC,OAAQ,kBACRC,QAAS,KAGJ,MAAMC,EAMX,8BAAqBC,CAAkBC,GACrC,MAAMC,QAAoBD,IAC1B,IAAKC,EACH,MAAM,IAAIlB,EAAS,UAErB,OAAOkB,CACT,CAGA,mBAAeC,CAAaC,GAI1B,MAAO,GAHUA,EAAOC,UAAY,MACrBD,EAAOP,QAAUN,EAAUM,UAC3BO,EAAOR,QAAUL,EAAUK,QAE5C,CAGA,0BAAqBU,CAAcL,EAA6CM,GAC9E,MAAMC,EAAYnB,KAAKc,aAAa,IAAKZ,KAAcgB,IACjDE,EAASpB,KAAKqB,QAAQC,IAAIH,GAC1BI,EAAMC,KAAKD,MAGjB,GAAIH,GAAWG,EAAMH,EAAOK,WAAczB,KAAK0B,WAC7C,OAAON,EAAOO,OAGhB,IAEE,MAAQC,cAAevB,KAAaQ,SAAsBb,KAAKW,kBAAkBC,GAG3EiB,EAA2B,IAC5B3B,KACAgB,EACHb,cACGQ,EACHiB,gBAAiBC,UACf,MAAMC,QAAchC,KAAKW,kBAAkBC,GAC3C,MAAO,CACLT,YAAa6B,EAAM7B,YACnBC,gBAAiB4B,EAAM5B,gBACvBC,SAAU2B,EAAMJ,gBAGpBK,wBAAyB,KAIrBN,EAAS,IAAIO,EAAIL,GASvB,OANA7B,KAAKqB,QAAQc,IAAIhB,EAAW,CAC1BQ,SACAF,WAAYF,EACZV,YAAa,IAAKA,EAAae,cAAevB,KAGzCsB,CACT,OACOS,GACL,MAAM,IAAIzC,EAASyC,aAAiBxC,MAAQwC,EAAMtC,QAAUuC,OAAOD,GACrE,CACF,CAGA,uBAAoBE,CAAWC,GAC7B,MAAMC,KAAEA,EAAAC,WAAMA,EAAaA,YAAUC,EAAO,UAAAC,QAAWA,iBAAS/B,KAAmBgC,GAASL,EAEtFZ,QAAe3B,KAAKiB,cAAcL,EAAgBgC,GAExD,IAEE,MAAMC,EAGAH,GAAQ,SAASI,KAAKJ,GACjBA,EAIF,GAAGA,KAAQF,EAAKvC,OAInB8C,EAA4C,CAChDC,QAAAA,CAASC,GACP,MAAMC,EAAUC,KAAKC,MAAU,IAAJH,GAC3BR,EAAW,CAAES,WACf,GAIEP,IACFI,EAAcJ,QAAUA,GAI1B,aADqBhB,EAAO0B,gBAAgBR,EAAWL,EAAMO,EAE/D,OACOX,GACL,MAAM,IAAIzC,EAASyC,aAAiBxC,MAAQwC,EAAMtC,QAAUuC,OAAOD,GACrE,CACF,CAGA,8BAAoBkB,CAClBC,EACA3C,EACAM,GAEA,MAAMS,QAAe3B,KAAKiB,cAAcL,EAAgBM,GACxD,IACE,aAAaS,EAAO6B,aAAaD,EAAW,CAAEE,QAAS,MACzD,OACOrB,GACL,MAAM,IAAIzC,EAASyC,aAAiBxC,MAAQwC,EAAMtC,QAAUuC,OAAOD,GACrE,CACF,CAGA,0BAAcsB,GACZ,MAAMnC,EAAMC,KAAKD,MACjB,IAAA,MAAYoC,EAAKC,KAAU5D,KAAKqB,QAAQwC,UAClCtC,EAAMqC,EAAMnC,YAAczB,KAAK0B,YACjC1B,KAAKqB,QAAQyC,OAAOH,EAG1B,CAGA,sBAAcI,GACZ/D,KAAKqB,QAAQ2C,OACf,EAzIAC,EAFWvD,EAEI,UAAyF,IAAIwD,KAC5GD,EAHWvD,EAGa,aAAa,KA4IhC,MAAM4B,EAAa5B,EAAY4B,WAAW6B,KAAKzD,GACzC4C,EAAoB5C,EAAY4C,kBAAkBa,KAAKzD"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qxs-bns/utils",
3
3
  "type": "module",
4
- "version": "0.0.30",
4
+ "version": "0.0.32",
5
5
  "private": false,
6
6
  "license": "MIT",
7
7
  "homepage": "https://qxs-bns.pages.dev/guide/utils/",
@@ -10,21 +10,24 @@ export interface OssConfig extends Partial<Omit<OSS.Options, 'accessKeyId' | 'ac
10
10
  percent: number;
11
11
  }) => void;
12
12
  path?: string;
13
+ headers?: Record<string, string>;
13
14
  getCredentials: () => Promise<OssCredentials | null>;
14
15
  }
15
16
  export declare class OssError extends Error {
16
17
  constructor(message: string);
17
18
  }
18
19
  export declare class OssUploader {
19
- private static client;
20
- private static createTokenTime;
20
+ private static clients;
21
21
  private static readonly expireTime;
22
22
  private static getOssCredentials;
23
- static initOssClient(getCredentials: OssConfig['getCredentials'], args?: Partial<OssConfig>): Promise<void>;
23
+ private static getClientKey;
24
+ private static initOssClient;
24
25
  static uploadFile(opts: OssConfig & {
25
26
  getCredentials: OssConfig['getCredentials'];
26
27
  }): Promise<OSS.MultipartUploadResult>;
27
28
  static generateSignedUrl(objectKey: string, getCredentials: OssConfig['getCredentials'], args?: Partial<OssConfig>): Promise<string>;
29
+ static clearExpiredClients(): void;
30
+ static clearAllClients(): void;
28
31
  }
29
32
  export declare const uploadFile: typeof OssUploader.uploadFile;
30
33
  export declare const generateSignedUrl: typeof OssUploader.generateSignedUrl;
@@ -1 +1 @@
1
- {"version":3,"file":"oss-uploader.d.ts","sourceRoot":"","sources":["../../../../packages/utils/src/oss-uploader.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,SAAS,CAAA;AAEzB,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,MAAM,CAAA;IACnB,eAAe,EAAE,MAAM,CAAA;IACvB,aAAa,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,SAAU,SAAQ,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,aAAa,GAAG,iBAAiB,GAAG,UAAU,CAAC,CAAC;IAC3G,IAAI,EAAE,IAAI,CAAA;IACV,UAAU,CAAC,EAAE,CAAC,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,cAAc,EAAE,MAAM,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;CACrD;AAGD,qBAAa,QAAS,SAAQ,KAAK;gBACrB,OAAO,EAAE,MAAM;CAI5B;AAYD,qBAAa,WAAW;IACtB,OAAO,CAAC,MAAM,CAAC,MAAM,CAAK;IAC1B,OAAO,CAAC,MAAM,CAAC,eAAe,CAAY;IAC1C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAiB;mBAG9B,iBAAiB;WASlB,aAAa,CAAC,cAAc,EAAE,SAAS,CAAC,gBAAgB,CAAC,EAAE,IAAI,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;WAwBpG,UAAU,CAAC,IAAI,EAAE,SAAS,GAAG;QAAE,cAAc,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAA;KAAE,GAAG,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC;WAmBjH,iBAAiB,CACnC,SAAS,EAAE,MAAM,EACjB,cAAc,EAAE,SAAS,CAAC,gBAAgB,CAAC,EAC3C,IAAI,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,GACxB,OAAO,CAAC,MAAM,CAAC;CASnB;AAGD,eAAO,MAAM,UAAU,+BAA2C,CAAA;AAClE,eAAO,MAAM,iBAAiB,sCAAkD,CAAA"}
1
+ {"version":3,"file":"oss-uploader.d.ts","sourceRoot":"","sources":["../../../../packages/utils/src/oss-uploader.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,SAAS,CAAA;AAEzB,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,MAAM,CAAA;IACnB,eAAe,EAAE,MAAM,CAAA;IACvB,aAAa,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,SAAU,SAAQ,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,aAAa,GAAG,iBAAiB,GAAG,UAAU,CAAC,CAAC;IAC3G,IAAI,EAAE,IAAI,CAAA;IACV,UAAU,CAAC,EAAE,CAAC,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAChC,cAAc,EAAE,MAAM,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;CACrD;AAGD,qBAAa,QAAS,SAAQ,KAAK;gBACrB,OAAO,EAAE,MAAM;CAI5B;AAYD,qBAAa,WAAW;IAEtB,OAAO,CAAC,MAAM,CAAC,OAAO,CAA2F;IACjH,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAiB;mBAG9B,iBAAiB;IAStC,OAAO,CAAC,MAAM,CAAC,YAAY;mBAQN,aAAa;WAiDd,UAAU,CAAC,IAAI,EAAE,SAAS,GAAG;QAAE,cAAc,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAA;KAAE,GAAG,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC;WAwCjH,iBAAiB,CACnC,SAAS,EAAE,MAAM,EACjB,cAAc,EAAE,SAAS,CAAC,gBAAgB,CAAC,EAC3C,IAAI,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,GACxB,OAAO,CAAC,MAAM,CAAC;WAWJ,mBAAmB,IAAI,IAAI;WAU3B,eAAe,IAAI,IAAI;CAGtC;AAGD,eAAO,MAAM,UAAU,+BAA2C,CAAA;AAClE,eAAO,MAAM,iBAAiB,sCAAkD,CAAA"}
@@ -1 +1 @@
1
- {"fileNames":["../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.float16.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/@vue+shared@3.5.18/node_modules/@vue/shared/dist/shared.d.ts","../../../node_modules/.pnpm/@vue+reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.d.ts","../../../node_modules/.pnpm/@vue+runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.d.ts","../../../node_modules/.pnpm/csstype@3.1.3/node_modules/csstype/index.d.ts","../../../node_modules/.pnpm/@vue+runtime-dom@3.5.18/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts","../../../node_modules/.pnpm/vue@3.5.18_typescript@5.9.2/node_modules/vue/jsx-runtime/index.d.ts","../../../packages/utils/src/argo-log.ts","../../../packages/utils/src/date-transfer.ts","../../../packages/utils/src/device.ts","../../../packages/utils/src/file-operations.ts","../../../node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/types/index.d.ts","../../../packages/utils/src/json.ts","../../../node_modules/.pnpm/@types+ali-oss@6.16.11/node_modules/@types/ali-oss/index.d.ts","../../../packages/utils/src/oss-uploader.ts","../../../packages/utils/src/storage.ts","../../../packages/utils/src/types.ts","../../../node_modules/.pnpm/axios@1.11.0/node_modules/axios/index.d.ts","../../../packages/utils/src/use-api.ts","../../../packages/utils/src/watermark.ts","../../../packages/utils/index.ts","../../../packages/utils/shims.d.ts"],"fileIdsList":[[82],[82,83,84,86],[83,84,85,86],[86],[87,88,89,90,91,93,95,96,97,99,100],[87,102],[87],[87,92],[87,94],[87,97,98]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"2ab096661c711e4a81cc464fa1e6feb929a54f5340b46b0a07ac6bbf857471f0","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"60037901da1a425516449b9a20073aa03386cce92f7a1fd902d7602be3a7c2e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22adec94ef7047a6c9d1af3cb96be87a335908bf9ef386ae9fd50eeb37f44c47","affectsGlobalScope":true,"impliedFormat":1},{"version":"4245fee526a7d1754529d19227ecbf3be066ff79ebb6a380d78e41648f2f224d","affectsGlobalScope":true,"impliedFormat":1},{"version":"73f78680d4c08509933daf80947902f6ff41b6230f94dd002ae372620adb0f60","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5239f5c01bcfa9cd32f37c496cf19c61d69d37e48be9de612b541aac915805b","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"25e0492430a92b27414c02e43d9a67a96d915cc9982caa3f36096933e1492f1e","impliedFormat":1},{"version":"616a55b9694bdb765470c1f66dc9606779b250520a36b87f4de2e4c594cea9bc","impliedFormat":1},{"version":"7e7187b0314b6ee31f37db0f82da408112ef548713ccbe28796ef551d47a6e0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","impliedFormat":1},{"version":"591c55c575d645b7f600dd2be6d9cf8d28c4b4a5297d9dfcd41b861fddce04ab","impliedFormat":1},{"version":"269536033c45b92c13747175bf6d197b959559acb119247b3eb9a0eee250c8c5","impliedFormat":1},{"version":"7bdf93e623085b522f7e1bb4fe4ee9c4df2400b53398eb9a803b9f10f911725b","signature":"4085058b6de61f42972027fce952ec6d0f966070d17d023a3f5c3ebd0c869407","affectsGlobalScope":true},{"version":"72af2f99ff91a9a6767e9374d5bcfdfa734f056e0ca4f99acfbdc0b6910cbe6a","signature":"642691020b5d2610d98d8dfa25df7e7c58a2e885d24bdec278f98842b02892f6"},{"version":"de9652b1bdad8aa2fa302b263a6a72265b276fec040394aa3b6c1adcff419ebc","signature":"6364be1269de7f1efc40324fb2cadc9a17d9bd2742d5bc1b95e309d848ca50f6"},{"version":"8f2a5590837d3f29a8d141931432d8b61e019382d1bdcb5d9990f2525242942b","signature":"4f8d8bcaa7127e5ed2d649cd5fc16b4e46b6d6960d82982ede8429d8066f9b96","affectsGlobalScope":true},{"version":"593654eebe902db28ca173f021f74ea9f77e8b344aebb0a80fa4d10f29bb3a9d","impliedFormat":1},{"version":"19f50a093aa873de6321cd996913aa89e0ec5308a8ae49bf05f071cd9614d0c6","signature":"10ee1d72a1aeb7992ec2517f444db7d425261969e0476b94a1bef6e47fd5c4b6"},{"version":"07e3a9a4ac19e4b39c9403908e87cd24166f9392851d566e0e32b2271dedb4e8","impliedFormat":1},{"version":"d65b67b4516d1f58921b6748b2844c22f11a7c870bd69007745e2b53c1e59131","signature":"04ab208bd5fed78d744ae1406f4e14066e57dd301a5e55df1ea62cf08db13c0a"},{"version":"7484cd645652e5de0e944021ff47e2794cd64e91ccba9e2ddfe2e5c4c7e62b89","signature":"b5ff6435fa9c6d61900a8764225558104fce909c6005109cb4ec42a6772052bd"},{"version":"7ad9aed3f5dc3de5049e8ba6912319dace213430b8babffad59e9b3cb8835760","signature":"a7b65e5fbd85d753c99c13a242176ec0f4f024108de502acbd52f82108f9386d"},{"version":"1d7ee0c4eb734d59b6d962bc9151f6330895067cd3058ce6a3cd95347ef5c6e8","impliedFormat":99},{"version":"cf924e26ca902228f18f189c71491704561d78f503e1bfd5e5c7f7cfd4fbbd00","signature":"b5ca2f4d4a420c9c8180e87dc6fb2359d785cf2f3dab4cc4a0dd0c9f541e6e2b"},{"version":"df1bca5fc6bc70b5a4d100bc5e359d8905927cb3534101a90ad6e54334bc4d7a","signature":"57b68e7019ec085b6644c3ce5572dfcf262183369e4e617b1fba51099a851100"},{"version":"61ee1ed58c57d98a9772f321aaffce39201a34288c10bd9d1b9c481dfdeb782a","signature":"79d44304d158c208bad4d8f97802a0742218d6328059981b009bd02b27314a54"},{"version":"a911a3d8df881033bf7dddc7c2e68233d6121c2114826324eae73232d0d30b97","affectsGlobalScope":true}],"root":[[88,91],93,[95,97],[99,102]],"options":{"allowImportingTsExtensions":true,"allowJs":true,"composite":true,"declaration":true,"declarationDir":"./","declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"jsx":1,"jsxImportSource":"vue","module":99,"noFallthroughCasesInSwitch":true,"noImplicitThis":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../../packages/utils","skipLibCheck":true,"strict":true,"target":99,"useDefineForClassFields":true,"verbatimModuleSyntax":true},"referencedMap":[[83,1],[84,2],[86,3],[87,4],[101,5],[88,6],[89,7],[90,7],[91,7],[93,8],[95,9],[96,7],[97,7],[99,10],[100,7]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.2"}
1
+ {"fileNames":["../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.float16.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/@vue+shared@3.5.18/node_modules/@vue/shared/dist/shared.d.ts","../../../node_modules/.pnpm/@vue+reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.d.ts","../../../node_modules/.pnpm/@vue+runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.d.ts","../../../node_modules/.pnpm/csstype@3.1.3/node_modules/csstype/index.d.ts","../../../node_modules/.pnpm/@vue+runtime-dom@3.5.18/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts","../../../node_modules/.pnpm/vue@3.5.18_typescript@5.9.2/node_modules/vue/jsx-runtime/index.d.ts","../../../packages/utils/src/argo-log.ts","../../../packages/utils/src/date-transfer.ts","../../../packages/utils/src/device.ts","../../../packages/utils/src/file-operations.ts","../../../node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/types/index.d.ts","../../../packages/utils/src/json.ts","../../../node_modules/.pnpm/@types+ali-oss@6.16.11/node_modules/@types/ali-oss/index.d.ts","../../../packages/utils/src/oss-uploader.ts","../../../packages/utils/src/storage.ts","../../../packages/utils/src/types.ts","../../../node_modules/.pnpm/axios@1.11.0/node_modules/axios/index.d.ts","../../../packages/utils/src/use-api.ts","../../../packages/utils/src/watermark.ts","../../../packages/utils/index.ts","../../../packages/utils/shims.d.ts"],"fileIdsList":[[82],[82,83,84,86],[83,84,85,86],[86],[87,88,89,90,91,93,95,96,97,99,100],[87,102],[87],[87,92],[87,94],[87,97,98]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"2ab096661c711e4a81cc464fa1e6feb929a54f5340b46b0a07ac6bbf857471f0","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"60037901da1a425516449b9a20073aa03386cce92f7a1fd902d7602be3a7c2e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22adec94ef7047a6c9d1af3cb96be87a335908bf9ef386ae9fd50eeb37f44c47","affectsGlobalScope":true,"impliedFormat":1},{"version":"4245fee526a7d1754529d19227ecbf3be066ff79ebb6a380d78e41648f2f224d","affectsGlobalScope":true,"impliedFormat":1},{"version":"73f78680d4c08509933daf80947902f6ff41b6230f94dd002ae372620adb0f60","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5239f5c01bcfa9cd32f37c496cf19c61d69d37e48be9de612b541aac915805b","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"25e0492430a92b27414c02e43d9a67a96d915cc9982caa3f36096933e1492f1e","impliedFormat":1},{"version":"616a55b9694bdb765470c1f66dc9606779b250520a36b87f4de2e4c594cea9bc","impliedFormat":1},{"version":"7e7187b0314b6ee31f37db0f82da408112ef548713ccbe28796ef551d47a6e0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","impliedFormat":1},{"version":"591c55c575d645b7f600dd2be6d9cf8d28c4b4a5297d9dfcd41b861fddce04ab","impliedFormat":1},{"version":"269536033c45b92c13747175bf6d197b959559acb119247b3eb9a0eee250c8c5","impliedFormat":1},{"version":"7bdf93e623085b522f7e1bb4fe4ee9c4df2400b53398eb9a803b9f10f911725b","signature":"4085058b6de61f42972027fce952ec6d0f966070d17d023a3f5c3ebd0c869407","affectsGlobalScope":true},{"version":"72af2f99ff91a9a6767e9374d5bcfdfa734f056e0ca4f99acfbdc0b6910cbe6a","signature":"642691020b5d2610d98d8dfa25df7e7c58a2e885d24bdec278f98842b02892f6"},{"version":"de9652b1bdad8aa2fa302b263a6a72265b276fec040394aa3b6c1adcff419ebc","signature":"6364be1269de7f1efc40324fb2cadc9a17d9bd2742d5bc1b95e309d848ca50f6"},{"version":"8f2a5590837d3f29a8d141931432d8b61e019382d1bdcb5d9990f2525242942b","signature":"4f8d8bcaa7127e5ed2d649cd5fc16b4e46b6d6960d82982ede8429d8066f9b96","affectsGlobalScope":true},{"version":"593654eebe902db28ca173f021f74ea9f77e8b344aebb0a80fa4d10f29bb3a9d","impliedFormat":1},{"version":"19f50a093aa873de6321cd996913aa89e0ec5308a8ae49bf05f071cd9614d0c6","signature":"10ee1d72a1aeb7992ec2517f444db7d425261969e0476b94a1bef6e47fd5c4b6"},{"version":"07e3a9a4ac19e4b39c9403908e87cd24166f9392851d566e0e32b2271dedb4e8","impliedFormat":1},{"version":"5641246ae50955bc26c08f48e8c950ade9db7b31aaa981aead124f8bdbbaeb37","signature":"b23ac5a1d0195de52c43f5fefbda09492453870043180a166d669f8da737fd34"},{"version":"7484cd645652e5de0e944021ff47e2794cd64e91ccba9e2ddfe2e5c4c7e62b89","signature":"b5ff6435fa9c6d61900a8764225558104fce909c6005109cb4ec42a6772052bd"},{"version":"7ad9aed3f5dc3de5049e8ba6912319dace213430b8babffad59e9b3cb8835760","signature":"a7b65e5fbd85d753c99c13a242176ec0f4f024108de502acbd52f82108f9386d"},{"version":"1d7ee0c4eb734d59b6d962bc9151f6330895067cd3058ce6a3cd95347ef5c6e8","impliedFormat":99},{"version":"cf924e26ca902228f18f189c71491704561d78f503e1bfd5e5c7f7cfd4fbbd00","signature":"b5ca2f4d4a420c9c8180e87dc6fb2359d785cf2f3dab4cc4a0dd0c9f541e6e2b"},{"version":"df1bca5fc6bc70b5a4d100bc5e359d8905927cb3534101a90ad6e54334bc4d7a","signature":"57b68e7019ec085b6644c3ce5572dfcf262183369e4e617b1fba51099a851100"},{"version":"61ee1ed58c57d98a9772f321aaffce39201a34288c10bd9d1b9c481dfdeb782a","signature":"79d44304d158c208bad4d8f97802a0742218d6328059981b009bd02b27314a54"},{"version":"a911a3d8df881033bf7dddc7c2e68233d6121c2114826324eae73232d0d30b97","affectsGlobalScope":true}],"root":[[88,91],93,[95,97],[99,102]],"options":{"allowImportingTsExtensions":true,"allowJs":true,"composite":true,"declaration":true,"declarationDir":"./","declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"jsx":1,"jsxImportSource":"vue","module":99,"noFallthroughCasesInSwitch":true,"noImplicitThis":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../../packages/utils","skipLibCheck":true,"strict":true,"target":99,"useDefineForClassFields":true,"verbatimModuleSyntax":true},"referencedMap":[[83,1],[84,2],[86,3],[87,4],[101,5],[88,6],[89,7],[90,7],[91,7],[93,8],[95,9],[96,7],[97,7],[99,10],[100,7]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.2"}