@obr-fe/utils 1.2.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (419) hide show
  1. package/dist/array.d.mts +98 -3
  2. package/dist/{array-CiSUhZCW.d.mts → array.d.ts} +8 -9
  3. package/dist/array.js +1 -0
  4. package/dist/array.mjs +1 -1
  5. package/dist/base.d.mts +192 -3
  6. package/dist/{base-BXKvmcaf.d.cts → base.d.ts} +4 -5
  7. package/dist/base.js +1 -0
  8. package/dist/base.mjs +1 -1
  9. package/dist/chunk-3EVCK72A.mjs +1 -0
  10. package/dist/chunk-44EYU7QJ.mjs +1 -0
  11. package/dist/chunk-4JPCGRPU.mjs +1 -0
  12. package/dist/chunk-6DX7ZFGR.mjs +1 -0
  13. package/dist/chunk-7FGMUEZA.mjs +1 -0
  14. package/dist/chunk-7YMDSJIW.mjs +1 -0
  15. package/dist/chunk-A25LR755.mjs +1 -0
  16. package/dist/chunk-A5BXGBYT.mjs +1 -0
  17. package/dist/chunk-AMTPTGPU.mjs +1 -0
  18. package/dist/chunk-BEM6E7R7.mjs +1 -0
  19. package/dist/chunk-BPXO4V4X.mjs +1 -0
  20. package/dist/chunk-CTKIL4BL.mjs +1 -0
  21. package/dist/chunk-DDHFJKTT.mjs +1 -0
  22. package/dist/chunk-DKKF6DRJ.mjs +1 -0
  23. package/dist/chunk-DVMX6FDA.mjs +1 -0
  24. package/dist/chunk-E4SEMOGO.mjs +1 -0
  25. package/dist/chunk-EUDEMS67.mjs +1 -0
  26. package/dist/chunk-G6NAYP42.mjs +1 -0
  27. package/dist/chunk-GS4ARDQV.mjs +1 -0
  28. package/dist/chunk-HOXWKSQ2.mjs +1 -0
  29. package/dist/chunk-HZMHGGXU.mjs +1 -0
  30. package/dist/chunk-INFFTHYR.mjs +1 -0
  31. package/dist/chunk-IZHCWZIN.mjs +1 -0
  32. package/dist/chunk-KGXCJWE5.mjs +1 -0
  33. package/dist/chunk-LPLK3ZT5.mjs +1 -0
  34. package/dist/chunk-MQBXN7R5.mjs +1 -0
  35. package/dist/chunk-MUHFPVB3.mjs +1 -0
  36. package/dist/chunk-MUUIQW2M.mjs +1 -0
  37. package/dist/chunk-NX2HGAYK.mjs +1 -0
  38. package/dist/chunk-PE3DNHCL.mjs +1 -0
  39. package/dist/chunk-PK5CYIDE.mjs +1 -0
  40. package/dist/chunk-SAXMBV46.mjs +1 -0
  41. package/dist/chunk-TQ5GXPYB.mjs +1 -0
  42. package/dist/chunk-UVMLBW6A.mjs +1 -0
  43. package/dist/chunk-VYAKT4FB.mjs +1 -0
  44. package/dist/chunk-WN7L4HYY.mjs +1 -0
  45. package/dist/chunk-X7TUTCBW.mjs +1 -0
  46. package/dist/chunk-YA66RVVU.mjs +1 -0
  47. package/dist/clipboard.d.mts +3 -2
  48. package/dist/clipboard.d.ts +3 -0
  49. package/dist/clipboard.js +1 -0
  50. package/dist/clipboard.mjs +1 -1
  51. package/dist/dayjs.d.mts +29 -2
  52. package/dist/{dayjs-DgS65bx1.d.cts → dayjs.d.ts} +5 -6
  53. package/dist/dayjs.js +1 -0
  54. package/dist/dayjs.mjs +1 -1
  55. package/dist/dom/base.d.mts +24 -2
  56. package/dist/{base-Ca2FN16G.d.mts → dom/base.d.ts} +2 -3
  57. package/dist/dom/base.js +1 -0
  58. package/dist/dom/base.mjs +1 -1
  59. package/dist/dom/class.d.mts +26 -2
  60. package/dist/{class-Bp70Yi1y.d.cts → dom/class.d.ts} +2 -3
  61. package/dist/dom/class.js +1 -0
  62. package/dist/dom/class.mjs +1 -1
  63. package/dist/dom/contains.d.mts +10 -2
  64. package/dist/{contains-Bj-oQ7KI.d.mts → dom/contains.d.ts} +2 -3
  65. package/dist/dom/contains.js +1 -0
  66. package/dist/dom/contains.mjs +1 -1
  67. package/dist/dom/css.d.mts +22 -2
  68. package/dist/{css-5xR1zP0f.d.cts → dom/css.d.ts} +10 -11
  69. package/dist/dom/css.js +1 -0
  70. package/dist/dom/css.mjs +1 -1
  71. package/dist/dom/dynamic-css.d.mts +20 -2
  72. package/dist/{dynamic-css-CIw8ZtwR.d.cts → dom/dynamic-css.d.ts} +8 -9
  73. package/dist/dom/dynamic-css.js +1 -0
  74. package/dist/dom/dynamic-css.mjs +1 -1
  75. package/dist/dom/find-dom-node.d.mts +3 -2
  76. package/dist/dom/find-dom-node.d.ts +3 -0
  77. package/dist/dom/find-dom-node.js +1 -0
  78. package/dist/dom/find-dom-node.mjs +1 -1
  79. package/dist/dom/focus.d.mts +10 -2
  80. package/dist/{focus-BBcVAsFx.d.cts → dom/focus.d.ts} +2 -3
  81. package/dist/dom/focus.js +1 -0
  82. package/dist/dom/focus.mjs +1 -1
  83. package/dist/dom/iframe.d.mts +57 -2
  84. package/dist/{iframe-CBeiHcmx.d.mts → dom/iframe.d.ts} +15 -16
  85. package/dist/dom/iframe.js +1 -0
  86. package/dist/dom/iframe.mjs +1 -1
  87. package/dist/dom/index.d.mts +17 -18
  88. package/dist/dom/index.d.ts +17 -0
  89. package/dist/dom/index.js +1 -0
  90. package/dist/dom/index.mjs +1 -1
  91. package/dist/dom/is-visible.d.mts +3 -2
  92. package/dist/dom/is-visible.d.ts +3 -0
  93. package/dist/dom/is-visible.js +1 -0
  94. package/dist/dom/is-visible.mjs +1 -1
  95. package/dist/dom/lib/can-use-dom.d.mts +2 -3
  96. package/dist/dom/lib/can-use-dom.d.ts +3 -0
  97. package/dist/dom/lib/can-use-dom.js +1 -0
  98. package/dist/dom/lib/can-use-dom.mjs +1 -1
  99. package/dist/dom/scrollbar.d.mts +8 -2
  100. package/dist/{scrollbar-B0PNF6i2.d.mts → dom/scrollbar.d.ts} +2 -3
  101. package/dist/dom/scrollbar.js +1 -0
  102. package/dist/dom/scrollbar.mjs +1 -1
  103. package/dist/dom/storage.d.mts +20 -3
  104. package/dist/{storage-DicI9wsP.d.cts → dom/storage.d.ts} +4 -5
  105. package/dist/dom/storage.js +1 -0
  106. package/dist/dom/storage.mjs +1 -1
  107. package/dist/dom/style-checker.d.mts +4 -2
  108. package/dist/{style-checker-CpyAZJew.d.cts → dom/style-checker.d.ts} +2 -3
  109. package/dist/dom/style-checker.js +1 -0
  110. package/dist/dom/style-checker.mjs +1 -1
  111. package/dist/dom/style-names.d.mts +3 -2
  112. package/dist/{style-names-ClFu2pk1.d.cts → dom/style-names.d.ts} +2 -3
  113. package/dist/dom/style-names.js +1 -0
  114. package/dist/dom/style-names.mjs +1 -1
  115. package/dist/dom/support.d.mts +8 -2
  116. package/dist/dom/support.d.ts +8 -0
  117. package/dist/dom/support.js +1 -0
  118. package/dist/dom/support.mjs +1 -1
  119. package/dist/dom/video.d.mts +9 -2
  120. package/dist/{video-Bp6NaeX6.d.cts → dom/video.d.ts} +2 -3
  121. package/dist/dom/video.js +1 -0
  122. package/dist/dom/video.mjs +1 -1
  123. package/dist/encrypt.d.mts +28 -2
  124. package/dist/{encrypt-BFDBlSX_.d.cts → encrypt.d.ts} +2 -3
  125. package/dist/encrypt.js +1 -0
  126. package/dist/encrypt.mjs +1 -1
  127. package/dist/file.d.mts +35 -2
  128. package/dist/{file-CjjpuB5u.d.cts → file.d.ts} +5 -6
  129. package/dist/file.js +1 -0
  130. package/dist/file.mjs +1 -1
  131. package/dist/index.d.mts +44 -44
  132. package/dist/index.d.ts +44 -0
  133. package/dist/index.js +1 -0
  134. package/dist/index.mjs +1 -1
  135. package/dist/lodash.d.mts +9 -2
  136. package/dist/lodash.d.ts +9 -0
  137. package/dist/lodash.js +1 -0
  138. package/dist/lodash.mjs +1 -1
  139. package/dist/object.d.mts +86 -3
  140. package/dist/{object-CqyPehTh.d.cts → object.d.ts} +4 -5
  141. package/dist/object.js +1 -0
  142. package/dist/object.mjs +1 -1
  143. package/dist/other.d.mts +49 -3
  144. package/dist/{other-BzR4DqG0.d.cts → other.d.ts} +4 -5
  145. package/dist/other.js +1 -0
  146. package/dist/other.mjs +1 -1
  147. package/dist/parse.d.mts +21 -3
  148. package/dist/{parse-DQMRWCdz.d.mts → parse.d.ts} +7 -8
  149. package/dist/parse.js +1 -0
  150. package/dist/parse.mjs +1 -1
  151. package/dist/pinyin.d.mts +18 -2
  152. package/dist/{pinyin-C2BqrFMq.d.mts → pinyin.d.ts} +3 -5
  153. package/dist/pinyin.js +1 -0
  154. package/dist/pinyin.mjs +1 -1
  155. package/dist/request/constant.d.mts +4 -4
  156. package/dist/request/{constant.d.cts → constant.d.ts} +4 -4
  157. package/dist/request/constant.js +1 -0
  158. package/dist/request/constant.mjs +1 -1
  159. package/dist/request/handler.d.mts +10 -3
  160. package/dist/request/handler.d.ts +10 -0
  161. package/dist/request/handler.js +1 -0
  162. package/dist/request/handler.mjs +1 -1
  163. package/dist/request/index.d.mts +4 -6
  164. package/dist/request/index.d.ts +4 -0
  165. package/dist/request/index.js +1 -0
  166. package/dist/request/index.mjs +1 -1
  167. package/dist/request/request.d.mts +99 -3
  168. package/dist/request/request.d.ts +99 -0
  169. package/dist/request/request.js +1 -0
  170. package/dist/request/request.mjs +1 -1
  171. package/dist/request/utils/cancel.d.mts +4 -4
  172. package/dist/request/utils/{cancel.d.cts → cancel.d.ts} +4 -4
  173. package/dist/request/utils/cancel.js +1 -0
  174. package/dist/request/utils/cancel.mjs +1 -1
  175. package/dist/request/utils/file.d.mts +4 -4
  176. package/dist/request/utils/file.d.ts +6 -0
  177. package/dist/request/utils/file.js +1 -0
  178. package/dist/request/utils/file.mjs +1 -1
  179. package/dist/request/utils/format.d.mts +4 -4
  180. package/dist/request/utils/{format.d.cts → format.d.ts} +4 -4
  181. package/dist/request/utils/format.js +1 -0
  182. package/dist/request/utils/format.mjs +1 -1
  183. package/dist/request/utils/params.d.mts +4 -4
  184. package/dist/request/utils/params.d.ts +6 -0
  185. package/dist/request/utils/params.js +1 -0
  186. package/dist/request/utils/params.mjs +1 -1
  187. package/dist/safe-next-tick.d.mts +9 -2
  188. package/dist/{safe-next-tick-DlJsO1Ha.d.mts → safe-next-tick.d.ts} +4 -5
  189. package/dist/safe-next-tick.js +1 -0
  190. package/dist/safe-next-tick.mjs +1 -1
  191. package/dist/types.d.mts +207 -2
  192. package/dist/types.d.ts +207 -0
  193. package/dist/types.js +1 -0
  194. package/dist/types.mjs +1 -1
  195. package/dist/vue/hooks/clipboard.d.mts +8 -2
  196. package/dist/vue/hooks/clipboard.d.ts +8 -0
  197. package/dist/vue/hooks/clipboard.js +1 -0
  198. package/dist/vue/hooks/clipboard.mjs +1 -1
  199. package/dist/vue/index.d.mts +3 -4
  200. package/dist/vue/index.d.ts +3 -0
  201. package/dist/vue/index.js +1 -0
  202. package/dist/vue/index.mjs +1 -1
  203. package/dist/vue/type-util.d.mts +47 -2
  204. package/dist/{type-util-BdSpgYN3.d.mts → vue/type-util.d.ts} +21 -22
  205. package/dist/vue/type-util.js +1 -0
  206. package/dist/vue/type-util.mjs +1 -1
  207. package/package.json +4 -4
  208. package/dist/array-CEhD-Z_e.mjs +0 -1
  209. package/dist/array-okkZATKz.d.cts +0 -99
  210. package/dist/array-ri-t3Wsz.cjs +0 -1
  211. package/dist/array.cjs +0 -1
  212. package/dist/array.d.cts +0 -3
  213. package/dist/base-854WVUaj.mjs +0 -1
  214. package/dist/base-BSg8gJZf.mjs +0 -1
  215. package/dist/base-DSfexc9G.d.cts +0 -25
  216. package/dist/base-DUxrUTOr.cjs +0 -1
  217. package/dist/base-Dl59EolR.d.mts +0 -193
  218. package/dist/base-DmSU_ydZ.cjs +0 -1
  219. package/dist/base.cjs +0 -1
  220. package/dist/base.d.cts +0 -3
  221. package/dist/can-use-dom-DiyvIP5G.mjs +0 -1
  222. package/dist/can-use-dom-DvmMdeGa.cjs +0 -1
  223. package/dist/cancel-BV5B58Lw.mjs +0 -1
  224. package/dist/cancel-Do0w5I5K.cjs +0 -1
  225. package/dist/chunk-BcXMmzxH.cjs +0 -1
  226. package/dist/chunk-Dbq9I6zD.mjs +0 -1
  227. package/dist/class-C29-Mh-o.mjs +0 -1
  228. package/dist/class-D5duI9ps.d.mts +0 -27
  229. package/dist/class-D8a8qnWA.cjs +0 -1
  230. package/dist/clipboard-BN1iiQLu.d.mts +0 -4
  231. package/dist/clipboard-C8ZiJE_h.d.cts +0 -9
  232. package/dist/clipboard-CJ-9sRbH.d.mts +0 -9
  233. package/dist/clipboard-CWQVWiTk.cjs +0 -1
  234. package/dist/clipboard-Ci0l5Dtt.d.cts +0 -4
  235. package/dist/clipboard-CjgXtqbg.mjs +0 -1
  236. package/dist/clipboard-DqGhq6A4.mjs +0 -1
  237. package/dist/clipboard-ZMrs6wzK.cjs +0 -1
  238. package/dist/clipboard.cjs +0 -1
  239. package/dist/clipboard.d.cts +0 -2
  240. package/dist/constant-CskvZDUK.cjs +0 -1
  241. package/dist/constant-Dxt8HuVn.mjs +0 -1
  242. package/dist/contains-BpG9RIaT.mjs +0 -1
  243. package/dist/contains-CYQgjY4K.cjs +0 -1
  244. package/dist/contains-D3q8gHUu.d.cts +0 -11
  245. package/dist/css-DIpTZrC7.mjs +0 -1
  246. package/dist/css-DkmknM-7.d.mts +0 -23
  247. package/dist/css-WYllKaVv.cjs +0 -1
  248. package/dist/dayjs-00xX6Mts.d.mts +0 -31
  249. package/dist/dayjs-BBOQ72ow.mjs +0 -1
  250. package/dist/dayjs-Bvzj_rlD.cjs +0 -1
  251. package/dist/dayjs.cjs +0 -1
  252. package/dist/dayjs.d.cts +0 -2
  253. package/dist/dom/base.cjs +0 -1
  254. package/dist/dom/base.d.cts +0 -2
  255. package/dist/dom/class.cjs +0 -1
  256. package/dist/dom/class.d.cts +0 -2
  257. package/dist/dom/contains.cjs +0 -1
  258. package/dist/dom/contains.d.cts +0 -2
  259. package/dist/dom/css.cjs +0 -1
  260. package/dist/dom/css.d.cts +0 -2
  261. package/dist/dom/dynamic-css.cjs +0 -1
  262. package/dist/dom/dynamic-css.d.cts +0 -2
  263. package/dist/dom/find-dom-node.cjs +0 -1
  264. package/dist/dom/find-dom-node.d.cts +0 -2
  265. package/dist/dom/focus.cjs +0 -1
  266. package/dist/dom/focus.d.cts +0 -2
  267. package/dist/dom/iframe.cjs +0 -1
  268. package/dist/dom/iframe.d.cts +0 -2
  269. package/dist/dom/index.cjs +0 -1
  270. package/dist/dom/index.d.cts +0 -18
  271. package/dist/dom/is-visible.cjs +0 -1
  272. package/dist/dom/is-visible.d.cts +0 -2
  273. package/dist/dom/lib/can-use-dom.cjs +0 -1
  274. package/dist/dom/lib/can-use-dom.d.cts +0 -3
  275. package/dist/dom/scrollbar.cjs +0 -1
  276. package/dist/dom/scrollbar.d.cts +0 -2
  277. package/dist/dom/storage.cjs +0 -1
  278. package/dist/dom/storage.d.cts +0 -3
  279. package/dist/dom/style-checker.cjs +0 -1
  280. package/dist/dom/style-checker.d.cts +0 -2
  281. package/dist/dom/style-names.cjs +0 -1
  282. package/dist/dom/style-names.d.cts +0 -2
  283. package/dist/dom/support.cjs +0 -1
  284. package/dist/dom/support.d.cts +0 -2
  285. package/dist/dom/video.cjs +0 -1
  286. package/dist/dom/video.d.cts +0 -2
  287. package/dist/dom-D2QfuVth.mjs +0 -1
  288. package/dist/dynamic-css-CD9eHWzL.d.mts +0 -21
  289. package/dist/dynamic-css-CP1iFszw.mjs +0 -1
  290. package/dist/dynamic-css-iSnm5CN6.cjs +0 -1
  291. package/dist/encrypt-CHxdyuoC.d.mts +0 -29
  292. package/dist/encrypt-D6oTfiTY.cjs +0 -1
  293. package/dist/encrypt-Z5CU2r_1.mjs +0 -1
  294. package/dist/encrypt.cjs +0 -1
  295. package/dist/encrypt.d.cts +0 -2
  296. package/dist/file-B9oorXhT.cjs +0 -1
  297. package/dist/file-D4oBhObv.d.mts +0 -36
  298. package/dist/file-Dwobl-pF.mjs +0 -1
  299. package/dist/file-TjtumYrh.mjs +0 -1
  300. package/dist/file-rmcv99h0.cjs +0 -1
  301. package/dist/file.cjs +0 -1
  302. package/dist/file.d.cts +0 -2
  303. package/dist/find-dom-node-BYO9We8P.d.mts +0 -4
  304. package/dist/find-dom-node-BkrYW2pm.d.cts +0 -4
  305. package/dist/find-dom-node-gbroqN2N.mjs +0 -1
  306. package/dist/find-dom-node-lY7vePVL.cjs +0 -1
  307. package/dist/focus-ByNB07tt.d.mts +0 -11
  308. package/dist/focus-DtSCSQEr.cjs +0 -1
  309. package/dist/focus-REYXIBdQ.mjs +0 -1
  310. package/dist/format-3CsgkBWg.mjs +0 -1
  311. package/dist/format-CezZBld9.cjs +0 -1
  312. package/dist/handler-C40H2JG4.cjs +0 -1
  313. package/dist/handler-Dk1QWSgF.d.cts +0 -10
  314. package/dist/handler-N6Akxkpa.mjs +0 -1
  315. package/dist/handler-bsPUG7U9.d.mts +0 -10
  316. package/dist/iframe-ByOdqFYr.mjs +0 -1
  317. package/dist/iframe-CR0bl22C.cjs +0 -1
  318. package/dist/iframe-QhpkIola.d.cts +0 -58
  319. package/dist/index-6bSwZ6-V.d.cts +0 -1
  320. package/dist/index-BYjO2-Dk.d.mts +0 -3
  321. package/dist/index-CLTQPxoD.d.mts +0 -1
  322. package/dist/index-CqciuydZ.d.cts +0 -7
  323. package/dist/index-Ctvuv0vV.d.cts +0 -1
  324. package/dist/index-D-9tW2r5.d.mts +0 -1
  325. package/dist/index.cjs +0 -1
  326. package/dist/index.d.cts +0 -43
  327. package/dist/is-visible-BXbqt6I2.mjs +0 -1
  328. package/dist/is-visible-BpFCb4uJ.d.mts +0 -4
  329. package/dist/is-visible-DT2jLmnp.d.cts +0 -4
  330. package/dist/is-visible-laJngqtK.cjs +0 -1
  331. package/dist/lodash-BrrZKPAY.d.cts +0 -10
  332. package/dist/lodash-DAdPs0O9.d.mts +0 -10
  333. package/dist/lodash-iHVEJs1z.mjs +0 -1
  334. package/dist/lodash-kixEH9o9.cjs +0 -1
  335. package/dist/lodash.cjs +0 -1
  336. package/dist/lodash.d.cts +0 -2
  337. package/dist/object-C6qVmoZY.cjs +0 -1
  338. package/dist/object-j-lK643f.mjs +0 -1
  339. package/dist/object-l_DvbWqN.d.mts +0 -87
  340. package/dist/object.cjs +0 -1
  341. package/dist/object.d.cts +0 -3
  342. package/dist/other-B2ug3Xof.mjs +0 -1
  343. package/dist/other-H13CGzY5.d.mts +0 -50
  344. package/dist/other-c9ZDQ-tY.cjs +0 -1
  345. package/dist/other.cjs +0 -1
  346. package/dist/other.d.cts +0 -3
  347. package/dist/params-CnZhAsve.cjs +0 -1
  348. package/dist/params-CpjttIDa.mjs +0 -1
  349. package/dist/parse-BpErok05.cjs +0 -1
  350. package/dist/parse-C1eaIjot.mjs +0 -1
  351. package/dist/parse-vp0jh8-x.d.cts +0 -22
  352. package/dist/parse.cjs +0 -1
  353. package/dist/parse.d.cts +0 -3
  354. package/dist/pinyin-BE6Ew65z.cjs +0 -1
  355. package/dist/pinyin-D11MW4u2.mjs +0 -1
  356. package/dist/pinyin-Di92101W.d.cts +0 -20
  357. package/dist/pinyin.cjs +0 -1
  358. package/dist/pinyin.d.cts +0 -2
  359. package/dist/request/constant.cjs +0 -1
  360. package/dist/request/handler.cjs +0 -1
  361. package/dist/request/handler.d.cts +0 -3
  362. package/dist/request/index.cjs +0 -1
  363. package/dist/request/index.d.cts +0 -6
  364. package/dist/request/request.cjs +0 -1
  365. package/dist/request/request.d.cts +0 -3
  366. package/dist/request/utils/cancel.cjs +0 -1
  367. package/dist/request/utils/file.cjs +0 -1
  368. package/dist/request/utils/file.d.cts +0 -6
  369. package/dist/request/utils/format.cjs +0 -1
  370. package/dist/request/utils/params.cjs +0 -1
  371. package/dist/request/utils/params.d.cts +0 -6
  372. package/dist/request-BG5UIh9R.mjs +0 -1
  373. package/dist/request-C8gChBjl.d.cts +0 -99
  374. package/dist/request-Cbv8Ih3e.cjs +0 -1
  375. package/dist/request-CcQHJNao.cjs +0 -1
  376. package/dist/request-CmsAe99W.mjs +0 -1
  377. package/dist/request-DGUcKxsQ.d.mts +0 -99
  378. package/dist/safe-next-tick-1ezZPIPs.d.cts +0 -10
  379. package/dist/safe-next-tick-Cc30ZlUX.mjs +0 -1
  380. package/dist/safe-next-tick-DphyaFY6.cjs +0 -1
  381. package/dist/safe-next-tick.cjs +0 -1
  382. package/dist/safe-next-tick.d.cts +0 -2
  383. package/dist/scrollbar-07jqhpVk.d.cts +0 -9
  384. package/dist/scrollbar-2zQwgB3N.cjs +0 -1
  385. package/dist/scrollbar-BsVSwcz1.mjs +0 -1
  386. package/dist/storage-CVE8yo6N.mjs +0 -1
  387. package/dist/storage-ClTxbIcP.cjs +0 -1
  388. package/dist/storage-HTBNfA8Q.d.mts +0 -21
  389. package/dist/style-checker-066o7h7_.mjs +0 -1
  390. package/dist/style-checker-B5wzcdHi.d.mts +0 -5
  391. package/dist/style-checker-DAxS0NyJ.cjs +0 -1
  392. package/dist/style-names-CYvxRARD.cjs +0 -1
  393. package/dist/style-names-DDdz6-7S.d.mts +0 -4
  394. package/dist/style-names-cEIIM3cL.mjs +0 -1
  395. package/dist/support-BKRoxgNc.d.mts +0 -9
  396. package/dist/support-BZYJpIOE.cjs +0 -1
  397. package/dist/support-jAYY4GwL.d.cts +0 -9
  398. package/dist/support-wu9hh5gZ.mjs +0 -1
  399. package/dist/type-util-BRGMhQFp.d.cts +0 -48
  400. package/dist/type-util-HyvLYA2w.cjs +0 -1
  401. package/dist/type-util-Qle7ht7X.mjs +0 -1
  402. package/dist/types-BEdiy6mb.d.mts +0 -208
  403. package/dist/types-Bs46AtMe.mjs +0 -1
  404. package/dist/types-DTtPjrm8.d.cts +0 -208
  405. package/dist/types.cjs +0 -1
  406. package/dist/types.d.cts +0 -2
  407. package/dist/video-BDLauzJm.cjs +0 -1
  408. package/dist/video-C_sYI0Ht.d.mts +0 -10
  409. package/dist/video-CtkByFxt.mjs +0 -1
  410. package/dist/vue/hooks/clipboard.cjs +0 -1
  411. package/dist/vue/hooks/clipboard.d.cts +0 -2
  412. package/dist/vue/index.cjs +0 -1
  413. package/dist/vue/index.d.cts +0 -4
  414. package/dist/vue/type-util.cjs +0 -1
  415. package/dist/vue/type-util.d.cts +0 -2
  416. package/dist/vue-Q8n_JN-R.mjs +0 -1
  417. /package/dist/{dom-DzrnEGri.cjs → chunk-G27KRYT2.mjs} +0 -0
  418. /package/dist/{types-DAFnYo8a.cjs → chunk-PM3H3ISM.mjs} +0 -0
  419. /package/dist/{vue-CGBzFhF4.cjs → chunk-WBQAMGXK.mjs} +0 -0
package/dist/dayjs.d.mts CHANGED
@@ -1,2 +1,29 @@
1
- import { a as registryDayjsPlugin, i as dayjs, n as Dayjs, o as setLocale, r as dateRangeFormatter, t as DateType } from "./dayjs-00xX6Mts.mjs";
2
- export { DateType, Dayjs, dateRangeFormatter, dayjs, registryDayjsPlugin, setLocale };
1
+ import dayjs from 'dayjs';
2
+ export { Dayjs, default as dayjs } from 'dayjs';
3
+
4
+ type DateType = 'year' | 'month' | 'date' | 'week';
5
+ /**
6
+ * @description: 区间选择格式化
7
+ * @param {dayjs} value
8
+ * @param {DateType} formatType
9
+ * @param {string} format
10
+ * @return {*}
11
+ * @autor: 刘 相卿
12
+ */
13
+ declare function dateRangeFormatter(value: dayjs.ConfigType[], formatType?: DateType, format?: string): (string | number | Date | dayjs.Dayjs | null | undefined)[];
14
+ /**
15
+ * @description: 设置语言
16
+ * @param {*} locale
17
+ * @return {*}
18
+ * @autor: 刘 相卿
19
+ */
20
+ declare function setLocale(locale?: 'zh-cn' | 'en'): void;
21
+ /**
22
+ * @description: 动态注册dayjs组件
23
+ * @param {string} pluginName
24
+ * @return {*}
25
+ * @autor: 刘 相卿
26
+ */
27
+ declare function registryDayjsPlugin(pluginName: string[]): Promise<void>;
28
+
29
+ export { type DateType, dateRangeFormatter, registryDayjsPlugin, setLocale };
@@ -1,6 +1,5 @@
1
- import dayjs, { Dayjs } from "dayjs";
2
-
3
- //#region src/dayjs.d.ts
1
+ import dayjs from 'dayjs';
2
+ export { Dayjs, default as dayjs } from 'dayjs';
4
3
 
5
4
  type DateType = 'year' | 'month' | 'date' | 'week';
6
5
  /**
@@ -11,7 +10,7 @@ type DateType = 'year' | 'month' | 'date' | 'week';
11
10
  * @return {*}
12
11
  * @autor: 刘 相卿
13
12
  */
14
- declare function dateRangeFormatter(value: dayjs.ConfigType[], formatType?: DateType, format?: string): unknown[];
13
+ declare function dateRangeFormatter(value: dayjs.ConfigType[], formatType?: DateType, format?: string): (string | number | Date | dayjs.Dayjs | null | undefined)[];
15
14
  /**
16
15
  * @description: 设置语言
17
16
  * @param {*} locale
@@ -26,5 +25,5 @@ declare function setLocale(locale?: 'zh-cn' | 'en'): void;
26
25
  * @autor: 刘 相卿
27
26
  */
28
27
  declare function registryDayjsPlugin(pluginName: string[]): Promise<void>;
29
- //#endregion
30
- export { registryDayjsPlugin as a, dayjs as i, Dayjs as n, setLocale as o, dateRangeFormatter as r, DateType as t };
28
+
29
+ export { type DateType, dateRangeFormatter, registryDayjsPlugin, setLocale };
package/dist/dayjs.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";var y=Object.create;var a=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,b=Object.prototype.hasOwnProperty;var x=(t,n)=>{for(var e in n)a(t,e,{get:n[e],enumerable:!0})},c=(t,n,e,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of m(n))!b.call(t,o)&&o!==e&&a(t,o,{get:()=>n[o],enumerable:!(r=f(n,o))||r.enumerable});return t};var D=(t,n,e)=>(e=t!=null?y(g(t)):{},c(n||!t||!t.__esModule?a(e,"default",{value:t,enumerable:!0}):e,t)),d=t=>c(a({},"__esModule",{value:!0}),t);var O={};x(O,{dateRangeFormatter:()=>Y,dayjs:()=>s.default,registryDayjsPlugin:()=>T,setLocale:()=>h});module.exports=d(O);var s=D(require("dayjs")),k=require("dayjs/locale/zh-cn"),A=require("dayjs/locale/en");var u=t=>Array.isArray(t);function l(t){return t==null||t===""||typeof t=="number"&&Number.isNaN(t)}function j(t){let n=["YYYY","MM","DD","HH","mm","ss"],e=t.replace(/[^a-z\s]/gi,"").split(""),r=n.filter(i=>e.some(p=>i.includes(p)));return(r.length>0?r[r.length-1]:"s")[0]||"s"}function Y(t,n="date",e="YYYY-MM-DD"){if(u(t)&&t.some(p=>l(p)))return t;let[r,o]=t;if(n!=="date")return[(0,s.default)(r).startOf(n).format("YYYY-MM-DD HH:mm:ss"),(0,s.default)(o).endOf(n).format("YYYY-MM-DD HH:mm:ss")];let i=j(e||"YYYY-MM-DD");return[(0,s.default)(r).startOf(i).format("YYYY-MM-DD HH:mm:ss"),(0,s.default)(o).endOf(i).format("YYYY-MM-DD HH:mm:ss")]}function h(t="zh-cn"){s.default.locale(t)}async function T(t){let n=t.map(e=>()=>import(`dayjs/plugin/${e}`));for(let e of n)try{let r=await e();s.default.extend(r)}catch(r){console.error("[registryDayjsPlugin]dayjs\u7EC4\u4EF6\u6CE8\u518C\u5931\u8D25:",r)}}0&&(module.exports={dateRangeFormatter,dayjs,registryDayjsPlugin,setLocale});
package/dist/dayjs.mjs CHANGED
@@ -1 +1 @@
1
- import"./base-854WVUaj.mjs";import{i as e,n as t,r as n,t as r}from"./dayjs-BBOQ72ow.mjs";export{r as dateRangeFormatter,t as dayjs,n as registryDayjsPlugin,e as setLocale};
1
+ import{a,b,c,d}from"./chunk-PK5CYIDE.mjs";import"./chunk-A5BXGBYT.mjs";export{b as dateRangeFormatter,a as dayjs,d as registryDayjsPlugin,c as setLocale};
@@ -1,2 +1,24 @@
1
- import { n as getPx, r as setDocumentTitle, t as getMaxZIndex } from "../base-Ca2FN16G.mjs";
2
- export { getMaxZIndex, getPx, setDocumentTitle };
1
+ /**
2
+ * @description: 设置文档标题
3
+ * @param {string} title
4
+ * @return {*}
5
+ * @autor: 刘 相卿
6
+ */
7
+ declare function setDocumentTitle(title: string): void;
8
+ /**
9
+ * @description: 动态计算px
10
+ * @param {number} px 原始px数值
11
+ * @param {number} width 设计稿宽度 默认1920
12
+ * @param {number} height 设计稿高度 默认1080
13
+ * @return {*}
14
+ * @autor: 刘 相卿
15
+ */
16
+ declare function getPx(px: number, width?: number, height?: number): number;
17
+ /**
18
+ * @description: 获取页面中最大的z-index并+1
19
+ * @return {number} zIndex 最大的index
20
+ * @autor: 刘 相卿
21
+ */
22
+ declare function getMaxZIndex(): number;
23
+
24
+ export { getMaxZIndex, getPx, setDocumentTitle };
@@ -1,4 +1,3 @@
1
- //#region src/dom/base.d.ts
2
1
  /**
3
2
  * @description: 设置文档标题
4
3
  * @param {string} title
@@ -21,5 +20,5 @@ declare function getPx(px: number, width?: number, height?: number): number;
21
20
  * @autor: 刘 相卿
22
21
  */
23
22
  declare function getMaxZIndex(): number;
24
- //#endregion
25
- export { getPx as n, setDocumentTitle as r, getMaxZIndex as t };
23
+
24
+ export { getMaxZIndex, getPx, setDocumentTitle };
@@ -0,0 +1 @@
1
+ "use strict";var c=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var l=(t,e)=>{for(var o in e)c(t,o,{get:e[o],enumerable:!0})},s=(t,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of d(e))!m.call(t,n)&&n!==o&&c(t,n,{get:()=>e[n],enumerable:!(r=i(e,n))||r.enumerable});return t};var x=t=>s(c({},"__esModule",{value:!0}),t);var g={};l(g,{getMaxZIndex:()=>f,getPx:()=>a,setDocumentTitle:()=>b});module.exports=x(g);function b(t){document.title=t}function a(t,e=1920,o=1080){let r=document.documentElement.clientWidth||document.body.clientWidth||e,n=window.screen.height||document.body.clientHeight||e,u=e/o;return r/n/u*t}function f(){let t=document.querySelectorAll("[style*=z-index]"),e=0;return t.forEach(o=>{let r=window.getComputedStyle(o).zIndex;if(r!=="auto"){let n=Number.parseInt(r,10);!Number.isNaN(n)&&n>e&&(e=n)}}),e+1}0&&(module.exports={getMaxZIndex,getPx,setDocumentTitle});
package/dist/dom/base.mjs CHANGED
@@ -1 +1 @@
1
- import{n as e,r as t,t as n}from"../base-BSg8gJZf.mjs";export{n as getMaxZIndex,e as getPx,t as setDocumentTitle};
1
+ import{a,b,c}from"../chunk-PE3DNHCL.mjs";export{c as getMaxZIndex,b as getPx,a as setDocumentTitle};
@@ -1,2 +1,26 @@
1
- import { n as hasClass, r as removeClass, t as addClass } from "../class-D5duI9ps.mjs";
2
- export { addClass, hasClass, removeClass };
1
+ /**
2
+ * @description: 节点是否存在某个class
3
+ * @param {HTMLElement} node
4
+ * @param {string} className
5
+ * @return {*}
6
+ * @autor: 刘 相卿
7
+ */
8
+ declare function hasClass(node: HTMLElement, className: string): boolean;
9
+ /**
10
+ * @description: 给节点添加class
11
+ * @param {HTMLElement} node
12
+ * @param {string} className
13
+ * @return {*}
14
+ * @autor: 刘 相卿
15
+ */
16
+ declare function addClass(node: HTMLElement, className: string): void;
17
+ /**
18
+ * @description: 移除class
19
+ * @param {HTMLElement} node
20
+ * @param {string} className
21
+ * @return {*}
22
+ * @autor: 刘 相卿
23
+ */
24
+ declare function removeClass(node: HTMLElement, className: string): void;
25
+
26
+ export { addClass, hasClass, removeClass };
@@ -1,4 +1,3 @@
1
- //#region src/dom/class.d.ts
2
1
  /**
3
2
  * @description: 节点是否存在某个class
4
3
  * @param {HTMLElement} node
@@ -23,5 +22,5 @@ declare function addClass(node: HTMLElement, className: string): void;
23
22
  * @autor: 刘 相卿
24
23
  */
25
24
  declare function removeClass(node: HTMLElement, className: string): void;
26
- //#endregion
27
- export { hasClass as n, removeClass as r, addClass as t };
25
+
26
+ export { addClass, hasClass, removeClass };
@@ -0,0 +1 @@
1
+ "use strict";var a=Object.defineProperty;var e=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var L=Object.prototype.hasOwnProperty;var f=(s,i)=>{for(var t in i)a(s,t,{get:i[t],enumerable:!0})},g=(s,i,t,c)=>{if(i&&typeof i=="object"||typeof i=="function")for(let l of n(i))!L.call(s,l)&&l!==t&&a(s,l,{get:()=>i[l],enumerable:!(c=e(i,l))||c.enumerable});return s};var u=s=>g(a({},"__esModule",{value:!0}),s);var m={};f(m,{addClass:()=>C,hasClass:()=>r,removeClass:()=>$});module.exports=u(m);function r(s,i){return s.classList?s.classList.contains(i):` ${s.className} `.includes(` ${i} `)}function C(s,i){s.classList?s.classList.add(i):r(s,i)||(s.className=`${s.className} ${i}`)}function $(s,i){if(s.classList)s.classList.remove(i);else if(r(s,i)){let t=s.className;s.className=` ${t} `.replace(` ${i} `," ")}}0&&(module.exports={addClass,hasClass,removeClass});
@@ -1 +1 @@
1
- import{n as e,r as t,t as n}from"../class-C29-Mh-o.mjs";export{n as addClass,e as hasClass,t as removeClass};
1
+ import{a,b,c}from"../chunk-MQBXN7R5.mjs";export{b as addClass,a as hasClass,c as removeClass};
@@ -1,2 +1,10 @@
1
- import { t as contains } from "../contains-Bj-oQ7KI.mjs";
2
- export { contains as default };
1
+ /**
2
+ * @description: 是否包含节点
3
+ * @param {Node} root
4
+ * @param {Node} n
5
+ * @return {*}
6
+ * @autor: 刘 相卿
7
+ */
8
+ declare function contains(root: Node | null | undefined, n?: Node): boolean;
9
+
10
+ export { contains as default };
@@ -1,4 +1,3 @@
1
- //#region src/dom/contains.d.ts
2
1
  /**
3
2
  * @description: 是否包含节点
4
3
  * @param {Node} root
@@ -7,5 +6,5 @@
7
6
  * @autor: 刘 相卿
8
7
  */
9
8
  declare function contains(root: Node | null | undefined, n?: Node): boolean;
10
- //#endregion
11
- export { contains as t };
9
+
10
+ export { contains as default };
@@ -0,0 +1 @@
1
+ "use strict";var i=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var s=(e,n)=>{for(var a in n)i(e,a,{get:n[a],enumerable:!0})},c=(e,n,a,u)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of d(n))!l.call(e,t)&&t!==a&&i(e,t,{get:()=>n[t],enumerable:!(u=r(n,t))||u.enumerable});return e};var o=e=>c(i({},"__esModule",{value:!0}),e);var N={};s(N,{default:()=>f});module.exports=o(N);function f(e,n){if(!e)return!1;if(e.contains)return e.contains(n);let a=n;for(;a;){if(a===e)return!0;a=a.parentNode}return!1}
@@ -1 +1 @@
1
- import{t as e}from"../contains-BpG9RIaT.mjs";export{e as default};
1
+ import{a}from"../chunk-IZHCWZIN.mjs";export{a as default};
@@ -1,2 +1,22 @@
1
- import { a as getOuterHeight, c as setCss, i as getOffset, n as getCss, o as getOuterWidth, r as getDocSize, s as getScroll, t as getClientSize } from "../css-DkmknM-7.mjs";
2
- export { getClientSize, getCss, getDocSize, getOffset, getOuterHeight, getOuterWidth, getScroll, setCss };
1
+ declare function getCss(node: any, name: any): any;
2
+ declare function setCss(node: any, name: any, value: any): any;
3
+ declare function getOuterWidth(el: any): any;
4
+ declare function getOuterHeight(el: HTMLElement): number;
5
+ declare function getDocSize(): {
6
+ width: number;
7
+ height: number;
8
+ };
9
+ declare function getClientSize(): {
10
+ width: number;
11
+ height: number;
12
+ };
13
+ declare function getScroll(): {
14
+ scrollLeft: number;
15
+ scrollTop: number;
16
+ };
17
+ declare function getOffset(node: HTMLElement): {
18
+ left: number;
19
+ top: number;
20
+ };
21
+
22
+ export { getClientSize, getCss, getDocSize, getOffset, getOuterHeight, getOuterWidth, getScroll, setCss };
@@ -1,23 +1,22 @@
1
- //#region src/dom/css.d.ts
2
1
  declare function getCss(node: any, name: any): any;
3
2
  declare function setCss(node: any, name: any, value: any): any;
4
3
  declare function getOuterWidth(el: any): any;
5
4
  declare function getOuterHeight(el: HTMLElement): number;
6
5
  declare function getDocSize(): {
7
- width: number;
8
- height: number;
6
+ width: number;
7
+ height: number;
9
8
  };
10
9
  declare function getClientSize(): {
11
- width: number;
12
- height: number;
10
+ width: number;
11
+ height: number;
13
12
  };
14
13
  declare function getScroll(): {
15
- scrollLeft: number;
16
- scrollTop: number;
14
+ scrollLeft: number;
15
+ scrollTop: number;
17
16
  };
18
17
  declare function getOffset(node: HTMLElement): {
19
- left: number;
20
- top: number;
18
+ left: number;
19
+ top: number;
21
20
  };
22
- //#endregion
23
- export { getOuterHeight as a, setCss as c, getOffset as i, getCss as n, getOuterWidth as o, getDocSize as r, getScroll as s, getClientSize as t };
21
+
22
+ export { getClientSize, getCss, getDocSize, getOffset, getOuterHeight, getOuterWidth, getScroll, setCss };
@@ -0,0 +1 @@
1
+ "use strict";var l=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var h=(e,t)=>{for(var n in t)l(e,n,{get:t[n],enumerable:!0})},a=(e,t,n,c)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of m(t))!g.call(e,o)&&o!==n&&l(e,o,{get:()=>t[o],enumerable:!(c=f(t,o))||c.enumerable});return e};var y=e=>a(l({},"__esModule",{value:!0}),e);var F={};h(F,{getClientSize:()=>H,getCss:()=>x,getDocSize:()=>b,getOffset:()=>L,getOuterHeight:()=>E,getOuterWidth:()=>w,getScroll:()=>T,setCss:()=>d});module.exports=y(F);var r=/margin|padding|width|height|max|min|offset/,i={left:!0,top:!0},s={cssFloat:1,styleFloat:1,float:1};function u(e){return e.nodeType===1?e.ownerDocument.defaultView.getComputedStyle(e,null):{}}function p(e,t,n){if(t=t.toLowerCase(),n==="auto"){if(t==="height")return e.offsetHeight;if(t==="width")return e.offsetWidth}return t in i||(i[t]=r.test(t)),i[t]?Number.parseFloat(n)||0:n}function x(e,t){let n=arguments.length,c=u(e);return t=s[t]?"cssFloat"in e.style?"cssFloat":"styleFloat":t,n===1?c:p(e,t,c[t]||e.style[t])}function d(e,t,n){let c=arguments.length;if(t=s[t]?"cssFloat"in e.style?"cssFloat":"styleFloat":t,c===3)return typeof n=="number"&&r.test(t)&&(n=`${n}px`),e.style[t]=n,n;for(let o in t)t.hasOwnProperty(o)&&d(e,o,t[o]);return u(e)}function w(e){return e===document.body?document.documentElement.clientWidth:e.offsetWidth}function E(e){return e===document.body?window.innerHeight||document.documentElement.clientHeight:e.offsetHeight}function b(){let e=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),t=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:e,height:t}}function H(){let e=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:t}}function T(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function L(e){let t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}0&&(module.exports={getClientSize,getCss,getDocSize,getOffset,getOuterHeight,getOuterWidth,getScroll,setCss});
package/dist/dom/css.mjs CHANGED
@@ -1 +1 @@
1
- import{a as e,c as t,i as n,n as r,o as i,r as a,s as o,t as s}from"../css-DIpTZrC7.mjs";export{s as getClientSize,r as getCss,a as getDocSize,n as getOffset,e as getOuterHeight,i as getOuterWidth,o as getScroll,t as setCss};
1
+ import{a,b,c,d,e,f,g,h}from"../chunk-SAXMBV46.mjs";export{f as getClientSize,a as getCss,e as getDocSize,h as getOffset,d as getOuterHeight,c as getOuterWidth,g as getScroll,b as setCss};
@@ -1,2 +1,20 @@
1
- import { a as injectCSS, i as clearContainerCache, n as ContainerType, o as removeCSS, r as Prepend, s as updateCSS, t as AppendType } from "../dynamic-css-CD9eHWzL.mjs";
2
- export { AppendType, ContainerType, Prepend, clearContainerCache, injectCSS, removeCSS, updateCSS };
1
+ type ContainerType = Element | ShadowRoot;
2
+ type Prepend = boolean | 'queue';
3
+ type AppendType = 'prependQueue' | 'append' | 'prepend';
4
+ interface Options {
5
+ attachTo?: ContainerType;
6
+ csp?: {
7
+ nonce?: string;
8
+ };
9
+ prepend?: Prepend;
10
+ mark?: string;
11
+ }
12
+ declare function injectCSS(css: string, option?: Options): HTMLStyleElement | null;
13
+ declare function removeCSS(key: string, option?: Options): void;
14
+ /**
15
+ * manually clear container cache to avoid global cache in unit testes
16
+ */
17
+ declare function clearContainerCache(): void;
18
+ declare function updateCSS(css: string, key: string, option?: Options): any;
19
+
20
+ export { type AppendType, type ContainerType, type Prepend, clearContainerCache, injectCSS, removeCSS, updateCSS };
@@ -1,14 +1,13 @@
1
- //#region src/dom/dynamic-css.d.ts
2
1
  type ContainerType = Element | ShadowRoot;
3
2
  type Prepend = boolean | 'queue';
4
3
  type AppendType = 'prependQueue' | 'append' | 'prepend';
5
4
  interface Options {
6
- attachTo?: ContainerType;
7
- csp?: {
8
- nonce?: string;
9
- };
10
- prepend?: Prepend;
11
- mark?: string;
5
+ attachTo?: ContainerType;
6
+ csp?: {
7
+ nonce?: string;
8
+ };
9
+ prepend?: Prepend;
10
+ mark?: string;
12
11
  }
13
12
  declare function injectCSS(css: string, option?: Options): HTMLStyleElement | null;
14
13
  declare function removeCSS(key: string, option?: Options): void;
@@ -17,5 +16,5 @@ declare function removeCSS(key: string, option?: Options): void;
17
16
  */
18
17
  declare function clearContainerCache(): void;
19
18
  declare function updateCSS(css: string, key: string, option?: Options): any;
20
- //#endregion
21
- export { injectCSS as a, clearContainerCache as i, ContainerType as n, removeCSS as o, Prepend as r, updateCSS as s, AppendType as t };
19
+
20
+ export { type AppendType, type ContainerType, type Prepend, clearContainerCache, injectCSS, removeCSS, updateCSS };
@@ -0,0 +1 @@
1
+ "use strict";var d=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var S=Object.prototype.hasOwnProperty;var N=(e,n)=>{for(var t in n)d(e,t,{get:n[t],enumerable:!0})},w=(e,n,t,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of x(n))!S.call(e,r)&&r!==t&&d(e,r,{get:()=>n[r],enumerable:!(o=T(n,r))||o.enumerable});return e};var O=e=>w(d({},"__esModule",{value:!0}),e);var L={};N(L,{clearContainerCache:()=>R,injectCSS:()=>p,removeCSS:()=>M,updateCSS:()=>v});module.exports=O(L);function A(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var f=A;function u(e,n){if(!e)return!1;if(e.contains)return e.contains(n);let t=n;for(;t;){if(t===e)return!0;t=t.parentNode}return!1}var l="data-vc-order",E="vc-util-key",c=new Map;function y({mark:e}={}){return e?e.startsWith("data-")?e:`data-${e}`:E}function a(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function b(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function h(e){return Array.from((c.get(e)||e).children).filter(n=>n.tagName==="STYLE")}function p(e,n={}){if(!f())return null;let{csp:t,prepend:o}=n,r=document.createElement("style");r.setAttribute(l,b(o)),t?.nonce&&(r.nonce=t?.nonce),r.innerHTML=e;let i=a(n),{firstChild:g}=i;if(o){if(o==="queue"){let s=h(i).filter(C=>["prepend","prependQueue"].includes(C.getAttribute(l)));if(s.length)return i.insertBefore(r,s[s.length-1].nextSibling),r}i.insertBefore(r,g)}else i.appendChild(r);return r}function m(e,n={}){let t=a(n);return h(t).find(o=>o.getAttribute(y(n))===e)}function M(e,n={}){let t=m(e,n);t&&a(n).removeChild(t)}function P(e,n){let t=c.get(e);if(!t||!u(document,t)){let o=p("",n),{parentNode:r}=o;c.set(e,r),e.removeChild(o)}}function R(){c.clear()}function v(e,n,t={}){let o=a(t);P(o,t);let r=m(n,t);if(r)return t.csp?.nonce&&r.nonce!==t.csp?.nonce&&(r.nonce=t.csp?.nonce),r.innerHTML!==e&&(r.innerHTML=e),r;let i=p(e,t);return i.setAttribute(y(t),n),i}0&&(module.exports={clearContainerCache,injectCSS,removeCSS,updateCSS});
@@ -1 +1 @@
1
- import"../contains-BpG9RIaT.mjs";import"../can-use-dom-DiyvIP5G.mjs";import{i as e,n as t,r as n,t as r}from"../dynamic-css-CP1iFszw.mjs";export{r as clearContainerCache,t as injectCSS,n as removeCSS,e as updateCSS};
1
+ import{a,b,c,d}from"../chunk-4JPCGRPU.mjs";import"../chunk-KGXCJWE5.mjs";import"../chunk-IZHCWZIN.mjs";export{c as clearContainerCache,a as injectCSS,b as removeCSS,d as updateCSS};
@@ -1,2 +1,3 @@
1
- import { t as findDOMNode } from "../find-dom-node-BYO9We8P.mjs";
2
- export { findDOMNode as default };
1
+ declare function findDOMNode(instance: any): any;
2
+
3
+ export { findDOMNode as default };
@@ -0,0 +1,3 @@
1
+ declare function findDOMNode(instance: any): any;
2
+
3
+ export { findDOMNode as default };
@@ -0,0 +1 @@
1
+ "use strict";var t=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var g=(l,e)=>{for(var o in e)t(l,o,{get:e[o],enumerable:!0})},i=(l,e,o,f)=>{if(e&&typeof e=="object"||typeof e=="function")for(let d of r(e))!u.call(l,d)&&d!==o&&t(l,d,{get:()=>e[d],enumerable:!(f=n(e,d))||f.enumerable});return l};var x=l=>i(t({},"__esModule",{value:!0}),l);var b={};g(b,{default:()=>a});module.exports=x(b);function N(l){let e=l?.vnode?.el||l&&(l.$el||l);for(;e&&!e.tagName;)e=e.nextSibling;return e}var a=N;
@@ -1 +1 @@
1
- import{t as e}from"../find-dom-node-gbroqN2N.mjs";export{e as default};
1
+ import{a}from"../chunk-DKKF6DRJ.mjs";export{a as default};
@@ -1,2 +1,10 @@
1
- import { a as saveLastFocusNode, i as limitTabRange, n as clearLastFocusNode, r as getFocusNodeList, t as backLastFocusNode } from "../focus-ByNB07tt.mjs";
2
- export { backLastFocusNode, clearLastFocusNode, getFocusNodeList, limitTabRange, saveLastFocusNode };
1
+ declare function getFocusNodeList(node: HTMLElement, includePositive?: boolean): HTMLElement[];
2
+ /** @deprecated Do not use since this may failed when used in async */
3
+ declare function saveLastFocusNode(): void;
4
+ /** @deprecated Do not use since this may failed when used in async */
5
+ declare function clearLastFocusNode(): void;
6
+ /** @deprecated Do not use since this may failed when used in async */
7
+ declare function backLastFocusNode(): void;
8
+ declare function limitTabRange(node: HTMLElement, e: KeyboardEvent): void;
9
+
10
+ export { backLastFocusNode, clearLastFocusNode, getFocusNodeList, limitTabRange, saveLastFocusNode };
@@ -1,4 +1,3 @@
1
- //#region src/dom/focus.d.ts
2
1
  declare function getFocusNodeList(node: HTMLElement, includePositive?: boolean): HTMLElement[];
3
2
  /** @deprecated Do not use since this may failed when used in async */
4
3
  declare function saveLastFocusNode(): void;
@@ -7,5 +6,5 @@ declare function clearLastFocusNode(): void;
7
6
  /** @deprecated Do not use since this may failed when used in async */
8
7
  declare function backLastFocusNode(): void;
9
8
  declare function limitTabRange(node: HTMLElement, e: KeyboardEvent): void;
10
- //#endregion
11
- export { saveLastFocusNode as a, limitTabRange as i, clearLastFocusNode as n, getFocusNodeList as r, backLastFocusNode as t };
9
+
10
+ export { backLastFocusNode, clearLastFocusNode, getFocusNodeList, limitTabRange, saveLastFocusNode };
@@ -0,0 +1 @@
1
+ "use strict";var u=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var E=Object.prototype.hasOwnProperty;var d=(t,e)=>{for(var n in e)u(t,n,{get:e[n],enumerable:!0})},L=(t,e,n,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of b(e))!E.call(t,l)&&l!==n&&u(t,l,{get:()=>e[l],enumerable:!(a=m(e,l))||a.enumerable});return t};var T=t=>L(u({},"__esModule",{value:!0}),t);var N={};d(N,{backLastFocusNode:()=>h,clearLastFocusNode:()=>p,getFocusNodeList:()=>f,limitTabRange:()=>x,saveLastFocusNode:()=>g});module.exports=T(N);var r=t=>{if(!t)return!1;if(t instanceof Element){if(t.offsetParent)return!0;if(t.getBBox){let{width:e,height:n}=t.getBBox();if(e||n)return!0}if(t.getBoundingClientRect){let{width:e,height:n}=t.getBoundingClientRect();if(e||n)return!0}}return!1};function c(t,e=!1){if(r(t)){let n=t.nodeName.toLowerCase(),a=["input","select","textarea","button"].includes(n)||t.isContentEditable||n==="a"&&!!t.getAttribute("href"),l=t.getAttribute("tabindex"),s=Number(l),i=null;return l&&!Number.isNaN(s)?i=s:a&&i===null&&(i=0),a&&t.disabled&&(i=null),i!==null&&(i>=0||e&&i<0)}return!1}function f(t,e=!1){let n=[...t.querySelectorAll("*")].filter(a=>c(a,e));return c(t,e)&&n.unshift(t),n}var o=null;function g(){o=document.activeElement}function p(){o=null}function h(){if(o)try{o.focus()}catch{}}function x(t,e){if(e.keyCode===9){let n=f(t);(n[e.shiftKey?0:n.length-1]===document.activeElement||t===document.activeElement)&&(n[e.shiftKey?n.length-1:0].focus(),e.preventDefault())}}0&&(module.exports={backLastFocusNode,clearLastFocusNode,getFocusNodeList,limitTabRange,saveLastFocusNode});
@@ -1 +1 @@
1
- import"../is-visible-BXbqt6I2.mjs";import{a as e,i as t,n,r,t as i}from"../focus-REYXIBdQ.mjs";export{i as backLastFocusNode,n as clearLastFocusNode,r as getFocusNodeList,t as limitTabRange,e as saveLastFocusNode};
1
+ import{a,b,c,d,e}from"../chunk-X7TUTCBW.mjs";import"../chunk-G6NAYP42.mjs";export{d as backLastFocusNode,c as clearLastFocusNode,a as getFocusNodeList,e as limitTabRange,b as saveLastFocusNode};
@@ -1,2 +1,57 @@
1
- import { a as iframeReceiveHook, i as iframePostHook, n as IFrameMessageDataType, o as postMessage2Top, r as IFrameUtilConfig, t as AllowMessageType } from "../iframe-CBeiHcmx.mjs";
2
- export { AllowMessageType, IFrameMessageDataType, IFrameUtilConfig, iframePostHook, iframeReceiveHook, postMessage2Top };
1
+ type AllowMessageType = 'default' | 'LocalStorage' | 'SessionStorage' | 'Cookie';
2
+ /**
3
+ * @description: 配置类型
4
+ * @param {number} timeout 消息回传超时时间(单位毫秒 默认5000ms)
5
+ * @param {string} allowPostOrigins 允许发送消息的origin 多个用半角逗号分隔[,] 默认为空
6
+ * @param {string} allowReceiveOrigins 允许接收消息的origin 多个用半角逗号分隔[,](永远都不会接收自己页面的message) 默认为空
7
+ * @autor: 刘 相卿
8
+ */
9
+ interface IFrameUtilConfig {
10
+ timeout?: number;
11
+ allowPostOrigins?: string;
12
+ allowReceiveOrigins?: string;
13
+ }
14
+ interface IFrameMessageDataType<T = any> {
15
+ uuid: string;
16
+ type: AllowMessageType;
17
+ content: T;
18
+ }
19
+ /**
20
+ * @description: iframe消息发送hook
21
+ * 应用于父页面
22
+ * 父页面必须通过发消息才能与嵌套的iframe建立通信
23
+ * 不可直接调用iframe的内容
24
+ * @param {HTMLIFrameElement} element
25
+ * @param {IFrameUtilConfig} configs 可选项
26
+ * @return {*}
27
+ * @autor: 刘 相卿
28
+ */
29
+ declare function iframePostHook(element: HTMLIFrameElement, configs?: IFrameUtilConfig): {
30
+ load: () => Promise<boolean>;
31
+ post: <T = any>(data: T | IFrameMessageDataType<T>, origin?: string) => Promise<T>;
32
+ destory: () => void;
33
+ getLocalStorage: <T_1>(key?: string, origin?: string) => Promise<T_1 | null>;
34
+ getSessionStorage: <T_2>(key?: string, origin?: string) => Promise<T_2 | null>;
35
+ getCookie: <T_3>(key?: string, origin?: string) => Promise<T_3 | null>;
36
+ messageFormat: <T_4 = any>(content: T_4, type?: AllowMessageType) => IFrameMessageDataType<T_4>;
37
+ };
38
+ /**
39
+ * @description: iframe消息接收hook
40
+ * 应用于以frame方式嵌入的页面 非iframe嵌入方式不可使用
41
+ * @param {IFrameUtilConfig} messageEvent
42
+ * @param {(data: any) => T | Promise<T>} callback 可选项
43
+ * @param {IFrameUtilConfig} allowOrigins 允许接收消息的origin 多个用半角逗号分隔[,](永远都不会接收自己页面的message)
44
+ * @return {*}
45
+ * @autor: 刘 相卿
46
+ */
47
+ declare function iframeReceiveHook<T = any>(messageEvent: MessageEvent<IFrameMessageDataType<any>>, callback?: (data: any) => T | Promise<T>, allowOrigins?: string): Promise<void>;
48
+ /**
49
+ * @description: 向父级发送消息
50
+ * @param {any} content
51
+ * @param {string} origin
52
+ * @return {*}
53
+ * @autor: 刘 相卿
54
+ */
55
+ declare function postMessage2Top(content: any, origin?: string): void;
56
+
57
+ export { type AllowMessageType, type IFrameMessageDataType, type IFrameUtilConfig, iframePostHook, iframeReceiveHook, postMessage2Top };
@@ -1,4 +1,3 @@
1
- //#region src/dom/iframe.d.ts
2
1
  type AllowMessageType = 'default' | 'LocalStorage' | 'SessionStorage' | 'Cookie';
3
2
  /**
4
3
  * @description: 配置类型
@@ -8,14 +7,14 @@ type AllowMessageType = 'default' | 'LocalStorage' | 'SessionStorage' | 'Cookie'
8
7
  * @autor: 刘 相卿
9
8
  */
10
9
  interface IFrameUtilConfig {
11
- timeout?: number;
12
- allowPostOrigins?: string;
13
- allowReceiveOrigins?: string;
10
+ timeout?: number;
11
+ allowPostOrigins?: string;
12
+ allowReceiveOrigins?: string;
14
13
  }
15
14
  interface IFrameMessageDataType<T = any> {
16
- uuid: string;
17
- type: AllowMessageType;
18
- content: T;
15
+ uuid: string;
16
+ type: AllowMessageType;
17
+ content: T;
19
18
  }
20
19
  /**
21
20
  * @description: iframe消息发送hook
@@ -28,13 +27,13 @@ interface IFrameMessageDataType<T = any> {
28
27
  * @autor: 刘 相卿
29
28
  */
30
29
  declare function iframePostHook(element: HTMLIFrameElement, configs?: IFrameUtilConfig): {
31
- load: () => Promise<boolean>;
32
- post: <T = any>(data: T | IFrameMessageDataType<T>, origin?: string) => Promise<T>;
33
- destory: () => void;
34
- getLocalStorage: <T_1>(key?: string, origin?: string) => Promise<T_1 | null>;
35
- getSessionStorage: <T_2>(key?: string, origin?: string) => Promise<T_2 | null>;
36
- getCookie: <T_3>(key?: string, origin?: string) => Promise<T_3 | null>;
37
- messageFormat: <T_4 = any>(content: T_4, type?: AllowMessageType) => IFrameMessageDataType<T_4>;
30
+ load: () => Promise<boolean>;
31
+ post: <T = any>(data: T | IFrameMessageDataType<T>, origin?: string) => Promise<T>;
32
+ destory: () => void;
33
+ getLocalStorage: <T_1>(key?: string, origin?: string) => Promise<T_1 | null>;
34
+ getSessionStorage: <T_2>(key?: string, origin?: string) => Promise<T_2 | null>;
35
+ getCookie: <T_3>(key?: string, origin?: string) => Promise<T_3 | null>;
36
+ messageFormat: <T_4 = any>(content: T_4, type?: AllowMessageType) => IFrameMessageDataType<T_4>;
38
37
  };
39
38
  /**
40
39
  * @description: iframe消息接收hook
@@ -54,5 +53,5 @@ declare function iframeReceiveHook<T = any>(messageEvent: MessageEvent<IFrameMes
54
53
  * @autor: 刘 相卿
55
54
  */
56
55
  declare function postMessage2Top(content: any, origin?: string): void;
57
- //#endregion
58
- export { iframeReceiveHook as a, iframePostHook as i, IFrameMessageDataType as n, postMessage2Top as o, IFrameUtilConfig as r, AllowMessageType as t };
56
+
57
+ export { type AllowMessageType, type IFrameMessageDataType, type IFrameUtilConfig, iframePostHook, iframeReceiveHook, postMessage2Top };
@@ -0,0 +1 @@
1
+ "use strict";var N=Object.create;var y=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var F=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,U=Object.prototype.hasOwnProperty;var $=(e,n)=>{for(var t in n)y(e,t,{get:n[t],enumerable:!0})},D=(e,n,t,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let s of F(n))!U.call(e,s)&&s!==t&&y(e,s,{get:()=>n[s],enumerable:!(i=R(n,s))||i.enumerable});return e};var g=(e,n,t)=>(t=e!=null?N(C(e)):{},D(n||!e||!e.__esModule?y(t,"default",{value:e,enumerable:!0}):t,e)),G=e=>D(y({},"__esModule",{value:!0}),e);var Y={};$(Y,{iframePostHook:()=>K,iframeReceiveHook:()=>Q,postMessage2Top:()=>X});module.exports=G(Y);var j=e=>Object.prototype.toString.call(e)==="[object Object]";function T(e=10){let n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",t="",i=n.length;for(let s=0;s<e;s++)t+=n.charAt(Math.floor(Math.random()*i));return t}var H=g(require("lodash.clonedeep")),V=g(require("lodash.debounce")),w=g(require("lodash.merge")),B=g(require("lodash.clone")),J=g(require("lodash.get")),W=g(require("lodash.set")),_=g(require("lodash.has")),q=g(require("lodash.kebabcase")),z=g(require("lodash.camelcase"));function M(e=[]){return localStorage?e.length?e.reduce((n,t)=>(n[t]=localStorage.getItem(t),n),{}):Object.keys(localStorage).reduce((n,t)=>(n[t]=localStorage.getItem(t),n),{}):e.length===1?null:{}}function I(e=[]){return sessionStorage?sessionStorage?e.length?e.reduce((n,t)=>(n[t]=sessionStorage.getItem(t),n),{}):Object.keys(sessionStorage).reduce((n,t)=>(n[t]=sessionStorage.getItem(t),n),{}):null:e.length===1?null:{}}function L(e=[]){if(document.cookie){let n=document.cookie.split("; ").reduce((t,i)=>{let[s="",o=""]=i.split("=").map(decodeURIComponent);return t[s]=o,t},{});return e.length?e.reduce((t,i)=>(t[i]=n[i],t),{}):n}else return e.length===1?null:{}}function K(e,n){let t=e,i={timeout:5e3,allowPostOrigins:"",allowReceiveOrigins:""},s=()=>{i=(0,w.default)({},i,n)},o=new Map,a=()=>{if(t&&t?.contentWindow)return!0;throw new Error("iframe content not load!")},u=(r,c="default")=>({uuid:T(10),type:c,content:r}),b=r=>{if((i.allowReceiveOrigins?.split(",")??[]).some(l=>l==="*"||l===r.origin)){let l=r.data;l.uuid&&o.has(l.uuid)&&o.set(l.uuid,l.content)}},k=(r,c)=>{a();let l=c??t.src,f=i.allowPostOrigins?.split(",")??[];if(l&&f.some(m=>m==="*"||l.includes(m)))o.set(r.uuid,null),t.contentWindow?.postMessage(r,l);else throw new Error(`iframe[${l}]\u4E0D\u5728[configs.allowPostOrigins]\u8303\u56F4\u5185!`)},x=(r,c)=>new Promise((f,m)=>{try{let p=j(r)&&r.uuid?r:u(r);if(k(p,c),p.uuid)o.set(p.uuid,null);else throw new Error("\u6D88\u606F\u53D1\u9001\u5931\u8D25");let O=0,S=setInterval(()=>{let h=o.get(p.uuid);if(h!==null){clearInterval(S),o.delete(p.uuid),f(h);return}if(O+=10,O>=i.timeout)throw clearInterval(S),new Error("\u6D88\u606F\u56DE\u4F20\u8D85\u65F6!")},10)}catch(p){m(p)}}),d=async(r,c,l)=>{let f=null;try{let m=u(c,r);f=await x(m,l)}catch{f=null}return f},P=(r="",c)=>d("LocalStorage",r,c),v=(r="",c)=>d("SessionStorage",r,c),A=(r="",c)=>d("Cookie",r,c),E=()=>{a(),window.addEventListener("message",b)};return{load:()=>(s(),new Promise(r=>{t.onload=()=>{r(!0)},E()})),post:x,destory:()=>{window.removeEventListener("message",b)},getLocalStorage:P,getSessionStorage:v,getCookie:A,messageFormat:u}}async function Q(e,n,t){if(window.top===window.self)throw new Error(`\u9875\u9762[${location.origin}]\u975Eiframe\u5D4C\u5165\u65B9\u5F0F, \u4E0D\u5141\u8BB8\u63A5\u6536message!`);if((t?.split(",")??[]).some(s=>s==="*"||s===e.origin)){let s=["default","LocalStorage","SessionStorage","Cookie"],o=e.data;if(o&&o.uuid&&s.includes(o.type)){let a=null;try{if(o.type==="LocalStorage"){let u=M(o.content?[o.content]:[]);o.content?a=u?.[o.content]:a=u}else if(o.type==="SessionStorage"){let u=I(o.content?[o.content]:[]);o.content?a=u?.[o.content]:a=u}else if(o.type==="Cookie"){let u=L(o.content?[o.content]:[]);o.content?a=u?.[o.content]:a=u}else n?a=await n(o.content):a=null;a===null&&(a=void 0)}catch{a=null}window.top&&window.top.postMessage({...o,content:a},e.origin)}}}function X(e,n){window.top&&window.top!==window.self&&window.top.postMessage({uuid:T(),content:e},n??window.top.origin)}0&&(module.exports={iframePostHook,iframeReceiveHook,postMessage2Top});
@@ -1 +1 @@
1
- import"../base-854WVUaj.mjs";import"../lodash-iHVEJs1z.mjs";import"../storage-CVE8yo6N.mjs";import{n as e,r as t,t as n}from"../iframe-ByOdqFYr.mjs";export{n as iframePostHook,e as iframeReceiveHook,t as postMessage2Top};
1
+ import{a,b,c}from"../chunk-VYAKT4FB.mjs";import"../chunk-WN7L4HYY.mjs";import"../chunk-A5BXGBYT.mjs";import"../chunk-CTKIL4BL.mjs";export{a as iframePostHook,b as iframeReceiveHook,c as postMessage2Top};
@@ -1,18 +1,17 @@
1
- import "../types-BEdiy6mb.mjs";
2
- import { n as getPx, r as setDocumentTitle, t as getMaxZIndex } from "../base-Ca2FN16G.mjs";
3
- import { n as hasClass, r as removeClass, t as addClass } from "../class-D5duI9ps.mjs";
4
- import { t as contains } from "../contains-Bj-oQ7KI.mjs";
5
- import { a as getOuterHeight, c as setCss, i as getOffset, n as getCss, o as getOuterWidth, r as getDocSize, s as getScroll, t as getClientSize } from "../css-DkmknM-7.mjs";
6
- import { a as injectCSS, i as clearContainerCache, n as ContainerType, o as removeCSS, r as Prepend, s as updateCSS, t as AppendType } from "../dynamic-css-CD9eHWzL.mjs";
7
- import { t as findDOMNode } from "../find-dom-node-BYO9We8P.mjs";
8
- import { a as saveLastFocusNode, i as limitTabRange, n as clearLastFocusNode, r as getFocusNodeList, t as backLastFocusNode } from "../focus-ByNB07tt.mjs";
9
- import { a as iframeReceiveHook, i as iframePostHook, n as IFrameMessageDataType, o as postMessage2Top, r as IFrameUtilConfig, t as AllowMessageType } from "../iframe-CBeiHcmx.mjs";
10
- import { t as _default } from "../is-visible-BpFCb4uJ.mjs";
11
- import { t as styleNames } from "../style-names-DDdz6-7S.mjs";
12
- import { t as isStyleSupport } from "../style-checker-B5wzcdHi.mjs";
13
- import { n as transition, t as animation } from "../support-BKRoxgNc.mjs";
14
- import { n as getLocalStorage, r as getSessionStorage, t as getCookie } from "../storage-HTBNfA8Q.mjs";
15
- import { t as getScrollbarWidth } from "../scrollbar-B0PNF6i2.mjs";
16
- import { t as getVideoPoster } from "../video-C_sYI0Ht.mjs";
17
- import "../index-CLTQPxoD.mjs";
18
- export { AllowMessageType, AppendType, ContainerType, IFrameMessageDataType, IFrameUtilConfig, Prepend, addClass, animation, backLastFocusNode, clearContainerCache, clearLastFocusNode, contains, findDOMNode, findDOMNode as findDomNode, getClientSize, getCookie, getCss, getDocSize, getFocusNodeList, getLocalStorage, getMaxZIndex, getOffset, getOuterHeight, getOuterWidth, getPx, getScroll, getScrollbarWidth, getSessionStorage, getVideoPoster, hasClass, iframePostHook, iframeReceiveHook, injectCSS, isStyleSupport, _default as isVisible, limitTabRange, postMessage2Top, removeCSS, removeClass, saveLastFocusNode, setCss, setDocumentTitle, styleNames, transition, updateCSS };
1
+ export { default as findDOMNode, default as findDomNode } from './find-dom-node.mjs';
2
+ export { default as isVisible } from './is-visible.mjs';
3
+ export { default as contains } from './contains.mjs';
4
+ export { styleNames } from './style-names.mjs';
5
+ export { addClass, hasClass, removeClass } from './class.mjs';
6
+ export { getClientSize, getCss, getDocSize, getOffset, getOuterHeight, getOuterWidth, getScroll, setCss } from './css.mjs';
7
+ export { AppendType, ContainerType, Prepend, clearContainerCache, injectCSS, removeCSS, updateCSS } from './dynamic-css.mjs';
8
+ export { backLastFocusNode, clearLastFocusNode, getFocusNodeList, limitTabRange, saveLastFocusNode } from './focus.mjs';
9
+ export { isStyleSupport } from './style-checker.mjs';
10
+ export { animation, transition } from './support.mjs';
11
+ export { getMaxZIndex, getPx, setDocumentTitle } from './base.mjs';
12
+ export { AllowMessageType, IFrameMessageDataType, IFrameUtilConfig, iframePostHook, iframeReceiveHook, postMessage2Top } from './iframe.mjs';
13
+ export { getCookie, getLocalStorage, getSessionStorage } from './storage.mjs';
14
+ export { getScrollbarWidth } from './scrollbar.mjs';
15
+ export { getVideoPoster } from './video.mjs';
16
+ import '../types.mjs';
17
+ import 'axios';
@@ -0,0 +1,17 @@
1
+ export { default as findDOMNode, default as findDomNode } from './find-dom-node.js';
2
+ export { default as isVisible } from './is-visible.js';
3
+ export { default as contains } from './contains.js';
4
+ export { styleNames } from './style-names.js';
5
+ export { addClass, hasClass, removeClass } from './class.js';
6
+ export { getClientSize, getCss, getDocSize, getOffset, getOuterHeight, getOuterWidth, getScroll, setCss } from './css.js';
7
+ export { AppendType, ContainerType, Prepend, clearContainerCache, injectCSS, removeCSS, updateCSS } from './dynamic-css.js';
8
+ export { backLastFocusNode, clearLastFocusNode, getFocusNodeList, limitTabRange, saveLastFocusNode } from './focus.js';
9
+ export { isStyleSupport } from './style-checker.js';
10
+ export { animation, transition } from './support.js';
11
+ export { getMaxZIndex, getPx, setDocumentTitle } from './base.js';
12
+ export { AllowMessageType, IFrameMessageDataType, IFrameUtilConfig, iframePostHook, iframeReceiveHook, postMessage2Top } from './iframe.js';
13
+ export { getCookie, getLocalStorage, getSessionStorage } from './storage.js';
14
+ export { getScrollbarWidth } from './scrollbar.js';
15
+ export { getVideoPoster } from './video.js';
16
+ import '../types.js';
17
+ import 'axios';