@cniot/android-pda-components 0.2.71 → 0.2.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/assets/index.57896015.css +1 -0
- package/build/assets/{index.e4f65b3b.js → index.e71bdf6b.js} +113 -39
- package/build/index.html +2 -2
- package/doc/index.jsx +7 -0
- package/es/index.cjs.js +2 -2
- package/es/index.es.js +85 -42
- package/es/style.css +1 -1
- package/package.json +1 -1
- package/build/assets/index.554e863b.css +0 -1
package/es/index.es.js
CHANGED
|
@@ -55,7 +55,7 @@ var _classnames_2_3_1_classnames = { exports: {} };
|
|
|
55
55
|
})();
|
|
56
56
|
})(_classnames_2_3_1_classnames);
|
|
57
57
|
var classNames = _classnames_2_3_1_classnames.exports;
|
|
58
|
-
var index$
|
|
58
|
+
var index$D = /* @__PURE__ */ (() => ".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}\n")();
|
|
59
59
|
function getTypeClass$2(type) {
|
|
60
60
|
return {
|
|
61
61
|
center: "op-overlay center",
|
|
@@ -87,7 +87,7 @@ function Overlay$1(props) {
|
|
|
87
87
|
}
|
|
88
88
|
}, props.children) : null;
|
|
89
89
|
}
|
|
90
|
-
var index$
|
|
90
|
+
var index$C = /* @__PURE__ */ (() => ".pda-header{background-color:#000;display:flex;flex-direction:row;align-items:center;color:#fff;height:84px;padding-right:12px}.pda-header .header-click-area{padding-right:16px;height:100%;display:flex;align-items:center;flex-direction:row}.pda-header .pda-header-icon{height:100%;width:65px;background-size:100%;background-repeat:no-repeat;background-position:center}.pda-header .pda-header-icon:active{background-color:#d8d8d8}.pda-header .pda-header-icon-back{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01O46CYm1Gc4yvZtk7A_!!6000000000642-2-tps-36-64.png);background-size:17px 32px}.pda-header .pda-header-icon-scan{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN017UD9RM1vCKxsjxsrE_!!6000000006136-2-tps-68-68.png);background-size:34px auto}.pda-header .pda-header-icon-select{background-image:url(https://img.alicdn.com/imgextra/i2/O1CN0170QXc91udWriUp19S_!!6000000006060-2-tps-74-72.png);background-size:36px auto}.pda-header .pda-header-icon-read{background-image:url(https://img.alicdn.com/imgextra/i2/O1CN01EMphgH1ylYGXImCZn_!!6000000006619-2-tps-70-70.png);background-size:35px auto}.pda-header .pda-title-text{font-size:40px;flex:1}.pda-header .pda-header-more{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01dTdXds1p9gz4wKAve_!!6000000005318-2-tps-70-26.png);background-size:36px auto}.pda-header .pda-header-config{background-image:url(https://img.alicdn.com/imgextra/i3/O1CN01SKQH1k1p7rQYTBXdn_!!6000000005314-2-tps-56-60.png);background-size:36px auto}.pda-header .pda-menus{background-color:#fff;border-radius:8px 8px 0 0;width:100%;padding:24px;display:flex;flex-direction:column}.pda-header .pda-menus>*{margin-bottom:12px}\n")();
|
|
91
91
|
const blankFunc$6 = () => {
|
|
92
92
|
};
|
|
93
93
|
class PdaTitle extends React.Component {
|
|
@@ -266,7 +266,7 @@ var _keycode_2_2_1_keycode = { exports: {} };
|
|
|
266
266
|
}
|
|
267
267
|
})(_keycode_2_2_1_keycode, _keycode_2_2_1_keycode.exports);
|
|
268
268
|
var keycode = _keycode_2_2_1_keycode.exports;
|
|
269
|
-
var index$
|
|
269
|
+
var index$B = /* @__PURE__ */ (() => ".pda-button{display:block;box-sizing:border-box;padding-right:0;text-align:center;font-size:40px;height:90px;line-height:40px;color:#fff;background-color:#f3f4f8;border-radius:10px;width:100%;border-width:0;word-break:keep-all}.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}\n")();
|
|
270
270
|
function Button(props) {
|
|
271
271
|
const { type = "default", onClick, className = "", tabIndex = 1, dataClick = "" } = props;
|
|
272
272
|
let opt = {};
|
|
@@ -289,7 +289,7 @@ Button.Group = ButtonGroup;
|
|
|
289
289
|
const SPECIAL_KEY_MAP = ["fn"];
|
|
290
290
|
const empty$3 = () => {
|
|
291
291
|
};
|
|
292
|
-
function index$
|
|
292
|
+
function index$A(props) {
|
|
293
293
|
const {
|
|
294
294
|
onBack,
|
|
295
295
|
icon,
|
|
@@ -410,7 +410,7 @@ function addEventListener(node, eventName, fn) {
|
|
|
410
410
|
node.removeEventListener(eventName, fn);
|
|
411
411
|
};
|
|
412
412
|
}
|
|
413
|
-
var index$
|
|
413
|
+
var index$z = /* @__PURE__ */ (() => ".pda-info-card{border-radius:16px;padding:16px;background-color:#fff;word-break:break-word}.pda-info-card .divda-info-card-title{font-size:32px;line-height: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;padding-top:12px;display:flex;flex-direction:row;align-items:flex-end;flex-wrap:wrap}.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:16px}.pda-info-card .pda-info-card-list{margin-top:12px;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:16px}.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:#999}.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:#999}\n")();
|
|
414
414
|
class PdaInfoCard$2 extends React.Component {
|
|
415
415
|
constructor(props) {
|
|
416
416
|
super(props);
|
|
@@ -468,7 +468,7 @@ class PdaInfoCard$2 extends React.Component {
|
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
470
|
PdaInfoCard$2.IMAGE_1 = "https://img.alicdn.com/imgextra/i2/O1CN01qYuxip1ME9zhdL9XG_!!6000000001402-2-tps-150-150.png";
|
|
471
|
-
var index$
|
|
471
|
+
var index$y = /* @__PURE__ */ (() => ".pda-list-item{padding:24px 16px;border-radius:16px;position:relative}.pda-list-item div{margin:0}.pda-list-item>div{margin-bottom:12px}.pda-list-item>div:last-child{margin-bottom:0}.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:#999;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;opacity:.85}.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)}\n")();
|
|
472
472
|
class PdaListItem extends React.Component {
|
|
473
473
|
constructor(props) {
|
|
474
474
|
super(props);
|
|
@@ -514,7 +514,7 @@ class PdaListItem extends React.Component {
|
|
|
514
514
|
}));
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
|
-
var index$
|
|
517
|
+
var index$x = /* @__PURE__ */ (() => ".confirm-wrap{background:#ffffff;border-radius:6px 6px 0 0;padding-top:24px;width:100%}.confirm-wrap .confirm-content{padding:0 24px}.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-sub-block{display:flex;flex-direction:row}.confirm-wrap .confirm-sub-block .confirm-sub-label{white-space:nowrap}.confirm-wrap .confirm-sub-block .confirm-sub-content{margin-left:12px;word-wrap:break-word;word-break:break-all}.confirm-wrap .confirm-btns>*:not(:first-child){padding-top:0}.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}\n")();
|
|
518
518
|
function empty$2() {
|
|
519
519
|
}
|
|
520
520
|
function Confirm(props) {
|
|
@@ -559,7 +559,7 @@ function Confirm(props) {
|
|
|
559
559
|
dataClick: item.dataClick
|
|
560
560
|
}, item.label))) : null));
|
|
561
561
|
}
|
|
562
|
-
var index$
|
|
562
|
+
var index$w = /* @__PURE__ */ (() => ".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:50px;font-weight:700}.toast-wrap .toast-message{font-size:32px}.loading-box{background-color:#fff;border-radius:5%;display:flex;flex-direction:column;align-items:center;padding:10px 20px;margin-top:-10%}.loading-box svg{width:50px;height:50px;animation:rotate 1.5s linear infinite;margin:10px}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n")();
|
|
563
563
|
function WindVaneLog(param) {
|
|
564
564
|
const params = {
|
|
565
565
|
domain: "logger",
|
|
@@ -813,7 +813,7 @@ function confirm(props) {
|
|
|
813
813
|
onClick: onNext
|
|
814
814
|
}));
|
|
815
815
|
}
|
|
816
|
-
var index$
|
|
816
|
+
var index$v = /* @__PURE__ */ (() => ".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}\n")();
|
|
817
817
|
function getTypeClass(type) {
|
|
818
818
|
return {
|
|
819
819
|
center: "op-overlay center",
|
|
@@ -845,7 +845,7 @@ function Overlay(props) {
|
|
|
845
845
|
}
|
|
846
846
|
}, props.children) : null;
|
|
847
847
|
}
|
|
848
|
-
var index$
|
|
848
|
+
var index$u = /* @__PURE__ */ (() => ".prompt-dialog{background:#ffffff;border-radius:6px 6px 0 0;padding:10px;width:80%}.prompt-dialog .prompt-title{font-size:30px;margin:10px 0}.prompt-dialog .prompt-input{transition:all .1s linear;border:1px solid #dcdfe6;background-color:#fff;outline:0;margin:0;font-weight:400;vertical-align:middle;background-color:#0000;color:#1f2633;font-size:24px;box-sizing:border-box;width:100%;padding:.5em;border-radius:4px}.prompt-dialog .prompt-input:hover,.prompt-dialog .prompt-input:active,.prompt-dialog .prompt-input:focus{border-color:#03c1fd}.prompt-dialog .prompt-btns{display:flex;margin-top:10px}.prompt-dialog .prompt-btns .pda-button{margin-left:10px}.prompt-dialog .prompt-btns .pda-button:first-child{margin-left:0}\n")();
|
|
849
849
|
function Prompt(props) {
|
|
850
850
|
const inputRef = React.useRef();
|
|
851
851
|
const { data = {}, onNext } = props;
|
|
@@ -916,7 +916,7 @@ function splitMessage(message) {
|
|
|
916
916
|
var msg = String(message).split("by Error:");
|
|
917
917
|
return msg[1] || msg[0];
|
|
918
918
|
}
|
|
919
|
-
var index$
|
|
919
|
+
var index$t = /* @__PURE__ */ (() => ".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}\n")();
|
|
920
920
|
function NotFound(props) {
|
|
921
921
|
return /* @__PURE__ */ React.createElement("div", {
|
|
922
922
|
style: { padding: "20%" }
|
|
@@ -924,7 +924,7 @@ function NotFound(props) {
|
|
|
924
924
|
style: { fontSize: "60%" }
|
|
925
925
|
}, "Not found")), /* @__PURE__ */ React.createElement("div", null, props.action.getPage()));
|
|
926
926
|
}
|
|
927
|
-
var index$
|
|
927
|
+
var index$s = /* @__PURE__ */ (() => ".loading-wrap{position:fixed;z-index:1000;left:0;top:0;background-color:#00000080;height:100vh;width:100vw;display:flex;align-items:center;justify-content:center}.loading-wrap .loading-box{background-color:#fff;border-radius:5%;display:flex;flex-direction:column;align-items:center;padding:10px 20px;margin-top:-10%}.loading-wrap .loading-box svg{width:50px;height:50px;animation:rotate 1.5s linear infinite;margin:10px}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n")();
|
|
928
928
|
function Loading$1(props) {
|
|
929
929
|
const [showLoading, setShowLoading] = React.useState(props.visible);
|
|
930
930
|
const edgeService = props.edgeService;
|
|
@@ -986,7 +986,7 @@ function Debug() {
|
|
|
986
986
|
console.warn('Please stop using "Debug" Components');
|
|
987
987
|
return null;
|
|
988
988
|
}
|
|
989
|
-
var index$
|
|
989
|
+
var index$r = {
|
|
990
990
|
Alert,
|
|
991
991
|
Start,
|
|
992
992
|
Toast: toast,
|
|
@@ -997,7 +997,7 @@ var index$p = {
|
|
|
997
997
|
Loading: Loading$1,
|
|
998
998
|
PlaySound
|
|
999
999
|
};
|
|
1000
|
-
var index$
|
|
1000
|
+
var index$q = /* @__PURE__ */ (() => ".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;margin-top:80px}.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;line-height:24px;color:#999}\n")();
|
|
1001
1001
|
function Presentation(props) {
|
|
1002
1002
|
const {
|
|
1003
1003
|
image = Presentation.IMAGE_1,
|
|
@@ -1019,11 +1019,12 @@ Presentation.IMAGE_1 = "https://img.alicdn.com/imgextra/i3/O1CN019Ivkor1ksy3pMGD
|
|
|
1019
1019
|
Presentation.IMAGE_2 = "https://img.alicdn.com/imgextra/i1/O1CN01lhSunu1X4VPw1Mlas_!!6000000002870-2-tps-352-158.png";
|
|
1020
1020
|
Presentation.IMAGE_3 = "https://img.alicdn.com/imgextra/i1/O1CN01mreYXo1XfbUsQ7hip_!!6000000002951-2-tps-322-144.png";
|
|
1021
1021
|
Presentation.IMAGE_4 = "https://img.alicdn.com/imgextra/i3/O1CN017gNM8F1Fmmcfti7Dg_!!6000000000530-1-tps-414-286.gif";
|
|
1022
|
-
var index$
|
|
1022
|
+
var index$p = /* @__PURE__ */ (() => ".android-pda-list{--base-font-size: 36px}.android-pda-list .android-pda-list-title{font-size:calc(var(--base-font-size) * .8);color:#fff}.android-pda-list .default-item{background-color:#282828;font-size:var(--base-font-size);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:#0061a1}.android-pda-list .default-item .text{flex:1}.android-pda-list .default-item .sub-text{font-size:80%;opacity:.7;line-height:1em}.android-pda-list .default-item .sub-tags{display:flex;margin-top:10px}.android-pda-list .default-item .sub-tags .sub-tag-item{background-color:#008fed;padding:.3em;font-size:40%;margin-right:5px;border-radius:6px;color:#fff;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}\n")();
|
|
1023
1023
|
function empty$1() {
|
|
1024
1024
|
}
|
|
1025
1025
|
function List$1(props) {
|
|
1026
1026
|
const {
|
|
1027
|
+
title = "",
|
|
1027
1028
|
dataSource = [],
|
|
1028
1029
|
onClickItem,
|
|
1029
1030
|
onItemClick = empty$1,
|
|
@@ -1032,7 +1033,9 @@ function List$1(props) {
|
|
|
1032
1033
|
return /* @__PURE__ */ React.createElement("div", {
|
|
1033
1034
|
className: "android-pda-list",
|
|
1034
1035
|
style
|
|
1035
|
-
},
|
|
1036
|
+
}, /* @__PURE__ */ React.createElement("div", {
|
|
1037
|
+
className: "android-pda-list-title"
|
|
1038
|
+
}, title), dataSource.map((item, index2) => {
|
|
1036
1039
|
return /* @__PURE__ */ React.createElement(DefaultItem, {
|
|
1037
1040
|
key: item.key || index2,
|
|
1038
1041
|
dataSource: item,
|
|
@@ -1071,7 +1074,7 @@ function DefaultItem(props) {
|
|
|
1071
1074
|
}, extra));
|
|
1072
1075
|
}
|
|
1073
1076
|
List$1.Item = DefaultItem;
|
|
1074
|
-
var index$
|
|
1077
|
+
var index$o = /* @__PURE__ */ (() => ".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}.baselayout-wrapper .loading{position:absolute;top:0;left:0;right:0;bottom:0;color:#fff;background-color:#0006;background-image:url(https://img.alicdn.com/imgextra/i2/O1CN01PRSptR1YO1wOlBHCr_!!6000000003048-1-tps-240-240.gif);background-repeat:no-repeat;background-position:center;background-size:120px 120px}\n")();
|
|
1075
1078
|
const blankFunc$5 = () => {
|
|
1076
1079
|
};
|
|
1077
1080
|
class BaseLayoutContainer extends React.Component {
|
|
@@ -1428,7 +1431,7 @@ class BaseLayout extends React.Component {
|
|
|
1428
1431
|
});
|
|
1429
1432
|
}
|
|
1430
1433
|
}
|
|
1431
|
-
var index$
|
|
1434
|
+
var index$n = /* @__PURE__ */ (() => ".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-overlay{position:fixed;top:0;right:0;left:0;bottom:0;background-color:#dedede33}.wakekeyborard-inputbox{width:100%;display:flex;flex-direction:row;height:85px;position:absolute;bottom:0;left:0;right:0}.wakekeyborard-inputbox input{width:100%;border-radius:16px 0 0;border:0;font-size:42px;background-color:#fff;padding-left:20px}.wakekeyborard-inputbox input:focus{outline:none}.wakekeyborard-inputbox input::-webkit-input-placeholder{color:#d1d1d6;font-size:32px}.wakekeyborard-inputbox button{width:150px;border:0;border-radius:0 16px 0 0;background-color:#fff}\n")();
|
|
1432
1435
|
const blankFunc$1 = () => {
|
|
1433
1436
|
};
|
|
1434
1437
|
function Keyborard(props) {
|
|
@@ -1575,7 +1578,7 @@ class UploadeButton extends Component {
|
|
|
1575
1578
|
}))));
|
|
1576
1579
|
}
|
|
1577
1580
|
}
|
|
1578
|
-
var index$
|
|
1581
|
+
var index$m = /* @__PURE__ */ (() => ".v-mask{position:fixed;top:0;left:0;z-index:1000;display:block;width:100%;height:100%;background:rgba(0,0,0,.75);opacity:1;display:unset}.v-mask .image-viewer-content{width:100vw;height:100vh;max-height:-webkit-fill-available;touch-action:none}.v-mask .image-viewer-slides{height:100%;position:relative;z-index:1;cursor:grab;touch-action:none}.v-mask .image-viewer-indicator{position:absolute;z-index:2;left:50%;top:12px;transform:translate(-50%);color:#e6e6e6;font-size:14px}.v-mask .viewer-image-close{position:absolute;right:6px}.v-mask .viewer-image-close svg{fill:#fff;background:rgba(0,0,0,.3);box-sizing:content-box;height:24px;padding:12px;width:24px}.v-mask .image-viewer-slides-inner{height:100%;white-space:nowrap}.v-mask .image-viewer-image-wrapper{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.v-mask .image-viewer-image-wrapper img{display:block;max-width:100%;max-height:100%}.v-mask .viewer-image-arrow{position:absolute;top:calc(50% - 10px);z-index:999}.v-mask .viewer-image-arrow svg{fill:#fff;background:rgba(0,0,0,.3);box-sizing:content-box;height:24px;padding:18px;width:24px}.v-mask .viewer-prev{left:0}.v-mask .viewer-next{right:0}.v-mask .image-viewer-loading{display:flex;justify-content:center;align-items:center;position:fixed;left:0;top:0;width:100%;height:100%;background-color:#0000009d;z-index:998}.v-mask .image-viewer-loading .image-viewer-loading-reactor{animation:PhotoView__delayShow .4s linear both}.v-mask .image-viewer-loading .image-viewer-loading-reactor svg{animation:PhotoView__rotate .6s linear infinite}@keyframes PhotoView__rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes PhotoView__delayShow{0%,50%{opacity:0}to{opacity:1}}\n")();
|
|
1579
1582
|
const classPrefix$1 = "image-viewer";
|
|
1580
1583
|
class ImageViewer extends Component {
|
|
1581
1584
|
constructor(props) {
|
|
@@ -1871,9 +1874,9 @@ class ImageUploader extends Component {
|
|
|
1871
1874
|
}));
|
|
1872
1875
|
}
|
|
1873
1876
|
}
|
|
1874
|
-
var index$
|
|
1875
|
-
var index$
|
|
1876
|
-
var index$
|
|
1877
|
+
var index$l = /* @__PURE__ */ (() => ".image-uploader-wrap{display:inline-flex;flex-wrap:wrap;margin-bottom:8px}.image-space-item{margin-right:8px;padding-bottom:8px}.image-space-item .image-uploader-cell{position:relative;width:80px;height:80px;border-radius:4px;overflow:hidden}.image-space-item .image-uploader-cell-image{width:80px;height:80px}.image-space-item .image-uploader-cell-delete{position:absolute;top:0;right:0;width:14px;height:14px;background-color:#000000b3;border-radius:0 0 0 12px;font-size:8px;color:#fff;cursor:pointer}.image-space-item .image-uploader-cell-delete .uploader-delete-icon{position:absolute;right:2px;top:2px;display:inline-block;object-fit:cover;width:8px;height:8px}.image-space-item .image-uploader-img{object-fit:cover;display:block;width:100%;height:100%}.image-space-item .image-uploader-upload-button-wrap{position:relative}.image-space-item .image-uploader-upload-button-wrap .image-uploader-upload-button{display:flex;justify-content:center;align-items:center;background-color:#a2a2a2;cursor:pointer}.image-space-item .image-uploader-upload-button-wrap .uploader-add-icon{display:inline-block;object-fit:cover;width:32px;height:32px}.image-uploader-loading{display:flex;justify-content:center;align-items:center;position:fixed;left:0;top:0;width:100%;height:100%;background-color:#0000009d}.image-uploader-loading .image-uploader-loading-reactor{animation:PhotoView__delayShow .4s linear both}.image-uploader-loading .image-uploader-loading-reactor svg{animation:PhotoView__rotate .6s linear infinite}@keyframes PhotoView__rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes PhotoView__delayShow{0%,50%{opacity:0}to{opacity:1}}\n")();
|
|
1878
|
+
var index$k = /* @__PURE__ */ (() => "")();
|
|
1879
|
+
var index$j = /* @__PURE__ */ (() => ".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}\n")();
|
|
1877
1880
|
class PdaInfoCard$1 extends React.Component {
|
|
1878
1881
|
constructor(props) {
|
|
1879
1882
|
super(props);
|
|
@@ -1928,7 +1931,7 @@ class PdaInfoCard extends React.Component {
|
|
|
1928
1931
|
}
|
|
1929
1932
|
}
|
|
1930
1933
|
__publicField(PdaInfoCard, "Step", PdaInfoCard$1);
|
|
1931
|
-
var index$
|
|
1934
|
+
var index$i = /* @__PURE__ */ (() => ".pda-finish-card-top{display:flex;flex-direction:column;align-items:center;color:#fff}.pda-finish-card-top .pda-finish-card-img{width:100%;margin:50px auto 0}.pda-finish-card-top .pda-finish-card-title{font-size:50px;line-height:50px;color:#fff;font-weight:500;margin-bottom:16px;text-align:center}.pda-finish-card-top .pda-finish-card-list{margin-top:12px;color:#999;font-size:32px;line-height:30px;text-align:center}\n")();
|
|
1932
1935
|
class PdaFinishCard extends React.Component {
|
|
1933
1936
|
constructor(props) {
|
|
1934
1937
|
super(props);
|
|
@@ -1971,7 +1974,7 @@ class PdaFinishCard extends React.Component {
|
|
|
1971
1974
|
}
|
|
1972
1975
|
PdaFinishCard.SUCCESS = "https://img.alicdn.com/imgextra/i3/O1CN01OL2UYg24792knbTtC_!!6000000007343-1-tps-506-415.gif";
|
|
1973
1976
|
PdaFinishCard.ERROR_SUCCESS = "https://img.alicdn.com/imgextra/i3/O1CN01p5Oc5t1VMFWtBomQc_!!6000000002638-1-tps-600-456.gif";
|
|
1974
|
-
var index$
|
|
1977
|
+
var index$h = /* @__PURE__ */ (() => ".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}\n")();
|
|
1975
1978
|
class PdaDistanceCard extends React.Component {
|
|
1976
1979
|
constructor(props) {
|
|
1977
1980
|
super(props);
|
|
@@ -2006,7 +2009,7 @@ class PdaDistanceCard extends React.Component {
|
|
|
2006
2009
|
}, /* @__PURE__ */ React.createElement("p", null, "\u8FDC"), /* @__PURE__ */ React.createElement("p", null, "\u8FD1")));
|
|
2007
2010
|
}
|
|
2008
2011
|
}
|
|
2009
|
-
var index$
|
|
2012
|
+
var index$g = /* @__PURE__ */ (() => ".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:60px;line-height:60px;font-weight:700;word-break:break-all;word-wrap:break-word;margin-top:16px}.android-sub-card .android-sub-card-name{font-size:40px;line-height:40px;font-weight:700;margin-top:16px;margin-bottom:12px}.android-sub-card .android-sub-card-attrs{font-size:32px;line-height:32px;color:#999}.android-sub-card .android-sub-card-attrs>div{margin-top:12px}\n")();
|
|
2010
2013
|
function SubCard(props) {
|
|
2011
2014
|
const { title, context, name, tag, attrs = [], style } = props;
|
|
2012
2015
|
return /* @__PURE__ */ React.createElement("div", {
|
|
@@ -2032,7 +2035,7 @@ function SubCard(props) {
|
|
|
2032
2035
|
}, text);
|
|
2033
2036
|
})));
|
|
2034
2037
|
}
|
|
2035
|
-
var index$
|
|
2038
|
+
var index$f = /* @__PURE__ */ (() => ".select-card{padding-top:12px}.select-card p{color:#999;font-size:32px;line-height:40px;margin-bottom:12px;padding-left:16px}.select-card .select-card-content{background-color:#282828;padding:24px 24px 24px 16px;border-radius:16px;display:flex;flex-direction:row;justify-content:space-between;color:#fff;font-size:40px;line-height:40px}.select-card .select-icon{background-image:url(https://img.alicdn.com/imgextra/i1/O1CN01WnYl6Z1qBM3uInOvw_!!6000000005457-2-tps-40-68.png);background-size:100%;background-repeat:no-repeat;background-position:center;width:20px}\n")();
|
|
2036
2039
|
function SelectCard(props) {
|
|
2037
2040
|
const { title, label, select = true, onClick = (e) => {
|
|
2038
2041
|
} } = props;
|
|
@@ -2045,10 +2048,10 @@ function SelectCard(props) {
|
|
|
2045
2048
|
className: "select-icon"
|
|
2046
2049
|
}) : null, " "));
|
|
2047
2050
|
}
|
|
2048
|
-
var index$
|
|
2051
|
+
var index$e = /* @__PURE__ */ (() => ".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,.pda-app-list .pda-app-group .group-apps .app-item:active,.pda-app-list .pda-app-group .group-apps .app-item:focus{background-image:linear-gradient(45deg,#0091EA 0%,#095FFF 100%);box-shadow:0 0 1px 2px #fff}.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%}\n")();
|
|
2049
2052
|
function empty() {
|
|
2050
2053
|
}
|
|
2051
|
-
function index$
|
|
2054
|
+
function index$d(props) {
|
|
2052
2055
|
const { dataSource = [], onClickItem = empty } = props;
|
|
2053
2056
|
let tabIndex = 1;
|
|
2054
2057
|
return /* @__PURE__ */ React.createElement("div", {
|
|
@@ -2076,7 +2079,7 @@ function index$b(props) {
|
|
|
2076
2079
|
})));
|
|
2077
2080
|
}));
|
|
2078
2081
|
}
|
|
2079
|
-
var index$
|
|
2082
|
+
var index$c = /* @__PURE__ */ (() => ".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}\n")();
|
|
2080
2083
|
function usePersistFn(fn) {
|
|
2081
2084
|
var fnRef = useRef(fn);
|
|
2082
2085
|
fnRef.current = fn;
|
|
@@ -2394,7 +2397,7 @@ function InfiniteScroll(props) {
|
|
|
2394
2397
|
className: "pda-infinite-scroll-view"
|
|
2395
2398
|
}, /* @__PURE__ */ React.createElement("span", null, "\u6CA1\u6709\u66F4\u591A\u4E86~")));
|
|
2396
2399
|
}
|
|
2397
|
-
var index$
|
|
2400
|
+
var index$b = /* @__PURE__ */ (() => ".action-sheet{position:fixed;z-index:1000;width:100%;height:100%;background-color:#00000059;top:0;left:0;display:none}.action-sheet .action-sheet-container{position:absolute;background-color:#fff;z-index:1010;width:100%;bottom:0;left:0;max-height:80%;border-radius:9.9px 9.9px 0 0;padding-bottom:10.56px;display:flex;flex-direction:column}.action-sheet .action-sheet-container .action-sheet-body{flex:1;overflow-y:auto}.action-sheet .action-sheet-container .action-sheet-sticky-bottom{border-top:2px solid #F2F2F2}.action-sheet .action-sheet-container .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}.action-sheet .action-sheet-container .action-sheet-sticky-bottom-row{display:flex}.action-sheet.show{display:block}.action-sheet.show .action-sheet-container{animation:slide-in .3s ease-out}@keyframes slide-in{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}\n")();
|
|
2398
2401
|
function ActionSheet(props) {
|
|
2399
2402
|
const {
|
|
2400
2403
|
className = "",
|
|
@@ -2442,14 +2445,14 @@ function ActionSheet(props) {
|
|
|
2442
2445
|
}, item.title);
|
|
2443
2446
|
})) : null));
|
|
2444
2447
|
}
|
|
2445
|
-
var index$
|
|
2448
|
+
var index$a = /* @__PURE__ */ (() => ".pda-tag{display:inline-block;padding:6px 10px;border-radius:4px;background-color:#0091ea;margin-bottom:12px;margin-right:12px;font-size:24px;line-height:24px;word-break:keep-all}.pda-tag.pda-tag-success{background-color:#0f0}.pda-tag.pda-tag-warning{background-color:#fc0}.pda-tag.pda-tag-error{background-color:red}\n")();
|
|
2446
2449
|
function Tag(props) {
|
|
2447
2450
|
const { className = void 0, label = "label", type = "success" } = props;
|
|
2448
2451
|
return /* @__PURE__ */ React.createElement("div", {
|
|
2449
2452
|
className: classNames({ [className]: true, "pda-tag": true, ["pda-tag-" + type]: true })
|
|
2450
2453
|
}, label);
|
|
2451
2454
|
}
|
|
2452
|
-
var index$
|
|
2455
|
+
var index$9 = /* @__PURE__ */ (() => ".simple-card{display:inline-block;padding:12px 0 12px 18px;border-radius:12px}.simple-card .simple-card-title{font-weight:700;font-size:56px;line-height:40px;margin-top:12px}.simple-card .simple-card-content{font-size:28px;line-height:40px;margin-top:12px}.simple-card.simple-card-default{background-color:#f3f4f9}.simple-card.simple-card-default .simple-card-title{color:#0091ea}.simple-card.simple-card-default .simple-card-content{color:#000}.simple-card.simple-card-error{background-color:red}.simple-card.simple-card-error .simple-card-title{color:#fff}.simple-card.simple-card-error .simple-card-content{color:#ffafb1}.simple-card.simple-card-dark{background-color:#282828}.simple-card.simple-card-dark .simple-card-title{color:#fff}.simple-card.simple-card-dark .simple-card-content{color:#999}\n")();
|
|
2453
2456
|
function SimpleCard(props) {
|
|
2454
2457
|
const { className = "", title = "", content = "", type = "default", onClick = () => {
|
|
2455
2458
|
} } = props;
|
|
@@ -2462,7 +2465,7 @@ function SimpleCard(props) {
|
|
|
2462
2465
|
className: "simple-card-content"
|
|
2463
2466
|
}, content)) : null;
|
|
2464
2467
|
}
|
|
2465
|
-
var index$
|
|
2468
|
+
var index$8 = /* @__PURE__ */ (() => ".simple-card-block{background-color:#fff;padding:24px 12px;border-radius:12px}.simple-card-block .simple-card-block-header{display:flex;justify-content:space-between}.simple-card-block .simple-card-block-title{color:#666;font-size:32px;line-height:32px}.simple-card-block .simple-card-block-content{display:flex;flex-wrap:wrap}.simple-card-block .simple-card-block-content>div{min-width:190px;margin-right:12px;margin-top:12px}\n")();
|
|
2466
2469
|
function SimpleCardBlock(props) {
|
|
2467
2470
|
const { className = void 0, dataSource = [], title = "", tag } = props;
|
|
2468
2471
|
return /* @__PURE__ */ React.createElement("div", {
|
|
@@ -2484,8 +2487,8 @@ function SimpleCardBlock(props) {
|
|
|
2484
2487
|
});
|
|
2485
2488
|
})) : null);
|
|
2486
2489
|
}
|
|
2487
|
-
var index$
|
|
2488
|
-
function index$
|
|
2490
|
+
var index$7 = /* @__PURE__ */ (() => ".lattice-mouth .lattice-mouth-row{display:flex}.lattice-mouth .lattice-mouth-row .lattice-mouth-item{--font-size: 14px;--color: #ffffff;--background-color: #BFBFBF;color:var(--color);background-color:var(--background-color);font-size:var(--font-size);flex:1;flex-direction:column;display:flex;margin:1%;border-radius:4px;overflow:hidden}.lattice-mouth .lattice-mouth-row .lattice-mouth-item.highlight{--color: #ffffff;--background-color: #008FED}.lattice-mouth .lattice-mouth-row .lattice-mouth-item.active{--color: #ffffff;--background-color: #282828}.lattice-mouth .lattice-mouth-row .lattice-mouth-item.default{--color: #ffffff;--background-color: #BFBFBF}.lattice-mouth .lattice-mouth-row .lattice-mouth-item.complete{--color: #000000;--background-color: #00FF00}.lattice-mouth .lattice-mouth-row .lattice-mouth-item.error{--color: #ffffff;--background-color: #f30f30}.lattice-mouth .lattice-mouth-row .lattice-mouth-item .lattice-mouth-value{text-align:center;flex:1;font-size:150%;min-height:2em;display:flex;justify-content:center;align-items:center}.lattice-mouth .lattice-mouth-row .lattice-mouth-item .lattice-mouth-label{background-color:#0000004d;text-align:center;min-height:1em}\n")();
|
|
2491
|
+
function index$6(props) {
|
|
2489
2492
|
const { row = 3, col = 3, dataSource = [] } = props;
|
|
2490
2493
|
return /* @__PURE__ */ React.createElement("div", {
|
|
2491
2494
|
className: "lattice-mouth"
|
|
@@ -2516,7 +2519,7 @@ function renderItem(dataSource, rowIndex, colIndex, col) {
|
|
|
2516
2519
|
function getDataSourceItem(dataSource, rowIndex, colIndex, col) {
|
|
2517
2520
|
return dataSource[rowIndex * col + colIndex];
|
|
2518
2521
|
}
|
|
2519
|
-
var index$
|
|
2522
|
+
var index$5 = /* @__PURE__ */ (() => ".android-op-card{--base-font-size: 20px;--background-color: #ffffff;--color: #282828;--main-color: #008fed;--border-radius: 6px;--progress-background-color: rgba(160, 160, 160, .5);--progress-foreground-color: #008fed;--tag-background-color: #008fed;--tag-color: #ffffff;background-color:var(--background-color);font-size:var(--base-font-size);color:var(--color);border-radius:var(--border-radius);padding:2%;position:relative}.android-op-card .card-h1{color:var(--color);opacity:.7;font-weight:700}.android-op-card .card-content{font-size:calc(var(--base-font-size) * 2.5);color:var(--main-color);font-weight:700;display:flex;align-items:baseline;line-height:1.1em}.android-op-card .card-content small{font-size:50%}.android-op-card .card-progress{background-color:var(--progress-background-color);border-radius:1em;overflow:hidden;height:1em;font-size:calc(var(--base-font-size) * .6);margin-bottom:1em}.android-op-card .card-progress .card-progress-bar{background-color:var(--progress-foreground-color);height:1em;opacity:1.5}.android-op-card .card-main-title{font-size:calc(var(--base-font-size) * 1.6);line-height:1.5em;margin-bottom:.2em}.android-op-card .card-info-list{color:var(--color);opacity:.6}.android-op-card .card-tags{display:flex;margin-top:.5em}.android-op-card .card-tags.top{position:absolute;top:4%;right:1%}.android-op-card .card-tags .card-tags-item{font-size:calc(var(--base-font-size) * .8);color:var(--tag-color);border-radius:.3em;background-color:var(--tag-background-color);padding:.2em .3em;margin-right:.5em}.android-op-card .actions{margin:10px -2% -2%;display:flex}.android-op-card .actions .btn{border-top:1px solid var(--color);opacity:.5;flex:1;display:flex;cursor:pointer;justify-content:center;align-items:center;line-height:2.5em;border-left:1px solid var(--color);color:var(--main-color)}.android-op-card .actions .btn:first-child{border-left:none}.android-op-card .actions .btn.warning{color:red}.android-op-card .actions .btn:hover,.android-op-card .actions .btn:active{opacity:1}\n")();
|
|
2520
2523
|
const DARK_STYLE = {
|
|
2521
2524
|
"--base-font-size": "20px",
|
|
2522
2525
|
"--background-color": "#282828",
|
|
@@ -2539,7 +2542,8 @@ function List(props) {
|
|
|
2539
2542
|
tags = [],
|
|
2540
2543
|
tagPosition = "top",
|
|
2541
2544
|
style = {},
|
|
2542
|
-
theme = "light"
|
|
2545
|
+
theme = "light",
|
|
2546
|
+
actions = []
|
|
2543
2547
|
} = props;
|
|
2544
2548
|
return /* @__PURE__ */ React.createElement("div", {
|
|
2545
2549
|
className: "android-op-card",
|
|
@@ -2571,7 +2575,14 @@ function List(props) {
|
|
|
2571
2575
|
className: "card-tags-item",
|
|
2572
2576
|
key: tag
|
|
2573
2577
|
}, tag);
|
|
2574
|
-
}))
|
|
2578
|
+
})), actions && actions.length ? /* @__PURE__ */ React.createElement("div", {
|
|
2579
|
+
className: "actions"
|
|
2580
|
+
}, actions.map((item) => {
|
|
2581
|
+
return /* @__PURE__ */ React.createElement("div", {
|
|
2582
|
+
className: `btn ${item.type}`,
|
|
2583
|
+
onClick: item.onClick
|
|
2584
|
+
}, item.text);
|
|
2585
|
+
})) : null);
|
|
2575
2586
|
}
|
|
2576
2587
|
function SplitContent(props) {
|
|
2577
2588
|
const { label } = props;
|
|
@@ -2585,8 +2596,8 @@ function SplitContent(props) {
|
|
|
2585
2596
|
className: "card-content"
|
|
2586
2597
|
}, content[0]);
|
|
2587
2598
|
}
|
|
2588
|
-
var index$
|
|
2589
|
-
function index$
|
|
2599
|
+
var index$4 = /* @__PURE__ */ (() => ".android-pda-picker{--base-font-size: 24px;--border-radius: 6px;position:relative;background-color:#282828;padding:.5em;border-radius:var(--border-radius);font-size:var(--base-font-size)}.android-pda-picker .text{color:#999;min-height:1em;display:block}.android-pda-picker .icon{position:absolute;background-image:url(https://img.alicdn.com/imgextra/i1/O1CN01WnYl6Z1qBM3uInOvw_!!6000000005457-2-tps-40-68.png);background-size:100%;background-repeat:no-repeat;background-position:center;width:20px;height:40%;right:10px;top:30%}.android-pda-picker-overlay{--base-font-size: 24px;display:block;width:100%;background-color:#000}.android-pda-picker-overlay .title{display:flex;align-items:center;color:#000;border-top:1px solid #000000;border-bottom:1px solid #727272;font-size:var(--base-font-size);position:relative;z-index:1;padding:1em}.android-pda-picker-overlay .title .filter-input{font-size:var(--base-font-size);box-sizing:border-box;padding:.5em .5em .5em 2em;background-color:#282828;border:none;color:#fff;border-radius:6px;flex:1}.android-pda-picker-overlay .title .filter-input:focus{background-color:#7e7e7e;outline:1px solid #00ccff}.android-pda-picker-overlay .title .filter-input:focus~.search-icon{color:#fff}.android-pda-picker-overlay .title .filter-input:focus~.cancel{display:block}.android-pda-picker-overlay .title .cancel{display:none;padding:0 1em;color:#fff}.android-pda-picker-overlay .title .search-icon{position:absolute;color:#ababab;top:1.5em;left:1.5em}.android-pda-picker-overlay .android-pda-picker-list{font-size:var(--base-font-size);height:70vh;overflow-y:auto;padding:1em}\n")();
|
|
2600
|
+
function index$3(props) {
|
|
2590
2601
|
const { dataSource, defaultValue, placeholder = "\u8BF7\u9009\u62E9", onChange } = props;
|
|
2591
2602
|
const inputRef = React.useRef();
|
|
2592
2603
|
const [display, setDisplay] = React.useState(false);
|
|
@@ -2674,7 +2685,7 @@ function SearchIcon() {
|
|
|
2674
2685
|
fillRule: "nonzero"
|
|
2675
2686
|
}))));
|
|
2676
2687
|
}
|
|
2677
|
-
function index(props) {
|
|
2688
|
+
function index$2(props) {
|
|
2678
2689
|
const { visible, text = "LOADING..." } = props;
|
|
2679
2690
|
if (!visible) {
|
|
2680
2691
|
return null;
|
|
@@ -2694,5 +2705,37 @@ function index(props) {
|
|
|
2694
2705
|
"p-id": "2179"
|
|
2695
2706
|
})), /* @__PURE__ */ React.createElement("div", null, text)));
|
|
2696
2707
|
}
|
|
2708
|
+
var index$1 = /* @__PURE__ */ (() => ".android-op-input-item{--base-font-size: 25px;--color: #ffffff;--background-color: #545454;position:relative;background-color:var(--background-color);border-radius:6px}.android-op-input-item label{display:flex;align-items:center}.android-op-input-item .label-text{font-size:var(--base-font-size);color:var(--color);position:absolute;left:.5em}.android-op-input-item input{background-color:transparent;border:none;flex:1;font-size:calc(var(--base-font-size) * 1.2);padding:.5em;text-align:right;color:var(--color)}.android-op-input-item input:focus{outline:#ffffff}\n")();
|
|
2709
|
+
function index(props) {
|
|
2710
|
+
const {
|
|
2711
|
+
label = "",
|
|
2712
|
+
autoFocus = true,
|
|
2713
|
+
defaultValue,
|
|
2714
|
+
placeholder,
|
|
2715
|
+
type = "number",
|
|
2716
|
+
onChange,
|
|
2717
|
+
onSubmit
|
|
2718
|
+
} = props;
|
|
2719
|
+
return /* @__PURE__ */ React.createElement("div", {
|
|
2720
|
+
className: "android-op-input-item"
|
|
2721
|
+
}, /* @__PURE__ */ React.createElement("label", null, /* @__PURE__ */ React.createElement("span", {
|
|
2722
|
+
className: "label-text"
|
|
2723
|
+
}, label), /* @__PURE__ */ React.createElement("input", {
|
|
2724
|
+
autoFocus,
|
|
2725
|
+
type,
|
|
2726
|
+
placeholder,
|
|
2727
|
+
defaultValue,
|
|
2728
|
+
onKeyUp: (e) => {
|
|
2729
|
+
const { keyCode } = e;
|
|
2730
|
+
const value = String(e.target.value).trim();
|
|
2731
|
+
if (keyCode === 13) {
|
|
2732
|
+
e.preventDefault();
|
|
2733
|
+
onSubmit && onSubmit(value);
|
|
2734
|
+
return;
|
|
2735
|
+
}
|
|
2736
|
+
onChange && onChange(value);
|
|
2737
|
+
}
|
|
2738
|
+
})));
|
|
2739
|
+
}
|
|
2697
2740
|
const ListItem = PdaListItem;
|
|
2698
|
-
export { ActionSheet, index$
|
|
2741
|
+
export { ActionSheet, index$d as AppList, BaseLayout, Button, List as Card, Confirm, PdaDistanceCard as DistanceCard, PdaFinishCard as FinishCard, index$A as Header, ImageUploader, ImageViewer, InfiniteScroll, PdaInfoCard$2 as InfoCard, index as InputItem, Keyborard, index$6 as LatticeMouth, List$1 as List, ListItem, index$2 as Loading, Overlay$1 as Overlay, index$r as PageFlowSystemPages, index$3 as Picker, Presentation, SelectCard, SimpleCard, SimpleCardBlock, PdaInfoCard as Steps, SubCard, Tag, PdaListItem as TaskCard, PdaTitle as Title, Toast, WakeKeyborard };
|