tplus-portaltouch 3.26.2 → 3.27.4

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 (99) hide show
  1. package/package.json +37 -37
  2. package/tsconfig.json +14 -14
  3. package/dist/api/ModifyPassApi.js +0 -165
  4. package/dist/api/ModifyPassApi.js.map +0 -1
  5. package/dist/components/dutyandsettle/dutysettlebill.js +0 -966
  6. package/dist/components/dutyandsettle/dutysettlebill.js.map +0 -1
  7. package/dist/components/dutyandsettle/dutysettlehistory.js +0 -247
  8. package/dist/components/dutyandsettle/dutysettlehistory.js.map +0 -1
  9. package/dist/components/dutyandsettle/index.js +0 -25
  10. package/dist/components/dutyandsettle/index.js.map +0 -1
  11. package/dist/components/dutyandsettle/tipContent.js +0 -101
  12. package/dist/components/dutyandsettle/tipContent.js.map +0 -1
  13. package/dist/components/header/customUse.js +0 -79
  14. package/dist/components/header/customUse.js.map +0 -1
  15. package/dist/components/header/headContent.js +0 -888
  16. package/dist/components/header/headContent.js.map +0 -1
  17. package/dist/components/header/index.js +0 -102
  18. package/dist/components/header/index.js.map +0 -1
  19. package/dist/components/header/offlinePointDesc.js +0 -7
  20. package/dist/components/header/offlinePointDesc.js.map +0 -1
  21. package/dist/components/header/style.less +0 -457
  22. package/dist/components/header/themeModal.js +0 -135
  23. package/dist/components/header/themeModal.js.map +0 -1
  24. package/dist/components/header/uploadList.js +0 -271
  25. package/dist/components/header/uploadList.js.map +0 -1
  26. package/dist/components/header/vertical-touch.js +0 -285
  27. package/dist/components/header/vertical-touch.js.map +0 -1
  28. package/dist/components/header/vertical-touch.less +0 -229
  29. package/dist/containers/Main/index.js +0 -662
  30. package/dist/containers/Main/index.js.map +0 -1
  31. package/dist/dutyService/index.js +0 -276
  32. package/dist/dutyService/index.js.map +0 -1
  33. package/dist/index.js +0 -40
  34. package/dist/index.js.map +0 -1
  35. package/dist/middleWare/index.js +0 -75
  36. package/dist/middleWare/index.js.map +0 -1
  37. package/dist/modalRouter/StaticRouter.js +0 -134
  38. package/dist/modalRouter/StaticRouter.js.map +0 -1
  39. package/dist/modalRouter/index.js +0 -141
  40. package/dist/modalRouter/index.js.map +0 -1
  41. package/dist/pages/Modal/index.js +0 -71
  42. package/dist/pages/Modal/index.js.map +0 -1
  43. package/dist/pages/Modal/style.less +0 -5
  44. package/dist/pages/Portalbc/data.js +0 -702
  45. package/dist/pages/Portalbc/data.js.map +0 -1
  46. package/dist/pages/Portalbc/horizontalPadPortal.js +0 -129
  47. package/dist/pages/Portalbc/horizontalPadPortal.js.map +0 -1
  48. package/dist/pages/Portalbc/horizontalSunMiPortal.js +0 -130
  49. package/dist/pages/Portalbc/horizontalSunMiPortal.js.map +0 -1
  50. package/dist/pages/Portalbc/index.js +0 -1470
  51. package/dist/pages/Portalbc/index.js.map +0 -1
  52. package/dist/pages/Portalbc/index.less +0 -813
  53. package/dist/pages/Portalbc/onframe.js +0 -256
  54. package/dist/pages/Portalbc/onframe.js.map +0 -1
  55. package/dist/pages/Portalbc/verticalPortal.js +0 -134
  56. package/dist/pages/Portalbc/verticalPortal.js.map +0 -1
  57. package/dist/pages/dutyandsettle/AuthProcess.js +0 -42
  58. package/dist/pages/dutyandsettle/AuthProcess.js.map +0 -1
  59. package/dist/pages/dutyandsettle/index.js +0 -37
  60. package/dist/pages/dutyandsettle/index.js.map +0 -1
  61. package/dist/pages/dutyandsettle/index.less +0 -529
  62. package/dist/pages/dutyandsettle/offDuty.js +0 -571
  63. package/dist/pages/dutyandsettle/offDuty.js.map +0 -1
  64. package/dist/pages/dutyandsettle/onDialy.js +0 -182
  65. package/dist/pages/dutyandsettle/onDialy.js.map +0 -1
  66. package/dist/pages/dutyandsettle/onDuty.js +0 -242
  67. package/dist/pages/dutyandsettle/onDuty.js.map +0 -1
  68. package/dist/pages/dutyandsettle/onUnDaily.js +0 -138
  69. package/dist/pages/dutyandsettle/onUnDaily.js.map +0 -1
  70. package/dist/pages/dutyandsettle/settleDialy.js +0 -116
  71. package/dist/pages/dutyandsettle/settleDialy.js.map +0 -1
  72. package/dist/pages/index.js +0 -54
  73. package/dist/pages/index.js.map +0 -1
  74. package/dist/pages/modifyPass/index.js +0 -174
  75. package/dist/pages/modifyPass/index.js.map +0 -1
  76. package/dist/pages/modifyPass/style.less +0 -71
  77. package/dist/pages/notFound/index.js +0 -85
  78. package/dist/pages/notFound/index.js.map +0 -1
  79. package/dist/pages/notFound/style.less +0 -17
  80. package/dist/stores/ModalRouter.js +0 -182
  81. package/dist/stores/ModalRouter.js.map +0 -1
  82. package/dist/stores/ModifyPassStore.js +0 -211
  83. package/dist/stores/ModifyPassStore.js.map +0 -1
  84. package/dist/stores/PortalStore.js +0 -285
  85. package/dist/stores/PortalStore.js.map +0 -1
  86. package/dist/stores/PosLoginStore.js +0 -108
  87. package/dist/stores/PosLoginStore.js.map +0 -1
  88. package/dist/stores/billHistoryStore.js +0 -114
  89. package/dist/stores/billHistoryStore.js.map +0 -1
  90. package/dist/stores/dutySettleStore.js +0 -115
  91. package/dist/stores/dutySettleStore.js.map +0 -1
  92. package/dist/stores/index.js +0 -36
  93. package/dist/stores/index.js.map +0 -1
  94. package/dist/utils/PrintProcess.js +0 -112
  95. package/dist/utils/PrintProcess.js.map +0 -1
  96. package/dist/utils/index.js +0 -93
  97. package/dist/utils/index.js.map +0 -1
  98. package/dist/utils/networkCheck.js +0 -33
  99. package/dist/utils/networkCheck.js.map +0 -1
package/package.json CHANGED
@@ -1,37 +1,37 @@
1
- {
2
- "name": "tplus-portaltouch",
3
- "version": "3.26.2",
4
- "description": "touch protal",
5
- "main": "dist/index.js",
6
- "scripts": {
7
- "start": "node node_modules/mutants-devtools/bin/start",
8
- "build": "rm -rf dist && node node_modules/mutants-devtools/bin/build",
9
- "dev": "node node_modules/mutants-devtools/bin/dev ../touch",
10
- "pub": "npm run build && npm publish --registry https://registry.npmjs.org && cnpm sync tplus-portaltouch",
11
- "test": "set DEBUG=tplus:*,-not_this && mocha"
12
- },
13
- "keywords": [
14
- "tplus",
15
- "pos"
16
- ],
17
- "author": "tplus",
18
- "license": "ISC",
19
- "dependencies": {
20
- "antd": "4.10.3",
21
- "react": "^16.8.6",
22
- "rxjs": "^6.5.4"
23
- },
24
- "devDependencies": {
25
- "babel-eslint": "^8.0.3",
26
- "babel-plugin-import-bee": "^1.1.0",
27
- "eslint": "^4.13.1",
28
- "eslint-plugin-react": "^7.12.4",
29
- "mocha": "^5.2.0",
30
- "mutants-devtools": "^1.0.0",
31
- "mutants-microfx": "^1.0.0",
32
- "tplus-api": "~5.0.1",
33
- "tplus-components": "~3.26.1",
34
- "tplus-components-touch": "~3.26.1",
35
- "tplus-poslogin": "~3.26.1"
36
- }
37
- }
1
+ {
2
+ "name": "tplus-portaltouch",
3
+ "version": "3.27.4",
4
+ "description": "touch protal",
5
+ "main": "dist/index.js",
6
+ "scripts": {
7
+ "start": "node node_modules/mutants-devtools/bin/start",
8
+ "build": "rm -rf dist && node node_modules/mutants-devtools/bin/build",
9
+ "dev": "node node_modules/mutants-devtools/bin/dev ../touch",
10
+ "pub": "npm run build && npm publish --registry https://registry.npmjs.org && cnpm sync tplus-portaltouch",
11
+ "test": "set DEBUG=tplus:*,-not_this && mocha"
12
+ },
13
+ "keywords": [
14
+ "tplus",
15
+ "pos"
16
+ ],
17
+ "author": "tplus",
18
+ "license": "ISC",
19
+ "dependencies": {
20
+ "antd": "4.10.3",
21
+ "react": "^16.8.6",
22
+ "rxjs": "^6.5.4"
23
+ },
24
+ "devDependencies": {
25
+ "babel-eslint": "^8.0.3",
26
+ "babel-plugin-import-bee": "^1.1.0",
27
+ "eslint": "^4.13.1",
28
+ "eslint-plugin-react": "^7.12.4",
29
+ "mocha": "^5.2.0",
30
+ "mutants-devtools": "^1.0.0",
31
+ "mutants-microfx": "^1.0.0",
32
+ "tplus-api": "~5.0.1",
33
+ "tplus-components": "~3.27.1",
34
+ "tplus-components-touch": "~3.27.1",
35
+ "tplus-poslogin": "~3.27.1"
36
+ }
37
+ }
package/tsconfig.json CHANGED
@@ -1,15 +1,15 @@
1
- {
2
- "compilerOptions": {
3
- "outDir": "./dist/", // 输出目录 path to output directory
4
- "sourceMap": true, // 允许sourcemap支持 allow sourcemap support
5
- "strictNullChecks": true, // 启用严格空检查作为最佳实践 enable strict null checks as a best practice
6
- "module": "commonjs", // 指定模块代码生成 specify module code generation
7
- "jsx": "react", // 使用typescript将jsx转换为js use typescript to transpile jsx to js
8
- "target": "es6", // 指定ECMAScript目标版本 specify ECMAScript target version
9
- "allowJs": true // 允许部分TypeScript和JavaScript代码库 allow a partial TypeScript and JavaScript codebase
10
-
11
- },
12
- "include": [
13
- "./src/"
14
- ]
1
+ {
2
+ "compilerOptions": {
3
+ "outDir": "./dist/", // 输出目录 path to output directory
4
+ "sourceMap": true, // 允许sourcemap支持 allow sourcemap support
5
+ "strictNullChecks": true, // 启用严格空检查作为最佳实践 enable strict null checks as a best practice
6
+ "module": "commonjs", // 指定模块代码生成 specify module code generation
7
+ "jsx": "react", // 使用typescript将jsx转换为js use typescript to transpile jsx to js
8
+ "target": "es6", // 指定ECMAScript目标版本 specify ECMAScript target version
9
+ "allowJs": true // 允许部分TypeScript和JavaScript代码库 allow a partial TypeScript and JavaScript codebase
10
+
11
+ },
12
+ "include": [
13
+ "./src/"
14
+ ]
15
15
  }
@@ -1,165 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.Request = exports.default = undefined;
7
-
8
- var _regenerator = require('babel-runtime/regenerator');
9
-
10
- var _regenerator2 = _interopRequireDefault(_regenerator);
11
-
12
- var _asyncToGenerator2 = require('babel-runtime/helpers/asyncToGenerator');
13
-
14
- var _asyncToGenerator3 = _interopRequireDefault(_asyncToGenerator2);
15
-
16
- var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');
17
-
18
- var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
19
-
20
- var _createClass2 = require('babel-runtime/helpers/createClass');
21
-
22
- var _createClass3 = _interopRequireDefault(_createClass2);
23
-
24
- var _tplusApi = require('tplus-api');
25
-
26
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27
-
28
- var ModifyPassApi = function () {
29
- function ModifyPassApi() {
30
- (0, _classCallCheck3.default)(this, ModifyPassApi);
31
- }
32
-
33
- (0, _createClass3.default)(ModifyPassApi, null, [{
34
- key: 'modifyPass',
35
- value: function () {
36
- var _ref = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee(oldPass, newPass) {
37
- var param;
38
- return _regenerator2.default.wrap(function _callee$(_context) {
39
- while (1) {
40
- switch (_context.prev = _context.next) {
41
- case 0:
42
- param = { oldPass: oldPass, newPass: newPass };
43
- _context.next = 3;
44
- return (0, _tplusApi.tApi)(param, 'chanjet.RE.NewPos.RegisterOrLoginPOS', false, false);
45
-
46
- case 3:
47
- return _context.abrupt('return', _context.sent);
48
-
49
- case 4:
50
- case 'end':
51
- return _context.stop();
52
- }
53
- }
54
- }, _callee, this);
55
- }));
56
-
57
- function modifyPass(_x, _x2) {
58
- return _ref.apply(this, arguments);
59
- }
60
-
61
- return modifyPass;
62
- }()
63
- }]);
64
- return ModifyPassApi;
65
- }();
66
-
67
- exports.default = ModifyPassApi;
68
-
69
- var Request = exports.Request = function () {
70
- function Request() {
71
- (0, _classCallCheck3.default)(this, Request);
72
- }
73
-
74
- (0, _createClass3.default)(Request, null, [{
75
- key: 'saveLogo',
76
- value: function () {
77
- var _ref2 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee2(title) {
78
- var code = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
79
- var description = arguments[2];
80
- return _regenerator2.default.wrap(function _callee2$(_context2) {
81
- while (1) {
82
- switch (_context2.prev = _context2.next) {
83
- case 0:
84
- _context2.next = 2;
85
- return (0, _tplusApi.addOperatorLog)({ title: title, code: code, description: description });
86
-
87
- case 2:
88
- return _context2.abrupt('return', _context2.sent);
89
-
90
- case 3:
91
- case 'end':
92
- return _context2.stop();
93
- }
94
- }
95
- }, _callee2, this);
96
- }));
97
-
98
- function saveLogo(_x3) {
99
- return _ref2.apply(this, arguments);
100
- }
101
-
102
- return saveLogo;
103
- }()
104
- }, {
105
- key: 'homeOperation',
106
- value: function () {
107
- var _ref3 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee3() {
108
- return _regenerator2.default.wrap(function _callee3$(_context3) {
109
- while (1) {
110
- switch (_context3.prev = _context3.next) {
111
- case 0:
112
- _context3.next = 2;
113
- return (0, _tplusApi.tApi)({}, 'chanjet.RE.NewPos.GetHomeOperations', false, false);
114
-
115
- case 2:
116
- return _context3.abrupt('return', _context3.sent);
117
-
118
- case 3:
119
- case 'end':
120
- return _context3.stop();
121
- }
122
- }
123
- }, _callee3, this);
124
- }));
125
-
126
- function homeOperation() {
127
- return _ref3.apply(this, arguments);
128
- }
129
-
130
- return homeOperation;
131
- }()
132
- /**获取功能权限 */
133
-
134
- }, {
135
- key: 'functionData',
136
- value: function () {
137
- var _ref4 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee4() {
138
- return _regenerator2.default.wrap(function _callee4$(_context4) {
139
- while (1) {
140
- switch (_context4.prev = _context4.next) {
141
- case 0:
142
- _context4.next = 2;
143
- return (0, _tplusApi.tApi)({}, 'chanjet.RE.NewPos.GetFunctionData', false, false);
144
-
145
- case 2:
146
- return _context4.abrupt('return', _context4.sent);
147
-
148
- case 3:
149
- case 'end':
150
- return _context4.stop();
151
- }
152
- }
153
- }, _callee4, this);
154
- }));
155
-
156
- function functionData() {
157
- return _ref4.apply(this, arguments);
158
- }
159
-
160
- return functionData;
161
- }()
162
- }]);
163
- return Request;
164
- }();
165
- //# sourceMappingURL=ModifyPassApi.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["tplus-portaltouch/api/ModifyPassApi.js"],"names":["ModifyPassApi","oldPass","newPass","param","Request","title","code","description"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;IAEqBA,a;;;;;;;;2GAEKC,O,EAASC,O;;;;;;AACzBC,qB,GAAQ,EAACF,gBAAD,EAAUC,gBAAV,E;;uBACD,oBAAKC,KAAL,EAAY,sCAAZ,EAAoD,KAApD,EAA2D,KAA3D,C;;;;;;;;;;;;;;;;;;;;;;;kBAJIH,a;;IASRI,O,WAAAA,O;;;;;;;;6GAEWC,K;YAAOC,I,uEAAO,E;YAAIC,W;;;;;;uBACzB,8BAAe,EAACF,YAAD,EAAQC,UAAR,EAAcC,wBAAd,EAAf,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAIA,oBAAK,EAAL,EAAS,qCAAT,EAAgD,KAAhD,EAAuD,KAAvD,C;;;;;;;;;;;;;;;;;;;AAEf;;;;;;;;;;;uBAEe,oBAAK,EAAL,EAAS,mCAAT,EAA8C,KAA9C,EAAqD,KAArD,C","file":"ModifyPassApi.js","sourcesContent":["import {tApi,addOperatorLog} from 'tplus-api';\r\n\r\nexport default class ModifyPassApi {\r\n\r\n static async modifyPass(oldPass, newPass) {\r\n const param = {oldPass, newPass};\r\n return await tApi(param, 'chanjet.RE.NewPos.RegisterOrLoginPOS', false, false);\r\n }\r\n\r\n}\r\n\r\nexport class Request {\r\n\r\n static async saveLogo(title, code = '', description) {\r\n return await addOperatorLog({title, code, description});\r\n }\r\n\r\n static async homeOperation() {\r\n return await tApi({}, 'chanjet.RE.NewPos.GetHomeOperations', false, false);\r\n }\r\n /**获取功能权限 */\r\n static async functionData() {\r\n return await tApi({}, 'chanjet.RE.NewPos.GetFunctionData', false, false);\r\n }\r\n}\r\n"]}