@cniot/android-pda-components 0.1.5 → 0.1.6
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/build/assets/index.3bfc9bfe.css +1 -0
- package/build/assets/{index.bf651e56.js → index.87a9df58.js} +76 -25
- package/build/assets/vendor.116036fc.js +40 -0
- package/build/index.html +3 -3
- package/change.md +5 -0
- package/doc/index.jsx +9 -4
- package/es/index.cjs.js +4 -2
- package/es/index.es.js +252 -65
- package/es/style.css +1 -1
- package/package.json +2 -1
- package/build/assets/index.26b85a59.css +0 -1
- package/build/assets/vendor.c6d73e0c.js +0 -38
package/es/index.es.js
CHANGED
|
@@ -84,7 +84,7 @@ var _classnames_2_3_1_classnames = { exports: {} };
|
|
|
84
84
|
})();
|
|
85
85
|
})(_classnames_2_3_1_classnames);
|
|
86
86
|
var classNames = _classnames_2_3_1_classnames.exports;
|
|
87
|
-
var index$
|
|
87
|
+
var index$o = "";
|
|
88
88
|
function getTypeClass$1(type) {
|
|
89
89
|
return {
|
|
90
90
|
"center": "op-overlay center",
|
|
@@ -110,7 +110,7 @@ function Overlay(props) {
|
|
|
110
110
|
className: getTypeClass$1(verticalPosition)
|
|
111
111
|
}, option), props.children) : null;
|
|
112
112
|
}
|
|
113
|
-
var index$
|
|
113
|
+
var index$n = "";
|
|
114
114
|
const blankFunc$5 = () => {
|
|
115
115
|
};
|
|
116
116
|
class PdaTitle extends React.Component {
|
|
@@ -149,7 +149,136 @@ class PdaTitle extends React.Component {
|
|
|
149
149
|
}, menuList)));
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
|
-
var
|
|
152
|
+
var _keycode_2_2_1_keycode = { exports: {} };
|
|
153
|
+
(function(module, exports) {
|
|
154
|
+
function keyCode(searchInput) {
|
|
155
|
+
if (searchInput && typeof searchInput === "object") {
|
|
156
|
+
var hasKeyCode = searchInput.which || searchInput.keyCode || searchInput.charCode;
|
|
157
|
+
if (hasKeyCode)
|
|
158
|
+
searchInput = hasKeyCode;
|
|
159
|
+
}
|
|
160
|
+
if (typeof searchInput === "number")
|
|
161
|
+
return names[searchInput];
|
|
162
|
+
var search = String(searchInput);
|
|
163
|
+
var foundNamedKey = codes[search.toLowerCase()];
|
|
164
|
+
if (foundNamedKey)
|
|
165
|
+
return foundNamedKey;
|
|
166
|
+
var foundNamedKey = aliases[search.toLowerCase()];
|
|
167
|
+
if (foundNamedKey)
|
|
168
|
+
return foundNamedKey;
|
|
169
|
+
if (search.length === 1)
|
|
170
|
+
return search.charCodeAt(0);
|
|
171
|
+
return void 0;
|
|
172
|
+
}
|
|
173
|
+
keyCode.isEventKey = function isEventKey(event, nameOrCode) {
|
|
174
|
+
if (event && typeof event === "object") {
|
|
175
|
+
var keyCode2 = event.which || event.keyCode || event.charCode;
|
|
176
|
+
if (keyCode2 === null || keyCode2 === void 0) {
|
|
177
|
+
return false;
|
|
178
|
+
}
|
|
179
|
+
if (typeof nameOrCode === "string") {
|
|
180
|
+
var foundNamedKey = codes[nameOrCode.toLowerCase()];
|
|
181
|
+
if (foundNamedKey) {
|
|
182
|
+
return foundNamedKey === keyCode2;
|
|
183
|
+
}
|
|
184
|
+
var foundNamedKey = aliases[nameOrCode.toLowerCase()];
|
|
185
|
+
if (foundNamedKey) {
|
|
186
|
+
return foundNamedKey === keyCode2;
|
|
187
|
+
}
|
|
188
|
+
} else if (typeof nameOrCode === "number") {
|
|
189
|
+
return nameOrCode === keyCode2;
|
|
190
|
+
}
|
|
191
|
+
return false;
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
exports = module.exports = keyCode;
|
|
195
|
+
var codes = exports.code = exports.codes = {
|
|
196
|
+
"backspace": 8,
|
|
197
|
+
"tab": 9,
|
|
198
|
+
"enter": 13,
|
|
199
|
+
"shift": 16,
|
|
200
|
+
"ctrl": 17,
|
|
201
|
+
"alt": 18,
|
|
202
|
+
"pause/break": 19,
|
|
203
|
+
"caps lock": 20,
|
|
204
|
+
"esc": 27,
|
|
205
|
+
"space": 32,
|
|
206
|
+
"page up": 33,
|
|
207
|
+
"page down": 34,
|
|
208
|
+
"end": 35,
|
|
209
|
+
"home": 36,
|
|
210
|
+
"left": 37,
|
|
211
|
+
"up": 38,
|
|
212
|
+
"right": 39,
|
|
213
|
+
"down": 40,
|
|
214
|
+
"insert": 45,
|
|
215
|
+
"delete": 46,
|
|
216
|
+
"command": 91,
|
|
217
|
+
"left command": 91,
|
|
218
|
+
"right command": 93,
|
|
219
|
+
"numpad *": 106,
|
|
220
|
+
"numpad +": 107,
|
|
221
|
+
"numpad -": 109,
|
|
222
|
+
"numpad .": 110,
|
|
223
|
+
"numpad /": 111,
|
|
224
|
+
"num lock": 144,
|
|
225
|
+
"scroll lock": 145,
|
|
226
|
+
"my computer": 182,
|
|
227
|
+
"my calculator": 183,
|
|
228
|
+
";": 186,
|
|
229
|
+
"=": 187,
|
|
230
|
+
",": 188,
|
|
231
|
+
"-": 189,
|
|
232
|
+
".": 190,
|
|
233
|
+
"/": 191,
|
|
234
|
+
"`": 192,
|
|
235
|
+
"[": 219,
|
|
236
|
+
"\\": 220,
|
|
237
|
+
"]": 221,
|
|
238
|
+
"'": 222
|
|
239
|
+
};
|
|
240
|
+
var aliases = exports.aliases = {
|
|
241
|
+
"windows": 91,
|
|
242
|
+
"\u21E7": 16,
|
|
243
|
+
"\u2325": 18,
|
|
244
|
+
"\u2303": 17,
|
|
245
|
+
"\u2318": 91,
|
|
246
|
+
"ctl": 17,
|
|
247
|
+
"control": 17,
|
|
248
|
+
"option": 18,
|
|
249
|
+
"pause": 19,
|
|
250
|
+
"break": 19,
|
|
251
|
+
"caps": 20,
|
|
252
|
+
"return": 13,
|
|
253
|
+
"escape": 27,
|
|
254
|
+
"spc": 32,
|
|
255
|
+
"spacebar": 32,
|
|
256
|
+
"pgup": 33,
|
|
257
|
+
"pgdn": 34,
|
|
258
|
+
"ins": 45,
|
|
259
|
+
"del": 46,
|
|
260
|
+
"cmd": 91
|
|
261
|
+
};
|
|
262
|
+
/*!
|
|
263
|
+
* Programatically add the following
|
|
264
|
+
*/
|
|
265
|
+
for (i = 97; i < 123; i++)
|
|
266
|
+
codes[String.fromCharCode(i)] = i - 32;
|
|
267
|
+
for (var i = 48; i < 58; i++)
|
|
268
|
+
codes[i - 48] = i;
|
|
269
|
+
for (i = 1; i < 13; i++)
|
|
270
|
+
codes["f" + i] = i + 111;
|
|
271
|
+
for (i = 0; i < 10; i++)
|
|
272
|
+
codes["numpad " + i] = i + 96;
|
|
273
|
+
var names = exports.names = exports.title = {};
|
|
274
|
+
for (i in codes)
|
|
275
|
+
names[codes[i]] = i;
|
|
276
|
+
for (var alias in aliases) {
|
|
277
|
+
codes[alias] = aliases[alias];
|
|
278
|
+
}
|
|
279
|
+
})(_keycode_2_2_1_keycode, _keycode_2_2_1_keycode.exports);
|
|
280
|
+
var keycode = _keycode_2_2_1_keycode.exports;
|
|
281
|
+
var index$m = "";
|
|
153
282
|
function Button(props) {
|
|
154
283
|
const { type = "default", onClick, className = "" } = props;
|
|
155
284
|
return /* @__PURE__ */ React.createElement("button", {
|
|
@@ -163,12 +292,35 @@ function ButtonGroup(props) {
|
|
|
163
292
|
}, props.children);
|
|
164
293
|
}
|
|
165
294
|
Button.Group = ButtonGroup;
|
|
166
|
-
var index$
|
|
167
|
-
const empty$
|
|
295
|
+
var index$l = "";
|
|
296
|
+
const empty$3 = () => {
|
|
168
297
|
};
|
|
169
|
-
function index$
|
|
170
|
-
const {
|
|
298
|
+
function index$k(props) {
|
|
299
|
+
const {
|
|
300
|
+
onBack,
|
|
301
|
+
icon,
|
|
302
|
+
title,
|
|
303
|
+
menus = [],
|
|
304
|
+
onClickMenuItem = empty$3,
|
|
305
|
+
cancelMenuText,
|
|
306
|
+
menuShortcutKey,
|
|
307
|
+
backShortcutKey
|
|
308
|
+
} = props;
|
|
171
309
|
const [showMenus, setShowMenus] = React.useState(false);
|
|
310
|
+
React.useEffect(function() {
|
|
311
|
+
if (menuShortcutKey) {
|
|
312
|
+
return bindShortcutKey(getShortcutKeyCodes(menuShortcutKey), function() {
|
|
313
|
+
setShowMenus(true);
|
|
314
|
+
});
|
|
315
|
+
}
|
|
316
|
+
}, [menuShortcutKey]);
|
|
317
|
+
React.useEffect(function() {
|
|
318
|
+
if (backShortcutKey && onBack) {
|
|
319
|
+
return bindShortcutKey(getShortcutKeyCodes(backShortcutKey), function() {
|
|
320
|
+
onBack("back");
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
}, [backShortcutKey, onBack]);
|
|
172
324
|
return /* @__PURE__ */ React.createElement("div", {
|
|
173
325
|
className: "pda-header"
|
|
174
326
|
}, /* @__PURE__ */ React.createElement("div", {
|
|
@@ -204,7 +356,28 @@ function index$i(props) {
|
|
|
204
356
|
onClick: () => setShowMenus(false)
|
|
205
357
|
}, cancelMenuText)) : null)));
|
|
206
358
|
}
|
|
207
|
-
|
|
359
|
+
function getShortcutKeyCodes(shortcutKey) {
|
|
360
|
+
const shortcutKeys = shortcutKey.indexOf(",") > -1 ? shortcutKey.split(",") : [shortcutKey];
|
|
361
|
+
return shortcutKeys.map((k) => {
|
|
362
|
+
const kc = keycode(k);
|
|
363
|
+
if (kc === void 0) {
|
|
364
|
+
console.warn("OPButton.shortcutKey error key value by:", k);
|
|
365
|
+
}
|
|
366
|
+
return kc;
|
|
367
|
+
}).filter((k) => !!k);
|
|
368
|
+
}
|
|
369
|
+
function bindShortcutKey(keys, callback) {
|
|
370
|
+
function keyUpCallback(event) {
|
|
371
|
+
if (keys.indexOf(event.keyCode) > -1) {
|
|
372
|
+
callback && callback(event);
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
document.addEventListener("keyup", keyUpCallback);
|
|
376
|
+
return function() {
|
|
377
|
+
document.removeEventListener("keyup", keyUpCallback);
|
|
378
|
+
};
|
|
379
|
+
}
|
|
380
|
+
var index$j = "";
|
|
208
381
|
class PdaInfoCard$2 extends React.Component {
|
|
209
382
|
constructor(props) {
|
|
210
383
|
super(props);
|
|
@@ -262,7 +435,7 @@ class PdaInfoCard$2 extends React.Component {
|
|
|
262
435
|
}
|
|
263
436
|
}
|
|
264
437
|
PdaInfoCard$2.IMAGE_1 = "https://img.alicdn.com/imgextra/i2/O1CN01qYuxip1ME9zhdL9XG_!!6000000001402-2-tps-150-150.png";
|
|
265
|
-
var index$
|
|
438
|
+
var index$i = "";
|
|
266
439
|
class PdaListItem extends React.Component {
|
|
267
440
|
constructor(props) {
|
|
268
441
|
super(props);
|
|
@@ -308,11 +481,11 @@ class PdaListItem extends React.Component {
|
|
|
308
481
|
})) : null);
|
|
309
482
|
}
|
|
310
483
|
}
|
|
311
|
-
var index$
|
|
312
|
-
function empty$
|
|
484
|
+
var index$h = "";
|
|
485
|
+
function empty$2() {
|
|
313
486
|
}
|
|
314
487
|
function Confirm(props) {
|
|
315
|
-
const { title = "title", message = null, subMessage = [], okText = "okText", cancelText = null, onClick = empty$
|
|
488
|
+
const { title = "title", message = null, subMessage = [], okText = "okText", cancelText = null, onClick = empty$2, type = "primary" } = props;
|
|
316
489
|
return /* @__PURE__ */ React.createElement("div", {
|
|
317
490
|
className: classNames({ "confirm-wrap": true, ["confirm-" + type]: true })
|
|
318
491
|
}, /* @__PURE__ */ React.createElement("div", {
|
|
@@ -336,7 +509,7 @@ function Confirm(props) {
|
|
|
336
509
|
onClick: () => onClick(true)
|
|
337
510
|
}, okText)));
|
|
338
511
|
}
|
|
339
|
-
var index$
|
|
512
|
+
var index$g = "";
|
|
340
513
|
function resolveContainer(getContainer) {
|
|
341
514
|
const container = typeof getContainer === "function" ? getContainer() : getContainer;
|
|
342
515
|
return container || document.body;
|
|
@@ -536,7 +709,7 @@ function splitMessage(message) {
|
|
|
536
709
|
var msg = String(message).split("by Error:");
|
|
537
710
|
return msg[1] || msg[0];
|
|
538
711
|
}
|
|
539
|
-
var index$
|
|
712
|
+
var index$f = "";
|
|
540
713
|
function NotFound(props) {
|
|
541
714
|
return /* @__PURE__ */ React.createElement("div", {
|
|
542
715
|
style: { padding: "20%" }
|
|
@@ -637,7 +810,7 @@ function createHashHistory(b) {
|
|
|
637
810
|
}
|
|
638
811
|
function z(a, e) {
|
|
639
812
|
e === void 0 && (e = null);
|
|
640
|
-
return C(_extends({
|
|
813
|
+
return C(_extends({ pathname: d.pathname, hash: "", search: "" }, typeof a === "string" ? J(a) : a, { state: e, key: H() }));
|
|
641
814
|
}
|
|
642
815
|
function A(a) {
|
|
643
816
|
v = a;
|
|
@@ -668,11 +841,7 @@ function createHashHistory(b) {
|
|
|
668
841
|
w(a, e);
|
|
669
842
|
}
|
|
670
843
|
var g = r.Replace, n = z(a, e);
|
|
671
|
-
c.length && (c.call({
|
|
672
|
-
action: g,
|
|
673
|
-
location: n,
|
|
674
|
-
retry: l
|
|
675
|
-
}), 1) || (n = [{ usr: n.state, key: n.key, idx: q }, x(n)], u.replaceState(n[0], "", n[1]), A(g));
|
|
844
|
+
c.length && (c.call({ action: g, location: n, retry: l }), 1) || (n = [{ usr: n.state, key: n.key, idx: q }, x(n)], u.replaceState(n[0], "", n[1]), A(g));
|
|
676
845
|
}
|
|
677
846
|
function p(a) {
|
|
678
847
|
u.go(a);
|
|
@@ -719,7 +888,7 @@ function createHashHistory(b) {
|
|
|
719
888
|
}
|
|
720
889
|
};
|
|
721
890
|
}
|
|
722
|
-
var index$
|
|
891
|
+
var index$e = "";
|
|
723
892
|
function Debug(props) {
|
|
724
893
|
const { appManager } = props;
|
|
725
894
|
const pages = Array.from(appManager.pageManager.keys()).reverse();
|
|
@@ -769,7 +938,7 @@ function Loading$1(props) {
|
|
|
769
938
|
style: { position: "absolute", left: 0, top: 0, zIndex: 100 }
|
|
770
939
|
}, "LOADING...") : null;
|
|
771
940
|
}
|
|
772
|
-
var index$
|
|
941
|
+
var index$d = {
|
|
773
942
|
Alert,
|
|
774
943
|
Start,
|
|
775
944
|
Toast: toast,
|
|
@@ -779,7 +948,7 @@ var index$b = {
|
|
|
779
948
|
Prompt,
|
|
780
949
|
Loading: Loading$1
|
|
781
950
|
};
|
|
782
|
-
var index$
|
|
951
|
+
var index$c = "";
|
|
783
952
|
function Presentation(props) {
|
|
784
953
|
const {
|
|
785
954
|
image = Presentation.IMAGE_1,
|
|
@@ -801,11 +970,11 @@ Presentation.IMAGE_1 = "https://img.alicdn.com/imgextra/i3/O1CN019Ivkor1ksy3pMGD
|
|
|
801
970
|
Presentation.IMAGE_2 = "https://img.alicdn.com/imgextra/i1/O1CN01lhSunu1X4VPw1Mlas_!!6000000002870-2-tps-352-158.png";
|
|
802
971
|
Presentation.IMAGE_3 = "https://img.alicdn.com/imgextra/i1/O1CN01mreYXo1XfbUsQ7hip_!!6000000002951-2-tps-322-144.png";
|
|
803
972
|
Presentation.IMAGE_4 = "https://img.alicdn.com/imgextra/i3/O1CN017gNM8F1Fmmcfti7Dg_!!6000000000530-1-tps-414-286.gif";
|
|
804
|
-
var index$
|
|
805
|
-
function empty() {
|
|
973
|
+
var index$b = "";
|
|
974
|
+
function empty$1() {
|
|
806
975
|
}
|
|
807
976
|
function List(props) {
|
|
808
|
-
const { dataSource = [], onClickItem, onItemClick = empty } = props;
|
|
977
|
+
const { dataSource = [], onClickItem, onItemClick = empty$1 } = props;
|
|
809
978
|
return /* @__PURE__ */ React.createElement("div", {
|
|
810
979
|
className: "android-pda-list"
|
|
811
980
|
}, dataSource.map((item, index2) => {
|
|
@@ -847,7 +1016,7 @@ function DefaultItem(props) {
|
|
|
847
1016
|
}, extra));
|
|
848
1017
|
}
|
|
849
1018
|
List.Item = DefaultItem;
|
|
850
|
-
var index$
|
|
1019
|
+
var index$a = "";
|
|
851
1020
|
const blankFunc$4 = () => {
|
|
852
1021
|
};
|
|
853
1022
|
class BaseLayoutContainer extends React.Component {
|
|
@@ -921,23 +1090,21 @@ class RfidOnce$1 extends React.Component {
|
|
|
921
1090
|
this._handleRfidScan = (e) => {
|
|
922
1091
|
const { onRfidOnce, onRfidBoxOnce, onRfidPalletOnce } = this.props;
|
|
923
1092
|
const data = e.param;
|
|
924
|
-
const isBox = data.rfidData.startsWith("
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
}
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
this._stopWork();
|
|
936
|
-
onRfidPalletOnce(data);
|
|
1093
|
+
const isBox = !data.rfidData.startsWith("0F011");
|
|
1094
|
+
if (onRfidBoxOnce) {
|
|
1095
|
+
if (isBox) {
|
|
1096
|
+
this._stopWork();
|
|
1097
|
+
onRfidBoxOnce(e.param);
|
|
1098
|
+
}
|
|
1099
|
+
} else if (onRfidPalletOnce) {
|
|
1100
|
+
if (!isBox) {
|
|
1101
|
+
this._stopWork();
|
|
1102
|
+
onRfidPalletOnce(e.param);
|
|
1103
|
+
}
|
|
937
1104
|
}
|
|
938
1105
|
if (onRfidOnce) {
|
|
939
1106
|
this._stopWork();
|
|
940
|
-
onRfidOnce(
|
|
1107
|
+
onRfidOnce(e.param);
|
|
941
1108
|
}
|
|
942
1109
|
};
|
|
943
1110
|
this._startWork = (e) => {
|
|
@@ -995,21 +1162,13 @@ class RfidOnce extends React.Component {
|
|
|
995
1162
|
this._handleRfidScan = (e) => {
|
|
996
1163
|
const { onRfidScan, onRfidBoxScan, onRfidPalletScan } = this.props;
|
|
997
1164
|
const data = e.param;
|
|
998
|
-
const isBox = data.rfidData.startsWith("
|
|
999
|
-
const isPallet = data.rfidData.startsWith("0F011");
|
|
1000
|
-
if (isPallet) {
|
|
1001
|
-
let rfidData = data.rfidData;
|
|
1002
|
-
data.originData = rfidData;
|
|
1003
|
-
data.rfidData = rfidData.substr(5, 12);
|
|
1004
|
-
}
|
|
1165
|
+
const isBox = !data.rfidData.startsWith("0F011");
|
|
1005
1166
|
if (isBox && onRfidBoxScan) {
|
|
1006
1167
|
onRfidBoxScan(data);
|
|
1007
|
-
} else if (
|
|
1168
|
+
} else if (!isBox && onRfidPalletScan) {
|
|
1008
1169
|
onRfidPalletScan(data);
|
|
1009
1170
|
}
|
|
1010
|
-
|
|
1011
|
-
onRfidScan(data);
|
|
1012
|
-
}
|
|
1171
|
+
onRfidScan(data);
|
|
1013
1172
|
};
|
|
1014
1173
|
this._startWork = (e) => {
|
|
1015
1174
|
document.addEventListener("ContinuousRfidScan", this._handleRfidScan);
|
|
@@ -1148,7 +1307,7 @@ class BaseLayout extends React.Component {
|
|
|
1148
1307
|
return /* @__PURE__ */ React.createElement(BaseLayoutContainer, __spreadValues({}, props));
|
|
1149
1308
|
}
|
|
1150
1309
|
}
|
|
1151
|
-
var index$
|
|
1310
|
+
var index$9 = "";
|
|
1152
1311
|
const blankFunc = () => {
|
|
1153
1312
|
};
|
|
1154
1313
|
function WakeKeyborard(props) {
|
|
@@ -1196,8 +1355,8 @@ function WakeKeyborard(props) {
|
|
|
1196
1355
|
}
|
|
1197
1356
|
}) : null);
|
|
1198
1357
|
}
|
|
1199
|
-
var index$
|
|
1200
|
-
var index$
|
|
1358
|
+
var index$8 = "";
|
|
1359
|
+
var index$7 = "";
|
|
1201
1360
|
class PdaInfoCard$1 extends React.Component {
|
|
1202
1361
|
constructor(props) {
|
|
1203
1362
|
super(props);
|
|
@@ -1217,10 +1376,10 @@ class PdaInfoCard$1 extends React.Component {
|
|
|
1217
1376
|
className: classNames({ "pda-step-indictor-bottom": true, "pda-step-indictor-bottom-hidden": isLast })
|
|
1218
1377
|
})), /* @__PURE__ */ React.createElement("div", {
|
|
1219
1378
|
className: classNames({ "pda-step": true, "pda-step-dark": !isActive })
|
|
1220
|
-
}, /* @__PURE__ */ React.createElement("
|
|
1379
|
+
}, /* @__PURE__ */ React.createElement("div", {
|
|
1221
1380
|
className: "pda-step-title"
|
|
1222
1381
|
}, title), infoList.map((item, index22) => {
|
|
1223
|
-
return /* @__PURE__ */ React.createElement("
|
|
1382
|
+
return /* @__PURE__ */ React.createElement("div", {
|
|
1224
1383
|
key: index22,
|
|
1225
1384
|
className: "pda-step-list"
|
|
1226
1385
|
}, /* @__PURE__ */ React.createElement("span", null, item.label || ""), "\xA0\xA0", /* @__PURE__ */ React.createElement("span", null, item.content || ""));
|
|
@@ -1251,7 +1410,7 @@ class PdaInfoCard extends React.Component {
|
|
|
1251
1410
|
}
|
|
1252
1411
|
}
|
|
1253
1412
|
__publicField(PdaInfoCard, "Step", PdaInfoCard$1);
|
|
1254
|
-
var index$
|
|
1413
|
+
var index$6 = "";
|
|
1255
1414
|
class PdaFinishCard extends React.Component {
|
|
1256
1415
|
constructor(props) {
|
|
1257
1416
|
super(props);
|
|
@@ -1287,7 +1446,7 @@ class PdaFinishCard extends React.Component {
|
|
|
1287
1446
|
}
|
|
1288
1447
|
PdaFinishCard.SUCCESS = "https://img.alicdn.com/imgextra/i2/O1CN01yYwwSx1uNV0M1gHlQ_!!6000000006025-1-tps-630-436.gif";
|
|
1289
1448
|
PdaFinishCard.ERROR_SUCCESS = "https://img.alicdn.com/imgextra/i3/O1CN01p5Oc5t1VMFWtBomQc_!!6000000002638-1-tps-600-456.gif";
|
|
1290
|
-
var index$
|
|
1449
|
+
var index$5 = "";
|
|
1291
1450
|
class PdaDistanceCard extends React.Component {
|
|
1292
1451
|
constructor(props) {
|
|
1293
1452
|
super(props);
|
|
@@ -1322,7 +1481,7 @@ class PdaDistanceCard extends React.Component {
|
|
|
1322
1481
|
}, /* @__PURE__ */ React.createElement("p", null, "\u8FDC"), /* @__PURE__ */ React.createElement("p", null, "\u8FD1")));
|
|
1323
1482
|
}
|
|
1324
1483
|
}
|
|
1325
|
-
var index$
|
|
1484
|
+
var index$4 = "";
|
|
1326
1485
|
function SubCard(props) {
|
|
1327
1486
|
const { title, context, name, tag, attrs = [], style } = props;
|
|
1328
1487
|
return /* @__PURE__ */ React.createElement("div", {
|
|
@@ -1348,6 +1507,34 @@ function SubCard(props) {
|
|
|
1348
1507
|
}, text);
|
|
1349
1508
|
})));
|
|
1350
1509
|
}
|
|
1510
|
+
var index$3 = "";
|
|
1511
|
+
function empty() {
|
|
1512
|
+
}
|
|
1513
|
+
function index$2(props) {
|
|
1514
|
+
const { dataSource = [], onClickItem = empty } = props;
|
|
1515
|
+
return /* @__PURE__ */ React.createElement("div", {
|
|
1516
|
+
className: "pda-app-list"
|
|
1517
|
+
}, dataSource.map((item) => {
|
|
1518
|
+
return /* @__PURE__ */ React.createElement("div", {
|
|
1519
|
+
className: "pda-app-group",
|
|
1520
|
+
key: item.groupName
|
|
1521
|
+
}, /* @__PURE__ */ React.createElement("h2", {
|
|
1522
|
+
className: "group-name"
|
|
1523
|
+
}, item.groupName), /* @__PURE__ */ React.createElement("div", {
|
|
1524
|
+
className: "group-apps"
|
|
1525
|
+
}, item.list.map((it) => {
|
|
1526
|
+
return /* @__PURE__ */ React.createElement("div", {
|
|
1527
|
+
className: "app-item",
|
|
1528
|
+
key: it.name,
|
|
1529
|
+
onClick: () => onClickItem(it)
|
|
1530
|
+
}, /* @__PURE__ */ React.createElement("span", {
|
|
1531
|
+
className: "app-name"
|
|
1532
|
+
}, it.name), /* @__PURE__ */ React.createElement("span", {
|
|
1533
|
+
className: "app-subname"
|
|
1534
|
+
}, it.subname));
|
|
1535
|
+
})));
|
|
1536
|
+
}));
|
|
1537
|
+
}
|
|
1351
1538
|
var index$1 = "";
|
|
1352
1539
|
function usePersistFn(fn) {
|
|
1353
1540
|
var fnRef = useRef(fn);
|
|
@@ -1364,7 +1551,7 @@ function usePersistFn(fn) {
|
|
|
1364
1551
|
}
|
|
1365
1552
|
return persistFn.current;
|
|
1366
1553
|
}
|
|
1367
|
-
var __awaiter = function(thisArg, _arguments, P, generator) {
|
|
1554
|
+
var __awaiter = globalThis && globalThis.__awaiter || function(thisArg, _arguments, P, generator) {
|
|
1368
1555
|
function adopt(value) {
|
|
1369
1556
|
return value instanceof P ? value : new P(function(resolve) {
|
|
1370
1557
|
resolve(value);
|
|
@@ -1391,7 +1578,7 @@ var __awaiter = function(thisArg, _arguments, P, generator) {
|
|
|
1391
1578
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
1392
1579
|
});
|
|
1393
1580
|
};
|
|
1394
|
-
var __generator = function(thisArg, body) {
|
|
1581
|
+
var __generator = globalThis && globalThis.__generator || function(thisArg, body) {
|
|
1395
1582
|
var _ = {
|
|
1396
1583
|
label: 0,
|
|
1397
1584
|
sent: function sent() {
|
|
@@ -1483,7 +1670,7 @@ var __generator = function(thisArg, body) {
|
|
|
1483
1670
|
};
|
|
1484
1671
|
}
|
|
1485
1672
|
};
|
|
1486
|
-
var __read = function(o, n) {
|
|
1673
|
+
var __read = globalThis && globalThis.__read || function(o, n) {
|
|
1487
1674
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
1488
1675
|
if (!m)
|
|
1489
1676
|
return o;
|
|
@@ -1507,7 +1694,7 @@ var __read = function(o, n) {
|
|
|
1507
1694
|
}
|
|
1508
1695
|
return ar;
|
|
1509
1696
|
};
|
|
1510
|
-
var __spread = function() {
|
|
1697
|
+
var __spread = globalThis && globalThis.__spread || function() {
|
|
1511
1698
|
for (var ar = [], i = 0; i < arguments.length; i++) {
|
|
1512
1699
|
ar = ar.concat(__read(arguments[i]));
|
|
1513
1700
|
}
|
|
@@ -1684,4 +1871,4 @@ function PdaActionSheet(props) {
|
|
|
1684
1871
|
})));
|
|
1685
1872
|
}
|
|
1686
1873
|
const ListItem = PdaListItem;
|
|
1687
|
-
export { PdaActionSheet as ActionSheet, BaseLayout, Button, Confirm, PdaDistanceCard as DistanceCard, PdaFinishCard as FinishCard, index$
|
|
1874
|
+
export { PdaActionSheet as ActionSheet, index$2 as AppList, BaseLayout, Button, Confirm, PdaDistanceCard as DistanceCard, PdaFinishCard as FinishCard, index$k as Header, InfiniteScroll, PdaInfoCard$2 as InfoCard, List, ListItem, Overlay, index$d as PageFlowSystemPages, Presentation, PdaInfoCard as Steps, SubCard, PdaListItem as TaskCard, PdaTitle as Title, Toast, WakeKeyborard };
|
package/es/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*{margin:0;padding:0}div{box-sizing:border-box}.op-overlay{top:0;left:0;position:fixed;right:0;bottom:0;display:flex;justify-content:center;align-items:center;background-color:#0006;z-index:100}.op-overlay.center{align-items:center;justify-content:center}.op-overlay.top{align-items:flex-start;justify-content:center}.op-overlay.bottom{align-items:flex-end;justify-content:center}.pda-header{display:flex;flex-direction:row;align-items:center;color:#fff;height:84px}.pda-header .pda-goback{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01O46CYm1Gc4yvZtk7A_!!6000000000642-2-tps-36-64.png);width:18px;height:32px;background-size:100%;margin-left:28px;margin-right:8px}.pda-header .pda-header-icon{height:36px;width:36px;margin-left:16px;background-size:100%}.pda-header .pda-header-icon-scan{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN017UD9RM1vCKxsjxsrE_!!6000000006136-2-tps-68-68.png)}.pda-header .pda-header-icon-select{background-image:url(https://img.alicdn.com/imgextra/i2/O1CN0170QXc91udWriUp19S_!!6000000006060-2-tps-74-72.png)}.pda-header .pda-header-icon-read{background-image:url(https://img.alicdn.com/imgextra/i2/O1CN01EMphgH1ylYGXImCZn_!!6000000006619-2-tps-70-70.png)}.pda-header .pda-title-text{margin-left:16px;font-size:40px}.pda-header .pda-header-more{height:36px;width:36px;background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01dTdXds1p9gz4wKAve_!!6000000005318-2-tps-70-26.png);background-size:100%;background-repeat:no-repeat;background-position:center;margin-left:auto}.pda-button{display:block;box-sizing:border-box;padding-right:0;text-align:center;font-size:40px;height:90px;line-height:90px;color:#fff;background-color:#f3f4f8;border-radius:10px;width:100%;border-width:0}.pda-button.pda-button-default{color:#000}.pda-button:active{background-color:#979797}.pda-button.pda-button-primary{background-color:#0091ea}.pda-button.pda-button-primary:active{background-color:#0074bb}.pda-button.pda-button-dark{background-color:#282828}.pda-button.pda-button-dark:active{background-color:#979797}.pda-button.pda-button-cutout{color:#0091ea;border-width:4px;border-color:#0091ea}.button-group{display:flex;flex-direction:row;padding:20px 24px;width:100%}.button-group .pda-button:not(:last-child){margin-right:16px}.pda-header{background-color:#000;display:flex;flex-direction:row;align-items:center;color:#fff;height:84px}.pda-header .header-click-area{height:100%;display:flex;align-items:center;flex-direction:row}.pda-header .pda-goback{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01O46CYm1Gc4yvZtk7A_!!6000000000642-2-tps-36-64.png);width:18px;height:32px;background-size:100%;margin-left:28px;margin-right:8px}.pda-header .pda-header-icon{height:36px;width:36px;margin-left:16px;background-size:100%;background-repeat:no-repeat}.pda-header .pda-header-icon-scan{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN017UD9RM1vCKxsjxsrE_!!6000000006136-2-tps-68-68.png)}.pda-header .pda-header-icon-select{background-image:url(https://img.alicdn.com/imgextra/i2/O1CN0170QXc91udWriUp19S_!!6000000006060-2-tps-74-72.png)}.pda-header .pda-header-icon-read{background-image:url(https://img.alicdn.com/imgextra/i2/O1CN01EMphgH1ylYGXImCZn_!!6000000006619-2-tps-70-70.png)}.pda-header .pda-title-text{margin-left:16px;font-size:40px;flex:1}.pda-header .pda-header-more{height:36px;width:36px;margin-left:16px;background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01dTdXds1p9gz4wKAve_!!6000000005318-2-tps-70-26.png);background-size:100%;background-repeat:no-repeat;background-position:center;margin-right:15px}.pda-header .pda-menus{background-color:#fff;border-radius:8px;width:100%;padding:24px;display:flex;flex-direction:column}.pda-header .pda-menus>*{margin-bottom:12px}.pda-info-card{border-radius:16px;padding:24px 16px;background-color:#fff;word-break:break-word}.pda-info-card .divda-info-card-title{font-size:32px}.pda-info-card .pda-info-card-title-section{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.pda-info-card .pda-info-card-title-section .pda-info-card-title{font-size:32px;color:#666}.pda-info-card .pda-info-card-title-section .pda-info-card-tag{display:flex;align-items:center;justify-content:center;height:36px;padding:0 8px;background-color:#fc0;border-radius:8px}.pda-info-card .pda-info-card-highlight-section{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start}.pda-info-card .pda-info-card-highlight-section .pda-info-card-title{font-size:32px;color:#666;margin-top:20px}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight{font-size:80px;line-height:64px;color:#0091ea;font-weight:bold;display:flex;flex-direction:row;align-items:flex-end}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight .pda-info-card-highlight1CN{font-size:64px}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight .pda-info-card-highlight2{font-size:50px;line-height:40px}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight .pda-info-card-highlight2CN{font-size:40px;line-height:40px}.pda-info-card .pda-info-card-bold{font-weight:bold;font-size:40px;line-height:48px;color:#000;margin-top:12px}.pda-info-card .pda-info-card-list{margin-top:8px;color:#4a4a4a;font-size:32px;line-height:32px;word-break:break-all}.pda-info-card-progress{background-color:#f3f4f8;height:12px;border-radius:6px;margin-top:17px}.pda-info-card-progress .pda-info-card-progress-inside{background-color:#0091ea;height:12px;border-radius:6px}.pda-info-card.pda-info-card-dark{background-color:#000}.pda-info-card.pda-info-card-dark .pda-info-card-title{color:#ffffff60}.pda-info-card.pda-info-card-dark .pda-info-card-highlight{color:#fff}.pda-info-card.pda-info-card-dark .pda-info-card-bold{color:#fff}.pda-info-card.pda-info-card-dark .pda-info-card-list{color:#ffffff60}.pda-list-item{padding:24px 16px;border-radius:16px;position:relative}.pda-list-item div{margin:0}.pda-list-item>div,.pda-list-item>div{margin-bottom:16px}.pda-list-item .pda-listitem-highlight{width:100%;font-size:40px;line-height:40px;font-weight:bold;color:#fff;display:flex;flex-direction:row;justify-content:space-between}.pda-list-item .pda-listitem-highlight div:first-child{flex:1;word-break:normal;white-space:normal;word-break:break-word}.pda-list-item .pda-listitem-header,.pda-list-item .pda-listitem-state-text,.pda-list-item .pda-listitem-subinfo{font-size:32px;line-height:32px;color:#ffffff60;word-break:break-all}.pda-list-item .pda-listitem-state-block{display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:0}.pda-list-item .pda-listitem-state-block>div{padding:6px 10px;border-radius:4px;background-color:#0091ea;margin-bottom:12px;margin-right:12px;font-size:24px;line-height:24px}.pda-list-item .pda-listitem-state-block>div.success{background-color:#0f0}.pda-list-item .pda-listitem-state-block>div.warning{background-color:#fc0}.pda-list-item .pda-listitem-state-block>div.error{background-color:red}.pda-list-item .pda-listitem-icon{position:absolute;top:0;right:0;width:60px;height:60px;background-color:#0091ea;border-radius:0 16px;display:flex;justify-content:center;align-items:center}.pda-list-item .listitem-icon-container{background-size:100%;background-repeat:no-repeat;width:16px;height:24px}.pda-list-item .listitem-icon-next{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01FkZisA1tCg1sj3b6U_!!6000000005866-2-tps-40-58.png)}.confirm-wrap{background:#ffffff;border-radius:6px 6px 0 0;padding:24px 20px;width:100%}.confirm-wrap .confirm-title{font-size:2.4rem;font-weight:700}.confirm-wrap .confirm-message{font-size:2.2rem;margin-bottom:1rem}.confirm-wrap .confirm-sub-message{font-size:2.2rem;margin-bottom:1rem}.confirm-wrap .confirm-btns{display:flex}.confirm-wrap .confirm-btns .confirm-cancel-button{margin-right:2%}.confirm-wrap.confirm-warning{background-color:red}.confirm-wrap.confirm-warning .pda-button{background-color:transparent;color:#000;border:2px solid black;border-radius:40px}.toast-wrap{background:#00FF00;border-radius:6px;padding:10px 15px;width:100%;box-sizing:border-box}.toast-wrap.warning{background-color:#ffcb00}.toast-wrap.error{background-color:red}.toast-wrap .toast-title{font-size:2.4rem;font-weight:700}.toast-wrap .toast-message{font-size:1.9rem}.mini-app-start-page{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100vw;height:100vh}.mini-app-start-page button{padding:.3em 3em;border-radius:6px;border:none;font-size:36px;background-color:#00bdff;color:#fff;margin-top:20px}.mini-app-start-page button:active{transform:scale(.95)}.mini-app-start-page .desc{opacity:.3}.local-debug-side{position:absolute;right:0;bottom:0}.presentation-card{margin:12px;background-color:#fff;border-radius:6px;text-align:center;padding:20px 6px}.presentation-card img{width:70%;height:auto}.presentation-card.transparent{background-color:transparent;color:#fff}.presentation-card .text{margin-top:12px;font-weight:700;font-size:32px}.presentation-card .sub-text{margin-top:6px;font-weight:700;font-size:24px}.android-pda-list .default-item{background-color:#282828;font-size:36px;padding:10px;border-radius:6px;color:#fff;display:flex;justify-content:space-between;align-items:center;cursor:pointer;margin-bottom:10px}.android-pda-list .default-item:hover,.android-pda-list .default-item:active,.android-pda-list .default-item:focus{background-color:#686868}.android-pda-list .default-item .text{flex:1}.android-pda-list .default-item .sub-text{font-size:80%;opacity:.7}.android-pda-list .default-item .sub-tags{display:flex}.android-pda-list .default-item .sub-tags .sub-tag-item{background-color:#0f0;padding:2px;font-size:60%;margin-right:3px;border-radius:2px;color:#000;line-height:1em}.android-pda-list .default-item .sub-tags .sub-tag-item:first-child{margin-left:0}.android-pda-list .default-item .extra{font-size:80%;opacity:.7}.baselayout-wrapper{height:100%;min-height:100%;display:flex;flex-direction:column;position:absolute;top:0;left:0;right:0;bottom:0;background-color:#000}.baselayout-wrapper .baselayout-container{padding:0 24px 16px;overflow-x:auto;flex:1}.baselayout-wrapper .baselayout-container>*{margin-top:16px}.baselayout-wrapper .baselayout-footer{padding:16px 0}.wakekeyborard .wakekeyborard-icon{width:80px;height:80px;background-image:url(https://img.alicdn.com/imgextra/i3/O1CN01kxYh3U25Xzr9nAcYp_!!6000000007537-2-tps-240-240.png);background-size:100%;position:fixed;right:24px;bottom:24px}.wakekeyborard .wakekeyborard-overlay{position:fixed;top:0;right:0;left:0;bottom:0;background-color:#dedede33}.wakekeyborard .wakekeyborard-inputbox{display:flex;flex-direction:row;height:85px;position:absolute;bottom:0;left:0;right:0}.wakekeyborard .wakekeyborard-inputbox input{flex:2}.wakekeyborard .wakekeyborard-inputbox button{flex:1}.pda-step-card{display:flex;flex-direction:row}.pda-step-card .pda-step-indictor{display:flex;flex-direction:column;align-items:center;margin-right:16px}.pda-step-card .pda-step-indictor .pda-step-indictor-top{width:1px;background-color:#bec0c6;flex:1}.pda-step-card .pda-step-indictor .pda-step-indictor-top-hidden{background-color:#fff0}.pda-step-card .pda-step-indictor .pda-step-indictor-center{height:24px;width:24px;border-radius:12px;background-color:#bec0c6}.pda-step-card .pda-step-indictor .pda-step-indictor-center-active{background-color:#0091ea}.pda-step-card .pda-step-indictor .pda-step-indictor-bottom{flex:1;width:1px;background-color:#bec0c6}.pda-step-card .pda-step-indictor .pda-step-indictor-bottom-hidden{background-color:#fff0}.pda-step{border-radius:16px;padding:24px 16px;background-color:#fff;margin-bottom:16px}.pda-step p{margin:0}.pda-step .pda-step-title{font-size:60px;color:#0091ea}.pda-step .pda-step-list{margin-top:8px;color:#4a4a4a;font-size:32px;line-height:32px}.pda-step.pda-step-dark{background-color:#000}.pda-step.pda-step-dark .pda-step-title{color:#fff}.pda-step.pda-step-dark .pda-step-list{color:#bec0c6}.pda-finish-card-top{height:100%;display:flex;flex-direction:column;align-items:center;color:#fff}.pda-finish-card-top .pda-finish-card-img{width:100%;margin:100px auto 0}.pda-finish-card-top .pda-finish-card-title{font-size:50px;line-height:45px;color:#fff;font-weight:500;margin-bottom:16px}.pda-finish-card-top .pda-finish-card-list{margin-top:16px;color:#ffffff80;font-size:32px;line-height:30px}.pda-distance-card{border-radius:16px;padding:36px 16px;background-color:#fff}.pda-distance-card p{margin:0;font-size:28px;color:#738399}.pda-distance-card .pda-distance-card-highlight{font-size:60px;line-height:64px;color:#0091ea}.pda-distance-card .pda-distance-indictor{margin-top:36px;display:flex}.pda-distance-card .pda-distance-card-progress{background-color:#ebecf2;height:34px;border-radius:6px;border:4px solid #D9D9D9;margin-top:8px;position:relative}.pda-distance-card .pda-distance-card-progress .pda-distance-card-progress-indictor{position:absolute;bottom:0;left:5px}.pda-distance-card .pda-distance-card-progress .pda-distance-card-progress-inside{background-color:#0091ea;height:26px;border-radius:6px 0 0 6px}.pda-distance-card .pda-distance-label{display:flex;justify-content:space-between}.android-sub-card{background:#282828;border-radius:16px;padding:10px;color:#fff}.android-sub-card .android-sub-card-title-section{display:flex;justify-content:space-between}.android-sub-card .android-sub-card-title-section .android-sub-card-title{opacity:.6;font-size:21.312px}.android-sub-card .android-sub-card-title-section .android-sub-card-tag{margin-bottom:0}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div{padding:6px 10px;border-radius:4px;background-color:#0091ea;color:#fff;font-size:15.984px;line-height:15.984px}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div.success{background-color:#0f0}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div.warning{background-color:#fc0;color:#000}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div.error{background-color:red}.android-sub-card .android-sub-card-context{font-size:39.6px;margin:-6px 0}.android-sub-card .android-sub-card-name{font-size:26.4px}.android-sub-card .android-sub-card-attrs{opacity:.6;font-size:21.12px}.pda-infinite-scroll{margin-top:10px}.pda-infinite-scroll span{color:#999}.pda-infinite-scroll .pda-infinite-scroll-view{display:flex;align-items:center;justify-content:center}.pda-action-sheet{position:absolute;z-index:1000;width:100%;height:100%;background-color:#00000059;display:none}.pda-action-sheet .pda-action-sheet-body{position:absolute;background-color:#fff;z-index:1010;width:100%;bottom:0;left:0;border-radius:9.9px 9.9px 0 0;padding-bottom:10.56px}.pda-action-sheet .pda-action-sheet-body .pda-action-sheet-item{margin:10.56px 15.84px 0;background-color:#f3f4f8;height:54px;display:flex;align-items:center;justify-content:center;font-size:24px;border-radius:9.9px}.pda-action-sheet.show{display:block}.pda-action-sheet.show .pda-action-sheet-body{animation:slide-in .3s ease-out}@keyframes slide-in{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}
|
|
1
|
+
*{margin:0;padding:0}div{box-sizing:border-box}.op-overlay{top:0;left:0;position:fixed;right:0;bottom:0;display:flex;justify-content:center;align-items:center;background-color:#0006;z-index:100}.op-overlay.center{align-items:center;justify-content:center}.op-overlay.top{align-items:flex-start;justify-content:center}.op-overlay.bottom{align-items:flex-end;justify-content:center}.pda-header{display:flex;flex-direction:row;align-items:center;color:#fff;height:84px}.pda-header .header-click-area{height:100%;display:flex;align-items:center;flex-direction:row}.pda-header .pda-goback{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01O46CYm1Gc4yvZtk7A_!!6000000000642-2-tps-36-64.png);width:18px;height:32px;background-size:100%;margin-left:28px;margin-right:8px}.pda-header .pda-header-icon{height:36px;width:36px;margin-left:16px;background-size:100%}.pda-header .pda-header-icon-scan{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN017UD9RM1vCKxsjxsrE_!!6000000006136-2-tps-68-68.png)}.pda-header .pda-header-icon-select{background-image:url(https://img.alicdn.com/imgextra/i2/O1CN0170QXc91udWriUp19S_!!6000000006060-2-tps-74-72.png)}.pda-header .pda-header-icon-read{background-image:url(https://img.alicdn.com/imgextra/i2/O1CN01EMphgH1ylYGXImCZn_!!6000000006619-2-tps-70-70.png)}.pda-header .pda-title-text{margin-left:16px;font-size:40px}.pda-header .pda-header-more{height:36px;width:36px;background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01dTdXds1p9gz4wKAve_!!6000000005318-2-tps-70-26.png);background-size:100%;background-repeat:no-repeat;background-position:center;margin-left:auto}.pda-header .pda-menus{background-color:#fff;border-radius:8px;width:100%;padding:24px;display:flex;flex-direction:column}.pda-header .pda-menus>*{margin-bottom:12px}.pda-button{display:block;box-sizing:border-box;padding-right:0;text-align:center;font-size:40px;height:90px;line-height:90px;color:#fff;background-color:#f3f4f8;border-radius:10px;width:100%;border-width:0}.pda-button.pda-button-default{color:#000}.pda-button:active{background-color:#979797}.pda-button.pda-button-primary{background-color:#0091ea}.pda-button.pda-button-primary:active{background-color:#0074bb}.pda-button.pda-button-dark{background-color:#282828}.pda-button.pda-button-dark:active{background-color:#979797}.pda-button.pda-button-cutout{color:#0091ea;border-width:4px;border-color:#0091ea}.button-group{display:flex;flex-direction:row;padding:20px 24px;width:100%}.button-group .pda-button:not(:last-child){margin-right:16px}.pda-header{background-color:#000;display:flex;flex-direction:row;align-items:center;color:#fff;height:84px}.pda-header .header-click-area{height:100%;display:flex;align-items:center;flex-direction:row}.pda-header .pda-goback{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01O46CYm1Gc4yvZtk7A_!!6000000000642-2-tps-36-64.png);width:18px;height:32px;background-size:100%;margin-left:28px;margin-right:8px}.pda-header .pda-header-icon{height:36px;width:36px;margin-left:16px;background-size:100%;background-repeat:no-repeat}.pda-header .pda-header-icon-scan{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN017UD9RM1vCKxsjxsrE_!!6000000006136-2-tps-68-68.png)}.pda-header .pda-header-icon-select{background-image:url(https://img.alicdn.com/imgextra/i2/O1CN0170QXc91udWriUp19S_!!6000000006060-2-tps-74-72.png)}.pda-header .pda-header-icon-read{background-image:url(https://img.alicdn.com/imgextra/i2/O1CN01EMphgH1ylYGXImCZn_!!6000000006619-2-tps-70-70.png)}.pda-header .pda-title-text{margin-left:16px;font-size:40px;flex:1}.pda-header .pda-header-more{height:36px;width:36px;margin-left:16px;background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01dTdXds1p9gz4wKAve_!!6000000005318-2-tps-70-26.png);background-size:100%;background-repeat:no-repeat;background-position:center;margin-right:15px}.pda-header .pda-menus{background-color:#fff;border-radius:8px;width:100%;padding:24px;display:flex;flex-direction:column}.pda-header .pda-menus>*{margin-bottom:12px}.pda-info-card{border-radius:16px;padding:24px 16px;background-color:#fff;word-break:break-word}.pda-info-card .divda-info-card-title{font-size:32px}.pda-info-card .pda-info-card-title-section{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.pda-info-card .pda-info-card-title-section .pda-info-card-title{font-size:32px;color:#666}.pda-info-card .pda-info-card-title-section .pda-info-card-tag{display:flex;align-items:center;justify-content:center;height:36px;padding:0 8px;background-color:#fc0;border-radius:8px}.pda-info-card .pda-info-card-highlight-section{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start}.pda-info-card .pda-info-card-highlight-section .pda-info-card-title{font-size:32px;color:#666;margin-top:20px}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight{font-size:80px;line-height:64px;color:#0091ea;font-weight:700;display:flex;flex-direction:row;align-items:flex-end}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight .pda-info-card-highlight1CN{font-size:64px}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight .pda-info-card-highlight2{font-size:50px;line-height:40px}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight .pda-info-card-highlight2CN{font-size:40px;line-height:40px}.pda-info-card .pda-info-card-bold{font-weight:700;font-size:40px;line-height:48px;color:#000;margin-top:12px}.pda-info-card .pda-info-card-list{margin-top:8px;color:#4a4a4a;font-size:32px;line-height:32px;word-break:break-all}.pda-info-card-progress{background-color:#f3f4f8;height:12px;border-radius:6px;margin-top:17px}.pda-info-card-progress .pda-info-card-progress-inside{background-color:#0091ea;height:12px;border-radius:6px}.pda-info-card.pda-info-card-dark{background-color:#000}.pda-info-card.pda-info-card-dark .pda-info-card-title{color:#ffffff60}.pda-info-card.pda-info-card-dark .pda-info-card-highlight,.pda-info-card.pda-info-card-dark .pda-info-card-bold{color:#fff}.pda-info-card.pda-info-card-dark .pda-info-card-list{color:#ffffff60}.pda-list-item{padding:24px 16px;border-radius:16px;position:relative}.pda-list-item div{margin:0}.pda-list-item>div,.pda-list-item>div{margin-bottom:16px}.pda-list-item .pda-listitem-highlight{width:100%;font-size:40px;line-height:40px;font-weight:700;color:#fff;display:flex;flex-direction:row;justify-content:space-between}.pda-list-item .pda-listitem-highlight div:first-child{flex:1;word-break:normal;white-space:normal;word-break:break-word}.pda-list-item .pda-listitem-header,.pda-list-item .pda-listitem-state-text,.pda-list-item .pda-listitem-subinfo{font-size:32px;line-height:32px;color:#ffffff60;word-break:break-all}.pda-list-item .pda-listitem-state-block{display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:0}.pda-list-item .pda-listitem-state-block>div{padding:6px 10px;border-radius:4px;background-color:#0091ea;margin-bottom:12px;margin-right:12px;font-size:24px;line-height:24px}.pda-list-item .pda-listitem-state-block>div.success{background-color:#0f0}.pda-list-item .pda-listitem-state-block>div.warning{background-color:#fc0}.pda-list-item .pda-listitem-state-block>div.error{background-color:red}.pda-list-item .pda-listitem-icon{position:absolute;top:0;right:0;width:60px;height:60px;background-color:#0091ea;border-radius:0 16px;display:flex;justify-content:center;align-items:center}.pda-list-item .listitem-icon-container{background-size:100%;background-repeat:no-repeat;width:16px;height:24px}.pda-list-item .listitem-icon-next{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01FkZisA1tCg1sj3b6U_!!6000000005866-2-tps-40-58.png)}.confirm-wrap{background:#ffffff;border-radius:6px 6px 0 0;padding:24px 20px;width:100%}.confirm-wrap .confirm-title{font-size:2.4rem;font-weight:700}.confirm-wrap .confirm-message,.confirm-wrap .confirm-sub-message{font-size:2.2rem;margin-bottom:1rem}.confirm-wrap .confirm-btns{display:flex}.confirm-wrap .confirm-btns .confirm-cancel-button{margin-right:2%}.confirm-wrap.confirm-warning{background-color:red}.confirm-wrap.confirm-warning .pda-button{background-color:transparent;color:#000;border:2px solid black;border-radius:40px}.toast-wrap{background:#00FF00;border-radius:6px;padding:10px 15px;width:100%;box-sizing:border-box}.toast-wrap.warning{background-color:#ffcb00}.toast-wrap.error{background-color:red}.toast-wrap .toast-title{font-size:2.4rem;font-weight:700}.toast-wrap .toast-message{font-size:1.9rem}.mini-app-start-page{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100vw;height:100vh}.mini-app-start-page button{padding:.3em 3em;border-radius:6px;border:none;font-size:36px;background-color:#00bdff;color:#fff;margin-top:20px}.mini-app-start-page button:active{transform:scale(.95)}.mini-app-start-page .desc{opacity:.3}.local-debug-side{position:absolute;right:0;bottom:0}.presentation-card{margin:12px;background-color:#fff;border-radius:6px;text-align:center;padding:20px 6px}.presentation-card img{width:70%;height:auto}.presentation-card.transparent{background-color:transparent;color:#fff}.presentation-card .text{margin-top:12px;font-weight:700;font-size:32px}.presentation-card .sub-text{margin-top:6px;font-weight:700;font-size:24px}.android-pda-list .default-item{background-color:#282828;font-size:36px;padding:10px;border-radius:6px;color:#fff;display:flex;justify-content:space-between;align-items:center;cursor:pointer;margin-bottom:10px}.android-pda-list .default-item:hover,.android-pda-list .default-item:active,.android-pda-list .default-item:focus{background-color:#686868}.android-pda-list .default-item .text{flex:1}.android-pda-list .default-item .sub-text{font-size:80%;opacity:.7}.android-pda-list .default-item .sub-tags{display:flex}.android-pda-list .default-item .sub-tags .sub-tag-item{background-color:#0f0;padding:2px;font-size:60%;margin-right:3px;border-radius:2px;color:#000;line-height:1em}.android-pda-list .default-item .sub-tags .sub-tag-item:first-child{margin-left:0}.android-pda-list .default-item .extra{font-size:80%;opacity:.7}.baselayout-wrapper{height:100%;min-height:100%;display:flex;flex-direction:column;position:absolute;top:0;left:0;right:0;bottom:0;background-color:#000}.baselayout-wrapper .baselayout-container{padding:0 24px 16px;overflow-x:auto;flex:1}.baselayout-wrapper .baselayout-container>*{margin-top:16px}.baselayout-wrapper .baselayout-footer{padding:16px 0}.wakekeyborard .wakekeyborard-icon{width:80px;height:80px;background-image:url(https://img.alicdn.com/imgextra/i3/O1CN01kxYh3U25Xzr9nAcYp_!!6000000007537-2-tps-240-240.png);background-size:100%;position:fixed;right:24px;bottom:24px}.wakekeyborard .wakekeyborard-overlay{position:fixed;top:0;right:0;left:0;bottom:0;background-color:#dedede33}.wakekeyborard .wakekeyborard-inputbox{display:flex;flex-direction:row;height:85px;position:absolute;bottom:0;left:0;right:0}.wakekeyborard .wakekeyborard-inputbox input{flex:2}.wakekeyborard .wakekeyborard-inputbox button{flex:1}.pda-step-card{display:flex;flex-direction:row}.pda-step-card .pda-step-indictor{display:flex;flex-direction:column;align-items:center;margin-right:16px}.pda-step-card .pda-step-indictor .pda-step-indictor-top{width:1px;background-color:#bec0c6;flex:1}.pda-step-card .pda-step-indictor .pda-step-indictor-top-hidden{background-color:#fff0}.pda-step-card .pda-step-indictor .pda-step-indictor-center{height:24px;width:24px;border-radius:12px;background-color:#bec0c6}.pda-step-card .pda-step-indictor .pda-step-indictor-center-active{background-color:#0091ea}.pda-step-card .pda-step-indictor .pda-step-indictor-bottom{flex:1;width:1px;background-color:#bec0c6}.pda-step-card .pda-step-indictor .pda-step-indictor-bottom-hidden{background-color:#fff0}.pda-step{border-radius:16px;padding:24px 16px;background-color:#fff;margin-bottom:16px}.pda-step p{margin:0}.pda-step .pda-step-title{font-size:60px;color:#0091ea}.pda-step .pda-step-list{margin-top:8px;color:#4a4a4a;font-size:32px;line-height:32px}.pda-step.pda-step-dark{background-color:#000}.pda-step.pda-step-dark .pda-step-title{color:#fff}.pda-step.pda-step-dark .pda-step-list{color:#bec0c6}.pda-finish-card-top{height:100%;display:flex;flex-direction:column;align-items:center;color:#fff}.pda-finish-card-top .pda-finish-card-img{width:100%;margin:100px auto 0}.pda-finish-card-top .pda-finish-card-title{font-size:50px;line-height:45px;color:#fff;font-weight:500;margin-bottom:16px}.pda-finish-card-top .pda-finish-card-list{margin-top:16px;color:#ffffff80;font-size:32px;line-height:30px}.pda-distance-card{border-radius:16px;padding:36px 16px;background-color:#fff}.pda-distance-card p{margin:0;font-size:28px;color:#738399}.pda-distance-card .pda-distance-card-highlight{font-size:60px;line-height:64px;color:#0091ea}.pda-distance-card .pda-distance-indictor{margin-top:36px;display:flex}.pda-distance-card .pda-distance-card-progress{background-color:#ebecf2;height:34px;border-radius:6px;border:4px solid #D9D9D9;margin-top:8px;position:relative}.pda-distance-card .pda-distance-card-progress .pda-distance-card-progress-indictor{position:absolute;bottom:0;left:5px}.pda-distance-card .pda-distance-card-progress .pda-distance-card-progress-inside{background-color:#0091ea;height:26px;border-radius:6px 0 0 6px}.pda-distance-card .pda-distance-label{display:flex;justify-content:space-between}.android-sub-card{background:#282828;border-radius:16px;padding:10px;color:#fff}.android-sub-card .android-sub-card-title-section{display:flex;justify-content:space-between}.android-sub-card .android-sub-card-title-section .android-sub-card-title{opacity:.6;font-size:21.312px}.android-sub-card .android-sub-card-title-section .android-sub-card-tag{margin-bottom:0}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div{padding:6px 10px;border-radius:4px;background-color:#0091ea;color:#fff;font-size:15.984px;line-height:15.984px}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div.success{background-color:#0f0}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div.warning{background-color:#fc0;color:#000}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div.error{background-color:red}.android-sub-card .android-sub-card-context{font-size:39.6px;margin:-6px 0}.android-sub-card .android-sub-card-name{font-size:26.4px}.android-sub-card .android-sub-card-attrs{opacity:.6;font-size:21.12px}.pda-app-list .pda-app-group{margin:25px}.pda-app-list .pda-app-group .group-name{line-height:1em;margin:0;font-size:32px;color:#fff;font-weight:400;opacity:.6}.pda-app-list .pda-app-group .group-apps{display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:25px}.pda-app-list .pda-app-group .group-apps .app-item{display:flex;flex-direction:column;justify-content:center;align-items:center;background-image:linear-gradient(138deg,#0091EA 0%,#095FFF 100%);border-radius:12px;font-size:32px;color:#fff;min-height:126px;flex:1;min-width:48%;max-width:48%;margin-bottom:25px;cursor:pointer}.pda-app-list .pda-app-group .group-apps .app-item:hover{background-image:linear-gradient(45deg,#0091EA 0%,#095FFF 100%)}.pda-app-list .pda-app-group .group-apps .app-item .app-name{text-align:center}.pda-app-list .pda-app-group .group-apps .app-item .app-subname{font-size:50%}.pda-infinite-scroll{margin-top:10px}.pda-infinite-scroll span{color:#999}.pda-infinite-scroll .pda-infinite-scroll-view{display:flex;align-items:center;justify-content:center}.pda-action-sheet{position:absolute;z-index:1000;width:100%;height:100%;background-color:#00000059;display:none}.pda-action-sheet .pda-action-sheet-body{position:absolute;background-color:#fff;z-index:1010;width:100%;bottom:0;left:0;border-radius:9.9px 9.9px 0 0;padding-bottom:10.56px}.pda-action-sheet .pda-action-sheet-body .pda-action-sheet-item{margin:10.56px 15.84px 0;background-color:#f3f4f8;height:54px;display:flex;align-items:center;justify-content:center;font-size:24px;border-radius:9.9px}.pda-action-sheet.show{display:block}.pda-action-sheet.show .pda-action-sheet-body{animation:slide-in .3s ease-out}@keyframes slide-in{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cniot/android-pda-components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./es/index.cjs.js",
|
|
6
6
|
"module": "./es/index.es.js",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"ahooks": "^2.10.11",
|
|
17
17
|
"classnames": "^2.3.1",
|
|
18
18
|
"history": "^5.0.1",
|
|
19
|
+
"keycode": "^2.2.1",
|
|
19
20
|
"less": "^4.1.1",
|
|
20
21
|
"react": "^17.0.2",
|
|
21
22
|
"react-dom": "^17.0.2"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pda-button{display:block;box-sizing:border-box;padding-right:0;text-align:center;font-size:40px;height:90px;line-height:90px;color:#fff;background-color:#f3f4f8;border-radius:10px;width:100%;border-width:0}.pda-button.pda-button-default{color:#000}.pda-button:active{background-color:#979797}.pda-button.pda-button-primary{background-color:#0091ea}.pda-button.pda-button-primary:active{background-color:#0074bb}.pda-button.pda-button-dark{background-color:#282828}.pda-button.pda-button-dark:active{background-color:#979797}.pda-button.pda-button-cutout{color:#0091ea;border-width:4px;border-color:#0091ea}.button-group{display:flex;flex-direction:row;padding:20px 24px;width:100%}.button-group .pda-button:not(:last-child){margin-right:16px}.op-overlay{top:0;left:0;position:fixed;right:0;bottom:0;display:flex;justify-content:center;align-items:center;background-color:#0006;z-index:100}.op-overlay.center{align-items:center;justify-content:center}.op-overlay.top{align-items:flex-start;justify-content:center}.op-overlay.bottom{align-items:flex-end;justify-content:center}.pda-header{background-color:#000;display:flex;flex-direction:row;align-items:center;color:#fff;height:84px}.pda-header .pda-goback{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01O46CYm1Gc4yvZtk7A_!!6000000000642-2-tps-36-64.png);width:18px;height:32px;background-size:100%;margin-left:28px;margin-right:8px}.pda-header .pda-header-icon{height:36px;width:36px;margin-left:16px;background-size:100%;background-repeat:no-repeat}.pda-header .pda-header-icon-scan{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN017UD9RM1vCKxsjxsrE_!!6000000006136-2-tps-68-68.png)}.pda-header .pda-header-icon-select{background-image:url(https://img.alicdn.com/imgextra/i2/O1CN0170QXc91udWriUp19S_!!6000000006060-2-tps-74-72.png)}.pda-header .pda-header-icon-read{background-image:url(https://img.alicdn.com/imgextra/i2/O1CN01EMphgH1ylYGXImCZn_!!6000000006619-2-tps-70-70.png)}.pda-header .pda-title-text{margin-left:16px;font-size:40px;flex:1}.pda-header .pda-header-more{height:36px;width:36px;margin-left:16px;background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01dTdXds1p9gz4wKAve_!!6000000005318-2-tps-70-26.png);background-size:100%;background-repeat:no-repeat;background-position:center;margin-right:15px}.pda-info-card{border-radius:16px;padding:24px 16px;background-color:#fff;word-break:break-word}.pda-info-card .divda-info-card-title{font-size:32px}.pda-info-card .pda-info-card-title-section{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.pda-info-card .pda-info-card-title-section .pda-info-card-title{font-size:32px;color:#666}.pda-info-card .pda-info-card-title-section .pda-info-card-tag{display:flex;align-items:center;justify-content:center;height:36px;padding:0 8px;background-color:#fc0;border-radius:8px}.pda-info-card .pda-info-card-highlight-section{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start}.pda-info-card .pda-info-card-highlight-section .pda-info-card-title{font-size:32px;color:#666;margin-top:20px}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight{font-size:80px;line-height:64px;color:#0091ea;font-weight:bold;display:flex;flex-direction:row;align-items:flex-end}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight .pda-info-card-highlight1CN{font-size:64px}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight .pda-info-card-highlight2{font-size:50px;line-height:40px}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight .pda-info-card-highlight2CN{font-size:40px;line-height:40px}.pda-info-card .pda-info-card-bold{font-weight:bold;font-size:40px;line-height:48px;color:#000;margin-top:12px}.pda-info-card .pda-info-card-list{margin-top:8px;color:#4a4a4a;font-size:32px;line-height:32px;word-break:break-all}.pda-info-card-progress{background-color:#f3f4f8;height:12px;border-radius:6px;margin-top:17px}.pda-info-card-progress .pda-info-card-progress-inside{background-color:#0091ea;height:12px;border-radius:6px}.pda-info-card.pda-info-card-dark{background-color:#000}.pda-info-card.pda-info-card-dark .pda-info-card-title{color:#ffffff60}.pda-info-card.pda-info-card-dark .pda-info-card-highlight{color:#fff}.pda-info-card.pda-info-card-dark .pda-info-card-bold{color:#fff}.pda-info-card.pda-info-card-dark .pda-info-card-list{color:#ffffff60}.pda-step-card{display:flex;flex-direction:row}.pda-step-card .pda-step-indictor{display:flex;flex-direction:column;align-items:center;margin-right:16px}.pda-step-card .pda-step-indictor .pda-step-indictor-top{width:1px;background-color:#bec0c6;flex:1}.pda-step-card .pda-step-indictor .pda-step-indictor-top-hidden{background-color:#fff0}.pda-step-card .pda-step-indictor .pda-step-indictor-center{height:24px;width:24px;border-radius:12px;background-color:#bec0c6}.pda-step-card .pda-step-indictor .pda-step-indictor-center-active{background-color:#0091ea}.pda-step-card .pda-step-indictor .pda-step-indictor-bottom{flex:1;width:1px;background-color:#bec0c6}.pda-step-card .pda-step-indictor .pda-step-indictor-bottom-hidden{background-color:#fff0}.pda-step{border-radius:16px;padding:24px 16px;background-color:#fff;margin-bottom:16px}.pda-step p{margin:0}.pda-step .pda-step-title{font-size:60px;color:#0091ea}.pda-step .pda-step-list{margin-top:8px;color:#4a4a4a;font-size:32px;line-height:32px}.pda-step.pda-step-dark{background-color:#000}.pda-step.pda-step-dark .pda-step-title{color:#fff}.pda-step.pda-step-dark .pda-step-list{color:#bec0c6}.pda-list-item{padding:24px 16px;border-radius:16px;position:relative}.pda-list-item div{margin:0}.pda-list-item>div,.pda-list-item>div{margin-bottom:16px}.pda-list-item .pda-listitem-highlight{width:100%;font-size:40px;line-height:40px;font-weight:bold;color:#fff;display:flex;flex-direction:row;justify-content:space-between}.pda-list-item .pda-listitem-highlight div:first-child{flex:1;word-break:normal;white-space:normal;word-break:break-word}.pda-list-item .pda-listitem-header,.pda-list-item .pda-listitem-state-text,.pda-list-item .pda-listitem-subinfo{font-size:32px;line-height:32px;color:#ffffff60;word-break:break-all}.pda-list-item .pda-listitem-state-block{display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:0}.pda-list-item .pda-listitem-state-block>div{padding:6px 10px;border-radius:4px;background-color:#0091ea;margin-bottom:12px;margin-right:12px;font-size:24px;line-height:24px}.pda-list-item .pda-listitem-state-block>div.success{background-color:#0f0}.pda-list-item .pda-listitem-state-block>div.warning{background-color:#fc0}.pda-list-item .pda-listitem-state-block>div.error{background-color:red}.pda-list-item .pda-listitem-icon{position:absolute;top:0;right:0;width:60px;height:60px;background-color:#0091ea;border-radius:0 16px;display:flex;justify-content:center;align-items:center}.pda-list-item .listitem-icon-container{background-size:100%;background-repeat:no-repeat;width:16px;height:24px}.pda-list-item .listitem-icon-next{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01FkZisA1tCg1sj3b6U_!!6000000005866-2-tps-40-58.png)}.confirm-wrap{background:#ffffff;border-radius:6px 6px 0 0;padding:24px 20px;width:100%}.confirm-wrap .confirm-title{font-size:2.4rem;font-weight:700}.confirm-wrap .confirm-message{font-size:2.2rem;margin-bottom:1rem}.confirm-wrap .confirm-sub-message{font-size:2.2rem;margin-bottom:1rem}.confirm-wrap .confirm-btns{display:flex}.confirm-wrap .confirm-btns .confirm-cancel-button{margin-right:2%}.confirm-wrap.confirm-warning{background-color:red}.confirm-wrap.confirm-warning .pda-button{background-color:transparent;color:#000;border:2px solid black;border-radius:40px}.toast-wrap{background:#00FF00;border-radius:6px;padding:10px 15px;width:100%;box-sizing:border-box}.toast-wrap.warning{background-color:#ffcb00}.toast-wrap.error{background-color:red}.toast-wrap .toast-title{font-size:2.4rem;font-weight:700}.toast-wrap .toast-message{font-size:1.9rem}.presentation-card{margin:12px;background-color:#fff;border-radius:6px;text-align:center;padding:20px 6px}.presentation-card img{width:70%;height:auto}.presentation-card.transparent{background-color:transparent;color:#fff}.presentation-card .text{margin-top:12px;font-weight:700;font-size:32px}.presentation-card .sub-text{margin-top:6px;font-weight:700;font-size:24px}.android-pda-list .default-item{background-color:#282828;font-size:36px;padding:10px;border-radius:6px;color:#fff;display:flex;justify-content:space-between;align-items:center;cursor:pointer;margin-bottom:10px}.android-pda-list .default-item:hover,.android-pda-list .default-item:active,.android-pda-list .default-item:focus{background-color:#686868}.android-pda-list .default-item .text{flex:1}.android-pda-list .default-item .sub-text{font-size:80%;opacity:.7}.android-pda-list .default-item .sub-tags{display:flex}.android-pda-list .default-item .sub-tags .sub-tag-item{background-color:#0f0;padding:2px;font-size:60%;margin-right:3px;border-radius:2px;color:#000;line-height:1em}.android-pda-list .default-item .sub-tags .sub-tag-item:first-child{margin-left:0}.android-pda-list .default-item .extra{font-size:80%;opacity:.7}.wakekeyborard .wakekeyborard-icon{width:80px;height:80px;background-image:url(https://img.alicdn.com/imgextra/i3/O1CN01kxYh3U25Xzr9nAcYp_!!6000000007537-2-tps-240-240.png);background-size:100%;position:fixed;right:24px;bottom:24px}.wakekeyborard .wakekeyborard-overlay{position:fixed;top:0;right:0;left:0;bottom:0;background-color:#dedede33}.wakekeyborard .wakekeyborard-inputbox{display:flex;flex-direction:row;height:85px;position:absolute;bottom:0;left:0;right:0}.wakekeyborard .wakekeyborard-inputbox input{flex:2}.wakekeyborard .wakekeyborard-inputbox button{flex:1}.android-sub-card{background:#282828;border-radius:16px;padding:10px;color:#fff}.android-sub-card .android-sub-card-title-section{display:flex;justify-content:space-between}.android-sub-card .android-sub-card-title-section .android-sub-card-title{opacity:.6;font-size:21.312px}.android-sub-card .android-sub-card-title-section .android-sub-card-tag{margin-bottom:0}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div{padding:6px 10px;border-radius:4px;background-color:#0091ea;color:#fff;font-size:15.984px;line-height:15.984px}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div.success{background-color:#0f0}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div.warning{background-color:#fc0;color:#000}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div.error{background-color:red}.android-sub-card .android-sub-card-context{font-size:39.6px;margin:-6px 0}.android-sub-card .android-sub-card-name{font-size:26.4px}.android-sub-card .android-sub-card-attrs{opacity:.6;font-size:21.12px}.pda-finish-card-top{height:100%;display:flex;flex-direction:column;align-items:center;color:#fff}.pda-finish-card-top .pda-finish-card-img{width:100%;margin:100px auto 0}.pda-finish-card-top .pda-finish-card-title{font-size:50px;line-height:45px;color:#fff;font-weight:500;margin-bottom:16px}.pda-finish-card-top .pda-finish-card-list{margin-top:16px;color:#ffffff80;font-size:32px;line-height:30px}.baselayout-wrapper{height:100%;min-height:100%;display:flex;flex-direction:column;position:absolute;top:0;left:0;right:0;bottom:0;background-color:#000}.baselayout-wrapper .baselayout-container{padding:0 24px 16px;overflow-x:auto;flex:1}.baselayout-wrapper .baselayout-container>*{margin-top:16px}.baselayout-wrapper .baselayout-footer{padding:16px 0}.pda-distance-card{border-radius:16px;padding:36px 16px;background-color:#fff}.pda-distance-card p{margin:0;font-size:28px;color:#738399}.pda-distance-card .pda-distance-card-highlight{font-size:60px;line-height:64px;color:#0091ea}.pda-distance-card .pda-distance-indictor{margin-top:36px;display:flex}.pda-distance-card .pda-distance-card-progress{background-color:#ebecf2;height:34px;border-radius:6px;border:4px solid #D9D9D9;margin-top:8px;position:relative}.pda-distance-card .pda-distance-card-progress .pda-distance-card-progress-indictor{position:absolute;bottom:0;left:5px}.pda-distance-card .pda-distance-card-progress .pda-distance-card-progress-inside{background-color:#0091ea;height:26px;border-radius:6px 0 0 6px}.pda-distance-card .pda-distance-label{display:flex;justify-content:space-between}.pda-infinite-scroll{margin-top:10px}.pda-infinite-scroll span{color:#999}.pda-infinite-scroll .pda-infinite-scroll-view{display:flex;align-items:center;justify-content:center}*{margin:0;padding:0}div{box-sizing:border-box}.pda-header{display:flex;flex-direction:row;align-items:center;color:#fff;height:84px}.pda-header .header-click-area{height:100%;display:flex;align-items:center;flex-direction:row}.pda-header .pda-goback{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01O46CYm1Gc4yvZtk7A_!!6000000000642-2-tps-36-64.png);width:18px;height:32px;background-size:100%;margin-left:28px;margin-right:8px}.pda-header .pda-header-icon{height:36px;width:36px;margin-left:16px;background-size:100%}.pda-header .pda-header-icon-scan{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN017UD9RM1vCKxsjxsrE_!!6000000006136-2-tps-68-68.png)}.pda-header .pda-header-icon-select{background-image:url(https://img.alicdn.com/imgextra/i2/O1CN0170QXc91udWriUp19S_!!6000000006060-2-tps-74-72.png)}.pda-header .pda-header-icon-read{background-image:url(https://img.alicdn.com/imgextra/i2/O1CN01EMphgH1ylYGXImCZn_!!6000000006619-2-tps-70-70.png)}.pda-header .pda-title-text{margin-left:16px;font-size:40px}.pda-header .pda-header-more{height:36px;width:36px;background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01dTdXds1p9gz4wKAve_!!6000000005318-2-tps-70-26.png);background-size:100%;background-repeat:no-repeat;background-position:center;margin-left:auto}.pda-header .pda-menus{background-color:#fff;border-radius:8px;width:100%;padding:24px;display:flex;flex-direction:column}.pda-header .pda-menus>*{margin-bottom:12px}.mini-app-start-page{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100vw;height:100vh}.mini-app-start-page button{padding:.3em 3em;border-radius:6px;border:none;font-size:36px;background-color:#00bdff;color:#fff;margin-top:20px}.mini-app-start-page button:active{transform:scale(.95)}.mini-app-start-page .desc{opacity:.3}.local-debug-side{position:absolute;right:0;bottom:0}.pda-action-sheet{position:absolute;z-index:1000;width:100%;height:100%;background-color:#00000059;display:none}.pda-action-sheet .pda-action-sheet-body{position:absolute;background-color:#fff;z-index:1010;width:100%;bottom:0;left:0;border-radius:9.9px 9.9px 0 0;padding-bottom:10.56px}.pda-action-sheet .pda-action-sheet-body .pda-action-sheet-item{margin:10.56px 15.84px 0;background-color:#f3f4f8;height:54px;display:flex;align-items:center;justify-content:center;font-size:24px;border-radius:9.9px}.pda-action-sheet.show{display:block}.pda-action-sheet.show .pda-action-sheet-body{animation:slide-in .3s ease-out}@keyframes slide-in{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}.components-container{display:flex}.components-example{flex-direction:column;border-right:1px solid #d8d8d8;min-height:100vh;padding-right:10px}.components-example h1{margin-top:20px}.components-example h2{color:#00000073;font-size:14px;margin-top:20px;border-bottom:1px solid #d8d8d8;padding-bottom:5px}.components-example .components-item{color:#000000d9;font-size:16px;padding:10px 0;margin-left:20px;align-items:center;cursor:pointer}.components-example .components-item:hover,.components-example .components-item.active{color:#4f10fd73}.components-example .components-item>small{margin-left:1em}.show-case{display:flex;flex-direction:column;padding:50px;flex:1}.show-case h2{margin:20px 0}.show-case .code{white-space:pre;border:1px solid #e8e8e8;border-radius:4px;background-color:#f9f9f9;padding:5px 10px;display:block;margin:20px 0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}.pure-table{border-collapse:collapse;border-spacing:0;empty-cells:show;border:1px solid #cbcbcb}.pure-table caption{color:#000;font:italic 85%/1 arial,sans-serif;padding:1em 0;text-align:center}.pure-table td,.pure-table th{border-left:1px solid #cbcbcb;border-width:0 0 0 1px;font-size:inherit;margin:0;overflow:visible;padding:.5em 1em}.pure-table thead{background-color:#e0e0e0;color:#000;text-align:left;vertical-align:bottom}.pure-table td{background-color:transparent}.pure-table-bordered td{border-bottom:1px solid #cbcbcb}.pure-table-bordered tbody>tr:last-child>td{border-bottom-width:0}.demo-box{display:block;margin:5px 0;padding:15px;border:1px solid #e9e9e9;border-radius:6px;flex-direction:column}.demo-box:not(:last-child){margin-bottom:20px}.version{font-size:12px;margin-left:10px}.dark-block{background-color:#000;padding:24px}.light-block{background-color:#ddd;padding:24px}.light-block.pda{width:50%}.light-block-overlay{position:relative;height:300px}.light-block-overlay .op-overlay{position:absolute;width:100%;height:100%}
|