@unif/react-native-camera 1.0.3 → 1.0.4
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/lib/commonjs/camera/preview/PreViewContainer.js +1 -1
- package/lib/commonjs/camera/preview/PreViewContainer.js.map +1 -1
- package/lib/module/camera/preview/PreViewContainer.js +1 -1
- package/lib/module/camera/preview/PreViewContainer.js.map +1 -1
- package/lib/typescript/src/camera/preview/PreViewContainer.d.ts +3 -3
- package/lib/typescript/src/camera/preview/PreViewContainer.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/camera/preview/PreViewContainer.tsx +3 -3
|
@@ -11,7 +11,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
11
11
|
* @Author: 刘利军
|
|
12
12
|
* @Date: 2024-12-02 13:37:36
|
|
13
13
|
* @LastEditors: 刘利军
|
|
14
|
-
* @LastEditTime: 2024-12-17
|
|
14
|
+
* @LastEditTime: 2024-12-20 17:30:09
|
|
15
15
|
* @Description:
|
|
16
16
|
* @PageName:
|
|
17
17
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_react","_interopRequireDefault","e","__esModule","default","PreViewContainer","visible","children","createElement","View","style","styles","container","_default","exports","StyleSheet","create","position","top","bottom","right","left","backgroundColor"],"sourceRoot":"../../../../src","sources":["camera/preview/PreViewContainer.tsx"],"mappings":";;;;;;AAQA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_react","_interopRequireDefault","e","__esModule","default","PreViewContainer","visible","children","createElement","View","style","styles","container","_default","exports","StyleSheet","create","position","top","bottom","right","left","backgroundColor"],"sourceRoot":"../../../../src","sources":["camera/preview/PreViewContainer.tsx"],"mappings":";;;;;;AAQA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAAsD,SAAAE,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AATtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA,MAAMG,gBAAmE,GAAGA,CAAC;EAC3EC,OAAO;EACPC;AACF,CAAC,KAAK;EACJ,IAAI,CAACD,OAAO,EAAE;IACZ,OAAO,IAAI;EACb;EACA,oBAAON,MAAA,CAAAI,OAAA,CAAAI,aAAA,CAACV,YAAA,CAAAW,IAAI;IAACC,KAAK,EAAEC,MAAM,CAACC;EAAU,GAAEL,QAAe,CAAC;AACzD,CAAC;AAAC,IAAAM,QAAA,GAAAC,OAAA,CAAAV,OAAA,GAEaC,gBAAgB;AAE/B,MAAMM,MAAM,GAAGI,uBAAU,CAACC,MAAM,CAAC;EAC/BJ,SAAS,EAAE;IACTK,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAE,CAAC;IACNC,MAAM,EAAE,CAAC;IACTC,KAAK,EAAE,CAAC;IACRC,IAAI,EAAE,CAAC;IACPC,eAAe,EAAE;EACnB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["StyleSheet","View","React","PreViewContainer","visible","children","createElement","style","styles","container","create","position","top","bottom","right","left","backgroundColor"],"sourceRoot":"../../../../src","sources":["camera/preview/PreViewContainer.tsx"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,OAAOC,KAAK,
|
|
1
|
+
{"version":3,"names":["StyleSheet","View","React","PreViewContainer","visible","children","createElement","style","styles","container","create","position","top","bottom","right","left","backgroundColor"],"sourceRoot":"../../../../src","sources":["camera/preview/PreViewContainer.tsx"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,OAAOC,KAAK,MAAkC,OAAO;AAErD,MAAMC,gBAAmE,GAAGA,CAAC;EAC3EC,OAAO;EACPC;AACF,CAAC,KAAK;EACJ,IAAI,CAACD,OAAO,EAAE;IACZ,OAAO,IAAI;EACb;EACA,oBAAOF,KAAA,CAAAI,aAAA,CAACL,IAAI;IAACM,KAAK,EAAEC,MAAM,CAACC;EAAU,GAAEJ,QAAe,CAAC;AACzD,CAAC;AAED,eAAeF,gBAAgB;AAE/B,MAAMK,MAAM,GAAGR,UAAU,CAACU,MAAM,CAAC;EAC/BD,SAAS,EAAE;IACTE,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAE,CAAC;IACNC,MAAM,EAAE,CAAC;IACTC,KAAK,EAAE,CAAC;IACRC,IAAI,EAAE,CAAC;IACPC,eAAe,EAAE;EACnB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const PreViewContainer: React.FC<{
|
|
1
|
+
import React, { type PropsWithChildren } from 'react';
|
|
2
|
+
declare const PreViewContainer: React.FC<PropsWithChildren<{
|
|
3
3
|
visible: boolean;
|
|
4
|
-
}
|
|
4
|
+
}>>;
|
|
5
5
|
export default PreViewContainer;
|
|
6
6
|
//# sourceMappingURL=PreViewContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreViewContainer.d.ts","sourceRoot":"","sources":["../../../../../src/camera/preview/PreViewContainer.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PreViewContainer.d.ts","sourceRoot":"","sources":["../../../../../src/camera/preview/PreViewContainer.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEtD,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC,CAQvE,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
package/package.json
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* @Author: 刘利军
|
|
3
3
|
* @Date: 2024-12-02 13:37:36
|
|
4
4
|
* @LastEditors: 刘利军
|
|
5
|
-
* @LastEditTime: 2024-12-17
|
|
5
|
+
* @LastEditTime: 2024-12-20 17:30:09
|
|
6
6
|
* @Description:
|
|
7
7
|
* @PageName:
|
|
8
8
|
*/
|
|
9
9
|
import { StyleSheet, View } from 'react-native';
|
|
10
|
-
import React from 'react';
|
|
10
|
+
import React, { type PropsWithChildren } from 'react';
|
|
11
11
|
|
|
12
|
-
const PreViewContainer: React.FC<{ visible: boolean }
|
|
12
|
+
const PreViewContainer: React.FC<PropsWithChildren<{ visible: boolean }>> = ({
|
|
13
13
|
visible,
|
|
14
14
|
children,
|
|
15
15
|
}) => {
|