@haluo/util 2.0.32 → 2.0.33
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.
- package/dist/modules/upload/aliOss.js +3 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/types/modules/cookie/index.d.ts +0 -27
- package/dist/types/modules/date/index.d.ts +0 -52
- package/dist/types/modules/dom/index.d.ts +0 -28
- package/dist/types/modules/filter/index.d.ts +0 -24
- package/dist/types/modules/format/index.d.ts +0 -15
- package/dist/types/modules/match/index.d.ts +0 -12
- package/dist/types/modules/monitor/index.d.ts +0 -3
- package/dist/types/modules/monitor/lib/jsError.d.ts +0 -1
- package/dist/types/modules/monitor/lib/timing.d.ts +0 -1
- package/dist/types/modules/monitor/lib/xhr.d.ts +0 -1
- package/dist/types/modules/monitor/utils/onload.d.ts +0 -1
- package/dist/types/modules/monitor/utils/tracker.d.ts +0 -7
- package/dist/types/modules/number/index.d.ts +0 -41
- package/dist/types/modules/sentry/index.d.ts +0 -15
- package/dist/types/modules/tools/index.d.ts +0 -166
- package/dist/types/types/index.d.ts +0 -3
|
@@ -225,14 +225,16 @@ export class AliOssClass {
|
|
|
225
225
|
let { size } = params;
|
|
226
226
|
let result = {};
|
|
227
227
|
try {
|
|
228
|
+
let docType = file.name?.split('.').reverse()[0] || file.type; // 兼容 *.*.* 这种后缀(必传)
|
|
228
229
|
if (!size && this.isImageFile(file)) {
|
|
229
230
|
const image = await this.getImageInfo(file);
|
|
230
231
|
size = `_${image?.width}_${image?.height}`;
|
|
232
|
+
docType = file.type?.split('/').reverse()[0] || file.type; // 如果是图片文件格式如png(必传)
|
|
231
233
|
}
|
|
232
234
|
// 步骤 1:请求后端获取所有签名字段
|
|
233
235
|
const signResponse = await this.apiConfig.getSts({
|
|
234
236
|
businessType: businessType,
|
|
235
|
-
docType
|
|
237
|
+
docType,
|
|
236
238
|
size: size, // _1024_567(可选)
|
|
237
239
|
});
|
|
238
240
|
if (signResponse.data.code !== 0) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/typescript/lib/lib.esnext.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../src/modules/cookie/index.ts","../src/types/index.ts","../src/modules/date/index.ts","../src/modules/dom/index.ts","../src/modules/number/index.ts","../node_modules/@types/lodash/common/common.d.ts","../node_modules/@types/lodash/common/array.d.ts","../node_modules/@types/lodash/common/collection.d.ts","../node_modules/@types/lodash/common/date.d.ts","../node_modules/@types/lodash/common/function.d.ts","../node_modules/@types/lodash/common/lang.d.ts","../node_modules/@types/lodash/common/math.d.ts","../node_modules/@types/lodash/common/number.d.ts","../node_modules/@types/lodash/common/object.d.ts","../node_modules/@types/lodash/common/seq.d.ts","../node_modules/@types/lodash/common/string.d.ts","../node_modules/@types/lodash/common/util.d.ts","../node_modules/@types/lodash/index.d.ts","../node_modules/@types/lodash/clonedeep.d.ts","../node_modules/clipboard-copy/index.d.ts","../src/modules/tools/index.ts","../src/modules/filter/index.ts","../src/modules/format/index.ts","../src/modules/match/index.ts","../node_modules/@types/qs/index.d.ts","../src/modules/open-app/index.ts","../src/modules/upload/alioss.ts","../src/modules/upload/index.ts","../node_modules/@types/uuid/index.d.ts","../src/modules/monitor/utils/tracker.ts","../src/modules/monitor/lib/jserror.ts","../src/modules/monitor/lib/xhr.ts","../src/modules/monitor/index.ts","../src/index.ts","../src/modules/monitor/utils/onload.ts","../src/modules/monitor/lib/timing.ts","../node_modules/raven-js/typescript/raven.d.ts","../src/modules/sentry/index.ts","../src/types/lrz.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/@types/minimatch/index.d.ts","../node_modules/@types/glob/index.d.ts","../node_modules/@types/json-schema/index.d.ts","../node_modules/@types/json5/index.d.ts","../node_modules/@types/webpack-env/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},{"version":"dc695f0aaa6adebd925b30293f26a7cb88e1839f2b7911f95d3b2cc8abfc47e4","signature":"7fce176ca45f39bea6de45fca9cb4d4de6b5f03beb9008a22cf8217525f78627"},{"version":"a9d14a45c92f8e273173b453778546a0fbfa269ae74a842fd4ae6a3f397eb18a","signature":"f48fe82fa0efa3bbb0431ae08739f84f9ef961df8328f09c91c1d5445b0956e5"},{"version":"f70addce4b3ae8bdef36b5926d8a79d5b14a9868690ee027945406c8c86d0fe4","signature":"817ebf896260d1919dbcea89f4c06c93eb5b30e7b81a85d0be2553b1af37f593"},{"version":"304d9dec4537e825c2d5ed3a8c6c0068d389ed4c4f8d543cf88ecd7d21f34eb7","signature":"dd75ef178e25f2ffae968fcfb4a90790a2d893da7a9371421085b489f302c8af"},{"version":"23902c32676562355430fab89c7d59361a96ecdf8b9a2b2c943a14c635234c04","signature":"1d9b3d47e3a784ce62b76ab972fe5e5facfed9d8117a3d96d7bceadfc59a3519"},"380b919bfa0516118edaf25b99e45f855e7bc3fd75ce4163a1cfe4a666388804","98acc316756389efdc925de9169c826e4c40a6290fd0ed96b2d5a511b900b486","fcf79300e5257a23ed3bacaa6861d7c645139c6f7ece134d15e6669447e5e6db","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","aa2c18a1b5a086bbcaae10a4efba409cc95ba7287d8cf8f2591b53704fea3dea","b88749bdb18fc1398370e33aa72bc4f88274118f4960e61ce26605f9b33c5ba2","0244119dbcbcf34faf3ffdae72dab1e9bc2bc9efc3c477b2240ffa94af3bca56","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","a873c50d3e47c21aa09fbe1e2023d9a44efb07cc0cb8c72f418bf301b0771fd3","7c14ccd2eaa82619fffc1bfa877eb68a012e9fb723d07ee98db451fadb618906","49c36529ee09ea9ce19525af5bb84985ea8e782cb7ee8c493d9e36d027a3d019","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9","4f6a12044ee6f458db11964153830abbc499e73d065c51c329ec97407f4b13dd","a33ea06913b712c529662bee7fd75959781267cf8a307902cc7761307fec0337","fc4048cf3c48b6766189ac0fd8817d961a1fdd0df72b161ecedb335b7e6c5590",{"version":"61b8520deff99c27812aed6f1d662cab400ecdcddda720a07388d3f486a04f1e","signature":"0f211f4d50fa24bf87367c21cbef7a93170864f44f4e59620079f3f540b44e64"},{"version":"2d81c238df55452b6c3204c5dae1f40175ddf4e9321bd5154424a25065c02407","signature":"0a1fd2c928d008aadd853e38ccdc138fded03d0820c185bc1c11c86347c8fb54"},{"version":"fc2120bcfa09045659a4d9d3dbbc349dbcb7a49103ee6f0dd5b8f5cf7455aed4","signature":"97f54c9bf6cf09f40f379bdc209c05afdfd117d531bb0a6d27960a3056c5dcac"},{"version":"bb09a650e7dc89f3e02dd7610c3643922251d3e3200014e838300f4109f2c75e","signature":"36440bec26b6e587a7e0a2588b94761cdac17878fda18f92e9199a6a1ba29173"},"baac9896d29bcc55391d769e408ff400d61273d832dd500f21de766205255acb",{"version":"de61801f40249adc903bbf9c86e230417fb1e1e12fe8d66d3d633839e88f357a","signature":"bc5f3afa1d5d78bb2fb22287330025abecdc84b48cbed56116d73fda160c2e14","affectsGlobalScope":true},{"version":"3768bcf5ae0a6500df969231b53de8ca720eeb22d49e46b0b51dbaf52150bdec","signature":"35e900e46de765112bdabc6aec751b55b9129e71ff30d0709bde3224994932c6"},{"version":"78504b26bea4444c9a4a2f59d5c18f3458a56aa37f9f75ae9e8fa4c075022cc7","signature":"6e12aea70002d3551796488fb0beae3c6a5bb41db7764aa02f34612fa96356b5"},"7d2b7fe4adb76d8253f20e4dbdce044f1cdfab4902ec33c3604585f553883f7d",{"version":"e2f4badb383f65161717b8319268b002dade0155ddb0dbf14f65a2ef617447cc","signature":"9ca29ae68f5d126f93223c2d4c9c5ef5a05273151bab98a690f3717b1f7abe50"},{"version":"e76654213bd70e754d3ff751e01fd1bc215b158e6c6564e7a1796378c3eb5ca1","signature":"50b84a52a45ed9004d3fdc81edfd3b1f54e36b54ba6d4d859b46fd0d2286d0ec"},{"version":"28e8199543970723a78f93332073bd5552020ffe4b46ad7bdef221110fcf36fc","signature":"82284759683c8364a7396ec677bc06a24e3e9b37321546637091395f855b8a94"},{"version":"dc99244d797634d90c77ac350e823170f4e13afa7e32f1d00261b8568c4949a0","signature":"146ca9ab3daaa20ef0d120be36eb6cf3a55829a0e22b3592c09e4c6847b06070"},{"version":"ae72726342f2408fb0ba393c949800c68e5f7fcd4f5633e41ee52c26f52a12bd","signature":"54b8b798b271fd31da6658e6aa384ccc4e3d371c2239051a011a473d5174770a"},{"version":"7e3ed122f615d0e8de55465669ca2d22cdde9227375fc12049b7f9e4734b5d3e","signature":"4a6b83afb13c736939b35f93c21ecec0c55e0d2a15574f8e9c5ac5a2c52ff46f"},{"version":"5ed4fa521ce471b9e786d865fcbfcab45d807411c572d5f8594f05249f610412","signature":"4128dab7aa6227a2624c65caf68a0205216d163a67eee2f4302d92caef3bcbce"},"552a05d8ed3e1b634675ad491b3afb62631212d1d8d3df1bb9cfd808def696cb",{"version":"86d3111483e952d25e40f365f6318d4dab7c5932cc87b9e5acff7498332833d0","signature":"64743a220e1a5fe4d9dc003205cfb06980fd3f1e875ddc1101f9aecbcdd84762"},"bf6c5393c3d7e1ade93ce1a58813f4b8a1151ffda4b0f13bcc0e78476ff64c4f","f5331cb9cc00970e4831e7f0de9688e04986bcde808cac10caa3e7005e203907",{"version":"d20bbe9029b614c171212c50c842fa7ddfc61a6bbc697710ac70e4f7f0c77d15","affectsGlobalScope":true},"a9d67f9ae6bb38f732c51d1081af6a0ac6cae5e122472cacc2d54db178013699","1296a364908ba9c646372edc18ee0e140d9a388956b0e9510eec906b19fa5b36","1c863a53fb796e962c4b3e54bc7b77fd04a518444263d307290ff04f619c275e","ff98afc32b01e580077faf85b60232b65c40df0c3ecaa765fabc347a639b4225",{"version":"30133f9ceaa46c9a20092c382fed7b8d09393cf1934392149ea8202991edb3ea","affectsGlobalScope":true},"30c05e45ec7e1247ba9b87ad2acfae4fda401737f0e8a59f78beda8a4e22b110","2da83cc57a94f7aee832f2a71e1a294d857492761c1f5db717ea42c1a22467bc","aa5cc73a5f548f5bc1b4279a730c03294dfa6e98bed228d4ed6322a4183b26ad","b3f1ac9fe3d18d6cd04ab1e67a5da8c33ceb47f26b47e67896a5b2f8293c8a32",{"version":"ca88e8b07c8186ef3180bf9b6b4456311ae41bf3fe5652c27a2a3feba04136b0","affectsGlobalScope":true},{"version":"592d937b7df1b74af7fa81656503fc268fee50f0e882178e851b667def34414b","affectsGlobalScope":true},"fdfdf2eab2bded61ee321ec88b8e083fe8d9fedad25a16ae040740869bc64e48","e8067fc8b0247f8b5ad781bd22f5dd19f6a39961ba60fa6fc13cfe9e624ca92f","842ef57ce3043fba0b0fb7eece785140af9d2381e4bed4f2744d3060352f2fd5","9095b6f13d9e48704b919d9b4162c48b04236a4ce664dc07549a435d8f4e612e","111b4c048fe89d25bb4d2a0646623ff4c456a313ed5bfb647b2262dda69a4ff8","f70f62f5f87ff8900090069554f79d9757f8e385322d0e26268463e27c098204","0932ed41e23d22fa5359f74805c687314e4b707b3428e52419d0fbefc0d66661","af07f4baaca7e5cf70cb8887e7d4f23d6bb0c0dd6ca1329c3d959ea749b7a14d","c80402af7b0420f57372ac99885f1ab058121db72418e43d25f440abda7bbe23","71aba6ce66e76ccfd3ba92b8b5c6658bad293f1313f012821c4bff1dd64ca278","17d944cab17bc9e32975250e8abe8073702f9493582d847805e446641bd7798f",{"version":"c6bfc70bbdee282436ee11e887cceaa5988ac4eec60d5eb9b3711748c811831a","affectsGlobalScope":true},"f9ca5159f56c1fe99cdfc5f942585de20695a2a343db8543383b239c050f6aa4","84634ac706042ac8ee3a1e141bcdee03621725ab55455dba878a5503c6c7e037","d796c62c3c91c22c331b7465be89d009459eb1eb689304c476275f48676eaf9e","51cbf03ad34c3e84d1998bd57d1fd8da333d66dd65904625d22dc01b751d99c7","c31bbdc27ef936061eaa9d423c5da7c5b439a4ff6b5f1b18f89b30cf119d5a56","2a4ae2a8f834858602089792c9e8bab00075f5c4b1708bd49c298a3e6c95a30c","71e29ae391229f876d8628987640c3c51c89a1c2fd980d1a72d69aeee4239f80","51c74d73649a4d788ed97b38bd55ebac57d85b35cbf4a0357e3382324e10bbe9","c8641524781fa803006a144fd3024d5273ab0c531d8a13bbeaa8c81d8241529f","73e218d8914afc428a24b7d1de42a2cb37f0be7ac1f5c32c4a66379572700b52",{"version":"56ff5262d76c01b3637ca82f9749d3ec0d70cf57d87964bf3e9ba4204241849e","affectsGlobalScope":true},"9e3a18040e5a95f61556e09c932393b49c3b21ce42abe0f4ed74b97173f320db","344922fac39b5732179b606e16781b354c160f0e9bd7f5921a0fdc9fe4ede1fb","c1449f51f9496bb23f33ee48ff590b815393ef560a9e80493614869fe50915da","87a49241df2b37e59f86619091dec2beb9ad8126d7649f0b0edb8fc99eca2499","07efd1f649e91967fada88d53ad64b61c1b2853d212f3eaffc946e7e13d03d67","6d79a0938f4b89c1c1fee2c3426754929173c8888fdfaab6b6d645269945f7bf",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"c6c0bd221bb1e94768e94218f8298e47633495529d60cae7d8da9374247a1cf5","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538",{"version":"3a1e422f919c70fca66e94dc641ad8d9732b3d2533ac047b8a9aaca9eea3aa10","affectsGlobalScope":true}],"options":{"declaration":true,"declarationDir":"./","esModuleInterop":true,"module":99,"noUnusedLocals":true,"outDir":"./","removeComments":false,"sourceMap":false,"strict":true,"target":99},"fileIdsList":[[107,108,138,139],[73],[61,63,64,65,66,67,68,69,70,71,72,73],[61,62,64,65,66,67,68,69,70,71,72,73],[62,63,64,65,66,67,68,69,70,71,72,73],[61,62,63,65,66,67,68,69,70,71,72,73],[61,62,63,64,66,67,68,69,70,71,72,73],[61,62,63,64,65,67,68,69,70,71,72,73],[61,62,63,64,65,66,68,69,70,71,72,73],[61,62,63,64,65,66,67,69,70,71,72,73],[61,62,63,64,65,66,67,68,70,71,72,73],[61,62,63,64,65,66,67,68,69,71,72,73],[61,62,63,64,65,66,67,68,69,70,72,73],[61,62,63,64,65,66,67,68,69,70,71,73],[61,62,63,64,65,66,67,68,69,70,71,72],[95],[97],[98,103],[99,107,108,115,124],[99,100,107,115],[101,131],[102,103,108,116],[103,124],[104,105,107,115],[105],[106,107],[107],[107,108,109,124,130],[108,109],[107,110,115,124,130],[107,108,110,111,115,124,127,130],[110,112,124,127,130],[95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],[107,113],[114,130],[105,107,115,124],[116],[117],[97,118],[119,129],[120],[121],[107,122],[122,123,131,133],[107,124],[125],[126],[115,124,127],[128],[115,129],[110,121,130],[131],[124,132],[133],[134],[107,109,124,130,133,135],[124,136],[56,58,59,60,76,77,78,79,81,83,88],[57],[58,60,76],[85,86,87],[85],[85,90],[84],[76,80],[92],[57,74,75],[94],[82]],"referencedMap":[[140,1],[74,2],[62,3],[63,4],[61,5],[64,6],[65,7],[66,8],[67,9],[68,10],[69,11],[70,12],[71,13],[72,14],[73,15],[95,16],[97,17],[98,18],[99,19],[100,20],[101,21],[102,22],[103,23],[104,24],[105,25],[106,26],[107,27],[108,28],[109,29],[110,30],[111,31],[112,32],[138,33],[113,34],[114,35],[115,36],[116,37],[117,38],[118,39],[119,40],[120,41],[121,42],[122,43],[123,44],[124,45],[125,46],[126,47],[127,48],[128,49],[129,50],[130,51],[131,52],[132,53],[133,54],[134,55],[135,56],[136,57],[89,58],[58,59],[59,59],[77,60],[79,59],[88,61],[86,62],[91,63],[87,62],[85,64],[81,65],[93,66],[76,67],[82,68],[83,69]],"exportedModulesMap":[[140,1],[74,2],[62,3],[63,4],[61,5],[64,6],[65,7],[66,8],[67,9],[68,10],[69,11],[70,12],[71,13],[72,14],[73,15],[95,16],[97,17],[98,18],[99,19],[100,20],[101,21],[102,22],[103,23],[104,24],[105,25],[106,26],[107,27],[108,28],[109,29],[110,30],[111,31],[112,32],[138,33],[113,34],[114,35],[115,36],[116,37],[117,38],[118,39],[119,40],[120,41],[121,42],[122,43],[123,44],[124,45],[125,46],[126,47],[127,48],[128,49],[129,50],[130,51],[131,52],[132,53],[133,54],[134,55],[135,56],[136,57],[89,58],[59,59],[88,62],[76,59],[83,69]],"semanticDiagnosticsPerFile":[140,141,142,74,62,63,61,64,65,66,67,68,69,70,71,72,73,139,95,97,98,99,100,101,102,103,104,105,106,107,108,109,96,137,110,111,112,138,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,80,84,143,75,92,11,13,12,2,14,15,16,17,18,19,20,21,3,4,25,22,23,24,26,27,28,5,29,30,31,32,6,36,33,34,35,37,7,38,43,44,39,40,41,42,8,48,45,46,47,49,9,50,51,52,53,54,1,10,55,89,56,58,59,77,78,79,88,86,91,87,90,85,60,81,93,76,82,83,57,94]},"version":"4.9.5"}
|
|
1
|
+
{"program":{"fileNames":["../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es5.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.esnext.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.dom.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.esnext.intl.d.ts","../src/modules/cookie/index.ts","../src/types/index.ts","../src/modules/date/index.ts","../src/modules/dom/index.ts","../src/modules/number/index.ts","../node_modules/.pnpm/@types+lodash@4.17.21/node_modules/@types/lodash/common/common.d.ts","../node_modules/.pnpm/@types+lodash@4.17.21/node_modules/@types/lodash/common/array.d.ts","../node_modules/.pnpm/@types+lodash@4.17.21/node_modules/@types/lodash/common/collection.d.ts","../node_modules/.pnpm/@types+lodash@4.17.21/node_modules/@types/lodash/common/date.d.ts","../node_modules/.pnpm/@types+lodash@4.17.21/node_modules/@types/lodash/common/function.d.ts","../node_modules/.pnpm/@types+lodash@4.17.21/node_modules/@types/lodash/common/lang.d.ts","../node_modules/.pnpm/@types+lodash@4.17.21/node_modules/@types/lodash/common/math.d.ts","../node_modules/.pnpm/@types+lodash@4.17.21/node_modules/@types/lodash/common/number.d.ts","../node_modules/.pnpm/@types+lodash@4.17.21/node_modules/@types/lodash/common/object.d.ts","../node_modules/.pnpm/@types+lodash@4.17.21/node_modules/@types/lodash/common/seq.d.ts","../node_modules/.pnpm/@types+lodash@4.17.21/node_modules/@types/lodash/common/string.d.ts","../node_modules/.pnpm/@types+lodash@4.17.21/node_modules/@types/lodash/common/util.d.ts","../node_modules/.pnpm/@types+lodash@4.17.21/node_modules/@types/lodash/index.d.ts","../node_modules/.pnpm/@types+lodash@4.17.21/node_modules/@types/lodash/clonedeep.d.ts","../node_modules/.pnpm/clipboard-copy@4.0.1/node_modules/clipboard-copy/index.d.ts","../src/modules/tools/index.ts","../src/modules/filter/index.ts","../src/modules/format/index.ts","../src/modules/match/index.ts","../node_modules/.pnpm/@types+qs@6.14.0/node_modules/@types/qs/index.d.ts","../src/modules/open-app/index.ts","../src/modules/upload/alioss.ts","../src/modules/upload/index.ts","../node_modules/.pnpm/@types+uuid@9.0.8/node_modules/@types/uuid/index.d.ts","../src/modules/monitor/utils/tracker.ts","../src/modules/monitor/lib/jserror.ts","../src/modules/monitor/lib/xhr.ts","../src/modules/monitor/index.ts","../src/index.ts","../src/modules/monitor/utils/onload.ts","../src/modules/monitor/lib/timing.ts","../node_modules/.pnpm/raven-js@3.27.2/node_modules/raven-js/typescript/raven.d.ts","../src/modules/sentry/index.ts","../src/types/lrz.d.ts","../node_modules/.pnpm/@types+ali-oss@6.16.13/node_modules/@types/ali-oss/index.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/assert.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/globals.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/async_hooks.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/buffer.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/child_process.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/cluster.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/console.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/constants.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/crypto.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/dgram.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/dns.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/domain.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/events.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/fs.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/fs/promises.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/http.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/http2.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/https.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/inspector.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/module.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/net.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/os.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/path.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/perf_hooks.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/process.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/punycode.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/querystring.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/readline.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/repl.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/stream.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/string_decoder.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/timers.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/tls.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/trace_events.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/tty.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/url.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/util.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/v8.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/vm.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/wasi.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/worker_threads.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/zlib.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/globals.global.d.ts","../node_modules/.pnpm/@types+node@14.18.63/node_modules/@types/node/index.d.ts","../node_modules/.pnpm/@types+webpack-env@1.18.8/node_modules/@types/webpack-env/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},{"version":"dc695f0aaa6adebd925b30293f26a7cb88e1839f2b7911f95d3b2cc8abfc47e4","signature":"7fce176ca45f39bea6de45fca9cb4d4de6b5f03beb9008a22cf8217525f78627"},{"version":"a9d14a45c92f8e273173b453778546a0fbfa269ae74a842fd4ae6a3f397eb18a","signature":"f48fe82fa0efa3bbb0431ae08739f84f9ef961df8328f09c91c1d5445b0956e5"},{"version":"f70addce4b3ae8bdef36b5926d8a79d5b14a9868690ee027945406c8c86d0fe4","signature":"817ebf896260d1919dbcea89f4c06c93eb5b30e7b81a85d0be2553b1af37f593"},{"version":"304d9dec4537e825c2d5ed3a8c6c0068d389ed4c4f8d543cf88ecd7d21f34eb7","signature":"dd75ef178e25f2ffae968fcfb4a90790a2d893da7a9371421085b489f302c8af"},{"version":"23902c32676562355430fab89c7d59361a96ecdf8b9a2b2c943a14c635234c04","signature":"1d9b3d47e3a784ce62b76ab972fe5e5facfed9d8117a3d96d7bceadfc59a3519"},"380b919bfa0516118edaf25b99e45f855e7bc3fd75ce4163a1cfe4a666388804","98acc316756389efdc925de9169c826e4c40a6290fd0ed96b2d5a511b900b486","fcf79300e5257a23ed3bacaa6861d7c645139c6f7ece134d15e6669447e5e6db","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","aa2c18a1b5a086bbcaae10a4efba409cc95ba7287d8cf8f2591b53704fea3dea","b88749bdb18fc1398370e33aa72bc4f88274118f4960e61ce26605f9b33c5ba2","0244119dbcbcf34faf3ffdae72dab1e9bc2bc9efc3c477b2240ffa94af3bca56","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","a873c50d3e47c21aa09fbe1e2023d9a44efb07cc0cb8c72f418bf301b0771fd3","7c14ccd2eaa82619fffc1bfa877eb68a012e9fb723d07ee98db451fadb618906","49c36529ee09ea9ce19525af5bb84985ea8e782cb7ee8c493d9e36d027a3d019","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9","4f6a12044ee6f458db11964153830abbc499e73d065c51c329ec97407f4b13dd","a33ea06913b712c529662bee7fd75959781267cf8a307902cc7761307fec0337","fc4048cf3c48b6766189ac0fd8817d961a1fdd0df72b161ecedb335b7e6c5590",{"version":"61b8520deff99c27812aed6f1d662cab400ecdcddda720a07388d3f486a04f1e","signature":"0f211f4d50fa24bf87367c21cbef7a93170864f44f4e59620079f3f540b44e64"},{"version":"2d81c238df55452b6c3204c5dae1f40175ddf4e9321bd5154424a25065c02407","signature":"0a1fd2c928d008aadd853e38ccdc138fded03d0820c185bc1c11c86347c8fb54"},{"version":"fc2120bcfa09045659a4d9d3dbbc349dbcb7a49103ee6f0dd5b8f5cf7455aed4","signature":"97f54c9bf6cf09f40f379bdc209c05afdfd117d531bb0a6d27960a3056c5dcac"},{"version":"bb09a650e7dc89f3e02dd7610c3643922251d3e3200014e838300f4109f2c75e","signature":"36440bec26b6e587a7e0a2588b94761cdac17878fda18f92e9199a6a1ba29173"},"baac9896d29bcc55391d769e408ff400d61273d832dd500f21de766205255acb",{"version":"de61801f40249adc903bbf9c86e230417fb1e1e12fe8d66d3d633839e88f357a","signature":"bc5f3afa1d5d78bb2fb22287330025abecdc84b48cbed56116d73fda160c2e14","affectsGlobalScope":true},{"version":"e1a52a6c0664b58e13cce33d35bbf66cd15f2fda80d65e3e3ace9de0cbb11a22","signature":"35e900e46de765112bdabc6aec751b55b9129e71ff30d0709bde3224994932c6"},{"version":"78504b26bea4444c9a4a2f59d5c18f3458a56aa37f9f75ae9e8fa4c075022cc7","signature":"6e12aea70002d3551796488fb0beae3c6a5bb41db7764aa02f34612fa96356b5"},"7d2b7fe4adb76d8253f20e4dbdce044f1cdfab4902ec33c3604585f553883f7d",{"version":"e2f4badb383f65161717b8319268b002dade0155ddb0dbf14f65a2ef617447cc","signature":"9ca29ae68f5d126f93223c2d4c9c5ef5a05273151bab98a690f3717b1f7abe50"},{"version":"e76654213bd70e754d3ff751e01fd1bc215b158e6c6564e7a1796378c3eb5ca1","signature":"50b84a52a45ed9004d3fdc81edfd3b1f54e36b54ba6d4d859b46fd0d2286d0ec"},{"version":"28e8199543970723a78f93332073bd5552020ffe4b46ad7bdef221110fcf36fc","signature":"82284759683c8364a7396ec677bc06a24e3e9b37321546637091395f855b8a94"},{"version":"dc99244d797634d90c77ac350e823170f4e13afa7e32f1d00261b8568c4949a0","signature":"146ca9ab3daaa20ef0d120be36eb6cf3a55829a0e22b3592c09e4c6847b06070"},{"version":"ae72726342f2408fb0ba393c949800c68e5f7fcd4f5633e41ee52c26f52a12bd","signature":"54b8b798b271fd31da6658e6aa384ccc4e3d371c2239051a011a473d5174770a"},{"version":"7e3ed122f615d0e8de55465669ca2d22cdde9227375fc12049b7f9e4734b5d3e","signature":"4a6b83afb13c736939b35f93c21ecec0c55e0d2a15574f8e9c5ac5a2c52ff46f"},{"version":"5ed4fa521ce471b9e786d865fcbfcab45d807411c572d5f8594f05249f610412","signature":"4128dab7aa6227a2624c65caf68a0205216d163a67eee2f4302d92caef3bcbce"},"552a05d8ed3e1b634675ad491b3afb62631212d1d8d3df1bb9cfd808def696cb",{"version":"86d3111483e952d25e40f365f6318d4dab7c5932cc87b9e5acff7498332833d0","signature":"64743a220e1a5fe4d9dc003205cfb06980fd3f1e875ddc1101f9aecbcdd84762"},"bf6c5393c3d7e1ade93ce1a58813f4b8a1151ffda4b0f13bcc0e78476ff64c4f","3cee95a3d958bf994db4705fbe6b7ae503867445972247adc49626f7fd16d46a","f5331cb9cc00970e4831e7f0de9688e04986bcde808cac10caa3e7005e203907",{"version":"d20bbe9029b614c171212c50c842fa7ddfc61a6bbc697710ac70e4f7f0c77d15","affectsGlobalScope":true},"a9d67f9ae6bb38f732c51d1081af6a0ac6cae5e122472cacc2d54db178013699","1296a364908ba9c646372edc18ee0e140d9a388956b0e9510eec906b19fa5b36","1c863a53fb796e962c4b3e54bc7b77fd04a518444263d307290ff04f619c275e","ff98afc32b01e580077faf85b60232b65c40df0c3ecaa765fabc347a639b4225",{"version":"30133f9ceaa46c9a20092c382fed7b8d09393cf1934392149ea8202991edb3ea","affectsGlobalScope":true},"30c05e45ec7e1247ba9b87ad2acfae4fda401737f0e8a59f78beda8a4e22b110","2da83cc57a94f7aee832f2a71e1a294d857492761c1f5db717ea42c1a22467bc","aa5cc73a5f548f5bc1b4279a730c03294dfa6e98bed228d4ed6322a4183b26ad","b3f1ac9fe3d18d6cd04ab1e67a5da8c33ceb47f26b47e67896a5b2f8293c8a32",{"version":"ca88e8b07c8186ef3180bf9b6b4456311ae41bf3fe5652c27a2a3feba04136b0","affectsGlobalScope":true},{"version":"592d937b7df1b74af7fa81656503fc268fee50f0e882178e851b667def34414b","affectsGlobalScope":true},"fdfdf2eab2bded61ee321ec88b8e083fe8d9fedad25a16ae040740869bc64e48","e8067fc8b0247f8b5ad781bd22f5dd19f6a39961ba60fa6fc13cfe9e624ca92f","842ef57ce3043fba0b0fb7eece785140af9d2381e4bed4f2744d3060352f2fd5","9095b6f13d9e48704b919d9b4162c48b04236a4ce664dc07549a435d8f4e612e","111b4c048fe89d25bb4d2a0646623ff4c456a313ed5bfb647b2262dda69a4ff8","f70f62f5f87ff8900090069554f79d9757f8e385322d0e26268463e27c098204","0932ed41e23d22fa5359f74805c687314e4b707b3428e52419d0fbefc0d66661","af07f4baaca7e5cf70cb8887e7d4f23d6bb0c0dd6ca1329c3d959ea749b7a14d","c80402af7b0420f57372ac99885f1ab058121db72418e43d25f440abda7bbe23","71aba6ce66e76ccfd3ba92b8b5c6658bad293f1313f012821c4bff1dd64ca278","17d944cab17bc9e32975250e8abe8073702f9493582d847805e446641bd7798f",{"version":"c6bfc70bbdee282436ee11e887cceaa5988ac4eec60d5eb9b3711748c811831a","affectsGlobalScope":true},"f9ca5159f56c1fe99cdfc5f942585de20695a2a343db8543383b239c050f6aa4","84634ac706042ac8ee3a1e141bcdee03621725ab55455dba878a5503c6c7e037","d796c62c3c91c22c331b7465be89d009459eb1eb689304c476275f48676eaf9e","51cbf03ad34c3e84d1998bd57d1fd8da333d66dd65904625d22dc01b751d99c7","c31bbdc27ef936061eaa9d423c5da7c5b439a4ff6b5f1b18f89b30cf119d5a56","2a4ae2a8f834858602089792c9e8bab00075f5c4b1708bd49c298a3e6c95a30c","71e29ae391229f876d8628987640c3c51c89a1c2fd980d1a72d69aeee4239f80","51c74d73649a4d788ed97b38bd55ebac57d85b35cbf4a0357e3382324e10bbe9","c8641524781fa803006a144fd3024d5273ab0c531d8a13bbeaa8c81d8241529f","73e218d8914afc428a24b7d1de42a2cb37f0be7ac1f5c32c4a66379572700b52",{"version":"56ff5262d76c01b3637ca82f9749d3ec0d70cf57d87964bf3e9ba4204241849e","affectsGlobalScope":true},"9e3a18040e5a95f61556e09c932393b49c3b21ce42abe0f4ed74b97173f320db","344922fac39b5732179b606e16781b354c160f0e9bd7f5921a0fdc9fe4ede1fb","c1449f51f9496bb23f33ee48ff590b815393ef560a9e80493614869fe50915da","87a49241df2b37e59f86619091dec2beb9ad8126d7649f0b0edb8fc99eca2499","07efd1f649e91967fada88d53ad64b61c1b2853d212f3eaffc946e7e13d03d67","6d79a0938f4b89c1c1fee2c3426754929173c8888fdfaab6b6d645269945f7bf",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"c6c0bd221bb1e94768e94218f8298e47633495529d60cae7d8da9374247a1cf5",{"version":"ebf3ec92378d6eae07f236180ac6caba814464947ee2c90b347202e9f35c6379","affectsGlobalScope":true}],"options":{"declaration":true,"declarationDir":"./","esModuleInterop":true,"module":99,"noUnusedLocals":true,"outDir":"./","removeComments":false,"sourceMap":false,"strict":true,"target":99},"fileIdsList":[[73],[61,63,64,65,66,67,68,69,70,71,72,73],[61,62,64,65,66,67,68,69,70,71,72,73],[62,63,64,65,66,67,68,69,70,71,72,73],[61,62,63,65,66,67,68,69,70,71,72,73],[61,62,63,64,66,67,68,69,70,71,72,73],[61,62,63,64,65,67,68,69,70,71,72,73],[61,62,63,64,65,66,68,69,70,71,72,73],[61,62,63,64,65,66,67,69,70,71,72,73],[61,62,63,64,65,66,67,68,70,71,72,73],[61,62,63,64,65,66,67,68,69,71,72,73],[61,62,63,64,65,66,67,68,69,70,72,73],[61,62,63,64,65,66,67,68,69,70,71,73],[61,62,63,64,65,66,67,68,69,70,71,72],[96],[98],[99,104],[100,108,109,116,125],[100,101,108,116],[102,132],[103,104,109,117],[104,125],[105,106,108,116],[106],[107,108],[108],[108,109,110,125,131],[109,110],[108,111,116,125,131],[108,109,111,112,116,125,128,131],[111,113,125,128,131],[96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138],[108,114],[115,131],[106,108,116,125],[117],[118],[98,119],[120,130],[121],[122],[108,123],[123,124,132,134],[108,125],[126],[127],[116,125,128],[129],[116,130],[111,122,131],[132],[125,133],[134],[135],[108,110,125,131,134,136],[125,137],[56,58,59,60,76,77,78,79,81,83,88],[57],[58,60,76],[85,86,87],[85],[85,90],[84],[76,80],[92],[57,74,75],[94],[82]],"referencedMap":[[74,1],[62,2],[63,3],[61,4],[64,5],[65,6],[66,7],[67,8],[68,9],[69,10],[70,11],[71,12],[72,13],[73,14],[96,15],[98,16],[99,17],[100,18],[101,19],[102,20],[103,21],[104,22],[105,23],[106,24],[107,25],[108,26],[109,27],[110,28],[111,29],[112,30],[113,31],[139,32],[114,33],[115,34],[116,35],[117,36],[118,37],[119,38],[120,39],[121,40],[122,41],[123,42],[124,43],[125,44],[126,45],[127,46],[128,47],[129,48],[130,49],[131,50],[132,51],[133,52],[134,53],[135,54],[136,55],[137,56],[89,57],[58,58],[59,58],[77,59],[79,58],[88,60],[86,61],[91,62],[87,61],[85,63],[81,64],[93,65],[76,66],[82,67],[83,68]],"exportedModulesMap":[[74,1],[62,2],[63,3],[61,4],[64,5],[65,6],[66,7],[67,8],[68,9],[69,10],[70,11],[71,12],[72,13],[73,14],[96,15],[98,16],[99,17],[100,18],[101,19],[102,20],[103,21],[104,22],[105,23],[106,24],[107,25],[108,26],[109,27],[110,28],[111,29],[112,30],[113,31],[139,32],[114,33],[115,34],[116,35],[117,36],[118,37],[119,38],[120,39],[121,40],[122,41],[123,42],[124,43],[125,44],[126,45],[127,46],[128,47],[129,48],[130,49],[131,50],[132,51],[133,52],[134,53],[135,54],[136,55],[137,56],[89,57],[59,58],[88,61],[76,58],[83,68]],"semanticDiagnosticsPerFile":[95,74,62,63,61,64,65,66,67,68,69,70,71,72,73,96,98,99,100,101,102,103,104,105,106,107,108,109,110,97,138,111,112,113,139,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,80,84,140,75,92,11,13,12,2,14,15,16,17,18,19,20,21,3,4,25,22,23,24,26,27,28,5,29,30,31,32,6,36,33,34,35,37,7,38,43,44,39,40,41,42,8,48,45,46,47,49,9,50,51,52,53,54,1,10,55,89,56,58,59,77,78,79,88,86,91,87,90,85,60,81,93,76,82,83,57,94]},"version":"4.9.5"}
|
package/package.json
CHANGED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
interface ICookie {
|
|
2
|
-
name: string;
|
|
3
|
-
value: string;
|
|
4
|
-
exdays: number;
|
|
5
|
-
path?: string;
|
|
6
|
-
domain?: string;
|
|
7
|
-
}
|
|
8
|
-
declare class CookieClass {
|
|
9
|
-
/**
|
|
10
|
-
* 获取cookie
|
|
11
|
-
* @param {String} name
|
|
12
|
-
* @return {String}
|
|
13
|
-
*/
|
|
14
|
-
getCookie(name: string): string;
|
|
15
|
-
/**
|
|
16
|
-
* 设置cookie
|
|
17
|
-
* @param {Object} ICookie
|
|
18
|
-
*/
|
|
19
|
-
setCookie({ name, value, exdays, path, domain, }: ICookie): void;
|
|
20
|
-
/**
|
|
21
|
-
* 清除Cookie
|
|
22
|
-
* @param {String} name
|
|
23
|
-
*/
|
|
24
|
-
clearCookie({ name, path, domain, }: ICookie): void;
|
|
25
|
-
}
|
|
26
|
-
declare const _default: CookieClass;
|
|
27
|
-
export default _default;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
declare class DateClass {
|
|
2
|
-
/**
|
|
3
|
-
* 格式化时间
|
|
4
|
-
* @param {String|Number} date 需要格式化的时间 2017-11-11、2017/11/11、linux time
|
|
5
|
-
* @param {String} fmt 想要格式化的格式 'YYYY-MM-DD HH:mm:ss'、'YYYY-MM-DD'、'YYYY年MM月DD日 HH时mm分ss秒'、'YYYY年MM月DD日'
|
|
6
|
-
* date.format(new Date()) // 默认格式 'YYYY-MM-DD HH:mm:ss'
|
|
7
|
-
* date.format(1586840260500) // 默认格式,传参为linux时间
|
|
8
|
-
* date.format(new Date(), 'YYYY:MM:DD') // 自定义格式 'YYYY:MM:DD'
|
|
9
|
-
* @return {String} fmt 'YYYY-MM-DD HH:mm:ss'
|
|
10
|
-
*/
|
|
11
|
-
format(date: string | number, fmt?: string): string;
|
|
12
|
-
/**
|
|
13
|
-
* 天数加减
|
|
14
|
-
* @param {string | Date} date 传入的时间 2020-10-15 or Date
|
|
15
|
-
* @param {String} days 天数
|
|
16
|
-
* addDaysToDate('2020-10-15', 10) // '2020-10-25'
|
|
17
|
-
* addDaysToDate('2020-10-15', -10) // '2020-10-05'
|
|
18
|
-
* @return {String} fmt 'YYYY-MM-DD'
|
|
19
|
-
*/
|
|
20
|
-
addDaysToDate(date: string | Date, days: number): string;
|
|
21
|
-
/**
|
|
22
|
-
* 获取倒计时剩余时间
|
|
23
|
-
* @param {Date | Number} endTime 截止时间
|
|
24
|
-
* @param {Date | Number} startTime 开始时间,默认取客户端当前时间
|
|
25
|
-
* date.format(new Date()) // 返回 {dd: '天', hh: '时', mm: '分', ss: '秒'}
|
|
26
|
-
* date.format(1586840260500) // 返回 {dd: '天', hh: '时', mm: '分', ss: '秒'}
|
|
27
|
-
* @return {object | boolean} {dd: '天', hh: '时', mm: '分', ss: '秒'}
|
|
28
|
-
*/
|
|
29
|
-
remainTime(endTime: Date | Number, startTime?: Date | Number): object | boolean;
|
|
30
|
-
/**
|
|
31
|
-
* 格式化现在的已过时间
|
|
32
|
-
* @param {Number} startTime
|
|
33
|
-
* @return {String} *年前 *个月前 *天前 *小时前 *分钟前 刚刚
|
|
34
|
-
*/
|
|
35
|
-
formatPassTime(startTime: any): string;
|
|
36
|
-
/**
|
|
37
|
-
* 格式化时间 列表里的时间内容格式 待废弃,统一时间格式
|
|
38
|
-
* @param {Number} time 1494141000*1000
|
|
39
|
-
* @return {String} *年*月*日 *月*日 刚刚(1-60秒) 1-60分钟前 1-24小时前 1-3天前
|
|
40
|
-
*/
|
|
41
|
-
formatPassTimeForList(time: string): string | false;
|
|
42
|
-
/**
|
|
43
|
-
* 格式化时间 详情内容里的时间格式
|
|
44
|
-
* @param {Number} time 1494141000*1000
|
|
45
|
-
* @param {String} fmt 想要格式化的格式
|
|
46
|
-
* @param {Boolean} noYear 是否显示年
|
|
47
|
-
* @return {String} *年*月*日 *月*日 刚刚(1-60秒) 1-60分钟前 1-24小时前 1-3天前
|
|
48
|
-
*/
|
|
49
|
-
formatPassTimeForDetail(time: string, fmt: string | undefined, noYear: Boolean): string | false;
|
|
50
|
-
}
|
|
51
|
-
declare const _default: DateClass;
|
|
52
|
-
export default _default;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { IObjectKey } from '../../types/index';
|
|
2
|
-
interface IDom {
|
|
3
|
-
name: string;
|
|
4
|
-
innerHTML?: string;
|
|
5
|
-
style?: IObjectKey<string>;
|
|
6
|
-
parent?: string;
|
|
7
|
-
}
|
|
8
|
-
declare class DomClass {
|
|
9
|
-
/**
|
|
10
|
-
* 创建一个子元素并添加至父节点
|
|
11
|
-
* @param {Object} { name = 'div', innerHTML = '', style = {}, parent, }
|
|
12
|
-
* @return {String}
|
|
13
|
-
*/
|
|
14
|
-
createElement({ name, innerHTML, style, parent, }: IDom): any;
|
|
15
|
-
/**
|
|
16
|
-
* 获取文本中的url并用a标签包裹
|
|
17
|
-
* @param {Object} ICookie
|
|
18
|
-
*/
|
|
19
|
-
wrapperA(text: string): string | Error;
|
|
20
|
-
/**
|
|
21
|
-
* 对象转化为formdata
|
|
22
|
-
* getFormData({a: 1, b: 2})
|
|
23
|
-
* @param {Object} object
|
|
24
|
-
*/
|
|
25
|
-
getFormData(object: IObjectKey<any>): FormData;
|
|
26
|
-
}
|
|
27
|
-
declare const _default: DomClass;
|
|
28
|
-
export default _default;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
declare class FilterClass {
|
|
2
|
-
/**
|
|
3
|
-
* 格式化时间,示例:1586840260500 | format('YYYY-MM-DD HH:mm:ss')
|
|
4
|
-
* @param {String|Number} date
|
|
5
|
-
* @param {String} fmt 'YYYY-MM-DD HH:mm:ss'
|
|
6
|
-
* @return {String} 'YYYY-MM-DD HH:mm:ss'
|
|
7
|
-
*/
|
|
8
|
-
format(date: string | number, fmt?: string): string;
|
|
9
|
-
/**
|
|
10
|
-
* 格式化金额,示例:123456 | formatMoney
|
|
11
|
-
* @param {Number} num
|
|
12
|
-
* @return {String} 123,456
|
|
13
|
-
*/
|
|
14
|
-
formatMoney(money: number | string): string;
|
|
15
|
-
/**
|
|
16
|
-
* 截取数组或字符串,示例:'1234' | slice(3)
|
|
17
|
-
* @param {Array|String} target 数组或字符串
|
|
18
|
-
* @param {Number} length 截取长度,从0开始
|
|
19
|
-
* @return {any}
|
|
20
|
-
*/
|
|
21
|
-
slice(target?: Array<any> | string, length?: number): string | any[];
|
|
22
|
-
}
|
|
23
|
-
declare const _default: FilterClass;
|
|
24
|
-
export default _default;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
interface Obj {
|
|
2
|
-
[prop: string]: any;
|
|
3
|
-
}
|
|
4
|
-
declare class Format {
|
|
5
|
-
/**
|
|
6
|
-
* @desc 对于对象非数字与布尔值的value,当其为falsy时,转换成separator
|
|
7
|
-
* @param {object} obj 传入的对象
|
|
8
|
-
* @param {string} separator 替换后的值
|
|
9
|
-
* transformObjectNullVal({ a: null, b: 0}, '23') // {a: "23", b: 0}
|
|
10
|
-
* @return {object}
|
|
11
|
-
*/
|
|
12
|
-
transformObjectNullVal<T extends Obj>(obj: T, separator?: string): T;
|
|
13
|
-
}
|
|
14
|
-
declare const _default: Format;
|
|
15
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare class MatchClass {
|
|
2
|
-
/**
|
|
3
|
-
* 根据类型返回正则
|
|
4
|
-
* @param {String} str 检测的内容
|
|
5
|
-
* @param {String} type 检测类型
|
|
6
|
-
* checkType('10.120.33.11', 'ip') // true
|
|
7
|
-
* @return {Boolean} true or false
|
|
8
|
-
*/
|
|
9
|
-
checkType(str: string, type: string): boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const _default: MatchClass;
|
|
12
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function injectJsError(data?: any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function timing(): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function injectXHR(data?: any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function onload(cb: any): void;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
declare class NumberClass {
|
|
2
|
-
/**
|
|
3
|
-
* 个位数前面补0
|
|
4
|
-
* @param {Number} num 需要格式化的数字
|
|
5
|
-
* @return {String} '01'
|
|
6
|
-
*/
|
|
7
|
-
formatNumber(num: number): string;
|
|
8
|
-
/**
|
|
9
|
-
* 将手机号中间部分替换为星号
|
|
10
|
-
* @param {String} phone 手机号码
|
|
11
|
-
* @return {String} 131****1111
|
|
12
|
-
*/
|
|
13
|
-
formatPhone(phone: string): string;
|
|
14
|
-
/**
|
|
15
|
-
* 格式化数字 万
|
|
16
|
-
* @param {Number} num
|
|
17
|
-
* @return {String} 12.3万
|
|
18
|
-
*/
|
|
19
|
-
convertToWan(num: number): string | number;
|
|
20
|
-
/**
|
|
21
|
-
* 格式化数字 k
|
|
22
|
-
* @param {Number} num
|
|
23
|
-
* @return {String} 1.2k
|
|
24
|
-
*/
|
|
25
|
-
convertToThousand(num: number): string | number;
|
|
26
|
-
/**
|
|
27
|
-
* 随机数,指定范围
|
|
28
|
-
* @param {Number} min 开始
|
|
29
|
-
* @param {Number} max 结束
|
|
30
|
-
* @return {Number|Object}
|
|
31
|
-
*/
|
|
32
|
-
random(min: number, max: number): number | null;
|
|
33
|
-
/**
|
|
34
|
-
* 格式化金额
|
|
35
|
-
* @param {Number} num
|
|
36
|
-
* @return {String} 123,456
|
|
37
|
-
*/
|
|
38
|
-
formatMoney(money: number | string, signal?: string): string;
|
|
39
|
-
}
|
|
40
|
-
declare const _default: NumberClass;
|
|
41
|
-
export default _default;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
declare class Report {
|
|
2
|
-
static instance: any;
|
|
3
|
-
constructor(Vue: Object, options?: {});
|
|
4
|
-
[key: string]: any;
|
|
5
|
-
static getInstance(Vue: Object, Option: Object): any;
|
|
6
|
-
install(): void;
|
|
7
|
-
/**
|
|
8
|
-
* 主动上报
|
|
9
|
-
* @param {String} data
|
|
10
|
-
* @param {String} type 'info','warning','error'
|
|
11
|
-
* @param {Object} options
|
|
12
|
-
*/
|
|
13
|
-
log(data?: any, type?: any, options?: any): void;
|
|
14
|
-
}
|
|
15
|
-
export default Report;
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
import { IObjectKey } from '../../types/index';
|
|
2
|
-
declare class ToolsClass {
|
|
3
|
-
[key: string]: any;
|
|
4
|
-
constructor();
|
|
5
|
-
/**
|
|
6
|
-
* 深拷贝 Object|Array
|
|
7
|
-
* 深拷贝,支持 普通对象、数组,但是未解决Function、Date、RegExp,且1M以上数据性能不好
|
|
8
|
-
* @param {String} data
|
|
9
|
-
* @return {Object}
|
|
10
|
-
*/
|
|
11
|
-
deepCopy(data: object): object;
|
|
12
|
-
/**
|
|
13
|
-
* 深拷贝 Object|Array
|
|
14
|
-
* 支持 普通对象、数组和函数的深复制,但是未解决循环引用、Date、RegExp
|
|
15
|
-
* @param {Object|Array} data
|
|
16
|
-
* @return {Object}
|
|
17
|
-
*/
|
|
18
|
-
deepCopy2<T>(obj: T): T;
|
|
19
|
-
/**
|
|
20
|
-
* 深拷贝 Object|Array
|
|
21
|
-
* 注意:需要 yarn add lodash
|
|
22
|
-
* @param {Object|Array} data
|
|
23
|
-
* @return {Object}
|
|
24
|
-
*/
|
|
25
|
-
deepCopy3(obj: any): any;
|
|
26
|
-
/**
|
|
27
|
-
* 防抖
|
|
28
|
-
* demo:debounce(func, 300)(args)
|
|
29
|
-
* @param {Function} func 执行函数
|
|
30
|
-
* @param {Number} wait 节流时间,毫秒
|
|
31
|
-
* @return {Function} delay
|
|
32
|
-
*/
|
|
33
|
-
debounce(func: Function, wait: number): () => void;
|
|
34
|
-
/**
|
|
35
|
-
* 节流
|
|
36
|
-
* demo:throttle(func, 300)(args)
|
|
37
|
-
* @param {Object|Array} func 执行函数
|
|
38
|
-
* @param {Number} wait 节流时间,毫秒
|
|
39
|
-
* @return {Function} delay
|
|
40
|
-
*/
|
|
41
|
-
throttle(func: Function, wait: number): () => void;
|
|
42
|
-
/**
|
|
43
|
-
* 获取路径中文件名称
|
|
44
|
-
* @param {String} url
|
|
45
|
-
* @return {String}
|
|
46
|
-
*/
|
|
47
|
-
getUrlName(url: string): string;
|
|
48
|
-
/**
|
|
49
|
-
* 动态加载脚本
|
|
50
|
-
* tip:按需加载时用(多次调用,js不会重复加载)
|
|
51
|
-
* @param {String} url
|
|
52
|
-
* @return {Promise}
|
|
53
|
-
*/
|
|
54
|
-
loadJs(url: string): Error | Promise<unknown>;
|
|
55
|
-
/**
|
|
56
|
-
* 动态加载样式
|
|
57
|
-
* @param {String} url
|
|
58
|
-
* @return {Promise}
|
|
59
|
-
*/
|
|
60
|
-
loadCss(url: string): Error | Promise<unknown>;
|
|
61
|
-
/**
|
|
62
|
-
* 蒙层显示后,html禁止滚动操作
|
|
63
|
-
* @param {String} className
|
|
64
|
-
* @return {Void}
|
|
65
|
-
*/
|
|
66
|
-
stopScroll: (className: string) => Error | undefined;
|
|
67
|
-
/**
|
|
68
|
-
* 蒙层隐藏后,html开启滚动操作
|
|
69
|
-
* @param {String} className
|
|
70
|
-
* @return {Void}
|
|
71
|
-
*/
|
|
72
|
-
startScroll: (className: string) => Error | undefined;
|
|
73
|
-
/**
|
|
74
|
-
* 字符串复制到剪贴板
|
|
75
|
-
* 注意:需要 yarn add clipboard-copy
|
|
76
|
-
* @param {String} str
|
|
77
|
-
* @return {String}
|
|
78
|
-
*/
|
|
79
|
-
clipboard(str: string): any;
|
|
80
|
-
/**
|
|
81
|
-
* 首字母大写
|
|
82
|
-
* @param {String} str
|
|
83
|
-
* @return {String}
|
|
84
|
-
*/
|
|
85
|
-
firstUpperCase(str: string): string;
|
|
86
|
-
/**
|
|
87
|
-
* 截取数组或字符串,示例:slice('1234', 3)
|
|
88
|
-
* @param {Array|String} target 数组或字符串
|
|
89
|
-
* @param {Number} length 截取长度,从0开始
|
|
90
|
-
* @return {any}
|
|
91
|
-
*/
|
|
92
|
-
slice(target?: Array<any> | string, length?: number): string | any[];
|
|
93
|
-
/**
|
|
94
|
-
* 获取guid
|
|
95
|
-
* @return {String}
|
|
96
|
-
*/
|
|
97
|
-
guid(): string;
|
|
98
|
-
/**
|
|
99
|
-
* 获取文本字节数(含中文)
|
|
100
|
-
* @param {String} str
|
|
101
|
-
* @return {String}
|
|
102
|
-
*/
|
|
103
|
-
getBytesOfText(str?: string): number;
|
|
104
|
-
/**
|
|
105
|
-
* object 对象转 array 数组
|
|
106
|
-
* demo:
|
|
107
|
-
* objectToArray({a:1,b:2}) 输出:["a=1", "b=2"]
|
|
108
|
-
* @param {Object} obj
|
|
109
|
-
* @returns {Array} arr
|
|
110
|
-
*/
|
|
111
|
-
objectToArray: (obj: IObjectKey<string>) => Array<string>;
|
|
112
|
-
/**
|
|
113
|
-
* convertEnum
|
|
114
|
-
* 枚举键值互换
|
|
115
|
-
* @param {Object} obj
|
|
116
|
-
* convertKeyValueEnum({a: 1, b: 2}) // {1: "a", 2: "b"}
|
|
117
|
-
* @returns {Object} result
|
|
118
|
-
*/
|
|
119
|
-
convertKeyValueEnum: (obj: IObjectKey<string>) => IObjectKey<string>;
|
|
120
|
-
/**
|
|
121
|
-
* 数组去重
|
|
122
|
-
* @param {Array} arr
|
|
123
|
-
* @returns {Array}
|
|
124
|
-
*/
|
|
125
|
-
uniqueArr(arr: Array<any>): Array<any>;
|
|
126
|
-
/**
|
|
127
|
-
* 数组元素交换位置
|
|
128
|
-
* index1和index2分别是两个数组的索引值,即是两个要交换元素位置的索引值,如1,5就是数组中下标为1和5的两个元素交换位置
|
|
129
|
-
* @param {Array<string | number>} array 数组
|
|
130
|
-
* @param {number} index1 添加项目的位置
|
|
131
|
-
* @param {number} index2 删除项目的位置
|
|
132
|
-
* swapArray([1, 2, 3, 4], 2, 3) // [1, 2, 4, 3]
|
|
133
|
-
* @returns {Array<string | number>} array
|
|
134
|
-
*/
|
|
135
|
-
swapArray(array: Array<string | number>, index1: number, index2: number): Array<string | number>;
|
|
136
|
-
/**
|
|
137
|
-
* 过滤表情符号
|
|
138
|
-
* @param {String} str
|
|
139
|
-
* @return {String}
|
|
140
|
-
*/
|
|
141
|
-
filterEmoji(str: string): string;
|
|
142
|
-
/**
|
|
143
|
-
* 是否包含表情
|
|
144
|
-
* @param {String} str
|
|
145
|
-
* @return {boolean}
|
|
146
|
-
*/
|
|
147
|
-
containsEmoji(str: string): boolean;
|
|
148
|
-
/**
|
|
149
|
-
* 是否包含表汉字
|
|
150
|
-
* @param {String} str
|
|
151
|
-
* @return {boolean}
|
|
152
|
-
*/
|
|
153
|
-
containsHanZi(str: string): boolean;
|
|
154
|
-
isEmpty(val: any): boolean;
|
|
155
|
-
isDefined: (val: any) => boolean;
|
|
156
|
-
/**
|
|
157
|
-
* 字段脱敏处理
|
|
158
|
-
* @param {String} field 未脱敏字段
|
|
159
|
-
* @param {Int} before 开头未脱敏字符数
|
|
160
|
-
* @param {Int} after 结尾未脱敏字符数
|
|
161
|
-
* @return {String} 已脱敏字段
|
|
162
|
-
*/
|
|
163
|
-
sensitiveField(field: string | number, before?: number, after?: number): string;
|
|
164
|
-
}
|
|
165
|
-
declare const _default: ToolsClass;
|
|
166
|
-
export default _default;
|