@cniot/android-pda-components 2.0.0-beta.1 → 2.0.0-beta.3
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.87e75c31.css +1 -0
- package/build/assets/index.a23c2347.js +964 -0
- package/build/index.html +2 -2
- package/doc/all-v2-components/index.jsx +12 -1
- package/es/index.cjs.js +13 -5
- package/es/index.es.js +2514 -324
- package/es/style.css +1 -1
- package/package.json +4 -3
- package/build/assets/index.6824d354.css +0 -1
- package/build/assets/index.bccda3e0.js +0 -956
- package/doc/test/flow/index.js +0 -46
- package/doc/test/flow/pages/index.js +0 -82
- package/doc/test/flow/utils/index.js +0 -37
- package/doc/test/i18n/index.js +0 -95
- package/doc/test/i18n/strings/en-US.json +0 -1
- package/doc/test/i18n/strings/index.js +0 -8
- package/doc/test/i18n/strings/zh-CN.json +0 -1
- package/doc/test/index.jsx +0 -46
- package/doc/test/pages/popup/index.jsx +0 -22
- package/doc/test/pages/popup/index.less +0 -0
- package/doc/test/pages/scan/index.jsx +0 -192
- package/doc/test/pages/scan/index.less +0 -0
package/build/index.html
CHANGED
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
</style>
|
|
28
28
|
<script src="https://g.alicdn.com/code/lib/react/17.0.2/umd/react.production.min.js"></script>
|
|
29
29
|
<script src="https://g.alicdn.com/code/lib/react-dom/17.0.2/umd/react-dom.production.min.js"></script>
|
|
30
|
-
<script type="module" crossorigin src="./assets/index.
|
|
31
|
-
<link rel="stylesheet" href="./assets/index.
|
|
30
|
+
<script type="module" crossorigin src="./assets/index.a23c2347.js"></script>
|
|
31
|
+
<link rel="stylesheet" href="./assets/index.87e75c31.css">
|
|
32
32
|
</head>
|
|
33
33
|
|
|
34
34
|
<body>
|
|
@@ -22,6 +22,7 @@ import {
|
|
|
22
22
|
InputV2,
|
|
23
23
|
TableV2,
|
|
24
24
|
PageFlowSystemPagesV2,
|
|
25
|
+
DatePickerV2,
|
|
25
26
|
} from '../../packages';
|
|
26
27
|
import { Button, List } from "antd-mobile";
|
|
27
28
|
import './index.less'
|
|
@@ -159,6 +160,7 @@ export default function (props) {
|
|
|
159
160
|
ImageUploaderV2: true,
|
|
160
161
|
TableV2: true,
|
|
161
162
|
PageFlowSystemPagesV2: true,
|
|
163
|
+
DatePickerV2: true,
|
|
162
164
|
}
|
|
163
165
|
const ImageUploaderV2Component = () => {
|
|
164
166
|
const [images, setImg] = React.useState([]);
|
|
@@ -245,12 +247,21 @@ export default function (props) {
|
|
|
245
247
|
// style={{ '--text-align': 'right' }}
|
|
246
248
|
/></>,
|
|
247
249
|
|
|
250
|
+
DatePickerV2: <>时间选择器<DatePickerV2 className='aaaaaaa'
|
|
251
|
+
placeholder='请选择时间'
|
|
252
|
+
value={new Date('2024-08-26')}
|
|
253
|
+
onChange={(val) => { console.log(`val:======时间`, val, typeof val); }}
|
|
254
|
+
format='YY-MM-DD'
|
|
255
|
+
// showFormat='YYYY-MM-DD'
|
|
256
|
+
// defaultValue={new Date('2024-08-26')}
|
|
257
|
+
/></>,
|
|
258
|
+
|
|
248
259
|
ProgressBarV2: <div style={{ backgroundColor: '#ffffff', padding: 10, margin: '10px 0' }}>
|
|
249
260
|
ProgressBarV2
|
|
250
261
|
<ProgressBarV2 percent={40} />
|
|
251
262
|
</div>,
|
|
252
263
|
|
|
253
|
-
SelectV2: <>下拉选择<SelectV2
|
|
264
|
+
SelectV2: <>下拉选择<SelectV2 readOnly disabled value='1'
|
|
254
265
|
label="Select Reason"
|
|
255
266
|
placeholder="Please select"
|
|
256
267
|
dataSource={[
|