@xysfe/actui2 0.0.7 → 0.0.9

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 (414) hide show
  1. package/README.md +18 -0
  2. package/lib/BScroll/index.esm.js +1 -0
  3. package/lib/BScroll/index.js +1 -1
  4. package/lib/BankSelect/bankbox/{index.mjs → index.esm.js} +2 -2
  5. package/lib/BankSelect/bankchoosebox/{index.mjs → index.esm.js} +2 -2
  6. package/lib/BankSelect/bankmsg/{index.mjs → index.esm.js} +10 -10
  7. package/lib/BankSelect/{index.mjs → index.esm.js} +15 -15
  8. package/lib/BaseInput/{index.mjs → index.esm.js} +3 -3
  9. package/lib/Button/{index.mjs → index.esm.js} +3 -3
  10. package/lib/CascadePicker/{index.mjs → index.esm.js} +7 -7
  11. package/lib/CertifyLayer/{index.mjs → index.esm.js} +14 -14
  12. package/lib/ClaimsContact/{index.mjs → index.esm.js} +12 -12
  13. package/lib/Collapse/{index.mjs → index.esm.js} +5 -5
  14. package/lib/Contact/{index.mjs → index.esm.js} +11 -11
  15. package/lib/ContactBook/{index.mjs → index.esm.js} +12 -12
  16. package/lib/CountTo/{index.mjs → index.esm.js} +4 -4
  17. package/lib/CouponLayer/{index.mjs → index.esm.js} +12 -12
  18. package/lib/CouponLayer/index.js +1 -1
  19. package/lib/CrmReserveInfoLayer/{index.mjs → index.esm.js} +8 -8
  20. package/lib/DatePicker/{index.mjs → index.esm.js} +10 -10
  21. package/lib/DeviceFingerprint/{index.mjs → index.esm.js} +1 -1
  22. package/lib/Dialog/{index.mjs → index.esm.js} +6 -6
  23. package/lib/DiseaseListLayer/{index.mjs → index.esm.js} +7 -7
  24. package/lib/DiseaseListLayer/index.js +1 -1
  25. package/lib/DiseaseSelect/collapse/collapse/{index.mjs → index.esm.js} +1 -1
  26. package/lib/DiseaseSelect/collapse/collapseItem/{index.mjs → index.esm.js} +3 -3
  27. package/lib/DiseaseSelect/collapse/collapseTransition/{index.mjs → index.esm.js} +2 -2
  28. package/lib/DiseaseSelect/diseaseList/{index.mjs → index.esm.js} +3 -3
  29. package/lib/DiseaseSelect/{index.mjs → index.esm.js} +6 -6
  30. package/lib/DiseaseSelect/resultList/{index.mjs → index.esm.js} +2 -2
  31. package/lib/DiseaseSelect/search/{index.mjs → index.esm.js} +4 -4
  32. package/lib/DiseaseSelect/selectLayer/{index.mjs → index.esm.js} +6 -6
  33. package/lib/DiseaseSelectLayer/{index.mjs → index.esm.js} +5 -5
  34. package/lib/DocPop/{index.mjs → index.esm.js} +7 -7
  35. package/lib/DocPop/scrollList/{index.mjs → index.esm.js} +2 -2
  36. package/lib/ErrorInterceptors/{index.mjs → index.esm.js} +1 -1
  37. package/lib/FaceRecognition/{index.mjs → index.esm.js} +3 -3
  38. package/lib/FigurePic/{index.mjs → index.esm.js} +3 -3
  39. package/lib/FileList/imageList/{index.mjs → index.esm.js} +1 -1
  40. package/lib/FileList/{index.mjs → index.esm.js} +7 -7
  41. package/lib/FileList/selectLayer/{index.mjs → index.esm.js} +2 -2
  42. package/lib/FileList/uploadMaterial/{index.mjs → index.esm.js} +7 -7
  43. package/lib/FileUpload/choose/{index.mjs → index.esm.js} +3 -3
  44. package/lib/FileUpload/{index.mjs → index.esm.js} +3 -3
  45. package/lib/FileUpload/upload/{index.mjs → index.esm.js} +4 -4
  46. package/lib/FileUpload/util/{index.mjs → index.esm.js} +2 -2
  47. package/lib/FormLayer/{index.mjs → index.esm.js} +13 -13
  48. package/lib/GivenLayer/{index.mjs → index.esm.js} +14 -14
  49. package/lib/GoldAddress/{index.mjs → index.esm.js} +7 -7
  50. package/lib/GoldAddressLayer/{index.mjs → index.esm.js} +7 -7
  51. package/lib/GoldAddressLayerV2/{index.mjs → index.esm.js} +8 -8
  52. package/lib/GoldAddressSelect/addressSelectLayer/{index.mjs → index.esm.js} +5 -5
  53. package/lib/GoldAddressSelect/{index.mjs → index.esm.js} +8 -8
  54. package/lib/GoldAml/{index.mjs → index.esm.js} +8 -8
  55. package/lib/GoldArea/{index.mjs → index.esm.js} +8 -8
  56. package/lib/GoldAuroraSlots/{index.mjs → index.esm.js} +2 -2
  57. package/lib/GoldBankCombine/{index.mjs → index.esm.js} +7 -7
  58. package/lib/GoldBankPayLimit/bankSelect/{index.mjs → index.esm.js} +5 -5
  59. package/lib/GoldBankPayLimit/{index.mjs → index.esm.js} +9 -9
  60. package/lib/GoldBankSelect/{index.mjs → index.esm.js} +6 -6
  61. package/lib/GoldBenefitDemo/benefit/amount/{index.mjs → index.esm.js} +1 -1
  62. package/lib/GoldBenefitDemo/benefit/{index.mjs → index.esm.js} +4 -4
  63. package/lib/GoldBenefitDemo/benefit/slider/{index.mjs → index.esm.js} +3 -3
  64. package/lib/GoldBenefitDemo/benefit/slider/index.js +1 -1
  65. package/lib/GoldBenefitDemo/benefit/title/{index.mjs → index.esm.js} +1 -1
  66. package/lib/GoldBenefitDemo/costTable/{index.mjs → index.esm.js} +5 -5
  67. package/lib/GoldBenefitDemo/costTable/index.js +1 -1
  68. package/lib/GoldBenefitDemo/{index.mjs → index.esm.js} +4 -4
  69. package/lib/GoldCancelDialog/{index.mjs → index.esm.js} +8 -8
  70. package/lib/GoldCareer/{index.mjs → index.esm.js} +9 -9
  71. package/lib/GoldCareerLayer/{index.mjs → index.esm.js} +11 -11
  72. package/lib/GoldCareerLayer/rowPicker/{index.mjs → index.esm.js} +2 -2
  73. package/lib/GoldCareerLayer/scrollList/{index.mjs → index.esm.js} +1 -1
  74. package/lib/GoldCareerLayer/searchList/{index.mjs → index.esm.js} +2 -2
  75. package/lib/GoldCert/{index.mjs → index.esm.js} +12 -12
  76. package/lib/GoldCert/photo/{index.mjs → index.esm.js} +2 -2
  77. package/lib/GoldCert/relateVerifyPhoto/{index.mjs → index.esm.js} +4 -4
  78. package/lib/GoldCert/selectLayer/{index.mjs → index.esm.js} +2 -2
  79. package/lib/GoldCheckbox/{index.mjs → index.esm.js} +5 -5
  80. package/lib/GoldClaimsContact/{index.mjs → index.esm.js} +6 -6
  81. package/lib/GoldCommentList/{index.mjs → index.esm.js} +4 -4
  82. package/lib/GoldCommentList/item/{index.mjs → index.esm.js} +2 -2
  83. package/lib/GoldCommentList/tag/{index.mjs → index.esm.js} +1 -1
  84. package/lib/GoldCompute/careerQuery/{index.mjs → index.esm.js} +2 -2
  85. package/lib/GoldCompute/{index.mjs → index.esm.js} +7 -7
  86. package/lib/GoldComputeV2/careerQuery/{index.mjs → index.esm.js} +2 -2
  87. package/lib/GoldComputeV2/{index.mjs → index.esm.js} +6 -6
  88. package/lib/GoldConclusion/humancheck/{index.mjs → index.esm.js} +5 -5
  89. package/lib/GoldConclusion/{index.mjs → index.esm.js} +6 -6
  90. package/lib/GoldConclusion/intelModule/{index.mjs → index.esm.js} +1 -1
  91. package/lib/GoldConclusion/intelcheck/{index.mjs → index.esm.js} +3 -3
  92. package/lib/GoldConclusion/module/{index.mjs → index.esm.js} +1 -1
  93. package/lib/GoldConclusion/picture/{index.mjs → index.esm.js} +1 -1
  94. package/lib/GoldConclusion/progress/{index.mjs → index.esm.js} +1 -1
  95. package/lib/GoldConclusion/scrollzoom/{index.mjs → index.esm.js} +5 -5
  96. package/lib/GoldConclusion/status/{index.mjs → index.esm.js} +1 -1
  97. package/lib/GoldConclusion/tab/{index.mjs → index.esm.js} +3 -3
  98. package/lib/GoldContact/{index.mjs → index.esm.js} +6 -6
  99. package/lib/GoldContactBook/{index.mjs → index.esm.js} +6 -6
  100. package/lib/GoldContactElement/{index.mjs → index.esm.js} +7 -7
  101. package/lib/GoldCost/costTable/{index.mjs → index.esm.js} +6 -6
  102. package/lib/GoldCost/costTable/index.js +1 -1
  103. package/lib/GoldCost/{index.mjs → index.esm.js} +8 -8
  104. package/lib/GoldCost/table/{index.mjs → index.esm.js} +2 -2
  105. package/lib/GoldCostLayer/{index.mjs → index.esm.js} +6 -6
  106. package/lib/GoldCoupon/code/{index.mjs → index.esm.js} +7 -7
  107. package/lib/GoldCoupon/{index.mjs → index.esm.js} +9 -9
  108. package/lib/GoldCoupon/item/{index.mjs → index.esm.js} +1 -1
  109. package/lib/GoldCoupon/list/{index.mjs → index.esm.js} +7 -7
  110. package/lib/GoldDate/{index.mjs → index.esm.js} +8 -8
  111. package/lib/GoldDialog/{index.mjs → index.esm.js} +8 -8
  112. package/lib/GoldDisease/{index.mjs → index.esm.js} +8 -8
  113. package/lib/GoldDocLayer/{index.mjs → index.esm.js} +5 -5
  114. package/lib/GoldDoorPlate/{index.mjs → index.esm.js} +7 -7
  115. package/lib/GoldDoubleRecordTable/{index.mjs → index.esm.js} +5 -5
  116. package/lib/GoldElement/{index.mjs → index.esm.js} +34 -34
  117. package/lib/GoldElementGroup/{index.mjs → index.esm.js} +3 -3
  118. package/lib/GoldFacecheck/{index.mjs → index.esm.js} +6 -6
  119. package/lib/GoldFaq/{index.mjs → index.esm.js} +2 -2
  120. package/lib/GoldFile/{index.mjs → index.esm.js} +8 -8
  121. package/lib/GoldFileAssess/{index.mjs → index.esm.js} +8 -8
  122. package/lib/GoldFinance/benefit/amount/{index.mjs → index.esm.js} +1 -1
  123. package/lib/GoldFinance/benefit/{index.mjs → index.esm.js} +6 -6
  124. package/lib/GoldFinance/benefit/select/{index.mjs → index.esm.js} +1 -1
  125. package/lib/GoldFinance/benefit/slider/{index.mjs → index.esm.js} +3 -3
  126. package/lib/GoldFinance/benefit/slider/index.js +1 -1
  127. package/lib/GoldFinance/benefit/text/{index.mjs → index.esm.js} +1 -1
  128. package/lib/GoldFinance/benefit/title/{index.mjs → index.esm.js} +1 -1
  129. package/lib/GoldFinance/caseDemo/{index.mjs → index.esm.js} +1 -1
  130. package/lib/GoldFinance/costTable/{index.mjs → index.esm.js} +3 -3
  131. package/lib/GoldFinance/costTable/index.js +1 -1
  132. package/lib/GoldFinance/{index.mjs → index.esm.js} +7 -7
  133. package/lib/{GoldFinanceV2/replace/index.mjs → GoldFinance/replace/index.esm.js} +1 -1
  134. package/lib/GoldFinanceChart/benefit/{index.mjs → index.esm.js} +3 -3
  135. package/lib/GoldFinanceChart/chart/{index.mjs → index.esm.js} +2 -2
  136. package/lib/GoldFinanceChart/costTable/{index.mjs → index.esm.js} +3 -3
  137. package/lib/GoldFinanceChart/costTable/index.js +1 -1
  138. package/lib/GoldFinanceChart/{index.mjs → index.esm.js} +7 -7
  139. package/lib/GoldFinanceChartV2/chart/{index.mjs → index.esm.js} +2 -2
  140. package/lib/GoldFinanceChartV2/{index.mjs → index.esm.js} +5 -5
  141. package/lib/GoldFinanceChartV3/benefit/header/{index.mjs → index.esm.js} +1 -1
  142. package/lib/GoldFinanceChartV3/benefit/{index.mjs → index.esm.js} +7 -7
  143. package/lib/GoldFinanceChartV3/benefit/newamount/{index.mjs → index.esm.js} +1 -1
  144. package/lib/GoldFinanceChartV3/benefit/select/{index.mjs → index.esm.js} +1 -1
  145. package/lib/GoldFinanceChartV3/benefit/text/{index.mjs → index.esm.js} +1 -1
  146. package/lib/GoldFinanceChartV3/benefit/title/{index.mjs → index.esm.js} +1 -1
  147. package/lib/GoldFinanceChartV3/costTable/{index.mjs → index.esm.js} +6 -6
  148. package/lib/GoldFinanceChartV3/costTable/index.js +1 -1
  149. package/lib/GoldFinanceChartV3/{index.mjs → index.esm.js} +6 -6
  150. package/lib/GoldFinanceChartV3/tools/replace/{index.mjs → index.esm.js} +1 -1
  151. package/lib/GoldFinanceV2/benefit/amount/{index.mjs → index.esm.js} +1 -1
  152. package/lib/GoldFinanceV2/benefit/{index.mjs → index.esm.js} +6 -6
  153. package/lib/GoldFinanceV2/benefit/select/{index.mjs → index.esm.js} +1 -1
  154. package/lib/GoldFinanceV2/benefit/slider/{index.mjs → index.esm.js} +3 -3
  155. package/lib/GoldFinanceV2/benefit/slider/index.js +1 -1
  156. package/lib/GoldFinanceV2/benefit/text/{index.mjs → index.esm.js} +1 -1
  157. package/lib/GoldFinanceV2/benefit/title/{index.mjs → index.esm.js} +1 -1
  158. package/lib/GoldFinanceV2/caseDemo/{index.mjs → index.esm.js} +1 -1
  159. package/lib/GoldFinanceV2/costTable/{index.mjs → index.esm.js} +3 -3
  160. package/lib/GoldFinanceV2/costTable/index.js +1 -1
  161. package/lib/GoldFinanceV2/{index.mjs → index.esm.js} +7 -7
  162. package/lib/{GoldFinance/replace/index.mjs → GoldFinanceV2/replace/index.esm.js} +1 -1
  163. package/lib/GoldIndexBar/{index.mjs → index.esm.js} +7 -7
  164. package/lib/GoldInput/{index.mjs → index.esm.js} +7 -7
  165. package/lib/GoldInsureDescDialog/{index.mjs → index.esm.js} +5 -5
  166. package/lib/GoldInsureDuty/{index.mjs → index.esm.js} +5 -5
  167. package/lib/GoldInsureNotice/content/{index.mjs → index.esm.js} +1 -1
  168. package/lib/GoldInsureNotice/denyCarrer/{index.mjs → index.esm.js} +1 -1
  169. package/lib/GoldInsureNotice/health/{index.mjs → index.esm.js} +9 -9
  170. package/lib/GoldInsureNotice/healthNotice/{index.mjs → index.esm.js} +10 -10
  171. package/lib/GoldInsureNotice/{index.mjs → index.esm.js} +8 -8
  172. package/lib/GoldInsureNotice/offlineHealth/{index.mjs → index.esm.js} +2 -2
  173. package/lib/GoldInsureNotice/tips/{index.mjs → index.esm.js} +1 -1
  174. package/lib/GoldIntransitDialog/{index.mjs → index.esm.js} +6 -6
  175. package/lib/GoldItem/{index.mjs → index.esm.js} +4 -4
  176. package/lib/GoldLattice/{index.mjs → index.esm.js} +7 -7
  177. package/lib/GoldLayer/{index.mjs → index.esm.js} +2 -2
  178. package/lib/GoldLongTextSelect/{index.mjs → index.esm.js} +8 -8
  179. package/lib/GoldMailPrecheck/{index.mjs → index.esm.js} +6 -6
  180. package/lib/GoldMailPrecheckV2/{index.mjs → index.esm.js} +6 -6
  181. package/lib/GoldMobileLayer/{index.mjs → index.esm.js} +7 -7
  182. package/lib/GoldModule/{index.mjs → index.esm.js} +6 -6
  183. package/lib/GoldMulSelect/{index.mjs → index.esm.js} +9 -9
  184. package/lib/GoldMulSelect/mulSelect/{index.mjs → index.esm.js} +5 -5
  185. package/lib/GoldMulSelect/mulSelect/index.js +1 -1
  186. package/lib/GoldNoticeTerms/heatlh/{index.mjs → index.esm.js} +2 -2
  187. package/lib/GoldNoticeTerms/{index.mjs → index.esm.js} +9 -9
  188. package/lib/GoldNoticeTerms/protocol/{index.mjs → index.esm.js} +1 -1
  189. package/lib/GoldNoticeTerms/tab/{index.mjs → index.esm.js} +2 -2
  190. package/lib/GoldOcr/filelist/{index.mjs → index.esm.js} +3 -3
  191. package/lib/GoldOcr/{index.mjs → index.esm.js} +7 -7
  192. package/lib/GoldPayLimitLayer/{index.mjs → index.esm.js} +9 -9
  193. package/lib/GoldPayLimitLayer/index.js +1 -1
  194. package/lib/GoldPayLimitLayer/signIntroduct/{index.mjs → index.esm.js} +3 -3
  195. package/lib/GoldPayLimitLayer/signIntroduct/index.js +1 -1
  196. package/lib/GoldPayLimitLayer/table/{index.mjs → index.esm.js} +4 -4
  197. package/lib/GoldPayLimitLayer/table/index.js +1 -1
  198. package/lib/GoldPhoto/{index.mjs → index.esm.js} +11 -11
  199. package/lib/GoldProtocol/{index.mjs → index.esm.js} +2 -2
  200. package/lib/GoldProtocolLayer/{index.mjs → index.esm.js} +6 -6
  201. package/lib/GoldPureText/{index.mjs → index.esm.js} +5 -5
  202. package/lib/GoldQrcode/{index.mjs → index.esm.js} +8 -8
  203. package/lib/GoldReadTerms/{index.mjs → index.esm.js} +6 -6
  204. package/lib/GoldSelect/{index.mjs → index.esm.js} +10 -10
  205. package/lib/GoldSelect/searchBank/{index.mjs → index.esm.js} +5 -5
  206. package/lib/GoldSelect/select/{index.mjs → index.esm.js} +5 -5
  207. package/lib/GoldSignature/{index.mjs → index.esm.js} +8 -8
  208. package/lib/GoldStepper/{index.mjs → index.esm.js} +8 -8
  209. package/lib/GoldSwitch/{index.mjs → index.esm.js} +7 -7
  210. package/lib/GoldText/{index.mjs → index.esm.js} +6 -6
  211. package/lib/GoldTextarea/{index.mjs → index.esm.js} +7 -7
  212. package/lib/GoldTimePicker/{index.mjs → index.esm.js} +7 -7
  213. package/lib/GoldUniversal/{index.mjs → index.esm.js} +5 -5
  214. package/lib/GoldVerifyCode/{index.mjs → index.esm.js} +7 -7
  215. package/lib/HumanCheckGuideLayer/guideDetail/{index.mjs → index.esm.js} +2 -2
  216. package/lib/HumanCheckGuideLayer/{index.mjs → index.esm.js} +4 -4
  217. package/lib/HumanCheckGuideLayer/moduleBox/{index.mjs → index.esm.js} +2 -2
  218. package/lib/HumanCheckGuideLayer/table/{index.mjs → index.esm.js} +2 -2
  219. package/lib/ImageLayer/{index.mjs → index.esm.js} +7 -7
  220. package/lib/ImagePreview/{index.mjs → index.esm.js} +10 -10
  221. package/lib/IndexBar/{index.mjs → index.esm.js} +8 -8
  222. package/lib/IndexList/{index.mjs → index.esm.js} +3 -3
  223. package/lib/Jigsaw/{index.mjs → index.esm.js} +7 -7
  224. package/lib/JigsawLayer/{index.mjs → index.esm.js} +8 -8
  225. package/lib/JigsawVerifyCode/{index.mjs → index.esm.js} +7 -7
  226. package/lib/Keyframe/{index.mjs → index.esm.js} +4 -4
  227. package/lib/Loading/cir1-loading/{index.mjs → index.esm.js} +2 -2
  228. package/lib/Loading/cir2-loading/{index.mjs → index.esm.js} +2 -2
  229. package/lib/Loading/cir3-loading/{index.mjs → index.esm.js} +2 -2
  230. package/lib/Loading/cir4-loading/{index.mjs → index.esm.js} +2 -2
  231. package/lib/Loading/cir5-loading/{index.mjs → index.esm.js} +2 -2
  232. package/lib/Loading/default-loading/{index.mjs → index.esm.js} +2 -2
  233. package/lib/Loading/{index.mjs → index.esm.js} +9 -9
  234. package/lib/Loading/line-loading/{index.mjs → index.esm.js} +2 -2
  235. package/lib/Login/{index.mjs → index.esm.js} +3 -3
  236. package/lib/LoginLayer/{index.mjs → index.esm.js} +12 -12
  237. package/lib/LoginLayer/jigsaw/{index.mjs → index.esm.js} +6 -6
  238. package/lib/Marketing/Details/{index.mjs → index.esm.js} +4 -4
  239. package/lib/Marketing/GetMobile/{index.mjs → index.esm.js} +6 -6
  240. package/lib/Marketing/GetMobileForNew/{index.mjs → index.esm.js} +6 -6
  241. package/lib/Marketing/List/{index.mjs → index.esm.js} +5 -5
  242. package/lib/Marketing/RuleDetails/{index.mjs → index.esm.js} +3 -3
  243. package/lib/Marketing/TgfTable/{index.mjs → index.esm.js} +3 -3
  244. package/lib/Marketing/activity/{index.mjs → index.esm.js} +2 -2
  245. package/lib/Marketing/filterIcon/{index.mjs → index.esm.js} +2 -2
  246. package/lib/Marketing/gift/{index.mjs → index.esm.js} +1 -1
  247. package/lib/Marketing/{index.mjs → index.esm.js} +3 -3
  248. package/lib/Marketing/kcb/{index.mjs → index.esm.js} +9 -9
  249. package/lib/Marketing/popper/{index.mjs → index.esm.js} +5 -4
  250. package/lib/Marketing/popper/index.js +1 -1
  251. package/lib/Marketing/teleport/{index.mjs → index.esm.js} +3 -2
  252. package/lib/Marketing/teleport/index.js +1 -1
  253. package/lib/Marketing/tipsLayer/{index.mjs → index.esm.js} +2 -2
  254. package/lib/Marketing/tuiguangfei/{index.mjs → index.esm.js} +6 -6
  255. package/lib/Marketing/xys/{index.mjs → index.esm.js} +15 -15
  256. package/lib/MarketingPage/{index.mjs → index.esm.js} +8 -8
  257. package/lib/MedicalListLayer/component/medicalList/{index.mjs → index.esm.js} +1 -1
  258. package/lib/MedicalListLayer/{index.mjs → index.esm.js} +8 -8
  259. package/lib/MedicalListLayer/index.js +1 -1
  260. package/lib/MobileAuth/{index.mjs → index.esm.js} +3 -3
  261. package/lib/MobileAuthLayer/{index.mjs → index.esm.js} +11 -11
  262. package/lib/MobileAuthLayer/jigsaw/{index.mjs → index.esm.js} +6 -6
  263. package/lib/MobileLayer/crm/{index.mjs → index.esm.js} +10 -10
  264. package/lib/MobileLayer/default/{index.mjs → index.esm.js} +10 -10
  265. package/lib/MobileLayer/{index.mjs → index.esm.js} +3 -3
  266. package/lib/MultiSelect/{index.mjs → index.esm.js} +9 -9
  267. package/lib/NoticeTips/{index.mjs → index.esm.js} +5 -5
  268. package/lib/NoticeTips/noticeTips/{index.mjs → index.esm.js} +2 -2
  269. package/lib/OcrLayer/{index.mjs → index.esm.js} +4 -4
  270. package/lib/PageLoading/{index.mjs → index.esm.js} +6 -6
  271. package/lib/Panel/{index.mjs → index.esm.js} +3 -3
  272. package/lib/PhotoBox/{index.mjs → index.esm.js} +2 -2
  273. package/lib/Picker/{index.mjs → index.esm.js} +11 -11
  274. package/lib/Picker/index.js +1 -1
  275. package/lib/PickerLongText/{index.mjs → index.esm.js} +11 -11
  276. package/lib/PickerLongText/index.js +1 -1
  277. package/lib/PlanSetting/{index.mjs → index.esm.js} +4 -4
  278. package/lib/PlanSetting/index.js +1 -1
  279. package/lib/PlanSetting/style.css +1 -1
  280. package/lib/PlanSettingLayer/{index.mjs → index.esm.js} +6 -6
  281. package/lib/PlanSubPlan/{index.mjs → index.esm.js} +3 -3
  282. package/lib/PosterLayer/{index.mjs → index.esm.js} +12 -12
  283. package/lib/PrizeLayer/{index.mjs → index.esm.js} +12 -12
  284. package/lib/ProPosterLayer/{index.mjs → index.esm.js} +9 -9
  285. package/lib/ProPosterLayer/poster/{index.mjs → index.esm.js} +6 -7
  286. package/lib/ProPosterLayer/poster/index.js +1 -1
  287. package/lib/ProPosterLayer/poster/style.css +1 -1
  288. package/lib/ProductLayer/actionSheet/{index.mjs → index.esm.js} +2 -2
  289. package/lib/ProductLayer/emailLayer/{index.mjs → index.esm.js} +3 -3
  290. package/lib/ProductLayer/fileListLayer/{index.mjs → index.esm.js} +5 -5
  291. package/lib/ProductLayer/{index.mjs → index.esm.js} +15 -15
  292. package/lib/ProductLayer/js/util/{index.mjs → index.esm.js} +1 -1
  293. package/lib/ProductLayer/layer/{index.mjs → index.esm.js} +4 -4
  294. package/lib/ProductLayer/productDetailLayer/{index.mjs → index.esm.js} +8 -8
  295. package/lib/ProductLayer/productDetailLayer/index.js +1 -1
  296. package/lib/ProductLayer/saleAreaLayer/{index.mjs → index.esm.js} +6 -6
  297. package/lib/ProductLayer/shareTipLayer/{index.mjs → index.esm.js} +1 -1
  298. package/lib/QRCode/{index.mjs → index.esm.js} +1 -1
  299. package/lib/QrcodeLayer/{index.mjs → index.esm.js} +7 -7
  300. package/lib/Questionnaire/component/checkbox/{index.mjs → index.esm.js} +5 -5
  301. package/lib/Questionnaire/component/input/{index.mjs → index.esm.js} +1 -1
  302. package/lib/Questionnaire/component/questionItem/{index.mjs → index.esm.js} +5 -5
  303. package/lib/Questionnaire/component/questionTitle/{index.mjs → index.esm.js} +2 -2
  304. package/lib/Questionnaire/component/radio/{index.mjs → index.esm.js} +5 -5
  305. package/lib/Questionnaire/{index.mjs → index.esm.js} +4 -4
  306. package/lib/Recognition/createDialog/{index.mjs → index.esm.js} +2 -2
  307. package/lib/Recognition/dialog/{index.mjs → index.esm.js} +2 -2
  308. package/lib/Recognition/{index.mjs → index.esm.js} +5 -5
  309. package/lib/Recognition/util/{index.mjs → index.esm.js} +1 -1
  310. package/lib/RecordRuleLayer/{index.mjs → index.esm.js} +9 -9
  311. package/lib/RecordRuleLayer/index.js +1 -1
  312. package/lib/ReplayLayer/{index.mjs → index.esm.js} +7 -7
  313. package/lib/RowCascadePicker/frequency/{index.mjs → index.esm.js} +2 -2
  314. package/lib/RowCascadePicker/{index.mjs → index.esm.js} +12 -12
  315. package/lib/RowCascadePicker/rowPicker/{index.mjs → index.esm.js} +3 -3
  316. package/lib/RowCascadePicker/scrollList/{index.mjs → index.esm.js} +2 -2
  317. package/lib/RowCascadePicker/search/{index.mjs → index.esm.js} +2 -2
  318. package/lib/RowCascadePickerV2/frequency/{index.mjs → index.esm.js} +1 -1
  319. package/lib/RowCascadePickerV2/{index.mjs → index.esm.js} +12 -12
  320. package/lib/RowCascadePickerV2/rowPicker/{index.mjs → index.esm.js} +2 -2
  321. package/lib/RowCascadePickerV2/scrollList/{index.mjs → index.esm.js} +1 -1
  322. package/lib/RowCascadePickerV2/searchList/{index.mjs → index.esm.js} +2 -2
  323. package/lib/Rule/{index.mjs → index.esm.js} +10 -10
  324. package/lib/Rule/index.js +1 -1
  325. package/lib/Scroll/{index.mjs → index.esm.js} +1 -1
  326. package/lib/Signature/{index.mjs → index.esm.js} +2 -2
  327. package/lib/SlidePoster/{index.mjs → index.esm.js} +7 -7
  328. package/lib/Stepper/{index.mjs → index.esm.js} +2 -2
  329. package/lib/Sticky/{index.mjs → index.esm.js} +2 -2
  330. package/lib/Style/{index.mjs → index.esm.js} +1 -1
  331. package/lib/Swipe/{index.mjs → index.esm.js} +7 -7
  332. package/lib/Switch/{index.mjs → index.esm.js} +2 -2
  333. package/lib/Tab/{index.mjs → index.esm.js} +4 -4
  334. package/lib/Timeline/{index.mjs → index.esm.js} +3 -3
  335. package/lib/Toast/{index.mjs → index.esm.js} +8 -8
  336. package/lib/TransferPay/{index.mjs → index.esm.js} +2 -2
  337. package/lib/UserAuth/{index.mjs → index.esm.js} +2 -2
  338. package/lib/common/addon/{index.mjs → index.esm.js} +2 -2
  339. package/lib/common/baseelement/{index.mjs → index.esm.js} +2 -2
  340. package/lib/common/button/{index.mjs → index.esm.js} +2 -2
  341. package/lib/common/dynamicform/{index.mjs → index.esm.js} +2 -2
  342. package/lib/common/forminput/{index.mjs → index.esm.js} +3 -3
  343. package/lib/common/goldlayer/{index.mjs → index.esm.js} +5 -5
  344. package/lib/common/iconbank/{index.mjs → index.esm.js} +1 -1
  345. package/lib/common/iconcontact/{index.mjs → index.esm.js} +1 -1
  346. package/lib/common/iconphoto/{index.mjs → index.esm.js} +1 -1
  347. package/lib/common/input/{index.mjs → index.esm.js} +2 -2
  348. package/lib/common/layer/{index.mjs → index.esm.js} +4 -4
  349. package/lib/common/popup/{index.mjs → index.esm.js} +3 -3
  350. package/lib/common/scroll/{index.mjs → index.esm.js} +4 -4
  351. package/lib/common/scroll/index.js +1 -1
  352. package/lib/common/scrollZoom/bubble/{index.mjs → index.esm.js} +1 -1
  353. package/lib/common/scrollZoom/{index.mjs → index.esm.js} +4 -4
  354. package/lib/common/scrollZoom/scroll/{index.mjs → index.esm.js} +6 -6
  355. package/lib/common/scrollZoom/scroll/index.js +1 -1
  356. package/lib/common/svgicon/{index.mjs → index.esm.js} +1 -1
  357. package/lib/index.esm.js +515 -0
  358. package/lib/index.js +1 -1
  359. package/lib/mixins/bind-event/{index.mjs → index.esm.js} +1 -1
  360. package/lib/mixins/dynamic-form/{index.mjs → index.esm.js} +3 -3
  361. package/lib/mixins/fixed-input/{index.mjs → index.esm.js} +1 -1
  362. package/lib/mixins/fontsize/{index.mjs → index.esm.js} +1 -1
  363. package/lib/mixins/form-input/{index.mjs → index.esm.js} +3 -3
  364. package/lib/mixins/gold-change/{index.mjs → index.esm.js} +1 -1
  365. package/lib/mixins/gold-element/{index.mjs → index.esm.js} +1 -1
  366. package/lib/mixins/mobile-layer/{index.mjs → index.esm.js} +5 -5
  367. package/lib/mixins/poster-layer/{index.mjs → index.esm.js} +3 -3
  368. package/lib/mixins/touch/{index.mjs → index.esm.js} +1 -1
  369. package/lib/toBase64/{index.mjs → index.esm.js} +2 -2
  370. package/lib/utils/BScroll/constants/{index.mjs → index.esm.js} +1 -1
  371. package/lib/utils/app/{index.mjs → index.esm.js} +1 -1
  372. package/lib/utils/camelcase/{index.mjs → index.esm.js} +1 -1
  373. package/lib/utils/create/{index.mjs → index.esm.js} +2 -2
  374. package/lib/utils/create/instantiate-component/{index.mjs → index.esm.js} +1 -1
  375. package/lib/utils/create/parse-render/{index.mjs → index.esm.js} +2 -2
  376. package/package.json +5 -4
  377. package/lib/BScroll/index.mjs +0 -1
  378. package/lib/index.mjs +0 -515
  379. /package/lib/BankSelect/js/{index.mjs → index.esm.js} +0 -0
  380. /package/lib/ClickOnce/{index.mjs → index.esm.js} +0 -0
  381. /package/lib/DiseaseSelect/collapse/dom/{index.mjs → index.esm.js} +0 -0
  382. /package/lib/DiseaseSelect/collapse/emitter/{index.mjs → index.esm.js} +0 -0
  383. /package/lib/FigurePic/compress/{index.mjs → index.esm.js} +0 -0
  384. /package/lib/GoldCert/const/{index.mjs → index.esm.js} +0 -0
  385. /package/lib/GoldFinanceChart/colorConfig/{index.mjs → index.esm.js} +0 -0
  386. /package/lib/GoldFinanceChartV2/config/{index.mjs → index.esm.js} +0 -0
  387. /package/lib/Marketing/utils/{index.mjs → index.esm.js} +0 -0
  388. /package/lib/Pdfjs/{index.mjs → index.esm.js} +0 -0
  389. /package/lib/QRCode/qrcode/{index.mjs → index.esm.js} +0 -0
  390. /package/lib/ResourcePreload/{index.mjs → index.esm.js} +0 -0
  391. /package/lib/SlidePoster/poster/{index.mjs → index.esm.js} +0 -0
  392. /package/lib/SlidePoster/qrcode/{index.mjs → index.esm.js} +0 -0
  393. /package/lib/Validator/{index.mjs → index.esm.js} +0 -0
  394. /package/lib/common/{index.mjs → index.esm.js} +0 -0
  395. /package/lib/mixins/basic-picker/{index.mjs → index.esm.js} +0 -0
  396. /package/lib/mixins/gold-visible/{index.mjs → index.esm.js} +0 -0
  397. /package/lib/mixins/noscroll/{index.mjs → index.esm.js} +0 -0
  398. /package/lib/mixins/picker/{index.mjs → index.esm.js} +0 -0
  399. /package/lib/mixins/popup/{index.mjs → index.esm.js} +0 -0
  400. /package/lib/mixins/visible/{index.mjs → index.esm.js} +0 -0
  401. /package/lib/utils/assign/{index.mjs → index.esm.js} +0 -0
  402. /package/lib/utils/clickOutside/{index.mjs → index.esm.js} +0 -0
  403. /package/lib/utils/create-api/{index.mjs → index.esm.js} +0 -0
  404. /package/lib/utils/date/{index.mjs → index.esm.js} +0 -0
  405. /package/lib/utils/dom/{index.mjs → index.esm.js} +0 -0
  406. /package/lib/utils/encrypt/{index.mjs → index.esm.js} +0 -0
  407. /package/lib/utils/event/{index.mjs → index.esm.js} +0 -0
  408. /package/lib/utils/helpers/{index.mjs → index.esm.js} +0 -0
  409. /package/lib/utils/polyfill/Array.prototype.includes/{index.mjs → index.esm.js} +0 -0
  410. /package/lib/utils/polyfill/Object.keys/{index.mjs → index.esm.js} +0 -0
  411. /package/lib/utils/position/{index.mjs → index.esm.js} +0 -0
  412. /package/lib/utils/post/{index.mjs → index.esm.js} +0 -0
  413. /package/lib/utils/raf/{index.mjs → index.esm.js} +0 -0
  414. /package/lib/utils/vueAwesomeSwiper/{index.mjs → index.esm.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  import _toConsumableArray from "@babel/runtime-corejs3/helpers/toConsumableArray";
2
2
  import _sliceInstanceProperty from "@babel/runtime-corejs3/core-js/instance/slice";
3
- import { v as visibleMixin } from "../../mixins/visible/index.mjs";
4
- import { n as normalizeComponent } from "../../common/index.mjs";
3
+ import { v as visibleMixin } from "../../mixins/visible/index.esm.js";
4
+ import { n as normalizeComponent } from "../../common/index.esm.js";
5
5
  import './style.css';var EVENT_SELECT = "select";
6
6
  var _sfc_main = {
7
7
  name: "RowPicker",
@@ -1,5 +1,5 @@
1
1
  import _findIndexInstanceProperty from "@babel/runtime-corejs3/core-js/instance/find-index";
2
- import { n as normalizeComponent } from "../../common/index.mjs";
2
+ import { n as normalizeComponent } from "../../common/index.esm.js";
3
3
  import './style.css';var _sfc_main = {
4
4
  name: "ScrollList",
5
5
  data: function data() {
@@ -1,7 +1,7 @@
1
- import { S as ScrollList } from "../scrollList/index.mjs";
1
+ import { S as ScrollList } from "../scrollList/index.esm.js";
2
2
  import __$_require_450b57d0__ from "../../assets/icon-nodata.16b6.png";
3
3
  import __$_require_5419c642__ from "../../assets/icon-nodata-cps.192f.png";
4
- import { n as normalizeComponent } from "../../common/index.mjs";
4
+ import { n as normalizeComponent } from "../../common/index.esm.js";
5
5
  import './style.css';var _sfc_main = {
6
6
  name: "SearchList",
7
7
  components: {
@@ -1,14 +1,14 @@
1
1
  import _parseInt from "@babel/runtime-corejs3/core-js/parse-int";
2
2
  import _JSON$stringify from "@babel/runtime-corejs3/core-js/json/stringify";
3
- import { c as create } from "../utils/create/index.mjs";
4
- import BScrollModule__default from "better-scroll";
5
- import { v as visibleMixin } from "../mixins/visible/index.mjs";
6
- import { n as noscrollMixin } from "../mixins/noscroll/index.mjs";
7
- import { A as ActLayer } from "../common/layer/index.mjs";
8
- import { s as svgIcon } from "../common/svgicon/index.mjs";
9
- import { e as isString, w as isNumber, l as isArray, c as isObject } from "../utils/helpers/index.mjs";
10
- import { U as USE_TRANSITION } from "../utils/BScroll/constants/index.mjs";
11
- import { n as normalizeComponent } from "../common/index.mjs";
3
+ import { c as create } from "../utils/create/index.esm.js";
4
+ import BScroll from "better-scroll";
5
+ import { v as visibleMixin } from "../mixins/visible/index.esm.js";
6
+ import { n as noscrollMixin } from "../mixins/noscroll/index.esm.js";
7
+ import { A as ActLayer } from "../common/layer/index.esm.js";
8
+ import { s as svgIcon } from "../common/svgicon/index.esm.js";
9
+ import { e as isString, w as isNumber, l as isArray, c as isObject } from "../utils/helpers/index.esm.js";
10
+ import { U as USE_TRANSITION } from "../utils/BScroll/constants/index.esm.js";
11
+ import { n as normalizeComponent } from "../common/index.esm.js";
12
12
  import './style.css';var HIDE_RULE_EVENT = "hidelayer";
13
13
  var MAX_HEIGHT_DEFAULT = 0.56;
14
14
  var MAX_HEIGHT_IMG = 0.46;
@@ -158,7 +158,7 @@ var _sfc_main = {
158
158
  for (var option in _this.bscrollOptions) {
159
159
  defaultOptions[option] = _this.bscrollOptions[option];
160
160
  }
161
- _this.bScrollIns = new BScrollModule__default(_this.$refs.container, defaultOptions);
161
+ _this.bScrollIns = new BScroll(_this.$refs.container, defaultOptions);
162
162
  _this.bScrollIns.on("scroll", _this.scroll);
163
163
  _this.bScrollIns.on("scrollEnd", _this.scrollEnd);
164
164
  }
package/lib/Rule/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";require('./style.css');var _parseInt=require("@babel/runtime-corejs3/core-js/parse-int");var _JSON$stringify=require("@babel/runtime-corejs3/core-js/json/stringify");var utils_create=require("../utils/create/index.js");var BScrollModule=require("better-scroll");var mixins_visible=require("../mixins/visible/index.js");var mixins_noscroll=require("../mixins/noscroll/index.js");var common_layer=require("../common/layer/index.js");var common_svgicon=require("../common/svgicon/index.js");var utils_helpers=require("../utils/helpers/index.js");var utils_BScroll_constants=require("../utils/BScroll/constants/index.js");var common=require("../common/index.js");var HIDE_RULE_EVENT="hidelayer";var MAX_HEIGHT_DEFAULT=.56;var MAX_HEIGHT_IMG=.46;var _sfc_main={name:"ActRule",mixins:[mixins_visible.visibleMixin,mixins_noscroll.noscrollMixin],data:function data(){return{ruleData:[],containerHeight:0,scrollHeight:0,bScrollIns:null,showMore:false}},watch:{isVisible:function isVisible(val){if(val){this.refresh()}}},computed:{isRuleArray:function isRuleArray(){if(utils_helpers.isArray(this.ruleData)){return true}return false}},mounted:function mounted(){this.ruleData=this.content;this.refresh()},props:{layerType:{type:String,default:"big"},title:{type:String,default:"活动规则"},titleColor:{type:String,default:"#fff"},titleBack:{type:String,default:"#f9443c"},headImg:{type:String,default:""},headImgColor:{type:String,default:"#fff"},content:{type:[Array,String],default:function _default(){return[]}},contColor:{type:String,default:"#646464"},contBgColor:{type:String,default:"#fff"},showClose:{type:Boolean,default:true},bscrollOptions:{type:Object,default:function _default2(){return{}}}},methods:{hideLayer:function hideLayer(e){this.hideRule(e)},_translateContent:function _translateContent(item){if(!item)return"";if(utils_helpers.isString(item)||utils_helpers.isNumber(item)){return item.replace(/\n/g,"<br/>")}else{var content=[];if(utils_helpers.isArray(item)){for(var index in item){var element=item[index];content.push(this._translateContent(element));if(index<item.length-1){content.push("<br/>")}}}else if(utils_helpers.isObject(item)){content.push(item.title.replace(/\n/g,"<br/>"));content.push("<br/>");content.push(this._translateContent(item.content))}return content.join("")}},refresh:function refresh(){var _this=this;if(this.$slots){this.resetScroll()}this.$nextTick(function(){var screenHeight=window.screen.height||window.screen.availHeight;if(window.frameElement){screenHeight=_parseInt(getComputedStyle(window.frameElement).height)}if(!screenHeight){return}if(!_this.containerHeight||_this.bScrollIns===null){var containerH=_this.$refs.container.offsetHeight;if(!containerH)return;var max=MAX_HEIGHT_DEFAULT;if(_this.layerType==="img"){max=MAX_HEIGHT_IMG}if(containerH>screenHeight*max){containerH=_parseInt(screenHeight*max)}_this.$refs.wrap.style.height=containerH+"px";_this.containerHeight=containerH;_this.scrollHeight=_this.$refs.cwrap.offsetHeight;if(_this.scrollHeight>_this.containerHeight){_this.showMore=true}else{_this.showMore=false}_this.$refs.cwrap.style="";var defaultOptions={probeType:2,useTransition:utils_BScroll_constants.USE_TRANSITION};for(var option in _this.bscrollOptions){defaultOptions[option]=_this.bscrollOptions[option]}_this.bScrollIns=new BScrollModule(_this.$refs.container,defaultOptions);_this.bScrollIns.on("scroll",_this.scroll);_this.bScrollIns.on("scrollEnd",_this.scrollEnd)}})},hideRule:function hideRule(e){this.hide();this.$emit(HIDE_RULE_EVENT,e)},scroll:function scroll(obj){this.setMoreBtn(obj)},scrollEnd:function scrollEnd(obj){this.setMoreBtn(obj)},setMoreBtn:function setMoreBtn(obj){if(isNaN(obj.y)||Math.abs(obj.y)>=this.scrollHeight-this.containerHeight){this.showMore=false}else{this.showMore=true}},resetScroll:function resetScroll(){if(this.bScrollIns){this.bScrollIns.off("scroll",this.scroll);this.bScrollIns.off("scrollEnd",this.scrollEnd);this.bScrollIns=null}this.$refs.wrap.style.height="auto"},setContent:function setContent(data2){if(data2){this.ruleData=JSON.parse(_JSON$stringify(data2))}this.resetScroll();this.refresh()}},components:{ActLayer:common_layer.ActLayer,svgIcon:common_svgicon.svgIcon}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("act-layer",{directives:[{name:"show",rawName:"v-show",value:_vm.isVisible,expression:"isVisible"}],attrs:{"hbgColor":_vm.titleBack,"cbgColor":_vm.contBgColor,"type":_vm.layerType,"showClose":_vm.showClose,"headImg":_vm.headImg,"headImgColor":_vm.headImgColor},on:{"hidelayer":_vm.hideLayer},scopedSlots:_vm._u([{key:"header",fn:function fn(){return[_c("div",{staticClass:"act-rule-title",style:{color:_vm.titleColor}},[_c("span",[_vm._v(_vm._s(_vm.title))])])]},proxy:true},{key:"content",fn:function fn(){return[_c("div",{ref:"wrap",staticClass:"act-rule-wrap",style:{color:_vm.contColor}},[_c("div",{ref:"container",staticClass:"act-rule-container"},[_vm.$slots.content?_c("div",{ref:"cwrap"},[_vm._t("content")],2):_vm.isRuleArray?_c("div",{ref:"cwrap"},_vm._l(_vm.ruleData,function(item,i){return _c("div",{key:i},[_c("p",{staticClass:"rule-item",domProps:{"innerHTML":_vm._s(_vm._translateContent(item))}})])}),0):_c("div",{ref:"cwrap",staticClass:"rule-item",domProps:{"innerHTML":_vm._s(_vm.ruleData)}})]),_c("transition",{attrs:{"name":"more"}},[_vm.showMore?_c("div",{staticClass:"act-rule-more",style:{"box-shadow":"0 -1.4em 1.2em -0.5em "+_vm.contBgColor,"backgroundColor":_vm.contBgColor}},[_c("span",[_vm._v("下滑查看更多")]),_c("svg-icon",{attrs:{"iconClass":"double-arrow-down"}})],1):_vm._e()])],1)]},proxy:true}],null,true)})};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"1e9678ea");var Rule=__component__.exports;Rule.install=function(Vue){Vue.component(Rule.name,Rule);Vue.prototype["$createRule"]=utils_create.create(Rule,Vue)};exports.Rule=Rule;
1
+ "use strict";require('./style.css');var _parseInt=require("@babel/runtime-corejs3/core-js/parse-int");var _JSON$stringify=require("@babel/runtime-corejs3/core-js/json/stringify");var utils_create=require("../utils/create/index.js");var BScroll=require("better-scroll");var mixins_visible=require("../mixins/visible/index.js");var mixins_noscroll=require("../mixins/noscroll/index.js");var common_layer=require("../common/layer/index.js");var common_svgicon=require("../common/svgicon/index.js");var utils_helpers=require("../utils/helpers/index.js");var utils_BScroll_constants=require("../utils/BScroll/constants/index.js");var common=require("../common/index.js");var HIDE_RULE_EVENT="hidelayer";var MAX_HEIGHT_DEFAULT=.56;var MAX_HEIGHT_IMG=.46;var _sfc_main={name:"ActRule",mixins:[mixins_visible.visibleMixin,mixins_noscroll.noscrollMixin],data:function data(){return{ruleData:[],containerHeight:0,scrollHeight:0,bScrollIns:null,showMore:false}},watch:{isVisible:function isVisible(val){if(val){this.refresh()}}},computed:{isRuleArray:function isRuleArray(){if(utils_helpers.isArray(this.ruleData)){return true}return false}},mounted:function mounted(){this.ruleData=this.content;this.refresh()},props:{layerType:{type:String,default:"big"},title:{type:String,default:"活动规则"},titleColor:{type:String,default:"#fff"},titleBack:{type:String,default:"#f9443c"},headImg:{type:String,default:""},headImgColor:{type:String,default:"#fff"},content:{type:[Array,String],default:function _default(){return[]}},contColor:{type:String,default:"#646464"},contBgColor:{type:String,default:"#fff"},showClose:{type:Boolean,default:true},bscrollOptions:{type:Object,default:function _default2(){return{}}}},methods:{hideLayer:function hideLayer(e){this.hideRule(e)},_translateContent:function _translateContent(item){if(!item)return"";if(utils_helpers.isString(item)||utils_helpers.isNumber(item)){return item.replace(/\n/g,"<br/>")}else{var content=[];if(utils_helpers.isArray(item)){for(var index in item){var element=item[index];content.push(this._translateContent(element));if(index<item.length-1){content.push("<br/>")}}}else if(utils_helpers.isObject(item)){content.push(item.title.replace(/\n/g,"<br/>"));content.push("<br/>");content.push(this._translateContent(item.content))}return content.join("")}},refresh:function refresh(){var _this=this;if(this.$slots){this.resetScroll()}this.$nextTick(function(){var screenHeight=window.screen.height||window.screen.availHeight;if(window.frameElement){screenHeight=_parseInt(getComputedStyle(window.frameElement).height)}if(!screenHeight){return}if(!_this.containerHeight||_this.bScrollIns===null){var containerH=_this.$refs.container.offsetHeight;if(!containerH)return;var max=MAX_HEIGHT_DEFAULT;if(_this.layerType==="img"){max=MAX_HEIGHT_IMG}if(containerH>screenHeight*max){containerH=_parseInt(screenHeight*max)}_this.$refs.wrap.style.height=containerH+"px";_this.containerHeight=containerH;_this.scrollHeight=_this.$refs.cwrap.offsetHeight;if(_this.scrollHeight>_this.containerHeight){_this.showMore=true}else{_this.showMore=false}_this.$refs.cwrap.style="";var defaultOptions={probeType:2,useTransition:utils_BScroll_constants.USE_TRANSITION};for(var option in _this.bscrollOptions){defaultOptions[option]=_this.bscrollOptions[option]}_this.bScrollIns=new BScroll(_this.$refs.container,defaultOptions);_this.bScrollIns.on("scroll",_this.scroll);_this.bScrollIns.on("scrollEnd",_this.scrollEnd)}})},hideRule:function hideRule(e){this.hide();this.$emit(HIDE_RULE_EVENT,e)},scroll:function scroll(obj){this.setMoreBtn(obj)},scrollEnd:function scrollEnd(obj){this.setMoreBtn(obj)},setMoreBtn:function setMoreBtn(obj){if(isNaN(obj.y)||Math.abs(obj.y)>=this.scrollHeight-this.containerHeight){this.showMore=false}else{this.showMore=true}},resetScroll:function resetScroll(){if(this.bScrollIns){this.bScrollIns.off("scroll",this.scroll);this.bScrollIns.off("scrollEnd",this.scrollEnd);this.bScrollIns=null}this.$refs.wrap.style.height="auto"},setContent:function setContent(data2){if(data2){this.ruleData=JSON.parse(_JSON$stringify(data2))}this.resetScroll();this.refresh()}},components:{ActLayer:common_layer.ActLayer,svgIcon:common_svgicon.svgIcon}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("act-layer",{directives:[{name:"show",rawName:"v-show",value:_vm.isVisible,expression:"isVisible"}],attrs:{"hbgColor":_vm.titleBack,"cbgColor":_vm.contBgColor,"type":_vm.layerType,"showClose":_vm.showClose,"headImg":_vm.headImg,"headImgColor":_vm.headImgColor},on:{"hidelayer":_vm.hideLayer},scopedSlots:_vm._u([{key:"header",fn:function fn(){return[_c("div",{staticClass:"act-rule-title",style:{color:_vm.titleColor}},[_c("span",[_vm._v(_vm._s(_vm.title))])])]},proxy:true},{key:"content",fn:function fn(){return[_c("div",{ref:"wrap",staticClass:"act-rule-wrap",style:{color:_vm.contColor}},[_c("div",{ref:"container",staticClass:"act-rule-container"},[_vm.$slots.content?_c("div",{ref:"cwrap"},[_vm._t("content")],2):_vm.isRuleArray?_c("div",{ref:"cwrap"},_vm._l(_vm.ruleData,function(item,i){return _c("div",{key:i},[_c("p",{staticClass:"rule-item",domProps:{"innerHTML":_vm._s(_vm._translateContent(item))}})])}),0):_c("div",{ref:"cwrap",staticClass:"rule-item",domProps:{"innerHTML":_vm._s(_vm.ruleData)}})]),_c("transition",{attrs:{"name":"more"}},[_vm.showMore?_c("div",{staticClass:"act-rule-more",style:{"box-shadow":"0 -1.4em 1.2em -0.5em "+_vm.contBgColor,"backgroundColor":_vm.contBgColor}},[_c("span",[_vm._v("下滑查看更多")]),_c("svg-icon",{attrs:{"iconClass":"double-arrow-down"}})],1):_vm._e()])],1)]},proxy:true}],null,true)})};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"1e9678ea");var Rule=__component__.exports;Rule.install=function(Vue){Vue.component(Rule.name,Rule);Vue.prototype["$createRule"]=utils_create.create(Rule,Vue)};exports.Rule=Rule;
@@ -1,4 +1,4 @@
1
- import { S as Scroll } from "../common/scroll/index.mjs";
1
+ import { S as Scroll } from "../common/scroll/index.esm.js";
2
2
  Scroll.install = function(Vue) {
3
3
  Vue.component(Scroll.name, Scroll);
4
4
  };
@@ -8,8 +8,8 @@ import _sliceInstanceProperty from "@babel/runtime-corejs3/core-js/instance/slic
8
8
  import _Array$from from "@babel/runtime-corejs3/core-js/array/from";
9
9
  import _Symbol from "@babel/runtime-corejs3/core-js/symbol";
10
10
  import _getIteratorMethod from "@babel/runtime-corejs3/core-js/get-iterator-method";
11
- import { c as create } from "../utils/create/index.mjs";
12
- import { n as normalizeComponent } from "../common/index.mjs";
11
+ import { c as create } from "../utils/create/index.esm.js";
12
+ import { n as normalizeComponent } from "../common/index.esm.js";
13
13
  import './style.css';function _createForOfIteratorHelper(r, e) {
14
14
  var t = "undefined" != typeof _Symbol && _getIteratorMethod(r) || r["@@iterator"];
15
15
  if (!t) {
@@ -8,13 +8,13 @@ import _Object$defineProperties from "@babel/runtime-corejs3/core-js/object/defi
8
8
  import _Object$defineProperty from "@babel/runtime-corejs3/core-js/object/define-property";
9
9
  import _defineProperty from "@babel/runtime-corejs3/helpers/defineProperty";
10
10
  import _indexOfInstanceProperty from "@babel/runtime-corejs3/core-js/instance/index-of";
11
- import { c as create } from "../utils/create/index.mjs";
12
- import { s as swiperSlide, a as swiper } from "../utils/vueAwesomeSwiper/index.mjs";
13
- import { Q as QRCode } from "./qrcode/index.mjs";
14
- import { p as poster } from "./poster/index.mjs";
15
- import { f as fontSize } from "../mixins/fontsize/index.mjs";
16
- import { T as Toast } from "../Toast/index.mjs";
17
- import { n as normalizeComponent } from "../common/index.mjs";
11
+ import { c as create } from "../utils/create/index.esm.js";
12
+ import { s as swiperSlide, a as swiper } from "../utils/vueAwesomeSwiper/index.esm.js";
13
+ import { Q as QRCode } from "./qrcode/index.esm.js";
14
+ import { p as poster } from "./poster/index.esm.js";
15
+ import { f as fontSize } from "../mixins/fontsize/index.esm.js";
16
+ import { T as Toast } from "../Toast/index.esm.js";
17
+ import { n as normalizeComponent } from "../common/index.esm.js";
18
18
  import './style.css';function ownKeys(e, r) {
19
19
  var t = _Object$keys(e);
20
20
  if (_Object$getOwnPropertySymbols) {
@@ -1,5 +1,5 @@
1
- import { b as formatFontSize } from "../utils/helpers/index.mjs";
2
- import { n as normalizeComponent } from "../common/index.mjs";
1
+ import { b as formatFontSize } from "../utils/helpers/index.esm.js";
2
+ import { n as normalizeComponent } from "../common/index.esm.js";
3
3
  import './style.css';var _sfc_main = {
4
4
  name: "ActStepper",
5
5
  props: {
@@ -1,5 +1,5 @@
1
- import { g as getElementTop, a as getScrollTop } from "../utils/position/index.mjs";
2
- import { n as normalizeComponent } from "../common/index.mjs";
1
+ import { g as getElementTop, a as getScrollTop } from "../utils/position/index.esm.js";
2
+ import { n as normalizeComponent } from "../common/index.esm.js";
3
3
  import './style.css';var _sfc_main = {
4
4
  name: "ActSticky",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import './style.css';/* empty css */
1
+ import './style.css';/* empty css */
2
2
  var Style = {
3
3
  install: function install() {
4
4
  }
@@ -1,13 +1,13 @@
1
1
  import _defineProperty from "@babel/runtime-corejs3/helpers/defineProperty";
2
2
  import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
3
3
  import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js/instance/for-each";
4
- import { c as create } from "../utils/create/index.mjs";
5
- import { D as range, J as isHidden } from "../utils/helpers/index.mjs";
6
- import { t as touchMixin } from "../mixins/touch/index.mjs";
7
- import { d as doubleRaf } from "../utils/raf/index.mjs";
8
- import { B as BindEventMixin } from "../mixins/bind-event/index.mjs";
9
- import { p as preventDefault } from "../utils/event/index.mjs";
10
- import { n as normalizeComponent } from "../common/index.mjs";
4
+ import { c as create } from "../utils/create/index.esm.js";
5
+ import { D as range, J as isHidden } from "../utils/helpers/index.esm.js";
6
+ import { t as touchMixin } from "../mixins/touch/index.esm.js";
7
+ import { d as doubleRaf } from "../utils/raf/index.esm.js";
8
+ import { B as BindEventMixin } from "../mixins/bind-event/index.esm.js";
9
+ import { p as preventDefault } from "../utils/event/index.esm.js";
10
+ import { n as normalizeComponent } from "../common/index.esm.js";
11
11
  import './style.css';var _sfc_main = {
12
12
  name: "ActSwipe",
13
13
  mixins: [touchMixin, BindEventMixin(function(bind, isBind) {
@@ -1,5 +1,5 @@
1
- import { b as formatFontSize } from "../utils/helpers/index.mjs";
2
- import { n as normalizeComponent } from "../common/index.mjs";
1
+ import { b as formatFontSize } from "../utils/helpers/index.esm.js";
2
+ import { n as normalizeComponent } from "../common/index.esm.js";
3
3
  import './style.css';var _sfc_main = {
4
4
  name: "ActSwitch",
5
5
  props: {
@@ -1,9 +1,9 @@
1
1
  import _Array$from from "@babel/runtime-corejs3/core-js/array/from";
2
2
  import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
3
- import { c as create } from "../utils/create/index.mjs";
4
- import { v as visibleMixin } from "../mixins/visible/index.mjs";
5
- import { S as Scroll } from "../common/scroll/index.mjs";
6
- import { n as normalizeComponent } from "../common/index.mjs";
3
+ import { c as create } from "../utils/create/index.esm.js";
4
+ import { v as visibleMixin } from "../mixins/visible/index.esm.js";
5
+ import { S as Scroll } from "../common/scroll/index.esm.js";
6
+ import { n as normalizeComponent } from "../common/index.esm.js";
7
7
  import './style.css';var _sfc_main = {
8
8
  name: "ActTab",
9
9
  mixins: [visibleMixin],
@@ -1,6 +1,6 @@
1
- import { c as create } from "../utils/create/index.mjs";
2
- import { s as svgIcon } from "../common/svgicon/index.mjs";
3
- import { n as normalizeComponent } from "../common/index.mjs";
1
+ import { c as create } from "../utils/create/index.esm.js";
2
+ import { s as svgIcon } from "../common/svgicon/index.esm.js";
3
+ import { n as normalizeComponent } from "../common/index.esm.js";
4
4
  import './style.css';var _sfc_main = {
5
5
  name: "ActTimeline",
6
6
  data: function data() {
@@ -1,12 +1,12 @@
1
1
  import _JSON$stringify from "@babel/runtime-corejs3/core-js/json/stringify";
2
- import { c as create } from "../utils/create/index.mjs";
3
- import { A as ActPopup } from "../common/popup/index.mjs";
4
- import { v as visibleMixin } from "../mixins/visible/index.mjs";
5
- import { f as fontSize } from "../mixins/fontsize/index.mjs";
6
- import { o as objectAssign } from "../utils/assign/index.mjs";
7
- import { L as Loading } from "../Loading/index.mjs";
8
- import { c as isObject } from "../utils/helpers/index.mjs";
9
- import { n as normalizeComponent } from "../common/index.mjs";
2
+ import { c as create } from "../utils/create/index.esm.js";
3
+ import { A as ActPopup } from "../common/popup/index.esm.js";
4
+ import { v as visibleMixin } from "../mixins/visible/index.esm.js";
5
+ import { f as fontSize } from "../mixins/fontsize/index.esm.js";
6
+ import { o as objectAssign } from "../utils/assign/index.esm.js";
7
+ import { L as Loading } from "../Loading/index.esm.js";
8
+ import { c as isObject } from "../utils/helpers/index.esm.js";
9
+ import { n as normalizeComponent } from "../common/index.esm.js";
10
10
  import './style.css';var _sfc_main = {
11
11
  name: "ActToast",
12
12
  mixins: [visibleMixin, fontSize],
@@ -12,8 +12,8 @@ import _classCallCheck from "@babel/runtime-corejs3/helpers/classCallCheck";
12
12
  import _createClass from "@babel/runtime-corejs3/helpers/createClass";
13
13
  import _regeneratorRuntime from "@babel/runtime-corejs3/regenerator";
14
14
  import _Promise from "@babel/runtime-corejs3/core-js/promise";
15
- import { u as ua } from "../utils/helpers/index.mjs";
16
- import { f as fetch } from "../utils/post/index.mjs";
15
+ import { u as ua } from "../utils/helpers/index.esm.js";
16
+ import { f as fetch } from "../utils/post/index.esm.js";
17
17
  function ownKeys(e, r) {
18
18
  var t = _Object$keys(e);
19
19
  if (_Object$getOwnPropertySymbols) {
@@ -1,7 +1,7 @@
1
1
  import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
2
2
  import _Promise from "@babel/runtime-corejs3/core-js/promise";
3
- import { f as fetch } from "../utils/post/index.mjs";
4
- import { F as FaceRecognition } from "../FaceRecognition/index.mjs";
3
+ import { f as fetch } from "../utils/post/index.esm.js";
4
+ import { F as FaceRecognition } from "../FaceRecognition/index.esm.js";
5
5
  import { isError } from "lodash-es";
6
6
  function UserAuth(faceAuthId) {
7
7
  var _context, _context2, _context3, _context4;
@@ -1,6 +1,6 @@
1
1
  import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
2
- import { G as GoldElementGroup } from "../../GoldElementGroup/index.mjs";
3
- import { n as normalizeComponent } from "../index.mjs";
2
+ import { G as GoldElementGroup } from "../../GoldElementGroup/index.esm.js";
3
+ import { n as normalizeComponent } from "../index.esm.js";
4
4
  import './style.css';var _sfc_main = {
5
5
  name: "Addon",
6
6
  components: {
@@ -1,8 +1,8 @@
1
1
  import _includesInstanceProperty from "@babel/runtime-corejs3/core-js/instance/includes";
2
2
  import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
3
3
  import _findInstanceProperty from "@babel/runtime-corejs3/core-js/instance/find";
4
- import { q as formatTitle } from "../../utils/helpers/index.mjs";
5
- import { n as normalizeComponent } from "../index.mjs";
4
+ import { q as formatTitle } from "../../utils/helpers/index.esm.js";
5
+ import { n as normalizeComponent } from "../index.esm.js";
6
6
  import './style.css';var EVENT_SHOW_TIPS = "showTips";
7
7
  var _sfc_main = {
8
8
  name: "ActGoldBaseElement",
@@ -1,6 +1,6 @@
1
1
  import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
2
- import { v as visibleMixin } from "../../mixins/visible/index.mjs";
3
- import { n as normalizeComponent } from "../index.mjs";
2
+ import { v as visibleMixin } from "../../mixins/visible/index.esm.js";
3
+ import { n as normalizeComponent } from "../index.esm.js";
4
4
  import './style.css';var EVENT_BUTTON_CLICK = "button-click";
5
5
  var _sfc_main = {
6
6
  name: "ActButton",
@@ -1,6 +1,6 @@
1
1
  import _trimInstanceProperty from "@babel/runtime-corejs3/core-js/instance/trim";
2
- import { A as ActInput } from "../input/index.mjs";
3
- import { n as normalizeComponent } from "../index.mjs";
2
+ import { A as ActInput } from "../input/index.esm.js";
3
+ import { n as normalizeComponent } from "../index.esm.js";
4
4
  import './style.css';var START_COUNT_DOWN_EVENT = "startcountdown";
5
5
  var _sfc_main = {
6
6
  name: "ActDynamicForm",
@@ -1,7 +1,7 @@
1
1
  import _trimInstanceProperty from "@babel/runtime-corejs3/core-js/instance/trim";
2
- import { A as ActInput } from "../input/index.mjs";
3
- import { s as svgIcon } from "../svgicon/index.mjs";
4
- import { n as normalizeComponent } from "../index.mjs";
2
+ import { A as ActInput } from "../input/index.esm.js";
3
+ import { s as svgIcon } from "../svgicon/index.esm.js";
4
+ import { n as normalizeComponent } from "../index.esm.js";
5
5
  import './style.css';var START_COUNT_DOWN_EVENT = "startcountdown";
6
6
  var _sfc_main = {
7
7
  name: "ActFormInput",
@@ -1,8 +1,8 @@
1
- import { A as ActPopup } from "../popup/index.mjs";
2
- import { p as popupMixin } from "../../mixins/popup/index.mjs";
3
- import { v as visibleMixin } from "../../mixins/visible/index.mjs";
4
- import { n as noscrollMixin } from "../../mixins/noscroll/index.mjs";
5
- import { n as normalizeComponent } from "../index.mjs";
1
+ import { A as ActPopup } from "../popup/index.esm.js";
2
+ import { p as popupMixin } from "../../mixins/popup/index.esm.js";
3
+ import { v as visibleMixin } from "../../mixins/visible/index.esm.js";
4
+ import { n as noscrollMixin } from "../../mixins/noscroll/index.esm.js";
5
+ import { n as normalizeComponent } from "../index.esm.js";
6
6
  import './style.css';var _sfc_main = {
7
7
  name: "ActGoldLayer",
8
8
  mixins: [popupMixin, visibleMixin, noscrollMixin],
@@ -1,4 +1,4 @@
1
- import { n as normalizeComponent } from "../index.mjs";
1
+ import { n as normalizeComponent } from "../index.esm.js";
2
2
  import './style.css';var _sfc_main = {
3
3
  name: "IconBank",
4
4
  methods: {
@@ -1,4 +1,4 @@
1
- import { n as normalizeComponent } from "../index.mjs";
1
+ import { n as normalizeComponent } from "../index.esm.js";
2
2
  import './style.css';var _sfc_main = {
3
3
  name: "IconContact",
4
4
  props: {
@@ -1,4 +1,4 @@
1
- import { n as normalizeComponent } from "../index.mjs";
1
+ import { n as normalizeComponent } from "../index.esm.js";
2
2
  import './style.css';var _sfc_main = {
3
3
  name: "IconPhoto",
4
4
  methods: {
@@ -1,5 +1,5 @@
1
- import { s as svgIcon } from "../svgicon/index.mjs";
2
- import { n as normalizeComponent } from "../index.mjs";
1
+ import { s as svgIcon } from "../svgicon/index.esm.js";
2
+ import { n as normalizeComponent } from "../index.esm.js";
3
3
  import './style.css';var _sfc_main = {
4
4
  name: "ActInput",
5
5
  components: {
@@ -1,8 +1,8 @@
1
- import { v as visibleMixin } from "../../mixins/visible/index.mjs";
2
- import { A as ActPopup } from "../popup/index.mjs";
3
- import { f as fontSize } from "../../mixins/fontsize/index.mjs";
1
+ import { v as visibleMixin } from "../../mixins/visible/index.esm.js";
2
+ import { A as ActPopup } from "../popup/index.esm.js";
3
+ import { f as fontSize } from "../../mixins/fontsize/index.esm.js";
4
4
  import __$_require_159146f0__ from "../../assets/close.4b24.png";
5
- import { n as normalizeComponent } from "../index.mjs";
5
+ import { n as normalizeComponent } from "../index.esm.js";
6
6
  import './style.css';var HIDE_LAYER_EVENT = "hidelayer";
7
7
  var _sfc_main = {
8
8
  name: "ActLayer",
@@ -1,6 +1,6 @@
1
- import { v as visibleMixin } from "../../mixins/visible/index.mjs";
2
- import { p as popupMixin } from "../../mixins/popup/index.mjs";
3
- import { n as normalizeComponent } from "../index.mjs";
1
+ import { v as visibleMixin } from "../../mixins/visible/index.esm.js";
2
+ import { p as popupMixin } from "../../mixins/popup/index.esm.js";
3
+ import { n as normalizeComponent } from "../index.esm.js";
4
4
  import './style.css';var EVENT_MASK_CLICK = "mask-click";
5
5
  var _sfc_main = {
6
6
  name: "ActPopup",
@@ -1,6 +1,6 @@
1
- import BScrollModule__default from "better-scroll";
2
- import { U as USE_TRANSITION } from "../../utils/BScroll/constants/index.mjs";
3
- import { n as normalizeComponent } from "../index.mjs";
1
+ import BScroll from "better-scroll";
2
+ import { U as USE_TRANSITION } from "../../utils/BScroll/constants/index.esm.js";
3
+ import { n as normalizeComponent } from "../index.esm.js";
4
4
  import './style.css';var COMPONENT_NAME = "ActScroll";
5
5
  var DIRECTION_H = "horizontal";
6
6
  var DIRECTION_V = "vertical";
@@ -126,7 +126,7 @@ var _sfc_main = {
126
126
  threshold: 50
127
127
  }
128
128
  };
129
- this.scroll = new BScrollModule__default(this.$refs.wrapper, options);
129
+ this.scroll = new BScroll(this.$refs.wrapper, options);
130
130
  if (this.listenScroll) {
131
131
  this.scroll.on("scroll", function(pos) {
132
132
  _this2.$emit("scroll", pos);
@@ -1 +1 @@
1
- "use strict";require('./style.css');var BScrollModule=require("better-scroll");var utils_BScroll_constants=require("../../utils/BScroll/constants/index.js");var common=require("../index.js");var COMPONENT_NAME="ActScroll";var DIRECTION_H="horizontal";var DIRECTION_V="vertical";var _sfc_main={name:COMPONENT_NAME,props:{probeType:{type:Number,default:2},click:{type:Boolean,default:true},listenScrollInit:{type:Boolean,default:false},listenScroll:{type:Boolean,default:false},listenBeforeScroll:{type:Boolean,default:false},listenScrollEnd:{type:Boolean,default:false},listenZoomEnd:{type:Boolean,default:false},listenPullingUp:{type:Boolean,default:false},direction:{type:String,default:DIRECTION_V},scrollbar:{type:null,default:false},startY:{type:Number,default:0},refreshDelay:{type:Number,default:20},freeScroll:{type:Boolean,default:false},mouseWheel:{type:Boolean,default:false},bounce:{type:[Boolean,Object],default:true},zoom:{type:Boolean,default:false},useTransition:{type:Boolean,default:true}},data:function data(){return{beforePullDown:true,isRebounding:false,pullUpDirty:true,pullDownStyle:"",bubbleY:0,lastTouchStart:null,fingers:0,tapTarget:null,isDouble:false,startXd:0,startYd:0,endXd:0,endYd:0}},mounted:function mounted(){var _this=this;this.$nextTick(function(){_this.initScroll()})},destroyed:function destroyed(){this.scroll&&this.scroll.destroy();this.$emit("destroyed",this.scroll)},methods:{initScroll:function initScroll(){var _this2=this;if(!this.$refs.wrapper){return}var options={probeType:this.probeType,click:this.click,scrollY:this.freeScroll||this.direction===DIRECTION_V,scrollX:this.freeScroll||this.direction===DIRECTION_H,scrollbar:this.scrollbar,startY:this.startY,freeScroll:this.freeScroll,mouseWheel:this.mouseWheel,bounce:this.bounce,zoom:this.zoom,bounceTime:300,useTransition:utils_BScroll_constants.USE_TRANSITION&&this.useTransition,pullUpLoad:{threshold:50}};this.scroll=new BScrollModule(this.$refs.wrapper,options);if(this.listenScroll){this.scroll.on("scroll",function(pos){_this2.$emit("scroll",pos)})}if(this.listenScrollEnd){this.scroll.on("scrollEnd",function(pos){_this2.$emit("scroll-end",pos)})}if(this.listenBeforeScroll){this.scroll.on("beforeScrollStart",function(){_this2.$emit("beforeScrollStart")});this.scroll.on("scrollStart",function(){_this2.$emit("scroll-start")})}if(this.listenZoomEnd){this.scroll.on("zoomEnd",function(){_this2.$emit("zoomEnd",_this2.scroll)})}if(this.zoom){this.isDouble=true}if(this.listenScrollInit){this.$emit("scrollSuc",this.scroll)}if(this.listenPullingUp){this.scroll.on("pullingUp",function(){_this2.$emit("pullingUp")})}},disable:function disable(){this.scroll&&this.scroll.disable()},enable:function enable(){this.scroll&&this.scroll.enable()},refresh:function refresh(){this.scroll&&this.scroll.refresh()},scrollTo:function scrollTo(){this.scroll&&this.scroll.scrollTo.apply(this.scroll,arguments)},scrollToElement:function scrollToElement(){this.scroll&&this.scroll.scrollToElement.apply(this.scroll,arguments)},clickItem:function clickItem(e,item){this.$emit("click",item)},destroy:function destroy(){this.scroll.destroy()},forceUpdate:function forceUpdate(dirty){this.refresh()}}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("div",{ref:"wrapper",staticClass:"scroll-wrapper"},[_c("div",{staticClass:"scroll-content"},[_vm._t("default")],2)])};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"85e6655d");var Scroll=__component__.exports;exports.Scroll=Scroll;
1
+ "use strict";require('./style.css');var BScroll=require("better-scroll");var utils_BScroll_constants=require("../../utils/BScroll/constants/index.js");var common=require("../index.js");var COMPONENT_NAME="ActScroll";var DIRECTION_H="horizontal";var DIRECTION_V="vertical";var _sfc_main={name:COMPONENT_NAME,props:{probeType:{type:Number,default:2},click:{type:Boolean,default:true},listenScrollInit:{type:Boolean,default:false},listenScroll:{type:Boolean,default:false},listenBeforeScroll:{type:Boolean,default:false},listenScrollEnd:{type:Boolean,default:false},listenZoomEnd:{type:Boolean,default:false},listenPullingUp:{type:Boolean,default:false},direction:{type:String,default:DIRECTION_V},scrollbar:{type:null,default:false},startY:{type:Number,default:0},refreshDelay:{type:Number,default:20},freeScroll:{type:Boolean,default:false},mouseWheel:{type:Boolean,default:false},bounce:{type:[Boolean,Object],default:true},zoom:{type:Boolean,default:false},useTransition:{type:Boolean,default:true}},data:function data(){return{beforePullDown:true,isRebounding:false,pullUpDirty:true,pullDownStyle:"",bubbleY:0,lastTouchStart:null,fingers:0,tapTarget:null,isDouble:false,startXd:0,startYd:0,endXd:0,endYd:0}},mounted:function mounted(){var _this=this;this.$nextTick(function(){_this.initScroll()})},destroyed:function destroyed(){this.scroll&&this.scroll.destroy();this.$emit("destroyed",this.scroll)},methods:{initScroll:function initScroll(){var _this2=this;if(!this.$refs.wrapper){return}var options={probeType:this.probeType,click:this.click,scrollY:this.freeScroll||this.direction===DIRECTION_V,scrollX:this.freeScroll||this.direction===DIRECTION_H,scrollbar:this.scrollbar,startY:this.startY,freeScroll:this.freeScroll,mouseWheel:this.mouseWheel,bounce:this.bounce,zoom:this.zoom,bounceTime:300,useTransition:utils_BScroll_constants.USE_TRANSITION&&this.useTransition,pullUpLoad:{threshold:50}};this.scroll=new BScroll(this.$refs.wrapper,options);if(this.listenScroll){this.scroll.on("scroll",function(pos){_this2.$emit("scroll",pos)})}if(this.listenScrollEnd){this.scroll.on("scrollEnd",function(pos){_this2.$emit("scroll-end",pos)})}if(this.listenBeforeScroll){this.scroll.on("beforeScrollStart",function(){_this2.$emit("beforeScrollStart")});this.scroll.on("scrollStart",function(){_this2.$emit("scroll-start")})}if(this.listenZoomEnd){this.scroll.on("zoomEnd",function(){_this2.$emit("zoomEnd",_this2.scroll)})}if(this.zoom){this.isDouble=true}if(this.listenScrollInit){this.$emit("scrollSuc",this.scroll)}if(this.listenPullingUp){this.scroll.on("pullingUp",function(){_this2.$emit("pullingUp")})}},disable:function disable(){this.scroll&&this.scroll.disable()},enable:function enable(){this.scroll&&this.scroll.enable()},refresh:function refresh(){this.scroll&&this.scroll.refresh()},scrollTo:function scrollTo(){this.scroll&&this.scroll.scrollTo.apply(this.scroll,arguments)},scrollToElement:function scrollToElement(){this.scroll&&this.scroll.scrollToElement.apply(this.scroll,arguments)},clickItem:function clickItem(e,item){this.$emit("click",item)},destroy:function destroy(){this.scroll.destroy()},forceUpdate:function forceUpdate(dirty){this.refresh()}}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("div",{ref:"wrapper",staticClass:"scroll-wrapper"},[_c("div",{staticClass:"scroll-content"},[_vm._t("default")],2)])};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"85e6655d");var Scroll=__component__.exports;exports.Scroll=Scroll;
@@ -1,6 +1,6 @@
1
1
  import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
2
2
  import _fillInstanceProperty from "@babel/runtime-corejs3/core-js/instance/fill";
3
- import { n as normalizeComponent } from "../../index.mjs";
3
+ import { n as normalizeComponent } from "../../index.esm.js";
4
4
  var _sfc_main = {
5
5
  props: {
6
6
  y: {
@@ -3,10 +3,10 @@ import _fillInstanceProperty from "@babel/runtime-corejs3/core-js/instance/fill"
3
3
  import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js/instance/for-each";
4
4
  import _everyInstanceProperty from "@babel/runtime-corejs3/core-js/instance/every";
5
5
  import _includesInstanceProperty from "@babel/runtime-corejs3/core-js/instance/includes";
6
- import { s as scroll } from "./scroll/index.mjs";
7
- import { g as get } from "../../utils/post/index.mjs";
8
- import { P as Pdf } from "../../Pdfjs/index.mjs";
9
- import { n as normalizeComponent } from "../index.mjs";
6
+ import { s as scroll } from "./scroll/index.esm.js";
7
+ import { g as get } from "../../utils/post/index.esm.js";
8
+ import { P as Pdf } from "../../Pdfjs/index.esm.js";
9
+ import { n as normalizeComponent } from "../index.esm.js";
10
10
  import './style.css';var _sfc_main = {
11
11
  name: "ScrollZoom",
12
12
  data: function data() {
@@ -1,11 +1,11 @@
1
1
  import _mapInstanceProperty from "@babel/runtime-corejs3/core-js/instance/map";
2
2
  import _sliceInstanceProperty from "@babel/runtime-corejs3/core-js/instance/slice";
3
3
  import _Promise from "@babel/runtime-corejs3/core-js/promise";
4
- import BScrollModule__default from "better-scroll";
5
- import { g as getRect } from "../../../utils/dom/index.mjs";
6
- import { B as Bubble } from "../bubble/index.mjs";
7
- import { U as USE_TRANSITION } from "../../../utils/BScroll/constants/index.mjs";
8
- import { n as normalizeComponent } from "../../index.mjs";
4
+ import BScroll from "better-scroll";
5
+ import { g as getRect } from "../../../utils/dom/index.esm.js";
6
+ import { B as Bubble } from "../bubble/index.esm.js";
7
+ import { U as USE_TRANSITION } from "../../../utils/BScroll/constants/index.esm.js";
8
+ import { n as normalizeComponent } from "../../index.esm.js";
9
9
  import './style.css';var COMPONENT_NAME = "scroll";
10
10
  var DIRECTION_H = "horizontal";
11
11
  var DIRECTION_V = "vertical";
@@ -152,7 +152,7 @@ var _sfc_main = {
152
152
  useTransition: USE_TRANSITION,
153
153
  observeDOM: this.observeDOM
154
154
  };
155
- this.scroll = new BScrollModule__default(this.$refs.wrapper, options);
155
+ this.scroll = new BScroll(this.$refs.wrapper, options);
156
156
  if (this.listenScroll) {
157
157
  this.scroll.on("scroll", function(pos) {
158
158
  _this2.$emit("scroll", pos);
@@ -1 +1 @@
1
- "use strict";require('./style.css');var _mapInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/map");var _sliceInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/slice");var _Promise=require("@babel/runtime-corejs3/core-js/promise");var BScrollModule=require("better-scroll");var utils_dom=require("../../../utils/dom/index.js");var common_scrollZoom_bubble=require("../bubble/index.js");var utils_BScroll_constants=require("../../../utils/BScroll/constants/index.js");var common=require("../../index.js");var COMPONENT_NAME="scroll";var DIRECTION_H="horizontal";var DIRECTION_V="vertical";var _sfc_main={name:COMPONENT_NAME,props:{probeType:{type:Number,default:2},click:{type:Boolean,default:true},listenScrollInit:{type:Boolean,default:false},listenScroll:{type:Boolean,default:false},listenBeforeScroll:{type:Boolean,default:false},listenScrollEnd:{type:Boolean,default:false},listenZoomEnd:{type:Boolean,default:false},observeDOM:{type:Boolean,default:true},direction:{type:String,default:DIRECTION_V},scrollbar:{type:null,default:false},pullDownRefresh:{type:null,default:false},pullUpLoad:{type:null,default:false},startY:{type:Number,default:0},refreshDelay:{type:Number,default:20},freeScroll:{type:Boolean,default:false},mouseWheel:{type:Boolean,default:false},bounce:{type:[Boolean,Object],default:true},zoom:{type:[Boolean,Object],default:false}},data:function data(){return{beforePullDown:true,isRebounding:false,isPullingDown:false,isPullUpLoad:false,pullUpDirty:true,pullDownStyle:"",bubbleY:0,lastTouchStart:null,fingers:0,tapTarget:null,isDouble:false,startXd:0,startYd:0,endXd:0,endYd:0}},computed:{pullUpTxt:function pullUpTxt(){var moreTxt=this.pullUpLoad&&this.pullUpLoad.txt&&this.pullUpLoad.txt.more||"加载更多";var noMoreTxt=this.pullUpLoad&&this.pullUpLoad.txt&&this.pullUpLoad.txt.noMore||"没有更多数据了";return this.pullUpDirty?moreTxt:noMoreTxt},refreshTxt:function refreshTxt(){return this.pullDownRefresh&&this.pullDownRefresh.txt||"刷新成功"}},created:function created(){this.pullDownInitTop=-50},mounted:function mounted(){var _this=this;setTimeout(function(){_this.initScroll()},20)},destroyed:function destroyed(){this.$refs.scroll&&this.$refs.scroll.destroy()},methods:{initScroll:function initScroll(){var _this2=this;if(!this.$refs.wrapper){return}if(this.$refs.listWrapper&&(this.pullDownRefresh||this.pullUpLoad)){this.$refs.listWrapper.style.minHeight="".concat(utils_dom.getRect(this.$refs.wrapper).height+1,"px")}var options={probeType:this.probeType,click:this.click,scrollY:this.freeScroll||this.direction===DIRECTION_V,scrollX:this.freeScroll||this.direction===DIRECTION_H,scrollbar:this.scrollbar,pullDownRefresh:this.pullDownRefresh,pullUpLoad:this.pullUpLoad,startY:this.startY,freeScroll:this.freeScroll,mouseWheel:this.mouseWheel,bounce:this.bounce,zoom:this.zoom,bounceTime:300,useTransition:utils_BScroll_constants.USE_TRANSITION,observeDOM:this.observeDOM};this.scroll=new BScrollModule(this.$refs.wrapper,options);if(this.listenScroll){this.scroll.on("scroll",function(pos){_this2.$emit("scroll",pos)})}if(this.listenScrollEnd){this.scroll.on("scrollEnd",function(pos){_this2.$emit("scroll-end",pos)})}if(this.listenBeforeScroll){this.scroll.on("beforeScrollStart",function(){_this2.$emit("beforeScrollStart")});this.scroll.on("scrollStart",function(){_this2.$emit("scroll-start")})}if(this.listenZoomEnd){this.scroll.on("zoomEnd",function(){_this2.$emit("zoomEnd",_this2.scroll)})}if(this.pullDownRefresh){this._initPullDownRefresh()}if(this.pullUpLoad){this._initPullUpLoad()}if(this.zoom){this.isDouble=true}if(this.listenScrollInit){this.$emit("scrollSuc",this.scroll)}},disable:function disable(){this.scroll&&this.scroll.disable()},enable:function enable(){this.scroll&&this.scroll.enable()},refresh:function refresh(){this.scroll&&this.scroll.refresh()},scrollTo:function scrollTo(){this.scroll&&this.scroll.scrollTo.apply(this.scroll,arguments)},scrollToElement:function scrollToElement(){this.scroll&&this.scroll.scrollToElement.apply(this.scroll,arguments)},clickItem:function clickItem(e,item){this.$emit("click",item)},destroy:function destroy(){this.scroll.destroy()},forceUpdate:function forceUpdate(dirty){var _this3=this;if(this.pullDownRefresh&&this.isPullingDown){this.isPullingDown=false;this._reboundPullDown().then(function(){_this3._afterPullDown()})}else if(this.pullUpLoad&&this.isPullUpLoad){this.isPullUpLoad=false;this.scroll.finishPullUp();this.pullUpDirty=dirty;this.refresh()}else{this.refresh()}},handleTouchStart:function handleTouchStart(event2){if(!this.isDouble){return}this.fingers=event2.touches.length;this.tapTarget=this.getTouches(event2)[0];this.startXd=this.tapTarget.x;this.startYd=this.tapTarget.y},handleTouchMove:function handleTouchMove(event2){if(!this.isDouble){return}this.endXd=this.getTouches(event2)[0].x;this.endYd=this.getTouches(event2)[0].y},handleTouchEnd:function handleTouchEnd(event2){if(!this.isDouble){return}this.endXd=this.endXd===0?this.startXd:this.endXd;this.endYd=this.endYd===0?this.startYd:this.endYd;var distanceX=this.endXd-this.startXd;var distanceY=this.endYd-this.startYd;if(Math.abs(distanceX)<10&&Math.abs(distanceY)<10){this.detectDoubleTap(event2)}this.startXd=this.startYd=this.endXd=this.endYd=0},cancelEvent:function cancelEvent(event2){event2.stopPropagation();event2.preventDefault()},getTouches:function getTouches(event2){var _context;return _mapInstanceProperty(_context=_sliceInstanceProperty(Array.prototype).call(event2.touches)).call(_context,function(touch){return{x:touch.pageX,y:touch.pageY}})},detectDoubleTap:function detectDoubleTap(){var time=new Date().getTime();if(this.fingers>1){this.lastTouchStart=null}if(time-this.lastTouchStart<300){this.cancelEvent(event);var zoomFactor=this.scroll.scale>1?1:2;this.scroll.zoomTo(zoomFactor,this.tapTarget.x,this.tapTarget.y)}if(this.fingers===1){this.lastTouchStart=time}},_initPullDownRefresh:function _initPullDownRefresh(){var _this4=this;this.scroll.on("pullingDown",function(){_this4.beforePullDown=false;_this4.isPullingDown=true;_this4.$emit("pullingDown")});this.scroll.on("scroll",function(pos){if(!_this4.pullDownRefresh){return}if(_this4.beforePullDown){_this4.bubbleY=Math.max(0,pos.y+_this4.pullDownInitTop);_this4.pullDownStyle="top:".concat(Math.min(pos.y+_this4.pullDownInitTop,10),"px")}else{_this4.bubbleY=0}if(_this4.isRebounding){_this4.pullDownStyle="top:".concat(10-(_this4.pullDownRefresh.stop-pos.y),"px")}})},_initPullUpLoad:function _initPullUpLoad(){var _this5=this;this.scroll.on("pullingUp",function(){_this5.isPullUpLoad=true;_this5.$emit("pullingUp")})},_reboundPullDown:function _reboundPullDown(){var _this6=this;var _this$pullDownRefresh=this.pullDownRefresh.stopTime,stopTime=_this$pullDownRefresh===void 0?600:_this$pullDownRefresh;return new _Promise(function(resolve){setTimeout(function(){_this6.isRebounding=true;_this6.scroll.finishPullDown();resolve()},stopTime)})},_afterPullDown:function _afterPullDown(){var _this7=this;setTimeout(function(){_this7.pullDownStyle="top:".concat(_this7.pullDownInitTop,"px");_this7.beforePullDown=true;_this7.isRebounding=false;_this7.refresh()},this.scroll.options.bounceTime)}},watch:{data:function data2(){var _this8=this;setTimeout(function(){_this8.forceUpdate(true)},this.refreshDelay)}},components:{Bubble:common_scrollZoom_bubble.Bubble}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("div",{ref:"wrapper",staticClass:"scroll-wrapper",on:{"touchstart":_vm.handleTouchStart,"touchmove":_vm.handleTouchMove,"touchend":_vm.handleTouchEnd}},[_c("div",{staticClass:"scroll-content"},[_c("div",{ref:"listWrapper"},[_vm._t("default")],2),_vm.$scopedSlots.pullup?_vm._t("pullup",null,{"pullUpLoad":_vm.pullUpLoad,"isPullUpLoad":_vm.isPullUpLoad}):_vm._e(),_vm.pullUpLoad&&!_vm.$scopedSlots.pullup?_c("div",{staticClass:"pullup-wrapper"},[!_vm.isPullUpLoad?_c("div",{staticClass:"before-trigger"},[_c("span",[_vm._v(_vm._s(_vm.pullUpTxt))])]):_c("div",{staticClass:"after-trigger"},[_c("act-loading",{directives:[{name:"show",rawName:"v-show",value:true,expression:"true"}],attrs:{"type":"cir4","color":_vm.brandColor,"size":20}})],1)]):_vm._e()],2),_vm.$scopedSlots.pulldown?_vm._t("pulldown",null,{"pullDownRefresh":_vm.pullDownRefresh,"pullDownStyle":_vm.pullDownStyle,"beforePullDown":_vm.beforePullDown,"isPullingDown":_vm.isPullingDown,"bubbleY":_vm.bubbleY}):_vm._e(),_vm.pullDownRefresh&&!_vm.$scopedSlots.pulldown?_c("div",{ref:"pulldown",staticClass:"pulldown-wrapper",style:_vm.pullDownStyle},[_vm.beforePullDown?_c("div",{staticClass:"before-trigger"},[_c("bubble",{attrs:{"y":_vm.bubbleY}})],1):_c("div",{staticClass:"after-trigger"},[_vm.isPullingDown?_c("div",{staticClass:"loading"},[_c("act-loading",{directives:[{name:"show",rawName:"v-show",value:true,expression:"true"}],attrs:{"type":"cir4","color":_vm.brandColor,"size":20}})],1):_c("div",[_c("span",[_vm._v(_vm._s(_vm.refreshTxt))])])])]):_vm._e()],2)};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"3bc88b72");var scroll=__component__.exports;exports.scroll=scroll;
1
+ "use strict";require('./style.css');var _mapInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/map");var _sliceInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/slice");var _Promise=require("@babel/runtime-corejs3/core-js/promise");var BScroll=require("better-scroll");var utils_dom=require("../../../utils/dom/index.js");var common_scrollZoom_bubble=require("../bubble/index.js");var utils_BScroll_constants=require("../../../utils/BScroll/constants/index.js");var common=require("../../index.js");var COMPONENT_NAME="scroll";var DIRECTION_H="horizontal";var DIRECTION_V="vertical";var _sfc_main={name:COMPONENT_NAME,props:{probeType:{type:Number,default:2},click:{type:Boolean,default:true},listenScrollInit:{type:Boolean,default:false},listenScroll:{type:Boolean,default:false},listenBeforeScroll:{type:Boolean,default:false},listenScrollEnd:{type:Boolean,default:false},listenZoomEnd:{type:Boolean,default:false},observeDOM:{type:Boolean,default:true},direction:{type:String,default:DIRECTION_V},scrollbar:{type:null,default:false},pullDownRefresh:{type:null,default:false},pullUpLoad:{type:null,default:false},startY:{type:Number,default:0},refreshDelay:{type:Number,default:20},freeScroll:{type:Boolean,default:false},mouseWheel:{type:Boolean,default:false},bounce:{type:[Boolean,Object],default:true},zoom:{type:[Boolean,Object],default:false}},data:function data(){return{beforePullDown:true,isRebounding:false,isPullingDown:false,isPullUpLoad:false,pullUpDirty:true,pullDownStyle:"",bubbleY:0,lastTouchStart:null,fingers:0,tapTarget:null,isDouble:false,startXd:0,startYd:0,endXd:0,endYd:0}},computed:{pullUpTxt:function pullUpTxt(){var moreTxt=this.pullUpLoad&&this.pullUpLoad.txt&&this.pullUpLoad.txt.more||"加载更多";var noMoreTxt=this.pullUpLoad&&this.pullUpLoad.txt&&this.pullUpLoad.txt.noMore||"没有更多数据了";return this.pullUpDirty?moreTxt:noMoreTxt},refreshTxt:function refreshTxt(){return this.pullDownRefresh&&this.pullDownRefresh.txt||"刷新成功"}},created:function created(){this.pullDownInitTop=-50},mounted:function mounted(){var _this=this;setTimeout(function(){_this.initScroll()},20)},destroyed:function destroyed(){this.$refs.scroll&&this.$refs.scroll.destroy()},methods:{initScroll:function initScroll(){var _this2=this;if(!this.$refs.wrapper){return}if(this.$refs.listWrapper&&(this.pullDownRefresh||this.pullUpLoad)){this.$refs.listWrapper.style.minHeight="".concat(utils_dom.getRect(this.$refs.wrapper).height+1,"px")}var options={probeType:this.probeType,click:this.click,scrollY:this.freeScroll||this.direction===DIRECTION_V,scrollX:this.freeScroll||this.direction===DIRECTION_H,scrollbar:this.scrollbar,pullDownRefresh:this.pullDownRefresh,pullUpLoad:this.pullUpLoad,startY:this.startY,freeScroll:this.freeScroll,mouseWheel:this.mouseWheel,bounce:this.bounce,zoom:this.zoom,bounceTime:300,useTransition:utils_BScroll_constants.USE_TRANSITION,observeDOM:this.observeDOM};this.scroll=new BScroll(this.$refs.wrapper,options);if(this.listenScroll){this.scroll.on("scroll",function(pos){_this2.$emit("scroll",pos)})}if(this.listenScrollEnd){this.scroll.on("scrollEnd",function(pos){_this2.$emit("scroll-end",pos)})}if(this.listenBeforeScroll){this.scroll.on("beforeScrollStart",function(){_this2.$emit("beforeScrollStart")});this.scroll.on("scrollStart",function(){_this2.$emit("scroll-start")})}if(this.listenZoomEnd){this.scroll.on("zoomEnd",function(){_this2.$emit("zoomEnd",_this2.scroll)})}if(this.pullDownRefresh){this._initPullDownRefresh()}if(this.pullUpLoad){this._initPullUpLoad()}if(this.zoom){this.isDouble=true}if(this.listenScrollInit){this.$emit("scrollSuc",this.scroll)}},disable:function disable(){this.scroll&&this.scroll.disable()},enable:function enable(){this.scroll&&this.scroll.enable()},refresh:function refresh(){this.scroll&&this.scroll.refresh()},scrollTo:function scrollTo(){this.scroll&&this.scroll.scrollTo.apply(this.scroll,arguments)},scrollToElement:function scrollToElement(){this.scroll&&this.scroll.scrollToElement.apply(this.scroll,arguments)},clickItem:function clickItem(e,item){this.$emit("click",item)},destroy:function destroy(){this.scroll.destroy()},forceUpdate:function forceUpdate(dirty){var _this3=this;if(this.pullDownRefresh&&this.isPullingDown){this.isPullingDown=false;this._reboundPullDown().then(function(){_this3._afterPullDown()})}else if(this.pullUpLoad&&this.isPullUpLoad){this.isPullUpLoad=false;this.scroll.finishPullUp();this.pullUpDirty=dirty;this.refresh()}else{this.refresh()}},handleTouchStart:function handleTouchStart(event2){if(!this.isDouble){return}this.fingers=event2.touches.length;this.tapTarget=this.getTouches(event2)[0];this.startXd=this.tapTarget.x;this.startYd=this.tapTarget.y},handleTouchMove:function handleTouchMove(event2){if(!this.isDouble){return}this.endXd=this.getTouches(event2)[0].x;this.endYd=this.getTouches(event2)[0].y},handleTouchEnd:function handleTouchEnd(event2){if(!this.isDouble){return}this.endXd=this.endXd===0?this.startXd:this.endXd;this.endYd=this.endYd===0?this.startYd:this.endYd;var distanceX=this.endXd-this.startXd;var distanceY=this.endYd-this.startYd;if(Math.abs(distanceX)<10&&Math.abs(distanceY)<10){this.detectDoubleTap(event2)}this.startXd=this.startYd=this.endXd=this.endYd=0},cancelEvent:function cancelEvent(event2){event2.stopPropagation();event2.preventDefault()},getTouches:function getTouches(event2){var _context;return _mapInstanceProperty(_context=_sliceInstanceProperty(Array.prototype).call(event2.touches)).call(_context,function(touch){return{x:touch.pageX,y:touch.pageY}})},detectDoubleTap:function detectDoubleTap(){var time=new Date().getTime();if(this.fingers>1){this.lastTouchStart=null}if(time-this.lastTouchStart<300){this.cancelEvent(event);var zoomFactor=this.scroll.scale>1?1:2;this.scroll.zoomTo(zoomFactor,this.tapTarget.x,this.tapTarget.y)}if(this.fingers===1){this.lastTouchStart=time}},_initPullDownRefresh:function _initPullDownRefresh(){var _this4=this;this.scroll.on("pullingDown",function(){_this4.beforePullDown=false;_this4.isPullingDown=true;_this4.$emit("pullingDown")});this.scroll.on("scroll",function(pos){if(!_this4.pullDownRefresh){return}if(_this4.beforePullDown){_this4.bubbleY=Math.max(0,pos.y+_this4.pullDownInitTop);_this4.pullDownStyle="top:".concat(Math.min(pos.y+_this4.pullDownInitTop,10),"px")}else{_this4.bubbleY=0}if(_this4.isRebounding){_this4.pullDownStyle="top:".concat(10-(_this4.pullDownRefresh.stop-pos.y),"px")}})},_initPullUpLoad:function _initPullUpLoad(){var _this5=this;this.scroll.on("pullingUp",function(){_this5.isPullUpLoad=true;_this5.$emit("pullingUp")})},_reboundPullDown:function _reboundPullDown(){var _this6=this;var _this$pullDownRefresh=this.pullDownRefresh.stopTime,stopTime=_this$pullDownRefresh===void 0?600:_this$pullDownRefresh;return new _Promise(function(resolve){setTimeout(function(){_this6.isRebounding=true;_this6.scroll.finishPullDown();resolve()},stopTime)})},_afterPullDown:function _afterPullDown(){var _this7=this;setTimeout(function(){_this7.pullDownStyle="top:".concat(_this7.pullDownInitTop,"px");_this7.beforePullDown=true;_this7.isRebounding=false;_this7.refresh()},this.scroll.options.bounceTime)}},watch:{data:function data2(){var _this8=this;setTimeout(function(){_this8.forceUpdate(true)},this.refreshDelay)}},components:{Bubble:common_scrollZoom_bubble.Bubble}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("div",{ref:"wrapper",staticClass:"scroll-wrapper",on:{"touchstart":_vm.handleTouchStart,"touchmove":_vm.handleTouchMove,"touchend":_vm.handleTouchEnd}},[_c("div",{staticClass:"scroll-content"},[_c("div",{ref:"listWrapper"},[_vm._t("default")],2),_vm.$scopedSlots.pullup?_vm._t("pullup",null,{"pullUpLoad":_vm.pullUpLoad,"isPullUpLoad":_vm.isPullUpLoad}):_vm._e(),_vm.pullUpLoad&&!_vm.$scopedSlots.pullup?_c("div",{staticClass:"pullup-wrapper"},[!_vm.isPullUpLoad?_c("div",{staticClass:"before-trigger"},[_c("span",[_vm._v(_vm._s(_vm.pullUpTxt))])]):_c("div",{staticClass:"after-trigger"},[_c("act-loading",{directives:[{name:"show",rawName:"v-show",value:true,expression:"true"}],attrs:{"type":"cir4","color":_vm.brandColor,"size":20}})],1)]):_vm._e()],2),_vm.$scopedSlots.pulldown?_vm._t("pulldown",null,{"pullDownRefresh":_vm.pullDownRefresh,"pullDownStyle":_vm.pullDownStyle,"beforePullDown":_vm.beforePullDown,"isPullingDown":_vm.isPullingDown,"bubbleY":_vm.bubbleY}):_vm._e(),_vm.pullDownRefresh&&!_vm.$scopedSlots.pulldown?_c("div",{ref:"pulldown",staticClass:"pulldown-wrapper",style:_vm.pullDownStyle},[_vm.beforePullDown?_c("div",{staticClass:"before-trigger"},[_c("bubble",{attrs:{"y":_vm.bubbleY}})],1):_c("div",{staticClass:"after-trigger"},[_vm.isPullingDown?_c("div",{staticClass:"loading"},[_c("act-loading",{directives:[{name:"show",rawName:"v-show",value:true,expression:"true"}],attrs:{"type":"cir4","color":_vm.brandColor,"size":20}})],1):_c("div",[_c("span",[_vm._v(_vm._s(_vm.refreshTxt))])])])]):_vm._e()],2)};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"3bc88b72");var scroll=__component__.exports;exports.scroll=scroll;
@@ -1,4 +1,4 @@
1
- import { n as normalizeComponent } from "../index.mjs";
1
+ import { n as normalizeComponent } from "../index.esm.js";
2
2
  import './style.css';var _sfc_main = {
3
3
  name: "SvgIcon",
4
4
  props: {