@cniot/android-pda-components 2.0.0-beta.18 → 2.0.0-beta.19
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/README.md +3 -0
- package/es/index.cjs.js +2 -2
- package/es/index.es.js +2 -2
- package/package.json +1 -1
package/es/index.es.js
CHANGED
|
@@ -4769,7 +4769,7 @@ class ImageUploader extends Component {
|
|
|
4769
4769
|
onDelete: () => this.onDelete(item, index2),
|
|
4770
4770
|
onView: () => this.onViewImage(index2)
|
|
4771
4771
|
});
|
|
4772
|
-
}), images
|
|
4772
|
+
}), !images || images.length < maxCount ? /* @__PURE__ */ React__default.createElement(UploadeButton, {
|
|
4773
4773
|
box,
|
|
4774
4774
|
onUpload: this.onClickAdd
|
|
4775
4775
|
}) : null)), loading2 ? /* @__PURE__ */ React__default.createElement("div", {
|
|
@@ -15676,7 +15676,7 @@ function convertStringArrayToDate$1(value) {
|
|
|
15676
15676
|
const yearString = (_a2 = value[0]) !== null && _a2 !== void 0 ? _a2 : "1900";
|
|
15677
15677
|
const weekString = (_b = value[1]) !== null && _b !== void 0 ? _b : "1";
|
|
15678
15678
|
const weekdayString = (_c = value[2]) !== null && _c !== void 0 ? _c : "1";
|
|
15679
|
-
const day = dayjs(
|
|
15679
|
+
const day = dayjs(`${parseInt(yearString)}-01-01`).isoWeek(parseInt(weekString)).isoWeekday(parseInt(weekdayString)).hour(0).minute(0).second(0);
|
|
15680
15680
|
return day.toDate();
|
|
15681
15681
|
}
|
|
15682
15682
|
const precisionLengthRecord = {
|