@obr-fe/utils 1.0.26 → 1.2.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.
- package/README.md +1 -1
- package/dist/array-CEhD-Z_e.mjs +1 -0
- package/dist/{array.d.ts → array-CiSUhZCW.d.mts} +9 -8
- package/dist/array-okkZATKz.d.cts +99 -0
- package/dist/array-ri-t3Wsz.cjs +1 -0
- package/dist/array.cjs +1 -0
- package/dist/array.d.cts +3 -0
- package/dist/array.d.mts +3 -0
- package/dist/array.mjs +1 -1
- package/dist/base-854WVUaj.mjs +1 -0
- package/dist/base-BSg8gJZf.mjs +1 -0
- package/dist/{base.d.ts → base-BXKvmcaf.d.cts} +5 -4
- package/dist/{dom/base.d.ts → base-Ca2FN16G.d.mts} +3 -2
- package/dist/base-DSfexc9G.d.cts +25 -0
- package/dist/base-DUxrUTOr.cjs +1 -0
- package/dist/base-Dl59EolR.d.mts +193 -0
- package/dist/base-DmSU_ydZ.cjs +1 -0
- package/dist/base.cjs +1 -0
- package/dist/base.d.cts +3 -0
- package/dist/base.d.mts +3 -0
- package/dist/base.mjs +1 -1
- package/dist/can-use-dom-DiyvIP5G.mjs +1 -0
- package/dist/can-use-dom-DvmMdeGa.cjs +1 -0
- package/dist/cancel-BV5B58Lw.mjs +1 -0
- package/dist/cancel-Do0w5I5K.cjs +1 -0
- package/dist/chunk-BcXMmzxH.cjs +1 -0
- package/dist/chunk-Dbq9I6zD.mjs +1 -0
- package/dist/{dom/class.d.ts → class-Bp70Yi1y.d.cts} +3 -2
- package/dist/class-C29-Mh-o.mjs +1 -0
- package/dist/class-D5duI9ps.d.mts +27 -0
- package/dist/class-D8a8qnWA.cjs +1 -0
- package/dist/clipboard-BN1iiQLu.d.mts +4 -0
- package/dist/clipboard-C8ZiJE_h.d.cts +9 -0
- package/dist/clipboard-CJ-9sRbH.d.mts +9 -0
- package/dist/clipboard-CWQVWiTk.cjs +1 -0
- package/dist/clipboard-Ci0l5Dtt.d.cts +4 -0
- package/dist/clipboard-CjgXtqbg.mjs +1 -0
- package/dist/clipboard-DqGhq6A4.mjs +1 -0
- package/dist/clipboard-ZMrs6wzK.cjs +1 -0
- package/dist/clipboard.cjs +1 -0
- package/dist/clipboard.d.cts +2 -0
- package/dist/clipboard.d.mts +2 -0
- package/dist/clipboard.mjs +1 -1
- package/dist/constant-CskvZDUK.cjs +1 -0
- package/dist/constant-Dxt8HuVn.mjs +1 -0
- package/dist/{dom/contains.d.ts → contains-Bj-oQ7KI.d.mts} +3 -2
- package/dist/contains-BpG9RIaT.mjs +1 -0
- package/dist/contains-CYQgjY4K.cjs +1 -0
- package/dist/contains-D3q8gHUu.d.cts +11 -0
- package/dist/{dom/css.d.ts → css-5xR1zP0f.d.cts} +11 -10
- package/dist/css-DIpTZrC7.mjs +1 -0
- package/dist/css-DkmknM-7.d.mts +23 -0
- package/dist/css-WYllKaVv.cjs +1 -0
- package/dist/dayjs-00xX6Mts.d.mts +31 -0
- package/dist/dayjs-BBOQ72ow.mjs +1 -0
- package/dist/dayjs-Bvzj_rlD.cjs +1 -0
- package/dist/{dayjs.d.ts → dayjs-DgS65bx1.d.cts} +6 -5
- package/dist/dayjs.cjs +1 -0
- package/dist/dayjs.d.cts +2 -0
- package/dist/dayjs.d.mts +2 -0
- package/dist/dayjs.mjs +1 -1
- package/dist/dom/base.cjs +1 -0
- package/dist/dom/base.d.cts +2 -0
- package/dist/dom/base.d.mts +2 -0
- package/dist/dom/base.mjs +1 -1
- package/dist/dom/class.cjs +1 -0
- package/dist/dom/class.d.cts +2 -0
- package/dist/dom/class.d.mts +2 -0
- package/dist/dom/class.mjs +1 -1
- package/dist/dom/contains.cjs +1 -0
- package/dist/dom/contains.d.cts +2 -0
- package/dist/dom/contains.d.mts +2 -0
- package/dist/dom/contains.mjs +1 -1
- package/dist/dom/css.cjs +1 -0
- package/dist/dom/css.d.cts +2 -0
- package/dist/dom/css.d.mts +2 -0
- package/dist/dom/css.mjs +1 -1
- package/dist/dom/dynamic-css.cjs +1 -0
- package/dist/dom/dynamic-css.d.cts +2 -0
- package/dist/dom/dynamic-css.d.mts +2 -0
- package/dist/dom/dynamic-css.mjs +1 -1
- package/dist/dom/find-dom-node.cjs +1 -0
- package/dist/dom/find-dom-node.d.cts +2 -0
- package/dist/dom/find-dom-node.d.mts +2 -0
- package/dist/dom/find-dom-node.mjs +1 -1
- package/dist/dom/focus.cjs +1 -0
- package/dist/dom/focus.d.cts +2 -0
- package/dist/dom/focus.d.mts +2 -0
- package/dist/dom/focus.mjs +1 -1
- package/dist/dom/iframe.cjs +1 -0
- package/dist/dom/iframe.d.cts +2 -0
- package/dist/dom/iframe.d.mts +2 -0
- package/dist/dom/iframe.mjs +1 -1
- package/dist/dom/index.cjs +1 -0
- package/dist/dom/index.d.cts +18 -0
- package/dist/dom/index.d.mts +18 -0
- package/dist/dom/index.mjs +1 -1
- package/dist/dom/is-visible.cjs +1 -0
- package/dist/dom/is-visible.d.cts +2 -0
- package/dist/dom/is-visible.d.mts +2 -0
- package/dist/dom/is-visible.mjs +1 -1
- package/dist/dom/lib/can-use-dom.cjs +1 -0
- package/dist/dom/lib/can-use-dom.d.cts +3 -0
- package/dist/dom/lib/can-use-dom.d.mts +4 -0
- package/dist/dom/lib/can-use-dom.mjs +1 -1
- package/dist/dom/scrollbar.cjs +1 -0
- package/dist/dom/scrollbar.d.cts +2 -0
- package/dist/dom/scrollbar.d.mts +2 -0
- package/dist/dom/scrollbar.mjs +1 -1
- package/dist/dom/storage.cjs +1 -0
- package/dist/dom/storage.d.cts +3 -0
- package/dist/dom/storage.d.mts +3 -0
- package/dist/dom/storage.mjs +1 -1
- package/dist/dom/style-checker.cjs +1 -0
- package/dist/dom/style-checker.d.cts +2 -0
- package/dist/dom/style-checker.d.mts +2 -0
- package/dist/dom/style-checker.mjs +1 -1
- package/dist/dom/style-names.cjs +1 -0
- package/dist/dom/style-names.d.cts +2 -0
- package/dist/dom/style-names.d.mts +2 -0
- package/dist/dom/style-names.mjs +1 -1
- package/dist/dom/support.cjs +1 -0
- package/dist/dom/support.d.cts +2 -0
- package/dist/dom/support.d.mts +2 -0
- package/dist/dom/support.mjs +1 -1
- package/dist/dom/video.cjs +1 -0
- package/dist/dom/video.d.cts +2 -0
- package/dist/dom/video.d.mts +2 -0
- package/dist/dom/video.mjs +1 -1
- package/dist/dom-D2QfuVth.mjs +1 -0
- package/dist/{dom/dynamic-css.d.ts → dynamic-css-CD9eHWzL.d.mts} +9 -8
- package/dist/dynamic-css-CIw8ZtwR.d.cts +21 -0
- package/dist/dynamic-css-CP1iFszw.mjs +1 -0
- package/dist/dynamic-css-iSnm5CN6.cjs +1 -0
- package/dist/{encrypt.d.ts → encrypt-BFDBlSX_.d.cts} +3 -2
- package/dist/encrypt-CHxdyuoC.d.mts +29 -0
- package/dist/encrypt-D6oTfiTY.cjs +1 -0
- package/dist/encrypt-Z5CU2r_1.mjs +1 -0
- package/dist/encrypt.cjs +1 -0
- package/dist/encrypt.d.cts +2 -0
- package/dist/encrypt.d.mts +2 -0
- package/dist/encrypt.mjs +1 -1
- package/dist/file-B9oorXhT.cjs +1 -0
- package/dist/{file.d.ts → file-CjjpuB5u.d.cts} +6 -5
- package/dist/file-D4oBhObv.d.mts +36 -0
- package/dist/file-Dwobl-pF.mjs +1 -0
- package/dist/file-TjtumYrh.mjs +1 -0
- package/dist/file-rmcv99h0.cjs +1 -0
- package/dist/file.cjs +1 -0
- package/dist/file.d.cts +2 -0
- package/dist/file.d.mts +2 -0
- package/dist/file.mjs +1 -1
- package/dist/find-dom-node-BYO9We8P.d.mts +4 -0
- package/dist/find-dom-node-BkrYW2pm.d.cts +4 -0
- package/dist/find-dom-node-gbroqN2N.mjs +1 -0
- package/dist/find-dom-node-lY7vePVL.cjs +1 -0
- package/dist/{dom/focus.d.ts → focus-BBcVAsFx.d.cts} +3 -2
- package/dist/focus-ByNB07tt.d.mts +11 -0
- package/dist/focus-DtSCSQEr.cjs +1 -0
- package/dist/focus-REYXIBdQ.mjs +1 -0
- package/dist/format-3CsgkBWg.mjs +1 -0
- package/dist/format-CezZBld9.cjs +1 -0
- package/dist/handler-C40H2JG4.cjs +1 -0
- package/dist/handler-Dk1QWSgF.d.cts +10 -0
- package/dist/handler-N6Akxkpa.mjs +1 -0
- package/dist/handler-bsPUG7U9.d.mts +10 -0
- package/dist/iframe-ByOdqFYr.mjs +1 -0
- package/dist/{dom/iframe.d.ts → iframe-CBeiHcmx.d.mts} +16 -15
- package/dist/iframe-CR0bl22C.cjs +1 -0
- package/dist/iframe-QhpkIola.d.cts +58 -0
- package/dist/index-6bSwZ6-V.d.cts +1 -0
- package/dist/index-BYjO2-Dk.d.mts +3 -0
- package/dist/index-CLTQPxoD.d.mts +1 -0
- package/dist/index-CqciuydZ.d.cts +7 -0
- package/dist/index-Ctvuv0vV.d.cts +1 -0
- package/dist/index-D-9tW2r5.d.mts +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +43 -0
- package/dist/index.d.mts +44 -0
- package/dist/index.mjs +1 -1
- package/dist/is-visible-BXbqt6I2.mjs +1 -0
- package/dist/is-visible-BpFCb4uJ.d.mts +4 -0
- package/dist/is-visible-DT2jLmnp.d.cts +4 -0
- package/dist/is-visible-laJngqtK.cjs +1 -0
- package/dist/lodash-BrrZKPAY.d.cts +10 -0
- package/dist/lodash-DAdPs0O9.d.mts +10 -0
- package/dist/lodash-iHVEJs1z.mjs +1 -0
- package/dist/lodash-kixEH9o9.cjs +1 -0
- package/dist/lodash.cjs +1 -0
- package/dist/lodash.d.cts +2 -0
- package/dist/lodash.d.mts +2 -0
- package/dist/lodash.mjs +1 -1
- package/dist/object-C6qVmoZY.cjs +1 -0
- package/dist/{object.d.ts → object-CqyPehTh.d.cts} +5 -4
- package/dist/object-j-lK643f.mjs +1 -0
- package/dist/object-l_DvbWqN.d.mts +87 -0
- package/dist/object.cjs +1 -0
- package/dist/object.d.cts +3 -0
- package/dist/object.d.mts +3 -0
- package/dist/object.mjs +1 -1
- package/dist/other-B2ug3Xof.mjs +1 -0
- package/dist/{other.d.ts → other-BzR4DqG0.d.cts} +5 -4
- package/dist/other-H13CGzY5.d.mts +50 -0
- package/dist/other-c9ZDQ-tY.cjs +1 -0
- package/dist/other.cjs +1 -0
- package/dist/other.d.cts +3 -0
- package/dist/other.d.mts +3 -0
- package/dist/other.mjs +1 -1
- package/dist/params-CnZhAsve.cjs +1 -0
- package/dist/params-CpjttIDa.mjs +1 -0
- package/dist/parse-BpErok05.cjs +1 -0
- package/dist/parse-C1eaIjot.mjs +1 -0
- package/dist/{parse.d.ts → parse-DQMRWCdz.d.mts} +8 -7
- package/dist/parse-vp0jh8-x.d.cts +22 -0
- package/dist/parse.cjs +1 -0
- package/dist/parse.d.cts +3 -0
- package/dist/parse.d.mts +3 -0
- package/dist/parse.mjs +1 -1
- package/dist/pinyin-BE6Ew65z.cjs +1 -0
- package/dist/{pinyin.d.ts → pinyin-C2BqrFMq.d.mts} +5 -3
- package/dist/pinyin-D11MW4u2.mjs +1 -0
- package/dist/pinyin-Di92101W.d.cts +20 -0
- package/dist/pinyin.cjs +1 -0
- package/dist/pinyin.d.cts +2 -0
- package/dist/pinyin.d.mts +2 -0
- package/dist/pinyin.mjs +1 -1
- package/dist/request/constant.cjs +1 -0
- package/dist/request/{constant.d.ts → constant.d.cts} +4 -4
- package/dist/request/constant.d.mts +9 -0
- package/dist/request/constant.mjs +1 -1
- package/dist/request/handler.cjs +1 -0
- package/dist/request/handler.d.cts +3 -0
- package/dist/request/handler.d.mts +3 -0
- package/dist/request/handler.mjs +1 -1
- package/dist/request/index.cjs +1 -0
- package/dist/request/index.d.cts +6 -0
- package/dist/request/index.d.mts +6 -0
- package/dist/request/index.mjs +1 -1
- package/dist/request/request.cjs +1 -0
- package/dist/request/request.d.cts +3 -0
- package/dist/request/request.d.mts +3 -0
- package/dist/request/request.mjs +1 -1
- package/dist/request/utils/cancel.cjs +1 -0
- package/dist/request/utils/{cancel.d.ts → cancel.d.cts} +4 -4
- package/dist/request/utils/cancel.d.mts +23 -0
- package/dist/request/utils/cancel.mjs +1 -1
- package/dist/request/utils/file.cjs +1 -0
- package/dist/request/utils/file.d.cts +6 -0
- package/dist/request/utils/file.d.mts +6 -0
- package/dist/request/utils/file.mjs +1 -1
- package/dist/request/utils/format.cjs +1 -0
- package/dist/request/utils/{format.d.ts → format.d.cts} +4 -4
- package/dist/request/utils/format.d.mts +13 -0
- package/dist/request/utils/format.mjs +1 -1
- package/dist/request/utils/params.cjs +1 -0
- package/dist/request/utils/params.d.cts +6 -0
- package/dist/request/utils/params.d.mts +6 -0
- package/dist/request/utils/params.mjs +1 -1
- package/dist/request-BG5UIh9R.mjs +1 -0
- package/dist/request-C8gChBjl.d.cts +99 -0
- package/dist/request-Cbv8Ih3e.cjs +1 -0
- package/dist/request-CcQHJNao.cjs +1 -0
- package/dist/request-CmsAe99W.mjs +1 -0
- package/dist/request-DGUcKxsQ.d.mts +99 -0
- package/dist/{safe-next-tick.d.ts → safe-next-tick-1ezZPIPs.d.cts} +5 -4
- package/dist/safe-next-tick-Cc30ZlUX.mjs +1 -0
- package/dist/safe-next-tick-DlJsO1Ha.d.mts +10 -0
- package/dist/safe-next-tick-DphyaFY6.cjs +1 -0
- package/dist/safe-next-tick.cjs +1 -0
- package/dist/safe-next-tick.d.cts +2 -0
- package/dist/safe-next-tick.d.mts +2 -0
- package/dist/safe-next-tick.mjs +1 -1
- package/dist/{dom/scrollbar.d.ts → scrollbar-07jqhpVk.d.cts} +3 -2
- package/dist/scrollbar-2zQwgB3N.cjs +1 -0
- package/dist/scrollbar-B0PNF6i2.d.mts +9 -0
- package/dist/scrollbar-BsVSwcz1.mjs +1 -0
- package/dist/storage-CVE8yo6N.mjs +1 -0
- package/dist/storage-ClTxbIcP.cjs +1 -0
- package/dist/{dom/storage.d.ts → storage-DicI9wsP.d.cts} +5 -4
- package/dist/storage-HTBNfA8Q.d.mts +21 -0
- package/dist/style-checker-066o7h7_.mjs +1 -0
- package/dist/{dom/style-checker.d.ts → style-checker-B5wzcdHi.d.mts} +3 -2
- package/dist/style-checker-CpyAZJew.d.cts +5 -0
- package/dist/style-checker-DAxS0NyJ.cjs +1 -0
- package/dist/style-names-CYvxRARD.cjs +1 -0
- package/dist/{dom/style-names.d.ts → style-names-ClFu2pk1.d.cts} +3 -2
- package/dist/style-names-DDdz6-7S.d.mts +4 -0
- package/dist/style-names-cEIIM3cL.mjs +1 -0
- package/dist/support-BKRoxgNc.d.mts +9 -0
- package/dist/support-BZYJpIOE.cjs +1 -0
- package/dist/support-jAYY4GwL.d.cts +9 -0
- package/dist/support-wu9hh5gZ.mjs +1 -0
- package/dist/{vue/type-util.d.ts → type-util-BRGMhQFp.d.cts} +22 -21
- package/dist/type-util-BdSpgYN3.d.mts +48 -0
- package/dist/type-util-HyvLYA2w.cjs +1 -0
- package/dist/type-util-Qle7ht7X.mjs +1 -0
- package/dist/types-BEdiy6mb.d.mts +208 -0
- package/dist/types-Bs46AtMe.mjs +1 -0
- package/dist/types-DTtPjrm8.d.cts +208 -0
- package/dist/types.cjs +1 -0
- package/dist/types.d.cts +2 -0
- package/dist/types.d.mts +2 -0
- package/dist/types.mjs +1 -1
- package/dist/video-BDLauzJm.cjs +1 -0
- package/dist/{dom/video.d.ts → video-Bp6NaeX6.d.cts} +3 -2
- package/dist/video-C_sYI0Ht.d.mts +10 -0
- package/dist/video-CtkByFxt.mjs +1 -0
- package/dist/vue/hooks/clipboard.cjs +1 -0
- package/dist/vue/hooks/clipboard.d.cts +2 -0
- package/dist/vue/hooks/clipboard.d.mts +2 -0
- package/dist/vue/hooks/clipboard.mjs +1 -1
- package/dist/vue/index.cjs +1 -0
- package/dist/vue/index.d.cts +4 -0
- package/dist/vue/index.d.mts +4 -0
- package/dist/vue/index.mjs +1 -1
- package/dist/vue/type-util.cjs +1 -0
- package/dist/vue/type-util.d.cts +2 -0
- package/dist/vue/type-util.d.mts +2 -0
- package/dist/vue/type-util.mjs +1 -1
- package/dist/vue-Q8n_JN-R.mjs +1 -0
- package/package.json +6 -6
- package/dist/array.js +0 -1
- package/dist/base.js +0 -1
- package/dist/chunk-3EVCK72A.mjs +0 -1
- package/dist/chunk-44EYU7QJ.mjs +0 -1
- package/dist/chunk-4JPCGRPU.mjs +0 -1
- package/dist/chunk-6DX7ZFGR.mjs +0 -1
- package/dist/chunk-7FGMUEZA.mjs +0 -1
- package/dist/chunk-7YMDSJIW.mjs +0 -1
- package/dist/chunk-A25LR755.mjs +0 -1
- package/dist/chunk-A5BXGBYT.mjs +0 -1
- package/dist/chunk-AMTPTGPU.mjs +0 -1
- package/dist/chunk-BEM6E7R7.mjs +0 -1
- package/dist/chunk-BPXO4V4X.mjs +0 -1
- package/dist/chunk-CTKIL4BL.mjs +0 -1
- package/dist/chunk-DDHFJKTT.mjs +0 -1
- package/dist/chunk-DKKF6DRJ.mjs +0 -1
- package/dist/chunk-DVMX6FDA.mjs +0 -1
- package/dist/chunk-E4SEMOGO.mjs +0 -1
- package/dist/chunk-EUDEMS67.mjs +0 -1
- package/dist/chunk-G6NAYP42.mjs +0 -1
- package/dist/chunk-GS4ARDQV.mjs +0 -1
- package/dist/chunk-HOXWKSQ2.mjs +0 -1
- package/dist/chunk-HZMHGGXU.mjs +0 -1
- package/dist/chunk-INFFTHYR.mjs +0 -1
- package/dist/chunk-IZHCWZIN.mjs +0 -1
- package/dist/chunk-KGXCJWE5.mjs +0 -1
- package/dist/chunk-LPLK3ZT5.mjs +0 -1
- package/dist/chunk-MQBXN7R5.mjs +0 -1
- package/dist/chunk-MUHFPVB3.mjs +0 -1
- package/dist/chunk-MUUIQW2M.mjs +0 -1
- package/dist/chunk-NX2HGAYK.mjs +0 -1
- package/dist/chunk-PE3DNHCL.mjs +0 -1
- package/dist/chunk-PK5CYIDE.mjs +0 -1
- package/dist/chunk-SAXMBV46.mjs +0 -1
- package/dist/chunk-TQ5GXPYB.mjs +0 -1
- package/dist/chunk-UVMLBW6A.mjs +0 -1
- package/dist/chunk-VYAKT4FB.mjs +0 -1
- package/dist/chunk-WN7L4HYY.mjs +0 -1
- package/dist/chunk-X7TUTCBW.mjs +0 -1
- package/dist/chunk-YA66RVVU.mjs +0 -1
- package/dist/clipboard.d.ts +0 -3
- package/dist/clipboard.js +0 -1
- package/dist/dayjs.js +0 -1
- package/dist/dom/base.js +0 -1
- package/dist/dom/class.js +0 -1
- package/dist/dom/contains.js +0 -1
- package/dist/dom/css.js +0 -1
- package/dist/dom/dynamic-css.js +0 -1
- package/dist/dom/find-dom-node.d.ts +0 -3
- package/dist/dom/find-dom-node.js +0 -1
- package/dist/dom/focus.js +0 -1
- package/dist/dom/iframe.js +0 -1
- package/dist/dom/index.d.ts +0 -17
- package/dist/dom/index.js +0 -1
- package/dist/dom/is-visible.d.ts +0 -3
- package/dist/dom/is-visible.js +0 -1
- package/dist/dom/lib/can-use-dom.d.ts +0 -3
- package/dist/dom/lib/can-use-dom.js +0 -1
- package/dist/dom/scrollbar.js +0 -1
- package/dist/dom/storage.js +0 -1
- package/dist/dom/style-checker.js +0 -1
- package/dist/dom/style-names.js +0 -1
- package/dist/dom/support.d.ts +0 -8
- package/dist/dom/support.js +0 -1
- package/dist/dom/video.js +0 -1
- package/dist/encrypt.js +0 -1
- package/dist/file.js +0 -1
- package/dist/index.d.ts +0 -44
- package/dist/index.js +0 -1
- package/dist/lodash.d.ts +0 -9
- package/dist/lodash.js +0 -1
- package/dist/object.js +0 -1
- package/dist/other.js +0 -1
- package/dist/parse.js +0 -1
- package/dist/pinyin.js +0 -1
- package/dist/request/constant.js +0 -1
- package/dist/request/handler.d.ts +0 -10
- package/dist/request/handler.js +0 -1
- package/dist/request/index.d.ts +0 -4
- package/dist/request/index.js +0 -1
- package/dist/request/request.d.ts +0 -99
- package/dist/request/request.js +0 -1
- package/dist/request/utils/cancel.js +0 -1
- package/dist/request/utils/file.d.ts +0 -6
- package/dist/request/utils/file.js +0 -1
- package/dist/request/utils/format.js +0 -1
- package/dist/request/utils/params.d.ts +0 -6
- package/dist/request/utils/params.js +0 -1
- package/dist/safe-next-tick.js +0 -1
- package/dist/types.d.ts +0 -207
- package/dist/types.js +0 -1
- package/dist/vue/hooks/clipboard.d.ts +0 -8
- package/dist/vue/hooks/clipboard.js +0 -1
- package/dist/vue/index.d.ts +0 -3
- package/dist/vue/index.js +0 -1
- package/dist/vue/type-util.js +0 -1
- /package/dist/{chunk-G27KRYT2.mjs → dom-DzrnEGri.cjs} +0 -0
- /package/dist/{chunk-PM3H3ISM.mjs → types-DAFnYo8a.cjs} +0 -0
- /package/dist/{chunk-WBQAMGXK.mjs → vue-CGBzFhF4.cjs} +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
//#region src/dom/contains.d.ts
|
|
1
2
|
/**
|
|
2
3
|
* @description: 是否包含节点
|
|
3
4
|
* @param {Node} root
|
|
@@ -6,5 +7,5 @@
|
|
|
6
7
|
* @autor: 刘 相卿
|
|
7
8
|
*/
|
|
8
9
|
declare function contains(root: Node | null | undefined, n?: Node): boolean;
|
|
9
|
-
|
|
10
|
-
export { contains as
|
|
10
|
+
//#endregion
|
|
11
|
+
export { contains as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,t){if(!e)return!1;if(e.contains)return e.contains(t);let n=t;for(;n;){if(n===e)return!0;n=n.parentNode}return!1}export{e as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,t){if(!e)return!1;if(e.contains)return e.contains(t);let n=t;for(;n;){if(n===e)return!0;n=n.parentNode}return!1}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return e}});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/dom/contains.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* @description: 是否包含节点
|
|
4
|
+
* @param {Node} root
|
|
5
|
+
* @param {Node} n
|
|
6
|
+
* @return {*}
|
|
7
|
+
* @autor: 刘 相卿
|
|
8
|
+
*/
|
|
9
|
+
declare function contains(root: Node | null | undefined, n?: Node): boolean;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { contains as t };
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
+
//#region src/dom/css.d.ts
|
|
1
2
|
declare function getCss(node: any, name: any): any;
|
|
2
3
|
declare function setCss(node: any, name: any, value: any): any;
|
|
3
4
|
declare function getOuterWidth(el: any): any;
|
|
4
5
|
declare function getOuterHeight(el: HTMLElement): number;
|
|
5
6
|
declare function getDocSize(): {
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
8
9
|
};
|
|
9
10
|
declare function getClientSize(): {
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
width: number;
|
|
12
|
+
height: number;
|
|
12
13
|
};
|
|
13
14
|
declare function getScroll(): {
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
scrollLeft: number;
|
|
16
|
+
scrollTop: number;
|
|
16
17
|
};
|
|
17
18
|
declare function getOffset(node: HTMLElement): {
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
left: number;
|
|
20
|
+
top: number;
|
|
20
21
|
};
|
|
21
|
-
|
|
22
|
-
export {
|
|
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 };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=/margin|padding|width|height|max|min|offset/,t={left:!0,top:!0},n={cssFloat:1,styleFloat:1,float:1};function r(e){return e.nodeType===1?e.ownerDocument.defaultView.getComputedStyle(e,null):{}}function i(n,r,i){if(r=r.toLowerCase(),i===`auto`){if(r===`height`)return n.offsetHeight;if(r===`width`)return n.offsetWidth}return r in t||(t[r]=e.test(r)),t[r]?Number.parseFloat(i)||0:i}function a(e,t){let a=arguments.length,o=r(e);return t=n[t]?`cssFloat`in e.style?`cssFloat`:`styleFloat`:t,a===1?o:i(e,t,o[t]||e.style[t])}function o(t,i,a){let s=arguments.length;if(i=n[i]?`cssFloat`in t.style?`cssFloat`:`styleFloat`:i,s===3)return typeof a==`number`&&e.test(i)&&(a=`${a}px`),t.style[i]=a,a;for(let e in i)i.hasOwnProperty(e)&&o(t,e,i[e]);return r(t)}function s(e){return e===document.body?document.documentElement.clientWidth:e.offsetWidth}function c(e){return e===document.body?window.innerHeight||document.documentElement.clientHeight:e.offsetHeight}function l(){return{width:Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),height:Math.max(document.documentElement.scrollHeight,document.body.scrollHeight)}}function u(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}function d(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function f(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)}}export{c as a,o as c,f as i,a as n,s as o,l as r,d as s,u as t};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
//#region src/dom/css.d.ts
|
|
2
|
+
declare function getCss(node: any, name: any): any;
|
|
3
|
+
declare function setCss(node: any, name: any, value: any): any;
|
|
4
|
+
declare function getOuterWidth(el: any): any;
|
|
5
|
+
declare function getOuterHeight(el: HTMLElement): number;
|
|
6
|
+
declare function getDocSize(): {
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
};
|
|
10
|
+
declare function getClientSize(): {
|
|
11
|
+
width: number;
|
|
12
|
+
height: number;
|
|
13
|
+
};
|
|
14
|
+
declare function getScroll(): {
|
|
15
|
+
scrollLeft: number;
|
|
16
|
+
scrollTop: number;
|
|
17
|
+
};
|
|
18
|
+
declare function getOffset(node: HTMLElement): {
|
|
19
|
+
left: number;
|
|
20
|
+
top: number;
|
|
21
|
+
};
|
|
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 };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=/margin|padding|width|height|max|min|offset/,t={left:!0,top:!0},n={cssFloat:1,styleFloat:1,float:1};function r(e){return e.nodeType===1?e.ownerDocument.defaultView.getComputedStyle(e,null):{}}function i(n,r,i){if(r=r.toLowerCase(),i===`auto`){if(r===`height`)return n.offsetHeight;if(r===`width`)return n.offsetWidth}return r in t||(t[r]=e.test(r)),t[r]?Number.parseFloat(i)||0:i}function a(e,t){let a=arguments.length,o=r(e);return t=n[t]?`cssFloat`in e.style?`cssFloat`:`styleFloat`:t,a===1?o:i(e,t,o[t]||e.style[t])}function o(t,i,a){let s=arguments.length;if(i=n[i]?`cssFloat`in t.style?`cssFloat`:`styleFloat`:i,s===3)return typeof a==`number`&&e.test(i)&&(a=`${a}px`),t.style[i]=a,a;for(let e in i)i.hasOwnProperty(e)&&o(t,e,i[e]);return r(t)}function s(e){return e===document.body?document.documentElement.clientWidth:e.offsetWidth}function c(e){return e===document.body?window.innerHeight||document.documentElement.clientHeight:e.offsetHeight}function l(){return{width:Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),height:Math.max(document.documentElement.scrollHeight,document.body.scrollHeight)}}function u(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}function d(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function f(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)}}Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`c`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return u}});
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import dayjs, { Dayjs } from "dayjs";
|
|
2
|
+
import "dayjs/locale/zh-cn";
|
|
3
|
+
import "dayjs/locale/en";
|
|
4
|
+
|
|
5
|
+
//#region src/dayjs.d.ts
|
|
6
|
+
type DateType = 'year' | 'month' | 'date' | 'week';
|
|
7
|
+
/**
|
|
8
|
+
* @description: 区间选择格式化
|
|
9
|
+
* @param {dayjs} value
|
|
10
|
+
* @param {DateType} formatType
|
|
11
|
+
* @param {string} format
|
|
12
|
+
* @return {*}
|
|
13
|
+
* @autor: 刘 相卿
|
|
14
|
+
*/
|
|
15
|
+
declare function dateRangeFormatter(value: dayjs.ConfigType[], formatType?: DateType, format?: string): unknown[];
|
|
16
|
+
/**
|
|
17
|
+
* @description: 设置语言
|
|
18
|
+
* @param {*} locale
|
|
19
|
+
* @return {*}
|
|
20
|
+
* @autor: 刘 相卿
|
|
21
|
+
*/
|
|
22
|
+
declare function setLocale(locale?: 'zh-cn' | 'en'): void;
|
|
23
|
+
/**
|
|
24
|
+
* @description: 动态注册dayjs组件
|
|
25
|
+
* @param {string} pluginName
|
|
26
|
+
* @return {*}
|
|
27
|
+
* @autor: 刘 相卿
|
|
28
|
+
*/
|
|
29
|
+
declare function registryDayjsPlugin(pluginName: string[]): Promise<void>;
|
|
30
|
+
//#endregion
|
|
31
|
+
export { registryDayjsPlugin as a, dayjs as i, Dayjs as n, setLocale as o, dateRangeFormatter as r, DateType as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as e,i as t}from"./base-854WVUaj.mjs";import n from"dayjs";import"dayjs/locale/zh-cn";import"dayjs/locale/en";function r(e){let t=[`YYYY`,`MM`,`DD`,`HH`,`mm`,`ss`],n=e.replace(/[^a-z\s]/gi,``).split(``),r=t.filter(e=>n.some(t=>e.includes(t)));return(r.length>0?r[r.length-1]:`s`)[0]||`s`}function i(i,a=`date`,o=`YYYY-MM-DD`){if(t(i)&&i.some(t=>e(t)))return i;let[s,c]=i;if(a!==`date`)return[n(s).startOf(a).format(`YYYY-MM-DD HH:mm:ss`),n(c).endOf(a).format(`YYYY-MM-DD HH:mm:ss`)];let l=r(o||`YYYY-MM-DD`);return[n(s).startOf(l).format(`YYYY-MM-DD HH:mm:ss`),n(c).endOf(l).format(`YYYY-MM-DD HH:mm:ss`)]}function a(e=`zh-cn`){n.locale(e)}async function o(e){let t=e.map(e=>()=>import(`dayjs/plugin/${e}`));for(let e of t)try{let t=await e();n.extend(t)}catch(e){console.error(`[registryDayjsPlugin]dayjs组件注册失败:`,e)}}export{a as i,n,o as r,i as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-BcXMmzxH.cjs`),t=require(`./base-DUxrUTOr.cjs`);let n=require(`dayjs`);n=e.r(n),require(`dayjs/locale/zh-cn`),require(`dayjs/locale/en`);function r(e){let t=[`YYYY`,`MM`,`DD`,`HH`,`mm`,`ss`],n=e.replace(/[^a-z\s]/gi,``).split(``),r=t.filter(e=>n.some(t=>e.includes(t)));return(r.length>0?r[r.length-1]:`s`)[0]||`s`}function i(e,i=`date`,a=`YYYY-MM-DD`){if(t.i(e)&&e.some(e=>t.f(e)))return e;let[o,s]=e;if(i!==`date`)return[(0,n.default)(o).startOf(i).format(`YYYY-MM-DD HH:mm:ss`),(0,n.default)(s).endOf(i).format(`YYYY-MM-DD HH:mm:ss`)];let c=r(a||`YYYY-MM-DD`);return[(0,n.default)(o).startOf(c).format(`YYYY-MM-DD HH:mm:ss`),(0,n.default)(s).endOf(c).format(`YYYY-MM-DD HH:mm:ss`)]}function a(e=`zh-cn`){n.default.locale(e)}async function o(e){let t=e.map(e=>()=>import(`dayjs/plugin/${e}`));for(let e of t)try{let t=await e();n.default.extend(t)}catch(e){console.error(`[registryDayjsPlugin]dayjs组件注册失败:`,e)}}Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return i}});
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import dayjs from
|
|
2
|
-
|
|
1
|
+
import dayjs, { Dayjs } from "dayjs";
|
|
2
|
+
|
|
3
|
+
//#region src/dayjs.d.ts
|
|
3
4
|
|
|
4
5
|
type DateType = 'year' | 'month' | 'date' | 'week';
|
|
5
6
|
/**
|
|
@@ -10,7 +11,7 @@ type DateType = 'year' | 'month' | 'date' | 'week';
|
|
|
10
11
|
* @return {*}
|
|
11
12
|
* @autor: 刘 相卿
|
|
12
13
|
*/
|
|
13
|
-
declare function dateRangeFormatter(value: dayjs.ConfigType[], formatType?: DateType, format?: string):
|
|
14
|
+
declare function dateRangeFormatter(value: dayjs.ConfigType[], formatType?: DateType, format?: string): unknown[];
|
|
14
15
|
/**
|
|
15
16
|
* @description: 设置语言
|
|
16
17
|
* @param {*} locale
|
|
@@ -25,5 +26,5 @@ declare function setLocale(locale?: 'zh-cn' | 'en'): void;
|
|
|
25
26
|
* @autor: 刘 相卿
|
|
26
27
|
*/
|
|
27
28
|
declare function registryDayjsPlugin(pluginName: string[]): Promise<void>;
|
|
28
|
-
|
|
29
|
-
export {
|
|
29
|
+
//#endregion
|
|
30
|
+
export { registryDayjsPlugin as a, dayjs as i, Dayjs as n, setLocale as o, dateRangeFormatter as r, DateType as t };
|
package/dist/dayjs.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-BcXMmzxH.cjs`);require(`./base-DUxrUTOr.cjs`);const t=require(`./dayjs-Bvzj_rlD.cjs`);let n=require(`dayjs`);exports.dateRangeFormatter=t.t,exports.dayjs=n.default,exports.registryDayjsPlugin=t.n,exports.setLocale=t.r;
|
package/dist/dayjs.d.cts
ADDED
package/dist/dayjs.d.mts
ADDED
package/dist/dayjs.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`../base-DmSU_ydZ.cjs`);exports.getMaxZIndex=e.t,exports.getPx=e.n,exports.setDocumentTitle=e.r;
|
package/dist/dom/base.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`../class-D8a8qnWA.cjs`);exports.addClass=e.t,exports.hasClass=e.n,exports.removeClass=e.r;
|
package/dist/dom/class.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`../contains-CYQgjY4K.cjs`);module.exports=e.t;
|
package/dist/dom/contains.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{t as e}from"../contains-BpG9RIaT.mjs";export{e as default};
|
package/dist/dom/css.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`../css-WYllKaVv.cjs`);exports.getClientSize=e.t,exports.getCss=e.n,exports.getDocSize=e.r,exports.getOffset=e.i,exports.getOuterHeight=e.a,exports.getOuterWidth=e.o,exports.getScroll=e.s,exports.setCss=e.c;
|
|
@@ -0,0 +1,2 @@
|
|
|
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-5xR1zP0f.cjs";
|
|
2
|
+
export { getClientSize, getCss, getDocSize, getOffset, getOuterHeight, getOuterWidth, getScroll, setCss };
|
|
@@ -0,0 +1,2 @@
|
|
|
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 };
|
package/dist/dom/css.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,
|
|
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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`../contains-CYQgjY4K.cjs`),require(`../can-use-dom-DvmMdeGa.cjs`);const e=require(`../dynamic-css-iSnm5CN6.cjs`);exports.clearContainerCache=e.t,exports.injectCSS=e.n,exports.removeCSS=e.r,exports.updateCSS=e.i;
|
package/dist/dom/dynamic-css.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`../find-dom-node-lY7vePVL.cjs`);module.exports=e.t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{t as e}from"../find-dom-node-gbroqN2N.mjs";export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`../is-visible-laJngqtK.cjs`);const e=require(`../focus-DtSCSQEr.cjs`);exports.backLastFocusNode=e.t,exports.clearLastFocusNode=e.n,exports.getFocusNodeList=e.r,exports.limitTabRange=e.i,exports.saveLastFocusNode=e.a;
|
package/dist/dom/focus.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,
|
|
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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`../base-DUxrUTOr.cjs`),require(`../lodash-kixEH9o9.cjs`),require(`../storage-ClTxbIcP.cjs`);const e=require(`../iframe-CR0bl22C.cjs`);exports.iframePostHook=e.t,exports.iframeReceiveHook=e.n,exports.postMessage2Top=e.r;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as iframeReceiveHook, i as iframePostHook, n as IFrameMessageDataType, o as postMessage2Top, r as IFrameUtilConfig, t as AllowMessageType } from "../iframe-QhpkIola.cjs";
|
|
2
|
+
export { AllowMessageType, IFrameMessageDataType, IFrameUtilConfig, iframePostHook, iframeReceiveHook, postMessage2Top };
|
|
@@ -0,0 +1,2 @@
|
|
|
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 };
|
package/dist/dom/iframe.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`../base-DUxrUTOr.cjs`),require(`../lodash-kixEH9o9.cjs`);const e=require(`../find-dom-node-lY7vePVL.cjs`),t=require(`../is-visible-laJngqtK.cjs`),n=require(`../contains-CYQgjY4K.cjs`),r=require(`../style-names-CYvxRARD.cjs`),i=require(`../class-D8a8qnWA.cjs`),a=require(`../css-WYllKaVv.cjs`);require(`../can-use-dom-DvmMdeGa.cjs`);const o=require(`../dynamic-css-iSnm5CN6.cjs`),s=require(`../focus-DtSCSQEr.cjs`),c=require(`../style-checker-DAxS0NyJ.cjs`),l=require(`../support-BZYJpIOE.cjs`),u=require(`../base-DmSU_ydZ.cjs`),d=require(`../storage-ClTxbIcP.cjs`),f=require(`../iframe-CR0bl22C.cjs`),p=require(`../scrollbar-2zQwgB3N.cjs`),m=require(`../video-BDLauzJm.cjs`);require(`../dom-DzrnEGri.cjs`),exports.addClass=i.t,exports.animation=l.t,exports.backLastFocusNode=s.t,exports.clearContainerCache=o.t,exports.clearLastFocusNode=s.n,exports.contains=n.t,exports.findDOMNode=e.t,exports.findDomNode=e.t,exports.getClientSize=a.t,exports.getCookie=d.t,exports.getCss=a.n,exports.getDocSize=a.r,exports.getFocusNodeList=s.r,exports.getLocalStorage=d.n,exports.getMaxZIndex=u.t,exports.getOffset=a.i,exports.getOuterHeight=a.a,exports.getOuterWidth=a.o,exports.getPx=u.n,exports.getScroll=a.s,exports.getScrollbarWidth=p.t,exports.getSessionStorage=d.r,exports.getVideoPoster=m.t,exports.hasClass=i.n,exports.iframePostHook=f.t,exports.iframeReceiveHook=f.n,exports.injectCSS=o.n,exports.isStyleSupport=c.t,exports.isVisible=t.t,exports.limitTabRange=s.i,exports.postMessage2Top=f.r,exports.removeCSS=o.r,exports.removeClass=i.r,exports.saveLastFocusNode=s.a,exports.setCss=a.c,exports.setDocumentTitle=u.r,exports.styleNames=r.t,exports.transition=l.n,exports.updateCSS=o.i;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import "../types-DTtPjrm8.cjs";
|
|
2
|
+
import { n as getPx, r as setDocumentTitle, t as getMaxZIndex } from "../base-DSfexc9G.cjs";
|
|
3
|
+
import { n as hasClass, r as removeClass, t as addClass } from "../class-Bp70Yi1y.cjs";
|
|
4
|
+
import { t as contains } from "../contains-D3q8gHUu.cjs";
|
|
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-5xR1zP0f.cjs";
|
|
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-CIw8ZtwR.cjs";
|
|
7
|
+
import { t as findDOMNode } from "../find-dom-node-BkrYW2pm.cjs";
|
|
8
|
+
import { a as saveLastFocusNode, i as limitTabRange, n as clearLastFocusNode, r as getFocusNodeList, t as backLastFocusNode } from "../focus-BBcVAsFx.cjs";
|
|
9
|
+
import { a as iframeReceiveHook, i as iframePostHook, n as IFrameMessageDataType, o as postMessage2Top, r as IFrameUtilConfig, t as AllowMessageType } from "../iframe-QhpkIola.cjs";
|
|
10
|
+
import { t as _default } from "../is-visible-DT2jLmnp.cjs";
|
|
11
|
+
import { t as styleNames } from "../style-names-ClFu2pk1.cjs";
|
|
12
|
+
import { t as isStyleSupport } from "../style-checker-CpyAZJew.cjs";
|
|
13
|
+
import { n as transition, t as animation } from "../support-jAYY4GwL.cjs";
|
|
14
|
+
import { n as getLocalStorage, r as getSessionStorage, t as getCookie } from "../storage-DicI9wsP.cjs";
|
|
15
|
+
import { t as getScrollbarWidth } from "../scrollbar-07jqhpVk.cjs";
|
|
16
|
+
import { t as getVideoPoster } from "../video-Bp6NaeX6.cjs";
|
|
17
|
+
import "../index-6bSwZ6-V.cjs";
|
|
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 };
|
|
@@ -0,0 +1,18 @@
|
|
|
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 };
|
package/dist/dom/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../
|
|
1
|
+
import"../base-854WVUaj.mjs";import"../lodash-iHVEJs1z.mjs";import{t as e}from"../find-dom-node-gbroqN2N.mjs";import{t}from"../is-visible-BXbqt6I2.mjs";import{t as n}from"../contains-BpG9RIaT.mjs";import{t as r}from"../style-names-cEIIM3cL.mjs";import{n as i,r as a,t as o}from"../class-C29-Mh-o.mjs";import{a as s,c,i as l,n as u,o as d,r as f,s as p,t as m}from"../css-DIpTZrC7.mjs";import"../can-use-dom-DiyvIP5G.mjs";import{i as h,n as g,r as _,t as v}from"../dynamic-css-CP1iFszw.mjs";import{a as y,i as b,n as x,r as S,t as C}from"../focus-REYXIBdQ.mjs";import{t as w}from"../style-checker-066o7h7_.mjs";import{n as T,t as E}from"../support-wu9hh5gZ.mjs";import{n as D,r as O,t as k}from"../base-BSg8gJZf.mjs";import{n as A,r as j,t as M}from"../storage-CVE8yo6N.mjs";import{n as N,r as P,t as F}from"../iframe-ByOdqFYr.mjs";import{t as I}from"../scrollbar-BsVSwcz1.mjs";import{t as L}from"../video-CtkByFxt.mjs";import"../dom-D2QfuVth.mjs";export{o as addClass,E as animation,C as backLastFocusNode,v as clearContainerCache,x as clearLastFocusNode,n as contains,e as findDOMNode,e as findDomNode,m as getClientSize,M as getCookie,u as getCss,f as getDocSize,S as getFocusNodeList,A as getLocalStorage,k as getMaxZIndex,l as getOffset,s as getOuterHeight,d as getOuterWidth,D as getPx,p as getScroll,I as getScrollbarWidth,j as getSessionStorage,L as getVideoPoster,i as hasClass,F as iframePostHook,N as iframeReceiveHook,g as injectCSS,w as isStyleSupport,t as isVisible,b as limitTabRange,P as postMessage2Top,_ as removeCSS,a as removeClass,y as saveLastFocusNode,c as setCss,O as setDocumentTitle,r as styleNames,T as transition,h as updateCSS};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`../is-visible-laJngqtK.cjs`);module.exports=e.t;
|
package/dist/dom/is-visible.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{t as e}from"../is-visible-BXbqt6I2.mjs";export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`../../can-use-dom-DvmMdeGa.cjs`);module.exports=e.t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{t as e}from"../../can-use-dom-DiyvIP5G.mjs";export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`../scrollbar-2zQwgB3N.cjs`);exports.getScrollbarWidth=e.t;
|
package/dist/dom/scrollbar.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{t as e}from"../scrollbar-BsVSwcz1.mjs";export{e as getScrollbarWidth};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`../storage-ClTxbIcP.cjs`);exports.getCookie=e.t,exports.getLocalStorage=e.n,exports.getSessionStorage=e.r;
|
package/dist/dom/storage.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{n as e,r as t,t as n}from"../storage-CVE8yo6N.mjs";export{n as getCookie,e as getLocalStorage,t as getSessionStorage};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`../can-use-dom-DvmMdeGa.cjs`);const e=require(`../style-checker-DAxS0NyJ.cjs`);exports.isStyleSupport=e.t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import"../can-use-dom-DiyvIP5G.mjs";import{t as e}from"../style-checker-066o7h7_.mjs";export{e as isStyleSupport};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`../base-DUxrUTOr.cjs`);const e=require(`../style-names-CYvxRARD.cjs`);exports.styleNames=e.t;
|
package/dist/dom/style-names.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import"../base-854WVUaj.mjs";import{t as e}from"../style-names-cEIIM3cL.mjs";export{e as styleNames};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`../can-use-dom-DvmMdeGa.cjs`);const e=require(`../support-BZYJpIOE.cjs`);exports.animation=e.t,exports.transition=e.n;
|
package/dist/dom/support.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import"../can-use-dom-DiyvIP5G.mjs";import{n as e,t}from"../support-wu9hh5gZ.mjs";export{t as animation,e as transition};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`../video-BDLauzJm.cjs`);exports.getVideoPoster=e.t;
|
package/dist/dom/video.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{t as e}from"../video-CtkByFxt.mjs";export{e as getVideoPoster};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
//#region src/dom/dynamic-css.d.ts
|
|
1
2
|
type ContainerType = Element | ShadowRoot;
|
|
2
3
|
type Prepend = boolean | 'queue';
|
|
3
4
|
type AppendType = 'prependQueue' | 'append' | 'prepend';
|
|
4
5
|
interface Options {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
attachTo?: ContainerType;
|
|
7
|
+
csp?: {
|
|
8
|
+
nonce?: string;
|
|
9
|
+
};
|
|
10
|
+
prepend?: Prepend;
|
|
11
|
+
mark?: string;
|
|
11
12
|
}
|
|
12
13
|
declare function injectCSS(css: string, option?: Options): HTMLStyleElement | null;
|
|
13
14
|
declare function removeCSS(key: string, option?: Options): void;
|
|
@@ -16,5 +17,5 @@ declare function removeCSS(key: string, option?: Options): void;
|
|
|
16
17
|
*/
|
|
17
18
|
declare function clearContainerCache(): void;
|
|
18
19
|
declare function updateCSS(css: string, key: string, option?: Options): any;
|
|
19
|
-
|
|
20
|
-
export {
|
|
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 };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
//#region src/dom/dynamic-css.d.ts
|
|
2
|
+
type ContainerType = Element | ShadowRoot;
|
|
3
|
+
type Prepend = boolean | 'queue';
|
|
4
|
+
type AppendType = 'prependQueue' | 'append' | 'prepend';
|
|
5
|
+
interface Options {
|
|
6
|
+
attachTo?: ContainerType;
|
|
7
|
+
csp?: {
|
|
8
|
+
nonce?: string;
|
|
9
|
+
};
|
|
10
|
+
prepend?: Prepend;
|
|
11
|
+
mark?: string;
|
|
12
|
+
}
|
|
13
|
+
declare function injectCSS(css: string, option?: Options): HTMLStyleElement | null;
|
|
14
|
+
declare function removeCSS(key: string, option?: Options): void;
|
|
15
|
+
/**
|
|
16
|
+
* manually clear container cache to avoid global cache in unit testes
|
|
17
|
+
*/
|
|
18
|
+
declare function clearContainerCache(): void;
|
|
19
|
+
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 };
|