@unicom-cloud/utils 0.1.26 → 0.1.27

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.
Files changed (387) hide show
  1. package/axios/chunk/BJvTEV6n.js +253 -0
  2. package/axios/{lib/core/AxiosError.js → chunk/CB3wlosT.js} +5 -5
  3. package/axios/index.d.ts +6 -1
  4. package/axios/index.js +22 -20
  5. package/axios/lib/axios.js +1633 -45
  6. package/axios/lib/utils.js +3 -246
  7. package/{axios-mock-adapter → axios/mock-adapter}/index.js +16 -17
  8. package/{axios-mock-adapter → axios/mock-adapter}/request.js +5 -6
  9. package/{axios-mock-adapter → axios/mock-adapter}/utils.js +13 -12
  10. package/case-name/index.js +1 -1
  11. package/caseName.js +1 -1
  12. package/class-name/index.js +1 -1
  13. package/className.js +1 -1
  14. package/clipboard-copy/index.js +1 -1
  15. package/clipboardCopy.js +1 -1
  16. package/constant/address.js +1 -1
  17. package/constant/chineseCharacters.js +1 -1
  18. package/constant/constellations.js +1 -1
  19. package/constant/domain.js +1 -1
  20. package/constant/emoji.js +1 -1
  21. package/constant/identity.js +1 -1
  22. package/constant/index.js +1 -1
  23. package/constant/keyboardCode.js +1 -1
  24. package/constant/licensePlate.js +1 -1
  25. package/constant/name.js +1 -1
  26. package/constant/platform.js +16 -17
  27. package/constant/protocol.js +1 -1
  28. package/constant/ui.js +16 -16
  29. package/constant.js +1 -1
  30. package/content-disposition/index.js +1 -1
  31. package/contentDisposition.js +1 -1
  32. package/cookie/index.js +1 -1
  33. package/cookie/src/index.js +1 -1
  34. package/cookie.js +1 -1
  35. package/date/convertTime.js +1 -1
  36. package/date/convertToDuration.js +1 -1
  37. package/date/index.js +1 -1
  38. package/date.js +1 -1
  39. package/decimal/decimal.js +1 -8
  40. package/decimal/index.js +1 -1
  41. package/decimal.js +1 -1
  42. package/dom-helpers/activeElement.js +1 -1
  43. package/dom-helpers/addClass.js +1 -1
  44. package/dom-helpers/addEventListener.js +1 -1
  45. package/dom-helpers/animate.js +1 -1
  46. package/dom-helpers/animationFrame.js +1 -1
  47. package/dom-helpers/attribute.js +1 -1
  48. package/dom-helpers/camelize.js +1 -1
  49. package/dom-helpers/camelizeStyle.js +1 -1
  50. package/dom-helpers/canUseDOM.js +1 -1
  51. package/dom-helpers/childElements.js +1 -1
  52. package/dom-helpers/childNodes.js +1 -1
  53. package/dom-helpers/clear.js +1 -1
  54. package/dom-helpers/closest.js +1 -1
  55. package/dom-helpers/collectElements.js +1 -1
  56. package/dom-helpers/collectSiblings.js +1 -1
  57. package/dom-helpers/contains.js +1 -1
  58. package/dom-helpers/css.js +1 -1
  59. package/dom-helpers/filterEventHandler.js +1 -1
  60. package/dom-helpers/getComputedStyle.js +1 -1
  61. package/dom-helpers/getScrollAccessor.js +1 -1
  62. package/dom-helpers/hasClass.js +1 -1
  63. package/dom-helpers/height.js +1 -1
  64. package/dom-helpers/hyphenate.js +1 -1
  65. package/dom-helpers/hyphenateStyle.js +1 -1
  66. package/dom-helpers/index.js +1 -1
  67. package/dom-helpers/insertAfter.js +1 -1
  68. package/dom-helpers/isDocument.js +1 -1
  69. package/dom-helpers/isInput.js +1 -1
  70. package/dom-helpers/isTransform.js +1 -1
  71. package/dom-helpers/isVisible.js +1 -1
  72. package/dom-helpers/isWindow.js +1 -1
  73. package/dom-helpers/listen.js +1 -1
  74. package/dom-helpers/matches.js +1 -1
  75. package/dom-helpers/nextUntil.js +1 -1
  76. package/dom-helpers/offset.js +1 -1
  77. package/dom-helpers/offsetParent.js +1 -1
  78. package/dom-helpers/ownerDocument.js +1 -1
  79. package/dom-helpers/ownerWindow.js +1 -1
  80. package/dom-helpers/parents.js +1 -1
  81. package/dom-helpers/position.js +1 -1
  82. package/dom-helpers/prepend.js +1 -1
  83. package/dom-helpers/querySelectorAll.js +1 -1
  84. package/dom-helpers/reflow.js +1 -1
  85. package/dom-helpers/remove.js +1 -1
  86. package/dom-helpers/removeClass.js +1 -1
  87. package/dom-helpers/removeEventListener.js +1 -1
  88. package/dom-helpers/scrollLeft.js +1 -1
  89. package/dom-helpers/scrollParent.js +1 -1
  90. package/dom-helpers/scrollTo.js +1 -1
  91. package/dom-helpers/scrollTop.js +1 -1
  92. package/dom-helpers/scrollbarSize.js +1 -1
  93. package/dom-helpers/siblings.js +1 -1
  94. package/dom-helpers/text.js +1 -1
  95. package/dom-helpers/toggleClass.js +1 -1
  96. package/dom-helpers/transitionEnd.js +1 -1
  97. package/dom-helpers/triggerEvent.js +1 -1
  98. package/dom-helpers/types.js +1 -1
  99. package/dom-helpers/width.js +1 -1
  100. package/domHelpers.js +1 -1
  101. package/emitter/index.js +1 -1
  102. package/emitter/src/index.js +1 -1
  103. package/emitter.js +1 -1
  104. package/file/fileToURL.js +1 -1
  105. package/file/index.js +1 -1
  106. package/file/saveAs.js +1 -1
  107. package/file.js +1 -1
  108. package/idb/index.js +1 -1
  109. package/idb.js +1 -1
  110. package/index.js +1 -1
  111. package/invariant/index.js +1 -1
  112. package/invariant.js +1 -1
  113. package/is/index.js +1 -1
  114. package/is.js +1 -1
  115. package/js-cookie/index.js +1 -1
  116. package/js-cookie/src/api.js +1 -1
  117. package/js-cookie/src/assign.js +1 -1
  118. package/js-cookie/src/converter.js +1 -1
  119. package/jsCookie.js +1 -1
  120. package/lunar/index.js +1 -1
  121. package/lunar/lib/Holiday.js +1 -1
  122. package/lunar/lib/HolidayUtil.js +1 -1
  123. package/lunar/lib/I18n.js +1 -1
  124. package/lunar/lib/JieQi.js +1 -1
  125. package/lunar/lib/Lunar.js +1 -1
  126. package/lunar/lib/LunarMonth.js +1 -1
  127. package/lunar/lib/LunarTime.js +1 -1
  128. package/lunar/lib/LunarUtil.js +1 -1
  129. package/lunar/lib/LunarYear.js +1 -1
  130. package/lunar/lib/ShouXingUtil.js +1 -1
  131. package/lunar/lib/Solar.js +1 -1
  132. package/lunar/lib/SolarHalfYear.js +1 -1
  133. package/lunar/lib/SolarMonth.js +1 -1
  134. package/lunar/lib/SolarSeason.js +1 -1
  135. package/lunar/lib/SolarUtil.js +1 -1
  136. package/lunar/lib/SolarWeek.js +1 -1
  137. package/lunar/lib/SolarYear.js +1 -1
  138. package/lunar/lib/index.js +1 -1
  139. package/lunar.js +1 -1
  140. package/math/index.js +1 -1
  141. package/math.js +1 -1
  142. package/md5/index.js +1 -1
  143. package/md5.js +1 -1
  144. package/mock/MockWebSocket.js +1 -1
  145. package/mock/MockXMLHttpRequest.js +1 -1
  146. package/mock/index.js +1 -1
  147. package/mock.js +1 -1
  148. package/normalize-wheel/ExecutionEnvironment.js +1 -1
  149. package/normalize-wheel/UserAgent_DEPRECATED.js +1 -1
  150. package/normalize-wheel/index.js +1 -1
  151. package/normalize-wheel/isEventSupported.js +1 -15
  152. package/normalizeWheel.js +1 -1
  153. package/number-to-chinese/index.js +1 -1
  154. package/numberToChinese.js +1 -1
  155. package/nzh/cn.js +1 -1
  156. package/nzh/hk.js +1 -1
  157. package/nzh/index.js +1 -1
  158. package/nzh/nzh.js +1 -1
  159. package/nzh/src/autoGet.js +1 -1
  160. package/nzh/src/index.js +1 -1
  161. package/nzh/src/langs/cn_b.js +1 -1
  162. package/nzh/src/langs/cn_s.js +1 -1
  163. package/nzh/src/langs/hk_b.js +1 -1
  164. package/nzh/src/langs/hk_s.js +1 -1
  165. package/nzh/src/utils.js +1 -1
  166. package/nzh.js +1 -1
  167. package/object-keys-sort/index.js +1 -1
  168. package/object-prototype-to-string-call/index.js +1 -1
  169. package/objectKeysSort.js +1 -1
  170. package/objectPrototypeToStringCall.js +1 -1
  171. package/package.json +1 -1
  172. package/pinyin/index.js +1 -1
  173. package/pinyin/simplified.js +1 -1
  174. package/pinyin/src/core.js +1 -1
  175. package/pinyin/src/simplified.js +1 -1
  176. package/pinyin/src/simplified_dict.js +1 -1
  177. package/pinyin/src/traditional.js +1 -1
  178. package/pinyin/src/traditional_dict.js +1 -1
  179. package/pinyin/traditional.js +1 -1
  180. package/pinyin.js +1 -1
  181. package/query-string/base.js +1 -1
  182. package/query-string/index.js +1 -1
  183. package/query-string/splitOnFirst.js +1 -1
  184. package/queryString.js +1 -1
  185. package/random/address.js +1 -1
  186. package/random/constellation.js +1 -1
  187. package/random/image.js +1 -1
  188. package/random/index.js +1 -1
  189. package/random/licensePlate.js +1 -1
  190. package/random/name.js +1 -1
  191. package/random/number.js +1 -1
  192. package/random/text.js +1 -1
  193. package/random/time.js +1 -1
  194. package/random/web.js +1 -1
  195. package/random.js +1 -1
  196. package/screenfull/index.js +1 -1
  197. package/screenfull.js +1 -1
  198. package/sleep/index.js +1 -1
  199. package/sleep.js +1 -1
  200. package/snapdom/index.js +1 -1
  201. package/snapdom/src/api/preCache.js +1 -1
  202. package/snapdom/src/api/snapdom.js +1 -1
  203. package/snapdom/src/core/cache.js +1 -1
  204. package/snapdom/src/core/capture.js +1 -1
  205. package/snapdom/src/core/clone.js +1 -1
  206. package/snapdom/src/core/context.js +1 -1
  207. package/snapdom/src/core/plugins.js +1 -1
  208. package/snapdom/src/core/prepare.js +1 -1
  209. package/snapdom/src/exporters/download.js +1 -1
  210. package/snapdom/src/exporters/toBlob.js +1 -1
  211. package/snapdom/src/exporters/toCanvas.js +1 -1
  212. package/snapdom/src/exporters/toImg.js +1 -1
  213. package/snapdom/src/modules/CSSVar.js +1 -1
  214. package/snapdom/src/modules/background.js +1 -1
  215. package/snapdom/src/modules/changeCSS.js +1 -1
  216. package/snapdom/src/modules/counter.js +1 -1
  217. package/snapdom/src/modules/fonts.js +1 -1
  218. package/snapdom/src/modules/iconFonts.js +1 -1
  219. package/snapdom/src/modules/images.js +1 -1
  220. package/snapdom/src/modules/lineClamp.js +1 -1
  221. package/snapdom/src/modules/pseudo.js +1 -1
  222. package/snapdom/src/modules/rasterize.js +1 -1
  223. package/snapdom/src/modules/snapFetch.js +1 -1
  224. package/snapdom/src/modules/styles.js +1 -1
  225. package/snapdom/src/modules/svgDefs.js +1 -1
  226. package/snapdom/src/utils/browser.js +1 -1
  227. package/snapdom/src/utils/css.js +1 -1
  228. package/snapdom/src/utils/helpers.js +1 -1
  229. package/snapdom/src/utils/image.js +1 -1
  230. package/snapdom.js +1 -1
  231. package/tinycolor/index.js +1 -1
  232. package/tinycolor/src/conversion.js +1 -1
  233. package/tinycolor/src/css-color-names.js +1 -1
  234. package/tinycolor/src/format-input.js +1 -1
  235. package/tinycolor/src/from-ratio.js +1 -1
  236. package/tinycolor/src/index.js +1 -1
  237. package/tinycolor/src/random.js +1 -1
  238. package/tinycolor/src/readability.js +1 -1
  239. package/tinycolor/src/to-ms-filter.js +1 -1
  240. package/tinycolor/src/utils.js +1 -1
  241. package/tinycolor.js +1 -1
  242. package/tree/index.js +1 -1
  243. package/tree/search/index.js +1 -1
  244. package/tree.js +1 -1
  245. package/tween/index.js +1 -1
  246. package/tween/src/easing.js +1 -1
  247. package/tween/src/tween.js +1 -1
  248. package/tween.js +1 -1
  249. package/types/constant/platform.d.ts +8 -7
  250. package/types/snapdom/src/core/context.d.ts +1 -1
  251. package/ui-color/compareColorByRange.js +1 -1
  252. package/ui-color/index.js +1 -1
  253. package/uiColor.js +1 -1
  254. package/url-toolkit/index.js +1 -1
  255. package/url-toolkit/src/url-toolkit.js +1 -1
  256. package/urlToolkit.js +1 -1
  257. package/validate/index.js +1 -1
  258. package/validate/src/index.js +1 -1
  259. package/validate/src/locale/en-US.js +1 -1
  260. package/validate/src/locale/zh-CN.js +1 -1
  261. package/validate/src/message.js +1 -1
  262. package/validate/src/rules/array.js +1 -1
  263. package/validate/src/rules/base.js +1 -1
  264. package/validate/src/rules/boolean.js +1 -1
  265. package/validate/src/rules/custom.js +1 -1
  266. package/validate/src/rules/number.js +1 -1
  267. package/validate/src/rules/object.js +1 -1
  268. package/validate/src/rules/string.js +1 -1
  269. package/validate/src/rules/type.js +1 -1
  270. package/validate/src/utils.js +1 -1
  271. package/validate.js +1 -1
  272. package/version/index.js +1 -1
  273. package/version.js +1 -1
  274. package/axios/lib/adapters/adapters.js +0 -65
  275. package/axios/lib/adapters/fetch.js +0 -186
  276. package/axios/lib/adapters/xhr.js +0 -105
  277. package/axios/lib/cancel/CancelToken.js +0 -78
  278. package/axios/lib/cancel/CanceledError.js +0 -18
  279. package/axios/lib/cancel/isCancel.js +0 -7
  280. package/axios/lib/core/Axios.js +0 -170
  281. package/axios/lib/core/AxiosHeaders.js +0 -192
  282. package/axios/lib/core/InterceptorManager.js +0 -59
  283. package/axios/lib/core/buildFullPath.js +0 -10
  284. package/axios/lib/core/dispatchRequest.js +0 -35
  285. package/axios/lib/core/mergeConfig.js +0 -74
  286. package/axios/lib/core/settle.js +0 -17
  287. package/axios/lib/core/transformData.js +0 -19
  288. package/axios/lib/defaults/index.js +0 -103
  289. package/axios/lib/defaults/transitional.js +0 -9
  290. package/axios/lib/env/data.js +0 -5
  291. package/axios/lib/helpers/AxiosURLSearchParams.js +0 -37
  292. package/axios/lib/helpers/HttpStatusCode.js +0 -78
  293. package/axios/lib/helpers/bind.js +0 -9
  294. package/axios/lib/helpers/buildURL.js +0 -24
  295. package/axios/lib/helpers/combineURLs.js +0 -7
  296. package/axios/lib/helpers/composeSignals.js +0 -38
  297. package/axios/lib/helpers/cookies.js +0 -37
  298. package/axios/lib/helpers/formDataToJSON.js +0 -32
  299. package/axios/lib/helpers/isAbsoluteURL.js +0 -7
  300. package/axios/lib/helpers/isAxiosError.js +0 -8
  301. package/axios/lib/helpers/isURLSameOrigin.js +0 -9
  302. package/axios/lib/helpers/parseHeaders.js +0 -31
  303. package/axios/lib/helpers/parseProtocol.js +0 -8
  304. package/axios/lib/helpers/progressEventReducer.js +0 -39
  305. package/axios/lib/helpers/resolveConfig.js +0 -44
  306. package/axios/lib/helpers/speedometer.js +0 -20
  307. package/axios/lib/helpers/spread.js +0 -9
  308. package/axios/lib/helpers/throttle.js +0 -16
  309. package/axios/lib/helpers/toFormData.js +0 -91
  310. package/axios/lib/helpers/toURLEncodedForm.js +0 -15
  311. package/axios/lib/helpers/trackStream.js +0 -67
  312. package/axios/lib/helpers/validator.js +0 -66
  313. package/axios/lib/platform/browser/classes/Blob.js +0 -5
  314. package/axios/lib/platform/browser/classes/FormData.js +0 -5
  315. package/axios/lib/platform/browser/classes/URLSearchParams.js +0 -6
  316. package/axios/lib/platform/browser/index.js +0 -16
  317. package/axios/lib/platform/common/utils.js +0 -9
  318. package/axios/lib/platform/index.js +0 -10
  319. package/axios.js +0 -24
  320. package/axiosMockAdapter.js +0 -9
  321. package/types/axios/index.d.ts +0 -19
  322. package/types/axios/lib/adapters/adapters.d.ts +0 -28
  323. package/types/axios/lib/adapters/fetch.d.ts +0 -3
  324. package/types/axios/lib/adapters/http.d.ts +0 -12
  325. package/types/axios/lib/adapters/xhr.d.ts +0 -2
  326. package/types/axios/lib/axios.d.ts +0 -3
  327. package/types/axios/lib/cancel/CancelToken.d.ts +0 -34
  328. package/types/axios/lib/cancel/CanceledError.d.ts +0 -24
  329. package/types/axios/lib/cancel/isCancel.d.ts +0 -1
  330. package/types/axios/lib/core/Axios.d.ts +0 -28
  331. package/types/axios/lib/core/AxiosError.d.ts +0 -38
  332. package/types/axios/lib/core/AxiosHeaders.d.ts +0 -23
  333. package/types/axios/lib/core/InterceptorManager.d.ts +0 -38
  334. package/types/axios/lib/core/buildFullPath.d.ts +0 -11
  335. package/types/axios/lib/core/dispatchRequest.d.ts +0 -8
  336. package/types/axios/lib/core/mergeConfig.d.ts +0 -10
  337. package/types/axios/lib/core/settle.d.ts +0 -10
  338. package/types/axios/lib/core/transformData.d.ts +0 -9
  339. package/types/axios/lib/defaults/index.d.ts +0 -30
  340. package/types/axios/lib/defaults/transitional.d.ts +0 -6
  341. package/types/axios/lib/env/classes/FormData.d.ts +0 -2
  342. package/types/axios/lib/env/data.d.ts +0 -1
  343. package/types/axios/lib/helpers/AxiosTransformStream.d.ts +0 -19
  344. package/types/axios/lib/helpers/AxiosURLSearchParams.d.ts +0 -30
  345. package/types/axios/lib/helpers/HttpStatusCode.d.ts +0 -72
  346. package/types/axios/lib/helpers/ZlibHeaderTransformStream.d.ts +0 -5
  347. package/types/axios/lib/helpers/bind.d.ts +0 -8
  348. package/types/axios/lib/helpers/buildURL.d.ts +0 -10
  349. package/types/axios/lib/helpers/callbackify.d.ts +0 -2
  350. package/types/axios/lib/helpers/combineURLs.d.ts +0 -9
  351. package/types/axios/lib/helpers/composeSignals.d.ts +0 -2
  352. package/types/axios/lib/helpers/cookies.d.ts +0 -6
  353. package/types/axios/lib/helpers/deprecatedMethod.d.ts +0 -11
  354. package/types/axios/lib/helpers/estimateDataURLDecodedBytes.d.ts +0 -10
  355. package/types/axios/lib/helpers/formDataToJSON.d.ts +0 -11
  356. package/types/axios/lib/helpers/formDataToStream.d.ts +0 -2
  357. package/types/axios/lib/helpers/fromDataURI.d.ts +0 -11
  358. package/types/axios/lib/helpers/isAbsoluteURL.d.ts +0 -8
  359. package/types/axios/lib/helpers/isAxiosError.d.ts +0 -8
  360. package/types/axios/lib/helpers/isURLSameOrigin.d.ts +0 -2
  361. package/types/axios/lib/helpers/null.d.ts +0 -2
  362. package/types/axios/lib/helpers/parseHeaders.d.ts +0 -2
  363. package/types/axios/lib/helpers/parseProtocol.d.ts +0 -1
  364. package/types/axios/lib/helpers/progressEventReducer.d.ts +0 -3
  365. package/types/axios/lib/helpers/readBlob.d.ts +0 -2
  366. package/types/axios/lib/helpers/resolveConfig.d.ts +0 -2
  367. package/types/axios/lib/helpers/speedometer.d.ts +0 -8
  368. package/types/axios/lib/helpers/spread.d.ts +0 -22
  369. package/types/axios/lib/helpers/throttle.d.ts +0 -8
  370. package/types/axios/lib/helpers/toFormData.d.ts +0 -26
  371. package/types/axios/lib/helpers/toURLEncodedForm.d.ts +0 -1
  372. package/types/axios/lib/helpers/trackStream.d.ts +0 -3
  373. package/types/axios/lib/helpers/validator.d.ts +0 -28
  374. package/types/axios/lib/platform/browser/classes/Blob.d.ts +0 -5
  375. package/types/axios/lib/platform/browser/classes/FormData.d.ts +0 -5
  376. package/types/axios/lib/platform/browser/classes/URLSearchParams.d.ts +0 -6
  377. package/types/axios/lib/platform/browser/index.d.ts +0 -13
  378. package/types/axios/lib/platform/common/utils.d.ts +0 -32
  379. package/types/axios/lib/platform/index.d.ts +0 -24
  380. package/types/axios/lib/platform/node/classes/FormData.d.ts +0 -1
  381. package/types/axios/lib/platform/node/classes/URLSearchParams.d.ts +0 -2
  382. package/types/axios/lib/platform/node/index.d.ts +0 -25
  383. package/types/axios/lib/utils.d.ts +0 -289
  384. package/types/axios-mock-adapter/index.d.ts +0 -19
  385. package/types/axios-mock-adapter/request.d.ts +0 -2
  386. package/types/axios-mock-adapter/utils.d.ts +0 -31
  387. /package/{axios-mock-adapter → axios/mock-adapter}/index.d.ts +0 -0
@@ -1,248 +1,5 @@
1
- /* 2025-11-04 10:32:44 */
2
- import R from "./helpers/bind.js";
3
- const { toString: T } = Object.prototype, { getPrototypeOf: A } = Object, { iterator: g, toStringTag: S } = Symbol, O = /* @__PURE__ */ ((e) => (t) => {
4
- const n = T.call(t);
5
- return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
6
- })(/* @__PURE__ */ Object.create(null)), f = (e) => (e = e.toLowerCase(), (t) => O(t) === e), F = (e) => (t) => typeof t === e, { isArray: p } = Array, a = F("undefined");
7
- function d(e) {
8
- return e !== null && !a(e) && e.constructor !== null && !a(e.constructor) && c(e.constructor.isBuffer) && e.constructor.isBuffer(e);
9
- }
10
- const B = f("ArrayBuffer");
11
- function M(e) {
12
- let t;
13
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && B(e.buffer), t;
14
- }
15
- const k = F("string"), c = F("function"), P = F("number"), y = (e) => e !== null && typeof e == "object", U = (e) => e === !0 || e === !1, w = (e) => {
16
- if (O(e) !== "object")
17
- return !1;
18
- const t = A(e);
19
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(S in e) && !(g in e);
20
- }, N = (e) => {
21
- if (!y(e) || d(e))
22
- return !1;
23
- try {
24
- return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
25
- } catch {
26
- return !1;
27
- }
28
- }, I = f("Date"), V = f("File"), _ = f("Blob"), q = f("FileList"), H = (e) => y(e) && c(e.pipe), z = (e) => {
29
- let t;
30
- return e && (typeof FormData == "function" && e instanceof FormData || c(e.append) && ((t = O(e)) === "formdata" || // detect form-data instance
31
- t === "object" && c(e.toString) && e.toString() === "[object FormData]"));
32
- }, J = f("URLSearchParams"), [K, $, W, G] = [
33
- "ReadableStream",
34
- "Request",
35
- "Response",
36
- "Headers"
37
- ].map(f), Q = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
38
- function m(e, t, { allOwnKeys: n = !1 } = {}) {
39
- if (e === null || typeof e > "u")
40
- return;
41
- let r, s;
42
- if (typeof e != "object" && (e = [e]), p(e))
43
- for (r = 0, s = e.length; r < s; r++)
44
- t.call(null, e[r], r, e);
45
- else {
46
- if (d(e))
47
- return;
48
- const o = n ? Object.getOwnPropertyNames(e) : Object.keys(e), i = o.length;
49
- let l;
50
- for (r = 0; r < i; r++)
51
- l = o[r], t.call(null, e[l], l, e);
52
- }
53
- }
54
- function E(e, t) {
55
- if (d(e))
56
- return null;
57
- t = t.toLowerCase();
58
- const n = Object.keys(e);
59
- let r = n.length, s;
60
- for (; r-- > 0; )
61
- if (s = n[r], t === s.toLowerCase())
62
- return s;
63
- return null;
64
- }
65
- const u = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, L = (e) => !a(e) && e !== u;
66
- function h() {
67
- const { caseless: e, skipUndefined: t } = L(this) && this || {}, n = {}, r = (s, o) => {
68
- const i = e && E(n, o) || o;
69
- w(n[i]) && w(s) ? n[i] = h(n[i], s) : w(s) ? n[i] = h({}, s) : p(s) ? n[i] = s.slice() : (!t || !a(s)) && (n[i] = s);
70
- };
71
- for (let s = 0, o = arguments.length; s < o; s++)
72
- arguments[s] && m(arguments[s], r);
73
- return n;
74
- }
75
- const X = (e, t, n, { allOwnKeys: r } = {}) => (m(
76
- t,
77
- (s, o) => {
78
- n && c(s) ? e[o] = R(s, n) : e[o] = s;
79
- },
80
- { allOwnKeys: r }
81
- ), e), Y = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Z = (e, t, n, r) => {
82
- e.prototype = Object.create(
83
- t.prototype,
84
- r
85
- ), e.prototype.constructor = e, Object.defineProperty(e, "super", {
86
- value: t.prototype
87
- }), n && Object.assign(e.prototype, n);
88
- }, j = (e, t, n, r) => {
89
- let s, o, i;
90
- const l = {};
91
- if (t = t || {}, e == null) return t;
92
- do {
93
- for (s = Object.getOwnPropertyNames(e), o = s.length; o-- > 0; )
94
- i = s[o], (!r || r(i, e, t)) && !l[i] && (t[i] = e[i], l[i] = !0);
95
- e = n !== !1 && A(e);
96
- } while (e && (!n || n(e, t)) && e !== Object.prototype);
97
- return t;
98
- }, v = (e, t, n) => {
99
- e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
100
- const r = e.indexOf(t, n);
101
- return r !== -1 && r === n;
102
- }, ee = (e) => {
103
- if (!e) return null;
104
- if (p(e)) return e;
105
- let t = e.length;
106
- if (!P(t)) return null;
107
- const n = new Array(t);
108
- for (; t-- > 0; )
109
- n[t] = e[t];
110
- return n;
111
- }, te = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && A(Uint8Array)), ne = (e, t) => {
112
- const r = (e && e[g]).call(e);
113
- let s;
114
- for (; (s = r.next()) && !s.done; ) {
115
- const o = s.value;
116
- t.call(e, o[0], o[1]);
117
- }
118
- }, re = (e, t) => {
119
- let n;
120
- const r = [];
121
- for (; (n = e.exec(t)) !== null; )
122
- r.push(n);
123
- return r;
124
- }, se = f("HTMLFormElement"), oe = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(n, r, s) {
125
- return r.toUpperCase() + s;
126
- }), x = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), ie = f("RegExp"), C = (e, t) => {
127
- const n = Object.getOwnPropertyDescriptors(e), r = {};
128
- m(n, (s, o) => {
129
- let i;
130
- (i = t(s, o, e)) !== !1 && (r[o] = i || s);
131
- }), Object.defineProperties(e, r);
132
- }, ce = (e) => {
133
- C(e, (t, n) => {
134
- if (c(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
135
- return !1;
136
- const r = e[n];
137
- if (c(r)) {
138
- if (t.enumerable = !1, "writable" in t) {
139
- t.writable = !1;
140
- return;
141
- }
142
- t.set || (t.set = () => {
143
- throw Error("Can not rewrite read-only method '" + n + "'");
144
- });
145
- }
146
- });
147
- }, fe = (e, t) => {
148
- const n = {}, r = (s) => {
149
- s.forEach((o) => {
150
- n[o] = !0;
151
- });
152
- };
153
- return p(e) ? r(e) : r(String(e).split(t)), n;
154
- }, le = () => {
155
- }, ue = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
156
- function ae(e) {
157
- return !!(e && c(e.append) && e[S] === "FormData" && e[g]);
158
- }
159
- const pe = (e) => {
160
- const t = new Array(10), n = (r, s) => {
161
- if (y(r)) {
162
- if (t.indexOf(r) >= 0)
163
- return;
164
- if (d(r))
165
- return r;
166
- if (!("toJSON" in r)) {
167
- t[s] = r;
168
- const o = p(r) ? [] : {};
169
- return m(r, (i, l) => {
170
- const b = n(i, s + 1);
171
- !a(b) && (o[l] = b);
172
- }), t[s] = void 0, o;
173
- }
174
- }
175
- return r;
176
- };
177
- return n(e, 0);
178
- }, de = f("AsyncFunction"), ye = (e) => e && (y(e) || c(e)) && c(e.then) && c(e.catch), D = ((e, t) => e ? setImmediate : t ? ((n, r) => (u.addEventListener(
179
- "message",
180
- ({ source: s, data: o }) => {
181
- s === u && o === n && r.length && r.shift()();
182
- },
183
- !1
184
- ), (s) => {
185
- r.push(s), u.postMessage(n, "*");
186
- }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(typeof setImmediate == "function", c(u.postMessage)), me = typeof queueMicrotask < "u" ? queueMicrotask.bind(u) : typeof process < "u" && process.nextTick || D, we = (e) => e != null && c(e[g]), Oe = {
187
- isArray: p,
188
- isArrayBuffer: B,
189
- isBuffer: d,
190
- isFormData: z,
191
- isArrayBufferView: M,
192
- isString: k,
193
- isNumber: P,
194
- isBoolean: U,
195
- isObject: y,
196
- isPlainObject: w,
197
- isEmptyObject: N,
198
- isReadableStream: K,
199
- isRequest: $,
200
- isResponse: W,
201
- isHeaders: G,
202
- isUndefined: a,
203
- isDate: I,
204
- isFile: V,
205
- isBlob: _,
206
- isRegExp: ie,
207
- isFunction: c,
208
- isStream: H,
209
- isURLSearchParams: J,
210
- isTypedArray: te,
211
- isFileList: q,
212
- forEach: m,
213
- merge: h,
214
- extend: X,
215
- trim: Q,
216
- stripBOM: Y,
217
- inherits: Z,
218
- toFlatObject: j,
219
- kindOf: O,
220
- kindOfTest: f,
221
- endsWith: v,
222
- toArray: ee,
223
- forEachEntry: ne,
224
- matchAll: re,
225
- isHTMLForm: se,
226
- hasOwnProperty: x,
227
- hasOwnProp: x,
228
- // an alias to avoid ESLint no-prototype-builtins detection
229
- reduceDescriptors: C,
230
- freezeMethods: ce,
231
- toObjectSet: fe,
232
- toCamelCase: oe,
233
- noop: le,
234
- toFiniteNumber: ue,
235
- findKey: E,
236
- global: u,
237
- isContextDefined: L,
238
- isSpecCompliantForm: ae,
239
- toJSONObject: pe,
240
- isAsyncFn: de,
241
- isThenable: ye,
242
- setImmediate: D,
243
- asap: me,
244
- isIterable: we
245
- };
1
+ /* 2025-11-07 13:23:48 */
2
+ import { A as f } from "../chunk/BJvTEV6n.js";
246
3
  export {
247
- Oe as default
4
+ f as default
248
5
  };
@@ -1,8 +1,7 @@
1
- /* 2025-11-04 10:32:44 */
2
- import "../axios/index.js";
1
+ /* 2025-11-07 13:23:48 */
2
+ import { A as E } from "../chunk/BJvTEV6n.js";
3
3
  import { request as w } from "./request.js";
4
- import a from "./utils.js";
5
- import E from "../axios/lib/utils.js";
4
+ import i from "./utils.js";
6
5
  const A = [
7
6
  "get",
8
7
  "post",
@@ -80,11 +79,11 @@ function g(r) {
80
79
  return `on${r.charAt(0).toUpperCase()}${r.slice(1)}`;
81
80
  }
82
81
  A.concat("any").forEach(function(r) {
83
- N.prototype[g(r)] = function(e, n, i) {
82
+ N.prototype[g(r)] = function(e, n, a) {
84
83
  const s = this;
85
84
  let d;
86
85
  e = e === void 0 ? /.*/ : e;
87
- const o = T(r, n, i);
86
+ const o = T(r, n, a);
88
87
  function c(t, u, p) {
89
88
  const h = {
90
89
  url: e,
@@ -133,7 +132,7 @@ A.concat("any").forEach(function(r) {
133
132
  },
134
133
  abortRequest() {
135
134
  return c(async function(t) {
136
- throw a.createAxiosError(
135
+ throw i.createAxiosError(
137
136
  "Request aborted",
138
137
  t,
139
138
  void 0,
@@ -143,7 +142,7 @@ A.concat("any").forEach(function(r) {
143
142
  },
144
143
  abortRequestOnce() {
145
144
  return l(async function(t) {
146
- throw a.createAxiosError(
145
+ throw i.createAxiosError(
147
146
  "Request aborted",
148
147
  t,
149
148
  void 0,
@@ -153,17 +152,17 @@ A.concat("any").forEach(function(r) {
153
152
  },
154
153
  networkError() {
155
154
  return c(async function(t) {
156
- throw a.createAxiosError("Network Error", t);
155
+ throw i.createAxiosError("Network Error", t);
157
156
  });
158
157
  },
159
158
  networkErrorOnce() {
160
159
  return l(async function(t) {
161
- throw a.createAxiosError("Network Error", t);
160
+ throw i.createAxiosError("Network Error", t);
162
161
  });
163
162
  },
164
163
  timeout() {
165
164
  return c(async function(t) {
166
- throw a.createAxiosError(
165
+ throw i.createAxiosError(
167
166
  t.timeoutErrorMessage || `timeout of ${t.timeout}ms exceeded`,
168
167
  t,
169
168
  void 0,
@@ -173,7 +172,7 @@ A.concat("any").forEach(function(r) {
173
172
  },
174
173
  timeoutOnce() {
175
174
  return l(async function(t) {
176
- throw a.createAxiosError(
175
+ throw i.createAxiosError(
177
176
  t.timeoutErrorMessage || `timeout of ${t.timeout}ms exceeded`,
178
177
  t,
179
178
  void 0,
@@ -187,9 +186,9 @@ A.concat("any").forEach(function(r) {
187
186
  });
188
187
  function M(r, e) {
189
188
  let n = -1;
190
- for (let i = 0; i < r.length; i += 1) {
191
- const s = r[i], d = s.url instanceof RegExp && e.url instanceof RegExp ? String(s.url) === String(e.url) : s.url === e.url;
192
- (!s.method || s.method === e.method) && d && a.isEqual(s.params, e.params) && a.isEqual(s.data, e.data) && a.isEqual(s.headers, e.headers) && !s.replyOnce && (n = i);
189
+ for (let a = 0; a < r.length; a += 1) {
190
+ const s = r[a], d = s.url instanceof RegExp && e.url instanceof RegExp ? String(s.url) === String(e.url) : s.url === e.url;
191
+ (!s.method || s.method === e.method) && d && i.isEqual(s.params, e.params) && i.isEqual(s.data, e.data) && i.isEqual(s.headers, e.headers) && !s.replyOnce && (n = a);
193
192
  }
194
193
  return n;
195
194
  }
@@ -197,8 +196,8 @@ function y(r, e, n) {
197
196
  if (r === "any")
198
197
  e.push(n);
199
198
  else {
200
- const i = M(e, n);
201
- i > -1 && !n.replyOnce ? e.splice(i, 1, n) : e.push(n);
199
+ const a = M(e, n);
200
+ a > -1 && !n.replyOnce ? e.splice(a, 1, n) : e.push(n);
202
201
  }
203
202
  }
204
203
  export {
@@ -1,7 +1,6 @@
1
- /* 2025-11-04 10:32:44 */
2
- import "../axios/index.js";
1
+ /* 2025-11-07 13:23:48 */
2
+ import { A as l } from "../chunk/BJvTEV6n.js";
3
3
  import a from "./utils.js";
4
- import l from "../axios/lib/utils.js";
5
4
  function u(s, e) {
6
5
  let t = e.baseURL;
7
6
  return t && !/^https?:/.test(t) && (t = void 0), l.isFunction(s.originalAdapter) ? s.originalAdapter(e) : s.axiosInstanceWithoutInterceptors(
@@ -18,7 +17,7 @@ function u(s, e) {
18
17
  function n(s, e) {
19
18
  return l.isNumber(e.delay) ? e.delay : s.delayResponse;
20
19
  }
21
- async function p(s, e) {
20
+ async function i(s, e) {
22
21
  let t = e.url || "";
23
22
  e.baseURL && t.substr(0, e.baseURL.length) === e.baseURL && (t = t.slice(e.baseURL.length)), delete e.adapter, s.history.push(e);
24
23
  const r = a.findHandler(
@@ -46,6 +45,6 @@ async function p(s, e) {
46
45
  }
47
46
  }
48
47
  export {
49
- p as default,
50
- p as request
48
+ i as default,
49
+ i as request
51
50
  };
@@ -1,9 +1,9 @@
1
- /* 2025-11-04 10:32:44 */
1
+ /* 2025-11-07 13:23:48 */
2
2
  import O from "lodash/isArrayBuffer.js";
3
3
  import b from "lodash/isBuffer.js";
4
4
  import d from "lodash/isEqual.js";
5
- import { AxiosError as m } from "../axios/index.js";
6
- import o from "../axios/lib/utils.js";
5
+ import { A as m } from "../chunk/CB3wlosT.js";
6
+ import { A as o } from "../chunk/BJvTEV6n.js";
7
7
  function p(t, r) {
8
8
  const n = t.length;
9
9
  for (let i = 0; i < n; i++) {
@@ -42,7 +42,8 @@ function y(t, r) {
42
42
  let n;
43
43
  try {
44
44
  n = JSON.parse(t);
45
- } catch {
45
+ } catch (i) {
46
+ console.error(i);
46
47
  }
47
48
  return f(n || t, r);
48
49
  }
@@ -50,12 +51,12 @@ function M(t, r) {
50
51
  const n = t.handlers.indexOf(r);
51
52
  n > -1 && t.handlers.splice(n, 1);
52
53
  }
53
- function B(t) {
54
+ function A(t) {
54
55
  return O(t) || o.isBuffer(t) || w(t) || N(t) ? t : o.isObject(t) ? JSON.parse(JSON.stringify(t)) : t;
55
56
  }
56
- async function J(t, r) {
57
+ async function B(t, r) {
57
58
  o.isFunction(t) && (t = await t(r));
58
- const n = t.status || t[0], i = B(t.data || t[1]), e = t.headers || t[2];
59
+ const n = t.status || t[0], i = A(t.data || t[1]), e = t.headers || t[2];
59
60
  return t.config && (r = t.config), {
60
61
  status: n,
61
62
  data: i,
@@ -64,9 +65,9 @@ async function J(t, r) {
64
65
  request: { responseURL: r.url }
65
66
  };
66
67
  }
67
- async function k(t, r, n) {
68
+ async function J(t, r, n) {
68
69
  n > 0 && await new Promise((e) => setTimeout(e, n));
69
- const i = await J(r, t);
70
+ const i = await B(r, t);
70
71
  if (!i.config.validateStatus || i.config.validateStatus(i.status))
71
72
  return i;
72
73
  throw g(
@@ -98,7 +99,7 @@ function g(t, r, n, i) {
98
99
  };
99
100
  }, e;
100
101
  }
101
- function x(t) {
102
+ function k(t) {
102
103
  const r = `Could not find mock for:
103
104
  ${JSON.stringify(
104
105
  {
@@ -114,7 +115,7 @@ ${JSON.stringify(
114
115
  }
115
116
  const U = {
116
117
  createAxiosError: g,
117
- createCouldNotFindMockError: x,
118
+ createCouldNotFindMockError: k,
118
119
  find: p,
119
120
  findHandler: E,
120
121
  isBlob: N,
@@ -122,7 +123,7 @@ const U = {
122
123
  isBuffer: b,
123
124
  isEqual: d,
124
125
  purgeIfReplyOnce: M,
125
- settle: k
126
+ settle: J
126
127
  };
127
128
  export {
128
129
  U as default
@@ -1,4 +1,4 @@
1
- /* 2025-11-04 10:32:44 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  import C from "lodash/camelCase.js";
3
3
  import f from "lodash/capitalize.js";
4
4
  import n from "lodash/kebabCase.js";
package/caseName.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-04 10:32:44 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  import "lodash/camelCase.js";
3
3
  import "lodash/capitalize.js";
4
4
  import "lodash/kebabCase.js";
@@ -1,4 +1,4 @@
1
- /* 2025-11-04 10:32:44 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  import a from "lodash/isPlainObject";
3
3
  function l(...n) {
4
4
  const e = n.flat(1 / 0).map((t, r, s) => a(t) ? Object.keys(t).filter((i) => t[i]) : t).flat(1 / 0).filter(Boolean).join(" ").split(" ").filter(Boolean);
package/className.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-04 10:32:44 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  import "lodash/isPlainObject";
3
3
  import { default as e } from "./class-name/index.js";
4
4
  export {
@@ -1,4 +1,4 @@
1
- /* 2025-11-04 10:32:44 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  import r from "lodash/isString";
3
3
  async function a(o) {
4
4
  const e = document.createElement("span");
package/clipboardCopy.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-04 10:32:44 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  import "lodash/isString";
3
3
  import { default as e } from "./clipboard-copy/index.js";
4
4
  export {
@@ -1,4 +1,4 @@
1
- /* 2025-11-04 10:32:44 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  const e = [
3
3
  {
4
4
  id: "11",
@@ -1,4 +1,4 @@
1
- /* 2025-11-04 10:32:44 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  const t = "的一是在不了有和人这中大为上个国我以要他时来用们生到作地于出就分对成会可主发年动同工也能下过子说产种面而方后多定行学法所民得经十三之进着等部度家电力里如水化高自二理起小物现实加量都两体制机当使点从业本去把性好应开它合还因由其些然前外天政四日那社义事平形相全表间样与关各重新线内数正心反你明看原又么利比或但质气第向道命此变条只没结解问意建月公无系军很情者最立代想已通并提直题党程展五果料象员革位入常文总次品式活设及管特件长求老头基资边流路级少图山统接知较将组见计别她手角期根论运农指几九区强放决西被干做必战先回则任取据处队南给色光门即保治北造百规热领七海口东导器压志世金增争济阶油思术极交受联什认六共权收证改清己美再采转更单风切打白教速花带安场身车例真务具万每目至达走积示议声报斗完类八离华名确才科张信马节话米整空元况今集温传土许步群广石记需段研界拉林律叫且究观越织装影算低持音众书布复容儿须际商非验连断深难近矿千周委素技备半办青省列习响约支般史感劳便团往酸历市克何除消构府称太准精值号率族维划选标写存候毛亲快效斯院查江型眼王按格养易置派层片始却专状育厂京识适属圆包火住调满县局照参红细引听该铁价严龙飞";
3
3
  export {
4
4
  t as default
@@ -1,4 +1,4 @@
1
- /* 2025-11-04 10:32:44 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  const t = [
3
3
  "白羊座",
4
4
  "金牛座",
@@ -1,4 +1,4 @@
1
- /* 2025-11-04 10:32:44 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  const m = [
3
3
  "com",
4
4
  "net",
package/constant/emoji.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-04 10:32:44 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  function i() {
3
3
  const t = [];
4
4
  for (let e = 127744; e <= 129791; e++)
@@ -1,4 +1,4 @@
1
- /* 2025-11-04 10:32:44 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  const t = [
3
3
  "中小学教师",
4
4
  "高校教师",
package/constant/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-04 10:32:44 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  import * as o from "./address.js";
3
3
  import * as t from "./chineseCharacters.js";
4
4
  import * as a from "./constellations.js";
@@ -1,4 +1,4 @@
1
- /* 2025-11-04 10:32:44 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  const o = {
3
3
  key: "Enter",
4
4
  code: "Enter",
@@ -1,4 +1,4 @@
1
- /* 2025-11-04 10:32:44 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  const R = [
3
3
  "京",
4
4
  "津",
package/constant/name.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-04 10:32:44 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  const a = [
3
3
  "赵",
4
4
  "钱",
@@ -1,21 +1,20 @@
1
- /* 2025-11-04 10:32:44 */
2
- const i = navigator.userAgent.toLowerCase(), s = window.__wxjs_environment === "miniprogram" || !!window.wx?.getSystemInfoSync, a = /micromessenger/i.test(i), d = /dingtalk/i.test(i), r = /alipay|aliapp/i.test(i), n = /ipad|iphone|ipod/i.test(i), o = /android/i.test(i), w = /openharmony/i.test(i), t = /macintosh|mac os x/i.test(i), c = n || t, m = /windows|win32|win64|wow64/i.test(
3
- i
4
- ), p = (n || o || /windows phone|blackberry|mobile|webos|iemobile|opera (mini|mobi)/i.test(
5
- i
6
- )) && ("ontouchend" in document || "ontouchend" in window), l = ["fullscreen", "standalone", "minimal-ui"].some((e) => window.matchMedia(`(display-mode: ${e})`).matches) || window.navigator.standalone === !0, u = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
1
+ /* 2025-11-07 15:27:13 */
2
+ const n = navigator.userAgent.toLowerCase(), e = ("ontouchstart" in document || "ontouchstart" in window) && ("ontouchend" in document || "ontouchend" in window), a = window.__wxjs_environment === "miniprogram" || !!window.wx?.getSystemInfoSync, r = /micromessenger/i.test(n), c = /dingtalk/i.test(n), d = /alipay|aliapp/i.test(n), o = /ipad|iphone|ipod/i.test(n), t = /android/i.test(n), w = /openharmony/i.test(n), s = /macintosh|mac os x/i.test(n), m = o || s, p = /windows|win32|win64|wow64/i.test(n), u = e && (o || t || /windows phone|blackberry|mobile|webos|iemobile|opera (mini|mobi)/i.test(
3
+ n
4
+ )), l = ["fullscreen", "standalone", "minimal-ui"].some((i) => window.matchMedia(`(display-mode: ${i})`).matches) || window.navigator.standalone === !0, h = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
7
5
  export {
8
- r as isAlipayBrowser,
9
- o as isAndroidOS,
10
- c as isAppleDevice,
11
- u as isBrowser,
12
- d as isDingtalkBrowser,
6
+ d as isAlipayBrowser,
7
+ t as isAndroidOS,
8
+ m as isAppleDevice,
9
+ h as isBrowser,
10
+ c as isDingtalkBrowser,
13
11
  w as isHarmony,
14
- n as isIOS_OS,
15
- t as isMacOS,
16
- p as isMobileDevice,
12
+ o as isIOS_OS,
13
+ s as isMacOS,
14
+ u as isMobileDevice,
17
15
  l as isPWA,
18
- a as isWeChatBrowser,
19
- s as isWeChatMiniProgram,
20
- m as isWindowsOS
16
+ e as isTouchSupport,
17
+ r as isWeChatBrowser,
18
+ a as isWeChatMiniProgram,
19
+ p as isWindowsOS
21
20
  };
@@ -1,4 +1,4 @@
1
- /* 2025-11-04 10:32:44 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  const t = [
3
3
  "http",
4
4
  "ftp",
package/constant/ui.js CHANGED
@@ -1,18 +1,18 @@
1
- /* 2025-11-04 10:32:44 */
2
- const _ = "pc", E = "mobile", M = "pqbc", t = "pqb-common", I = "pqbc-theme-light", c = "pqbc-theme-dark", o = "pqb", e = "pqb-pc", n = "pqb-theme-light", p = "pqb-theme-dark", A = "pqbm", C = "pqb-mobile", b = "pqbm-theme-light", s = "pqbm-theme-dark";
1
+ /* 2025-11-07 15:27:13 */
2
+ const t = "pc", I = "mobile", _ = "pqbc", o = "pqb-common", c = `${_}-theme-light`, e = `${_}-theme-dark`, E = "pqb", n = "pqb-pc", A = `${E}-theme-light`, C = `${E}-theme-dark`, M = "pqbm", s = "pqb-mobile", L = `${M}-theme-light`, O = `${M}-theme-dark`;
3
3
  export {
4
- E as MOBILE_KEY,
5
- _ as PC_KEY,
6
- t as UI_COMMON_KEY,
7
- M as UI_COMMON_PREFIX,
8
- c as UI_COMMON_THEME_DARK_CLASS_NAME,
9
- I as UI_COMMON_THEME_LIGHT_CLASS_NAME,
10
- C as UI_MOBILE_KEY,
11
- A as UI_MOBILE_PREFIX,
12
- s as UI_MOBILE_THEME_DARK_CLASS_NAME,
13
- b as UI_MOBILE_THEME_LIGHT_CLASS_NAME,
14
- e as UI_PC_KEY,
15
- o as UI_PC_PREFIX,
16
- p as UI_PC_THEME_DARK_CLASS_NAME,
17
- n as UI_PC_THEME_LIGHT_CLASS_NAME
4
+ I as MOBILE_KEY,
5
+ t as PC_KEY,
6
+ o as UI_COMMON_KEY,
7
+ _ as UI_COMMON_PREFIX,
8
+ e as UI_COMMON_THEME_DARK_CLASS_NAME,
9
+ c as UI_COMMON_THEME_LIGHT_CLASS_NAME,
10
+ s as UI_MOBILE_KEY,
11
+ M as UI_MOBILE_PREFIX,
12
+ O as UI_MOBILE_THEME_DARK_CLASS_NAME,
13
+ L as UI_MOBILE_THEME_LIGHT_CLASS_NAME,
14
+ n as UI_PC_KEY,
15
+ E as UI_PC_PREFIX,
16
+ C as UI_PC_THEME_DARK_CLASS_NAME,
17
+ A as UI_PC_THEME_LIGHT_CLASS_NAME
18
18
  };
package/constant.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-04 10:32:44 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  import * as o from "./constant/address.js";
3
3
  import * as t from "./constant/chineseCharacters.js";
4
4
  import * as a from "./constant/constellations.js";