hs-admin-ui 15.7.0 → 15.7.2

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 (720) hide show
  1. package/LICENSE +21 -0
  2. package/dist/401-AUOYjSJU.mjs +56 -0
  3. package/dist/401-Dx_ldIeG.js +1 -0
  4. package/dist/404-B05H_jCa.mjs +61 -0
  5. package/dist/404-B05H_jCa.mjs.gz +0 -0
  6. package/dist/404-DkKlhDfs.js +1 -0
  7. package/dist/404-DkKlhDfs.js.gz +0 -0
  8. package/dist/account-BHYG232h.js +1 -0
  9. package/dist/account-yggw2mbI.mjs +215 -0
  10. package/dist/aside-BojWyGQq.mjs +164 -0
  11. package/dist/aside-IM1nd79w.js +1 -0
  12. package/dist/baseBtnConfig-C6KLedE5.mjs +273 -0
  13. package/dist/baseBtnConfig-DRxjBT8Z.js +1 -0
  14. package/dist/baseFormConfig-0aAt8oYn.mjs +504 -0
  15. package/dist/baseFormConfig-0aAt8oYn.mjs.gz +0 -0
  16. package/dist/baseFormConfig-BaFbaMWd.mjs +722 -0
  17. package/dist/baseFormConfig-BaFbaMWd.mjs.gz +0 -0
  18. package/dist/baseFormConfig-D5Q35Bo3.js +1 -0
  19. package/dist/baseFormConfig-ZNK--4Oe.js +1 -0
  20. package/dist/baseTableConfig-DHWjKxmf.js +1 -0
  21. package/dist/baseTableConfig-DHWjKxmf.js.gz +0 -0
  22. package/dist/baseTableConfig-YG6eGkRt.mjs +2624 -0
  23. package/dist/baseTableConfig-YG6eGkRt.mjs.gz +0 -0
  24. package/dist/bcFormConfig-BMrGl9cm.js +1 -0
  25. package/dist/bcFormConfig-CO-MWQ_m.mjs +234 -0
  26. package/dist/bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-DKsh2Yf4.js +1 -0
  27. package/dist/bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-Q23Yc4iS.mjs +131 -0
  28. package/dist/bcSwitchSystems.vue_vue_type_script_setup_true_lang-C5TEB_AO.mjs +101 -0
  29. package/dist/bcSwitchSystems.vue_vue_type_script_setup_true_lang-CWp-82fW.js +1 -0
  30. package/dist/btnIndex-Djj2CZ9j.js +1 -0
  31. package/dist/btnIndex-HGBAQo05.mjs +287 -0
  32. package/dist/btnIndex-HGBAQo05.mjs.gz +0 -0
  33. package/dist/classic-CvIqhQyg.js +1 -0
  34. package/dist/classic-DXgLIKOA.mjs +81 -0
  35. package/dist/cloneConfigDialog-B9mCSU49.js +1 -0
  36. package/dist/cloneConfigDialog-B9mCSU49.js.gz +0 -0
  37. package/dist/cloneConfigDialog-CKTvFSS6.mjs +817 -0
  38. package/dist/cloneConfigDialog-CKTvFSS6.mjs.gz +0 -0
  39. package/dist/columns-D5tXNIBk.js +1 -0
  40. package/dist/columns-DpoO5Zsj.mjs +87 -0
  41. package/dist/columnsAside-7U1fFgNM.js +1 -0
  42. package/dist/columnsAside-Decj2--4.mjs +220 -0
  43. package/dist/contextmenu-CboZcHAM.js +1 -0
  44. package/dist/contextmenu-DXF5oP5y.mjs +125 -0
  45. package/dist/contextmenu-G8dHbC6a.mjs +125 -0
  46. package/dist/contextmenu-dn3Ukic5.js +1 -0
  47. package/dist/copyMenuConfig-D4UkBIM8.js +1 -0
  48. package/dist/copyMenuConfig-xDGZfU8V.mjs +4 -0
  49. package/dist/copyMenuConfig.vue_vue_type_script_setup_true_lang-FLv8yK2X.mjs +85 -0
  50. package/dist/copyMenuConfig.vue_vue_type_script_setup_true_lang-V8-WSJik.js +1 -0
  51. package/dist/copySystem-BF-xIg-_.mjs +4 -0
  52. package/dist/copySystem-xq7dH1YB.js +1 -0
  53. package/dist/copySystem.vue_vue_type_script_setup_true_lang-GaIRgmVX.mjs +78 -0
  54. package/dist/copySystem.vue_vue_type_script_setup_true_lang-SoZ__LDi.js +1 -0
  55. package/dist/defaults-B4P_y7Bf.js +1 -0
  56. package/dist/defaults-DJz8qQkT.mjs +86 -0
  57. package/dist/dialog-37QHD09D.mjs +10 -0
  58. package/dist/dialog-BpY5TPcI.mjs +365 -0
  59. package/dist/dialog-BpY5TPcI.mjs.gz +0 -0
  60. package/dist/dialog-CaHgL7Un.js +1 -0
  61. package/dist/dialog-CwvjHdQG.mjs +4 -0
  62. package/dist/dialog-D2L8YrGi.mjs +4 -0
  63. package/dist/dialog-DQP53khI.mjs +359 -0
  64. package/dist/dialog-DQP53khI.mjs.gz +0 -0
  65. package/dist/dialog-DmI_6sfg.js +1 -0
  66. package/dist/dialog-DxBOYlwo.js +1 -0
  67. package/dist/dialog-TFJ52Qpk.js +1 -0
  68. package/dist/dialog-tEGpWR17.js +1 -0
  69. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-B34-zi76.mjs +220 -0
  70. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-lxzOpAYW.js +1 -0
  71. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-B0bvaMOH.mjs +694 -0
  72. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-B0bvaMOH.mjs.gz +0 -0
  73. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BQD9kbev.js +1 -0
  74. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BQD9kbev.js.gz +0 -0
  75. package/dist/dictDialog-3cu_MIw2.mjs +4 -0
  76. package/dist/dictDialog-B8qvjYMR.js +1 -0
  77. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-B_TRW06X.mjs +154 -0
  78. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CFgSsWwx.js +1 -0
  79. package/dist/dictItemDialog-C814-nYt.mjs +4 -0
  80. package/dist/dictItemDialog-CbQHgU4j.js +1 -0
  81. package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-D3F7S3JJ.mjs +231 -0
  82. package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-TQlHxUM-.js +1 -0
  83. package/dist/favicon.ico +0 -0
  84. package/dist/formConfig-BrQO-6ag.js +1 -0
  85. package/dist/formConfig-BrQO-6ag.js.gz +0 -0
  86. package/dist/formConfig-Da6lJvqs.mjs +592 -0
  87. package/dist/formConfig-Da6lJvqs.mjs.gz +0 -0
  88. package/dist/header-BUGTGlM9.js +1 -0
  89. package/dist/header-CFJ4tqWS.mjs +28 -0
  90. package/dist/horizontal-CLwlN8o9.js +1 -0
  91. package/dist/horizontal-Dzn2yYYS.mjs +151 -0
  92. package/dist/hsAttrBtn-CaLLjqar.mjs +4 -0
  93. package/dist/hsAttrBtn-D10_Vo1Y.js +1 -0
  94. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-Cs9czCiW.js +1 -0
  95. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-D1A8kxol.mjs +128 -0
  96. package/dist/hsAttrForm-CdfSj5gE.js +1 -0
  97. package/dist/hsAttrForm-DlqsWDq4.mjs +4 -0
  98. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-C6HgKEYX.mjs +439 -0
  99. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-C6HgKEYX.mjs.gz +0 -0
  100. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-JuStRpaX.js +1 -0
  101. package/dist/hsBtnConfigList-CDwPquFa.js +1 -0
  102. package/dist/hsBtnConfigList-Dq-UMlm2.mjs +117 -0
  103. package/dist/hsBtnItemConfig-CfftPcSD.mjs +4 -0
  104. package/dist/hsBtnItemConfig-CtQqNBlK.js +1 -0
  105. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-BnotrC93.mjs +147 -0
  106. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DnaWvq-b.js +1 -0
  107. package/dist/hsBtnPanel-BkxSKDwq.mjs +4 -0
  108. package/dist/hsBtnPanel-CcMkdorr.js +1 -0
  109. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DcgVBDqw.js +1 -0
  110. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DjuZNPz0.mjs +67 -0
  111. package/dist/hsCheckbox-BKa_El3s.js +1 -0
  112. package/dist/hsCheckbox-CalDndlZ.mjs +4 -0
  113. package/dist/hsCheckbox.vue_vue_type_script_setup_true_lang-Dh-lqGjq.js +1 -0
  114. package/dist/hsCheckbox.vue_vue_type_script_setup_true_lang-XCUyHi8X.mjs +28 -0
  115. package/dist/hsExpand-CQVFjccm.js +1 -0
  116. package/dist/hsExpand-DzturGzS.mjs +4 -0
  117. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-2PgtnOyZ.js +1 -0
  118. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-ByI3lkrY.mjs +285 -0
  119. package/dist/hsFormConfig-B-0-7IG-.js +1 -0
  120. package/dist/hsFormConfig-CiC1xqCS.mjs +207 -0
  121. package/dist/hsFormConfigList-D-zBHhco.mjs +414 -0
  122. package/dist/hsFormConfigList-D-zBHhco.mjs.gz +0 -0
  123. package/dist/hsFormConfigList-IppfulsQ.js +1 -0
  124. package/dist/hsFormPanel-DOSHi6SL.js +1 -0
  125. package/dist/hsFormPanel-DrMHz5BG.mjs +238 -0
  126. package/dist/hsFormPanel-DrMHz5BG.mjs.gz +0 -0
  127. package/dist/hsFormParse--MpZBB1o.js +1 -0
  128. package/dist/hsFormParse-Dzmv1LRL.mjs +4 -0
  129. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-C3QZXAnq.mjs +242 -0
  130. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-DNdAJZ-0.js +1 -0
  131. package/dist/hsPanelItem-Cr_zx3zB.mjs +4 -0
  132. package/dist/hsPanelItem-L0cRzdZ9.js +1 -0
  133. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-B8S5p2OU.mjs +86 -0
  134. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-CHRnArdb.js +1 -0
  135. package/dist/iframes-CWdXFiYU.mjs +122 -0
  136. package/dist/iframes-DnAW1ZV2.js +1 -0
  137. package/dist/index copy-C9pm4wwS.mjs +134 -0
  138. package/dist/index copy-CltelxDj.js +1 -0
  139. package/dist/index copy-NI5bkeov.mjs +69 -0
  140. package/dist/index copy-YVeg4Qpy.js +1 -0
  141. package/dist/index--90UOcEE.js +1 -0
  142. package/dist/index-4ncpQ4eO.js +1 -0
  143. package/dist/index-5_S5X2B8.mjs +73 -0
  144. package/dist/index-7U-cYtGo.js +1 -0
  145. package/dist/index-86EBVGGo.js +1 -0
  146. package/dist/index-B0-7gN8V.mjs +131 -0
  147. package/dist/index-B3h4_c_0.js +1 -0
  148. package/dist/index-B4RbAHHA.js +1 -0
  149. package/dist/index-B5B5bCFQ.js +1 -0
  150. package/dist/index-B8Zlivb4.mjs +152 -0
  151. package/dist/index-BIgnSPCb.js +1 -0
  152. package/dist/index-BIj1BEfS.mjs +89 -0
  153. package/dist/index-BNdkz6Oj.mjs +65 -0
  154. package/dist/index-BTBnzpJl.mjs +331 -0
  155. package/dist/index-BTBnzpJl.mjs.gz +0 -0
  156. package/dist/index-BTrzbnh7.mjs +10 -0
  157. package/dist/index-BX1VwR6q.mjs +254 -0
  158. package/dist/index-B_aWJfJG.mjs +50 -0
  159. package/dist/index-Be14owUC.js +110 -0
  160. package/dist/index-Be14owUC.js.gz +0 -0
  161. package/dist/index-BhMp70XH.mjs +94 -0
  162. package/dist/index-BiFq1jSn.mjs +4 -0
  163. package/dist/index-BiXUzbUN.js +1 -0
  164. package/dist/index-BiXUzbUN.js.gz +0 -0
  165. package/dist/index-BoxE6g4D.mjs +22 -0
  166. package/dist/index-BsmMkmmb.mjs +30 -0
  167. package/dist/index-BvRPdQjQ.js +1 -0
  168. package/dist/index-Bw3xRnWj.js +1 -0
  169. package/dist/index-By4ZqBp1.mjs +262 -0
  170. package/dist/index-BziqiZMe.js +1 -0
  171. package/dist/index-BziqiZMe.js.gz +0 -0
  172. package/dist/index-C1yO8AeN.js +1 -0
  173. package/dist/index-C4QLSPnE.js +1 -0
  174. package/dist/index-C4QLSPnE.js.gz +0 -0
  175. package/dist/index-C4jaoMOL.js +1 -0
  176. package/dist/index-CBtvQ2Qa.js +1 -0
  177. package/dist/index-CDFo3k6H.mjs +47 -0
  178. package/dist/index-CEWu6Vth.js +1 -0
  179. package/dist/index-CH6aNW1H.js +1 -0
  180. package/dist/index-CNqCyebM.mjs +67 -0
  181. package/dist/index-COoEtFch.js +1 -0
  182. package/dist/index-CSFKdCgt.js +1 -0
  183. package/dist/index-CSohO9Sf.js +1 -0
  184. package/dist/index-CUE6cOFE.mjs +76 -0
  185. package/dist/index-CVr6ThwO.mjs +14 -0
  186. package/dist/index-CYwUku7v.js +1 -0
  187. package/dist/index-C_Jh3o-z.mjs +2208 -0
  188. package/dist/index-C_Jh3o-z.mjs.gz +0 -0
  189. package/dist/index-CaroRQE3.mjs +258272 -0
  190. package/dist/index-CaroRQE3.mjs.gz +0 -0
  191. package/dist/index-CbCppT2z.js +1 -0
  192. package/dist/index-CbgKih92.js +1 -0
  193. package/dist/index-Cevc_s57.js +1 -0
  194. package/dist/index-CpHkFJpe.mjs +4 -0
  195. package/dist/index-CpeyiMej.js +1 -0
  196. package/dist/index-CtQOzn7W.mjs +285 -0
  197. package/dist/index-CvaGWWCb.mjs +172 -0
  198. package/dist/index-D-ZR2ZQw.js +1 -0
  199. package/dist/index-D-rui3Hs.mjs +133 -0
  200. package/dist/index-D6stlvgD.mjs +10 -0
  201. package/dist/index-D858MrDM.mjs +173 -0
  202. package/dist/index-DCgZAOFA.js +1 -0
  203. package/dist/index-DEykAVeO.js +1 -0
  204. package/dist/index-DHHcO6BG.js +1 -0
  205. package/dist/index-DHxDaTXn.js +1 -0
  206. package/dist/index-DIMVIQkh.mjs +4 -0
  207. package/dist/index-DT3c6iM1.mjs +49 -0
  208. package/dist/index-DUmz-a1e.js +1 -0
  209. package/dist/index-DXyhVGaL.mjs +95 -0
  210. package/dist/index-DZ_UFJE2.mjs +43 -0
  211. package/dist/index-Db2jthwJ.js +1 -0
  212. package/dist/index-DhDED1vM.mjs +73 -0
  213. package/dist/index-Dkkn5hYp.mjs +213 -0
  214. package/dist/index-Dqazj9UX.js +1 -0
  215. package/dist/index-DqikGsbw.mjs +1009 -0
  216. package/dist/index-DqikGsbw.mjs.gz +0 -0
  217. package/dist/index-DrCxI2-S.js +1 -0
  218. package/dist/index-DrpmyDit.js +1 -0
  219. package/dist/index-Du7wnh89.js +1 -0
  220. package/dist/index-DuMZar1l.mjs +51 -0
  221. package/dist/index-DvVF79rV.mjs +65 -0
  222. package/dist/index-Dymo6jYe.mjs +119 -0
  223. package/dist/index-EKgsCiWF.js +1 -0
  224. package/dist/index-GyR4BRDa.mjs +4 -0
  225. package/dist/index-I4czMgZi.js +1 -0
  226. package/dist/index-JwYvAnQ3.js +1 -0
  227. package/dist/index-PCI3lWru.mjs +38 -0
  228. package/dist/index-Pkhj9M-e.mjs +403 -0
  229. package/dist/index-Pkhj9M-e.mjs.gz +0 -0
  230. package/dist/index-Qnu0cq8V.mjs +23 -0
  231. package/dist/index-Z83-84L3.js +1 -0
  232. package/dist/index-feq0FF6W.mjs +23 -0
  233. package/dist/index-g_BDa62N.mjs +19 -0
  234. package/dist/index-iXgZKYFt.mjs +200 -0
  235. package/dist/index-iyQdB62I.js +1 -0
  236. package/dist/index-jJSGIw6e.mjs +4 -0
  237. package/dist/index-lnqZa96W.js +1 -0
  238. package/dist/index-nfmpb6Xb.js +1 -0
  239. package/dist/index-qaA0ntg_.mjs +5403 -0
  240. package/dist/index-qaA0ntg_.mjs.gz +0 -0
  241. package/dist/index.js +1 -1
  242. package/dist/index.mjs +169 -135
  243. package/dist/index.vue_vue_type_script_setup_true_lang-Bo-cWJ2h.mjs +103 -0
  244. package/dist/index.vue_vue_type_script_setup_true_lang-C6kBeVt9.js +1 -0
  245. package/dist/index.vue_vue_type_script_setup_true_lang-CN3R-WyE.mjs +194 -0
  246. package/dist/index.vue_vue_type_script_setup_true_lang-CV51d0Z-.mjs +97 -0
  247. package/dist/index.vue_vue_type_script_setup_true_lang-CzxOI00n.mjs +267 -0
  248. package/dist/index.vue_vue_type_script_setup_true_lang-CzxOI00n.mjs.gz +0 -0
  249. package/dist/index.vue_vue_type_script_setup_true_lang-DF41VMpg.js +1 -0
  250. package/dist/index.vue_vue_type_script_setup_true_lang-ZElmGMCs.js +1 -0
  251. package/dist/index.vue_vue_type_script_setup_true_lang-s332W7ju.js +1 -0
  252. package/dist/index.vue_vue_type_script_setup_true_name_iconSelector_lang-BdxXuNuU.js +1 -0
  253. package/dist/index.vue_vue_type_script_setup_true_name_iconSelector_lang-iB7n4gFb.mjs +288 -0
  254. package/dist/index.vue_vue_type_script_setup_true_name_iconSelector_lang-iB7n4gFb.mjs.gz +0 -0
  255. package/dist/lib-generate-test-usersig.min.js +2 -0
  256. package/dist/lib-generate-test-usersig.min.js.gz +0 -0
  257. package/dist/link-CgTDXGDS.mjs +63 -0
  258. package/dist/link-D2FDMeja.js +1 -0
  259. package/dist/list-5DKapoIg.mjs +85 -0
  260. package/dist/list-BvqQwxfl.js +1 -0
  261. package/dist/logo-mini-BQ9BrQ1U.mjs +4 -0
  262. package/dist/logo-mini-DwRdfcE7.js +1 -0
  263. package/dist/main-CTH2j1nH.js +1 -0
  264. package/dist/main-DYH0PjBf.mjs +72 -0
  265. package/dist/mobile-ByMcRIck.mjs +115 -0
  266. package/dist/mobile-Ct2wYxBA.js +1 -0
  267. package/dist/parent-DuAzBa1S.mjs +131 -0
  268. package/dist/parent-nV16iTuQ.js +1 -0
  269. package/dist/popup-DoFnyyCj.mjs +4 -0
  270. package/dist/popup-V67deXeJ.js +1 -0
  271. package/dist/popup.vue_vue_type_script_setup_true_name_replaceRules_lang-DQDiTEgt.mjs +89 -0
  272. package/dist/popup.vue_vue_type_script_setup_true_name_replaceRules_lang-E-ChMCSs.js +1 -0
  273. package/dist/roleItem-BlcLJSJN.js +1 -0
  274. package/dist/roleItem-CbNpIWj7.mjs +103 -0
  275. package/dist/saveForm-BzO1nXB7.js +1 -0
  276. package/dist/saveForm-CPBMTFy6.mjs +160 -0
  277. package/dist/scan-BcgmKsTD.js +1 -0
  278. package/dist/scan-BcgmKsTD.js.gz +0 -0
  279. package/dist/scan-DTqXY1TN.mjs +945 -0
  280. package/dist/scan-DTqXY1TN.mjs.gz +0 -0
  281. package/dist/search-B-EDB-Tc.mjs +114 -0
  282. package/dist/search-B9FiliR8.js +1 -0
  283. package/dist/selectConfig-C_ir8n8r.js +1 -0
  284. package/dist/selectConfig-DAkXAD_Y.mjs +546 -0
  285. package/dist/selectConfig-DAkXAD_Y.mjs.gz +0 -0
  286. package/dist/shortcutList-BXBGQdNn.mjs +76 -0
  287. package/dist/shortcutList-WSi4lUlm.js +1 -0
  288. package/dist/style.css +1 -0
  289. package/dist/style.css.gz +0 -0
  290. package/dist/subItem-CZYXr8hi.mjs +77 -0
  291. package/dist/subItem-D2t5Fs0x.js +1 -0
  292. package/dist/tagsView-BQQMtEO2.mjs +2695 -0
  293. package/dist/tagsView-BQQMtEO2.mjs.gz +0 -0
  294. package/dist/tagsView-D7WaG5Ak.js +8 -0
  295. package/dist/tagsView-D7WaG5Ak.js.gz +0 -0
  296. package/dist/transverse-BQN-Si9F.mjs +65 -0
  297. package/dist/transverse-C_saqvLc.js +1 -0
  298. package/dist/types/components/business/bcBox/bcBox.vue.d.ts +66 -0
  299. package/dist/types/{src/components → components}/business/bcBox/utils.d.ts +11 -10
  300. package/dist/types/components/business/bcBreadcrumb/bcBreadcrumb.vue.d.ts +23 -0
  301. package/dist/types/{src/components → components}/business/bcBreadcrumb/index.d.ts +2 -1
  302. package/dist/types/components/business/bcForm/baseForm.vue.d.ts +273 -0
  303. package/dist/types/components/business/bcForm/bcForm.vue.d.ts +42 -0
  304. package/dist/types/{src/components → components}/business/bcForm/type.d.ts +7 -6
  305. package/dist/types/components/business/bcForm/useGuide.d.ts +564 -0
  306. package/dist/types/components/business/bcSystemAuth/components/data.vue.d.ts +3 -0
  307. package/dist/types/components/business/bcSystemAuth/components/dict.vue.d.ts +3 -0
  308. package/dist/types/components/business/bcSystemAuth/components/fastSet/popup.vue.d.ts +17 -0
  309. package/dist/types/components/business/bcSystemAuth/components/field.vue.d.ts +3 -0
  310. package/dist/types/components/business/bcSystemAuth/components/form.vue.d.ts +13 -0
  311. package/dist/types/{src/components → components}/business/bcSystemAuth/components/selectAll/index.d.ts +3 -2
  312. package/dist/types/components/business/bcSystemAuth/components/selectAll/index.vue.d.ts +5 -0
  313. package/dist/types/components/business/bcSystemAuth/components/table.vue.d.ts +13 -0
  314. package/dist/types/components/business/bcSystemAuth/components/widget/btns.vue.d.ts +15 -0
  315. package/dist/types/components/business/bcSystemAuth/components/widget/form.vue.d.ts +15 -0
  316. package/dist/types/components/business/bcSystemAuth/components/widget/tab.vue.d.ts +45 -0
  317. package/dist/types/components/business/bcSystemAuth/components/widget/tables.vue.d.ts +15 -0
  318. package/dist/types/components/business/bcSystemAuth/components/widget/tablesWraper.vue.d.ts +15 -0
  319. package/dist/types/{src/components → components}/business/bcSystemAuth/fastStore.d.ts +49 -48
  320. package/dist/types/{src/components → components}/business/bcSystemAuth/fastUtils.d.ts +30 -28
  321. package/dist/types/components/business/bcSystemAuth/index.d.ts +3 -0
  322. package/dist/types/components/business/bcSystemAuth/index.vue.d.ts +26 -0
  323. package/dist/types/{src/components → components}/business/bcSystemAuth/store.d.ts +49 -48
  324. package/dist/types/components/business/bcSystemAuth/type.d.ts +42 -0
  325. package/dist/types/components/business/bcSystemAuth/useAuth.d.ts +28 -0
  326. package/dist/types/{src/components → components}/business/bcSystemAuth/utils.d.ts +30 -28
  327. package/dist/types/components/business/bcSystemField/components/field.vue.d.ts +3 -0
  328. package/dist/types/components/business/bcSystemField/components/form.vue.d.ts +13 -0
  329. package/dist/types/{src/components → components}/business/bcSystemField/components/selectAll/index.d.ts +5 -4
  330. package/dist/types/components/business/bcSystemField/components/selectAll/index.vue.d.ts +5 -0
  331. package/dist/types/components/business/bcSystemField/components/table.vue.d.ts +13 -0
  332. package/dist/types/components/business/bcSystemField/components/widget/form.vue.d.ts +15 -0
  333. package/dist/types/components/business/bcSystemField/components/widget/tab.vue.d.ts +45 -0
  334. package/dist/types/components/business/bcSystemField/components/widget/tables.vue.d.ts +15 -0
  335. package/dist/types/components/business/bcSystemField/components/widget/tablesWraper.vue.d.ts +15 -0
  336. package/dist/types/components/business/bcSystemField/index.d.ts +3 -0
  337. package/dist/types/components/business/bcSystemField/index.vue.d.ts +16 -0
  338. package/dist/types/{src/components → components}/business/bcSystemField/store.d.ts +40 -39
  339. package/dist/types/components/business/bcSystemField/useAuth.d.ts +16 -0
  340. package/dist/types/{src/components → components}/business/bcSystemField/utils.d.ts +21 -20
  341. package/dist/types/components/business/bcTable/bcFormTable.vue.d.ts +142 -0
  342. package/dist/types/components/business/bcTable/bcTable.vue.d.ts +51 -0
  343. package/dist/types/components/business/bcTable/components/btn/btn.vue.d.ts +77 -0
  344. package/dist/types/components/business/bcTable/components/popup/index.d.ts +3 -0
  345. package/dist/types/components/business/bcTable/components/query/components/sortForm/sortForm.vue.d.ts +23 -0
  346. package/dist/types/components/business/bcTable/components/query/drag.vue.d.ts +244 -0
  347. package/dist/types/components/business/bcTable/components/query/query.vue.d.ts +249 -0
  348. package/dist/types/{src/components → components}/business/bcTable/components/query/useQuickSearch.d.ts +3 -2
  349. package/dist/types/components/business/bcTable/components/table/colgroup.vue.d.ts +28 -0
  350. package/dist/types/components/business/bcTable/components/table/column.vue.d.ts +35 -0
  351. package/dist/types/components/business/bcTable/components/table/components/sortColumn/sortColumn.vue.d.ts +25 -0
  352. package/dist/types/{src/components → components}/business/bcTable/components/table/components/sortColumn/types.d.ts +2 -1
  353. package/dist/types/components/business/bcTable/components/table/table.vue.d.ts +67 -0
  354. package/dist/types/{src/components → components}/business/bcTable/components/table/useTable.d.ts +5 -5
  355. package/dist/types/components/business/bcTable/components/table/useTableHeight.d.ts +25 -0
  356. package/dist/types/{src/components → components}/business/bcTable/methods/cellDetailMethod.d.ts +1 -0
  357. package/dist/types/{src/components → components}/business/bcTable/methods/filterAgeMethod.d.ts +1 -0
  358. package/dist/types/{src/components → components}/business/bcTable/methods/footerMethod.d.ts +2 -1
  359. package/dist/types/{src/components → components}/business/bcTable/methods/formBtnMethod.d.ts +2 -1
  360. package/dist/types/{src/components → components}/business/bcTable/methods/index.d.ts +2 -1
  361. package/dist/types/{src/components → components}/business/bcTable/utils/authField.d.ts +2 -1
  362. package/dist/types/{src/components → components}/business/bcTable/utils/onFormKey.d.ts +5 -4
  363. package/dist/types/{src/components → components}/business/bcTable/utils/onTableKey.d.ts +6 -5
  364. package/dist/types/{src/components → components}/business/bcTable/utils/parseTable.d.ts +21 -20
  365. package/dist/types/{src/components → components}/business/bcTable/utils/type.d.ts +12 -11
  366. package/dist/types/{src/components → components}/business/bcTable/utils/useBcTable.d.ts +7084 -7074
  367. package/dist/types/{src/components → components}/business/bcTable/utils/useButon.d.ts +6 -5
  368. package/dist/types/components/business/bcTable/utils/useFormTableHeight.d.ts +20 -0
  369. package/dist/types/{src/components → components}/business/bcTable/utils/useKeydownEvent.d.ts +18 -17
  370. package/dist/types/{src/components → components}/business/bcVisual/bcVisual.vue.d.ts +8 -9
  371. package/dist/types/{src/components → components}/business/bcVisual/components/setting/dragItem.vue.d.ts +9 -16
  372. package/dist/types/components/business/bcVisual/components/setting/extendItem.vue.d.ts +13 -0
  373. package/dist/types/components/business/bcVisual/components/setting/setting.vue.d.ts +3 -0
  374. package/dist/types/{src/components → components}/business/bcVisual/components/setting/useDrag.d.ts +4 -2
  375. package/dist/types/components/business/bcVisual/components/table/table.vue.d.ts +6 -0
  376. package/dist/types/components/business/bcVisual/components/updateName/popup.vue.d.ts +17 -0
  377. package/dist/types/components/business/bcVisual/components/updateSql/addCondition.vue.d.ts +23 -0
  378. package/dist/types/{src/components → components}/business/bcVisual/components/updateSql/index.d.ts +2 -1
  379. package/dist/types/{src/components → components}/business/bcVisual/components/updateSql/nodeTree/index.d.ts +2 -1
  380. package/dist/types/components/business/bcVisual/components/updateSql/nodeTree/index.vue.d.ts +21 -0
  381. package/dist/types/components/business/bcVisual/components/updateSql/nodeTree/nodeTree.vue.d.ts +19 -0
  382. package/dist/types/components/business/bcVisual/components/updateSql/popup.vue.d.ts +17 -0
  383. package/dist/types/{src/components → components}/business/bcVisual/useTableFormat.d.ts +29 -28
  384. package/dist/types/{src/components → components}/business/bcVisual/utils.d.ts +3 -1
  385. package/dist/types/index.d.ts +1 -32
  386. package/dist/types/plugins/index.d.ts +33 -0
  387. package/dist/types/{src/types → types}/auth.d.ts +2 -1
  388. package/dist/types/{src/types → types}/components.d.ts +2 -1
  389. package/dist/types/{src/types → types}/customData.d.ts +19 -16
  390. package/dist/types/{src/types → types}/form.d.ts +2 -1
  391. package/dist/types/{src/types → types}/formItem/autocomplete.d.ts +2 -1
  392. package/dist/types/{src/types → types}/formItem/checkbox.d.ts +2 -1
  393. package/dist/types/{src/types → types}/formItem/input.d.ts +2 -1
  394. package/dist/types/{src/types → types}/formItem/inputGroup.d.ts +2 -1
  395. package/dist/types/{src/types → types}/formItem/inputNumber.d.ts +2 -1
  396. package/dist/types/{src/types → types}/formItem/radio.d.ts +2 -1
  397. package/dist/types/{src/types → types}/formItem/selelct.d.ts +2 -1
  398. package/dist/types/{src/types → types}/formItem/treeSelect.d.ts +2 -1
  399. package/dist/types/types/system.d.ts +14 -0
  400. package/dist/types/{src/utils → utils}/arrayOperation.d.ts +1 -1
  401. package/dist/types/utils/authFunction.d.ts +18 -0
  402. package/dist/types/utils/build.d.ts +11 -0
  403. package/dist/types/{src/utils → utils}/common.d.ts +4 -3
  404. package/dist/types/utils/commonFunction.d.ts +29 -0
  405. package/dist/types/{src/utils → utils}/download.d.ts +4 -4
  406. package/dist/types/utils/file.d.ts +6 -0
  407. package/dist/types/{src/utils → utils}/getDataType.d.ts +3 -2
  408. package/dist/types/utils/getStyleSheets.d.ts +11 -0
  409. package/dist/types/utils/index.d.ts +29 -0
  410. package/dist/types/{src/utils/loading/index.d.ts → utils/loading.d.ts} +1 -1
  411. package/dist/types/utils/lodash.d.ts +3 -0
  412. package/dist/types/{src/utils → utils}/mitt.d.ts +3 -2
  413. package/dist/types/{src/utils → utils}/number.d.ts +14 -2
  414. package/dist/types/{src/utils → utils}/other.d.ts +12 -11
  415. package/dist/types/utils/request/index.d.ts +6 -0
  416. package/dist/types/{src/utils → utils}/request/interceptors/request/authorization.interceptor.d.ts +2 -1
  417. package/dist/types/{src/utils → utils}/request/interceptors/request/result.type.interceptor.d.ts +2 -6
  418. package/dist/types/{src/utils → utils}/request/interceptors/request/undefined-params-handler.interceptor.d.ts +2 -13
  419. package/dist/types/{src/utils → utils}/request/interceptors/response/error-handler.interceptor.d.ts +2 -1
  420. package/dist/types/{src/utils → utils}/request/repeatRequest.d.ts +2 -1
  421. package/dist/types/utils/request/request.d.ts +7 -0
  422. package/dist/types/utils/setIconfont.d.ts +11 -0
  423. package/dist/types/utils/showMessage.d.ts +6 -0
  424. package/dist/types/utils/showMessageBox.d.ts +6 -0
  425. package/dist/types/utils/showNotification.d.ts +6 -0
  426. package/dist/types/{src/utils → utils}/showPopup/index.d.ts +6 -5
  427. package/dist/types/{src/utils → utils}/storage.d.ts +14 -12
  428. package/dist/types/{src/utils → utils}/tree.d.ts +4 -3
  429. package/dist/types/{src/utils → utils}/url.d.ts +3 -2
  430. package/dist/useConfigInfo-2zEYLSSs.js +1 -0
  431. package/dist/useConfigInfo-PTkkdx-l.mjs +19 -0
  432. package/dist/user-4AkMtJNx.mjs +246 -0
  433. package/dist/user-Dv0yBcpt.js +1 -0
  434. package/dist/userNews-Bkj38E0W.js +1 -0
  435. package/dist/userNews-Kzyqi5O2.mjs +72 -0
  436. package/dist/userSelect-C40-eSjE.mjs +4 -0
  437. package/dist/userSelect-QMToHb6f.js +1 -0
  438. package/dist/userSelect.vue_vue_type_script_setup_true_lang-DAOTR3MQ.js +1 -0
  439. package/dist/userSelect.vue_vue_type_script_setup_true_lang-_aKlFytR.mjs +100 -0
  440. package/dist/vertical-B9_KiZof.js +1 -0
  441. package/dist/vertical-CU-DZItF.mjs +133 -0
  442. package/package.json +39 -16
  443. package/dist/bcIcon-BNPGT9B7.mjs +0 -4
  444. package/dist/bcIcon-CFYxyZyR.js +0 -1
  445. package/dist/index-CcXaux5a.mjs +0 -144167
  446. package/dist/index-yRPuvCc-.js +0 -349
  447. package/dist/index.css +0 -1
  448. package/dist/types/element-plus.d.ts +0 -557
  449. package/dist/types/src/components/base/Affix/index.d.ts +0 -1
  450. package/dist/types/src/components/base/Affix/src/Affix.vue.d.ts +0 -3
  451. package/dist/types/src/components/base/Alert/index.d.ts +0 -1
  452. package/dist/types/src/components/base/Alert/src/Alert.vue.d.ts +0 -3
  453. package/dist/types/src/components/base/Aside/index.d.ts +0 -1
  454. package/dist/types/src/components/base/Aside/src/Aside.vue.d.ts +0 -3
  455. package/dist/types/src/components/base/Autocomplete/index.d.ts +0 -1
  456. package/dist/types/src/components/base/Autocomplete/src/Autocomplete.vue.d.ts +0 -3
  457. package/dist/types/src/components/base/Backtop/index.d.ts +0 -1
  458. package/dist/types/src/components/base/Backtop/src/Backtop.vue.d.ts +0 -3
  459. package/dist/types/src/components/base/Badge/index.d.ts +0 -1
  460. package/dist/types/src/components/base/Badge/src/Badge.vue.d.ts +0 -3
  461. package/dist/types/src/components/base/Button/index.d.ts +0 -2
  462. package/dist/types/src/components/base/Button/src/Button.vue.d.ts +0 -3
  463. package/dist/types/src/components/base/Button/src/ButtonGroup.vue.d.ts +0 -3
  464. package/dist/types/src/components/base/Calendar/index.d.ts +0 -1
  465. package/dist/types/src/components/base/Calendar/src/Calendar.vue.d.ts +0 -3
  466. package/dist/types/src/components/base/Card/index.d.ts +0 -1
  467. package/dist/types/src/components/base/Card/src/Card.vue.d.ts +0 -3
  468. package/dist/types/src/components/base/Carousel/index.d.ts +0 -2
  469. package/dist/types/src/components/base/Carousel/src/Carousel.vue.d.ts +0 -3
  470. package/dist/types/src/components/base/Carousel/src/CarouselItem.vue.d.ts +0 -3
  471. package/dist/types/src/components/base/Cascader/index.d.ts +0 -2
  472. package/dist/types/src/components/base/Cascader/src/Cascader.vue.d.ts +0 -3
  473. package/dist/types/src/components/base/Cascader/src/CascaderPanel.vue.d.ts +0 -3
  474. package/dist/types/src/components/base/Checkbox/index.d.ts +0 -3
  475. package/dist/types/src/components/base/Checkbox/src/Checkbox.vue.d.ts +0 -3
  476. package/dist/types/src/components/base/Checkbox/src/CheckboxButton.vue.d.ts +0 -3
  477. package/dist/types/src/components/base/Checkbox/src/CheckboxGroup.vue.d.ts +0 -3
  478. package/dist/types/src/components/base/Col/index.d.ts +0 -1
  479. package/dist/types/src/components/base/Col/src/Col.vue.d.ts +0 -3
  480. package/dist/types/src/components/base/Collapse/index.d.ts +0 -2
  481. package/dist/types/src/components/base/Collapse/src/Collapse.vue.d.ts +0 -3
  482. package/dist/types/src/components/base/Collapse/src/CollapseItem.vue.d.ts +0 -3
  483. package/dist/types/src/components/base/ColorPicker/index.d.ts +0 -1
  484. package/dist/types/src/components/base/ColorPicker/src/ColorPicker.vue.d.ts +0 -3
  485. package/dist/types/src/components/base/Container/index.d.ts +0 -1
  486. package/dist/types/src/components/base/Container/src/Container.vue.d.ts +0 -3
  487. package/dist/types/src/components/base/DatePicker/index.d.ts +0 -1
  488. package/dist/types/src/components/base/DatePicker/src/DatePicker.vue.d.ts +0 -3
  489. package/dist/types/src/components/base/Descriptions/index.d.ts +0 -2
  490. package/dist/types/src/components/base/Descriptions/src/Descriptions.vue.d.ts +0 -3
  491. package/dist/types/src/components/base/Descriptions/src/DescriptionsItem.vue.d.ts +0 -3
  492. package/dist/types/src/components/base/Dialog/index.d.ts +0 -1
  493. package/dist/types/src/components/base/Dialog/src/Dialog.vue.d.ts +0 -3
  494. package/dist/types/src/components/base/Divider/index.d.ts +0 -1
  495. package/dist/types/src/components/base/Divider/src/Divider.vue.d.ts +0 -3
  496. package/dist/types/src/components/base/Drawer/index.d.ts +0 -1
  497. package/dist/types/src/components/base/Drawer/src/Drawer.vue.d.ts +0 -3
  498. package/dist/types/src/components/base/Dropdown/index.d.ts +0 -3
  499. package/dist/types/src/components/base/Dropdown/src/Dropdown.vue.d.ts +0 -3
  500. package/dist/types/src/components/base/Dropdown/src/DropdownItem.vue.d.ts +0 -3
  501. package/dist/types/src/components/base/Dropdown/src/DropdownMenu.vue.d.ts +0 -3
  502. package/dist/types/src/components/base/Empty/index.d.ts +0 -1
  503. package/dist/types/src/components/base/Empty/src/Empty.vue.d.ts +0 -3
  504. package/dist/types/src/components/base/Footer/index.d.ts +0 -1
  505. package/dist/types/src/components/base/Footer/src/Footer.vue.d.ts +0 -3
  506. package/dist/types/src/components/base/Form/index.d.ts +0 -2
  507. package/dist/types/src/components/base/Form/src/Form.vue.d.ts +0 -3
  508. package/dist/types/src/components/base/Form/src/FormItem.vue.d.ts +0 -3
  509. package/dist/types/src/components/base/Header/index.d.ts +0 -1
  510. package/dist/types/src/components/base/Header/src/Header.vue.d.ts +0 -3
  511. package/dist/types/src/components/base/Icon/index.d.ts +0 -1
  512. package/dist/types/src/components/base/Icon/src/Icon.vue.d.ts +0 -3
  513. package/dist/types/src/components/base/Image/index.d.ts +0 -1
  514. package/dist/types/src/components/base/Image/src/Image.vue.d.ts +0 -3
  515. package/dist/types/src/components/base/ImageViewer/index.d.ts +0 -1
  516. package/dist/types/src/components/base/ImageViewer/src/ImageViewer.vue.d.ts +0 -3
  517. package/dist/types/src/components/base/Input/index.d.ts +0 -1
  518. package/dist/types/src/components/base/Input/src/Input.vue.d.ts +0 -30
  519. package/dist/types/src/components/base/InputNumber/index.d.ts +0 -1
  520. package/dist/types/src/components/base/InputNumber/src/InputNumber.vue.d.ts +0 -3
  521. package/dist/types/src/components/base/Main/index.d.ts +0 -1
  522. package/dist/types/src/components/base/Main/src/Main.vue.d.ts +0 -3
  523. package/dist/types/src/components/base/Menu/index.d.ts +0 -3
  524. package/dist/types/src/components/base/Menu/src/Menu.vue.d.ts +0 -3
  525. package/dist/types/src/components/base/Menu/src/MenuItem.vue.d.ts +0 -3
  526. package/dist/types/src/components/base/Menu/src/SubMenu.vue.d.ts +0 -3
  527. package/dist/types/src/components/base/Pagination/index.d.ts +0 -1
  528. package/dist/types/src/components/base/Pagination/src/Pagination.vue.d.ts +0 -3
  529. package/dist/types/src/components/base/Popconfirm/index.d.ts +0 -1
  530. package/dist/types/src/components/base/Popconfirm/src/Popconfirm.vue.d.ts +0 -3
  531. package/dist/types/src/components/base/Popover/index.d.ts +0 -1
  532. package/dist/types/src/components/base/Popover/src/Popover.vue.d.ts +0 -3
  533. package/dist/types/src/components/base/Progress/index.d.ts +0 -1
  534. package/dist/types/src/components/base/Progress/src/Progress.vue.d.ts +0 -3
  535. package/dist/types/src/components/base/Qr/index.d.ts +0 -1
  536. package/dist/types/src/components/base/Qr/src/Qr.vue.d.ts +0 -3
  537. package/dist/types/src/components/base/Radio/index.d.ts +0 -3
  538. package/dist/types/src/components/base/Radio/src/Radio.vue.d.ts +0 -3
  539. package/dist/types/src/components/base/Radio/src/RadioButton.vue.d.ts +0 -3
  540. package/dist/types/src/components/base/Radio/src/RadioGroup.vue.d.ts +0 -3
  541. package/dist/types/src/components/base/Rate/index.d.ts +0 -1
  542. package/dist/types/src/components/base/Rate/src/Rate.vue.d.ts +0 -3
  543. package/dist/types/src/components/base/Result/index.d.ts +0 -1
  544. package/dist/types/src/components/base/Result/src/Result.vue.d.ts +0 -3
  545. package/dist/types/src/components/base/Row/index.d.ts +0 -1
  546. package/dist/types/src/components/base/Row/src/Row.vue.d.ts +0 -3
  547. package/dist/types/src/components/base/Scrollbar/index.d.ts +0 -1
  548. package/dist/types/src/components/base/Scrollbar/src/Scrollbar.vue.d.ts +0 -3
  549. package/dist/types/src/components/base/Select/index.d.ts +0 -3
  550. package/dist/types/src/components/base/Select/src/Option.vue.d.ts +0 -3
  551. package/dist/types/src/components/base/Select/src/OptionGroup.vue.d.ts +0 -3
  552. package/dist/types/src/components/base/Select/src/Select.vue.d.ts +0 -37
  553. package/dist/types/src/components/base/SelectV2/index.d.ts +0 -1
  554. package/dist/types/src/components/base/SelectV2/src/SelectV2.vue.d.ts +0 -3
  555. package/dist/types/src/components/base/Slider/index.d.ts +0 -1
  556. package/dist/types/src/components/base/Slider/src/Slider.vue.d.ts +0 -3
  557. package/dist/types/src/components/base/Steps/index.d.ts +0 -1
  558. package/dist/types/src/components/base/Steps/src/Step.vue.d.ts +0 -3
  559. package/dist/types/src/components/base/Steps/src/Steps.vue.d.ts +0 -3
  560. package/dist/types/src/components/base/Switch/index.d.ts +0 -1
  561. package/dist/types/src/components/base/Switch/src/Switch.vue.d.ts +0 -3
  562. package/dist/types/src/components/base/Table/index.d.ts +0 -2
  563. package/dist/types/src/components/base/Table/src/Table.vue.d.ts +0 -3
  564. package/dist/types/src/components/base/Table/src/TableColumn.vue.d.ts +0 -3
  565. package/dist/types/src/components/base/Tabs/index.d.ts +0 -2
  566. package/dist/types/src/components/base/Tabs/src/TabPane.vue.d.ts +0 -3
  567. package/dist/types/src/components/base/Tabs/src/Tabs.vue.d.ts +0 -3
  568. package/dist/types/src/components/base/Tag/index.d.ts +0 -2
  569. package/dist/types/src/components/base/Tag/src/CheckTag.vue.d.ts +0 -3
  570. package/dist/types/src/components/base/Tag/src/Tag.vue.d.ts +0 -3
  571. package/dist/types/src/components/base/Text/index.d.ts +0 -1
  572. package/dist/types/src/components/base/Text/src/Text.vue.d.ts +0 -3
  573. package/dist/types/src/components/base/TimePicker/index.d.ts +0 -1
  574. package/dist/types/src/components/base/TimePicker/src/TimePicker.vue.d.ts +0 -3
  575. package/dist/types/src/components/base/TimeSelect/index.d.ts +0 -1
  576. package/dist/types/src/components/base/TimeSelect/src/TimeSelect.vue.d.ts +0 -3
  577. package/dist/types/src/components/base/Tooltip/index.d.ts +0 -1
  578. package/dist/types/src/components/base/Tooltip/src/Tooltip.vue.d.ts +0 -3
  579. package/dist/types/src/components/base/Tour/index.d.ts +0 -2
  580. package/dist/types/src/components/base/Tour/src/Tour.vue.d.ts +0 -3
  581. package/dist/types/src/components/base/Tour/src/TourStep.vue.d.ts +0 -3
  582. package/dist/types/src/components/base/Transfer/index.d.ts +0 -1
  583. package/dist/types/src/components/base/Transfer/src/Transfer.vue.d.ts +0 -3
  584. package/dist/types/src/components/base/Tree/index.d.ts +0 -1
  585. package/dist/types/src/components/base/Tree/src/Tree.vue.d.ts +0 -3
  586. package/dist/types/src/components/base/TreeSelect/index.d.ts +0 -1
  587. package/dist/types/src/components/base/TreeSelect/src/TreeSelect.vue.d.ts +0 -3
  588. package/dist/types/src/components/base/TreeV2/index.d.ts +0 -1
  589. package/dist/types/src/components/base/TreeV2/src/TreeV2.vue.d.ts +0 -3
  590. package/dist/types/src/components/base/Upload/index.d.ts +0 -1
  591. package/dist/types/src/components/base/Upload/src/Upload.vue.d.ts +0 -3
  592. package/dist/types/src/components/base/Watermark/index.d.ts +0 -1
  593. package/dist/types/src/components/base/Watermark/src/Watermark.vue.d.ts +0 -3
  594. package/dist/types/src/components/base/components.d.ts +0 -60
  595. package/dist/types/src/components/base/index.d.ts +0 -174
  596. package/dist/types/src/components/business/bcBox/bcBox.vue.d.ts +0 -48
  597. package/dist/types/src/components/business/bcBreadcrumb/bcBreadcrumb.vue.d.ts +0 -14
  598. package/dist/types/src/components/business/bcButton/bcButton.vue.d.ts +0 -13
  599. package/dist/types/src/components/business/bcCheckbox/bcCheckbox.vue.d.ts +0 -23
  600. package/dist/types/src/components/business/bcContextBox/bcContextBox.vue.d.ts +0 -40
  601. package/dist/types/src/components/business/bcContextBox/useContextMenu.d.ts +0 -34
  602. package/dist/types/src/components/business/bcDivider/bcDivider.vue.d.ts +0 -38
  603. package/dist/types/src/components/business/bcFace/bcFace.vue.d.ts +0 -24
  604. package/dist/types/src/components/business/bcForm/baseForm.vue.d.ts +0 -275
  605. package/dist/types/src/components/business/bcForm/bcForm.vue.d.ts +0 -33
  606. package/dist/types/src/components/business/bcForm/useGuide.d.ts +0 -559
  607. package/dist/types/src/components/business/bcGroup/bcGroup.vue.d.ts +0 -36
  608. package/dist/types/src/components/business/bcIcon/bcIcon.vue.d.ts +0 -27
  609. package/dist/types/src/components/business/bcInputGroup/bcInputGroup.vue.d.ts +0 -20
  610. package/dist/types/src/components/business/bcRadio/bcRadio.vue.d.ts +0 -18
  611. package/dist/types/src/components/business/bcSelect/bcSelect.vue.d.ts +0 -33
  612. package/dist/types/src/components/business/bcSignature/index.vue.d.ts +0 -19
  613. package/dist/types/src/components/business/bcSystemAuth/components/data.vue.d.ts +0 -3
  614. package/dist/types/src/components/business/bcSystemAuth/components/dict.vue.d.ts +0 -3
  615. package/dist/types/src/components/business/bcSystemAuth/components/fastSet/popup.vue.d.ts +0 -17
  616. package/dist/types/src/components/business/bcSystemAuth/components/field.vue.d.ts +0 -3
  617. package/dist/types/src/components/business/bcSystemAuth/components/form.vue.d.ts +0 -11
  618. package/dist/types/src/components/business/bcSystemAuth/components/selectAll/index.vue.d.ts +0 -5
  619. package/dist/types/src/components/business/bcSystemAuth/components/table.vue.d.ts +0 -11
  620. package/dist/types/src/components/business/bcSystemAuth/components/widget/btns.vue.d.ts +0 -11
  621. package/dist/types/src/components/business/bcSystemAuth/components/widget/form.vue.d.ts +0 -11
  622. package/dist/types/src/components/business/bcSystemAuth/components/widget/tab.vue.d.ts +0 -17
  623. package/dist/types/src/components/business/bcSystemAuth/components/widget/tables.vue.d.ts +0 -11
  624. package/dist/types/src/components/business/bcSystemAuth/components/widget/tablesWraper.vue.d.ts +0 -11
  625. package/dist/types/src/components/business/bcSystemAuth/index.d.ts +0 -2
  626. package/dist/types/src/components/business/bcSystemAuth/index.vue.d.ts +0 -17
  627. package/dist/types/src/components/business/bcSystemAuth/type.d.ts +0 -342
  628. package/dist/types/src/components/business/bcSystemAuth/useAuth.d.ts +0 -26
  629. package/dist/types/src/components/business/bcSystemField/components/field.vue.d.ts +0 -3
  630. package/dist/types/src/components/business/bcSystemField/components/form.vue.d.ts +0 -11
  631. package/dist/types/src/components/business/bcSystemField/components/selectAll/index.vue.d.ts +0 -5
  632. package/dist/types/src/components/business/bcSystemField/components/table.vue.d.ts +0 -11
  633. package/dist/types/src/components/business/bcSystemField/components/widget/form.vue.d.ts +0 -11
  634. package/dist/types/src/components/business/bcSystemField/components/widget/tab.vue.d.ts +0 -17
  635. package/dist/types/src/components/business/bcSystemField/components/widget/tables.vue.d.ts +0 -11
  636. package/dist/types/src/components/business/bcSystemField/components/widget/tablesWraper.vue.d.ts +0 -11
  637. package/dist/types/src/components/business/bcSystemField/index.d.ts +0 -2
  638. package/dist/types/src/components/business/bcSystemField/index.vue.d.ts +0 -7
  639. package/dist/types/src/components/business/bcSystemField/useAuth.d.ts +0 -14
  640. package/dist/types/src/components/business/bcTable/bcFormTable.vue.d.ts +0 -143
  641. package/dist/types/src/components/business/bcTable/bcTable.vue.d.ts +0 -32
  642. package/dist/types/src/components/business/bcTable/components/btn/btn.vue.d.ts +0 -58
  643. package/dist/types/src/components/business/bcTable/components/popup/index.d.ts +0 -2
  644. package/dist/types/src/components/business/bcTable/components/popup/popup.vue.d.ts +0 -49
  645. package/dist/types/src/components/business/bcTable/components/query/components/sortForm/sortForm.vue.d.ts +0 -14
  646. package/dist/types/src/components/business/bcTable/components/query/drag.vue.d.ts +0 -222
  647. package/dist/types/src/components/business/bcTable/components/query/query.vue.d.ts +0 -226
  648. package/dist/types/src/components/business/bcTable/components/table/colgroup.vue.d.ts +0 -25
  649. package/dist/types/src/components/business/bcTable/components/table/column.vue.d.ts +0 -49
  650. package/dist/types/src/components/business/bcTable/components/table/components/sortColumn/sortColumn.vue.d.ts +0 -16
  651. package/dist/types/src/components/business/bcTable/components/table/table.vue.d.ts +0 -64
  652. package/dist/types/src/components/business/bcTable/components/table/useTableHeight.d.ts +0 -23
  653. package/dist/types/src/components/business/bcTable/utils/useFormTableHeight.d.ts +0 -18
  654. package/dist/types/src/components/business/bcTabs/bcTabs.vue.d.ts +0 -61
  655. package/dist/types/src/components/business/bcTabs/components/BetterScroll/index.d.ts +0 -2
  656. package/dist/types/src/components/business/bcTabs/components/BetterScroll/index.vue.d.ts +0 -33
  657. package/dist/types/src/components/business/bcTreeSearch/bcTreeSearch.vue.d.ts +0 -55
  658. package/dist/types/src/components/business/bcTreeSelect/bcTreeSelect.vue.d.ts +0 -28
  659. package/dist/types/src/components/business/bcTrtc/bcTrtc.vue.d.ts +0 -104
  660. package/dist/types/src/components/business/bcTrtc/hooks/useOperateLog.d.ts +0 -8
  661. package/dist/types/src/components/business/bcTrtc/hooks/useTrtcRoomEvent.d.ts +0 -50
  662. package/dist/types/src/components/business/bcTrtc/type.d.ts +0 -124
  663. package/dist/types/src/components/business/bcTrtc/useTrtc.d.ts +0 -39
  664. package/dist/types/src/components/business/bcTrtc/util/generateTestUserSig.d.ts +0 -64
  665. package/dist/types/src/components/business/bcTrtc/util/lib-generate-test-usersig-es.min.d.ts +0 -20
  666. package/dist/types/src/components/business/bcTrtc/util/utils.d.ts +0 -4
  667. package/dist/types/src/components/business/bcUpload/bcUpload.vue.d.ts +0 -13
  668. package/dist/types/src/components/business/bcUpload/component/highSpeedCamera.vue.d.ts +0 -19
  669. package/dist/types/src/components/business/bcUpload/component/qwebchannel.d.ts +0 -15
  670. package/dist/types/src/components/business/bcUpload/component/type.d.ts +0 -44
  671. package/dist/types/src/components/business/bcUpload/type.d.ts +0 -83
  672. package/dist/types/src/components/business/bcUpload/upload.vue.d.ts +0 -272
  673. package/dist/types/src/components/business/bcUpload/useUpload.d.ts +0 -21
  674. package/dist/types/src/components/business/bcVisual/components/setting/extendItem.vue.d.ts +0 -13
  675. package/dist/types/src/components/business/bcVisual/components/setting/setting.vue.d.ts +0 -3
  676. package/dist/types/src/components/business/bcVisual/components/table/table.vue.d.ts +0 -6
  677. package/dist/types/src/components/business/bcVisual/components/updateName/popup.vue.d.ts +0 -17
  678. package/dist/types/src/components/business/bcVisual/components/updateSql/addCondition.vue.d.ts +0 -23
  679. package/dist/types/src/components/business/bcVisual/components/updateSql/nodeTree/index.vue.d.ts +0 -21
  680. package/dist/types/src/components/business/bcVisual/components/updateSql/nodeTree/nodeTree.vue.d.ts +0 -27
  681. package/dist/types/src/components/business/bcVisual/components/updateSql/popup.vue.d.ts +0 -17
  682. package/dist/types/src/components/business/index.d.ts +0 -52
  683. package/dist/types/src/hooks/index.d.ts +0 -3
  684. package/dist/types/src/hooks/onKeyStroke.d.ts +0 -13
  685. package/dist/types/src/hooks/useExpose.d.ts +0 -23
  686. package/dist/types/src/hooks/useKeyStroke.d.ts +0 -22
  687. package/dist/types/src/utils/commonFunction.d.ts +0 -14
  688. package/dist/types/src/utils/index.d.ts +0 -26
  689. package/dist/types/src/utils/lodash.d.ts +0 -2
  690. package/dist/types/src/utils/request/index.d.ts +0 -6
  691. package/dist/types/src/utils/request/request.d.ts +0 -6
  692. package/dist/types/src/utils/showMessage.d.ts +0 -3
  693. package/dist/types/src/utils/showMessageBox.d.ts +0 -3
  694. package/dist/types/src/utils/showNotification.d.ts +0 -3
  695. package/dist/types/src/utils/showPopup/showPopup.vue.d.ts +0 -56
  696. package/dist/types/vxe-table.d.ts +0 -3
  697. /package/dist/types/{src/components → components}/business/bcSystemAuth/components/fastSet/index.d.ts +0 -0
  698. /package/dist/types/{src/components → components}/business/bcSystemAuth/components/index.d.ts +0 -0
  699. /package/dist/types/{src/components → components}/business/bcSystemAuth/components/widget/index.d.ts +0 -0
  700. /package/dist/types/{src/components → components}/business/bcSystemField/components/index.d.ts +0 -0
  701. /package/dist/types/{src/components → components}/business/bcSystemField/components/widget/index.d.ts +0 -0
  702. /package/dist/types/{src/components → components}/business/bcTable/components/index.d.ts +0 -0
  703. /package/dist/types/{src/components → components}/business/bcTable/components/query/components/sortForm/index.d.ts +0 -0
  704. /package/dist/types/{src/components → components}/business/bcTable/components/table/components/sortColumn/index.d.ts +0 -0
  705. /package/dist/types/{src/components → components}/business/bcVisual/components/updateName/index.d.ts +0 -0
  706. /package/dist/types/{src/components → components}/business/bcVisual/type.d.ts +0 -0
  707. /package/dist/types/{src/types → types}/formItem/button.d.ts +0 -0
  708. /package/dist/types/{src/types → types}/formItem/index.d.ts +0 -0
  709. /package/dist/types/{src/types → types}/index.d.ts +0 -0
  710. /package/dist/types/{src/utils → utils}/cfprint.d.ts +0 -0
  711. /package/dist/types/{src/utils → utils}/crypto.d.ts +0 -0
  712. /package/dist/types/{src/utils → utils}/device_info.d.ts +0 -0
  713. /package/dist/types/{src/utils → utils}/formatTime.d.ts +0 -0
  714. /package/dist/types/{src/utils → utils}/request/interceptors/request/index.d.ts +0 -0
  715. /package/dist/types/{src/utils → utils}/request/interceptors/response/index.d.ts +0 -0
  716. /package/dist/types/{src/utils → utils}/shortcutList.d.ts +0 -0
  717. /package/dist/types/{src/utils → utils}/theme.d.ts +0 -0
  718. /package/dist/types/{src/utils → utils}/toolsValidate.d.ts +0 -0
  719. /package/dist/types/{src/utils → utils}/update.d.ts +0 -0
  720. /package/dist/types/{src/utils → utils}/watermark.d.ts +0 -0
@@ -0,0 +1,945 @@
1
+ import { defineComponent, ref, onMounted, createElementBlock, openBlock, createElementVNode, nextTick } from "vue";
2
+ import { I as getDefaultExportFromCjs, J as commonjsGlobal, _ as _export_sfc } from "./index-CaroRQE3.mjs";
3
+ var qrcode = { exports: {} };
4
+ (function(module, exports) {
5
+ var QRCode2;
6
+ (function(root, factory) {
7
+ module.exports = factory();
8
+ })(commonjsGlobal, function() {
9
+ function QR8bitByte(data) {
10
+ this.mode = QRMode.MODE_8BIT_BYTE;
11
+ this.data = data;
12
+ this.parsedData = [];
13
+ for (var i2 = 0, l = this.data.length; i2 < l; i2++) {
14
+ var byteArray = [];
15
+ var code = this.data.charCodeAt(i2);
16
+ if (code > 65536) {
17
+ byteArray[0] = 240 | (code & 1835008) >>> 18;
18
+ byteArray[1] = 128 | (code & 258048) >>> 12;
19
+ byteArray[2] = 128 | (code & 4032) >>> 6;
20
+ byteArray[3] = 128 | code & 63;
21
+ } else if (code > 2048) {
22
+ byteArray[0] = 224 | (code & 61440) >>> 12;
23
+ byteArray[1] = 128 | (code & 4032) >>> 6;
24
+ byteArray[2] = 128 | code & 63;
25
+ } else if (code > 128) {
26
+ byteArray[0] = 192 | (code & 1984) >>> 6;
27
+ byteArray[1] = 128 | code & 63;
28
+ } else {
29
+ byteArray[0] = code;
30
+ }
31
+ this.parsedData.push(byteArray);
32
+ }
33
+ this.parsedData = Array.prototype.concat.apply([], this.parsedData);
34
+ if (this.parsedData.length != this.data.length) {
35
+ this.parsedData.unshift(191);
36
+ this.parsedData.unshift(187);
37
+ this.parsedData.unshift(239);
38
+ }
39
+ }
40
+ QR8bitByte.prototype = {
41
+ getLength: function(buffer) {
42
+ return this.parsedData.length;
43
+ },
44
+ write: function(buffer) {
45
+ for (var i2 = 0, l = this.parsedData.length; i2 < l; i2++) {
46
+ buffer.put(this.parsedData[i2], 8);
47
+ }
48
+ }
49
+ };
50
+ function QRCodeModel(typeNumber, errorCorrectLevel) {
51
+ this.typeNumber = typeNumber;
52
+ this.errorCorrectLevel = errorCorrectLevel;
53
+ this.modules = null;
54
+ this.moduleCount = 0;
55
+ this.dataCache = null;
56
+ this.dataList = [];
57
+ }
58
+ QRCodeModel.prototype = { addData: function(data) {
59
+ var newData = new QR8bitByte(data);
60
+ this.dataList.push(newData);
61
+ this.dataCache = null;
62
+ }, isDark: function(row, col) {
63
+ if (row < 0 || this.moduleCount <= row || col < 0 || this.moduleCount <= col) {
64
+ throw new Error(row + "," + col);
65
+ }
66
+ return this.modules[row][col];
67
+ }, getModuleCount: function() {
68
+ return this.moduleCount;
69
+ }, make: function() {
70
+ this.makeImpl(false, this.getBestMaskPattern());
71
+ }, makeImpl: function(test, maskPattern) {
72
+ this.moduleCount = this.typeNumber * 4 + 17;
73
+ this.modules = new Array(this.moduleCount);
74
+ for (var row = 0; row < this.moduleCount; row++) {
75
+ this.modules[row] = new Array(this.moduleCount);
76
+ for (var col = 0; col < this.moduleCount; col++) {
77
+ this.modules[row][col] = null;
78
+ }
79
+ }
80
+ this.setupPositionProbePattern(0, 0);
81
+ this.setupPositionProbePattern(this.moduleCount - 7, 0);
82
+ this.setupPositionProbePattern(0, this.moduleCount - 7);
83
+ this.setupPositionAdjustPattern();
84
+ this.setupTimingPattern();
85
+ this.setupTypeInfo(test, maskPattern);
86
+ if (this.typeNumber >= 7) {
87
+ this.setupTypeNumber(test);
88
+ }
89
+ if (this.dataCache == null) {
90
+ this.dataCache = QRCodeModel.createData(this.typeNumber, this.errorCorrectLevel, this.dataList);
91
+ }
92
+ this.mapData(this.dataCache, maskPattern);
93
+ }, setupPositionProbePattern: function(row, col) {
94
+ for (var r = -1; r <= 7; r++) {
95
+ if (row + r <= -1 || this.moduleCount <= row + r) continue;
96
+ for (var c = -1; c <= 7; c++) {
97
+ if (col + c <= -1 || this.moduleCount <= col + c) continue;
98
+ if (0 <= r && r <= 6 && (c == 0 || c == 6) || 0 <= c && c <= 6 && (r == 0 || r == 6) || 2 <= r && r <= 4 && 2 <= c && c <= 4) {
99
+ this.modules[row + r][col + c] = true;
100
+ } else {
101
+ this.modules[row + r][col + c] = false;
102
+ }
103
+ }
104
+ }
105
+ }, getBestMaskPattern: function() {
106
+ var minLostPoint = 0;
107
+ var pattern = 0;
108
+ for (var i2 = 0; i2 < 8; i2++) {
109
+ this.makeImpl(true, i2);
110
+ var lostPoint = QRUtil.getLostPoint(this);
111
+ if (i2 == 0 || minLostPoint > lostPoint) {
112
+ minLostPoint = lostPoint;
113
+ pattern = i2;
114
+ }
115
+ }
116
+ return pattern;
117
+ }, createMovieClip: function(target_mc, instance_name, depth) {
118
+ var qr_mc = target_mc.createEmptyMovieClip(instance_name, depth);
119
+ var cs = 1;
120
+ this.make();
121
+ for (var row = 0; row < this.modules.length; row++) {
122
+ var y = row * cs;
123
+ for (var col = 0; col < this.modules[row].length; col++) {
124
+ var x = col * cs;
125
+ var dark = this.modules[row][col];
126
+ if (dark) {
127
+ qr_mc.beginFill(0, 100);
128
+ qr_mc.moveTo(x, y);
129
+ qr_mc.lineTo(x + cs, y);
130
+ qr_mc.lineTo(x + cs, y + cs);
131
+ qr_mc.lineTo(x, y + cs);
132
+ qr_mc.endFill();
133
+ }
134
+ }
135
+ }
136
+ return qr_mc;
137
+ }, setupTimingPattern: function() {
138
+ for (var r = 8; r < this.moduleCount - 8; r++) {
139
+ if (this.modules[r][6] != null) {
140
+ continue;
141
+ }
142
+ this.modules[r][6] = r % 2 == 0;
143
+ }
144
+ for (var c = 8; c < this.moduleCount - 8; c++) {
145
+ if (this.modules[6][c] != null) {
146
+ continue;
147
+ }
148
+ this.modules[6][c] = c % 2 == 0;
149
+ }
150
+ }, setupPositionAdjustPattern: function() {
151
+ var pos = QRUtil.getPatternPosition(this.typeNumber);
152
+ for (var i2 = 0; i2 < pos.length; i2++) {
153
+ for (var j = 0; j < pos.length; j++) {
154
+ var row = pos[i2];
155
+ var col = pos[j];
156
+ if (this.modules[row][col] != null) {
157
+ continue;
158
+ }
159
+ for (var r = -2; r <= 2; r++) {
160
+ for (var c = -2; c <= 2; c++) {
161
+ if (r == -2 || r == 2 || c == -2 || c == 2 || r == 0 && c == 0) {
162
+ this.modules[row + r][col + c] = true;
163
+ } else {
164
+ this.modules[row + r][col + c] = false;
165
+ }
166
+ }
167
+ }
168
+ }
169
+ }
170
+ }, setupTypeNumber: function(test) {
171
+ var bits = QRUtil.getBCHTypeNumber(this.typeNumber);
172
+ for (var i2 = 0; i2 < 18; i2++) {
173
+ var mod = !test && (bits >> i2 & 1) == 1;
174
+ this.modules[Math.floor(i2 / 3)][i2 % 3 + this.moduleCount - 8 - 3] = mod;
175
+ }
176
+ for (var i2 = 0; i2 < 18; i2++) {
177
+ var mod = !test && (bits >> i2 & 1) == 1;
178
+ this.modules[i2 % 3 + this.moduleCount - 8 - 3][Math.floor(i2 / 3)] = mod;
179
+ }
180
+ }, setupTypeInfo: function(test, maskPattern) {
181
+ var data = this.errorCorrectLevel << 3 | maskPattern;
182
+ var bits = QRUtil.getBCHTypeInfo(data);
183
+ for (var i2 = 0; i2 < 15; i2++) {
184
+ var mod = !test && (bits >> i2 & 1) == 1;
185
+ if (i2 < 6) {
186
+ this.modules[i2][8] = mod;
187
+ } else if (i2 < 8) {
188
+ this.modules[i2 + 1][8] = mod;
189
+ } else {
190
+ this.modules[this.moduleCount - 15 + i2][8] = mod;
191
+ }
192
+ }
193
+ for (var i2 = 0; i2 < 15; i2++) {
194
+ var mod = !test && (bits >> i2 & 1) == 1;
195
+ if (i2 < 8) {
196
+ this.modules[8][this.moduleCount - i2 - 1] = mod;
197
+ } else if (i2 < 9) {
198
+ this.modules[8][15 - i2 - 1 + 1] = mod;
199
+ } else {
200
+ this.modules[8][15 - i2 - 1] = mod;
201
+ }
202
+ }
203
+ this.modules[this.moduleCount - 8][8] = !test;
204
+ }, mapData: function(data, maskPattern) {
205
+ var inc = -1;
206
+ var row = this.moduleCount - 1;
207
+ var bitIndex = 7;
208
+ var byteIndex = 0;
209
+ for (var col = this.moduleCount - 1; col > 0; col -= 2) {
210
+ if (col == 6) col--;
211
+ while (true) {
212
+ for (var c = 0; c < 2; c++) {
213
+ if (this.modules[row][col - c] == null) {
214
+ var dark = false;
215
+ if (byteIndex < data.length) {
216
+ dark = (data[byteIndex] >>> bitIndex & 1) == 1;
217
+ }
218
+ var mask = QRUtil.getMask(maskPattern, row, col - c);
219
+ if (mask) {
220
+ dark = !dark;
221
+ }
222
+ this.modules[row][col - c] = dark;
223
+ bitIndex--;
224
+ if (bitIndex == -1) {
225
+ byteIndex++;
226
+ bitIndex = 7;
227
+ }
228
+ }
229
+ }
230
+ row += inc;
231
+ if (row < 0 || this.moduleCount <= row) {
232
+ row -= inc;
233
+ inc = -inc;
234
+ break;
235
+ }
236
+ }
237
+ }
238
+ } };
239
+ QRCodeModel.PAD0 = 236;
240
+ QRCodeModel.PAD1 = 17;
241
+ QRCodeModel.createData = function(typeNumber, errorCorrectLevel, dataList) {
242
+ var rsBlocks = QRRSBlock.getRSBlocks(typeNumber, errorCorrectLevel);
243
+ var buffer = new QRBitBuffer();
244
+ for (var i2 = 0; i2 < dataList.length; i2++) {
245
+ var data = dataList[i2];
246
+ buffer.put(data.mode, 4);
247
+ buffer.put(data.getLength(), QRUtil.getLengthInBits(data.mode, typeNumber));
248
+ data.write(buffer);
249
+ }
250
+ var totalDataCount = 0;
251
+ for (var i2 = 0; i2 < rsBlocks.length; i2++) {
252
+ totalDataCount += rsBlocks[i2].dataCount;
253
+ }
254
+ if (buffer.getLengthInBits() > totalDataCount * 8) {
255
+ throw new Error("code length overflow. (" + buffer.getLengthInBits() + ">" + totalDataCount * 8 + ")");
256
+ }
257
+ if (buffer.getLengthInBits() + 4 <= totalDataCount * 8) {
258
+ buffer.put(0, 4);
259
+ }
260
+ while (buffer.getLengthInBits() % 8 != 0) {
261
+ buffer.putBit(false);
262
+ }
263
+ while (true) {
264
+ if (buffer.getLengthInBits() >= totalDataCount * 8) {
265
+ break;
266
+ }
267
+ buffer.put(QRCodeModel.PAD0, 8);
268
+ if (buffer.getLengthInBits() >= totalDataCount * 8) {
269
+ break;
270
+ }
271
+ buffer.put(QRCodeModel.PAD1, 8);
272
+ }
273
+ return QRCodeModel.createBytes(buffer, rsBlocks);
274
+ };
275
+ QRCodeModel.createBytes = function(buffer, rsBlocks) {
276
+ var offset = 0;
277
+ var maxDcCount = 0;
278
+ var maxEcCount = 0;
279
+ var dcdata = new Array(rsBlocks.length);
280
+ var ecdata = new Array(rsBlocks.length);
281
+ for (var r = 0; r < rsBlocks.length; r++) {
282
+ var dcCount = rsBlocks[r].dataCount;
283
+ var ecCount = rsBlocks[r].totalCount - dcCount;
284
+ maxDcCount = Math.max(maxDcCount, dcCount);
285
+ maxEcCount = Math.max(maxEcCount, ecCount);
286
+ dcdata[r] = new Array(dcCount);
287
+ for (var i2 = 0; i2 < dcdata[r].length; i2++) {
288
+ dcdata[r][i2] = 255 & buffer.buffer[i2 + offset];
289
+ }
290
+ offset += dcCount;
291
+ var rsPoly = QRUtil.getErrorCorrectPolynomial(ecCount);
292
+ var rawPoly = new QRPolynomial(dcdata[r], rsPoly.getLength() - 1);
293
+ var modPoly = rawPoly.mod(rsPoly);
294
+ ecdata[r] = new Array(rsPoly.getLength() - 1);
295
+ for (var i2 = 0; i2 < ecdata[r].length; i2++) {
296
+ var modIndex = i2 + modPoly.getLength() - ecdata[r].length;
297
+ ecdata[r][i2] = modIndex >= 0 ? modPoly.get(modIndex) : 0;
298
+ }
299
+ }
300
+ var totalCodeCount = 0;
301
+ for (var i2 = 0; i2 < rsBlocks.length; i2++) {
302
+ totalCodeCount += rsBlocks[i2].totalCount;
303
+ }
304
+ var data = new Array(totalCodeCount);
305
+ var index = 0;
306
+ for (var i2 = 0; i2 < maxDcCount; i2++) {
307
+ for (var r = 0; r < rsBlocks.length; r++) {
308
+ if (i2 < dcdata[r].length) {
309
+ data[index++] = dcdata[r][i2];
310
+ }
311
+ }
312
+ }
313
+ for (var i2 = 0; i2 < maxEcCount; i2++) {
314
+ for (var r = 0; r < rsBlocks.length; r++) {
315
+ if (i2 < ecdata[r].length) {
316
+ data[index++] = ecdata[r][i2];
317
+ }
318
+ }
319
+ }
320
+ return data;
321
+ };
322
+ var QRMode = { MODE_NUMBER: 1 << 0, MODE_ALPHA_NUM: 1 << 1, MODE_8BIT_BYTE: 1 << 2, MODE_KANJI: 1 << 3 };
323
+ var QRErrorCorrectLevel = { L: 1, M: 0, Q: 3, H: 2 };
324
+ var QRMaskPattern = { PATTERN000: 0, PATTERN001: 1, PATTERN010: 2, PATTERN011: 3, PATTERN100: 4, PATTERN101: 5, PATTERN110: 6, PATTERN111: 7 };
325
+ var QRUtil = { PATTERN_POSITION_TABLE: [[], [6, 18], [6, 22], [6, 26], [6, 30], [6, 34], [6, 22, 38], [6, 24, 42], [6, 26, 46], [6, 28, 50], [6, 30, 54], [6, 32, 58], [6, 34, 62], [6, 26, 46, 66], [6, 26, 48, 70], [6, 26, 50, 74], [6, 30, 54, 78], [6, 30, 56, 82], [6, 30, 58, 86], [6, 34, 62, 90], [6, 28, 50, 72, 94], [6, 26, 50, 74, 98], [6, 30, 54, 78, 102], [6, 28, 54, 80, 106], [6, 32, 58, 84, 110], [6, 30, 58, 86, 114], [6, 34, 62, 90, 118], [6, 26, 50, 74, 98, 122], [6, 30, 54, 78, 102, 126], [6, 26, 52, 78, 104, 130], [6, 30, 56, 82, 108, 134], [6, 34, 60, 86, 112, 138], [6, 30, 58, 86, 114, 142], [6, 34, 62, 90, 118, 146], [6, 30, 54, 78, 102, 126, 150], [6, 24, 50, 76, 102, 128, 154], [6, 28, 54, 80, 106, 132, 158], [6, 32, 58, 84, 110, 136, 162], [6, 26, 54, 82, 110, 138, 166], [6, 30, 58, 86, 114, 142, 170]], G15: 1 << 10 | 1 << 8 | 1 << 5 | 1 << 4 | 1 << 2 | 1 << 1 | 1 << 0, G18: 1 << 12 | 1 << 11 | 1 << 10 | 1 << 9 | 1 << 8 | 1 << 5 | 1 << 2 | 1 << 0, G15_MASK: 1 << 14 | 1 << 12 | 1 << 10 | 1 << 4 | 1 << 1, getBCHTypeInfo: function(data) {
326
+ var d = data << 10;
327
+ while (QRUtil.getBCHDigit(d) - QRUtil.getBCHDigit(QRUtil.G15) >= 0) {
328
+ d ^= QRUtil.G15 << QRUtil.getBCHDigit(d) - QRUtil.getBCHDigit(QRUtil.G15);
329
+ }
330
+ return (data << 10 | d) ^ QRUtil.G15_MASK;
331
+ }, getBCHTypeNumber: function(data) {
332
+ var d = data << 12;
333
+ while (QRUtil.getBCHDigit(d) - QRUtil.getBCHDigit(QRUtil.G18) >= 0) {
334
+ d ^= QRUtil.G18 << QRUtil.getBCHDigit(d) - QRUtil.getBCHDigit(QRUtil.G18);
335
+ }
336
+ return data << 12 | d;
337
+ }, getBCHDigit: function(data) {
338
+ var digit = 0;
339
+ while (data != 0) {
340
+ digit++;
341
+ data >>>= 1;
342
+ }
343
+ return digit;
344
+ }, getPatternPosition: function(typeNumber) {
345
+ return QRUtil.PATTERN_POSITION_TABLE[typeNumber - 1];
346
+ }, getMask: function(maskPattern, i2, j) {
347
+ switch (maskPattern) {
348
+ case QRMaskPattern.PATTERN000:
349
+ return (i2 + j) % 2 == 0;
350
+ case QRMaskPattern.PATTERN001:
351
+ return i2 % 2 == 0;
352
+ case QRMaskPattern.PATTERN010:
353
+ return j % 3 == 0;
354
+ case QRMaskPattern.PATTERN011:
355
+ return (i2 + j) % 3 == 0;
356
+ case QRMaskPattern.PATTERN100:
357
+ return (Math.floor(i2 / 2) + Math.floor(j / 3)) % 2 == 0;
358
+ case QRMaskPattern.PATTERN101:
359
+ return i2 * j % 2 + i2 * j % 3 == 0;
360
+ case QRMaskPattern.PATTERN110:
361
+ return (i2 * j % 2 + i2 * j % 3) % 2 == 0;
362
+ case QRMaskPattern.PATTERN111:
363
+ return (i2 * j % 3 + (i2 + j) % 2) % 2 == 0;
364
+ default:
365
+ throw new Error("bad maskPattern:" + maskPattern);
366
+ }
367
+ }, getErrorCorrectPolynomial: function(errorCorrectLength) {
368
+ var a = new QRPolynomial([1], 0);
369
+ for (var i2 = 0; i2 < errorCorrectLength; i2++) {
370
+ a = a.multiply(new QRPolynomial([1, QRMath.gexp(i2)], 0));
371
+ }
372
+ return a;
373
+ }, getLengthInBits: function(mode, type) {
374
+ if (1 <= type && type < 10) {
375
+ switch (mode) {
376
+ case QRMode.MODE_NUMBER:
377
+ return 10;
378
+ case QRMode.MODE_ALPHA_NUM:
379
+ return 9;
380
+ case QRMode.MODE_8BIT_BYTE:
381
+ return 8;
382
+ case QRMode.MODE_KANJI:
383
+ return 8;
384
+ default:
385
+ throw new Error("mode:" + mode);
386
+ }
387
+ } else if (type < 27) {
388
+ switch (mode) {
389
+ case QRMode.MODE_NUMBER:
390
+ return 12;
391
+ case QRMode.MODE_ALPHA_NUM:
392
+ return 11;
393
+ case QRMode.MODE_8BIT_BYTE:
394
+ return 16;
395
+ case QRMode.MODE_KANJI:
396
+ return 10;
397
+ default:
398
+ throw new Error("mode:" + mode);
399
+ }
400
+ } else if (type < 41) {
401
+ switch (mode) {
402
+ case QRMode.MODE_NUMBER:
403
+ return 14;
404
+ case QRMode.MODE_ALPHA_NUM:
405
+ return 13;
406
+ case QRMode.MODE_8BIT_BYTE:
407
+ return 16;
408
+ case QRMode.MODE_KANJI:
409
+ return 12;
410
+ default:
411
+ throw new Error("mode:" + mode);
412
+ }
413
+ } else {
414
+ throw new Error("type:" + type);
415
+ }
416
+ }, getLostPoint: function(qrCode) {
417
+ var moduleCount = qrCode.getModuleCount();
418
+ var lostPoint = 0;
419
+ for (var row = 0; row < moduleCount; row++) {
420
+ for (var col = 0; col < moduleCount; col++) {
421
+ var sameCount = 0;
422
+ var dark = qrCode.isDark(row, col);
423
+ for (var r = -1; r <= 1; r++) {
424
+ if (row + r < 0 || moduleCount <= row + r) {
425
+ continue;
426
+ }
427
+ for (var c = -1; c <= 1; c++) {
428
+ if (col + c < 0 || moduleCount <= col + c) {
429
+ continue;
430
+ }
431
+ if (r == 0 && c == 0) {
432
+ continue;
433
+ }
434
+ if (dark == qrCode.isDark(row + r, col + c)) {
435
+ sameCount++;
436
+ }
437
+ }
438
+ }
439
+ if (sameCount > 5) {
440
+ lostPoint += 3 + sameCount - 5;
441
+ }
442
+ }
443
+ }
444
+ for (var row = 0; row < moduleCount - 1; row++) {
445
+ for (var col = 0; col < moduleCount - 1; col++) {
446
+ var count = 0;
447
+ if (qrCode.isDark(row, col)) count++;
448
+ if (qrCode.isDark(row + 1, col)) count++;
449
+ if (qrCode.isDark(row, col + 1)) count++;
450
+ if (qrCode.isDark(row + 1, col + 1)) count++;
451
+ if (count == 0 || count == 4) {
452
+ lostPoint += 3;
453
+ }
454
+ }
455
+ }
456
+ for (var row = 0; row < moduleCount; row++) {
457
+ for (var col = 0; col < moduleCount - 6; col++) {
458
+ if (qrCode.isDark(row, col) && !qrCode.isDark(row, col + 1) && qrCode.isDark(row, col + 2) && qrCode.isDark(row, col + 3) && qrCode.isDark(row, col + 4) && !qrCode.isDark(row, col + 5) && qrCode.isDark(row, col + 6)) {
459
+ lostPoint += 40;
460
+ }
461
+ }
462
+ }
463
+ for (var col = 0; col < moduleCount; col++) {
464
+ for (var row = 0; row < moduleCount - 6; row++) {
465
+ if (qrCode.isDark(row, col) && !qrCode.isDark(row + 1, col) && qrCode.isDark(row + 2, col) && qrCode.isDark(row + 3, col) && qrCode.isDark(row + 4, col) && !qrCode.isDark(row + 5, col) && qrCode.isDark(row + 6, col)) {
466
+ lostPoint += 40;
467
+ }
468
+ }
469
+ }
470
+ var darkCount = 0;
471
+ for (var col = 0; col < moduleCount; col++) {
472
+ for (var row = 0; row < moduleCount; row++) {
473
+ if (qrCode.isDark(row, col)) {
474
+ darkCount++;
475
+ }
476
+ }
477
+ }
478
+ var ratio = Math.abs(100 * darkCount / moduleCount / moduleCount - 50) / 5;
479
+ lostPoint += ratio * 10;
480
+ return lostPoint;
481
+ } };
482
+ var QRMath = { glog: function(n) {
483
+ if (n < 1) {
484
+ throw new Error("glog(" + n + ")");
485
+ }
486
+ return QRMath.LOG_TABLE[n];
487
+ }, gexp: function(n) {
488
+ while (n < 0) {
489
+ n += 255;
490
+ }
491
+ while (n >= 256) {
492
+ n -= 255;
493
+ }
494
+ return QRMath.EXP_TABLE[n];
495
+ }, EXP_TABLE: new Array(256), LOG_TABLE: new Array(256) };
496
+ for (var i = 0; i < 8; i++) {
497
+ QRMath.EXP_TABLE[i] = 1 << i;
498
+ }
499
+ for (var i = 8; i < 256; i++) {
500
+ QRMath.EXP_TABLE[i] = QRMath.EXP_TABLE[i - 4] ^ QRMath.EXP_TABLE[i - 5] ^ QRMath.EXP_TABLE[i - 6] ^ QRMath.EXP_TABLE[i - 8];
501
+ }
502
+ for (var i = 0; i < 255; i++) {
503
+ QRMath.LOG_TABLE[QRMath.EXP_TABLE[i]] = i;
504
+ }
505
+ function QRPolynomial(num, shift) {
506
+ if (num.length == void 0) {
507
+ throw new Error(num.length + "/" + shift);
508
+ }
509
+ var offset = 0;
510
+ while (offset < num.length && num[offset] == 0) {
511
+ offset++;
512
+ }
513
+ this.num = new Array(num.length - offset + shift);
514
+ for (var i2 = 0; i2 < num.length - offset; i2++) {
515
+ this.num[i2] = num[i2 + offset];
516
+ }
517
+ }
518
+ QRPolynomial.prototype = { get: function(index) {
519
+ return this.num[index];
520
+ }, getLength: function() {
521
+ return this.num.length;
522
+ }, multiply: function(e) {
523
+ var num = new Array(this.getLength() + e.getLength() - 1);
524
+ for (var i2 = 0; i2 < this.getLength(); i2++) {
525
+ for (var j = 0; j < e.getLength(); j++) {
526
+ num[i2 + j] ^= QRMath.gexp(QRMath.glog(this.get(i2)) + QRMath.glog(e.get(j)));
527
+ }
528
+ }
529
+ return new QRPolynomial(num, 0);
530
+ }, mod: function(e) {
531
+ if (this.getLength() - e.getLength() < 0) {
532
+ return this;
533
+ }
534
+ var ratio = QRMath.glog(this.get(0)) - QRMath.glog(e.get(0));
535
+ var num = new Array(this.getLength());
536
+ for (var i2 = 0; i2 < this.getLength(); i2++) {
537
+ num[i2] = this.get(i2);
538
+ }
539
+ for (var i2 = 0; i2 < e.getLength(); i2++) {
540
+ num[i2] ^= QRMath.gexp(QRMath.glog(e.get(i2)) + ratio);
541
+ }
542
+ return new QRPolynomial(num, 0).mod(e);
543
+ } };
544
+ function QRRSBlock(totalCount, dataCount) {
545
+ this.totalCount = totalCount;
546
+ this.dataCount = dataCount;
547
+ }
548
+ QRRSBlock.RS_BLOCK_TABLE = [[1, 26, 19], [1, 26, 16], [1, 26, 13], [1, 26, 9], [1, 44, 34], [1, 44, 28], [1, 44, 22], [1, 44, 16], [1, 70, 55], [1, 70, 44], [2, 35, 17], [2, 35, 13], [1, 100, 80], [2, 50, 32], [2, 50, 24], [4, 25, 9], [1, 134, 108], [2, 67, 43], [2, 33, 15, 2, 34, 16], [2, 33, 11, 2, 34, 12], [2, 86, 68], [4, 43, 27], [4, 43, 19], [4, 43, 15], [2, 98, 78], [4, 49, 31], [2, 32, 14, 4, 33, 15], [4, 39, 13, 1, 40, 14], [2, 121, 97], [2, 60, 38, 2, 61, 39], [4, 40, 18, 2, 41, 19], [4, 40, 14, 2, 41, 15], [2, 146, 116], [3, 58, 36, 2, 59, 37], [4, 36, 16, 4, 37, 17], [4, 36, 12, 4, 37, 13], [2, 86, 68, 2, 87, 69], [4, 69, 43, 1, 70, 44], [6, 43, 19, 2, 44, 20], [6, 43, 15, 2, 44, 16], [4, 101, 81], [1, 80, 50, 4, 81, 51], [4, 50, 22, 4, 51, 23], [3, 36, 12, 8, 37, 13], [2, 116, 92, 2, 117, 93], [6, 58, 36, 2, 59, 37], [4, 46, 20, 6, 47, 21], [7, 42, 14, 4, 43, 15], [4, 133, 107], [8, 59, 37, 1, 60, 38], [8, 44, 20, 4, 45, 21], [12, 33, 11, 4, 34, 12], [3, 145, 115, 1, 146, 116], [4, 64, 40, 5, 65, 41], [11, 36, 16, 5, 37, 17], [11, 36, 12, 5, 37, 13], [5, 109, 87, 1, 110, 88], [5, 65, 41, 5, 66, 42], [5, 54, 24, 7, 55, 25], [11, 36, 12], [5, 122, 98, 1, 123, 99], [7, 73, 45, 3, 74, 46], [15, 43, 19, 2, 44, 20], [3, 45, 15, 13, 46, 16], [1, 135, 107, 5, 136, 108], [10, 74, 46, 1, 75, 47], [1, 50, 22, 15, 51, 23], [2, 42, 14, 17, 43, 15], [5, 150, 120, 1, 151, 121], [9, 69, 43, 4, 70, 44], [17, 50, 22, 1, 51, 23], [2, 42, 14, 19, 43, 15], [3, 141, 113, 4, 142, 114], [3, 70, 44, 11, 71, 45], [17, 47, 21, 4, 48, 22], [9, 39, 13, 16, 40, 14], [3, 135, 107, 5, 136, 108], [3, 67, 41, 13, 68, 42], [15, 54, 24, 5, 55, 25], [15, 43, 15, 10, 44, 16], [4, 144, 116, 4, 145, 117], [17, 68, 42], [17, 50, 22, 6, 51, 23], [19, 46, 16, 6, 47, 17], [2, 139, 111, 7, 140, 112], [17, 74, 46], [7, 54, 24, 16, 55, 25], [34, 37, 13], [4, 151, 121, 5, 152, 122], [4, 75, 47, 14, 76, 48], [11, 54, 24, 14, 55, 25], [16, 45, 15, 14, 46, 16], [6, 147, 117, 4, 148, 118], [6, 73, 45, 14, 74, 46], [11, 54, 24, 16, 55, 25], [30, 46, 16, 2, 47, 17], [8, 132, 106, 4, 133, 107], [8, 75, 47, 13, 76, 48], [7, 54, 24, 22, 55, 25], [22, 45, 15, 13, 46, 16], [10, 142, 114, 2, 143, 115], [19, 74, 46, 4, 75, 47], [28, 50, 22, 6, 51, 23], [33, 46, 16, 4, 47, 17], [8, 152, 122, 4, 153, 123], [22, 73, 45, 3, 74, 46], [8, 53, 23, 26, 54, 24], [12, 45, 15, 28, 46, 16], [3, 147, 117, 10, 148, 118], [3, 73, 45, 23, 74, 46], [4, 54, 24, 31, 55, 25], [11, 45, 15, 31, 46, 16], [7, 146, 116, 7, 147, 117], [21, 73, 45, 7, 74, 46], [1, 53, 23, 37, 54, 24], [19, 45, 15, 26, 46, 16], [5, 145, 115, 10, 146, 116], [19, 75, 47, 10, 76, 48], [15, 54, 24, 25, 55, 25], [23, 45, 15, 25, 46, 16], [13, 145, 115, 3, 146, 116], [2, 74, 46, 29, 75, 47], [42, 54, 24, 1, 55, 25], [23, 45, 15, 28, 46, 16], [17, 145, 115], [10, 74, 46, 23, 75, 47], [10, 54, 24, 35, 55, 25], [19, 45, 15, 35, 46, 16], [17, 145, 115, 1, 146, 116], [14, 74, 46, 21, 75, 47], [29, 54, 24, 19, 55, 25], [11, 45, 15, 46, 46, 16], [13, 145, 115, 6, 146, 116], [14, 74, 46, 23, 75, 47], [44, 54, 24, 7, 55, 25], [59, 46, 16, 1, 47, 17], [12, 151, 121, 7, 152, 122], [12, 75, 47, 26, 76, 48], [39, 54, 24, 14, 55, 25], [22, 45, 15, 41, 46, 16], [6, 151, 121, 14, 152, 122], [6, 75, 47, 34, 76, 48], [46, 54, 24, 10, 55, 25], [2, 45, 15, 64, 46, 16], [17, 152, 122, 4, 153, 123], [29, 74, 46, 14, 75, 47], [49, 54, 24, 10, 55, 25], [24, 45, 15, 46, 46, 16], [4, 152, 122, 18, 153, 123], [13, 74, 46, 32, 75, 47], [48, 54, 24, 14, 55, 25], [42, 45, 15, 32, 46, 16], [20, 147, 117, 4, 148, 118], [40, 75, 47, 7, 76, 48], [43, 54, 24, 22, 55, 25], [10, 45, 15, 67, 46, 16], [19, 148, 118, 6, 149, 119], [18, 75, 47, 31, 76, 48], [34, 54, 24, 34, 55, 25], [20, 45, 15, 61, 46, 16]];
549
+ QRRSBlock.getRSBlocks = function(typeNumber, errorCorrectLevel) {
550
+ var rsBlock = QRRSBlock.getRsBlockTable(typeNumber, errorCorrectLevel);
551
+ if (rsBlock == void 0) {
552
+ throw new Error("bad rs block @ typeNumber:" + typeNumber + "/errorCorrectLevel:" + errorCorrectLevel);
553
+ }
554
+ var length = rsBlock.length / 3;
555
+ var list = [];
556
+ for (var i2 = 0; i2 < length; i2++) {
557
+ var count = rsBlock[i2 * 3 + 0];
558
+ var totalCount = rsBlock[i2 * 3 + 1];
559
+ var dataCount = rsBlock[i2 * 3 + 2];
560
+ for (var j = 0; j < count; j++) {
561
+ list.push(new QRRSBlock(totalCount, dataCount));
562
+ }
563
+ }
564
+ return list;
565
+ };
566
+ QRRSBlock.getRsBlockTable = function(typeNumber, errorCorrectLevel) {
567
+ switch (errorCorrectLevel) {
568
+ case QRErrorCorrectLevel.L:
569
+ return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 0];
570
+ case QRErrorCorrectLevel.M:
571
+ return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 1];
572
+ case QRErrorCorrectLevel.Q:
573
+ return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 2];
574
+ case QRErrorCorrectLevel.H:
575
+ return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 3];
576
+ default:
577
+ return void 0;
578
+ }
579
+ };
580
+ function QRBitBuffer() {
581
+ this.buffer = [];
582
+ this.length = 0;
583
+ }
584
+ QRBitBuffer.prototype = { get: function(index) {
585
+ var bufIndex = Math.floor(index / 8);
586
+ return (this.buffer[bufIndex] >>> 7 - index % 8 & 1) == 1;
587
+ }, put: function(num, length) {
588
+ for (var i2 = 0; i2 < length; i2++) {
589
+ this.putBit((num >>> length - i2 - 1 & 1) == 1);
590
+ }
591
+ }, getLengthInBits: function() {
592
+ return this.length;
593
+ }, putBit: function(bit) {
594
+ var bufIndex = Math.floor(this.length / 8);
595
+ if (this.buffer.length <= bufIndex) {
596
+ this.buffer.push(0);
597
+ }
598
+ if (bit) {
599
+ this.buffer[bufIndex] |= 128 >>> this.length % 8;
600
+ }
601
+ this.length++;
602
+ } };
603
+ var QRCodeLimitLength = [[17, 14, 11, 7], [32, 26, 20, 14], [53, 42, 32, 24], [78, 62, 46, 34], [106, 84, 60, 44], [134, 106, 74, 58], [154, 122, 86, 64], [192, 152, 108, 84], [230, 180, 130, 98], [271, 213, 151, 119], [321, 251, 177, 137], [367, 287, 203, 155], [425, 331, 241, 177], [458, 362, 258, 194], [520, 412, 292, 220], [586, 450, 322, 250], [644, 504, 364, 280], [718, 560, 394, 310], [792, 624, 442, 338], [858, 666, 482, 382], [929, 711, 509, 403], [1003, 779, 565, 439], [1091, 857, 611, 461], [1171, 911, 661, 511], [1273, 997, 715, 535], [1367, 1059, 751, 593], [1465, 1125, 805, 625], [1528, 1190, 868, 658], [1628, 1264, 908, 698], [1732, 1370, 982, 742], [1840, 1452, 1030, 790], [1952, 1538, 1112, 842], [2068, 1628, 1168, 898], [2188, 1722, 1228, 958], [2303, 1809, 1283, 983], [2431, 1911, 1351, 1051], [2563, 1989, 1423, 1093], [2699, 2099, 1499, 1139], [2809, 2213, 1579, 1219], [2953, 2331, 1663, 1273]];
604
+ function _isSupportCanvas() {
605
+ return typeof CanvasRenderingContext2D != "undefined";
606
+ }
607
+ function _getAndroid() {
608
+ var android = false;
609
+ var sAgent = navigator.userAgent;
610
+ if (/android/i.test(sAgent)) {
611
+ android = true;
612
+ var aMat = sAgent.toString().match(/android ([0-9]\.[0-9])/i);
613
+ if (aMat && aMat[1]) {
614
+ android = parseFloat(aMat[1]);
615
+ }
616
+ }
617
+ return android;
618
+ }
619
+ var svgDrawer = function() {
620
+ var Drawing2 = function(el, htOption) {
621
+ this._el = el;
622
+ this._htOption = htOption;
623
+ };
624
+ Drawing2.prototype.draw = function(oQRCode) {
625
+ var _htOption = this._htOption;
626
+ var _el = this._el;
627
+ var nCount = oQRCode.getModuleCount();
628
+ Math.floor(_htOption.width / nCount);
629
+ Math.floor(_htOption.height / nCount);
630
+ this.clear();
631
+ function makeSVG(tag, attrs) {
632
+ var el = document.createElementNS("http://www.w3.org/2000/svg", tag);
633
+ for (var k in attrs)
634
+ if (attrs.hasOwnProperty(k)) el.setAttribute(k, attrs[k]);
635
+ return el;
636
+ }
637
+ var svg = makeSVG("svg", { "viewBox": "0 0 " + String(nCount) + " " + String(nCount), "width": "100%", "height": "100%", "fill": _htOption.colorLight });
638
+ svg.setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:xlink", "http://www.w3.org/1999/xlink");
639
+ _el.appendChild(svg);
640
+ svg.appendChild(makeSVG("rect", { "fill": _htOption.colorLight, "width": "100%", "height": "100%" }));
641
+ svg.appendChild(makeSVG("rect", { "fill": _htOption.colorDark, "width": "1", "height": "1", "id": "template" }));
642
+ for (var row = 0; row < nCount; row++) {
643
+ for (var col = 0; col < nCount; col++) {
644
+ if (oQRCode.isDark(row, col)) {
645
+ var child = makeSVG("use", { "x": String(col), "y": String(row) });
646
+ child.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#template");
647
+ svg.appendChild(child);
648
+ }
649
+ }
650
+ }
651
+ };
652
+ Drawing2.prototype.clear = function() {
653
+ while (this._el.hasChildNodes())
654
+ this._el.removeChild(this._el.lastChild);
655
+ };
656
+ return Drawing2;
657
+ }();
658
+ var useSVG = document.documentElement.tagName.toLowerCase() === "svg";
659
+ var Drawing = useSVG ? svgDrawer : !_isSupportCanvas() ? function() {
660
+ var Drawing2 = function(el, htOption) {
661
+ this._el = el;
662
+ this._htOption = htOption;
663
+ };
664
+ Drawing2.prototype.draw = function(oQRCode) {
665
+ var _htOption = this._htOption;
666
+ var _el = this._el;
667
+ var nCount = oQRCode.getModuleCount();
668
+ var nWidth = Math.floor(_htOption.width / nCount);
669
+ var nHeight = Math.floor(_htOption.height / nCount);
670
+ var aHTML = ['<table style="border:0;border-collapse:collapse;">'];
671
+ for (var row = 0; row < nCount; row++) {
672
+ aHTML.push("<tr>");
673
+ for (var col = 0; col < nCount; col++) {
674
+ aHTML.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:' + nWidth + "px;height:" + nHeight + "px;background-color:" + (oQRCode.isDark(row, col) ? _htOption.colorDark : _htOption.colorLight) + ';"></td>');
675
+ }
676
+ aHTML.push("</tr>");
677
+ }
678
+ aHTML.push("</table>");
679
+ _el.innerHTML = aHTML.join("");
680
+ var elTable = _el.childNodes[0];
681
+ var nLeftMarginTable = (_htOption.width - elTable.offsetWidth) / 2;
682
+ var nTopMarginTable = (_htOption.height - elTable.offsetHeight) / 2;
683
+ if (nLeftMarginTable > 0 && nTopMarginTable > 0) {
684
+ elTable.style.margin = nTopMarginTable + "px " + nLeftMarginTable + "px";
685
+ }
686
+ };
687
+ Drawing2.prototype.clear = function() {
688
+ this._el.innerHTML = "";
689
+ };
690
+ return Drawing2;
691
+ }() : function() {
692
+ function _onMakeImage() {
693
+ this._elImage.src = this._elCanvas.toDataURL("image/png");
694
+ this._elImage.style.display = "block";
695
+ this._elCanvas.style.display = "none";
696
+ }
697
+ if (this && this._android && this._android <= 2.1) {
698
+ var factor = 1 / window.devicePixelRatio;
699
+ var drawImage = CanvasRenderingContext2D.prototype.drawImage;
700
+ CanvasRenderingContext2D.prototype.drawImage = function(image, sx, sy, sw, sh, dx, dy, dw, dh) {
701
+ if ("nodeName" in image && /img/i.test(image.nodeName)) {
702
+ for (var i2 = arguments.length - 1; i2 >= 1; i2--) {
703
+ arguments[i2] = arguments[i2] * factor;
704
+ }
705
+ } else if (typeof dw == "undefined") {
706
+ arguments[1] *= factor;
707
+ arguments[2] *= factor;
708
+ arguments[3] *= factor;
709
+ arguments[4] *= factor;
710
+ }
711
+ drawImage.apply(this, arguments);
712
+ };
713
+ }
714
+ function _safeSetDataURI(fSuccess, fFail) {
715
+ var self = this;
716
+ self._fFail = fFail;
717
+ self._fSuccess = fSuccess;
718
+ if (self._bSupportDataURI === null) {
719
+ var el = document.createElement("img");
720
+ var fOnError = function() {
721
+ self._bSupportDataURI = false;
722
+ if (self._fFail) {
723
+ self._fFail.call(self);
724
+ }
725
+ };
726
+ var fOnSuccess = function() {
727
+ self._bSupportDataURI = true;
728
+ if (self._fSuccess) {
729
+ self._fSuccess.call(self);
730
+ }
731
+ };
732
+ el.onabort = fOnError;
733
+ el.onerror = fOnError;
734
+ el.onload = fOnSuccess;
735
+ el.src = "data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==";
736
+ return;
737
+ } else if (self._bSupportDataURI === true && self._fSuccess) {
738
+ self._fSuccess.call(self);
739
+ } else if (self._bSupportDataURI === false && self._fFail) {
740
+ self._fFail.call(self);
741
+ }
742
+ }
743
+ var Drawing2 = function(el, htOption) {
744
+ this._bIsPainted = false;
745
+ this._android = _getAndroid();
746
+ this._htOption = htOption;
747
+ this._elCanvas = document.createElement("canvas");
748
+ this._elCanvas.width = htOption.width;
749
+ this._elCanvas.height = htOption.height;
750
+ el.appendChild(this._elCanvas);
751
+ this._el = el;
752
+ this._oContext = this._elCanvas.getContext("2d");
753
+ this._bIsPainted = false;
754
+ this._elImage = document.createElement("img");
755
+ this._elImage.alt = "Scan me!";
756
+ this._elImage.style.display = "none";
757
+ this._el.appendChild(this._elImage);
758
+ this._bSupportDataURI = null;
759
+ };
760
+ Drawing2.prototype.draw = function(oQRCode) {
761
+ var _elImage = this._elImage;
762
+ var _oContext = this._oContext;
763
+ var _htOption = this._htOption;
764
+ var nCount = oQRCode.getModuleCount();
765
+ var nWidth = _htOption.width / nCount;
766
+ var nHeight = _htOption.height / nCount;
767
+ var nRoundedWidth = Math.round(nWidth);
768
+ var nRoundedHeight = Math.round(nHeight);
769
+ _elImage.style.display = "none";
770
+ this.clear();
771
+ for (var row = 0; row < nCount; row++) {
772
+ for (var col = 0; col < nCount; col++) {
773
+ var bIsDark = oQRCode.isDark(row, col);
774
+ var nLeft = col * nWidth;
775
+ var nTop = row * nHeight;
776
+ _oContext.strokeStyle = bIsDark ? _htOption.colorDark : _htOption.colorLight;
777
+ _oContext.lineWidth = 1;
778
+ _oContext.fillStyle = bIsDark ? _htOption.colorDark : _htOption.colorLight;
779
+ _oContext.fillRect(nLeft, nTop, nWidth, nHeight);
780
+ _oContext.strokeRect(
781
+ Math.floor(nLeft) + 0.5,
782
+ Math.floor(nTop) + 0.5,
783
+ nRoundedWidth,
784
+ nRoundedHeight
785
+ );
786
+ _oContext.strokeRect(
787
+ Math.ceil(nLeft) - 0.5,
788
+ Math.ceil(nTop) - 0.5,
789
+ nRoundedWidth,
790
+ nRoundedHeight
791
+ );
792
+ }
793
+ }
794
+ this._bIsPainted = true;
795
+ };
796
+ Drawing2.prototype.makeImage = function() {
797
+ if (this._bIsPainted) {
798
+ _safeSetDataURI.call(this, _onMakeImage);
799
+ }
800
+ };
801
+ Drawing2.prototype.isPainted = function() {
802
+ return this._bIsPainted;
803
+ };
804
+ Drawing2.prototype.clear = function() {
805
+ this._oContext.clearRect(0, 0, this._elCanvas.width, this._elCanvas.height);
806
+ this._bIsPainted = false;
807
+ };
808
+ Drawing2.prototype.round = function(nNumber) {
809
+ if (!nNumber) {
810
+ return nNumber;
811
+ }
812
+ return Math.floor(nNumber * 1e3) / 1e3;
813
+ };
814
+ return Drawing2;
815
+ }();
816
+ function _getTypeNumber(sText, nCorrectLevel) {
817
+ var nType = 1;
818
+ var length = _getUTF8Length(sText);
819
+ for (var i2 = 0, len = QRCodeLimitLength.length; i2 < len; i2++) {
820
+ var nLimit = 0;
821
+ switch (nCorrectLevel) {
822
+ case QRErrorCorrectLevel.L:
823
+ nLimit = QRCodeLimitLength[i2][0];
824
+ break;
825
+ case QRErrorCorrectLevel.M:
826
+ nLimit = QRCodeLimitLength[i2][1];
827
+ break;
828
+ case QRErrorCorrectLevel.Q:
829
+ nLimit = QRCodeLimitLength[i2][2];
830
+ break;
831
+ case QRErrorCorrectLevel.H:
832
+ nLimit = QRCodeLimitLength[i2][3];
833
+ break;
834
+ }
835
+ if (length <= nLimit) {
836
+ break;
837
+ } else {
838
+ nType++;
839
+ }
840
+ }
841
+ if (nType > QRCodeLimitLength.length) {
842
+ throw new Error("Too long data");
843
+ }
844
+ return nType;
845
+ }
846
+ function _getUTF8Length(sText) {
847
+ var replacedText = encodeURI(sText).toString().replace(/\%[0-9a-fA-F]{2}/g, "a");
848
+ return replacedText.length + (replacedText.length != sText ? 3 : 0);
849
+ }
850
+ QRCode2 = function(el, vOption) {
851
+ this._htOption = {
852
+ width: 256,
853
+ height: 256,
854
+ typeNumber: 4,
855
+ colorDark: "#000000",
856
+ colorLight: "#ffffff",
857
+ correctLevel: QRErrorCorrectLevel.H
858
+ };
859
+ if (typeof vOption === "string") {
860
+ vOption = {
861
+ text: vOption
862
+ };
863
+ }
864
+ if (vOption) {
865
+ for (var i2 in vOption) {
866
+ this._htOption[i2] = vOption[i2];
867
+ }
868
+ }
869
+ if (typeof el == "string") {
870
+ el = document.getElementById(el);
871
+ }
872
+ if (this._htOption.useSVG) {
873
+ Drawing = svgDrawer;
874
+ }
875
+ this._android = _getAndroid();
876
+ this._el = el;
877
+ this._oQRCode = null;
878
+ this._oDrawing = new Drawing(this._el, this._htOption);
879
+ if (this._htOption.text) {
880
+ this.makeCode(this._htOption.text);
881
+ }
882
+ };
883
+ QRCode2.prototype.makeCode = function(sText) {
884
+ this._oQRCode = new QRCodeModel(_getTypeNumber(sText, this._htOption.correctLevel), this._htOption.correctLevel);
885
+ this._oQRCode.addData(sText);
886
+ this._oQRCode.make();
887
+ this._el.title = sText;
888
+ this._oDrawing.draw(this._oQRCode);
889
+ this.makeImage();
890
+ };
891
+ QRCode2.prototype.makeImage = function() {
892
+ if (typeof this._oDrawing.makeImage == "function" && (!this._android || this._android >= 3)) {
893
+ this._oDrawing.makeImage();
894
+ }
895
+ };
896
+ QRCode2.prototype.clear = function() {
897
+ this._oDrawing.clear();
898
+ };
899
+ QRCode2.CorrectLevel = QRErrorCorrectLevel;
900
+ return QRCode2;
901
+ });
902
+ })(qrcode);
903
+ var qrcodeExports = qrcode.exports;
904
+ const QRCode = /* @__PURE__ */ getDefaultExportFromCjs(qrcodeExports);
905
+ const _hoisted_1 = { class: "login-scan-container" };
906
+ const __default__ = defineComponent({
907
+ name: "loginScan"
908
+ });
909
+ const _sfc_main = /* @__PURE__ */ defineComponent({
910
+ ...__default__,
911
+ setup(__props) {
912
+ const qrcodeRef = ref(null);
913
+ const initQrcode = () => {
914
+ nextTick(() => {
915
+ qrcodeRef.value.innerHTML = "";
916
+ new QRCode(qrcodeRef.value, {
917
+ text: `https://qm.qq.com/cgi-bin/qm/qr?k=RdUY97Vx0T0vZ_1OOu-X1yFNkWgDwbjC&jump_from=webapi`,
918
+ width: 260,
919
+ height: 260,
920
+ colorDark: "#000000",
921
+ colorLight: "#ffffff"
922
+ });
923
+ });
924
+ };
925
+ onMounted(() => {
926
+ initQrcode();
927
+ });
928
+ return (_ctx, _cache) => {
929
+ return openBlock(), createElementBlock("div", _hoisted_1, [
930
+ createElementVNode("div", {
931
+ ref_key: "qrcodeRef",
932
+ ref: qrcodeRef
933
+ }, null, 512),
934
+ _cache[0] || (_cache[0] = createElementVNode("div", { class: "font12 mt20 login-msg" }, [
935
+ createElementVNode("i", { class: "iconfont icon-saoyisao mr5" }),
936
+ createElementVNode("span", null, "打开手机扫一扫,快速登录/注册")
937
+ ], -1))
938
+ ]);
939
+ };
940
+ }
941
+ });
942
+ const scan = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-38581de4"]]);
943
+ export {
944
+ scan as default
945
+ };