@cniot/android-pda-components 2.0.0-beta.23 → 2.0.0-beta.24
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 +1 -1
- package/es/index.cjs.js +11 -11
- package/es/index.es.js +3 -3
- package/package.json +1 -1
package/es/index.es.js
CHANGED
|
@@ -7,7 +7,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7
7
|
var _a;
|
|
8
8
|
import * as React$1 from "react";
|
|
9
9
|
import React__default, { useState as useState$1, useEffect as useEffect$1, forwardRef, useImperativeHandle, createRef, useRef, Component, cloneElement, useCallback, useContext, useMemo, useLayoutEffect as useLayoutEffect$2, memo, version as version$1, isValidElement, createContext } from "react";
|
|
10
|
-
import * as ReactDOM
|
|
10
|
+
import * as ReactDOM from "react-dom";
|
|
11
11
|
import ReactDOM__default, { unstable_batchedUpdates, createPortal } from "react-dom";
|
|
12
12
|
var global$2 = "";
|
|
13
13
|
window.PDA_IMAGE_PATH = window.PDA_IMAGE_PATH ? window.PDA_IMAGE_PATH : "https://img.alicdn.com/imgextra/i3/";
|
|
@@ -13291,7 +13291,7 @@ const SafeArea$1 = (props) => {
|
|
|
13291
13291
|
}));
|
|
13292
13292
|
};
|
|
13293
13293
|
var SafeArea = SafeArea$1;
|
|
13294
|
-
const fullClone = Object.assign({}, ReactDOM
|
|
13294
|
+
const fullClone = Object.assign({}, ReactDOM);
|
|
13295
13295
|
const {
|
|
13296
13296
|
version,
|
|
13297
13297
|
render: reactRender,
|
|
@@ -19109,7 +19109,7 @@ function PlaySound(props) {
|
|
|
19109
19109
|
playSoundRoot.id = "op-pda-active-play-sound-root";
|
|
19110
19110
|
document.body.appendChild(playSoundRoot);
|
|
19111
19111
|
}
|
|
19112
|
-
|
|
19112
|
+
ReactDOM__default.render(
|
|
19113
19113
|
/* @__PURE__ */ React__default.createElement("audio", {
|
|
19114
19114
|
src: ROUND_MAP.get(level),
|
|
19115
19115
|
autoPlay: true,
|