@cldemo/ui-kit 1.0.5 → 1.0.7

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 (648) hide show
  1. package/package.json +2 -2
  2. package/buildLibs/all/index.cjs +0 -99
  3. package/buildLibs/all/index.cjs.map +0 -1
  4. package/buildLibs/all/index.d.ts +0 -83
  5. package/buildLibs/all/index.js +0 -168
  6. package/buildLibs/all/index.js.map +0 -1
  7. package/buildLibs/common/Element/Event/drag.d.ts +0 -24
  8. package/buildLibs/common/Element/Event/index.d.ts +0 -9
  9. package/buildLibs/common/Element/Event/resize.d.ts +0 -20
  10. package/buildLibs/common/Element/index.d.ts +0 -104
  11. package/buildLibs/common/Element_Event_drag-DeZYlveu.js +0 -430
  12. package/buildLibs/common/Element_Event_drag-DeZYlveu.js.map +0 -1
  13. package/buildLibs/common/Element_Event_drag-L_ZT9whD.cjs +0 -3
  14. package/buildLibs/common/Element_Event_drag-L_ZT9whD.cjs.map +0 -1
  15. package/buildLibs/common/Element_Event_resize-DA_sUt40.cjs +0 -2
  16. package/buildLibs/common/Element_Event_resize-DA_sUt40.cjs.map +0 -1
  17. package/buildLibs/common/Element_Event_resize-DqH_UT2k.js +0 -49
  18. package/buildLibs/common/Element_Event_resize-DqH_UT2k.js.map +0 -1
  19. package/buildLibs/common/Tools/animateEasing.d.ts +0 -27
  20. package/buildLibs/common/Tools/cookie.d.ts +0 -8
  21. package/buildLibs/common/Tools/delayFun.d.ts +0 -9
  22. package/buildLibs/common/Tools/index.d.ts +0 -15
  23. package/buildLibs/common/Tools/localStorage.d.ts +0 -9
  24. package/buildLibs/common/Tools/number.d.ts +0 -8
  25. package/buildLibs/common/Tools_animateEasing-C6TmrmvZ.cjs +0 -2
  26. package/buildLibs/common/Tools_animateEasing-C6TmrmvZ.cjs.map +0 -1
  27. package/buildLibs/common/Tools_animateEasing-D0lY_Vn8.js +0 -50
  28. package/buildLibs/common/Tools_animateEasing-D0lY_Vn8.js.map +0 -1
  29. package/buildLibs/common/Tools_cookie-CCTgXZb7.cjs +0 -2
  30. package/buildLibs/common/Tools_cookie-CCTgXZb7.cjs.map +0 -1
  31. package/buildLibs/common/Tools_cookie-DKctMXdK.js +0 -31
  32. package/buildLibs/common/Tools_cookie-DKctMXdK.js.map +0 -1
  33. package/buildLibs/common/Tools_delayFun-CA1ktv1L.js +0 -21
  34. package/buildLibs/common/Tools_delayFun-CA1ktv1L.js.map +0 -1
  35. package/buildLibs/common/Tools_delayFun-DYTkzlXE.cjs +0 -2
  36. package/buildLibs/common/Tools_delayFun-DYTkzlXE.cjs.map +0 -1
  37. package/buildLibs/common/Tools_localStorage-Cbecy4gj.cjs +0 -2
  38. package/buildLibs/common/Tools_localStorage-Cbecy4gj.cjs.map +0 -1
  39. package/buildLibs/common/Tools_localStorage-DVvhtzhL.js +0 -48
  40. package/buildLibs/common/Tools_localStorage-DVvhtzhL.js.map +0 -1
  41. package/buildLibs/common/Tools_number-Bh6hGO5U.cjs +0 -2
  42. package/buildLibs/common/Tools_number-Bh6hGO5U.cjs.map +0 -1
  43. package/buildLibs/common/Tools_number-C_MjN473.js +0 -22
  44. package/buildLibs/common/Tools_number-C_MjN473.js.map +0 -1
  45. package/buildLibs/common/axios-DZoeNi6y.cjs +0 -2
  46. package/buildLibs/common/axios-DZoeNi6y.cjs.map +0 -1
  47. package/buildLibs/common/axios-DqkFEq4Y.js +0 -242
  48. package/buildLibs/common/axios-DqkFEq4Y.js.map +0 -1
  49. package/buildLibs/common/axios.d.ts +0 -28
  50. package/buildLibs/common/base-PQGakkrl.js +0 -808
  51. package/buildLibs/common/base-PQGakkrl.js.map +0 -1
  52. package/buildLibs/common/base-iCmnU-fv.cjs +0 -2
  53. package/buildLibs/common/base-iCmnU-fv.cjs.map +0 -1
  54. package/buildLibs/common/base.d.ts +0 -222
  55. package/buildLibs/common/day-BzMalBXj.cjs +0 -2
  56. package/buildLibs/common/day-BzMalBXj.cjs.map +0 -1
  57. package/buildLibs/common/day-Dm_AnEZp.js +0 -75
  58. package/buildLibs/common/day-Dm_AnEZp.js.map +0 -1
  59. package/buildLibs/common/day.d.ts +0 -25
  60. package/buildLibs/common/echart-BtfUJ8lE.js +0 -498
  61. package/buildLibs/common/echart-BtfUJ8lE.js.map +0 -1
  62. package/buildLibs/common/echart-Cs3rQ-e9.cjs +0 -2
  63. package/buildLibs/common/echart-Cs3rQ-e9.cjs.map +0 -1
  64. package/buildLibs/common/echart.d.ts +0 -82
  65. package/buildLibs/common/i18n/en.d.ts +0 -111
  66. package/buildLibs/common/i18n/index.d.ts +0 -25
  67. package/buildLibs/common/i18n/zh_CN.d.ts +0 -111
  68. package/buildLibs/common/i18n_en-BHhFEbi6.js +0 -114
  69. package/buildLibs/common/i18n_en-BHhFEbi6.js.map +0 -1
  70. package/buildLibs/common/i18n_en-D-5antzy.cjs +0 -2
  71. package/buildLibs/common/i18n_en-D-5antzy.cjs.map +0 -1
  72. package/buildLibs/common/i18n_zh_CN-COzQ8Los.js +0 -114
  73. package/buildLibs/common/i18n_zh_CN-COzQ8Los.js.map +0 -1
  74. package/buildLibs/common/i18n_zh_CN-DTZIQXOQ.cjs +0 -2
  75. package/buildLibs/common/i18n_zh_CN-DTZIQXOQ.cjs.map +0 -1
  76. package/buildLibs/common/index.cjs +0 -2
  77. package/buildLibs/common/index.cjs.map +0 -1
  78. package/buildLibs/common/index.d.ts +0 -10
  79. package/buildLibs/common/index.js +0 -124
  80. package/buildLibs/common/index.js.map +0 -1
  81. package/buildLibs/common/promise-BtoePzHD.cjs +0 -2
  82. package/buildLibs/common/promise-BtoePzHD.cjs.map +0 -1
  83. package/buildLibs/common/promise-CPiVqqqL.js +0 -44
  84. package/buildLibs/common/promise-CPiVqqqL.js.map +0 -1
  85. package/buildLibs/common/promise.d.ts +0 -14
  86. package/buildLibs/common/tooltip-De0atcAJ.js +0 -215
  87. package/buildLibs/common/tooltip-De0atcAJ.js.map +0 -1
  88. package/buildLibs/common/tooltip-Dj_ol2ax.cjs +0 -2
  89. package/buildLibs/common/tooltip-Dj_ol2ax.cjs.map +0 -1
  90. package/buildLibs/common/tooltip.d.ts +0 -37
  91. package/buildLibs/mobile/index.cjs +0 -56
  92. package/buildLibs/mobile/index.cjs.map +0 -1
  93. package/buildLibs/mobile/index.d.ts +0 -47
  94. package/buildLibs/mobile/index.js +0 -96
  95. package/buildLibs/mobile/index.js.map +0 -1
  96. package/buildLibs/resolver/index.cjs +0 -2
  97. package/buildLibs/resolver/index.cjs.map +0 -1
  98. package/buildLibs/resolver/index.js +0 -82
  99. package/buildLibs/resolver/index.js.map +0 -1
  100. package/buildLibs/resolver/resolver.d.ts +0 -7
  101. package/buildLibs/utils/Element/ClAnchorNav.cjs +0 -2
  102. package/buildLibs/utils/Element/ClAnchorNav.cjs.map +0 -1
  103. package/buildLibs/utils/Element/ClAnchorNav.css +0 -1
  104. package/buildLibs/utils/Element/ClAnchorNav.d.ts +0 -3
  105. package/buildLibs/utils/Element/ClAnchorNav.js +0 -55
  106. package/buildLibs/utils/Element/ClAnchorNav.js.map +0 -1
  107. package/buildLibs/utils/Element/ClBadge.cjs +0 -2
  108. package/buildLibs/utils/Element/ClBadge.cjs.map +0 -1
  109. package/buildLibs/utils/Element/ClBadge.d.ts +0 -3
  110. package/buildLibs/utils/Element/ClBadge.js +0 -5
  111. package/buildLibs/utils/Element/ClBadge.js.map +0 -1
  112. package/buildLibs/utils/Element/ClButton.cjs +0 -2
  113. package/buildLibs/utils/Element/ClButton.cjs.map +0 -1
  114. package/buildLibs/utils/Element/ClButton.css +0 -1
  115. package/buildLibs/utils/Element/ClButton.d.ts +0 -3
  116. package/buildLibs/utils/Element/ClButton.js +0 -226
  117. package/buildLibs/utils/Element/ClButton.js.map +0 -1
  118. package/buildLibs/utils/Element/ClCheckbox.cjs +0 -2
  119. package/buildLibs/utils/Element/ClCheckbox.cjs.map +0 -1
  120. package/buildLibs/utils/Element/ClCheckbox.d.ts +0 -3
  121. package/buildLibs/utils/Element/ClCheckbox.js +0 -205
  122. package/buildLibs/utils/Element/ClCheckbox.js.map +0 -1
  123. package/buildLibs/utils/Element/ClCheckboxOne.d.ts +0 -3
  124. package/buildLibs/utils/Element/ClClipboard.cjs +0 -2
  125. package/buildLibs/utils/Element/ClClipboard.cjs.map +0 -1
  126. package/buildLibs/utils/Element/ClClipboard.d.ts +0 -3
  127. package/buildLibs/utils/Element/ClClipboard.js +0 -5
  128. package/buildLibs/utils/Element/ClClipboard.js.map +0 -1
  129. package/buildLibs/utils/Element/ClCountup.cjs +0 -2
  130. package/buildLibs/utils/Element/ClCountup.cjs.map +0 -1
  131. package/buildLibs/utils/Element/ClCountup.d.ts +0 -3
  132. package/buildLibs/utils/Element/ClCountup.js +0 -56
  133. package/buildLibs/utils/Element/ClCountup.js.map +0 -1
  134. package/buildLibs/utils/Element/ClCropper.cjs +0 -2
  135. package/buildLibs/utils/Element/ClCropper.cjs.map +0 -1
  136. package/buildLibs/utils/Element/ClCropper.d.ts +0 -3
  137. package/buildLibs/utils/Element/ClCropper.js +0 -5
  138. package/buildLibs/utils/Element/ClCropper.js.map +0 -1
  139. package/buildLibs/utils/Element/ClCropperPreview.css +0 -1
  140. package/buildLibs/utils/Element/ClDarg.cjs +0 -7
  141. package/buildLibs/utils/Element/ClDarg.cjs.map +0 -1
  142. package/buildLibs/utils/Element/ClDarg.css +0 -1
  143. package/buildLibs/utils/Element/ClDarg.d.ts +0 -3
  144. package/buildLibs/utils/Element/ClDarg.js +0 -1554
  145. package/buildLibs/utils/Element/ClDarg.js.map +0 -1
  146. package/buildLibs/utils/Element/ClEllipsis.cjs +0 -2
  147. package/buildLibs/utils/Element/ClEllipsis.cjs.map +0 -1
  148. package/buildLibs/utils/Element/ClEllipsis.css +0 -1
  149. package/buildLibs/utils/Element/ClEllipsis.d.ts +0 -3
  150. package/buildLibs/utils/Element/ClEllipsis.js +0 -99
  151. package/buildLibs/utils/Element/ClEllipsis.js.map +0 -1
  152. package/buildLibs/utils/Element/ClForm.cjs +0 -2
  153. package/buildLibs/utils/Element/ClForm.cjs.map +0 -1
  154. package/buildLibs/utils/Element/ClForm.css +0 -1
  155. package/buildLibs/utils/Element/ClForm.d.ts +0 -3
  156. package/buildLibs/utils/Element/ClForm.js +0 -139
  157. package/buildLibs/utils/Element/ClForm.js.map +0 -1
  158. package/buildLibs/utils/Element/ClFormGroup.cjs +0 -2
  159. package/buildLibs/utils/Element/ClFormGroup.cjs.map +0 -1
  160. package/buildLibs/utils/Element/ClFormGroup.css +0 -1
  161. package/buildLibs/utils/Element/ClFormGroup.d.ts +0 -3
  162. package/buildLibs/utils/Element/ClFormGroup.js +0 -76
  163. package/buildLibs/utils/Element/ClFormGroup.js.map +0 -1
  164. package/buildLibs/utils/Element/ClFormValidate.d.ts +0 -3
  165. package/buildLibs/utils/Element/ClIconFont.cjs +0 -2
  166. package/buildLibs/utils/Element/ClIconFont.cjs.map +0 -1
  167. package/buildLibs/utils/Element/ClIconFont.d.ts +0 -3
  168. package/buildLibs/utils/Element/ClIconFont.js +0 -5
  169. package/buildLibs/utils/Element/ClIconFont.js.map +0 -1
  170. package/buildLibs/utils/Element/ClImage.cjs +0 -2
  171. package/buildLibs/utils/Element/ClImage.cjs.map +0 -1
  172. package/buildLibs/utils/Element/ClImage.css +0 -1
  173. package/buildLibs/utils/Element/ClImage.d.ts +0 -3
  174. package/buildLibs/utils/Element/ClImage.js +0 -195
  175. package/buildLibs/utils/Element/ClImage.js.map +0 -1
  176. package/buildLibs/utils/Element/ClInput.cjs +0 -2
  177. package/buildLibs/utils/Element/ClInput.cjs.map +0 -1
  178. package/buildLibs/utils/Element/ClInput.d.ts +0 -3
  179. package/buildLibs/utils/Element/ClInput.js +0 -5
  180. package/buildLibs/utils/Element/ClInput.js.map +0 -1
  181. package/buildLibs/utils/Element/ClInputCaptcha.cjs +0 -2
  182. package/buildLibs/utils/Element/ClInputCaptcha.cjs.map +0 -1
  183. package/buildLibs/utils/Element/ClInputCaptcha.css +0 -1
  184. package/buildLibs/utils/Element/ClInputCaptcha.d.ts +0 -3
  185. package/buildLibs/utils/Element/ClInputCaptcha.js +0 -111
  186. package/buildLibs/utils/Element/ClInputCaptcha.js.map +0 -1
  187. package/buildLibs/utils/Element/ClInputNumber.cjs +0 -2
  188. package/buildLibs/utils/Element/ClInputNumber.cjs.map +0 -1
  189. package/buildLibs/utils/Element/ClInputNumber.d.ts +0 -3
  190. package/buildLibs/utils/Element/ClInputNumber.js +0 -5
  191. package/buildLibs/utils/Element/ClInputNumber.js.map +0 -1
  192. package/buildLibs/utils/Element/ClInputSearch.cjs +0 -2
  193. package/buildLibs/utils/Element/ClInputSearch.cjs.map +0 -1
  194. package/buildLibs/utils/Element/ClInputSearch.d.ts +0 -3
  195. package/buildLibs/utils/Element/ClInputSearch.js +0 -5
  196. package/buildLibs/utils/Element/ClInputSearch.js.map +0 -1
  197. package/buildLibs/utils/Element/ClInputTag.css +0 -1
  198. package/buildLibs/utils/Element/ClInputTextarea.cjs +0 -2
  199. package/buildLibs/utils/Element/ClInputTextarea.cjs.map +0 -1
  200. package/buildLibs/utils/Element/ClInputTextarea.d.ts +0 -3
  201. package/buildLibs/utils/Element/ClInputTextarea.js +0 -5
  202. package/buildLibs/utils/Element/ClInputTextarea.js.map +0 -1
  203. package/buildLibs/utils/Element/ClInputnumberButton.d.ts +0 -3
  204. package/buildLibs/utils/Element/ClLink.cjs +0 -2
  205. package/buildLibs/utils/Element/ClLink.cjs.map +0 -1
  206. package/buildLibs/utils/Element/ClLink.d.ts +0 -3
  207. package/buildLibs/utils/Element/ClLink.js +0 -5
  208. package/buildLibs/utils/Element/ClLink.js.map +0 -1
  209. package/buildLibs/utils/Element/ClLoad.cjs +0 -2
  210. package/buildLibs/utils/Element/ClLoad.cjs.map +0 -1
  211. package/buildLibs/utils/Element/ClLoad.d.ts +0 -3
  212. package/buildLibs/utils/Element/ClLoad.js +0 -5
  213. package/buildLibs/utils/Element/ClLoad.js.map +0 -1
  214. package/buildLibs/utils/Element/ClLoadFullCenter.d.ts +0 -3
  215. package/buildLibs/utils/Element/ClLoadIng.d.ts +0 -3
  216. package/buildLibs/utils/Element/ClLoadScreen.cjs +0 -2
  217. package/buildLibs/utils/Element/ClLoadScreen.cjs.map +0 -1
  218. package/buildLibs/utils/Element/ClLoadScreen.d.ts +0 -3
  219. package/buildLibs/utils/Element/ClLoadScreen.js +0 -5
  220. package/buildLibs/utils/Element/ClLoadScreen.js.map +0 -1
  221. package/buildLibs/utils/Element/ClLoadWarp.d.ts +0 -3
  222. package/buildLibs/utils/Element/ClModal.cjs +0 -2
  223. package/buildLibs/utils/Element/ClModal.cjs.map +0 -1
  224. package/buildLibs/utils/Element/ClModal.d.ts +0 -3
  225. package/buildLibs/utils/Element/ClModal.js +0 -5
  226. package/buildLibs/utils/Element/ClModal.js.map +0 -1
  227. package/buildLibs/utils/Element/ClProgress.cjs +0 -2
  228. package/buildLibs/utils/Element/ClProgress.cjs.map +0 -1
  229. package/buildLibs/utils/Element/ClProgress.css +0 -1
  230. package/buildLibs/utils/Element/ClProgress.d.ts +0 -3
  231. package/buildLibs/utils/Element/ClProgress.js +0 -219
  232. package/buildLibs/utils/Element/ClProgress.js.map +0 -1
  233. package/buildLibs/utils/Element/ClRadio.cjs +0 -2
  234. package/buildLibs/utils/Element/ClRadio.cjs.map +0 -1
  235. package/buildLibs/utils/Element/ClRadio.d.ts +0 -3
  236. package/buildLibs/utils/Element/ClRadio.js +0 -176
  237. package/buildLibs/utils/Element/ClRadio.js.map +0 -1
  238. package/buildLibs/utils/Element/ClRadioOne.d.ts +0 -3
  239. package/buildLibs/utils/Element/ClSlider.cjs +0 -2
  240. package/buildLibs/utils/Element/ClSlider.cjs.map +0 -1
  241. package/buildLibs/utils/Element/ClSlider.css +0 -1
  242. package/buildLibs/utils/Element/ClSlider.d.ts +0 -3
  243. package/buildLibs/utils/Element/ClSlider.js +0 -721
  244. package/buildLibs/utils/Element/ClSlider.js.map +0 -1
  245. package/buildLibs/utils/Element/ClSwitchery.cjs +0 -2
  246. package/buildLibs/utils/Element/ClSwitchery.cjs.map +0 -1
  247. package/buildLibs/utils/Element/ClSwitchery.css +0 -1
  248. package/buildLibs/utils/Element/ClSwitchery.d.ts +0 -3
  249. package/buildLibs/utils/Element/ClSwitchery.js +0 -429
  250. package/buildLibs/utils/Element/ClSwitchery.js.map +0 -1
  251. package/buildLibs/utils/Element/ClTags.cjs +0 -2
  252. package/buildLibs/utils/Element/ClTags.cjs.map +0 -1
  253. package/buildLibs/utils/Element/ClTags.d.ts +0 -3
  254. package/buildLibs/utils/Element/ClTags.js +0 -5
  255. package/buildLibs/utils/Element/ClTags.js.map +0 -1
  256. package/buildLibs/utils/Element/ClTransitionSlideupdown.d.ts +0 -3
  257. package/buildLibs/utils/Element/ClWaterfall.cjs +0 -2
  258. package/buildLibs/utils/Element/ClWaterfall.cjs.map +0 -1
  259. package/buildLibs/utils/Element/ClWaterfall.css +0 -1
  260. package/buildLibs/utils/Element/ClWaterfall.d.ts +0 -3
  261. package/buildLibs/utils/Element/ClWaterfall.js +0 -167
  262. package/buildLibs/utils/Element/ClWaterfall.js.map +0 -1
  263. package/buildLibs/utils/Element/ClWaterfallImage.d.ts +0 -3
  264. package/buildLibs/utils/Element/__provide__/Clipboard.cjs +0 -2
  265. package/buildLibs/utils/Element/__provide__/Clipboard.cjs.map +0 -1
  266. package/buildLibs/utils/Element/__provide__/Clipboard.d.ts +0 -2
  267. package/buildLibs/utils/Element/__provide__/Clipboard.js +0 -62
  268. package/buildLibs/utils/Element/__provide__/Clipboard.js.map +0 -1
  269. package/buildLibs/utils/Element/__provide__/LoadScreen.cjs +0 -2
  270. package/buildLibs/utils/Element/__provide__/LoadScreen.cjs.map +0 -1
  271. package/buildLibs/utils/Element/__provide__/LoadScreen.d.ts +0 -2
  272. package/buildLibs/utils/Element/__provide__/LoadScreen.js +0 -17
  273. package/buildLibs/utils/Element/__provide__/LoadScreen.js.map +0 -1
  274. package/buildLibs/utils/Element/__provide__/languagePack.cjs +0 -2
  275. package/buildLibs/utils/Element/__provide__/languagePack.cjs.map +0 -1
  276. package/buildLibs/utils/Element/__provide__/languagePack.d.ts +0 -2
  277. package/buildLibs/utils/Element/__provide__/languagePack.js +0 -29
  278. package/buildLibs/utils/Element/__provide__/languagePack.js.map +0 -1
  279. package/buildLibs/utils/Mobile/ClCell.cjs +0 -2
  280. package/buildLibs/utils/Mobile/ClCell.cjs.map +0 -1
  281. package/buildLibs/utils/Mobile/ClCell.css +0 -1
  282. package/buildLibs/utils/Mobile/ClCell.d.ts +0 -3
  283. package/buildLibs/utils/Mobile/ClCell.js +0 -130
  284. package/buildLibs/utils/Mobile/ClCell.js.map +0 -1
  285. package/buildLibs/utils/Mobile/ClPullToRefresh.cjs +0 -2
  286. package/buildLibs/utils/Mobile/ClPullToRefresh.cjs.map +0 -1
  287. package/buildLibs/utils/Mobile/ClPullToRefresh.css +0 -1
  288. package/buildLibs/utils/Mobile/ClPullToRefresh.d.ts +0 -3
  289. package/buildLibs/utils/Mobile/ClPullToRefresh.js +0 -195
  290. package/buildLibs/utils/Mobile/ClPullToRefresh.js.map +0 -1
  291. package/buildLibs/utils/Shared/Alert.css +0 -1
  292. package/buildLibs/utils/Shared/Base.css +0 -1
  293. package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-C_-WLPmH.js +0 -2
  294. package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-C_-WLPmH.js.map +0 -1
  295. package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-Duh9tbur.js +0 -354
  296. package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-Duh9tbur.js.map +0 -1
  297. package/buildLibs/utils/Shared/BaseTransition.css +0 -1
  298. package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DEXehdBc.js +0 -2
  299. package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DEXehdBc.js.map +0 -1
  300. package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DLAYzSgX.js +0 -121
  301. package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DLAYzSgX.js.map +0 -1
  302. package/buildLibs/utils/Shared/Highlight.css +0 -1
  303. package/buildLibs/utils/Shared/Index.css +0 -1
  304. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-AhjUdZHr.js +0 -233
  305. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-AhjUdZHr.js.map +0 -1
  306. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B3Jxjv3S.js +0 -75
  307. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B3Jxjv3S.js.map +0 -1
  308. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BSTGdmJD.js +0 -2
  309. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BSTGdmJD.js.map +0 -1
  310. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BWdaQyLA.js +0 -2
  311. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BWdaQyLA.js.map +0 -1
  312. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BYmK-TqX.js +0 -2
  313. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BYmK-TqX.js.map +0 -1
  314. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B_jfFc6B.js +0 -143
  315. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B_jfFc6B.js.map +0 -1
  316. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BjRPiJPA.js +0 -2
  317. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BjRPiJPA.js.map +0 -1
  318. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Bv5Aqano.js +0 -24
  319. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Bv5Aqano.js.map +0 -1
  320. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BvGrVSSF.js +0 -1146
  321. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BvGrVSSF.js.map +0 -1
  322. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BxtgFrvB.js +0 -336
  323. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BxtgFrvB.js.map +0 -1
  324. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C1ANWb2_.js +0 -2
  325. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C1ANWb2_.js.map +0 -1
  326. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4XFCLbD.js +0 -2
  327. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4XFCLbD.js.map +0 -1
  328. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4rRquU-.js +0 -165
  329. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4rRquU-.js.map +0 -1
  330. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CIdipm_Z.js +0 -2
  331. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CIdipm_Z.js.map +0 -1
  332. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CNa69faz.js +0 -168
  333. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CNa69faz.js.map +0 -1
  334. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CPWxeZzn.js +0 -2
  335. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CPWxeZzn.js.map +0 -1
  336. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CVPvV5cZ.js +0 -2
  337. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CVPvV5cZ.js.map +0 -1
  338. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CejRfZxl.js +0 -70
  339. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CejRfZxl.js.map +0 -1
  340. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cjhn8JLr.js +0 -2
  341. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cjhn8JLr.js.map +0 -1
  342. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cuv5NgcY.js +0 -84
  343. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cuv5NgcY.js.map +0 -1
  344. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-D5cJAhwe.js +0 -2
  345. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-D5cJAhwe.js.map +0 -1
  346. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DKAxas3I.js +0 -98
  347. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DKAxas3I.js.map +0 -1
  348. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DWw1B8Z2.js +0 -342
  349. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DWw1B8Z2.js.map +0 -1
  350. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Da4Z8GsB.js +0 -166
  351. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Da4Z8GsB.js.map +0 -1
  352. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Dd2V82en.js +0 -2
  353. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Dd2V82en.js.map +0 -1
  354. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DfYsa_hk.js +0 -2
  355. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DfYsa_hk.js.map +0 -1
  356. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DlCXpiu6.js +0 -384
  357. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DlCXpiu6.js.map +0 -1
  358. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DpxHzkjC.js +0 -462
  359. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DpxHzkjC.js.map +0 -1
  360. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Ds2Q0eNQ.js +0 -2
  361. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Ds2Q0eNQ.js.map +0 -1
  362. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DxWcQL_8.js +0 -2
  363. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DxWcQL_8.js.map +0 -1
  364. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-HDdyVujM.js +0 -2
  365. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-HDdyVujM.js.map +0 -1
  366. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-SO7WBNgE.js +0 -2
  367. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-SO7WBNgE.js.map +0 -1
  368. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-_Zu2nb2q.js +0 -593
  369. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-_Zu2nb2q.js.map +0 -1
  370. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-gzy5AIqr.js +0 -54
  371. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-gzy5AIqr.js.map +0 -1
  372. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-inXYfqWx.js +0 -144
  373. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-inXYfqWx.js.map +0 -1
  374. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-p08PZCov.js +0 -2
  375. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-p08PZCov.js.map +0 -1
  376. package/buildLibs/utils/Shared/Index10.css +0 -1
  377. package/buildLibs/utils/Shared/Index11.css +0 -1
  378. package/buildLibs/utils/Shared/Index12.css +0 -1
  379. package/buildLibs/utils/Shared/Index13.css +0 -1
  380. package/buildLibs/utils/Shared/Index14.css +0 -1
  381. package/buildLibs/utils/Shared/Index15.css +0 -1
  382. package/buildLibs/utils/Shared/Index16.css +0 -1
  383. package/buildLibs/utils/Shared/Index17.css +0 -1
  384. package/buildLibs/utils/Shared/Index18.css +0 -1
  385. package/buildLibs/utils/Shared/Index19.css +0 -1
  386. package/buildLibs/utils/Shared/Index2.css +0 -1
  387. package/buildLibs/utils/Shared/Index3.css +0 -1
  388. package/buildLibs/utils/Shared/Index4.css +0 -1
  389. package/buildLibs/utils/Shared/Index5.css +0 -1
  390. package/buildLibs/utils/Shared/Index6.css +0 -1
  391. package/buildLibs/utils/Shared/Index7.css +0 -1
  392. package/buildLibs/utils/Shared/Index8.css +0 -1
  393. package/buildLibs/utils/Shared/Index9.css +0 -1
  394. package/buildLibs/utils/Shared/Ing-C_3NkQxd.js +0 -43
  395. package/buildLibs/utils/Shared/Ing-C_3NkQxd.js.map +0 -1
  396. package/buildLibs/utils/Shared/Ing-D_cd5IxY.js +0 -2
  397. package/buildLibs/utils/Shared/Ing-D_cd5IxY.js.map +0 -1
  398. package/buildLibs/utils/Shared/Ing.css +0 -1
  399. package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-Dr6PppOP.js +0 -2
  400. package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-Dr6PppOP.js.map +0 -1
  401. package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-DzmylhZ6.js +0 -141
  402. package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-DzmylhZ6.js.map +0 -1
  403. package/buildLibs/utils/Shared/Notify.css +0 -1
  404. package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-BuNRS-9u.js +0 -87
  405. package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-BuNRS-9u.js.map +0 -1
  406. package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-E9U8wdGT.js +0 -2
  407. package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-E9U8wdGT.js.map +0 -1
  408. package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-CbaTn8Yz.js +0 -109
  409. package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-CbaTn8Yz.js.map +0 -1
  410. package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-D6uynoJZ.js +0 -2
  411. package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-D6uynoJZ.js.map +0 -1
  412. package/buildLibs/utils/Shared/Tooltip.css +0 -1
  413. package/buildLibs/utils/Shared/Waves.css +0 -7
  414. package/buildLibs/utils/Shared/_plugin-vue_export-helper-BHFhmbuH.js +0 -2
  415. package/buildLibs/utils/Shared/_plugin-vue_export-helper-BHFhmbuH.js.map +0 -1
  416. package/buildLibs/utils/Shared/_plugin-vue_export-helper-CHgC5LLL.js +0 -10
  417. package/buildLibs/utils/Shared/_plugin-vue_export-helper-CHgC5LLL.js.map +0 -1
  418. package/buildLibs/utils/Shared/base-PQGakkrl.js +0 -808
  419. package/buildLibs/utils/Shared/base-PQGakkrl.js.map +0 -1
  420. package/buildLibs/utils/Shared/base-iCmnU-fv.js +0 -2
  421. package/buildLibs/utils/Shared/base-iCmnU-fv.js.map +0 -1
  422. package/buildLibs/utils/Shared/day-Bz9LfelO.js +0 -75
  423. package/buildLibs/utils/Shared/day-Bz9LfelO.js.map +0 -1
  424. package/buildLibs/utils/Shared/day-CvcvgKjb.js +0 -2
  425. package/buildLibs/utils/Shared/day-CvcvgKjb.js.map +0 -1
  426. package/buildLibs/utils/Shared/drag-CzE5R222.js +0 -2
  427. package/buildLibs/utils/Shared/drag-CzE5R222.js.map +0 -1
  428. package/buildLibs/utils/Shared/drag-CzfhSB0g.js +0 -42
  429. package/buildLibs/utils/Shared/drag-CzfhSB0g.js.map +0 -1
  430. package/buildLibs/utils/Shared/index-BnerInzC.js +0 -432
  431. package/buildLibs/utils/Shared/index-BnerInzC.js.map +0 -1
  432. package/buildLibs/utils/Shared/index-C1R9HAvS.js +0 -320
  433. package/buildLibs/utils/Shared/index-C1R9HAvS.js.map +0 -1
  434. package/buildLibs/utils/Shared/index-CVBh8iTg.js +0 -2
  435. package/buildLibs/utils/Shared/index-CVBh8iTg.js.map +0 -1
  436. package/buildLibs/utils/Shared/index-Ul6uY51t.js +0 -3
  437. package/buildLibs/utils/Shared/index-Ul6uY51t.js.map +0 -1
  438. package/buildLibs/utils/Shared/language-D6gRWx8H.js +0 -2
  439. package/buildLibs/utils/Shared/language-D6gRWx8H.js.map +0 -1
  440. package/buildLibs/utils/Shared/language-DxTlvFs2.js +0 -18
  441. package/buildLibs/utils/Shared/language-DxTlvFs2.js.map +0 -1
  442. package/buildLibs/utils/Shared/resize-COkswDOq.js +0 -2
  443. package/buildLibs/utils/Shared/resize-COkswDOq.js.map +0 -1
  444. package/buildLibs/utils/Shared/resize-kOWxHVSP.js +0 -54
  445. package/buildLibs/utils/Shared/resize-kOWxHVSP.js.map +0 -1
  446. package/buildLibs/utils/Shared/vue-virtual-scroller.css +0 -1
  447. package/buildLibs/utils/Web/ClBreadcrumb.cjs +0 -2
  448. package/buildLibs/utils/Web/ClBreadcrumb.cjs.map +0 -1
  449. package/buildLibs/utils/Web/ClBreadcrumb.css +0 -1
  450. package/buildLibs/utils/Web/ClBreadcrumb.d.ts +0 -3
  451. package/buildLibs/utils/Web/ClBreadcrumb.js +0 -82
  452. package/buildLibs/utils/Web/ClBreadcrumb.js.map +0 -1
  453. package/buildLibs/utils/Web/ClCalendar.cjs +0 -2
  454. package/buildLibs/utils/Web/ClCalendar.cjs.map +0 -1
  455. package/buildLibs/utils/Web/ClCalendar.css +0 -1
  456. package/buildLibs/utils/Web/ClCalendar.d.ts +0 -3
  457. package/buildLibs/utils/Web/ClCalendar.js +0 -179
  458. package/buildLibs/utils/Web/ClCalendar.js.map +0 -1
  459. package/buildLibs/utils/Web/ClCard.cjs +0 -2
  460. package/buildLibs/utils/Web/ClCard.cjs.map +0 -1
  461. package/buildLibs/utils/Web/ClCard.d.ts +0 -3
  462. package/buildLibs/utils/Web/ClCard.js +0 -5
  463. package/buildLibs/utils/Web/ClCard.js.map +0 -1
  464. package/buildLibs/utils/Web/ClCardLegend.cjs +0 -2
  465. package/buildLibs/utils/Web/ClCardLegend.cjs.map +0 -1
  466. package/buildLibs/utils/Web/ClCardLegend.css +0 -1
  467. package/buildLibs/utils/Web/ClCardLegend.d.ts +0 -3
  468. package/buildLibs/utils/Web/ClCardLegend.js +0 -128
  469. package/buildLibs/utils/Web/ClCardLegend.js.map +0 -1
  470. package/buildLibs/utils/Web/ClCollapse.cjs +0 -2
  471. package/buildLibs/utils/Web/ClCollapse.cjs.map +0 -1
  472. package/buildLibs/utils/Web/ClCollapse.css +0 -1
  473. package/buildLibs/utils/Web/ClCollapse.d.ts +0 -3
  474. package/buildLibs/utils/Web/ClCollapse.js +0 -111
  475. package/buildLibs/utils/Web/ClCollapse.js.map +0 -1
  476. package/buildLibs/utils/Web/ClColorpicker.cjs +0 -2
  477. package/buildLibs/utils/Web/ClColorpicker.cjs.map +0 -1
  478. package/buildLibs/utils/Web/ClColorpicker.css +0 -1
  479. package/buildLibs/utils/Web/ClColorpicker.d.ts +0 -3
  480. package/buildLibs/utils/Web/ClColorpicker.js +0 -1130
  481. package/buildLibs/utils/Web/ClColorpicker.js.map +0 -1
  482. package/buildLibs/utils/Web/ClCropperPreview.cjs +0 -2
  483. package/buildLibs/utils/Web/ClCropperPreview.cjs.map +0 -1
  484. package/buildLibs/utils/Web/ClCropperPreview.d.ts +0 -3
  485. package/buildLibs/utils/Web/ClCropperPreview.js +0 -175
  486. package/buildLibs/utils/Web/ClCropperPreview.js.map +0 -1
  487. package/buildLibs/utils/Web/ClDatetime.cjs +0 -2
  488. package/buildLibs/utils/Web/ClDatetime.cjs.map +0 -1
  489. package/buildLibs/utils/Web/ClDatetime.css +0 -1
  490. package/buildLibs/utils/Web/ClDatetime.d.ts +0 -3
  491. package/buildLibs/utils/Web/ClDatetime.js +0 -2002
  492. package/buildLibs/utils/Web/ClDatetime.js.map +0 -1
  493. package/buildLibs/utils/Web/ClDropdownmenu.cjs +0 -2
  494. package/buildLibs/utils/Web/ClDropdownmenu.cjs.map +0 -1
  495. package/buildLibs/utils/Web/ClDropdownmenu.css +0 -1
  496. package/buildLibs/utils/Web/ClDropdownmenu.d.ts +0 -3
  497. package/buildLibs/utils/Web/ClDropdownmenu.js +0 -75
  498. package/buildLibs/utils/Web/ClDropdownmenu.js.map +0 -1
  499. package/buildLibs/utils/Web/ClDropdownmenuItem.d.ts +0 -3
  500. package/buildLibs/utils/Web/ClDropdownpopup.cjs +0 -2
  501. package/buildLibs/utils/Web/ClDropdownpopup.cjs.map +0 -1
  502. package/buildLibs/utils/Web/ClDropdownpopup.css +0 -1
  503. package/buildLibs/utils/Web/ClDropdownpopup.d.ts +0 -3
  504. package/buildLibs/utils/Web/ClDropdownpopup.js +0 -89
  505. package/buildLibs/utils/Web/ClDropdownpopup.js.map +0 -1
  506. package/buildLibs/utils/Web/ClEcharts.cjs +0 -2
  507. package/buildLibs/utils/Web/ClEcharts.cjs.map +0 -1
  508. package/buildLibs/utils/Web/ClEcharts.css +0 -1
  509. package/buildLibs/utils/Web/ClEcharts.d.ts +0 -3
  510. package/buildLibs/utils/Web/ClEcharts.js +0 -297
  511. package/buildLibs/utils/Web/ClEcharts.js.map +0 -1
  512. package/buildLibs/utils/Web/ClFileupload.cjs +0 -2
  513. package/buildLibs/utils/Web/ClFileupload.cjs.map +0 -1
  514. package/buildLibs/utils/Web/ClFileupload.d.ts +0 -3
  515. package/buildLibs/utils/Web/ClFileupload.js +0 -5
  516. package/buildLibs/utils/Web/ClFileupload.js.map +0 -1
  517. package/buildLibs/utils/Web/ClInputTag.cjs +0 -6
  518. package/buildLibs/utils/Web/ClInputTag.cjs.map +0 -1
  519. package/buildLibs/utils/Web/ClInputTag.d.ts +0 -3
  520. package/buildLibs/utils/Web/ClInputTag.js +0 -854
  521. package/buildLibs/utils/Web/ClInputTag.js.map +0 -1
  522. package/buildLibs/utils/Web/ClPaginate.cjs +0 -2
  523. package/buildLibs/utils/Web/ClPaginate.cjs.map +0 -1
  524. package/buildLibs/utils/Web/ClPaginate.css +0 -1
  525. package/buildLibs/utils/Web/ClPaginate.d.ts +0 -3
  526. package/buildLibs/utils/Web/ClPaginate.js +0 -167
  527. package/buildLibs/utils/Web/ClPaginate.js.map +0 -1
  528. package/buildLibs/utils/Web/ClPortlet.cjs +0 -2
  529. package/buildLibs/utils/Web/ClPortlet.cjs.map +0 -1
  530. package/buildLibs/utils/Web/ClPortlet.css +0 -1
  531. package/buildLibs/utils/Web/ClPortlet.d.ts +0 -3
  532. package/buildLibs/utils/Web/ClPortlet.js +0 -47
  533. package/buildLibs/utils/Web/ClPortlet.js.map +0 -1
  534. package/buildLibs/utils/Web/ClPreview.cjs +0 -2
  535. package/buildLibs/utils/Web/ClPreview.cjs.map +0 -1
  536. package/buildLibs/utils/Web/ClPreview.js +0 -5
  537. package/buildLibs/utils/Web/ClPreview.js.map +0 -1
  538. package/buildLibs/utils/Web/ClPreviewexample.cjs +0 -2
  539. package/buildLibs/utils/Web/ClPreviewexample.cjs.map +0 -1
  540. package/buildLibs/utils/Web/ClPreviewexample.d.ts +0 -3
  541. package/buildLibs/utils/Web/ClPreviewexample.js +0 -5
  542. package/buildLibs/utils/Web/ClPreviewexample.js.map +0 -1
  543. package/buildLibs/utils/Web/ClScrollXFence.cjs +0 -2
  544. package/buildLibs/utils/Web/ClScrollXFence.cjs.map +0 -1
  545. package/buildLibs/utils/Web/ClScrollXFence.css +0 -1
  546. package/buildLibs/utils/Web/ClScrollXFence.d.ts +0 -3
  547. package/buildLibs/utils/Web/ClScrollXFence.js +0 -107
  548. package/buildLibs/utils/Web/ClScrollXFence.js.map +0 -1
  549. package/buildLibs/utils/Web/ClSelect.cjs +0 -2
  550. package/buildLibs/utils/Web/ClSelect.cjs.map +0 -1
  551. package/buildLibs/utils/Web/ClSelect.d.ts +0 -3
  552. package/buildLibs/utils/Web/ClSelect.js +0 -5
  553. package/buildLibs/utils/Web/ClSelect.js.map +0 -1
  554. package/buildLibs/utils/Web/ClSelectCascade.cjs +0 -2
  555. package/buildLibs/utils/Web/ClSelectCascade.cjs.map +0 -1
  556. package/buildLibs/utils/Web/ClSelectCascade.css +0 -1
  557. package/buildLibs/utils/Web/ClSelectCascade.d.ts +0 -3
  558. package/buildLibs/utils/Web/ClSelectCascade.js +0 -222
  559. package/buildLibs/utils/Web/ClSelectCascade.js.map +0 -1
  560. package/buildLibs/utils/Web/ClSelectTag.cjs +0 -2
  561. package/buildLibs/utils/Web/ClSelectTag.cjs.map +0 -1
  562. package/buildLibs/utils/Web/ClSelectTag.css +0 -1
  563. package/buildLibs/utils/Web/ClSelectTag.d.ts +0 -3
  564. package/buildLibs/utils/Web/ClSelectTag.js +0 -249
  565. package/buildLibs/utils/Web/ClSelectTag.js.map +0 -1
  566. package/buildLibs/utils/Web/ClSelectTree.cjs +0 -2
  567. package/buildLibs/utils/Web/ClSelectTree.cjs.map +0 -1
  568. package/buildLibs/utils/Web/ClSelectTree.css +0 -1
  569. package/buildLibs/utils/Web/ClSelectTree.d.ts +0 -3
  570. package/buildLibs/utils/Web/ClSelectTree.js +0 -190
  571. package/buildLibs/utils/Web/ClSelectTree.js.map +0 -1
  572. package/buildLibs/utils/Web/ClSelectmove.cjs +0 -2
  573. package/buildLibs/utils/Web/ClSelectmove.cjs.map +0 -1
  574. package/buildLibs/utils/Web/ClSelectmove.css +0 -1
  575. package/buildLibs/utils/Web/ClSelectmove.d.ts +0 -3
  576. package/buildLibs/utils/Web/ClSelectmove.js +0 -1090
  577. package/buildLibs/utils/Web/ClSelectmove.js.map +0 -1
  578. package/buildLibs/utils/Web/ClSidemenu.cjs +0 -2
  579. package/buildLibs/utils/Web/ClSidemenu.cjs.map +0 -1
  580. package/buildLibs/utils/Web/ClSidemenu.css +0 -1
  581. package/buildLibs/utils/Web/ClSidemenu.d.ts +0 -3
  582. package/buildLibs/utils/Web/ClSidemenu.js +0 -190
  583. package/buildLibs/utils/Web/ClSidemenu.js.map +0 -1
  584. package/buildLibs/utils/Web/ClTable.cjs +0 -2
  585. package/buildLibs/utils/Web/ClTable.cjs.map +0 -1
  586. package/buildLibs/utils/Web/ClTable.css +0 -1
  587. package/buildLibs/utils/Web/ClTable.d.ts +0 -3
  588. package/buildLibs/utils/Web/ClTable.js +0 -1914
  589. package/buildLibs/utils/Web/ClTable.js.map +0 -1
  590. package/buildLibs/utils/Web/ClTabs.cjs +0 -2
  591. package/buildLibs/utils/Web/ClTabs.cjs.map +0 -1
  592. package/buildLibs/utils/Web/ClTabs.css +0 -1
  593. package/buildLibs/utils/Web/ClTabs.d.ts +0 -3
  594. package/buildLibs/utils/Web/ClTabs.js +0 -276
  595. package/buildLibs/utils/Web/ClTabs.js.map +0 -1
  596. package/buildLibs/utils/Web/ClTree.cjs +0 -2
  597. package/buildLibs/utils/Web/ClTree.cjs.map +0 -1
  598. package/buildLibs/utils/Web/ClTree.css +0 -1
  599. package/buildLibs/utils/Web/ClTree.d.ts +0 -3
  600. package/buildLibs/utils/Web/ClTree.js +0 -416
  601. package/buildLibs/utils/Web/ClTree.js.map +0 -1
  602. package/buildLibs/utils/Web/ClWeekhour.cjs +0 -2
  603. package/buildLibs/utils/Web/ClWeekhour.cjs.map +0 -1
  604. package/buildLibs/utils/Web/ClWeekhour.css +0 -1
  605. package/buildLibs/utils/Web/ClWeekhour.d.ts +0 -3
  606. package/buildLibs/utils/Web/ClWeekhour.js +0 -679
  607. package/buildLibs/utils/Web/ClWeekhour.js.map +0 -1
  608. package/buildLibs/utils/Web/ClXeditable.cjs +0 -2
  609. package/buildLibs/utils/Web/ClXeditable.cjs.map +0 -1
  610. package/buildLibs/utils/Web/ClXeditable.css +0 -1
  611. package/buildLibs/utils/Web/ClXeditable.d.ts +0 -3
  612. package/buildLibs/utils/Web/ClXeditable.js +0 -593
  613. package/buildLibs/utils/Web/ClXeditable.js.map +0 -1
  614. package/buildLibs/utils/Web/__directive__/Highlight.cjs +0 -4
  615. package/buildLibs/utils/Web/__directive__/Highlight.cjs.map +0 -1
  616. package/buildLibs/utils/Web/__directive__/Highlight.d.ts +0 -2
  617. package/buildLibs/utils/Web/__directive__/Highlight.js +0 -3625
  618. package/buildLibs/utils/Web/__directive__/Highlight.js.map +0 -1
  619. package/buildLibs/utils/Web/__directive__/Tooltip.cjs +0 -2
  620. package/buildLibs/utils/Web/__directive__/Tooltip.cjs.map +0 -1
  621. package/buildLibs/utils/Web/__directive__/Tooltip.d.ts +0 -2
  622. package/buildLibs/utils/Web/__directive__/Tooltip.js +0 -356
  623. package/buildLibs/utils/Web/__directive__/Tooltip.js.map +0 -1
  624. package/buildLibs/utils/Web/__directive__/Waves.cjs +0 -9
  625. package/buildLibs/utils/Web/__directive__/Waves.cjs.map +0 -1
  626. package/buildLibs/utils/Web/__directive__/Waves.d.ts +0 -2
  627. package/buildLibs/utils/Web/__directive__/Waves.js +0 -256
  628. package/buildLibs/utils/Web/__directive__/Waves.js.map +0 -1
  629. package/buildLibs/utils/Web/__provide__/Alert.cjs +0 -2
  630. package/buildLibs/utils/Web/__provide__/Alert.cjs.map +0 -1
  631. package/buildLibs/utils/Web/__provide__/Alert.d.ts +0 -2
  632. package/buildLibs/utils/Web/__provide__/Alert.js +0 -236
  633. package/buildLibs/utils/Web/__provide__/Alert.js.map +0 -1
  634. package/buildLibs/utils/Web/__provide__/Notify.cjs +0 -2
  635. package/buildLibs/utils/Web/__provide__/Notify.cjs.map +0 -1
  636. package/buildLibs/utils/Web/__provide__/Notify.d.ts +0 -2
  637. package/buildLibs/utils/Web/__provide__/Notify.js +0 -235
  638. package/buildLibs/utils/Web/__provide__/Notify.js.map +0 -1
  639. package/buildLibs/utils/Web/__provide__/Preview.cjs +0 -2
  640. package/buildLibs/utils/Web/__provide__/Preview.cjs.map +0 -1
  641. package/buildLibs/utils/Web/__provide__/Preview.d.ts +0 -2
  642. package/buildLibs/utils/Web/__provide__/Preview.js +0 -26
  643. package/buildLibs/utils/Web/__provide__/Preview.js.map +0 -1
  644. package/buildLibs/web/index.cjs +0 -97
  645. package/buildLibs/web/index.cjs.map +0 -1
  646. package/buildLibs/web/index.d.ts +0 -81
  647. package/buildLibs/web/index.js +0 -164
  648. package/buildLibs/web/index.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"base-PQGakkrl.js","sources":["../../src/libs/Common/base.ts"],"sourcesContent":["// Format handler registry — registered by day.ts to avoid circular import\nconst _formatHandlers: Record<string, (value: any, format: string) => any> = {}\n\nexport function registerFormatHandler(type: string, handler: (value: any, format: string) => any) {\n _formatHandlers[type] = handler\n}\n\nclass CommonBase {\n // constructor() {}\n /**\n * 获取 typeof 类型\n * @param value\n * @returns {string}\n */\n static getTypeof(value: any): string {\n return typeof value;\n }\n private static _toStringCall(value: any): string {\n return Object.prototype.toString.call(value);\n }\n\n static isUndefined(value: any): boolean {\n return this.getTypeof(value) === \"undefined\" || value === null;\n }\n\n static isBoolean(value: any): boolean {\n return this.getTypeof(value) === \"boolean\";\n }\n\n static isString(value: any): boolean {\n return this.getTypeof(value) === \"string\";\n }\n\n static isFunction(value: any): boolean {\n return this.getTypeof(value) === \"function\" && this._toStringCall(value) === \"[object Function]\";\n }\n\n static isObject(value: any): boolean {\n return !this.isUndefined(value) && this.getTypeof(value) === \"object\";\n }\n static isBlob(value: any): boolean {\n return this._toStringCall(value) === \"[object Blob]\";\n }\n static isFile(value: any): boolean {\n return this._toStringCall(value) === \"[object File]\";\n }\n\n static isNumber(value: any): boolean {\n let b = false;\n if (this.isString(value)) {\n return (/^(-)?(([1-9]\\d*)|0)(\\.\\d+)?$/).test(value);\n } else if (this.getTypeof(value) === \"number\") {\n b = true;\n }\n return b;\n }\n\n static isInt(value: number): boolean {\n let check = true;\n if (!this.isEmpty(value)) {\n const reg: any = /^[1-9]\\d*$|^0$/;\n check = reg.test(value.toString());\n }\n return check;\n }\n static isHtml(value: string): boolean {\n return (/^<([a-z][a-z0-9]*)\\b[^>]*>(.*?)<\\/\\1>$/i).test(value);\n }\n static isJson(value: any): boolean {\n let check = false;\n if (this.isString(value)) {\n try {\n const obj = JSON.parse(value);\n if (this.isObject(obj)) {\n check = true;\n }\n } catch (e) { }\n } else if (this.isObject(value)) {\n check = true;\n }\n return check;\n }\n\n static isWindow(obj: any): boolean {\n return !this.isUndefined(obj) && obj === obj.window;\n }\n\n private static _isEmptyObject(value: any): boolean {\n return this.isUndefined(value) ? true : Object.keys(value).length === 0;\n }\n\n static isArray(value: any): boolean {\n return Array.isArray(value) && this._toStringCall(value) === \"[object Array]\";\n }\n static isLocationLngLat(value: any) {\n let b = false;\n if (!this.isEmpty(value)) {\n let arr: any;\n if (this.isString(value)) {\n arr = value.split(\",\");\n } else if (this.isArray(value)) {\n arr = value;\n } else {\n arr = [];\n }\n if (arr.length === 2) {\n const lng = arr[0];\n const lat = arr[1];\n const lngRegex = /^-?(180(\\.0+)?|1[0-7]?\\d?(\\.\\d+)?|[1-9]?\\d?(\\.\\d+)?)$/;\n const latRegex = /^-?(90(\\.0+)?|[1-8]?\\d?(\\.\\d+)?)$/;\n b = lngRegex.test(lng) && latRegex.test(lat);\n }\n }\n return b;\n }\n\n static isEmpty(value: any, def?: any): boolean {\n let b = this.isUndefined(value);\n if (!b) {\n const objType: string = this.getTypeof(value);\n if (this.isString(value)) {\n b = this.trim(value).length === 0;\n } else if (this.isArray(value)) {\n b = value.length === 0;\n } else if (objType === \"object\") {\n if (this.isFile(value)) {\n b = false;\n } else {\n b = this._isEmptyObject(value);\n }\n }\n if (!b && !this.isUndefined(def)) {\n let strValue = value;\n if (this.isNumber(value)) {\n strValue = strValue.toString();\n }\n let strDef = def;\n if (this.isNumber(def)) {\n strDef = strDef.toString();\n }\n b = this.isEqual(strValue, strDef);\n }\n }\n return b;\n }\n\n static isEqual(value1: any, value2: any): boolean {\n return Object.is(value1, value2);\n }\n\n static isEqualArr(arr1: any[], arr2: any[], isInOrder = false): boolean {\n let b = false;\n const isEmpty1 = this.isEmpty(arr1);\n const isEmpty2 = this.isEmpty(arr2);\n if (isEmpty1 && isEmpty2) {\n b = true;\n } else {\n if (arr1.length === arr2.length) {\n b = true;\n if (isInOrder) {\n for (let i = 0; i < arr1.length; i++) {\n if (arr1[i].toString() !== arr2[i].toString()) {\n b = false;\n break;\n }\n }\n } else {\n const json2 = this.getArrConvertJson(arr2);\n for (let i = 0; i < arr1.length; i++) {\n if (!this.isExistJsonKey(json2, arr1[i].toString())) {\n b = false;\n break;\n }\n }\n }\n } else {\n b = false;\n }\n }\n return b;\n }\n\n static isEqualList(list1: any[], list2: any[], key = [\"id\"]): boolean {\n let b = false;\n const isEmpty1 = this.isEmpty(list1);\n const isEmpty2 = this.isEmpty(list2);\n if (isEmpty1 && isEmpty2) {\n b = true;\n } else {\n if (list1.length === list2.length) {\n const arr1: string[] = list1.map(info1 => {\n return key.map((k) => info1[k].toString()).join(\",\");\n });\n b = true;\n list2.some((info2: any) => {\n const k2 = key.map((k) => info2[k].toString()).join(\",\");\n if (!this.isExistValue(arr1, k2)) {\n b = false;\n return true;\n }\n });\n } else {\n b = false;\n }\n }\n return b;\n }\n\n /**\n * 数组1是否包含数组2\n * @param arr1\n * @param arr2\n */\n static isContainArr(arr1: any[], arr2: any[]): boolean {\n let b = false;\n const isEmpty1 = this.isEmpty(arr1);\n const isEmpty2 = this.isEmpty(arr2);\n if (isEmpty1 && isEmpty2) {\n b = true;\n } else {\n if (arr1.length >= arr2.length) {\n b = true;\n arr2.some((v: string) => {\n if (!this.isExistValue(arr1, v)) {\n b = false;\n return true;\n }\n });\n } else {\n b = false;\n }\n }\n return b;\n }\n\n /**\n * 是否存在 大量循环时误用(慢)\n * @param value\n * @param key\n * @returns\n */\n static isExistValue(value: any, key: string): boolean {\n if (this.isUndefined(value)) {\n return false;\n }\n if (value.includes) {\n return value.includes(key);\n }\n return value.indexOf(key) > -1;\n }\n\n /**\n * 是否存在(专用json)\n * @param json\n * @param key\n * @returns\n */\n static isExistJsonKey(json: any, key: string): boolean {\n if (this.isUndefined(json)) {\n return false;\n }\n return Object.prototype.hasOwnProperty.call(json, key);\n }\n /**\n * 操作系统类型 仅浏览器端使用\n * @returns \n */\n static osType() {\n const ua = navigator.userAgent,\n //isWindowsPhone = /(?:Windows Phone)/.test(ua),\n //isSymbian = /(?:SymbianOS)/.test(ua) || isWindowsPhone,\n isAndroid = /(?:Android)/.test(ua),\n isFireFox = /(?:Firefox)/.test(ua),\n //isChrome = /(?:Chrome|CriOS)/.test(ua),\n isTablet = /(?:iPad|PlayBook)/.test(ua) || (isAndroid && !/(?:Mobile)/.test(ua)) || (isFireFox && /(?:Tablet)/.test(ua)),\n isIOS = /(?:iPhone)/.test(ua) && !isTablet,\n isPc = !isIOS && !isAndroid; //&& !isSymbian;\n return {\n isTablet: isTablet,\n isIOS: isIOS,\n isAndroid: isAndroid,\n isMobile: isIOS || isAndroid,\n isPc: isPc,\n };\n }\n /**\n * 移除空格\n * @param value\n * @returns {string}\n */\n static trim(value: any): any {\n if (this.isUndefined(value)) return value;\n const newValue: string = value.toString();\n if (newValue.trim) {\n return newValue.trim();\n }\n return newValue.replace(/^\\s+|\\s+$/gm, \"\");\n }\n\n static split(str: string, sign = \",\"): string[] {\n let newValue: string[];\n if (this.isEmpty(str)) {\n newValue = [];\n } else {\n let newStr = str;\n if (sign === \",\") {\n newStr = newStr.replace(/,/g, \",\");\n }\n newValue = newStr.toString().split(sign);\n }\n return newValue;\n }\n static kebabCase(value: string): string {\n const result = value.replace(/([A-Z])/g, \" $1\").trim();\n return result.split(\" \").join(\"-\").toLowerCase();\n }\n /**\n * 获取字节长度\n * @param {string} str\n * @returns {number}\n */\n static getByteLen(str: string): number {\n let len = 0;\n for (let i = 0; i < str.length; i += 1) {\n const si = str.charAt(i);\n if (si.match(/[^\\x00-\\xff]/ig) !== null) { // eslint-disable-line\n len += 3;\n } else {\n len += 1;\n }\n }\n return len;\n }\n\n /**\n * 复制json\n * @param json {Object}\n * @returns\n */\n static getJsonClone(json: any, isDeep = false, opt: any = {}): any {\n if (isDeep) {\n return this._getJsonCloneDeep(json, opt);\n } else {\n const exclude = this.isUndefined(opt.exclude) ? [] : opt.exclude;\n if (exclude.length === 0) {\n return this.getJsonMerge(json);\n } else {\n const clone: any = {};\n Object.keys(json).forEach((key: any) => {\n if (!this.isExistValue(exclude, key)) {\n clone[key] = json[key];\n }\n });\n return clone;\n }\n }\n }\n\n /**\n * 复制json 深拷贝\n * @param json\n * @returns\n */\n private static _getJsonCloneDeep(json: any, opt: any = {}): any {\n const newJson: any = this.isArray(json) ? [] : {};\n const exclude = this.isUndefined(opt.exclude) ? [] : opt.exclude;\n Object.keys(json).forEach((key: any) => {\n const isCheckExclude = exclude.length === 0 || !this.isExistValue(exclude, key);\n if (isCheckExclude) {\n const value = json[key];\n if (this.isUndefined(value) || !this.isObject(value)) {\n if (this.isArray(value)) {\n newJson[key] = this.getListClone(value, true);\n } else {\n newJson[key] = value;\n }\n } else {\n newJson[key] = this._getJsonCloneDeep(value);\n }\n }\n });\n return newJson;\n }\n\n static getJsonCloneByKeyArr(sourceJson: any, keyArr: string[]): any {\n const tempFormValue: any = {};\n keyArr.forEach(k => {\n const v = sourceJson[k];\n tempFormValue[k] = this.isUndefined(v)\n ? \"\"\n : (this.isObject(v) ? this.getJsonClone(v) : v);\n });\n return tempFormValue;\n }\n\n static getJsonCloneByKeyJson(sourceJson: any, keyJson: any): any {\n const keyArr: string[] = Object.keys(keyJson);\n return this.getJsonCloneByKeyArr(sourceJson, keyArr);\n }\n\n static getJsonCloneByRemoveArr(sourceJson: any, removeArr: string[]): any {\n const temp: any = {};\n if (removeArr.length === 0) {\n return sourceJson;\n }\n Object.keys(sourceJson).forEach((k) => {\n if (!this.isExistValue(removeArr, k)) {\n temp[k] = sourceJson[k];\n }\n });\n return temp;\n }\n\n static getJsonMerge(...target: any): any {\n return Object.assign({}, ...target);\n }\n static getJsonReversal(json: any): any {\n const newJson: any = {};\n Object.keys(json).forEach((k: string) => {\n newJson[json[k]] = k;\n });\n return newJson;\n }\n\n\n static getJsonMergeDeep(...target: any): any {\n const newJson = {};\n const len = target.length;\n for (let i = 0; i < len; i++) {\n this._mergeJsonDeep(newJson, target[i] || {});\n }\n return newJson;\n }\n\n private static _mergeJsonDeep(json1: any, json2: any) {\n Object.keys(json2).forEach((k: any) => {\n const value = json2[k];\n if (this.isUndefined(value)) {\n json1[k] = value;\n } else {\n if (this.isArray(value)) {\n json1[k] = this.getListClone(value, true);\n } else if (this.isObject(value) && this.isExistJsonKey(json1, k)) {\n this._mergeJsonDeep(json1[k], value);\n } else {\n json1[k] = value;\n }\n }\n });\n }\n\n static getJsonMap(json: any, map: any, isDef = false): any {\n const newJson: any = {};\n if (!this.isEmpty(json) && !this._isEmptyObject(map)) {\n for (const [k, v] of Object.entries(map)) {\n let strValue = (v as string).toString();\n let valueType = \"\";\n if (strValue.indexOf(\"|\") > -1) {\n const arrValue = strValue.split(\"|\");\n strValue = arrValue[0];\n valueType = arrValue[1];\n }\n if (strValue.indexOf(\".\") > -1) {\n const arrTemp: string[] = this.split(strValue, \".\");\n let tempValue: any = this.getJsonClone(json, true);\n arrTemp.forEach((vi: string, i: number) => {\n const tt = tempValue[vi];\n const isE = this.isEmpty(tt);\n if (i === arrTemp.length - 1) {\n if (this.isUndefined(tt)) {\n tempValue = isDef ? \"\" : tt;\n } else {\n if (isE) {\n tempValue = \"\";\n } else {\n if (valueType && valueType.length > 0) {\n tempValue = this.isEmpty(tt) ? \"\" : this.getValueByFormat(tt, valueType);\n } else {\n tempValue = tt;\n }\n }\n }\n } else {\n tempValue = isE ? {} : tt;\n }\n });\n newJson[k] = this.isString(tempValue) ? this.trim(tempValue) : tempValue;\n } else {\n if (this.isExistJsonKey(json, strValue)) {\n const value: any = json[strValue];\n let tempValue;\n if (this.isUndefined(value)) {\n tempValue = isDef ? \"\" : value;\n } else {\n if (valueType && valueType.length > 0) {\n tempValue = this.isEmpty(value) ? \"\" : this.getValueByFormat(value, valueType);\n } else {\n tempValue = value;\n }\n }\n newJson[k] = this.isString(tempValue) ? this.trim(tempValue) : tempValue;\n } else {\n if (isDef) {\n newJson[k] = \"\";\n }\n }\n }\n }\n }\n return newJson;\n }\n\n static getJsonByList(list: any, key?: string, isFormat = false): any {\n const json: any = {};\n if (!this.isEmpty(list)) {\n const newKey = key && !this.isEmpty(key) ? key : \"id\";\n list.forEach((info: any) => {\n let k = \"\";\n if (isFormat) {\n if (key) {\n k = this.convertStringFormat(key, info);\n }\n } else {\n k = this.isExistJsonKey(info, newKey) ? info[newKey].toString() : \"\";\n }\n if (k.length > 0) {\n json[k] = this.getJsonClone(info);\n }\n });\n }\n return json;\n }\n static getJsonByArr(arr: string[]): any {\n const json: any = {};\n if (!this.isEmpty(arr)) {\n arr.forEach((k: string) => {\n json[k] = k;\n });\n }\n return json;\n }\n static getGroupByList(list: any, key: string): any {\n const json: any = {};\n if (!this.isEmpty(list)) {\n list.forEach((info: any) => {\n const k = this.isExistJsonKey(info, key) ? info[key].toString() : \"\";\n if (k.length > 0) {\n if (!this.isExistJsonKey(json, k)) {\n json[k] = [];\n }\n json[k].push(this.getJsonClone(info));\n }\n });\n }\n return json;\n }\n\n static getJsonByBlob(blob: any): any {\n return new Promise((resolve, reject) => {\n const reader: any = new FileReader();\n reader.onload = () => {\n try {\n const json = JSON.parse(reader.result);\n resolve(json);\n } catch (error) {\n reject(error);\n }\n };\n reader.onerror = reject;\n reader.readAsText(blob);\n });\n }\n static getBase64ByFile(files: any): any {\n return new Promise((resolve) => {\n if (files.length > 0) {\n const file = files[0];\n if (file instanceof File) {\n const reader = new FileReader();\n reader.onload = (e: any) => {\n resolve(e.target.result);\n };\n reader.readAsDataURL(file);\n } else {\n resolve(\"\");\n }\n } else {\n resolve(\"\");\n }\n });\n }\n /**\n * 获取list 层级结构\n * @param {any[]} list\n * @returns {any}\n */\n static getTreeList(list: any[]): any {\n let tree: any[] = [];\n const topId: string[] = [];\n // const lastChildId: string[] = [];\n const json: any = {};\n const group: any = {};\n if (!this.isEmpty(list)) {\n list.forEach((info: any) => {\n const id = info.id.toString();\n const pId = info.parentId.toString();\n if (pId === \"0\") {\n topId.push(id);\n }\n json[id] = info;\n\n if (!this.isExistJsonKey(group, pId)) {\n group[pId] = [];\n }\n group[pId].push(info);\n });\n topId.forEach((tId: string) => {\n tree = tree.concat(this._recursionChild(tId, group, json));\n });\n }\n return { tree, group, json, list };\n }\n\n static getTreeLastParent(id: string, json: any, isShowSelf = true): any {\n let list = [];\n if (this.isExistJsonKey(json, id)) {\n list = this._recursionParent(id, json);\n if (!isShowSelf) {\n list.splice(0, 1);\n }\n list.reverse();\n }\n return list;\n }\n\n private static _recursionChild(id: string, group: any, json: any): any[] {\n const list: any[] = [];\n const pInfo: any = this.getJsonClone(json[id]);\n if (this.isExistJsonKey(group, id)) {\n pInfo.list = [];\n const data: any[] = group[id];\n data.forEach((info: any) => {\n const cId = info.id.toString();\n pInfo.list = pInfo.list.concat(this._recursionChild(cId, group, json));\n });\n }\n list.push(pInfo);\n return list;\n }\n\n private static _recursionParent(id: string, json: any): any[] {\n let list: any[] = [];\n if (this.isExistJsonKey(json, id)) {\n const info = json[id];\n const pId = info.parentId.toString();\n list.push(info);\n list = list.concat(this._recursionParent(pId, json));\n }\n return list;\n }\n /**\n * 获取list tree转list\n * @param tree \n * @param opt \n * @returns \n */\n static getListByTree(tree: any, opt: any = {}): any {\n const idKey: string = this.isEmpty(opt.idKey) ? \"id\" : opt.idKey;\n const cKey: string = this.isEmpty(opt.cKey) ? \"list\" : opt.cKey;\n const pKey: string = this.isEmpty(opt.pKey) ? \"parentId\" : opt.pKey;\n const topPV: string = this.isEmpty(opt.topPV) ? \"0\" : opt.topPV;\n const list = this._recursionListByTree(tree, topPV, { idKey, cKey, pKey });\n return list;\n }\n private static _recursionListByTree(tree: any[], pId: string, opt: any): any[] {\n const list: any[] = [];\n tree.forEach((info: any) => {\n const temp = this.getJsonClone(info, false, { exclude: [opt.cKey] });\n temp[opt.pKey] = pId;\n const isUndefinedCKey = this.isUndefined(info[opt.cKey]);\n temp.isLastLevel = isUndefinedCKey;\n list.push(temp);\n if (!isUndefinedCKey) {\n const tempList = this._recursionListByTree(info[opt.cKey], temp[opt.idKey], opt);\n list.push(...tempList);\n }\n });\n return list;\n }\n /**\n * 复制list\n * @param list\n */\n static getListClone(list: any, isDeep = false): any {\n if (this.isEmpty(list)) {\n return [];\n }\n return list.map((info: any) => {\n if (this.isObject(info)) {\n return this.getJsonClone(info, isDeep);\n } else {\n return info;\n }\n });\n }\n\n /**\n * list 合并\n * @param newList 新\n * @param oldList 旧\n * @param key id\n * @returns list\n */\n static getListMergeDeep(newList: any[], oldList: any[], key = \"id\"): any {\n const list: any = [];\n if (newList.length > 0) {\n const oldJson = this.getJsonByList(oldList, key);\n newList.forEach((info: any) => {\n let initJson = {};\n let idKey = info[key];\n if (!this.isEmpty(idKey)) {\n idKey = idKey.toString();\n initJson = this.isExistJsonKey(oldJson, idKey) ? oldJson[idKey] : {};\n }\n const newInfo = this.getJsonMergeDeep(initJson, info);\n list.push(newInfo);\n });\n }\n return list;\n }\n\n static getRecursionParentList(json: any, pId: [string, number], pKey = \"parentId\"): any {\n let result: any = [];\n const strPId = pId.toString();\n if (strPId !== \"0\" && this.isExistJsonKey(json, strPId)) {\n const tempInfo = json[strPId];\n result.push(tempInfo);\n const newStrPid = tempInfo[pKey].toString();\n const tempResult: any = this.getRecursionParentList(json, newStrPid);\n if (!this.isEmpty(tempResult)) {\n result = result.concat(tempResult);\n }\n }\n return result;\n }\n static getListExistValue(list: any, value: string, key = \"id\"): any {\n let newInfo: any;\n let inx = -1;\n if (!this.isEmpty(list)) {\n list.forEach((info: any, i: number) => {\n if (this.isExistJsonKey(info, key)) {\n if (info[key].toString() === value.toString()) {\n newInfo = this.getJsonClone(info);\n inx = i;\n }\n }\n });\n }\n return inx === -1 ? null : { info: newInfo, inx };\n }\n /**\n * 复制数组\n * @param arr\n * @returns {Array}\n */\n static getArrClone(arr: any): any {\n return this.isEmpty(arr) ? [] : arr.map((a: any) => a);\n }\n\n static getArrByList(list: any[], key = \"id\") {\n const arr: any = [];\n if (!this.isEmpty(list)) {\n list.forEach((info: any) => {\n if (this.isExistJsonKey(info, key)) {\n arr.push(info[key]);\n }\n });\n }\n return arr;\n }\n\n\n static getArrRemoveById(arr: any, ids: any): string[] {\n if (this.isEmpty(ids)) {\n return arr;\n }\n const newArr: string[] = [];\n const arrParam = this.isArray(ids) ? ids : this.split(ids.toString());\n const jsonParam = this.getArrConvertJson(arrParam);\n arr.forEach((id: string) => {\n const isExist = this.isExistJsonKey(jsonParam, id.toString());\n if (!isExist) {\n newArr.push(id);\n }\n });\n return newArr;\n }\n\n static getArrByMinMax(min = 1, max: number): number[] {\n const arr: number[] = [];\n for (let i = min; i <= max; i += 1) {\n arr.push(i);\n }\n return arr;\n }\n\n /**\n * 数组去重\n * @param arr \n * @returns \n */\n static getArrUnique(arr: any): any {\n const result = [];\n if (arr.length > 0) {\n const hash: any = {};\n let elem = null;\n for (let i = 0; i < arr.length; i += 1) {\n elem = arr[i];\n if (elem !== null && !hash[elem]) {\n result.push(elem);\n hash[elem] = true;\n }\n }\n }\n return result;\n }\n\n static getArrConvertJson(arr: any[]): any {\n const tempFormValue: any = {};\n arr.forEach(a => {\n tempFormValue[a.toString()] = true;\n });\n return tempFormValue;\n }\n\n // //数组排序\n static getArrAsc(arr: any, type: string): any[] {\n let funAsc;\n switch (type) {\n case \"date\":\n funAsc = (a: any, b: any) => { return Date.parse(a) - Date.parse(b); };\n break;\n case \"number\":\n funAsc = (a: number, b: number) => { return a - b; };\n break;\n default: {\n funAsc = (a: string, b: string) => { return this._arrSortString(a.toString(), b.toString()); };\n }\n }\n return arr.sort(funAsc);\n }\n\n static getArrDesc(arr: any, type: string): any[] {\n let funDesc;\n switch (type) {\n case \"date\":\n funDesc = (a: any, b: any) => { return Date.parse(b) - Date.parse(a); };\n break;\n case \"number\":\n funDesc = (a: number, b: number) => { return b - a; };\n break;\n default: {\n funDesc = (a: string, b: string) => { return this._arrSortString(b.toString(), a.toString()); };\n }\n }\n return arr.sort(funDesc);\n }\n\n private static _arrSortString(s1: string, s2: string): number {\n let res = 0;\n for (let i = 0; ; i++) {\n if (!s1[i] || !s2[i]) {\n res = s1.length - s2.length;\n break;\n }\n const char1 = s1[i];\n const char1Type = this._getChartType(char1);\n const char2 = s2[i];\n const char2Type = this._getChartType(char2);\n // 类型相同的逐个比较字符\n if (char1Type[0] === char2Type[0]) {\n if (char1 === char2) {\n continue;\n } else {\n if (char1Type[0] === \"zh\") {\n res = char1.localeCompare(char2);\n } else if (char1Type[0] === \"en\") {\n res = char1.charCodeAt(0) - char2.charCodeAt(0);\n } else {\n res = (char1 as any) - (char2 as any);\n }\n break;\n }\n } else {\n // 类型不同的,直接用返回的数字相减\n res = char1Type[1] - char2Type[1];\n break;\n }\n }\n return res;\n }\n\n private static _getChartType(char: string): [string, number] {\n // 数字,大写字母,小写字母,中文,其他\n if (/^[0-9]$/.test(char)) {\n return [\"number\", 100];\n }\n if (/^[a-zA-Z]$/.test(char)) {\n return [\"en\", 200];\n }\n if (/^[\\u4e00-\\u9fa5]$/.test(char)) {\n return [\"zh\", 300];\n }\n return [\"others\", 999];\n }\n\n static getZeroCount(len: number): string {\n if (len <= 0) { return \"\"; }\n const zero = [];\n for (let i = 0; i < len; i += 1) {\n zero.push(\"0\");\n }\n return zero.join(\"\");\n }\n\n /** 补全零 */\n static getFillZero(value: any, len = 2, around = \"l\"): string {\n const zero = this.getZeroCount(len);\n const strValue = this.isEmpty(value) ? \"\" : value.toString();\n let temp = \"\";\n let result = \"\";\n if (around === \"l\") {\n temp = zero + strValue;\n result = temp.substring(temp.length - len);\n } else {\n temp = strValue.toString() + zero;\n result = temp.substring(0, len);\n }\n return result;\n }\n\n /**\n * 获取随机数\n * @param {number} len\n * @returns {any}\n */\n static getRandom(len = 3): string {\n const lens = len > 0 ? len : 1;\n let r = Math.random();\n r = Math.ceil(r * (10 ** (lens - 1)));\n return this.getFillZero(r, len, \"r\");\n }\n\n /**\n * 指定范围获取随机数\n * @param {number} min\n * @param {number} max\n * @returns {number}\n */\n static getRandomRange(min: number, max: number, isRound = true): number {\n const range = max - min;\n const rand = Math.random();\n return min + (isRound ? Math.round(range * rand) : (range * rand));\n }\n /**\n * 验证码\n */\n static getCaptcha(len = 6) {\n const digits = \"0123456789\";\n let captcha = \"\";\n for (let i = 0; i < len; i++) {\n captcha += digits.charAt(Math.floor(Math.random() * digits.length));\n }\n return captcha;\n }\n /**\n * 字符串格式化(int float2)\n * @param value\n * @param type num int float float2 float3 date dateTime time string intArray\n */\n static getValueByFormat(value: any, type: string, extInfo: any = {}): string {\n let newValue: any;\n switch (type) {\n case \"num\":\n case \"int\":\n case \"float\":\n case \"float2\":\n case \"float3\":\n case \"number\": {\n if (this.isNumber(value)) {\n if (this.isEmpty(value)) {\n const isEmptyDefault = this.isBoolean(extInfo.isEmptyDefault) ? extInfo.isEmptyDefault : true;\n newValue = isEmptyDefault ? \"0\" : value;\n } else {\n let useValue = value.toString();\n useValue = this.isExistValue(useValue, \",\") ? this.removeReplace(useValue) : useValue;\n if (type === \"number\") {\n newValue = Number(useValue);\n } else {\n let fixedNum = 0;\n if (type === \"num\") {\n fixedNum = this.isExistValue(useValue, \".\") ? 2 : 0;\n } else if (type === \"int\") {\n fixedNum = 0;\n } else if (type === \"float\") {\n if (this.isNumber(extInfo.decimalNum)) {\n fixedNum = parseInt(extInfo.decimalNum);\n }\n } else if (type === \"float2\") {\n fixedNum = 2;\n } else if (type === \"float3\") {\n fixedNum = 3;\n }\n const isRounding = this.isBoolean(extInfo.isRounding) ? extInfo.isRounding : true;\n if (isRounding) {\n newValue = parseFloat(useValue).toFixed(fixedNum);\n } else {\n if (fixedNum > 0) {\n const temp = useValue.split(\".\");\n const len = temp[1].length;\n newValue = temp[0] + \".\" + temp[1].substring(0, len > fixedNum ? fixedNum : len);\n } else {\n newValue = parseInt(useValue).toString();\n }\n }\n newValue = Number(newValue).toFixed(fixedNum);\n const isThousands = this.isBoolean(extInfo.isThousands) ? extInfo.isThousands : true;\n if (isThousands) {\n newValue = this.getFormatThousands(newValue);\n }\n }\n }\n } else {\n newValue = value;\n }\n break;\n }\n case \"date\":\n case \"dateTime\":\n case \"time\": {\n if (this.isEmpty(value)) {\n newValue = value;\n } else {\n let newFormat = \"\";\n if (this.isEmpty(extInfo.dateFormat)) {\n if (type === \"dateTime\") {\n newFormat = \"YYYY-MM-DD HH:mm:ss\";\n } else if (type === \"time\") {\n newFormat = \"HH:mm:ss\";\n } else {\n newFormat = \"YYYY-MM-DD\";\n }\n } else {\n newFormat = extInfo.dateFormat;\n }\n const handler = _formatHandlers[type]\n if (handler) {\n newValue = handler(value, newFormat)\n } else {\n newValue = value\n }\n }\n break;\n }\n case \"string\":\n newValue = value.toString();\n break;\n case \"intArray\":\n newValue = value.split(\",\").map((id: string) => parseInt(id));\n break;\n default:\n newValue = value;\n }\n return newValue;\n }\n\n /**\n * 小时格式\n * @param start 开始\n * @param end 结束\n * @returns 格式: 01:00-02:59\n */\n static getHourInterval(start: any, end: any = \"\"): string {\n const newE = this.isEmpty(end) ? start : end;\n return `${this.getFillZero(start)}:00-${this.getFillZero(newE)}:59`;\n }\n\n /** 转化千分位 */\n static getFormatThousands(value: any): string {\n if (!this.isNumber(value)) {\n return \"\";\n }\n const arrNum = this.split(value.toString(), \".\");\n return arrNum[0].replace(/(\\d{1,3})(?=(?:\\d{3})+(?!\\d))/g, \"$1,\") + (arrNum.length > 1 ? (`.${arrNum[1]}`) : \"\");\n }\n\n /**\n * 指定位 数字加一,位之后零补充\n * @param value 值\n * @param opt inxPos(第几位 默认第二位) isCeil(最后数字是否ceil) isRounding(是否四舍五入,优先isCeil) isEndFive (最后数字是否5/0)\n * @returns\n */\n static getNumCeil(value: any, opt: any = {}): number {\n /* if (inxPos <= 0) {\n return Math.ceil(value);\n } */\n if (!this.isNumber(value)) {\n return 0;\n }\n const numValue = Number(value);\n const isMinus = numValue < 0;\n const absValue = Math.abs(numValue);\n if (absValue === 0) {\n return 0;\n }\n const isLess1 = absValue < 1;\n let zeroLenL = 0;\n let strValue = absValue.toString();\n let indexDot = -1;\n if (isLess1) {\n indexDot = -1;\n if (absValue > 0) {\n const tempLess1 = strValue.split(\".\")[1];\n strValue = Number(tempLess1).toString();\n zeroLenL = tempLess1.length - strValue.length;\n }\n } else {\n zeroLenL = 0;\n indexDot = strValue.indexOf(\".\");\n if (indexDot > -1) {\n strValue = strValue.replace(\".\", \"\");\n }\n }\n\n const isCeil = this.isBoolean(opt.isCeil) ? opt.isCeil : true;\n const inxPos = this.isUndefined(opt.inxPos) ? 2 : parseInt(opt.inxPos);\n const isEndFive = this.isBoolean(opt.isEndFive) ? opt.isEndFive : false;\n const isRounding = this.isBoolean(opt.isRounding) ? opt.isRounding : false;\n\n // 拆分\n let l;\n let r = \"\";\n if (inxPos < strValue.length) {\n l = strValue.substring(0, inxPos);\n r = strValue.substring(inxPos);\n } else {\n l = strValue;\n }\n\n /// 左\n let newL = \"\";\n const strL = isCeil || (isRounding && r.length > 0 && parseInt(r.substring(0, 1)) >= 5)\n ? (parseInt(l) + 1).toString()\n : parseInt(l).toString();\n const lastL = parseInt(strL.substring(strL.length - 1));\n if (isEndFive) {\n // 四舍六入五保留\n if (lastL === 5 || lastL === 0) {\n newL = strL;\n } else {\n const f = parseInt(strL.substring(0, inxPos - 1));\n if (lastL > 5) {\n newL = `${f + 1}0`;\n } else if (lastL < 5) {\n newL = `${f}5`;\n }\n if (strL.length > inxPos && newL.length === inxPos) {\n newL = `${newL}0`;\n }\n }\n } else {\n newL = strL;\n }\n\n /// 右\n let newR = \"\";\n let zeroLenR = 0;\n if (indexDot === -1) {\n zeroLenR = r.length;\n } else {\n if (indexDot < inxPos) {\n zeroLenR = 0;\n newL = (Number(newL) / ((inxPos - indexDot) * 10)).toString();\n } else if (indexDot > inxPos) {\n zeroLenR = indexDot - inxPos;\n }\n }\n newR = this.getZeroCount(zeroLenR);\n\n if (isLess1) {\n const zeroL = this.getZeroCount(zeroLenL);\n newL = `0.${zeroL}${newL}`;\n }\n const newValue = newL + newR;\n\n return Number(newValue) * (isMinus ? -1 : 1);\n }\n\n static removeReplace(value: any, key = \",\") {\n if (this.isUndefined(value)) {\n return \"\";\n }\n const reg = new RegExp(`[${key}]`, \"g\");\n return value.toString().replace(reg, \"\");\n }\n\n /**\n * 转换空为零\n * @param json \n * @param mapKey \n * @param optExt \n * @returns \n */\n static conversionEmptyZero(json: any, mapKey: string[], optExt?: any) {\n const newJson = json;\n if (!this.isEmpty(mapKey)) {\n let defEmpty: any = 0;\n let defUndefined: any = 0;\n if (optExt) {\n let newOptExt: any = {};\n if (this.isString(optExt)) {\n newOptExt.emptyDef = optExt;\n } else if (this.isObject(optExt)) {\n newOptExt = optExt;\n }\n const isEmptyExtUndefinedDef = this.isEmpty(newOptExt.undefinedDef);\n if (!isEmptyExtUndefinedDef) {\n defUndefined = newOptExt.undefinedDef;\n }\n if (!this.isEmpty(newOptExt.emptyDef)) {\n defEmpty = newOptExt.emptyDef;\n if (isEmptyExtUndefinedDef) {\n defUndefined = newOptExt.emptyDef;\n }\n }\n }\n mapKey.forEach((k: string) => {\n if (this.isEmpty(json[k])) {\n if (this.isUndefined(json[k])) {\n newJson[k] = defUndefined;\n } else {\n newJson[k] = defEmpty;\n }\n }\n });\n }\n return newJson;\n }\n /**\n * 转换百分比\n * @param {any} json\n * @param {string[]} mapKey\n */\n static conversionPercentage(json: any, mapKey: string[], isMultiply = true) {\n const newJson = json;\n if (!this.isEmpty(mapKey)) {\n mapKey.forEach((k: string) => {\n const v = json[k];\n if (this.isEmpty(v)) {\n newJson[k] = 0;\n } else {\n if (this.isNumber(v)) {\n newJson[k] = isMultiply\n ? v * 100\n : v / 100;\n } else {\n newJson[k] = v;\n }\n }\n });\n }\n return newJson;\n }\n\n /**\n * 转换格式化的字符串\n * @param {string} strFormat\n * @param {any} json\n * @returns {string}\n */\n static convertStringFormat(strFormat: string, json: any): string {\n let newStr = strFormat;\n if (!this.isEmpty(json)) {\n newStr = strFormat.replace(/[$]{[^}]+}/g, ($1) => {\n const k = $1.replace(\"${\", \"\").replace(\"}\", \"\");\n return this.isExistJsonKey(json, k) ? json[k] : $1;\n });\n }\n return newStr;\n }\n\n static getQueryString(url: string, name: string): string {\n const reg: any = new RegExp(`(^|&)${name}=([^&]*)(&|$)`, \"i\");\n const r: any = url.substring(url.indexOf(\"?\") + 1).match(reg);\n if (r !== null) return decodeURI(r[2]);\n return \"\";\n }\n\n static getQueryStringByHash(name: string): string {\n return this.getQueryString(window.location.hash, name);\n }\n\n static encodeHTML(source: string) {\n return String(source)\n .replace(/&/g, \"&amp;\")\n .replace(/</g, \"&lt;\")\n .replace(/>/g, \"&gt;\")\n .replace(/\"/g, \"&quot;\")\n .replace(/'/g, \"&#39;\");\n }\n static removeHTMLTags(str: string) {\n return str.replace(/<[^>]*>/g, \"\");\n }\n\n static requestAnimationFrame(nextCb: any) {\n const rAF = window.requestAnimationFrame\n || (window as any).webkitRequestAnimationFrame\n || (window as any).mozRequestAnimationFrame\n || (window as any).oRequestAnimationFrame\n || (window as any).msRequestAnimationFrame;\n if (rAF) {\n return rAF.call(window, nextCb);\n }\n return window.setTimeout(nextCb, 1000 / 60);\n }\n\n static cancelAnimationFrame(handle: any) {\n const cAF = window.cancelAnimationFrame\n || (window as any).webkitCancelAnimationFrame\n || (window as any).mozCancelAnimationFrame\n || (window as any).oCancelAnimationFrame\n || (window as any).msCancelAnimationFrame;\n if (cAF) {\n cAF.call(window, handle);\n } else {\n window.clearTimeout(handle);\n }\n }\n}\nexport default CommonBase;\n"],"names":["_formatHandlers","registerFormatHandler","type","handler","CommonBase","value","b","check","obj","arr","lng","lat","lngRegex","latRegex","def","objType","strValue","strDef","value1","value2","arr1","arr2","isInOrder","isEmpty1","isEmpty2","i","json2","list1","list2","key","info1","k","info2","k2","v","json","ua","isAndroid","isFireFox","isTablet","isIOS","newValue","str","sign","newStr","len","isDeep","opt","exclude","clone","newJson","sourceJson","keyArr","tempFormValue","keyJson","removeArr","temp","target","json1","map","isDef","valueType","arrValue","arrTemp","tempValue","vi","tt","isE","list","isFormat","newKey","info","blob","resolve","reject","reader","error","files","file","e","tree","topId","group","id","pId","tId","isShowSelf","pInfo","cId","idKey","cKey","pKey","topPV","isUndefinedCKey","tempList","newList","oldList","oldJson","initJson","newInfo","result","strPId","tempInfo","newStrPid","tempResult","inx","a","ids","newArr","arrParam","jsonParam","min","max","hash","elem","funAsc","funDesc","s1","s2","res","char1","char1Type","char2","char2Type","char","zero","around","lens","r","isRound","range","rand","digits","captcha","extInfo","useValue","fixedNum","newFormat","start","end","newE","arrNum","numValue","isMinus","absValue","isLess1","zeroLenL","indexDot","tempLess1","isCeil","inxPos","isEndFive","isRounding","l","newL","strL","lastL","f","newR","zeroLenR","reg","mapKey","optExt","defEmpty","defUndefined","newOptExt","isEmptyExtUndefinedDef","isMultiply","strFormat","$1","url","name","source","nextCb","rAF","handle","cAF"],"mappings":"AACA,MAAMA,IAAuE,CAAA;AAEtE,SAASC,EAAsBC,GAAcC,GAA8C;AAChG,EAAAH,EAAgBE,CAAI,IAAIC;AAC1B;AAEA,MAAMC,EAAW;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOb,OAAO,UAAUC,GAAoB;AACjC,WAAO,OAAOA;AAAA,EAClB;AAAA,EACA,OAAe,cAAcA,GAAoB;AAC7C,WAAO,OAAO,UAAU,SAAS,KAAKA,CAAK;AAAA,EAC/C;AAAA,EAEA,OAAO,YAAYA,GAAqB;AACpC,WAA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GAAa;AAC/B,WAAOA,EAAI,QAAQ,YAAY,EAAE;AAAA,EACrC;AAAA,EAEA,OAAO,sBAAsBmI,GAAa;AACtC,UAAMC,IAAM,OAAO,yBACX,OAAe,+BACf,OAAe,4BACf,OAAe,0BACf,OAAe;AACvB,WAAIA,IACOA,EAAI,KAAK,QAAQD,CAAM,IAE3B,OAAO,WAAWA,GAAQ,MAAO,EAAE;AAAA,EAC9C;AAAA,EAEA,OAAO,qBAAqBE,GAAa;AACrC,UAAMC,IAAM,OAAO,wBACX,OAAe,8BACf,OAAe,2BACf,OAAe,yBACf,OAAe;AACvB,IAAIA,IACAA,EAAI,KAAK,QAAQD,CAAM,IAEvB,OAAO,aAAaA,CAAM;AAAA,EAElC;AACJ;"}
@@ -1,2 +0,0 @@
1
- "use strict";const J={};function A(S,t){J[S]=t}class F{static getTypeof(t){return typeof t}static _toStringCall(t){return Object.prototype.toString.call(t)}static isUndefined(t){return this.getTypeof(t)==="undefined"||t===null}static isBoolean(t){return this.getTypeof(t)==="boolean"}static isString(t){return this.getTypeof(t)==="string"}static isFunction(t){return this.getTypeof(t)==="function"&&this._toStringCall(t)==="[object Function]"}static isObject(t){return!this.isUndefined(t)&&this.getTypeof(t)==="object"}static isBlob(t){return this._toStringCall(t)==="[object Blob]"}static isFile(t){return this._toStringCall(t)==="[object File]"}static isNumber(t){let e=!1;return this.isString(t)?/^(-)?(([1-9]\d*)|0)(\.\d+)?$/.test(t):(this.getTypeof(t)==="number"&&(e=!0),e)}static isInt(t){let e=!0;return this.isEmpty(t)||(e=/^[1-9]\d*$|^0$/.test(t.toString())),e}static isHtml(t){return/^<([a-z][a-z0-9]*)\b[^>]*>(.*?)<\/\1>$/i.test(t)}static isJson(t){let e=!1;if(this.isString(t))try{const s=JSON.parse(t);this.isObject(s)&&(e=!0)}catch{}else this.isObject(t)&&(e=!0);return e}static isWindow(t){return!this.isUndefined(t)&&t===t.window}static _isEmptyObject(t){return this.isUndefined(t)?!0:Object.keys(t).length===0}static isArray(t){return Array.isArray(t)&&this._toStringCall(t)==="[object Array]"}static isLocationLngLat(t){let e=!1;if(!this.isEmpty(t)){let s;if(this.isString(t)?s=t.split(","):this.isArray(t)?s=t:s=[],s.length===2){const i=s[0],n=s[1],r=/^-?(180(\.0+)?|1[0-7]?\d?(\.\d+)?|[1-9]?\d?(\.\d+)?)$/,o=/^-?(90(\.0+)?|[1-8]?\d?(\.\d+)?)$/;e=r.test(i)&&o.test(n)}}return e}static isEmpty(t,e){let s=this.isUndefined(t);if(!s){const i=this.getTypeof(t);if(this.isString(t)?s=this.trim(t).length===0:this.isArray(t)?s=t.length===0:i==="object"&&(this.isFile(t)?s=!1:s=this._isEmptyObject(t)),!s&&!this.isUndefined(e)){let n=t;this.isNumber(t)&&(n=n.toString());let r=e;this.isNumber(e)&&(r=r.toString()),s=this.isEqual(n,r)}}return s}static isEqual(t,e){return Object.is(t,e)}static isEqualArr(t,e,s=!1){let i=!1;const n=this.isEmpty(t),r=this.isEmpty(e);if(n&&r)i=!0;else if(t.length===e.length)if(i=!0,s){for(let o=0;o<t.length;o++)if(t[o].toString()!==e[o].toString()){i=!1;break}}else{const o=this.getArrConvertJson(e);for(let c=0;c<t.length;c++)if(!this.isExistJsonKey(o,t[c].toString())){i=!1;break}}else i=!1;return i}static isEqualList(t,e,s=["id"]){let i=!1;const n=this.isEmpty(t),r=this.isEmpty(e);if(n&&r)i=!0;else if(t.length===e.length){const o=t.map(c=>s.map(a=>c[a].toString()).join(","));i=!0,e.some(c=>{const a=s.map(l=>c[l].toString()).join(",");if(!this.isExistValue(o,a))return i=!1,!0})}else i=!1;return i}static isContainArr(t,e){let s=!1;const i=this.isEmpty(t),n=this.isEmpty(e);return i&&n?s=!0:t.length>=e.length?(s=!0,e.some(r=>{if(!this.isExistValue(t,r))return s=!1,!0})):s=!1,s}static isExistValue(t,e){return this.isUndefined(t)?!1:t.includes?t.includes(e):t.indexOf(e)>-1}static isExistJsonKey(t,e){return this.isUndefined(t)?!1:Object.prototype.hasOwnProperty.call(t,e)}static osType(){const t=navigator.userAgent,e=/(?:Android)/.test(t),s=/(?:Firefox)/.test(t),i=/(?:iPad|PlayBook)/.test(t)||e&&!/(?:Mobile)/.test(t)||s&&/(?:Tablet)/.test(t),n=/(?:iPhone)/.test(t)&&!i;return{isTablet:i,isIOS:n,isAndroid:e,isMobile:n||e,isPc:!n&&!e}}static trim(t){if(this.isUndefined(t))return t;const e=t.toString();return e.trim?e.trim():e.replace(/^\s+|\s+$/gm,"")}static split(t,e=","){let s;if(this.isEmpty(t))s=[];else{let i=t;e===","&&(i=i.replace(/,/g,",")),s=i.toString().split(e)}return s}static kebabCase(t){return t.replace(/([A-Z])/g," $1").trim().split(" ").join("-").toLowerCase()}static getByteLen(t){let e=0;for(let s=0;s<t.length;s+=1)t.charAt(s).match(/[^\x00-\xff]/ig)!==null?e+=3:e+=1;return e}static getJsonClone(t,e=!1,s={}){if(e)return this._getJsonCloneDeep(t,s);{const i=this.isUndefined(s.exclude)?[]:s.exclude;if(i.length===0)return this.getJsonMerge(t);{const n={};return Object.keys(t).forEach(r=>{this.isExistValue(i,r)||(n[r]=t[r])}),n}}}static _getJsonCloneDeep(t,e={}){const s=this.isArray(t)?[]:{},i=this.isUndefined(e.exclude)?[]:e.exclude;return Object.keys(t).forEach(n=>{if(i.length===0||!this.isExistValue(i,n)){const o=t[n];this.isUndefined(o)||!this.isObject(o)?this.isArray(o)?s[n]=this.getListClone(o,!0):s[n]=o:s[n]=this._getJsonCloneDeep(o)}}),s}static getJsonCloneByKeyArr(t,e){const s={};return e.forEach(i=>{const n=t[i];s[i]=this.isUndefined(n)?"":this.isObject(n)?this.getJsonClone(n):n}),s}static getJsonCloneByKeyJson(t,e){const s=Object.keys(e);return this.getJsonCloneByKeyArr(t,s)}static getJsonCloneByRemoveArr(t,e){const s={};return e.length===0?t:(Object.keys(t).forEach(i=>{this.isExistValue(e,i)||(s[i]=t[i])}),s)}static getJsonMerge(...t){return Object.assign({},...t)}static getJsonReversal(t){const e={};return Object.keys(t).forEach(s=>{e[t[s]]=s}),e}static getJsonMergeDeep(...t){const e={},s=t.length;for(let i=0;i<s;i++)this._mergeJsonDeep(e,t[i]||{});return e}static _mergeJsonDeep(t,e){Object.keys(e).forEach(s=>{const i=e[s];this.isUndefined(i)?t[s]=i:this.isArray(i)?t[s]=this.getListClone(i,!0):this.isObject(i)&&this.isExistJsonKey(t,s)?this._mergeJsonDeep(t[s],i):t[s]=i})}static getJsonMap(t,e,s=!1){const i={};if(!this.isEmpty(t)&&!this._isEmptyObject(e))for(const[n,r]of Object.entries(e)){let o=r.toString(),c="";if(o.indexOf("|")>-1){const a=o.split("|");o=a[0],c=a[1]}if(o.indexOf(".")>-1){const a=this.split(o,".");let l=this.getJsonClone(t,!0);a.forEach((h,b)=>{const f=l[h],g=this.isEmpty(f);b===a.length-1?this.isUndefined(f)?l=s?"":f:g?l="":c&&c.length>0?l=this.isEmpty(f)?"":this.getValueByFormat(f,c):l=f:l=g?{}:f}),i[n]=this.isString(l)?this.trim(l):l}else if(this.isExistJsonKey(t,o)){const a=t[o];let l;this.isUndefined(a)?l=s?"":a:c&&c.length>0?l=this.isEmpty(a)?"":this.getValueByFormat(a,c):l=a,i[n]=this.isString(l)?this.trim(l):l}else s&&(i[n]="")}return i}static getJsonByList(t,e,s=!1){const i={};if(!this.isEmpty(t)){const n=e&&!this.isEmpty(e)?e:"id";t.forEach(r=>{let o="";s?e&&(o=this.convertStringFormat(e,r)):o=this.isExistJsonKey(r,n)?r[n].toString():"",o.length>0&&(i[o]=this.getJsonClone(r))})}return i}static getJsonByArr(t){const e={};return this.isEmpty(t)||t.forEach(s=>{e[s]=s}),e}static getGroupByList(t,e){const s={};return this.isEmpty(t)||t.forEach(i=>{const n=this.isExistJsonKey(i,e)?i[e].toString():"";n.length>0&&(this.isExistJsonKey(s,n)||(s[n]=[]),s[n].push(this.getJsonClone(i)))}),s}static getJsonByBlob(t){return new Promise((e,s)=>{const i=new FileReader;i.onload=()=>{try{const n=JSON.parse(i.result);e(n)}catch(n){s(n)}},i.onerror=s,i.readAsText(t)})}static getBase64ByFile(t){return new Promise(e=>{if(t.length>0){const s=t[0];if(s instanceof File){const i=new FileReader;i.onload=n=>{e(n.target.result)},i.readAsDataURL(s)}else e("")}else e("")})}static getTreeList(t){let e=[];const s=[],i={},n={};return this.isEmpty(t)||(t.forEach(r=>{const o=r.id.toString(),c=r.parentId.toString();c==="0"&&s.push(o),i[o]=r,this.isExistJsonKey(n,c)||(n[c]=[]),n[c].push(r)}),s.forEach(r=>{e=e.concat(this._recursionChild(r,n,i))})),{tree:e,group:n,json:i,list:t}}static getTreeLastParent(t,e,s=!0){let i=[];return this.isExistJsonKey(e,t)&&(i=this._recursionParent(t,e),s||i.splice(0,1),i.reverse()),i}static _recursionChild(t,e,s){const i=[],n=this.getJsonClone(s[t]);return this.isExistJsonKey(e,t)&&(n.list=[],e[t].forEach(o=>{const c=o.id.toString();n.list=n.list.concat(this._recursionChild(c,e,s))})),i.push(n),i}static _recursionParent(t,e){let s=[];if(this.isExistJsonKey(e,t)){const i=e[t],n=i.parentId.toString();s.push(i),s=s.concat(this._recursionParent(n,e))}return s}static getListByTree(t,e={}){const s=this.isEmpty(e.idKey)?"id":e.idKey,i=this.isEmpty(e.cKey)?"list":e.cKey,n=this.isEmpty(e.pKey)?"parentId":e.pKey,r=this.isEmpty(e.topPV)?"0":e.topPV;return this._recursionListByTree(t,r,{idKey:s,cKey:i,pKey:n})}static _recursionListByTree(t,e,s){const i=[];return t.forEach(n=>{const r=this.getJsonClone(n,!1,{exclude:[s.cKey]});r[s.pKey]=e;const o=this.isUndefined(n[s.cKey]);if(r.isLastLevel=o,i.push(r),!o){const c=this._recursionListByTree(n[s.cKey],r[s.idKey],s);i.push(...c)}}),i}static getListClone(t,e=!1){return this.isEmpty(t)?[]:t.map(s=>this.isObject(s)?this.getJsonClone(s,e):s)}static getListMergeDeep(t,e,s="id"){const i=[];if(t.length>0){const n=this.getJsonByList(e,s);t.forEach(r=>{let o={},c=r[s];this.isEmpty(c)||(c=c.toString(),o=this.isExistJsonKey(n,c)?n[c]:{});const a=this.getJsonMergeDeep(o,r);i.push(a)})}return i}static getRecursionParentList(t,e,s="parentId"){let i=[];const n=e.toString();if(n!=="0"&&this.isExistJsonKey(t,n)){const r=t[n];i.push(r);const o=r[s].toString(),c=this.getRecursionParentList(t,o);this.isEmpty(c)||(i=i.concat(c))}return i}static getListExistValue(t,e,s="id"){let i,n=-1;return this.isEmpty(t)||t.forEach((r,o)=>{this.isExistJsonKey(r,s)&&r[s].toString()===e.toString()&&(i=this.getJsonClone(r),n=o)}),n===-1?null:{info:i,inx:n}}static getArrClone(t){return this.isEmpty(t)?[]:t.map(e=>e)}static getArrByList(t,e="id"){const s=[];return this.isEmpty(t)||t.forEach(i=>{this.isExistJsonKey(i,e)&&s.push(i[e])}),s}static getArrRemoveById(t,e){if(this.isEmpty(e))return t;const s=[],i=this.isArray(e)?e:this.split(e.toString()),n=this.getArrConvertJson(i);return t.forEach(r=>{this.isExistJsonKey(n,r.toString())||s.push(r)}),s}static getArrByMinMax(t=1,e){const s=[];for(let i=t;i<=e;i+=1)s.push(i);return s}static getArrUnique(t){const e=[];if(t.length>0){const s={};let i=null;for(let n=0;n<t.length;n+=1)i=t[n],i!==null&&!s[i]&&(e.push(i),s[i]=!0)}return e}static getArrConvertJson(t){const e={};return t.forEach(s=>{e[s.toString()]=!0}),e}static getArrAsc(t,e){let s;switch(e){case"date":s=(i,n)=>Date.parse(i)-Date.parse(n);break;case"number":s=(i,n)=>i-n;break;default:s=(i,n)=>this._arrSortString(i.toString(),n.toString())}return t.sort(s)}static getArrDesc(t,e){let s;switch(e){case"date":s=(i,n)=>Date.parse(n)-Date.parse(i);break;case"number":s=(i,n)=>n-i;break;default:s=(i,n)=>this._arrSortString(n.toString(),i.toString())}return t.sort(s)}static _arrSortString(t,e){let s=0;for(let i=0;;i++){if(!t[i]||!e[i]){s=t.length-e.length;break}const n=t[i],r=this._getChartType(n),o=e[i],c=this._getChartType(o);if(r[0]===c[0]){if(n===o)continue;r[0]==="zh"?s=n.localeCompare(o):r[0]==="en"?s=n.charCodeAt(0)-o.charCodeAt(0):s=n-o;break}else{s=r[1]-c[1];break}}return s}static _getChartType(t){return/^[0-9]$/.test(t)?["number",100]:/^[a-zA-Z]$/.test(t)?["en",200]:/^[\u4e00-\u9fa5]$/.test(t)?["zh",300]:["others",999]}static getZeroCount(t){if(t<=0)return"";const e=[];for(let s=0;s<t;s+=1)e.push("0");return e.join("")}static getFillZero(t,e=2,s="l"){const i=this.getZeroCount(e),n=this.isEmpty(t)?"":t.toString();let r="",o="";return s==="l"?(r=i+n,o=r.substring(r.length-e)):(r=n.toString()+i,o=r.substring(0,e)),o}static getRandom(t=3){const e=t>0?t:1;let s=Math.random();return s=Math.ceil(s*10**(e-1)),this.getFillZero(s,t,"r")}static getRandomRange(t,e,s=!0){const i=e-t,n=Math.random();return t+(s?Math.round(i*n):i*n)}static getCaptcha(t=6){const e="0123456789";let s="";for(let i=0;i<t;i++)s+=e.charAt(Math.floor(Math.random()*e.length));return s}static getValueByFormat(t,e,s={}){let i;switch(e){case"num":case"int":case"float":case"float2":case"float3":case"number":{if(this.isNumber(t))if(this.isEmpty(t))i=(this.isBoolean(s.isEmptyDefault)?s.isEmptyDefault:!0)?"0":t;else{let n=t.toString();if(n=this.isExistValue(n,",")?this.removeReplace(n):n,e==="number")i=Number(n);else{let r=0;if(e==="num"?r=this.isExistValue(n,".")?2:0:e==="int"?r=0:e==="float"?this.isNumber(s.decimalNum)&&(r=parseInt(s.decimalNum)):e==="float2"?r=2:e==="float3"&&(r=3),this.isBoolean(s.isRounding)?s.isRounding:!0)i=parseFloat(n).toFixed(r);else if(r>0){const a=n.split("."),l=a[1].length;i=a[0]+"."+a[1].substring(0,l>r?r:l)}else i=parseInt(n).toString();i=Number(i).toFixed(r),(this.isBoolean(s.isThousands)?s.isThousands:!0)&&(i=this.getFormatThousands(i))}}else i=t;break}case"date":case"dateTime":case"time":{if(this.isEmpty(t))i=t;else{let n="";this.isEmpty(s.dateFormat)?e==="dateTime"?n="YYYY-MM-DD HH:mm:ss":e==="time"?n="HH:mm:ss":n="YYYY-MM-DD":n=s.dateFormat;const r=J[e];r?i=r(t,n):i=t}break}case"string":i=t.toString();break;case"intArray":i=t.split(",").map(n=>parseInt(n));break;default:i=t}return i}static getHourInterval(t,e=""){const s=this.isEmpty(e)?t:e;return`${this.getFillZero(t)}:00-${this.getFillZero(s)}:59`}static getFormatThousands(t){if(!this.isNumber(t))return"";const e=this.split(t.toString(),".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?`.${e[1]}`:"")}static getNumCeil(t,e={}){if(!this.isNumber(t))return 0;const s=Number(t),i=s<0,n=Math.abs(s);if(n===0)return 0;const r=n<1;let o=0,c=n.toString(),a=-1;if(r){if(a=-1,n>0){const d=c.split(".")[1];c=Number(d).toString(),o=d.length-c.length}}else o=0,a=c.indexOf("."),a>-1&&(c=c.replace(".",""));const l=this.isBoolean(e.isCeil)?e.isCeil:!0,h=this.isUndefined(e.inxPos)?2:parseInt(e.inxPos),b=this.isBoolean(e.isEndFive)?e.isEndFive:!1,f=this.isBoolean(e.isRounding)?e.isRounding:!1;let g,p="";h<c.length?(g=c.substring(0,h),p=c.substring(h)):g=c;let u="";const m=l||f&&p.length>0&&parseInt(p.substring(0,1))>=5?(parseInt(g)+1).toString():parseInt(g).toString(),y=parseInt(m.substring(m.length-1));if(b)if(y===5||y===0)u=m;else{const d=parseInt(m.substring(0,h-1));y>5?u=`${d+1}0`:y<5&&(u=`${d}5`),m.length>h&&u.length===h&&(u=`${u}0`)}else u=m;let w="",E=0;a===-1?E=p.length:a<h?(E=0,u=(Number(u)/((h-a)*10)).toString()):a>h&&(E=a-h),w=this.getZeroCount(E),r&&(u=`0.${this.getZeroCount(o)}${u}`);const C=u+w;return Number(C)*(i?-1:1)}static removeReplace(t,e=","){if(this.isUndefined(t))return"";const s=new RegExp(`[${e}]`,"g");return t.toString().replace(s,"")}static conversionEmptyZero(t,e,s){const i=t;if(!this.isEmpty(e)){let n=0,r=0;if(s){let o={};this.isString(s)?o.emptyDef=s:this.isObject(s)&&(o=s);const c=this.isEmpty(o.undefinedDef);c||(r=o.undefinedDef),this.isEmpty(o.emptyDef)||(n=o.emptyDef,c&&(r=o.emptyDef))}e.forEach(o=>{this.isEmpty(t[o])&&(this.isUndefined(t[o])?i[o]=r:i[o]=n)})}return i}static conversionPercentage(t,e,s=!0){const i=t;return this.isEmpty(e)||e.forEach(n=>{const r=t[n];this.isEmpty(r)?i[n]=0:this.isNumber(r)?i[n]=s?r*100:r/100:i[n]=r}),i}static convertStringFormat(t,e){let s=t;return this.isEmpty(e)||(s=t.replace(/[$]{[^}]+}/g,i=>{const n=i.replace("${","").replace("}","");return this.isExistJsonKey(e,n)?e[n]:i})),s}static getQueryString(t,e){const s=new RegExp(`(^|&)${e}=([^&]*)(&|$)`,"i"),i=t.substring(t.indexOf("?")+1).match(s);return i!==null?decodeURI(i[2]):""}static getQueryStringByHash(t){return this.getQueryString(window.location.hash,t)}static encodeHTML(t){return String(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}static removeHTMLTags(t){return t.replace(/<[^>]*>/g,"")}static requestAnimationFrame(t){const e=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame;return e?e.call(window,t):window.setTimeout(t,1e3/60)}static cancelAnimationFrame(t){const e=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame;e?e.call(window,t):window.clearTimeout(t)}}exports.CommonBase=F;exports.registerFormatHandler=A;
2
- //# sourceMappingURL=base-iCmnU-fv.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base-iCmnU-fv.cjs","sources":["../../src/libs/Common/base.ts"],"sourcesContent":["// Format handler registry — registered by day.ts to avoid circular import\nconst _formatHandlers: Record<string, (value: any, format: string) => any> = {}\n\nexport function registerFormatHandler(type: string, handler: (value: any, format: string) => any) {\n _formatHandlers[type] = handler\n}\n\nclass CommonBase {\n // constructor() {}\n /**\n * 获取 typeof 类型\n * @param value\n * @returns {string}\n */\n static getTypeof(value: any): string {\n return typeof value;\n }\n private static _toStringCall(value: any): string {\n return Object.prototype.toString.call(value);\n }\n\n static isUndefined(value: any): boolean {\n return this.getTypeof(value) === \"undefined\" || value === null;\n }\n\n static isBoolean(value: any): boolean {\n return this.getTypeof(value) === \"boolean\";\n }\n\n static isString(value: any): boolean {\n return this.getTypeof(value) === \"string\";\n }\n\n static isFunction(value: any): boolean {\n return this.getTypeof(value) === \"function\" && this._toStringCall(value) === \"[object Function]\";\n }\n\n static isObject(value: any): boolean {\n return !this.isUndefined(value) && this.getTypeof(value) === \"object\";\n }\n static isBlob(value: any): boolean {\n return this._toStringCall(value) === \"[object Blob]\";\n }\n static isFile(value: any): boolean {\n return this._toStringCall(value) === \"[object File]\";\n }\n\n static isNumber(value: any): boolean {\n let b = false;\n if (this.isString(value)) {\n return (/^(-)?(([1-9]\\d*)|0)(\\.\\d+)?$/).test(value);\n } else if (this.getTypeof(value) === \"number\") {\n b = true;\n }\n return b;\n }\n\n static isInt(value: number): boolean {\n let check = true;\n if (!this.isEmpty(value)) {\n const reg: any = /^[1-9]\\d*$|^0$/;\n check = reg.test(value.toString());\n }\n return check;\n }\n static isHtml(value: string): boolean {\n return (/^<([a-z][a-z0-9]*)\\b[^>]*>(.*?)<\\/\\1>$/i).test(value);\n }\n static isJson(value: any): boolean {\n let check = false;\n if (this.isString(value)) {\n try {\n const obj = JSON.parse(value);\n if (this.isObject(obj)) {\n check = true;\n }\n } catch (e) { }\n } else if (this.isObject(value)) {\n check = true;\n }\n return check;\n }\n\n static isWindow(obj: any): boolean {\n return !this.isUndefined(obj) && obj === obj.window;\n }\n\n private static _isEmptyObject(value: any): boolean {\n return this.isUndefined(value) ? true : Object.keys(value).length === 0;\n }\n\n static isArray(value: any): boolean {\n return Array.isArray(value) && this._toStringCall(value) === \"[object Array]\";\n }\n static isLocationLngLat(value: any) {\n let b = false;\n if (!this.isEmpty(value)) {\n let arr: any;\n if (this.isString(value)) {\n arr = value.split(\",\");\n } else if (this.isArray(value)) {\n arr = value;\n } else {\n arr = [];\n }\n if (arr.length === 2) {\n const lng = arr[0];\n const lat = arr[1];\n const lngRegex = /^-?(180(\\.0+)?|1[0-7]?\\d?(\\.\\d+)?|[1-9]?\\d?(\\.\\d+)?)$/;\n const latRegex = /^-?(90(\\.0+)?|[1-8]?\\d?(\\.\\d+)?)$/;\n b = lngRegex.test(lng) && latRegex.test(lat);\n }\n }\n return b;\n }\n\n static isEmpty(value: any, def?: any): boolean {\n let b = this.isUndefined(value);\n if (!b) {\n const objType: string = this.getTypeof(value);\n if (this.isString(value)) {\n b = this.trim(value).length === 0;\n } else if (this.isArray(value)) {\n b = value.length === 0;\n } else if (objType === \"object\") {\n if (this.isFile(value)) {\n b = false;\n } else {\n b = this._isEmptyObject(value);\n }\n }\n if (!b && !this.isUndefined(def)) {\n let strValue = value;\n if (this.isNumber(value)) {\n strValue = strValue.toString();\n }\n let strDef = def;\n if (this.isNumber(def)) {\n strDef = strDef.toString();\n }\n b = this.isEqual(strValue, strDef);\n }\n }\n return b;\n }\n\n static isEqual(value1: any, value2: any): boolean {\n return Object.is(value1, value2);\n }\n\n static isEqualArr(arr1: any[], arr2: any[], isInOrder = false): boolean {\n let b = false;\n const isEmpty1 = this.isEmpty(arr1);\n const isEmpty2 = this.isEmpty(arr2);\n if (isEmpty1 && isEmpty2) {\n b = true;\n } else {\n if (arr1.length === arr2.length) {\n b = true;\n if (isInOrder) {\n for (let i = 0; i < arr1.length; i++) {\n if (arr1[i].toString() !== arr2[i].toString()) {\n b = false;\n break;\n }\n }\n } else {\n const json2 = this.getArrConvertJson(arr2);\n for (let i = 0; i < arr1.length; i++) {\n if (!this.isExistJsonKey(json2, arr1[i].toString())) {\n b = false;\n break;\n }\n }\n }\n } else {\n b = false;\n }\n }\n return b;\n }\n\n static isEqualList(list1: any[], list2: any[], key = [\"id\"]): boolean {\n let b = false;\n const isEmpty1 = this.isEmpty(list1);\n const isEmpty2 = this.isEmpty(list2);\n if (isEmpty1 && isEmpty2) {\n b = true;\n } else {\n if (list1.length === list2.length) {\n const arr1: string[] = list1.map(info1 => {\n return key.map((k) => info1[k].toString()).join(\",\");\n });\n b = true;\n list2.some((info2: any) => {\n const k2 = key.map((k) => info2[k].toString()).join(\",\");\n if (!this.isExistValue(arr1, k2)) {\n b = false;\n return true;\n }\n });\n } else {\n b = false;\n }\n }\n return b;\n }\n\n /**\n * 数组1是否包含数组2\n * @param arr1\n * @param arr2\n */\n static isContainArr(arr1: any[], arr2: any[]): boolean {\n let b = false;\n const isEmpty1 = this.isEmpty(arr1);\n const isEmpty2 = this.isEmpty(arr2);\n if (isEmpty1 && isEmpty2) {\n b = true;\n } else {\n if (arr1.length >= arr2.length) {\n b = true;\n arr2.some((v: string) => {\n if (!this.isExistValue(arr1, v)) {\n b = false;\n return true;\n }\n });\n } else {\n b = false;\n }\n }\n return b;\n }\n\n /**\n * 是否存在 大量循环时误用(慢)\n * @param value\n * @param key\n * @returns\n */\n static isExistValue(value: any, key: string): boolean {\n if (this.isUndefined(value)) {\n return false;\n }\n if (value.includes) {\n return value.includes(key);\n }\n return value.indexOf(key) > -1;\n }\n\n /**\n * 是否存在(专用json)\n * @param json\n * @param key\n * @returns\n */\n static isExistJsonKey(json: any, key: string): boolean {\n if (this.isUndefined(json)) {\n return false;\n }\n return Object.prototype.hasOwnProperty.call(json, key);\n }\n /**\n * 操作系统类型 仅浏览器端使用\n * @returns \n */\n static osType() {\n const ua = navigator.userAgent,\n //isWindowsPhone = /(?:Windows Phone)/.test(ua),\n //isSymbian = /(?:SymbianOS)/.test(ua) || isWindowsPhone,\n isAndroid = /(?:Android)/.test(ua),\n isFireFox = /(?:Firefox)/.test(ua),\n //isChrome = /(?:Chrome|CriOS)/.test(ua),\n isTablet = /(?:iPad|PlayBook)/.test(ua) || (isAndroid && !/(?:Mobile)/.test(ua)) || (isFireFox && /(?:Tablet)/.test(ua)),\n isIOS = /(?:iPhone)/.test(ua) && !isTablet,\n isPc = !isIOS && !isAndroid; //&& !isSymbian;\n return {\n isTablet: isTablet,\n isIOS: isIOS,\n isAndroid: isAndroid,\n isMobile: isIOS || isAndroid,\n isPc: isPc,\n };\n }\n /**\n * 移除空格\n * @param value\n * @returns {string}\n */\n static trim(value: any): any {\n if (this.isUndefined(value)) return value;\n const newValue: string = value.toString();\n if (newValue.trim) {\n return newValue.trim();\n }\n return newValue.replace(/^\\s+|\\s+$/gm, \"\");\n }\n\n static split(str: string, sign = \",\"): string[] {\n let newValue: string[];\n if (this.isEmpty(str)) {\n newValue = [];\n } else {\n let newStr = str;\n if (sign === \",\") {\n newStr = newStr.replace(/,/g, \",\");\n }\n newValue = newStr.toString().split(sign);\n }\n return newValue;\n }\n static kebabCase(value: string): string {\n const result = value.replace(/([A-Z])/g, \" $1\").trim();\n return result.split(\" \").join(\"-\").toLowerCase();\n }\n /**\n * 获取字节长度\n * @param {string} str\n * @returns {number}\n */\n static getByteLen(str: string): number {\n let len = 0;\n for (let i = 0; i < str.length; i += 1) {\n const si = str.charAt(i);\n if (si.match(/[^\\x00-\\xff]/ig) !== null) { // eslint-disable-line\n len += 3;\n } else {\n len += 1;\n }\n }\n return len;\n }\n\n /**\n * 复制json\n * @param json {Object}\n * @returns\n */\n static getJsonClone(json: any, isDeep = false, opt: any = {}): any {\n if (isDeep) {\n return this._getJsonCloneDeep(json, opt);\n } else {\n const exclude = this.isUndefined(opt.exclude) ? [] : opt.exclude;\n if (exclude.length === 0) {\n return this.getJsonMerge(json);\n } else {\n const clone: any = {};\n Object.keys(json).forEach((key: any) => {\n if (!this.isExistValue(exclude, key)) {\n clone[key] = json[key];\n }\n });\n return clone;\n }\n }\n }\n\n /**\n * 复制json 深拷贝\n * @param json\n * @returns\n */\n private static _getJsonCloneDeep(json: any, opt: any = {}): any {\n const newJson: any = this.isArray(json) ? [] : {};\n const exclude = this.isUndefined(opt.exclude) ? [] : opt.exclude;\n Object.keys(json).forEach((key: any) => {\n const isCheckExclude = exclude.length === 0 || !this.isExistValue(exclude, key);\n if (isCheckExclude) {\n const value = json[key];\n if (this.isUndefined(value) || !this.isObject(value)) {\n if (this.isArray(value)) {\n newJson[key] = this.getListClone(value, true);\n } else {\n newJson[key] = value;\n }\n } else {\n newJson[key] = this._getJsonCloneDeep(value);\n }\n }\n });\n return newJson;\n }\n\n static getJsonCloneByKeyArr(sourceJson: any, keyArr: string[]): any {\n const tempFormValue: any = {};\n keyArr.forEach(k => {\n const v = sourceJson[k];\n tempFormValue[k] = this.isUndefined(v)\n ? \"\"\n : (this.isObject(v) ? this.getJsonClone(v) : v);\n });\n return tempFormValue;\n }\n\n static getJsonCloneByKeyJson(sourceJson: any, keyJson: any): any {\n const keyArr: string[] = Object.keys(keyJson);\n return this.getJsonCloneByKeyArr(sourceJson, keyArr);\n }\n\n static getJsonCloneByRemoveArr(sourceJson: any, removeArr: string[]): any {\n const temp: any = {};\n if (removeArr.length === 0) {\n return sourceJson;\n }\n Object.keys(sourceJson).forEach((k) => {\n if (!this.isExistValue(removeArr, k)) {\n temp[k] = sourceJson[k];\n }\n });\n return temp;\n }\n\n static getJsonMerge(...target: any): any {\n return Object.assign({}, ...target);\n }\n static getJsonReversal(json: any): any {\n const newJson: any = {};\n Object.keys(json).forEach((k: string) => {\n newJson[json[k]] = k;\n });\n return newJson;\n }\n\n\n static getJsonMergeDeep(...target: any): any {\n const newJson = {};\n const len = target.length;\n for (let i = 0; i < len; i++) {\n this._mergeJsonDeep(newJson, target[i] || {});\n }\n return newJson;\n }\n\n private static _mergeJsonDeep(json1: any, json2: any) {\n Object.keys(json2).forEach((k: any) => {\n const value = json2[k];\n if (this.isUndefined(value)) {\n json1[k] = value;\n } else {\n if (this.isArray(value)) {\n json1[k] = this.getListClone(value, true);\n } else if (this.isObject(value) && this.isExistJsonKey(json1, k)) {\n this._mergeJsonDeep(json1[k], value);\n } else {\n json1[k] = value;\n }\n }\n });\n }\n\n static getJsonMap(json: any, map: any, isDef = false): any {\n const newJson: any = {};\n if (!this.isEmpty(json) && !this._isEmptyObject(map)) {\n for (const [k, v] of Object.entries(map)) {\n let strValue = (v as string).toString();\n let valueType = \"\";\n if (strValue.indexOf(\"|\") > -1) {\n const arrValue = strValue.split(\"|\");\n strValue = arrValue[0];\n valueType = arrValue[1];\n }\n if (strValue.indexOf(\".\") > -1) {\n const arrTemp: string[] = this.split(strValue, \".\");\n let tempValue: any = this.getJsonClone(json, true);\n arrTemp.forEach((vi: string, i: number) => {\n const tt = tempValue[vi];\n const isE = this.isEmpty(tt);\n if (i === arrTemp.length - 1) {\n if (this.isUndefined(tt)) {\n tempValue = isDef ? \"\" : tt;\n } else {\n if (isE) {\n tempValue = \"\";\n } else {\n if (valueType && valueType.length > 0) {\n tempValue = this.isEmpty(tt) ? \"\" : this.getValueByFormat(tt, valueType);\n } else {\n tempValue = tt;\n }\n }\n }\n } else {\n tempValue = isE ? {} : tt;\n }\n });\n newJson[k] = this.isString(tempValue) ? this.trim(tempValue) : tempValue;\n } else {\n if (this.isExistJsonKey(json, strValue)) {\n const value: any = json[strValue];\n let tempValue;\n if (this.isUndefined(value)) {\n tempValue = isDef ? \"\" : value;\n } else {\n if (valueType && valueType.length > 0) {\n tempValue = this.isEmpty(value) ? \"\" : this.getValueByFormat(value, valueType);\n } else {\n tempValue = value;\n }\n }\n newJson[k] = this.isString(tempValue) ? this.trim(tempValue) : tempValue;\n } else {\n if (isDef) {\n newJson[k] = \"\";\n }\n }\n }\n }\n }\n return newJson;\n }\n\n static getJsonByList(list: any, key?: string, isFormat = false): any {\n const json: any = {};\n if (!this.isEmpty(list)) {\n const newKey = key && !this.isEmpty(key) ? key : \"id\";\n list.forEach((info: any) => {\n let k = \"\";\n if (isFormat) {\n if (key) {\n k = this.convertStringFormat(key, info);\n }\n } else {\n k = this.isExistJsonKey(info, newKey) ? info[newKey].toString() : \"\";\n }\n if (k.length > 0) {\n json[k] = this.getJsonClone(info);\n }\n });\n }\n return json;\n }\n static getJsonByArr(arr: string[]): any {\n const json: any = {};\n if (!this.isEmpty(arr)) {\n arr.forEach((k: string) => {\n json[k] = k;\n });\n }\n return json;\n }\n static getGroupByList(list: any, key: string): any {\n const json: any = {};\n if (!this.isEmpty(list)) {\n list.forEach((info: any) => {\n const k = this.isExistJsonKey(info, key) ? info[key].toString() : \"\";\n if (k.length > 0) {\n if (!this.isExistJsonKey(json, k)) {\n json[k] = [];\n }\n json[k].push(this.getJsonClone(info));\n }\n });\n }\n return json;\n }\n\n static getJsonByBlob(blob: any): any {\n return new Promise((resolve, reject) => {\n const reader: any = new FileReader();\n reader.onload = () => {\n try {\n const json = JSON.parse(reader.result);\n resolve(json);\n } catch (error) {\n reject(error);\n }\n };\n reader.onerror = reject;\n reader.readAsText(blob);\n });\n }\n static getBase64ByFile(files: any): any {\n return new Promise((resolve) => {\n if (files.length > 0) {\n const file = files[0];\n if (file instanceof File) {\n const reader = new FileReader();\n reader.onload = (e: any) => {\n resolve(e.target.result);\n };\n reader.readAsDataURL(file);\n } else {\n resolve(\"\");\n }\n } else {\n resolve(\"\");\n }\n });\n }\n /**\n * 获取list 层级结构\n * @param {any[]} list\n * @returns {any}\n */\n static getTreeList(list: any[]): any {\n let tree: any[] = [];\n const topId: string[] = [];\n // const lastChildId: string[] = [];\n const json: any = {};\n const group: any = {};\n if (!this.isEmpty(list)) {\n list.forEach((info: any) => {\n const id = info.id.toString();\n const pId = info.parentId.toString();\n if (pId === \"0\") {\n topId.push(id);\n }\n json[id] = info;\n\n if (!this.isExistJsonKey(group, pId)) {\n group[pId] = [];\n }\n group[pId].push(info);\n });\n topId.forEach((tId: string) => {\n tree = tree.concat(this._recursionChild(tId, group, json));\n });\n }\n return { tree, group, json, list };\n }\n\n static getTreeLastParent(id: string, json: any, isShowSelf = true): any {\n let list = [];\n if (this.isExistJsonKey(json, id)) {\n list = this._recursionParent(id, json);\n if (!isShowSelf) {\n list.splice(0, 1);\n }\n list.reverse();\n }\n return list;\n }\n\n private static _recursionChild(id: string, group: any, json: any): any[] {\n const list: any[] = [];\n const pInfo: any = this.getJsonClone(json[id]);\n if (this.isExistJsonKey(group, id)) {\n pInfo.list = [];\n const data: any[] = group[id];\n data.forEach((info: any) => {\n const cId = info.id.toString();\n pInfo.list = pInfo.list.concat(this._recursionChild(cId, group, json));\n });\n }\n list.push(pInfo);\n return list;\n }\n\n private static _recursionParent(id: string, json: any): any[] {\n let list: any[] = [];\n if (this.isExistJsonKey(json, id)) {\n const info = json[id];\n const pId = info.parentId.toString();\n list.push(info);\n list = list.concat(this._recursionParent(pId, json));\n }\n return list;\n }\n /**\n * 获取list tree转list\n * @param tree \n * @param opt \n * @returns \n */\n static getListByTree(tree: any, opt: any = {}): any {\n const idKey: string = this.isEmpty(opt.idKey) ? \"id\" : opt.idKey;\n const cKey: string = this.isEmpty(opt.cKey) ? \"list\" : opt.cKey;\n const pKey: string = this.isEmpty(opt.pKey) ? \"parentId\" : opt.pKey;\n const topPV: string = this.isEmpty(opt.topPV) ? \"0\" : opt.topPV;\n const list = this._recursionListByTree(tree, topPV, { idKey, cKey, pKey });\n return list;\n }\n private static _recursionListByTree(tree: any[], pId: string, opt: any): any[] {\n const list: any[] = [];\n tree.forEach((info: any) => {\n const temp = this.getJsonClone(info, false, { exclude: [opt.cKey] });\n temp[opt.pKey] = pId;\n const isUndefinedCKey = this.isUndefined(info[opt.cKey]);\n temp.isLastLevel = isUndefinedCKey;\n list.push(temp);\n if (!isUndefinedCKey) {\n const tempList = this._recursionListByTree(info[opt.cKey], temp[opt.idKey], opt);\n list.push(...tempList);\n }\n });\n return list;\n }\n /**\n * 复制list\n * @param list\n */\n static getListClone(list: any, isDeep = false): any {\n if (this.isEmpty(list)) {\n return [];\n }\n return list.map((info: any) => {\n if (this.isObject(info)) {\n return this.getJsonClone(info, isDeep);\n } else {\n return info;\n }\n });\n }\n\n /**\n * list 合并\n * @param newList 新\n * @param oldList 旧\n * @param key id\n * @returns list\n */\n static getListMergeDeep(newList: any[], oldList: any[], key = \"id\"): any {\n const list: any = [];\n if (newList.length > 0) {\n const oldJson = this.getJsonByList(oldList, key);\n newList.forEach((info: any) => {\n let initJson = {};\n let idKey = info[key];\n if (!this.isEmpty(idKey)) {\n idKey = idKey.toString();\n initJson = this.isExistJsonKey(oldJson, idKey) ? oldJson[idKey] : {};\n }\n const newInfo = this.getJsonMergeDeep(initJson, info);\n list.push(newInfo);\n });\n }\n return list;\n }\n\n static getRecursionParentList(json: any, pId: [string, number], pKey = \"parentId\"): any {\n let result: any = [];\n const strPId = pId.toString();\n if (strPId !== \"0\" && this.isExistJsonKey(json, strPId)) {\n const tempInfo = json[strPId];\n result.push(tempInfo);\n const newStrPid = tempInfo[pKey].toString();\n const tempResult: any = this.getRecursionParentList(json, newStrPid);\n if (!this.isEmpty(tempResult)) {\n result = result.concat(tempResult);\n }\n }\n return result;\n }\n static getListExistValue(list: any, value: string, key = \"id\"): any {\n let newInfo: any;\n let inx = -1;\n if (!this.isEmpty(list)) {\n list.forEach((info: any, i: number) => {\n if (this.isExistJsonKey(info, key)) {\n if (info[key].toString() === value.toString()) {\n newInfo = this.getJsonClone(info);\n inx = i;\n }\n }\n });\n }\n return inx === -1 ? null : { info: newInfo, inx };\n }\n /**\n * 复制数组\n * @param arr\n * @returns {Array}\n */\n static getArrClone(arr: any): any {\n return this.isEmpty(arr) ? [] : arr.map((a: any) => a);\n }\n\n static getArrByList(list: any[], key = \"id\") {\n const arr: any = [];\n if (!this.isEmpty(list)) {\n list.forEach((info: any) => {\n if (this.isExistJsonKey(info, key)) {\n arr.push(info[key]);\n }\n });\n }\n return arr;\n }\n\n\n static getArrRemoveById(arr: any, ids: any): string[] {\n if (this.isEmpty(ids)) {\n return arr;\n }\n const newArr: string[] = [];\n const arrParam = this.isArray(ids) ? ids : this.split(ids.toString());\n const jsonParam = this.getArrConvertJson(arrParam);\n arr.forEach((id: string) => {\n const isExist = this.isExistJsonKey(jsonParam, id.toString());\n if (!isExist) {\n newArr.push(id);\n }\n });\n return newArr;\n }\n\n static getArrByMinMax(min = 1, max: number): number[] {\n const arr: number[] = [];\n for (let i = min; i <= max; i += 1) {\n arr.push(i);\n }\n return arr;\n }\n\n /**\n * 数组去重\n * @param arr \n * @returns \n */\n static getArrUnique(arr: any): any {\n const result = [];\n if (arr.length > 0) {\n const hash: any = {};\n let elem = null;\n for (let i = 0; i < arr.length; i += 1) {\n elem = arr[i];\n if (elem !== null && !hash[elem]) {\n result.push(elem);\n hash[elem] = true;\n }\n }\n }\n return result;\n }\n\n static getArrConvertJson(arr: any[]): any {\n const tempFormValue: any = {};\n arr.forEach(a => {\n tempFormValue[a.toString()] = true;\n });\n return tempFormValue;\n }\n\n // //数组排序\n static getArrAsc(arr: any, type: string): any[] {\n let funAsc;\n switch (type) {\n case \"date\":\n funAsc = (a: any, b: any) => { return Date.parse(a) - Date.parse(b); };\n break;\n case \"number\":\n funAsc = (a: number, b: number) => { return a - b; };\n break;\n default: {\n funAsc = (a: string, b: string) => { return this._arrSortString(a.toString(), b.toString()); };\n }\n }\n return arr.sort(funAsc);\n }\n\n static getArrDesc(arr: any, type: string): any[] {\n let funDesc;\n switch (type) {\n case \"date\":\n funDesc = (a: any, b: any) => { return Date.parse(b) - Date.parse(a); };\n break;\n case \"number\":\n funDesc = (a: number, b: number) => { return b - a; };\n break;\n default: {\n funDesc = (a: string, b: string) => { return this._arrSortString(b.toString(), a.toString()); };\n }\n }\n return arr.sort(funDesc);\n }\n\n private static _arrSortString(s1: string, s2: string): number {\n let res = 0;\n for (let i = 0; ; i++) {\n if (!s1[i] || !s2[i]) {\n res = s1.length - s2.length;\n break;\n }\n const char1 = s1[i];\n const char1Type = this._getChartType(char1);\n const char2 = s2[i];\n const char2Type = this._getChartType(char2);\n // 类型相同的逐个比较字符\n if (char1Type[0] === char2Type[0]) {\n if (char1 === char2) {\n continue;\n } else {\n if (char1Type[0] === \"zh\") {\n res = char1.localeCompare(char2);\n } else if (char1Type[0] === \"en\") {\n res = char1.charCodeAt(0) - char2.charCodeAt(0);\n } else {\n res = (char1 as any) - (char2 as any);\n }\n break;\n }\n } else {\n // 类型不同的,直接用返回的数字相减\n res = char1Type[1] - char2Type[1];\n break;\n }\n }\n return res;\n }\n\n private static _getChartType(char: string): [string, number] {\n // 数字,大写字母,小写字母,中文,其他\n if (/^[0-9]$/.test(char)) {\n return [\"number\", 100];\n }\n if (/^[a-zA-Z]$/.test(char)) {\n return [\"en\", 200];\n }\n if (/^[\\u4e00-\\u9fa5]$/.test(char)) {\n return [\"zh\", 300];\n }\n return [\"others\", 999];\n }\n\n static getZeroCount(len: number): string {\n if (len <= 0) { return \"\"; }\n const zero = [];\n for (let i = 0; i < len; i += 1) {\n zero.push(\"0\");\n }\n return zero.join(\"\");\n }\n\n /** 补全零 */\n static getFillZero(value: any, len = 2, around = \"l\"): string {\n const zero = this.getZeroCount(len);\n const strValue = this.isEmpty(value) ? \"\" : value.toString();\n let temp = \"\";\n let result = \"\";\n if (around === \"l\") {\n temp = zero + strValue;\n result = temp.substring(temp.length - len);\n } else {\n temp = strValue.toString() + zero;\n result = temp.substring(0, len);\n }\n return result;\n }\n\n /**\n * 获取随机数\n * @param {number} len\n * @returns {any}\n */\n static getRandom(len = 3): string {\n const lens = len > 0 ? len : 1;\n let r = Math.random();\n r = Math.ceil(r * (10 ** (lens - 1)));\n return this.getFillZero(r, len, \"r\");\n }\n\n /**\n * 指定范围获取随机数\n * @param {number} min\n * @param {number} max\n * @returns {number}\n */\n static getRandomRange(min: number, max: number, isRound = true): number {\n const range = max - min;\n const rand = Math.random();\n return min + (isRound ? Math.round(range * rand) : (range * rand));\n }\n /**\n * 验证码\n */\n static getCaptcha(len = 6) {\n const digits = \"0123456789\";\n let captcha = \"\";\n for (let i = 0; i < len; i++) {\n captcha += digits.charAt(Math.floor(Math.random() * digits.length));\n }\n return captcha;\n }\n /**\n * 字符串格式化(int float2)\n * @param value\n * @param type num int float float2 float3 date dateTime time string intArray\n */\n static getValueByFormat(value: any, type: string, extInfo: any = {}): string {\n let newValue: any;\n switch (type) {\n case \"num\":\n case \"int\":\n case \"float\":\n case \"float2\":\n case \"float3\":\n case \"number\": {\n if (this.isNumber(value)) {\n if (this.isEmpty(value)) {\n const isEmptyDefault = this.isBoolean(extInfo.isEmptyDefault) ? extInfo.isEmptyDefault : true;\n newValue = isEmptyDefault ? \"0\" : value;\n } else {\n let useValue = value.toString();\n useValue = this.isExistValue(useValue, \",\") ? this.removeReplace(useValue) : useValue;\n if (type === \"number\") {\n newValue = Number(useValue);\n } else {\n let fixedNum = 0;\n if (type === \"num\") {\n fixedNum = this.isExistValue(useValue, \".\") ? 2 : 0;\n } else if (type === \"int\") {\n fixedNum = 0;\n } else if (type === \"float\") {\n if (this.isNumber(extInfo.decimalNum)) {\n fixedNum = parseInt(extInfo.decimalNum);\n }\n } else if (type === \"float2\") {\n fixedNum = 2;\n } else if (type === \"float3\") {\n fixedNum = 3;\n }\n const isRounding = this.isBoolean(extInfo.isRounding) ? extInfo.isRounding : true;\n if (isRounding) {\n newValue = parseFloat(useValue).toFixed(fixedNum);\n } else {\n if (fixedNum > 0) {\n const temp = useValue.split(\".\");\n const len = temp[1].length;\n newValue = temp[0] + \".\" + temp[1].substring(0, len > fixedNum ? fixedNum : len);\n } else {\n newValue = parseInt(useValue).toString();\n }\n }\n newValue = Number(newValue).toFixed(fixedNum);\n const isThousands = this.isBoolean(extInfo.isThousands) ? extInfo.isThousands : true;\n if (isThousands) {\n newValue = this.getFormatThousands(newValue);\n }\n }\n }\n } else {\n newValue = value;\n }\n break;\n }\n case \"date\":\n case \"dateTime\":\n case \"time\": {\n if (this.isEmpty(value)) {\n newValue = value;\n } else {\n let newFormat = \"\";\n if (this.isEmpty(extInfo.dateFormat)) {\n if (type === \"dateTime\") {\n newFormat = \"YYYY-MM-DD HH:mm:ss\";\n } else if (type === \"time\") {\n newFormat = \"HH:mm:ss\";\n } else {\n newFormat = \"YYYY-MM-DD\";\n }\n } else {\n newFormat = extInfo.dateFormat;\n }\n const handler = _formatHandlers[type]\n if (handler) {\n newValue = handler(value, newFormat)\n } else {\n newValue = value\n }\n }\n break;\n }\n case \"string\":\n newValue = value.toString();\n break;\n case \"intArray\":\n newValue = value.split(\",\").map((id: string) => parseInt(id));\n break;\n default:\n newValue = value;\n }\n return newValue;\n }\n\n /**\n * 小时格式\n * @param start 开始\n * @param end 结束\n * @returns 格式: 01:00-02:59\n */\n static getHourInterval(start: any, end: any = \"\"): string {\n const newE = this.isEmpty(end) ? start : end;\n return `${this.getFillZero(start)}:00-${this.getFillZero(newE)}:59`;\n }\n\n /** 转化千分位 */\n static getFormatThousands(value: any): string {\n if (!this.isNumber(value)) {\n return \"\";\n }\n const arrNum = this.split(value.toString(), \".\");\n return arrNum[0].replace(/(\\d{1,3})(?=(?:\\d{3})+(?!\\d))/g, \"$1,\") + (arrNum.length > 1 ? (`.${arrNum[1]}`) : \"\");\n }\n\n /**\n * 指定位 数字加一,位之后零补充\n * @param value 值\n * @param opt inxPos(第几位 默认第二位) isCeil(最后数字是否ceil) isRounding(是否四舍五入,优先isCeil) isEndFive (最后数字是否5/0)\n * @returns\n */\n static getNumCeil(value: any, opt: any = {}): number {\n /* if (inxPos <= 0) {\n return Math.ceil(value);\n } */\n if (!this.isNumber(value)) {\n return 0;\n }\n const numValue = Number(value);\n const isMinus = numValue < 0;\n const absValue = Math.abs(numValue);\n if (absValue === 0) {\n return 0;\n }\n const isLess1 = absValue < 1;\n let zeroLenL = 0;\n let strValue = absValue.toString();\n let indexDot = -1;\n if (isLess1) {\n indexDot = -1;\n if (absValue > 0) {\n const tempLess1 = strValue.split(\".\")[1];\n strValue = Number(tempLess1).toString();\n zeroLenL = tempLess1.length - strValue.length;\n }\n } else {\n zeroLenL = 0;\n indexDot = strValue.indexOf(\".\");\n if (indexDot > -1) {\n strValue = strValue.replace(\".\", \"\");\n }\n }\n\n const isCeil = this.isBoolean(opt.isCeil) ? opt.isCeil : true;\n const inxPos = this.isUndefined(opt.inxPos) ? 2 : parseInt(opt.inxPos);\n const isEndFive = this.isBoolean(opt.isEndFive) ? opt.isEndFive : false;\n const isRounding = this.isBoolean(opt.isRounding) ? opt.isRounding : false;\n\n // 拆分\n let l;\n let r = \"\";\n if (inxPos < strValue.length) {\n l = strValue.substring(0, inxPos);\n r = strValue.substring(inxPos);\n } else {\n l = strValue;\n }\n\n /// 左\n let newL = \"\";\n const strL = isCeil || (isRounding && r.length > 0 && parseInt(r.substring(0, 1)) >= 5)\n ? (parseInt(l) + 1).toString()\n : parseInt(l).toString();\n const lastL = parseInt(strL.substring(strL.length - 1));\n if (isEndFive) {\n // 四舍六入五保留\n if (lastL === 5 || lastL === 0) {\n newL = strL;\n } else {\n const f = parseInt(strL.substring(0, inxPos - 1));\n if (lastL > 5) {\n newL = `${f + 1}0`;\n } else if (lastL < 5) {\n newL = `${f}5`;\n }\n if (strL.length > inxPos && newL.length === inxPos) {\n newL = `${newL}0`;\n }\n }\n } else {\n newL = strL;\n }\n\n /// 右\n let newR = \"\";\n let zeroLenR = 0;\n if (indexDot === -1) {\n zeroLenR = r.length;\n } else {\n if (indexDot < inxPos) {\n zeroLenR = 0;\n newL = (Number(newL) / ((inxPos - indexDot) * 10)).toString();\n } else if (indexDot > inxPos) {\n zeroLenR = indexDot - inxPos;\n }\n }\n newR = this.getZeroCount(zeroLenR);\n\n if (isLess1) {\n const zeroL = this.getZeroCount(zeroLenL);\n newL = `0.${zeroL}${newL}`;\n }\n const newValue = newL + newR;\n\n return Number(newValue) * (isMinus ? -1 : 1);\n }\n\n static removeReplace(value: any, key = \",\") {\n if (this.isUndefined(value)) {\n return \"\";\n }\n const reg = new RegExp(`[${key}]`, \"g\");\n return value.toString().replace(reg, \"\");\n }\n\n /**\n * 转换空为零\n * @param json \n * @param mapKey \n * @param optExt \n * @returns \n */\n static conversionEmptyZero(json: any, mapKey: string[], optExt?: any) {\n const newJson = json;\n if (!this.isEmpty(mapKey)) {\n let defEmpty: any = 0;\n let defUndefined: any = 0;\n if (optExt) {\n let newOptExt: any = {};\n if (this.isString(optExt)) {\n newOptExt.emptyDef = optExt;\n } else if (this.isObject(optExt)) {\n newOptExt = optExt;\n }\n const isEmptyExtUndefinedDef = this.isEmpty(newOptExt.undefinedDef);\n if (!isEmptyExtUndefinedDef) {\n defUndefined = newOptExt.undefinedDef;\n }\n if (!this.isEmpty(newOptExt.emptyDef)) {\n defEmpty = newOptExt.emptyDef;\n if (isEmptyExtUndefinedDef) {\n defUndefined = newOptExt.emptyDef;\n }\n }\n }\n mapKey.forEach((k: string) => {\n if (this.isEmpty(json[k])) {\n if (this.isUndefined(json[k])) {\n newJson[k] = defUndefined;\n } else {\n newJson[k] = defEmpty;\n }\n }\n });\n }\n return newJson;\n }\n /**\n * 转换百分比\n * @param {any} json\n * @param {string[]} mapKey\n */\n static conversionPercentage(json: any, mapKey: string[], isMultiply = true) {\n const newJson = json;\n if (!this.isEmpty(mapKey)) {\n mapKey.forEach((k: string) => {\n const v = json[k];\n if (this.isEmpty(v)) {\n newJson[k] = 0;\n } else {\n if (this.isNumber(v)) {\n newJson[k] = isMultiply\n ? v * 100\n : v / 100;\n } else {\n newJson[k] = v;\n }\n }\n });\n }\n return newJson;\n }\n\n /**\n * 转换格式化的字符串\n * @param {string} strFormat\n * @param {any} json\n * @returns {string}\n */\n static convertStringFormat(strFormat: string, json: any): string {\n let newStr = strFormat;\n if (!this.isEmpty(json)) {\n newStr = strFormat.replace(/[$]{[^}]+}/g, ($1) => {\n const k = $1.replace(\"${\", \"\").replace(\"}\", \"\");\n return this.isExistJsonKey(json, k) ? json[k] : $1;\n });\n }\n return newStr;\n }\n\n static getQueryString(url: string, name: string): string {\n const reg: any = new RegExp(`(^|&)${name}=([^&]*)(&|$)`, \"i\");\n const r: any = url.substring(url.indexOf(\"?\") + 1).match(reg);\n if (r !== null) return decodeURI(r[2]);\n return \"\";\n }\n\n static getQueryStringByHash(name: string): string {\n return this.getQueryString(window.location.hash, name);\n }\n\n static encodeHTML(source: string) {\n return String(source)\n .replace(/&/g, \"&amp;\")\n .replace(/</g, \"&lt;\")\n .replace(/>/g, \"&gt;\")\n .replace(/\"/g, \"&quot;\")\n .replace(/'/g, \"&#39;\");\n }\n static removeHTMLTags(str: string) {\n return str.replace(/<[^>]*>/g, \"\");\n }\n\n static requestAnimationFrame(nextCb: any) {\n const rAF = window.requestAnimationFrame\n || (window as any).webkitRequestAnimationFrame\n || (window as any).mozRequestAnimationFrame\n || (window as any).oRequestAnimationFrame\n || (window as any).msRequestAnimationFrame;\n if (rAF) {\n return rAF.call(window, nextCb);\n }\n return window.setTimeout(nextCb, 1000 / 60);\n }\n\n static cancelAnimationFrame(handle: any) {\n const cAF = window.cancelAnimationFrame\n || (window as any).webkitCancelAnimationFrame\n || (window as any).mozCancelAnimationFrame\n || (window as any).oCancelAnimationFrame\n || (window as any).msCancelAnimationFrame;\n if (cAF) {\n cAF.call(window, handle);\n } else {\n window.clearTimeout(handle);\n }\n }\n}\nexport default CommonBase;\n"],"names":["_formatHandlers","registerFormatHandler","type","handler","CommonBase","value","b","check","obj","arr","lng","lat","lngRegex","latRegex","def","objType","strValue","strDef","value1","value2","arr1","arr2","isInOrder","isEmpty1","isEmpty2","i","json2","list1","list2","key","info1","k","info2","k2","v","json","ua","isAndroid","isFireFox","isTablet","isIOS","newValue","str","sign","newStr","len","isDeep","opt","exclude","clone","newJson","sourceJson","keyArr","tempFormValue","keyJson","removeArr","temp","target","json1","map","isDef","valueType","arrValue","arrTemp","tempValue","vi","tt","isE","list","isFormat","newKey","info","blob","resolve","reject","reader","error","files","file","e","tree","topId","group","id","pId","tId","isShowSelf","pInfo","cId","idKey","cKey","pKey","topPV","isUndefinedCKey","tempList","newList","oldList","oldJson","initJson","newInfo","result","strPId","tempInfo","newStrPid","tempResult","inx","a","ids","newArr","arrParam","jsonParam","min","max","hash","elem","funAsc","funDesc","s1","s2","res","char1","char1Type","char2","char2Type","char","zero","around","lens","r","isRound","range","rand","digits","captcha","extInfo","useValue","fixedNum","newFormat","start","end","newE","arrNum","numValue","isMinus","absValue","isLess1","zeroLenL","indexDot","tempLess1","isCeil","inxPos","isEndFive","isRounding","l","newL","strL","lastL","f","newR","zeroLenR","reg","mapKey","optExt","defEmpty","defUndefined","newOptExt","isEmptyExtUndefinedDef","isMultiply","strFormat","$1","url","name","source","nextCb","rAF","handle","cAF"],"mappings":"aACA,MAAMA,EAAuE,CAAA,EAEtE,SAASC,EAAsBC,EAAcC,EAA8C,CAChGH,EAAgBE,CAAI,EAAIC,CAC1B,CAEA,MAAMC,CAAW,CAOb,OAAO,UAAUC,EAAoB,CACjC,OAAO,OAAOA,CAClB,CACA,OAAe,cAAcA,EAAoB,CAC7C,OAAO,OAAO,UAAU,SAAS,KAAKA,CAAK,CAC/C,CAEA,OAAO,YAAYA,EAAqB,CACpC,OAAO,KAAK,UAAUA,CAAK,IAAM,aAAeA,IAAU,IAC9D,CAEA,OAAO,UAAUA,EAAqB,CAClC,OAAO,KAAK,UAAUA,CAAK,IAAM,SACrC,CAEA,OAAO,SAASA,EAAqB,CACjC,OAAO,KAAK,UAAUA,CAAK,IAAM,QACrC,CAEA,OAAO,WAAWA,EAAqB,CACnC,OAAO,KAAK,UAAUA,CAAK,IAAM,YAAc,KAAK,cAAcA,CAAK,IAAM,mBACjF,CAEA,OAAO,SAASA,EAAqB,CACjC,MAAO,CAAC,KAAK,YAAYA,CAAK,GAAK,KAAK,UAAUA,CAAK,IAAM,QACjE,CACA,OAAO,OAAOA,EAAqB,CAC/B,OAAO,KAAK,cAAcA,CAAK,IAAM,eACzC,CACA,OAAO,OAAOA,EAAqB,CAC/B,OAAO,KAAK,cAAcA,CAAK,IAAM,eACzC,CAEA,OAAO,SAASA,EAAqB,CACjC,IAAIC,EAAI,GACR,OAAI,KAA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QAAQ,WAAY,EAAE,CACrC,CAEA,OAAO,sBAAsBmI,EAAa,CACtC,MAAMC,EAAM,OAAO,uBACX,OAAe,6BACf,OAAe,0BACf,OAAe,wBACf,OAAe,wBACvB,OAAIA,EACOA,EAAI,KAAK,OAAQD,CAAM,EAE3B,OAAO,WAAWA,EAAQ,IAAO,EAAE,CAC9C,CAEA,OAAO,qBAAqBE,EAAa,CACrC,MAAMC,EAAM,OAAO,sBACX,OAAe,4BACf,OAAe,yBACf,OAAe,uBACf,OAAe,uBACnBA,EACAA,EAAI,KAAK,OAAQD,CAAM,EAEvB,OAAO,aAAaA,CAAM,CAElC,CACJ"}
@@ -1,222 +0,0 @@
1
- export declare function registerFormatHandler(type: string, handler: (value: any, format: string) => any): void;
2
- declare class CommonBase {
3
- /**
4
- * 获取 typeof 类型
5
- * @param value
6
- * @returns {string}
7
- */
8
- static getTypeof(value: any): string;
9
- private static _toStringCall;
10
- static isUndefined(value: any): boolean;
11
- static isBoolean(value: any): boolean;
12
- static isString(value: any): boolean;
13
- static isFunction(value: any): boolean;
14
- static isObject(value: any): boolean;
15
- static isBlob(value: any): boolean;
16
- static isFile(value: any): boolean;
17
- static isNumber(value: any): boolean;
18
- static isInt(value: number): boolean;
19
- static isHtml(value: string): boolean;
20
- static isJson(value: any): boolean;
21
- static isWindow(obj: any): boolean;
22
- private static _isEmptyObject;
23
- static isArray(value: any): boolean;
24
- static isLocationLngLat(value: any): boolean;
25
- static isEmpty(value: any, def?: any): boolean;
26
- static isEqual(value1: any, value2: any): boolean;
27
- static isEqualArr(arr1: any[], arr2: any[], isInOrder?: boolean): boolean;
28
- static isEqualList(list1: any[], list2: any[], key?: string[]): boolean;
29
- /**
30
- * 数组1是否包含数组2
31
- * @param arr1
32
- * @param arr2
33
- */
34
- static isContainArr(arr1: any[], arr2: any[]): boolean;
35
- /**
36
- * 是否存在 大量循环时误用(慢)
37
- * @param value
38
- * @param key
39
- * @returns
40
- */
41
- static isExistValue(value: any, key: string): boolean;
42
- /**
43
- * 是否存在(专用json)
44
- * @param json
45
- * @param key
46
- * @returns
47
- */
48
- static isExistJsonKey(json: any, key: string): boolean;
49
- /**
50
- * 操作系统类型 仅浏览器端使用
51
- * @returns
52
- */
53
- static osType(): {
54
- isTablet: boolean;
55
- isIOS: boolean;
56
- isAndroid: boolean;
57
- isMobile: boolean;
58
- isPc: boolean;
59
- };
60
- /**
61
- * 移除空格
62
- * @param value
63
- * @returns {string}
64
- */
65
- static trim(value: any): any;
66
- static split(str: string, sign?: string): string[];
67
- static kebabCase(value: string): string;
68
- /**
69
- * 获取字节长度
70
- * @param {string} str
71
- * @returns {number}
72
- */
73
- static getByteLen(str: string): number;
74
- /**
75
- * 复制json
76
- * @param json {Object}
77
- * @returns
78
- */
79
- static getJsonClone(json: any, isDeep?: boolean, opt?: any): any;
80
- /**
81
- * 复制json 深拷贝
82
- * @param json
83
- * @returns
84
- */
85
- private static _getJsonCloneDeep;
86
- static getJsonCloneByKeyArr(sourceJson: any, keyArr: string[]): any;
87
- static getJsonCloneByKeyJson(sourceJson: any, keyJson: any): any;
88
- static getJsonCloneByRemoveArr(sourceJson: any, removeArr: string[]): any;
89
- static getJsonMerge(...target: any): any;
90
- static getJsonReversal(json: any): any;
91
- static getJsonMergeDeep(...target: any): any;
92
- private static _mergeJsonDeep;
93
- static getJsonMap(json: any, map: any, isDef?: boolean): any;
94
- static getJsonByList(list: any, key?: string, isFormat?: boolean): any;
95
- static getJsonByArr(arr: string[]): any;
96
- static getGroupByList(list: any, key: string): any;
97
- static getJsonByBlob(blob: any): any;
98
- static getBase64ByFile(files: any): any;
99
- /**
100
- * 获取list 层级结构
101
- * @param {any[]} list
102
- * @returns {any}
103
- */
104
- static getTreeList(list: any[]): any;
105
- static getTreeLastParent(id: string, json: any, isShowSelf?: boolean): any;
106
- private static _recursionChild;
107
- private static _recursionParent;
108
- /**
109
- * 获取list tree转list
110
- * @param tree
111
- * @param opt
112
- * @returns
113
- */
114
- static getListByTree(tree: any, opt?: any): any;
115
- private static _recursionListByTree;
116
- /**
117
- * 复制list
118
- * @param list
119
- */
120
- static getListClone(list: any, isDeep?: boolean): any;
121
- /**
122
- * list 合并
123
- * @param newList 新
124
- * @param oldList 旧
125
- * @param key id
126
- * @returns list
127
- */
128
- static getListMergeDeep(newList: any[], oldList: any[], key?: string): any;
129
- static getRecursionParentList(json: any, pId: [string, number], pKey?: string): any;
130
- static getListExistValue(list: any, value: string, key?: string): any;
131
- /**
132
- * 复制数组
133
- * @param arr
134
- * @returns {Array}
135
- */
136
- static getArrClone(arr: any): any;
137
- static getArrByList(list: any[], key?: string): any;
138
- static getArrRemoveById(arr: any, ids: any): string[];
139
- static getArrByMinMax(min: number | undefined, max: number): number[];
140
- /**
141
- * 数组去重
142
- * @param arr
143
- * @returns
144
- */
145
- static getArrUnique(arr: any): any;
146
- static getArrConvertJson(arr: any[]): any;
147
- static getArrAsc(arr: any, type: string): any[];
148
- static getArrDesc(arr: any, type: string): any[];
149
- private static _arrSortString;
150
- private static _getChartType;
151
- static getZeroCount(len: number): string;
152
- /** 补全零 */
153
- static getFillZero(value: any, len?: number, around?: string): string;
154
- /**
155
- * 获取随机数
156
- * @param {number} len
157
- * @returns {any}
158
- */
159
- static getRandom(len?: number): string;
160
- /**
161
- * 指定范围获取随机数
162
- * @param {number} min
163
- * @param {number} max
164
- * @returns {number}
165
- */
166
- static getRandomRange(min: number, max: number, isRound?: boolean): number;
167
- /**
168
- * 验证码
169
- */
170
- static getCaptcha(len?: number): string;
171
- /**
172
- * 字符串格式化(int float2)
173
- * @param value
174
- * @param type num int float float2 float3 date dateTime time string intArray
175
- */
176
- static getValueByFormat(value: any, type: string, extInfo?: any): string;
177
- /**
178
- * 小时格式
179
- * @param start 开始
180
- * @param end 结束
181
- * @returns 格式: 01:00-02:59
182
- */
183
- static getHourInterval(start: any, end?: any): string;
184
- /** 转化千分位 */
185
- static getFormatThousands(value: any): string;
186
- /**
187
- * 指定位 数字加一,位之后零补充
188
- * @param value 值
189
- * @param opt inxPos(第几位 默认第二位) isCeil(最后数字是否ceil) isRounding(是否四舍五入,优先isCeil) isEndFive (最后数字是否5/0)
190
- * @returns
191
- */
192
- static getNumCeil(value: any, opt?: any): number;
193
- static removeReplace(value: any, key?: string): any;
194
- /**
195
- * 转换空为零
196
- * @param json
197
- * @param mapKey
198
- * @param optExt
199
- * @returns
200
- */
201
- static conversionEmptyZero(json: any, mapKey: string[], optExt?: any): any;
202
- /**
203
- * 转换百分比
204
- * @param {any} json
205
- * @param {string[]} mapKey
206
- */
207
- static conversionPercentage(json: any, mapKey: string[], isMultiply?: boolean): any;
208
- /**
209
- * 转换格式化的字符串
210
- * @param {string} strFormat
211
- * @param {any} json
212
- * @returns {string}
213
- */
214
- static convertStringFormat(strFormat: string, json: any): string;
215
- static getQueryString(url: string, name: string): string;
216
- static getQueryStringByHash(name: string): string;
217
- static encodeHTML(source: string): string;
218
- static removeHTMLTags(str: string): string;
219
- static requestAnimationFrame(nextCb: any): number;
220
- static cancelAnimationFrame(handle: any): void;
221
- }
222
- export default CommonBase;
@@ -1,2 +0,0 @@
1
- "use strict";const i=require("dayjs"),s=require("./base-iCmnU-fv.cjs");require("dayjs/locale/zh-cn");require("dayjs/locale/en");const c=require("dayjs/plugin/localeData"),m=require("dayjs/plugin/objectSupport"),o=require("dayjs/plugin/isSameOrAfter"),u=require("dayjs/plugin/isSameOrBefore"),l=require("dayjs/plugin/isoWeek"),D=require("dayjs-lunar"),j=require("dayjs/plugin/utc"),f=require("dayjs/plugin/timezone");i.locale("zh-cn");i.extend(c);i.extend(m);i.extend(o);i.extend(u);i.extend(l);i.extend(j);i.extend(f);i.extend(D);class n{static objDay=i;static timezone="PRC";static initDay(e){return(s.CommonBase.isUndefined(e)?i():e).tz(this.timezone)}static getDayjsObject(e){if(s.CommonBase.isEmpty(e))return this.initDay(i());if(i.isDayjs(e))return this.initDay(e.clone());let t;return s.CommonBase.isString(e)?t=e.replace(/[/]/g,"-").replace(/:/g,":"):s.CommonBase.isInt(e)?t=new Date(parseInt(e,10)):s.CommonBase.isObject(e)&&(t=e),this.initDay(i(t,"YYYY-MM-DD HH:mm:ss"))}static initFormat(e){let t={value:"",format:"YYYY-MM-DD"},r;return s.CommonBase.isObject(e)?i.isDayjs(e)?r=e:(e.format&&(t=s.CommonBase.getJsonMerge(t,e)),e.value||e.format?r=this.getDayjsObject(e.value||""):r=this.getDayjsObject(e)):r=this.getDayjsObject(e),r.format(t.format)}static addTime(e,t,r="days"){return this.getDayjsObject(e).add(t,r)}static subtractTime(e,t,r="days"){return this.getDayjsObject(e).subtract(t,r)}static diffTime(e,t,r="millisecond"){return this.getDayjsObject(e).diff(this.getDayjsObject(t),r)}static lunar(e){return this.getDayjsObject(e).lunar()}}s.registerFormatHandler("date",(a,e)=>n.initFormat({value:a,format:e}));s.registerFormatHandler("dateTime",(a,e)=>n.initFormat({value:a,format:e}));s.registerFormatHandler("time",(a,e)=>n.initFormat({value:a,format:e}));exports.CommDay=n;
2
- //# sourceMappingURL=day-BzMalBXj.cjs.map