create-jsview 2.3.0 → 2.3.728-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/template-react-webpack/package-lock-json +6 -6
- package/template-react-webpack/package.json +2 -2
- package/template-vue-vite/package-lock-json +6 -85
- package/template-vue-vite/package.json +2 -2
- package/template-vue-vite/src/appConfig/jsview.config.mjs +8 -2
- package/template-vue-vite/src/featureEnables.tsx +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-jsview",
|
|
3
|
-
"version": "2.3.0",
|
|
3
|
+
"version": "2.3.728-alpha.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"bin": {
|
|
6
6
|
"create-jsview": "index.mjs",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"prompts": "^2.4.2"
|
|
30
30
|
},
|
|
31
31
|
"template": {
|
|
32
|
-
"vue": "2.3.0",
|
|
33
|
-
"react": "2.
|
|
32
|
+
"vue": "2.3.728-alpha.0",
|
|
33
|
+
"react": "2.3.728-alpha.0"
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"version": "0.0.0",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@shijiu/jsview": "2.
|
|
13
|
-
"@shijiu/jsview-react": "2.
|
|
12
|
+
"@shijiu/jsview": "2.3.728-alpha.0",
|
|
13
|
+
"@shijiu/jsview-react": "2.3.728-alpha.0",
|
|
14
14
|
"gifuct-js": "^2.1.2",
|
|
15
15
|
"postcss-import-sync": "^7.1.4",
|
|
16
16
|
"postcss-js": "^4.0.0",
|
|
@@ -3034,7 +3034,7 @@
|
|
|
3034
3034
|
"integrity": "sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg=="
|
|
3035
3035
|
},
|
|
3036
3036
|
"node_modules/@shijiu/jsview": {
|
|
3037
|
-
"version": "2.
|
|
3037
|
+
"version": "2.3.728-alpha.0",
|
|
3038
3038
|
"license": "MIT",
|
|
3039
3039
|
"dependencies": {
|
|
3040
3040
|
"gifuct-js": "2.1.2",
|
|
@@ -3053,7 +3053,7 @@
|
|
|
3053
3053
|
"integrity": ""
|
|
3054
3054
|
},
|
|
3055
3055
|
"node_modules/@shijiu/jsview-react": {
|
|
3056
|
-
"version": "2.
|
|
3056
|
+
"version": "2.3.728-alpha.0",
|
|
3057
3057
|
"license": "MIT",
|
|
3058
3058
|
"dependencies": {
|
|
3059
3059
|
"qr.js": "0.0.0"
|
|
@@ -17814,7 +17814,7 @@
|
|
|
17814
17814
|
"integrity": "sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg=="
|
|
17815
17815
|
},
|
|
17816
17816
|
"@shijiu/jsview": {
|
|
17817
|
-
"version": "2.
|
|
17817
|
+
"version": "2.3.728-alpha.0",
|
|
17818
17818
|
"requires": {
|
|
17819
17819
|
"gifuct-js": "2.1.2",
|
|
17820
17820
|
"postcss-import-sync": "7.1.4",
|
|
@@ -17824,7 +17824,7 @@
|
|
|
17824
17824
|
"integrity": ""
|
|
17825
17825
|
},
|
|
17826
17826
|
"@shijiu/jsview-react": {
|
|
17827
|
-
"version": "2.
|
|
17827
|
+
"version": "2.3.728-alpha.0",
|
|
17828
17828
|
"requires": {
|
|
17829
17829
|
"qr.js": "0.0.0"
|
|
17830
17830
|
},
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"start": "react-scripts start"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@shijiu/jsview": "2.
|
|
14
|
-
"@shijiu/jsview-react": "2.
|
|
13
|
+
"@shijiu/jsview": "2.3.728-alpha.0",
|
|
14
|
+
"@shijiu/jsview-react": "2.3.728-alpha.0",
|
|
15
15
|
"react": "18.2.0",
|
|
16
16
|
"react-dom": "18.2.0",
|
|
17
17
|
"react-router": "5.3.4",
|
|
@@ -9,11 +9,8 @@
|
|
|
9
9
|
"version": "0.0.0",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@shijiu/jsview": "2.3.0",
|
|
13
|
-
"@shijiu/jsview-vue": "2.3.0",
|
|
14
|
-
"gifuct-js": "^2.1.2",
|
|
15
|
-
"postcss-js": "^4.0.0",
|
|
16
|
-
"qr.js": "^0.0.0",
|
|
12
|
+
"@shijiu/jsview": "2.3.728-alpha.0",
|
|
13
|
+
"@shijiu/jsview-vue": "2.3.728-alpha.0",
|
|
17
14
|
"vue": "3.2.45",
|
|
18
15
|
"vue-router": "4.1.6"
|
|
19
16
|
},
|
|
@@ -399,7 +396,7 @@
|
|
|
399
396
|
}
|
|
400
397
|
},
|
|
401
398
|
"node_modules/@shijiu/jsview": {
|
|
402
|
-
"version": "2.3.0",
|
|
399
|
+
"version": "2.3.728-alpha.0",
|
|
403
400
|
"license": "MIT",
|
|
404
401
|
"dependencies": {
|
|
405
402
|
"gifuct-js": "2.1.2",
|
|
@@ -417,12 +414,11 @@
|
|
|
417
414
|
"integrity": ""
|
|
418
415
|
},
|
|
419
416
|
"node_modules/@shijiu/jsview-vue": {
|
|
420
|
-
"version": "2.3.0",
|
|
417
|
+
"version": "2.3.728-alpha.0",
|
|
421
418
|
"license": "MIT",
|
|
422
419
|
"dependencies": {
|
|
423
420
|
"qr.js": "0.0.0"
|
|
424
421
|
},
|
|
425
|
-
"devDependencies": {},
|
|
426
422
|
"engines": {
|
|
427
423
|
"node": ">=16.0.0"
|
|
428
424
|
},
|
|
@@ -619,14 +615,6 @@
|
|
|
619
615
|
"balanced-match": "^1.0.0"
|
|
620
616
|
}
|
|
621
617
|
},
|
|
622
|
-
"node_modules/camelcase-css": {
|
|
623
|
-
"version": "2.0.1",
|
|
624
|
-
"resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",
|
|
625
|
-
"integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==",
|
|
626
|
-
"engines": {
|
|
627
|
-
"node": ">= 6"
|
|
628
|
-
}
|
|
629
|
-
},
|
|
630
618
|
"node_modules/csstype": {
|
|
631
619
|
"version": "2.6.21",
|
|
632
620
|
"resolved": "https://registry.npmmirror.com/csstype/-/csstype-2.6.21.tgz",
|
|
@@ -700,14 +688,6 @@
|
|
|
700
688
|
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
|
|
701
689
|
"dev": true
|
|
702
690
|
},
|
|
703
|
-
"node_modules/gifuct-js": {
|
|
704
|
-
"version": "2.1.2",
|
|
705
|
-
"resolved": "https://registry.npmjs.org/gifuct-js/-/gifuct-js-2.1.2.tgz",
|
|
706
|
-
"integrity": "sha512-rI2asw77u0mGgwhV3qA+OEgYqaDn5UNqgs+Bx0FGwSpuqfYn+Ir6RQY5ENNQ8SbIiG/m5gVa7CD5RriO4f4Lsg==",
|
|
707
|
-
"dependencies": {
|
|
708
|
-
"js-binary-schema-parser": "^2.0.3"
|
|
709
|
-
}
|
|
710
|
-
},
|
|
711
691
|
"node_modules/has": {
|
|
712
692
|
"version": "1.0.3",
|
|
713
693
|
"resolved": "https://registry.npmmirror.com/has/-/has-1.0.3.tgz",
|
|
@@ -738,11 +718,6 @@
|
|
|
738
718
|
"has": "^1.0.3"
|
|
739
719
|
}
|
|
740
720
|
},
|
|
741
|
-
"node_modules/js-binary-schema-parser": {
|
|
742
|
-
"version": "2.0.3",
|
|
743
|
-
"resolved": "https://registry.npmjs.org/js-binary-schema-parser/-/js-binary-schema-parser-2.0.3.tgz",
|
|
744
|
-
"integrity": "sha512-xezGJmOb4lk/M1ZZLTR/jaBHQ4gG/lqQnJqdIv4721DMggsa1bDVlHXNeHYogaIEHD9vCRv0fcL4hMA+Coarkg=="
|
|
745
|
-
},
|
|
746
721
|
"node_modules/magic-string": {
|
|
747
722
|
"version": "0.25.9",
|
|
748
723
|
"resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.25.9.tgz",
|
|
@@ -804,29 +779,6 @@
|
|
|
804
779
|
"node": "^10 || ^12 || >=14"
|
|
805
780
|
}
|
|
806
781
|
},
|
|
807
|
-
"node_modules/postcss-js": {
|
|
808
|
-
"version": "4.0.0",
|
|
809
|
-
"resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.0.tgz",
|
|
810
|
-
"integrity": "sha512-77QESFBwgX4irogGVPgQ5s07vLvFqWr228qZY+w6lW599cRlK/HmnlivnnVUxkjHnCu4J16PDMHcH+e+2HbvTQ==",
|
|
811
|
-
"dependencies": {
|
|
812
|
-
"camelcase-css": "^2.0.1"
|
|
813
|
-
},
|
|
814
|
-
"engines": {
|
|
815
|
-
"node": "^12 || ^14 || >= 16"
|
|
816
|
-
},
|
|
817
|
-
"funding": {
|
|
818
|
-
"type": "opencollective",
|
|
819
|
-
"url": "https://opencollective.com/postcss/"
|
|
820
|
-
},
|
|
821
|
-
"peerDependencies": {
|
|
822
|
-
"postcss": "^8.3.3"
|
|
823
|
-
}
|
|
824
|
-
},
|
|
825
|
-
"node_modules/qr.js": {
|
|
826
|
-
"version": "0.0.0",
|
|
827
|
-
"resolved": "https://registry.npmjs.org/qr.js/-/qr.js-0.0.0.tgz",
|
|
828
|
-
"integrity": "sha512-c4iYnWb+k2E+vYpRimHqSu575b1/wKl4XFeJGpFmrJQz5I88v9aY2czh7s0w36srfCM1sXgC/xpoJz5dJfq+OQ=="
|
|
829
|
-
},
|
|
830
782
|
"node_modules/resolve": {
|
|
831
783
|
"version": "1.22.1",
|
|
832
784
|
"resolved": "https://registry.npmmirror.com/resolve/-/resolve-1.22.1.tgz",
|
|
@@ -1161,7 +1113,7 @@
|
|
|
1161
1113
|
"optional": true
|
|
1162
1114
|
},
|
|
1163
1115
|
"@shijiu/jsview": {
|
|
1164
|
-
"version": "2.3.0",
|
|
1116
|
+
"version": "2.3.728-alpha.0",
|
|
1165
1117
|
"requires": {
|
|
1166
1118
|
"gifuct-js": "2.1.2",
|
|
1167
1119
|
"postcss-js": "4.0.0"
|
|
@@ -1170,7 +1122,7 @@
|
|
|
1170
1122
|
"integrity": ""
|
|
1171
1123
|
},
|
|
1172
1124
|
"@shijiu/jsview-vue": {
|
|
1173
|
-
"version": "2.3.0",
|
|
1125
|
+
"version": "2.3.728-alpha.0",
|
|
1174
1126
|
"requires": {
|
|
1175
1127
|
"qr.js": "0.0.0"
|
|
1176
1128
|
},
|
|
@@ -1358,11 +1310,6 @@
|
|
|
1358
1310
|
"balanced-match": "^1.0.0"
|
|
1359
1311
|
}
|
|
1360
1312
|
},
|
|
1361
|
-
"camelcase-css": {
|
|
1362
|
-
"version": "2.0.1",
|
|
1363
|
-
"resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",
|
|
1364
|
-
"integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA=="
|
|
1365
|
-
},
|
|
1366
1313
|
"csstype": {
|
|
1367
1314
|
"version": "2.6.21",
|
|
1368
1315
|
"resolved": "https://registry.npmmirror.com/csstype/-/csstype-2.6.21.tgz",
|
|
@@ -1422,14 +1369,6 @@
|
|
|
1422
1369
|
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
|
|
1423
1370
|
"dev": true
|
|
1424
1371
|
},
|
|
1425
|
-
"gifuct-js": {
|
|
1426
|
-
"version": "2.1.2",
|
|
1427
|
-
"resolved": "https://registry.npmjs.org/gifuct-js/-/gifuct-js-2.1.2.tgz",
|
|
1428
|
-
"integrity": "sha512-rI2asw77u0mGgwhV3qA+OEgYqaDn5UNqgs+Bx0FGwSpuqfYn+Ir6RQY5ENNQ8SbIiG/m5gVa7CD5RriO4f4Lsg==",
|
|
1429
|
-
"requires": {
|
|
1430
|
-
"js-binary-schema-parser": "^2.0.3"
|
|
1431
|
-
}
|
|
1432
|
-
},
|
|
1433
1372
|
"has": {
|
|
1434
1373
|
"version": "1.0.3",
|
|
1435
1374
|
"resolved": "https://registry.npmmirror.com/has/-/has-1.0.3.tgz",
|
|
@@ -1454,11 +1393,6 @@
|
|
|
1454
1393
|
"has": "^1.0.3"
|
|
1455
1394
|
}
|
|
1456
1395
|
},
|
|
1457
|
-
"js-binary-schema-parser": {
|
|
1458
|
-
"version": "2.0.3",
|
|
1459
|
-
"resolved": "https://registry.npmjs.org/js-binary-schema-parser/-/js-binary-schema-parser-2.0.3.tgz",
|
|
1460
|
-
"integrity": "sha512-xezGJmOb4lk/M1ZZLTR/jaBHQ4gG/lqQnJqdIv4721DMggsa1bDVlHXNeHYogaIEHD9vCRv0fcL4hMA+Coarkg=="
|
|
1461
|
-
},
|
|
1462
1396
|
"magic-string": {
|
|
1463
1397
|
"version": "0.25.9",
|
|
1464
1398
|
"resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.25.9.tgz",
|
|
@@ -1508,19 +1442,6 @@
|
|
|
1508
1442
|
"source-map-js": "^1.0.2"
|
|
1509
1443
|
}
|
|
1510
1444
|
},
|
|
1511
|
-
"postcss-js": {
|
|
1512
|
-
"version": "4.0.0",
|
|
1513
|
-
"resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.0.tgz",
|
|
1514
|
-
"integrity": "sha512-77QESFBwgX4irogGVPgQ5s07vLvFqWr228qZY+w6lW599cRlK/HmnlivnnVUxkjHnCu4J16PDMHcH+e+2HbvTQ==",
|
|
1515
|
-
"requires": {
|
|
1516
|
-
"camelcase-css": "^2.0.1"
|
|
1517
|
-
}
|
|
1518
|
-
},
|
|
1519
|
-
"qr.js": {
|
|
1520
|
-
"version": "0.0.0",
|
|
1521
|
-
"resolved": "https://registry.npmjs.org/qr.js/-/qr.js-0.0.0.tgz",
|
|
1522
|
-
"integrity": "sha512-c4iYnWb+k2E+vYpRimHqSu575b1/wKl4XFeJGpFmrJQz5I88v9aY2czh7s0w36srfCM1sXgC/xpoJz5dJfq+OQ=="
|
|
1523
|
-
},
|
|
1524
1445
|
"resolve": {
|
|
1525
1446
|
"version": "1.22.1",
|
|
1526
1447
|
"resolved": "https://registry.npmmirror.com/resolve/-/resolve-1.22.1.tgz",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"tool": "node node_modules/@shijiu/jsview/tools/jsview-run-tool.mjs --framework=vue"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@shijiu/jsview": "2.3.0",
|
|
16
|
-
"@shijiu/jsview-vue": "2.3.0",
|
|
15
|
+
"@shijiu/jsview": "2.3.728-alpha.0",
|
|
16
|
+
"@shijiu/jsview-vue": "2.3.728-alpha.0",
|
|
17
17
|
"vue": "3.2.45",
|
|
18
18
|
"vue-router": "4.1.6"
|
|
19
19
|
},
|
|
@@ -36,6 +36,10 @@ export default {
|
|
|
36
36
|
displayScale: 1.5
|
|
37
37
|
},
|
|
38
38
|
|
|
39
|
+
touchConfig: {
|
|
40
|
+
slop: undefined, // 触摸滑动距离阈值,单位px, 默认值为undefined,表示使用JsView系统默认
|
|
41
|
+
},
|
|
42
|
+
|
|
39
43
|
// (可选配置)按键接受的扩展,例如将静音按键(JAVA键值为164)映射为JS键值20001,
|
|
40
44
|
// PS:注意'164'的引号
|
|
41
45
|
bindKeys: {
|
|
@@ -47,9 +51,11 @@ export default {
|
|
|
47
51
|
pickKeys: {
|
|
48
52
|
|
|
49
53
|
},
|
|
54
|
+
|
|
55
|
+
// 废弃声明, 因为syncKeys处理太容易引起ANR所以废弃
|
|
50
56
|
// 按键从native发给js后,等js结束,并根据js的返回值决定标识是否为'已使用'(consumed)
|
|
51
|
-
syncKeys: {
|
|
52
|
-
}
|
|
57
|
+
// syncKeys: {
|
|
58
|
+
// }
|
|
53
59
|
}
|
|
54
60
|
}
|
|
55
61
|
}
|