@react-native-ohos/react-native-fileupload 1.1.1-rc.1 → 1.1.1

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.
Files changed (37) hide show
  1. package/LICENSE +20 -20
  2. package/NativeRNFileupload.ts +7 -7
  3. package/{harmony/fileUpload/OAT.xml → OAT.xml} +46 -37
  4. package/{harmony/fileUpload/README.OpenSource → README.OpenSource} +10 -10
  5. package/README.md +2 -2
  6. package/harmony/fileUpload/LICENSE +19 -19
  7. package/harmony/fileUpload/build-profile.json5 +8 -28
  8. package/harmony/fileUpload/hvigorfile.ts +6 -6
  9. package/harmony/fileUpload/index.ets +3 -1
  10. package/harmony/fileUpload/obfuscation-rules.txt +17 -17
  11. package/harmony/fileUpload/oh-package.json5 +11 -11
  12. package/harmony/fileUpload/src/main/cpp/CMakeLists.txt +8 -8
  13. package/harmony/fileUpload/src/main/cpp/FileUploadPackage.h +36 -0
  14. package/harmony/fileUpload/src/main/ets/FileUpLoadModule.ts +106 -106
  15. package/harmony/fileUpload/src/main/ets/{FileUpLoadPackage.ts → FileUpLoadPackage.ets} +46 -46
  16. package/harmony/fileUpload/src/main/ets/Logger.ts +63 -63
  17. package/harmony/fileUpload/src/main/module.json5 +11 -11
  18. package/harmony/fileUpload/src/main/resources/base/element/string.json +8 -8
  19. package/harmony/fileUpload/src/main/resources/en_US/element/string.json +8 -8
  20. package/harmony/fileUpload/src/main/resources/zh_CN/element/string.json +8 -8
  21. package/harmony/fileUpload/src/test/List.test.ets +4 -4
  22. package/harmony/fileUpload/src/test/LocalUnit.test.ets +32 -32
  23. package/harmony/fileUpload/{ts.ts → ts.ets} +1 -1
  24. package/harmony/fileupload.har +0 -0
  25. package/index.js +1 -1
  26. package/package.json +46 -43
  27. package/harmony/fileUpload/README.md +0 -165
  28. package/harmony/fileUpload/src/main/cpp/FileuploadPackage.h +0 -19
  29. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/ComponentDescriptors.h +0 -22
  30. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/EventEmitters.cpp +0 -18
  31. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/EventEmitters.h +0 -19
  32. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/Props.cpp +0 -21
  33. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/Props.h +0 -20
  34. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/ShadowNodes.cpp +0 -19
  35. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/ShadowNodes.h +0 -25
  36. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/States.cpp +0 -18
  37. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/States.h +0 -23
@@ -1,19 +0,0 @@
1
- // Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved
2
- // Use of this source code is governed by a MIT license that can be
3
- // found in the LICENSE file.
4
-
5
- #ifndef FILEUPLOADPACKAGE_H
6
- #define FILEUPLOADPACKAGE_H
7
-
8
-
9
- #include "generated/RNOH/generated/BaseReactNativeFileuploadPackage.h"
10
- #pragma once
11
-
12
-
13
- namespace rnoh {
14
- class FileuploadPackage : public BaseReactNativeFileuploadPackage {
15
- using Super = BaseReactNativeFileuploadPackage;
16
- using Super::Super;
17
- };
18
- } // namespace rnoh
19
- #endif //FILEUPLOADPACKAGE_H
@@ -1,22 +0,0 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GenerateComponentDescriptorH.js
9
- */
10
-
11
- #pragma once
12
-
13
- #include <react/renderer/components/react_native_fileupload/ShadowNodes.h>
14
- #include <react/renderer/core/ConcreteComponentDescriptor.h>
15
-
16
- namespace facebook {
17
- namespace react {
18
-
19
-
20
-
21
- } // namespace react
22
- } // namespace facebook
@@ -1,18 +0,0 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GenerateEventEmitterCpp.js
9
- */
10
-
11
- #include <react/renderer/components/react_native_fileupload/EventEmitters.h>
12
-
13
-
14
- namespace facebook {
15
- namespace react {
16
-
17
- } // namespace react
18
- } // namespace facebook
@@ -1,19 +0,0 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GenerateEventEmitterH.js
9
- */
10
- #pragma once
11
-
12
- #include <react/renderer/components/view/ViewEventEmitter.h>
13
-
14
-
15
- namespace facebook {
16
- namespace react {
17
-
18
- } // namespace react
19
- } // namespace facebook
@@ -1,21 +0,0 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GeneratePropsCpp.js
9
- */
10
-
11
- #include <react/renderer/components/react_native_fileupload/Props.h>
12
- #include <react/renderer/core/PropsParserContext.h>
13
- #include <react/renderer/core/propsConversions.h>
14
-
15
- namespace facebook {
16
- namespace react {
17
-
18
-
19
-
20
- } // namespace react
21
- } // namespace facebook
@@ -1,20 +0,0 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GeneratePropsH.js
9
- */
10
- #pragma once
11
-
12
-
13
-
14
- namespace facebook {
15
- namespace react {
16
-
17
-
18
-
19
- } // namespace react
20
- } // namespace facebook
@@ -1,19 +0,0 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GenerateShadowNodeCpp.js
9
- */
10
-
11
- #include <react/renderer/components/react_native_fileupload/ShadowNodes.h>
12
-
13
- namespace facebook {
14
- namespace react {
15
-
16
-
17
-
18
- } // namespace react
19
- } // namespace facebook
@@ -1,25 +0,0 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GenerateShadowNodeH.js
9
- */
10
-
11
- #pragma once
12
-
13
- #include <react/renderer/components/react_native_fileupload/EventEmitters.h>
14
- #include <react/renderer/components/react_native_fileupload/Props.h>
15
- #include <react/renderer/components/react_native_fileupload/States.h>
16
- #include <react/renderer/components/view/ConcreteViewShadowNode.h>
17
- #include <jsi/jsi.h>
18
-
19
- namespace facebook {
20
- namespace react {
21
-
22
-
23
-
24
- } // namespace react
25
- } // namespace facebook
@@ -1,18 +0,0 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GenerateStateCpp.js
9
- */
10
- #include <react/renderer/components/react_native_fileupload/States.h>
11
-
12
- namespace facebook {
13
- namespace react {
14
-
15
-
16
-
17
- } // namespace react
18
- } // namespace facebook
@@ -1,23 +0,0 @@
1
- /**
2
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
3
- *
4
- * Do not edit this file as changes may cause incorrect behavior and will be lost
5
- * once the code is regenerated.
6
- *
7
- * @generated by codegen project: GenerateStateH.js
8
- */
9
- #pragma once
10
-
11
- #ifdef ANDROID
12
- #include <folly/dynamic.h>
13
- #include <react/renderer/mapbuffer/MapBuffer.h>
14
- #include <react/renderer/mapbuffer/MapBufferBuilder.h>
15
- #endif
16
-
17
- namespace facebook {
18
- namespace react {
19
-
20
-
21
-
22
- } // namespace react
23
- } // namespace facebook