apply-clients 4.1.71 → 4.1.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/apply.js +78 -72
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +251 -251
- package/src/components/product/Function/InstallInfoSelect.vue +294 -281
- package/src/components/product/Function/functions/StopInstall.vue +112 -106
- package/src/components/product/Process/ExplorationSelect.vue +370 -354
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +1236 -1233
- package/src/components/product/Process/Processes/chargeManagement.vue +540 -539
- package/src/components/product/Process/Processes/selectUserinfo.vue +205 -0
- package/src/components/product/Process/Processes/splitMaterial.vue +358 -0
- package/src/components/product/Process/Service/ServiceControl.vue +1210 -899
- package/src/components/product/ServiceView.vue +802 -797
- package/src/components/product/Stop/StopApply.vue +101 -0
- package/src/components/product/Stop/StopApplyList.vue +257 -0
- package/src/components/product/Supervisory/SupervisoryControl.vue +121 -119
- package/src/components/product/Supervisory/SupervisoryList.vue +221 -208
- package/src/components/product/Supervisory/SupervisoryhCart.vue +96 -96
- package/dist-android/static/0.8fefcf36b4f3b17f24f4.js +0 -3
- package/dist-android/static/0.8fefcf36b4f3b17f24f4.js.map +0 -1
- package/dist-android/static/1.aceeebd9882303a0077f.js +0 -2
- package/dist-android/static/1.aceeebd9882303a0077f.js.map +0 -1
- package/dist-android/static/10.1e64dd0300dfdd04f6e9.js +0 -2
- package/dist-android/static/10.1e64dd0300dfdd04f6e9.js.map +0 -1
- package/dist-android/static/100.6ed76ce8ccc8bbf4dd95.js +0 -2
- package/dist-android/static/100.6ed76ce8ccc8bbf4dd95.js.map +0 -1
- package/dist-android/static/101.6a1aaf8dc03b1c727c2c.js +0 -2
- package/dist-android/static/101.6a1aaf8dc03b1c727c2c.js.map +0 -1
- package/dist-android/static/102.84fab22025678c449dd7.js +0 -2
- package/dist-android/static/102.84fab22025678c449dd7.js.map +0 -1
- package/dist-android/static/103.55f1270c13d83ad5aefa.js +0 -2
- package/dist-android/static/103.55f1270c13d83ad5aefa.js.map +0 -1
- package/dist-android/static/104.fbbb14f56d3ced86054e.js +0 -2
- package/dist-android/static/104.fbbb14f56d3ced86054e.js.map +0 -1
- package/dist-android/static/105.eebb9b14cac9c6338e81.js +0 -2
- package/dist-android/static/105.eebb9b14cac9c6338e81.js.map +0 -1
- package/dist-android/static/106.cd9ee420f7a56b833845.js +0 -2
- package/dist-android/static/106.cd9ee420f7a56b833845.js.map +0 -1
- package/dist-android/static/107.5c63800f95fa999d004a.js +0 -2
- package/dist-android/static/107.5c63800f95fa999d004a.js.map +0 -1
- package/dist-android/static/108.9a8119fb306f67a19e68.js +0 -2
- package/dist-android/static/108.9a8119fb306f67a19e68.js.map +0 -1
- package/dist-android/static/109.cfdab0cef9d052622b4f.js +0 -2
- package/dist-android/static/109.cfdab0cef9d052622b4f.js.map +0 -1
- package/dist-android/static/11.e770641b023d24d12237.js +0 -2
- package/dist-android/static/11.e770641b023d24d12237.js.map +0 -1
- package/dist-android/static/110.4a284c14a77d02f9c2b7.js +0 -2
- package/dist-android/static/110.4a284c14a77d02f9c2b7.js.map +0 -1
- package/dist-android/static/111.f5a13edc4953c379ed58.js +0 -2
- package/dist-android/static/111.f5a13edc4953c379ed58.js.map +0 -1
- package/dist-android/static/112.d69dbda6bc99f459cd93.js +0 -2
- package/dist-android/static/112.d69dbda6bc99f459cd93.js.map +0 -1
- package/dist-android/static/113.24d5edd25014c4bf01ae.js +0 -2
- package/dist-android/static/113.24d5edd25014c4bf01ae.js.map +0 -1
- package/dist-android/static/114.275d1ff8666963ebe680.js +0 -2
- package/dist-android/static/114.275d1ff8666963ebe680.js.map +0 -1
- package/dist-android/static/115.2a54824d85c0575c3194.js +0 -2
- package/dist-android/static/115.2a54824d85c0575c3194.js.map +0 -1
- package/dist-android/static/116.f0307796e1e1860ed61a.js +0 -2
- package/dist-android/static/116.f0307796e1e1860ed61a.js.map +0 -1
- package/dist-android/static/117.8cc6db360ccbce2f1813.js +0 -2
- package/dist-android/static/117.8cc6db360ccbce2f1813.js.map +0 -1
- package/dist-android/static/118.8e13c76b53d87801709b.js +0 -2
- package/dist-android/static/118.8e13c76b53d87801709b.js.map +0 -1
- package/dist-android/static/119.01a483cd9438418d725c.js +0 -2
- package/dist-android/static/119.01a483cd9438418d725c.js.map +0 -1
- package/dist-android/static/12.ea7ce97226d268599b39.js +0 -2
- package/dist-android/static/12.ea7ce97226d268599b39.js.map +0 -1
- package/dist-android/static/120.20e156e76cff7e3dcd0e.js +0 -2
- package/dist-android/static/120.20e156e76cff7e3dcd0e.js.map +0 -1
- package/dist-android/static/121.deabd255b998e6aca42e.js +0 -2
- package/dist-android/static/121.deabd255b998e6aca42e.js.map +0 -1
- package/dist-android/static/122.d4a78a26d8a23873170a.js +0 -2
- package/dist-android/static/122.d4a78a26d8a23873170a.js.map +0 -1
- package/dist-android/static/123.02279cd943d847b66111.js +0 -2
- package/dist-android/static/123.02279cd943d847b66111.js.map +0 -1
- package/dist-android/static/124.71f71288c0552b0cfd3c.js +0 -2
- package/dist-android/static/124.71f71288c0552b0cfd3c.js.map +0 -1
- package/dist-android/static/125.56440eeea4614418e976.js +0 -2
- package/dist-android/static/125.56440eeea4614418e976.js.map +0 -1
- package/dist-android/static/126.dc4dee64f0449a655220.js +0 -2
- package/dist-android/static/126.dc4dee64f0449a655220.js.map +0 -1
- package/dist-android/static/127.38ef4996946ff2e25267.js +0 -2
- package/dist-android/static/127.38ef4996946ff2e25267.js.map +0 -1
- package/dist-android/static/128.8e83236d37184f7ae294.js +0 -2
- package/dist-android/static/128.8e83236d37184f7ae294.js.map +0 -1
- package/dist-android/static/129.cfd679422d1854daadad.js +0 -2
- package/dist-android/static/129.cfd679422d1854daadad.js.map +0 -1
- package/dist-android/static/13.a30b29bdef19dcebd8c3.js +0 -2
- package/dist-android/static/13.a30b29bdef19dcebd8c3.js.map +0 -1
- package/dist-android/static/130.51dba7e59995e65f30c6.js +0 -2
- package/dist-android/static/130.51dba7e59995e65f30c6.js.map +0 -1
- package/dist-android/static/131.684c3686dd1fce45f95f.js +0 -2
- package/dist-android/static/131.684c3686dd1fce45f95f.js.map +0 -1
- package/dist-android/static/132.b26f0ad66e2dfbbe3ee4.js +0 -2
- package/dist-android/static/132.b26f0ad66e2dfbbe3ee4.js.map +0 -1
- package/dist-android/static/133.bbd729a19e1a4a239e4a.js +0 -2
- package/dist-android/static/133.bbd729a19e1a4a239e4a.js.map +0 -1
- package/dist-android/static/134.76cddf7bbcdac6be66c7.js +0 -2
- package/dist-android/static/134.76cddf7bbcdac6be66c7.js.map +0 -1
- package/dist-android/static/135.e16704920da333cb62b3.js +0 -2
- package/dist-android/static/135.e16704920da333cb62b3.js.map +0 -1
- package/dist-android/static/136.ebbe09f24751b32d9afa.js +0 -2
- package/dist-android/static/136.ebbe09f24751b32d9afa.js.map +0 -1
- package/dist-android/static/137.9cc0f6f025ee5dde7742.js +0 -2
- package/dist-android/static/137.9cc0f6f025ee5dde7742.js.map +0 -1
- package/dist-android/static/14.8c48f0d2829f28e0ac05.js +0 -2
- package/dist-android/static/14.8c48f0d2829f28e0ac05.js.map +0 -1
- package/dist-android/static/15.ef7132bb74700a3907a6.js +0 -2
- package/dist-android/static/15.ef7132bb74700a3907a6.js.map +0 -1
- package/dist-android/static/16.3dfe04e56f1463c1d2db.js +0 -2
- package/dist-android/static/16.3dfe04e56f1463c1d2db.js.map +0 -1
- package/dist-android/static/17.5c349b314c8c5bf1b16f.js +0 -2
- package/dist-android/static/17.5c349b314c8c5bf1b16f.js.map +0 -1
- package/dist-android/static/18.d895cc41f2f161cd41da.js +0 -2
- package/dist-android/static/18.d895cc41f2f161cd41da.js.map +0 -1
- package/dist-android/static/19.8d55e4ef8ec491de697d.js +0 -2
- package/dist-android/static/19.8d55e4ef8ec491de697d.js.map +0 -1
- package/dist-android/static/2.97437f27d0cf4060445a.js +0 -2
- package/dist-android/static/2.97437f27d0cf4060445a.js.map +0 -1
- package/dist-android/static/20.d51ea255c06f63815c9d.js +0 -2
- package/dist-android/static/20.d51ea255c06f63815c9d.js.map +0 -1
- package/dist-android/static/21.3ae67c365c41dce94f05.js +0 -2
- package/dist-android/static/21.3ae67c365c41dce94f05.js.map +0 -1
- package/dist-android/static/23.011da7e98c927d3ccb96.js +0 -12
- package/dist-android/static/23.011da7e98c927d3ccb96.js.map +0 -1
- package/dist-android/static/24.1695c104c0e1072038ae.js +0 -4
- package/dist-android/static/24.1695c104c0e1072038ae.js.map +0 -1
- package/dist-android/static/25.b316cdc747f9047c8a5b.js +0 -4
- package/dist-android/static/25.b316cdc747f9047c8a5b.js.map +0 -1
- package/dist-android/static/26.73ba5dc7089ec0187806.js +0 -3
- package/dist-android/static/26.73ba5dc7089ec0187806.js.map +0 -1
- package/dist-android/static/27.b1cad200394802f64548.js +0 -2
- package/dist-android/static/27.b1cad200394802f64548.js.map +0 -1
- package/dist-android/static/28.45865d8f65947a32c7fc.js +0 -2
- package/dist-android/static/28.45865d8f65947a32c7fc.js.map +0 -1
- package/dist-android/static/29.dee8a61f7ef3766418ff.js +0 -2
- package/dist-android/static/29.dee8a61f7ef3766418ff.js.map +0 -1
- package/dist-android/static/3.eb25813c6da10b34990b.js +0 -2
- package/dist-android/static/3.eb25813c6da10b34990b.js.map +0 -1
- package/dist-android/static/30.56188f6c25bdff5d24d0.js +0 -2
- package/dist-android/static/30.56188f6c25bdff5d24d0.js.map +0 -1
- package/dist-android/static/31.540635d3eaa185206d07.js +0 -2
- package/dist-android/static/31.540635d3eaa185206d07.js.map +0 -1
- package/dist-android/static/32.e10d739f79be4f67e895.js +0 -2
- package/dist-android/static/32.e10d739f79be4f67e895.js.map +0 -1
- package/dist-android/static/33.b50c369d9168d4b347e7.js +0 -2
- package/dist-android/static/33.b50c369d9168d4b347e7.js.map +0 -1
- package/dist-android/static/34.cd5a9b0cb477402ee3f9.js +0 -2
- package/dist-android/static/34.cd5a9b0cb477402ee3f9.js.map +0 -1
- package/dist-android/static/35.5e7542a1b672d178cdf7.js +0 -2
- package/dist-android/static/35.5e7542a1b672d178cdf7.js.map +0 -1
- package/dist-android/static/36.88ece71da9fb3a0b16f6.js +0 -2
- package/dist-android/static/36.88ece71da9fb3a0b16f6.js.map +0 -1
- package/dist-android/static/37.1587f0d65cee28d847b1.js +0 -2
- package/dist-android/static/37.1587f0d65cee28d847b1.js.map +0 -1
- package/dist-android/static/38.922e4996d7709fba2592.js +0 -2
- package/dist-android/static/38.922e4996d7709fba2592.js.map +0 -1
- package/dist-android/static/39.fd8d17fbc5014dc8d5cc.js +0 -2
- package/dist-android/static/39.fd8d17fbc5014dc8d5cc.js.map +0 -1
- package/dist-android/static/4.ebb054ec4b6d594f370f.js +0 -12
- package/dist-android/static/4.ebb054ec4b6d594f370f.js.map +0 -1
- package/dist-android/static/40.8b6d6ae84c0d385199a2.js +0 -2
- package/dist-android/static/40.8b6d6ae84c0d385199a2.js.map +0 -1
- package/dist-android/static/41.2eab1a129cd454a675cd.js +0 -2
- package/dist-android/static/41.2eab1a129cd454a675cd.js.map +0 -1
- package/dist-android/static/42.639e7b10b2311c5d331e.js +0 -2
- package/dist-android/static/42.639e7b10b2311c5d331e.js.map +0 -1
- package/dist-android/static/43.a5b1959c147da8cf6998.js +0 -2
- package/dist-android/static/43.a5b1959c147da8cf6998.js.map +0 -1
- package/dist-android/static/44.e4c71d9426f61eefbf2b.js +0 -2
- package/dist-android/static/44.e4c71d9426f61eefbf2b.js.map +0 -1
- package/dist-android/static/45.00a01ea48a9c7d81b559.js +0 -2
- package/dist-android/static/45.00a01ea48a9c7d81b559.js.map +0 -1
- package/dist-android/static/46.68fd14161277f33bdb19.js +0 -2
- package/dist-android/static/46.68fd14161277f33bdb19.js.map +0 -1
- package/dist-android/static/47.149c69358179520f5572.js +0 -2
- package/dist-android/static/47.149c69358179520f5572.js.map +0 -1
- package/dist-android/static/48.65ff329a8fcff2fef3d6.js +0 -2
- package/dist-android/static/48.65ff329a8fcff2fef3d6.js.map +0 -1
- package/dist-android/static/49.6ca14d6bb01c42aa2989.js +0 -2
- package/dist-android/static/49.6ca14d6bb01c42aa2989.js.map +0 -1
- package/dist-android/static/5.552d466662fa35c868c2.js +0 -12
- package/dist-android/static/5.552d466662fa35c868c2.js.map +0 -1
- package/dist-android/static/50.99c671d5a146d9741aa8.js +0 -2
- package/dist-android/static/50.99c671d5a146d9741aa8.js.map +0 -1
- package/dist-android/static/51.83a2cbffb6901d2330e2.js +0 -2
- package/dist-android/static/51.83a2cbffb6901d2330e2.js.map +0 -1
- package/dist-android/static/52.3163bb20258ccff0604b.js +0 -2
- package/dist-android/static/52.3163bb20258ccff0604b.js.map +0 -1
- package/dist-android/static/53.a6d827e8960ae29624a3.js +0 -2
- package/dist-android/static/53.a6d827e8960ae29624a3.js.map +0 -1
- package/dist-android/static/54.1ccaf2b8a29fa7f7dba2.js +0 -2
- package/dist-android/static/54.1ccaf2b8a29fa7f7dba2.js.map +0 -1
- package/dist-android/static/55.1d72f5b350c90f7d7732.js +0 -2
- package/dist-android/static/55.1d72f5b350c90f7d7732.js.map +0 -1
- package/dist-android/static/56.d6f2f18a9961bf78d0c6.js +0 -2
- package/dist-android/static/56.d6f2f18a9961bf78d0c6.js.map +0 -1
- package/dist-android/static/57.89fb30f7294408c67f31.js +0 -2
- package/dist-android/static/57.89fb30f7294408c67f31.js.map +0 -1
- package/dist-android/static/58.e5e3b57ca17257cdcb1b.js +0 -2
- package/dist-android/static/58.e5e3b57ca17257cdcb1b.js.map +0 -1
- package/dist-android/static/59.279bde1f4db612e8208d.js +0 -2
- package/dist-android/static/59.279bde1f4db612e8208d.js.map +0 -1
- package/dist-android/static/6.476bb571c0e9e41e5bdd.js +0 -12
- package/dist-android/static/6.476bb571c0e9e41e5bdd.js.map +0 -1
- package/dist-android/static/60.c54f6dc3355fd0a68fa8.js +0 -3
- package/dist-android/static/60.c54f6dc3355fd0a68fa8.js.map +0 -1
- package/dist-android/static/61.16adcc6dba6ccdff65d3.js +0 -2
- package/dist-android/static/61.16adcc6dba6ccdff65d3.js.map +0 -1
- package/dist-android/static/62.6ca25ba22c65cb7fe3d6.js +0 -2
- package/dist-android/static/62.6ca25ba22c65cb7fe3d6.js.map +0 -1
- package/dist-android/static/63.98c8236209d00dc52554.js +0 -2
- package/dist-android/static/63.98c8236209d00dc52554.js.map +0 -1
- package/dist-android/static/64.9d85cdf20267cea8afeb.js +0 -2
- package/dist-android/static/64.9d85cdf20267cea8afeb.js.map +0 -1
- package/dist-android/static/65.d481d7d84e5f8cdb6265.js +0 -2
- package/dist-android/static/65.d481d7d84e5f8cdb6265.js.map +0 -1
- package/dist-android/static/66.2dec94f9c98d107f1298.js +0 -2
- package/dist-android/static/66.2dec94f9c98d107f1298.js.map +0 -1
- package/dist-android/static/67.d463c257ea7c14cbccd3.js +0 -2
- package/dist-android/static/67.d463c257ea7c14cbccd3.js.map +0 -1
- package/dist-android/static/68.ffb916bfe4136b430275.js +0 -2
- package/dist-android/static/68.ffb916bfe4136b430275.js.map +0 -1
- package/dist-android/static/69.af4c133e9259409a3464.js +0 -2
- package/dist-android/static/69.af4c133e9259409a3464.js.map +0 -1
- package/dist-android/static/7.cf266b1bfd31c7fd5f94.js +0 -12
- package/dist-android/static/7.cf266b1bfd31c7fd5f94.js.map +0 -1
- package/dist-android/static/70.21f57232ae9005a824e7.js +0 -2
- package/dist-android/static/70.21f57232ae9005a824e7.js.map +0 -1
- package/dist-android/static/71.c190267a5ad7fecb9bbb.js +0 -2
- package/dist-android/static/71.c190267a5ad7fecb9bbb.js.map +0 -1
- package/dist-android/static/72.5580255242641ad8f99b.js +0 -2
- package/dist-android/static/72.5580255242641ad8f99b.js.map +0 -1
- package/dist-android/static/73.503ff117f1d78df46971.js +0 -2
- package/dist-android/static/73.503ff117f1d78df46971.js.map +0 -1
- package/dist-android/static/74.fa7b4222acdf7717c42f.js +0 -2
- package/dist-android/static/74.fa7b4222acdf7717c42f.js.map +0 -1
- package/dist-android/static/75.4adbec977023e6f6f526.js +0 -2
- package/dist-android/static/75.4adbec977023e6f6f526.js.map +0 -1
- package/dist-android/static/76.c8b8fe734a043281b1a1.js +0 -2
- package/dist-android/static/76.c8b8fe734a043281b1a1.js.map +0 -1
- package/dist-android/static/77.4e7ac1e8415092da058d.js +0 -2
- package/dist-android/static/77.4e7ac1e8415092da058d.js.map +0 -1
- package/dist-android/static/78.1e49ad4c09bf6a3da5d4.js +0 -2
- package/dist-android/static/78.1e49ad4c09bf6a3da5d4.js.map +0 -1
- package/dist-android/static/79.a04a7880bdb065534815.js +0 -2
- package/dist-android/static/79.a04a7880bdb065534815.js.map +0 -1
- package/dist-android/static/8.e76ae8b6ce5fc5a5a356.js +0 -12
- package/dist-android/static/8.e76ae8b6ce5fc5a5a356.js.map +0 -1
- package/dist-android/static/80.bfdf6f87e94b4086d476.js +0 -2
- package/dist-android/static/80.bfdf6f87e94b4086d476.js.map +0 -1
- package/dist-android/static/81.bcc8681e0a3fa0784eb5.js +0 -2
- package/dist-android/static/81.bcc8681e0a3fa0784eb5.js.map +0 -1
- package/dist-android/static/82.507f3ac209ed1863a165.js +0 -2
- package/dist-android/static/82.507f3ac209ed1863a165.js.map +0 -1
- package/dist-android/static/83.08af37c5a47f13726f64.js +0 -2
- package/dist-android/static/83.08af37c5a47f13726f64.js.map +0 -1
- package/dist-android/static/84.3a95042f29c3a4d138e6.js +0 -2
- package/dist-android/static/84.3a95042f29c3a4d138e6.js.map +0 -1
- package/dist-android/static/85.51d344f30b486f119b96.js +0 -2
- package/dist-android/static/85.51d344f30b486f119b96.js.map +0 -1
- package/dist-android/static/86.b34d7e8cc11384e31f3d.js +0 -2
- package/dist-android/static/86.b34d7e8cc11384e31f3d.js.map +0 -1
- package/dist-android/static/87.188b978a6cd1b31d390f.js +0 -2
- package/dist-android/static/87.188b978a6cd1b31d390f.js.map +0 -1
- package/dist-android/static/88.7446de7020c0a673314e.js +0 -2
- package/dist-android/static/88.7446de7020c0a673314e.js.map +0 -1
- package/dist-android/static/89.6ead60a46117dbff45f5.js +0 -2
- package/dist-android/static/89.6ead60a46117dbff45f5.js.map +0 -1
- package/dist-android/static/9.7579acbda31126a086d5.js +0 -12
- package/dist-android/static/9.7579acbda31126a086d5.js.map +0 -1
- package/dist-android/static/90.91499a9b1df30d79c22a.js +0 -2
- package/dist-android/static/90.91499a9b1df30d79c22a.js.map +0 -1
- package/dist-android/static/91.7b7e3e279a042f903b1c.js +0 -2
- package/dist-android/static/91.7b7e3e279a042f903b1c.js.map +0 -1
- package/dist-android/static/92.4029b0f8ebbd8c177ca9.js +0 -2
- package/dist-android/static/92.4029b0f8ebbd8c177ca9.js.map +0 -1
- package/dist-android/static/93.3c7ca90a6f7d6b3a4480.js +0 -2
- package/dist-android/static/93.3c7ca90a6f7d6b3a4480.js.map +0 -1
- package/dist-android/static/94.26660ef68a7b32d92814.js +0 -2
- package/dist-android/static/94.26660ef68a7b32d92814.js.map +0 -1
- package/dist-android/static/95.8a5746eb5dadc16e970a.js +0 -2
- package/dist-android/static/95.8a5746eb5dadc16e970a.js.map +0 -1
- package/dist-android/static/96.a39e5648909a67a564f0.js +0 -2
- package/dist-android/static/96.a39e5648909a67a564f0.js.map +0 -1
- package/dist-android/static/97.ade90ac7225bb01e19a9.js +0 -2
- package/dist-android/static/97.ade90ac7225bb01e19a9.js.map +0 -1
- package/dist-android/static/98.9789b6c4d2905da930d1.js +0 -2
- package/dist-android/static/98.9789b6c4d2905da930d1.js.map +0 -1
- package/dist-android/static/99.a2411dd6bca22d9bd246.js +0 -2
- package/dist-android/static/99.a2411dd6bca22d9bd246.js.map +0 -1
- package/dist-android/static/Functions.js +0 -91
- package/dist-android/static/Jsons.js +0 -784
- package/dist-android/static/ManageHomePic//346/244/255/345/234/2064.png +0 -0
- package/dist-android/static/ManagementControl/echarts10.png +0 -0
- package/dist-android/static/ManagementControl/echarts11.png +0 -0
- package/dist-android/static/ManagementControl/echarts12.png +0 -0
- package/dist-android/static/ManagementControl/echarts13.png +0 -0
- package/dist-android/static/ManagementControl/echarts14.png +0 -0
- package/dist-android/static/ManagementControl/echarts15.png +0 -0
- package/dist-android/static/ManagementControl/echarts16.png +0 -0
- package/dist-android/static/ManagementControl/echarts17.png +0 -0
- package/dist-android/static/ManagementControl/echarts18.png +0 -0
- package/dist-android/static/ManagementControl/echarts4.png +0 -0
- package/dist-android/static/ManagementControl/echarts5.png +0 -0
- package/dist-android/static/ManagementControl/echarts51.png +0 -0
- package/dist-android/static/ManagementControl/echarts6.png +0 -0
- package/dist-android/static/ManagementControl/echarts7.png +0 -0
- package/dist-android/static/ManagementControl/echarts71.png +0 -0
- package/dist-android/static/ManagementControl/echarts8.png +0 -0
- package/dist-android/static/ManagementControl//345/233/276/345/261/20211/346/213/267/350/264/235.png +0 -0
- package/dist-android/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2353.png +0 -0
- package/dist-android/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2355.png +0 -0
- package/dist-android/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2356.png +0 -0
- package/dist-android/static/android.css +0 -2
- package/dist-android/static/android.css.map +0 -1
- package/dist-android/static/androidcf0235e8782b35fa98bb.js +0 -133
- package/dist-android/static/androidcf0235e8782b35fa98bb.js.map +0 -1
- package/dist-android/static/class.js +0 -97
- package/dist-android/static/doc.jpg +0 -0
- package/dist-android/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/dist-android/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/dist-android/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/dist-android/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/dist-android/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/images/lefticon//346/226/207/344/273/266/346/250/241/345/235/227.png +0 -0
- package/dist-android/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/dist-android/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/dist-android/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/dist-android/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/dist-android/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/dist-android/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/dist-android/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/imgerror.jpg +0 -0
- package/dist-android/static/init.js +0 -135
- package/dist-android/static/jcwx.jpg +0 -0
- package/dist-android/static/jsoneditor-icons.svg +0 -893
- package/dist-android/static/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/dist-android/static/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/dist-android/static/lefticon//345/233/276/345/261/202577.png +0 -0
- package/dist-android/static/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/dist-android/static/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/dist-android/static/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/dist-android/static/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/dist-android/static/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/dist-android/static/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/dist-android/static/lefticon//347/237/251/345/275/2421183.png +0 -0
- package/dist-android/static/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/dist-android/static/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/dist-android/static/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/dist-android/static/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/dist-android/static/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/loginbg.gif +0 -0
- package/dist-android/static/loginbg1.jpg +0 -0
- package/dist-android/static/loginbg1280.gif +0 -0
- package/dist-android/static/loginbg1366.gif +0 -0
- package/dist-android/static/loginbg_jincheng.jpg +0 -0
- package/dist-android/static/loginbgmain.jpg +0 -0
- package/dist-android/static/mainicon/adddevice.png +0 -0
- package/dist-android/static/mainicon/addmeter.png +0 -0
- package/dist-android/static/mainicon/bank.png +0 -0
- package/dist-android/static/mainicon/biaopan.png +0 -0
- package/dist-android/static/mainicon/cad.jpg +0 -0
- package/dist-android/static/mainicon/chaobiaoyuan.png +0 -0
- package/dist-android/static/mainicon/danganguanli.png +0 -0
- package/dist-android/static/mainicon/deletedevice.png +0 -0
- package/dist-android/static/mainicon/excel.jpg +0 -0
- package/dist-android/static/mainicon/huizong.png +0 -0
- package/dist-android/static/mainicon/jibiaoguanli.png +0 -0
- package/dist-android/static/mainicon/jibiaoguanli2.png +0 -0
- package/dist-android/static/mainicon/jiezhang.png +0 -0
- package/dist-android/static/mainicon/loginbg.jpg +0 -0
- package/dist-android/static/mainicon/shouqishoufei.png +0 -0
- package/dist-android/static/mainicon/treeopen.png +0 -0
- package/dist-android/static/mainicon/treeout.png +0 -0
- package/dist-android/static/mainicon/treeset.png +0 -0
- package/dist-android/static/mainicon/word.jpg +0 -0
- package/dist-android/static/mainicon/wulianwang.png +0 -0
- package/dist-android/static/mainicon/yingyechaxun.png +0 -0
- package/dist-android/static/mainicon/zongheyewu.png +0 -0
- package/dist-android/static/newStyle/clear.png +0 -0
- package/dist-android/static/newStyle/fife.png +0 -0
- package/dist-android/static/newStyle/hidden.png +0 -0
- package/dist-android/static/newStyle/label-clear.png +0 -0
- package/dist-android/static/newStyle/left-img.png +0 -0
- package/dist-android/static/newStyle/list_ok.png +0 -0
- package/dist-android/static/newStyle/login-check.png +0 -0
- package/dist-android/static/newStyle/login-con.png +0 -0
- package/dist-android/static/newStyle/login-do.gif +0 -0
- package/dist-android/static/newStyle/login-f.png +0 -0
- package/dist-android/static/newStyle/login-info.png +0 -0
- package/dist-android/static/newStyle/login-left.png +0 -0
- package/dist-android/static/newStyle/login-org.png +0 -0
- package/dist-android/static/newStyle/login-pwd.png +0 -0
- package/dist-android/static/newStyle/login-user.png +0 -0
- package/dist-android/static/newStyle/loginbg-liaoyuan.gif +0 -0
- package/dist-android/static/newStyle/loginbg.gif +0 -0
- package/dist-android/static/newStyle/loginbg1280.gif +0 -0
- package/dist-android/static/newStyle/loginbg1366.gif +0 -0
- package/dist-android/static/newStyle/loginbg_1.gif +0 -0
- package/dist-android/static/newStyle/searchin.png +0 -0
- package/dist-android/static/newStyle/searchout.png +0 -0
- package/dist-android/static/newStyle/setting.png +0 -0
- package/dist-android/static/newStyle/setting1.png +0 -0
- package/dist-android/static/newStyle/shirk.png +0 -0
- package/dist-android/static/newStyle/stretch_bottom.png +0 -0
- package/dist-android/static/newStyle/stretch_left.png +0 -0
- package/dist-android/static/newStyle/stretch_right.png +0 -0
- package/dist-android/static/newStyle/stretch_top.png +0 -0
- package/dist-android/static/newStyle/system-off.png +0 -0
- package/dist-android/static/newStyle//350/261/252/344/275/263/347/207/203/346/260/224.png +0 -0
- package/dist-android/static/newStyle.7z +0 -0
- package/dist-android/static/newStyle.zip +0 -0
- package/dist-android/static/pdf.jpg +0 -0
- package/dist-android/static/refresh.png +0 -0
- package/dist-android/static/static.zip +0 -0
- package/dist-android/static/tools.js +0 -246
- package/dist-android/static/treeclose.png +0 -0
- package/dist-android/static/tubiao.png +0 -0
- package/dist-android/static/wasm_exec.js +0 -591
- package/dist-android/static//344/270/213/350/275/275/350/256/241/345/210/222.png +0 -0
- package/dist-android/static//344/273/273/345/212/241/346/237/245/350/257/242.png +0 -0
- package/dist-android/static//344/277/241/346/201/257/345/205/254/345/221/212.png +0 -0
- package/dist-android/static//345/205/254/345/221/212/346/237/245/347/234/213.png +0 -0
- package/dist-android/static//345/206/214/345/206/205/351/241/272/345/272/217/344/277/256/346/224/271.png +0 -0
- package/dist-android/static//345/215/241/350/241/250/345/234/250/347/272/277/346/212/204/350/241/250.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/345/256/211/346/243/200.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/345/267/241/346/243/200.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/346/212/204/350/241/250.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/346/212/242/344/277/256.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/346/212/245/350/243/205.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/346/223/215/344/275/234.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/347/273/264/344/277/256.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/347/274/264/350/264/271.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/346/212/275/345/215/225.png +0 -0
- package/dist-android/static//345/256/211/350/243/205/344/270/212/344/274/240.png +0 -0
- package/dist-android/static//345/256/211/350/243/205/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//345/256/211/350/243/205/345/276/205/345/212/236.png +0 -0
- package/dist-android/static//345/267/241/346/243/200/344/270/212/344/274/240.png +0 -0
- package/dist-android/static//345/267/241/346/243/200/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//345/274/200/345/205/263/351/230/200.png +0 -0
- package/dist-android/static//345/275/242/347/212/2664.png +0 -0
- package/dist-android/static//346/211/271/351/207/217/346/212/204/350/241/250.png +0 -0
- package/dist-android/static//346/212/204/350/241/250/344/270/212/344/274/240.png +0 -0
- package/dist-android/static//346/212/204/350/241/250/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//346/212/204/350/241/250/345/276/205/345/212/236.png +0 -0
- package/dist-android/static//346/212/204/350/241/250/350/256/260/345/275/225.png +0 -0
- package/dist-android/static//346/212/245/345/273/272/346/234/215/345/212/241.png +0 -0
- package/dist-android/static//346/224/266/350/264/271/346/261/207/346/200/273/350/241/250.png +0 -0
- package/dist-android/static//346/224/266/350/264/271/350/256/260/345/275/225.png +0 -0
- package/dist-android/static//346/241/243/346/241/210/344/277/256/346/224/271.png +0 -0
- package/dist-android/static//346/265/201/347/250/213/344/270/232/345/212/241.png +0 -0
- package/dist-android/static//346/265/201/347/250/213/347/233/221/346/216/247.png +0 -0
- package/dist-android/static//347/247/273/345/212/250/346/212/204/350/241/250.png +0 -0
- package/dist-android/static//347/247/273/345/212/250/346/212/204/350/241/250/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//347/273/237/350/256/241/346/212/245/350/241/250.png +0 -0
- package/dist-android/static//347/273/264/344/277/256/346/264/276/345/217/221.png +0 -0
- package/dist-android/static//350/220/245/344/270/232/345/233/276/350/241/250.png +0 -0
- package/dist-android/static//350/241/250/345/206/214/351/241/272/345/272/217.png +0 -0
- package/dist-android/static//350/277/233/345/272/246/345/210/227/350/241/250.png +0 -0
- package/dist-android/static//351/200/200/345/207/272/347/231/273/345/275/225.png +0 -0
- package/dist-android/static//351/200/201/346/260/224/344/270/212/344/274/240.png +0 -0
- package/dist-android/static//351/200/201/346/260/224/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//351/200/201/346/260/224/345/276/205/345/212/236.png +0 -0
- package/dist-android/static//351/232/220/346/202/243/345/244/204/347/220/206.png +0 -0
- package/dist-android/static//351/233/206/344/270/255/345/256/211/346/243/200.png +0 -0
- package/dist-android/static//351/253/230/345/257/206/345/205/254/345/221/212.png +0 -0
|
@@ -1,591 +0,0 @@
|
|
|
1
|
-
// Copyright 2018 The Go Authors. All rights reserved.
|
|
2
|
-
// Use of this source code is governed by a BSD-style
|
|
3
|
-
// license that can be found in the LICENSE file.
|
|
4
|
-
|
|
5
|
-
(() => {
|
|
6
|
-
// Map multiple JavaScript environments to a single common API,
|
|
7
|
-
// preferring web standards over Node.js API.
|
|
8
|
-
//
|
|
9
|
-
// Environments considered:
|
|
10
|
-
// - Browsers
|
|
11
|
-
// - Node.js
|
|
12
|
-
// - Electron
|
|
13
|
-
// - Parcel
|
|
14
|
-
|
|
15
|
-
if (typeof global !== "undefined") {
|
|
16
|
-
// global already exists
|
|
17
|
-
} else if (typeof window !== "undefined") {
|
|
18
|
-
window.global = window;
|
|
19
|
-
} else if (typeof self !== "undefined") {
|
|
20
|
-
self.global = self;
|
|
21
|
-
} else {
|
|
22
|
-
throw new Error("cannot export Go (neither global, window nor self is defined)");
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
if (!global.require && typeof require !== "undefined") {
|
|
26
|
-
global.require = require;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
if (!global.fs && global.require) {
|
|
30
|
-
global.fs = require("fs");
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
const enosys = () => {
|
|
34
|
-
const err = new Error("not implemented");
|
|
35
|
-
err.code = "ENOSYS";
|
|
36
|
-
return err;
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
if (!global.fs) {
|
|
40
|
-
let outputBuf = "";
|
|
41
|
-
global.fs = {
|
|
42
|
-
constants: { O_WRONLY: -1, O_RDWR: -1, O_CREAT: -1, O_TRUNC: -1, O_APPEND: -1, O_EXCL: -1 }, // unused
|
|
43
|
-
writeSync(fd, buf) {
|
|
44
|
-
outputBuf += decoder.decode(buf);
|
|
45
|
-
const nl = outputBuf.lastIndexOf("\n");
|
|
46
|
-
if (nl != -1) {
|
|
47
|
-
console.log(outputBuf.substr(0, nl));
|
|
48
|
-
outputBuf = outputBuf.substr(nl + 1);
|
|
49
|
-
}
|
|
50
|
-
return buf.length;
|
|
51
|
-
},
|
|
52
|
-
write(fd, buf, offset, length, position, callback) {
|
|
53
|
-
if (offset !== 0 || length !== buf.length || position !== null) {
|
|
54
|
-
callback(enosys());
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
const n = this.writeSync(fd, buf);
|
|
58
|
-
callback(null, n);
|
|
59
|
-
},
|
|
60
|
-
chmod(path, mode, callback) { callback(enosys()); },
|
|
61
|
-
chown(path, uid, gid, callback) { callback(enosys()); },
|
|
62
|
-
close(fd, callback) { callback(enosys()); },
|
|
63
|
-
fchmod(fd, mode, callback) { callback(enosys()); },
|
|
64
|
-
fchown(fd, uid, gid, callback) { callback(enosys()); },
|
|
65
|
-
fstat(fd, callback) { callback(enosys()); },
|
|
66
|
-
fsync(fd, callback) { callback(null); },
|
|
67
|
-
ftruncate(fd, length, callback) { callback(enosys()); },
|
|
68
|
-
lchown(path, uid, gid, callback) { callback(enosys()); },
|
|
69
|
-
link(path, link, callback) { callback(enosys()); },
|
|
70
|
-
lstat(path, callback) { callback(enosys()); },
|
|
71
|
-
mkdir(path, perm, callback) { callback(enosys()); },
|
|
72
|
-
open(path, flags, mode, callback) { callback(enosys()); },
|
|
73
|
-
read(fd, buffer, offset, length, position, callback) { callback(enosys()); },
|
|
74
|
-
readdir(path, callback) { callback(enosys()); },
|
|
75
|
-
readlink(path, callback) { callback(enosys()); },
|
|
76
|
-
rename(from, to, callback) { callback(enosys()); },
|
|
77
|
-
rmdir(path, callback) { callback(enosys()); },
|
|
78
|
-
stat(path, callback) { callback(enosys()); },
|
|
79
|
-
symlink(path, link, callback) { callback(enosys()); },
|
|
80
|
-
truncate(path, length, callback) { callback(enosys()); },
|
|
81
|
-
unlink(path, callback) { callback(enosys()); },
|
|
82
|
-
utimes(path, atime, mtime, callback) { callback(enosys()); },
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
if (!global.process) {
|
|
87
|
-
global.process = {
|
|
88
|
-
getuid() { return -1; },
|
|
89
|
-
getgid() { return -1; },
|
|
90
|
-
geteuid() { return -1; },
|
|
91
|
-
getegid() { return -1; },
|
|
92
|
-
getgroups() { throw enosys(); },
|
|
93
|
-
pid: -1,
|
|
94
|
-
ppid: -1,
|
|
95
|
-
umask() { throw enosys(); },
|
|
96
|
-
cwd() { throw enosys(); },
|
|
97
|
-
chdir() { throw enosys(); },
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
if (!global.crypto) {
|
|
102
|
-
const nodeCrypto = require("crypto");
|
|
103
|
-
global.crypto = {
|
|
104
|
-
getRandomValues(b) {
|
|
105
|
-
nodeCrypto.randomFillSync(b);
|
|
106
|
-
},
|
|
107
|
-
};
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
if (!global.performance) {
|
|
111
|
-
global.performance = {
|
|
112
|
-
now() {
|
|
113
|
-
const [sec, nsec] = process.hrtime();
|
|
114
|
-
return sec * 1000 + nsec / 1000000;
|
|
115
|
-
},
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
if (!global.TextEncoder) {
|
|
120
|
-
global.TextEncoder = require("util").TextEncoder;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
if (!global.TextDecoder) {
|
|
124
|
-
global.TextDecoder = require("util").TextDecoder;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
// End of polyfills for common API.
|
|
128
|
-
|
|
129
|
-
const encoder = new TextEncoder("utf-8");
|
|
130
|
-
const decoder = new TextDecoder("utf-8");
|
|
131
|
-
|
|
132
|
-
global.Go = class {
|
|
133
|
-
constructor() {
|
|
134
|
-
this.argv = ["js"];
|
|
135
|
-
this.env = {};
|
|
136
|
-
this.exit = (code) => {
|
|
137
|
-
if (code !== 0) {
|
|
138
|
-
console.warn("exit code:", code);
|
|
139
|
-
}
|
|
140
|
-
};
|
|
141
|
-
this._exitPromise = new Promise((resolve) => {
|
|
142
|
-
this._resolveExitPromise = resolve;
|
|
143
|
-
});
|
|
144
|
-
this._pendingEvent = null;
|
|
145
|
-
this._scheduledTimeouts = new Map();
|
|
146
|
-
this._nextCallbackTimeoutID = 1;
|
|
147
|
-
|
|
148
|
-
const setInt64 = (addr, v) => {
|
|
149
|
-
this.mem.setUint32(addr + 0, v, true);
|
|
150
|
-
this.mem.setUint32(addr + 4, Math.floor(v / 4294967296), true);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
const getInt64 = (addr) => {
|
|
154
|
-
const low = this.mem.getUint32(addr + 0, true);
|
|
155
|
-
const high = this.mem.getInt32(addr + 4, true);
|
|
156
|
-
return low + high * 4294967296;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
const loadValue = (addr) => {
|
|
160
|
-
const f = this.mem.getFloat64(addr, true);
|
|
161
|
-
if (f === 0) {
|
|
162
|
-
return undefined;
|
|
163
|
-
}
|
|
164
|
-
if (!isNaN(f)) {
|
|
165
|
-
return f;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
const id = this.mem.getUint32(addr, true);
|
|
169
|
-
return this._values[id];
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
const storeValue = (addr, v) => {
|
|
173
|
-
const nanHead = 0x7FF80000;
|
|
174
|
-
|
|
175
|
-
if (typeof v === "number") {
|
|
176
|
-
if (isNaN(v)) {
|
|
177
|
-
this.mem.setUint32(addr + 4, nanHead, true);
|
|
178
|
-
this.mem.setUint32(addr, 0, true);
|
|
179
|
-
return;
|
|
180
|
-
}
|
|
181
|
-
if (v === 0) {
|
|
182
|
-
this.mem.setUint32(addr + 4, nanHead, true);
|
|
183
|
-
this.mem.setUint32(addr, 1, true);
|
|
184
|
-
return;
|
|
185
|
-
}
|
|
186
|
-
this.mem.setFloat64(addr, v, true);
|
|
187
|
-
return;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
switch (v) {
|
|
191
|
-
case undefined:
|
|
192
|
-
this.mem.setFloat64(addr, 0, true);
|
|
193
|
-
return;
|
|
194
|
-
case null:
|
|
195
|
-
this.mem.setUint32(addr + 4, nanHead, true);
|
|
196
|
-
this.mem.setUint32(addr, 2, true);
|
|
197
|
-
return;
|
|
198
|
-
case true:
|
|
199
|
-
this.mem.setUint32(addr + 4, nanHead, true);
|
|
200
|
-
this.mem.setUint32(addr, 3, true);
|
|
201
|
-
return;
|
|
202
|
-
case false:
|
|
203
|
-
this.mem.setUint32(addr + 4, nanHead, true);
|
|
204
|
-
this.mem.setUint32(addr, 4, true);
|
|
205
|
-
return;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
let id = this._ids.get(v);
|
|
209
|
-
if (id === undefined) {
|
|
210
|
-
id = this._idPool.pop();
|
|
211
|
-
if (id === undefined) {
|
|
212
|
-
id = this._values.length;
|
|
213
|
-
}
|
|
214
|
-
this._values[id] = v;
|
|
215
|
-
this._goRefCounts[id] = 0;
|
|
216
|
-
this._ids.set(v, id);
|
|
217
|
-
}
|
|
218
|
-
this._goRefCounts[id]++;
|
|
219
|
-
let typeFlag = 1;
|
|
220
|
-
switch (typeof v) {
|
|
221
|
-
case "string":
|
|
222
|
-
typeFlag = 2;
|
|
223
|
-
break;
|
|
224
|
-
case "symbol":
|
|
225
|
-
typeFlag = 3;
|
|
226
|
-
break;
|
|
227
|
-
case "function":
|
|
228
|
-
typeFlag = 4;
|
|
229
|
-
break;
|
|
230
|
-
}
|
|
231
|
-
this.mem.setUint32(addr + 4, nanHead | typeFlag, true);
|
|
232
|
-
this.mem.setUint32(addr, id, true);
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
const loadSlice = (addr) => {
|
|
236
|
-
const array = getInt64(addr + 0);
|
|
237
|
-
const len = getInt64(addr + 8);
|
|
238
|
-
return new Uint8Array(this._inst.exports.mem.buffer, array, len);
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
const loadSliceOfValues = (addr) => {
|
|
242
|
-
const array = getInt64(addr + 0);
|
|
243
|
-
const len = getInt64(addr + 8);
|
|
244
|
-
const a = new Array(len);
|
|
245
|
-
for (let i = 0; i < len; i++) {
|
|
246
|
-
a[i] = loadValue(array + i * 8);
|
|
247
|
-
}
|
|
248
|
-
return a;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
const loadString = (addr) => {
|
|
252
|
-
const saddr = getInt64(addr + 0);
|
|
253
|
-
const len = getInt64(addr + 8);
|
|
254
|
-
return decoder.decode(new DataView(this._inst.exports.mem.buffer, saddr, len));
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
const timeOrigin = Date.now() - performance.now();
|
|
258
|
-
this.importObject = {
|
|
259
|
-
go: {
|
|
260
|
-
// Go's SP does not change as long as no Go code is running. Some operations (e.g. calls, getters and setters)
|
|
261
|
-
// may synchronously trigger a Go event handler. This makes Go code get executed in the middle of the imported
|
|
262
|
-
// function. A goroutine can switch to a new stack if the current stack is too small (see morestack function).
|
|
263
|
-
// This changes the SP, thus we have to update the SP used by the imported function.
|
|
264
|
-
|
|
265
|
-
// func wasmExit(code int32)
|
|
266
|
-
"runtime.wasmExit": (sp) => {
|
|
267
|
-
const code = this.mem.getInt32(sp + 8, true);
|
|
268
|
-
this.exited = true;
|
|
269
|
-
delete this._inst;
|
|
270
|
-
delete this._values;
|
|
271
|
-
delete this._goRefCounts;
|
|
272
|
-
delete this._ids;
|
|
273
|
-
delete this._idPool;
|
|
274
|
-
this.exit(code);
|
|
275
|
-
},
|
|
276
|
-
|
|
277
|
-
// func wasmWrite(fd uintptr, p unsafe.Pointer, n int32)
|
|
278
|
-
"runtime.wasmWrite": (sp) => {
|
|
279
|
-
const fd = getInt64(sp + 8);
|
|
280
|
-
const p = getInt64(sp + 16);
|
|
281
|
-
const n = this.mem.getInt32(sp + 24, true);
|
|
282
|
-
fs.writeSync(fd, new Uint8Array(this._inst.exports.mem.buffer, p, n));
|
|
283
|
-
},
|
|
284
|
-
|
|
285
|
-
// func resetMemoryDataView()
|
|
286
|
-
"runtime.resetMemoryDataView": (sp) => {
|
|
287
|
-
this.mem = new DataView(this._inst.exports.mem.buffer);
|
|
288
|
-
},
|
|
289
|
-
|
|
290
|
-
// func nanotime1() int64
|
|
291
|
-
"runtime.nanotime1": (sp) => {
|
|
292
|
-
setInt64(sp + 8, (timeOrigin + performance.now()) * 1000000);
|
|
293
|
-
},
|
|
294
|
-
|
|
295
|
-
// func walltime1() (sec int64, nsec int32)
|
|
296
|
-
"runtime.walltime1": (sp) => {
|
|
297
|
-
const msec = (new Date).getTime();
|
|
298
|
-
setInt64(sp + 8, msec / 1000);
|
|
299
|
-
this.mem.setInt32(sp + 16, (msec % 1000) * 1000000, true);
|
|
300
|
-
},
|
|
301
|
-
|
|
302
|
-
// func scheduleTimeoutEvent(delay int64) int32
|
|
303
|
-
"runtime.scheduleTimeoutEvent": (sp) => {
|
|
304
|
-
const id = this._nextCallbackTimeoutID;
|
|
305
|
-
this._nextCallbackTimeoutID++;
|
|
306
|
-
this._scheduledTimeouts.set(id, setTimeout(
|
|
307
|
-
() => {
|
|
308
|
-
this._resume();
|
|
309
|
-
while (this._scheduledTimeouts.has(id)) {
|
|
310
|
-
// for some reason Go failed to register the timeout event, log and try again
|
|
311
|
-
// (temporary workaround for https://github.com/golang/go/issues/28975)
|
|
312
|
-
console.warn("scheduleTimeoutEvent: missed timeout event");
|
|
313
|
-
this._resume();
|
|
314
|
-
}
|
|
315
|
-
},
|
|
316
|
-
getInt64(sp + 8) + 1, // setTimeout has been seen to fire up to 1 millisecond early
|
|
317
|
-
));
|
|
318
|
-
this.mem.setInt32(sp + 16, id, true);
|
|
319
|
-
},
|
|
320
|
-
|
|
321
|
-
// func clearTimeoutEvent(id int32)
|
|
322
|
-
"runtime.clearTimeoutEvent": (sp) => {
|
|
323
|
-
const id = this.mem.getInt32(sp + 8, true);
|
|
324
|
-
clearTimeout(this._scheduledTimeouts.get(id));
|
|
325
|
-
this._scheduledTimeouts.delete(id);
|
|
326
|
-
},
|
|
327
|
-
|
|
328
|
-
// func getRandomData(r []byte)
|
|
329
|
-
"runtime.getRandomData": (sp) => {
|
|
330
|
-
crypto.getRandomValues(loadSlice(sp + 8));
|
|
331
|
-
},
|
|
332
|
-
|
|
333
|
-
// func finalizeRef(v ref)
|
|
334
|
-
"syscall/js.finalizeRef": (sp) => {
|
|
335
|
-
const id = this.mem.getUint32(sp + 8, true);
|
|
336
|
-
this._goRefCounts[id]--;
|
|
337
|
-
if (this._goRefCounts[id] === 0) {
|
|
338
|
-
const v = this._values[id];
|
|
339
|
-
this._values[id] = null;
|
|
340
|
-
this._ids.delete(v);
|
|
341
|
-
this._idPool.push(id);
|
|
342
|
-
}
|
|
343
|
-
},
|
|
344
|
-
|
|
345
|
-
// func stringVal(value string) ref
|
|
346
|
-
"syscall/js.stringVal": (sp) => {
|
|
347
|
-
storeValue(sp + 24, loadString(sp + 8));
|
|
348
|
-
},
|
|
349
|
-
|
|
350
|
-
// func valueGet(v ref, p string) ref
|
|
351
|
-
"syscall/js.valueGet": (sp) => {
|
|
352
|
-
const result = Reflect.get(loadValue(sp + 8), loadString(sp + 16));
|
|
353
|
-
sp = this._inst.exports.getsp(); // see comment above
|
|
354
|
-
storeValue(sp + 32, result);
|
|
355
|
-
},
|
|
356
|
-
|
|
357
|
-
// func valueSet(v ref, p string, x ref)
|
|
358
|
-
"syscall/js.valueSet": (sp) => {
|
|
359
|
-
Reflect.set(loadValue(sp + 8), loadString(sp + 16), loadValue(sp + 32));
|
|
360
|
-
},
|
|
361
|
-
|
|
362
|
-
// func valueDelete(v ref, p string)
|
|
363
|
-
"syscall/js.valueDelete": (sp) => {
|
|
364
|
-
Reflect.deleteProperty(loadValue(sp + 8), loadString(sp + 16));
|
|
365
|
-
},
|
|
366
|
-
|
|
367
|
-
// func valueIndex(v ref, i int) ref
|
|
368
|
-
"syscall/js.valueIndex": (sp) => {
|
|
369
|
-
storeValue(sp + 24, Reflect.get(loadValue(sp + 8), getInt64(sp + 16)));
|
|
370
|
-
},
|
|
371
|
-
|
|
372
|
-
// valueSetIndex(v ref, i int, x ref)
|
|
373
|
-
"syscall/js.valueSetIndex": (sp) => {
|
|
374
|
-
Reflect.set(loadValue(sp + 8), getInt64(sp + 16), loadValue(sp + 24));
|
|
375
|
-
},
|
|
376
|
-
|
|
377
|
-
// func valueCall(v ref, m string, args []ref) (ref, bool)
|
|
378
|
-
"syscall/js.valueCall": (sp) => {
|
|
379
|
-
try {
|
|
380
|
-
const v = loadValue(sp + 8);
|
|
381
|
-
const m = Reflect.get(v, loadString(sp + 16));
|
|
382
|
-
const args = loadSliceOfValues(sp + 32);
|
|
383
|
-
const result = Reflect.apply(m, v, args);
|
|
384
|
-
sp = this._inst.exports.getsp(); // see comment above
|
|
385
|
-
storeValue(sp + 56, result);
|
|
386
|
-
this.mem.setUint8(sp + 64, 1);
|
|
387
|
-
} catch (err) {
|
|
388
|
-
storeValue(sp + 56, err);
|
|
389
|
-
this.mem.setUint8(sp + 64, 0);
|
|
390
|
-
}
|
|
391
|
-
},
|
|
392
|
-
|
|
393
|
-
// func valueInvoke(v ref, args []ref) (ref, bool)
|
|
394
|
-
"syscall/js.valueInvoke": (sp) => {
|
|
395
|
-
try {
|
|
396
|
-
const v = loadValue(sp + 8);
|
|
397
|
-
const args = loadSliceOfValues(sp + 16);
|
|
398
|
-
const result = Reflect.apply(v, undefined, args);
|
|
399
|
-
sp = this._inst.exports.getsp(); // see comment above
|
|
400
|
-
storeValue(sp + 40, result);
|
|
401
|
-
this.mem.setUint8(sp + 48, 1);
|
|
402
|
-
} catch (err) {
|
|
403
|
-
storeValue(sp + 40, err);
|
|
404
|
-
this.mem.setUint8(sp + 48, 0);
|
|
405
|
-
}
|
|
406
|
-
},
|
|
407
|
-
|
|
408
|
-
// func valueNew(v ref, args []ref) (ref, bool)
|
|
409
|
-
"syscall/js.valueNew": (sp) => {
|
|
410
|
-
try {
|
|
411
|
-
const v = loadValue(sp + 8);
|
|
412
|
-
const args = loadSliceOfValues(sp + 16);
|
|
413
|
-
const result = Reflect.construct(v, args);
|
|
414
|
-
sp = this._inst.exports.getsp(); // see comment above
|
|
415
|
-
storeValue(sp + 40, result);
|
|
416
|
-
this.mem.setUint8(sp + 48, 1);
|
|
417
|
-
} catch (err) {
|
|
418
|
-
storeValue(sp + 40, err);
|
|
419
|
-
this.mem.setUint8(sp + 48, 0);
|
|
420
|
-
}
|
|
421
|
-
},
|
|
422
|
-
|
|
423
|
-
// func valueLength(v ref) int
|
|
424
|
-
"syscall/js.valueLength": (sp) => {
|
|
425
|
-
setInt64(sp + 16, parseInt(loadValue(sp + 8).length));
|
|
426
|
-
},
|
|
427
|
-
|
|
428
|
-
// valuePrepareString(v ref) (ref, int)
|
|
429
|
-
"syscall/js.valuePrepareString": (sp) => {
|
|
430
|
-
const str = encoder.encode(String(loadValue(sp + 8)));
|
|
431
|
-
storeValue(sp + 16, str);
|
|
432
|
-
setInt64(sp + 24, str.length);
|
|
433
|
-
},
|
|
434
|
-
|
|
435
|
-
// valueLoadString(v ref, b []byte)
|
|
436
|
-
"syscall/js.valueLoadString": (sp) => {
|
|
437
|
-
const str = loadValue(sp + 8);
|
|
438
|
-
loadSlice(sp + 16).set(str);
|
|
439
|
-
},
|
|
440
|
-
|
|
441
|
-
// func valueInstanceOf(v ref, t ref) bool
|
|
442
|
-
"syscall/js.valueInstanceOf": (sp) => {
|
|
443
|
-
this.mem.setUint8(sp + 24, loadValue(sp + 8) instanceof loadValue(sp + 16));
|
|
444
|
-
},
|
|
445
|
-
|
|
446
|
-
// func copyBytesToGo(dst []byte, src ref) (int, bool)
|
|
447
|
-
"syscall/js.copyBytesToGo": (sp) => {
|
|
448
|
-
const dst = loadSlice(sp + 8);
|
|
449
|
-
const src = loadValue(sp + 32);
|
|
450
|
-
if (!(src instanceof Uint8Array)) {
|
|
451
|
-
this.mem.setUint8(sp + 48, 0);
|
|
452
|
-
return;
|
|
453
|
-
}
|
|
454
|
-
const toCopy = src.subarray(0, dst.length);
|
|
455
|
-
dst.set(toCopy);
|
|
456
|
-
setInt64(sp + 40, toCopy.length);
|
|
457
|
-
this.mem.setUint8(sp + 48, 1);
|
|
458
|
-
},
|
|
459
|
-
|
|
460
|
-
// func copyBytesToJS(dst ref, src []byte) (int, bool)
|
|
461
|
-
"syscall/js.copyBytesToJS": (sp) => {
|
|
462
|
-
const dst = loadValue(sp + 8);
|
|
463
|
-
const src = loadSlice(sp + 16);
|
|
464
|
-
if (!(dst instanceof Uint8Array)) {
|
|
465
|
-
this.mem.setUint8(sp + 48, 0);
|
|
466
|
-
return;
|
|
467
|
-
}
|
|
468
|
-
const toCopy = src.subarray(0, dst.length);
|
|
469
|
-
dst.set(toCopy);
|
|
470
|
-
setInt64(sp + 40, toCopy.length);
|
|
471
|
-
this.mem.setUint8(sp + 48, 1);
|
|
472
|
-
},
|
|
473
|
-
|
|
474
|
-
"debug": (value) => {
|
|
475
|
-
console.log(value);
|
|
476
|
-
},
|
|
477
|
-
}
|
|
478
|
-
};
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
async run(instance) {
|
|
482
|
-
this._inst = instance;
|
|
483
|
-
this.mem = new DataView(this._inst.exports.mem.buffer);
|
|
484
|
-
this._values = [ // JS values that Go currently has references to, indexed by reference id
|
|
485
|
-
NaN,
|
|
486
|
-
0,
|
|
487
|
-
null,
|
|
488
|
-
true,
|
|
489
|
-
false,
|
|
490
|
-
global,
|
|
491
|
-
this,
|
|
492
|
-
];
|
|
493
|
-
this._goRefCounts = []; // number of references that Go has to a JS value, indexed by reference id
|
|
494
|
-
this._ids = new Map(); // mapping from JS values to reference ids
|
|
495
|
-
this._idPool = []; // unused ids that have been garbage collected
|
|
496
|
-
this.exited = false; // whether the Go program has exited
|
|
497
|
-
|
|
498
|
-
// Pass command line arguments and environment variables to WebAssembly by writing them to the linear memory.
|
|
499
|
-
let offset = 4096;
|
|
500
|
-
|
|
501
|
-
const strPtr = (str) => {
|
|
502
|
-
const ptr = offset;
|
|
503
|
-
const bytes = encoder.encode(str + "\0");
|
|
504
|
-
new Uint8Array(this.mem.buffer, offset, bytes.length).set(bytes);
|
|
505
|
-
offset += bytes.length;
|
|
506
|
-
if (offset % 8 !== 0) {
|
|
507
|
-
offset += 8 - (offset % 8);
|
|
508
|
-
}
|
|
509
|
-
return ptr;
|
|
510
|
-
};
|
|
511
|
-
|
|
512
|
-
const argc = this.argv.length;
|
|
513
|
-
|
|
514
|
-
const argvPtrs = [];
|
|
515
|
-
this.argv.forEach((arg) => {
|
|
516
|
-
argvPtrs.push(strPtr(arg));
|
|
517
|
-
});
|
|
518
|
-
argvPtrs.push(0);
|
|
519
|
-
|
|
520
|
-
const keys = Object.keys(this.env).sort();
|
|
521
|
-
keys.forEach((key) => {
|
|
522
|
-
argvPtrs.push(strPtr(`${key}=${this.env[key]}`));
|
|
523
|
-
});
|
|
524
|
-
argvPtrs.push(0);
|
|
525
|
-
|
|
526
|
-
const argv = offset;
|
|
527
|
-
argvPtrs.forEach((ptr) => {
|
|
528
|
-
this.mem.setUint32(offset, ptr, true);
|
|
529
|
-
this.mem.setUint32(offset + 4, 0, true);
|
|
530
|
-
offset += 8;
|
|
531
|
-
});
|
|
532
|
-
|
|
533
|
-
this._inst.exports.run(argc, argv);
|
|
534
|
-
if (this.exited) {
|
|
535
|
-
this._resolveExitPromise();
|
|
536
|
-
}
|
|
537
|
-
await this._exitPromise;
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
_resume() {
|
|
541
|
-
if (this.exited) {
|
|
542
|
-
throw new Error("Go program has already exited");
|
|
543
|
-
}
|
|
544
|
-
this._inst.exports.resume();
|
|
545
|
-
if (this.exited) {
|
|
546
|
-
this._resolveExitPromise();
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
_makeFuncWrapper(id) {
|
|
551
|
-
const go = this;
|
|
552
|
-
return function () {
|
|
553
|
-
const event = { id: id, this: this, args: arguments };
|
|
554
|
-
go._pendingEvent = event;
|
|
555
|
-
go._resume();
|
|
556
|
-
return event.result;
|
|
557
|
-
};
|
|
558
|
-
}
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
if (
|
|
562
|
-
global.require &&
|
|
563
|
-
global.require.main === module &&
|
|
564
|
-
global.process &&
|
|
565
|
-
global.process.versions &&
|
|
566
|
-
!global.process.versions.electron
|
|
567
|
-
) {
|
|
568
|
-
if (process.argv.length < 3) {
|
|
569
|
-
console.error("usage: go_js_wasm_exec [wasm binary] [arguments]");
|
|
570
|
-
process.exit(1);
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
const go = new Go();
|
|
574
|
-
go.argv = process.argv.slice(2);
|
|
575
|
-
go.env = Object.assign({ TMPDIR: require("os").tmpdir() }, process.env);
|
|
576
|
-
go.exit = process.exit;
|
|
577
|
-
WebAssembly.instantiate(fs.readFileSync(process.argv[2]), go.importObject).then((result) => {
|
|
578
|
-
process.on("exit", (code) => { // Node.js exits if no event handler is pending
|
|
579
|
-
if (code === 0 && !go.exited) {
|
|
580
|
-
// deadlock, make Go print error and stack traces
|
|
581
|
-
go._pendingEvent = { id: 0 };
|
|
582
|
-
go._resume();
|
|
583
|
-
}
|
|
584
|
-
});
|
|
585
|
-
return go.run(result.instance);
|
|
586
|
-
}).catch((err) => {
|
|
587
|
-
console.error(err);
|
|
588
|
-
process.exit(1);
|
|
589
|
-
});
|
|
590
|
-
}
|
|
591
|
-
})();
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist-android/static//346/224/266/350/264/271/346/261/207/346/200/273/350/241/250.png
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|