@iternio/react-native-auto-play 0.5.14-beta.1 → 0.6.0
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 +214 -29
- package/android/src/main/java/com/margelo/nitro/swe/iternio/reactnativeautoplay/AndroidAutoSession.kt +5 -0
- package/android/src/main/java/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridMapTemplate.kt +9 -2
- package/android/src/main/java/com/margelo/nitro/swe/iternio/reactnativeautoplay/NativeBackdrop.kt +40 -0
- package/android/src/main/java/com/margelo/nitro/swe/iternio/reactnativeautoplay/VirtualRenderer.kt +52 -0
- package/android/src/main/java/com/margelo/nitro/swe/iternio/reactnativeautoplay/template/GridTemplate.kt +47 -13
- package/android/src/main/java/com/margelo/nitro/swe/iternio/reactnativeautoplay/template/Parser.kt +21 -2
- package/ios/Types.swift +3 -0
- package/ios/extensions/UIImage+Toggle.swift +5 -2
- package/ios/hybrid/HybridAutoPlay.swift +28 -16
- package/ios/hybrid/HybridMapTemplate.swift +22 -5
- package/ios/scenes/AutoPlayInterfaceController.swift +261 -72
- package/ios/templates/AutoPlayMapPanelDelegate.swift +190 -0
- package/ios/templates/AutoPlayTemplate.swift +24 -2
- package/ios/templates/GridTemplate.swift +57 -57
- package/ios/templates/InformationTemplate.swift +84 -9
- package/ios/templates/ListTemplate.swift +66 -11
- package/ios/templates/MapTemplate.swift +83 -68
- package/ios/templates/MessageTemplate.swift +72 -6
- package/ios/templates/Parser.swift +564 -69
- package/ios/templates/SearchTemplate.swift +1 -1
- package/ios/templates/TemplateStore.swift +5 -15
- package/ios/utils/SymbolFont.swift +13 -28
- package/lib/Constants.d.ts +4 -0
- package/lib/Constants.js +6 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/specs/MapTemplate.nitro.d.ts +3 -1
- package/lib/templates/GridTemplate.d.ts +23 -3
- package/lib/templates/GridTemplate.js +8 -0
- package/lib/templates/InformationTemplate.d.ts +38 -12
- package/lib/templates/ListTemplate.d.ts +16 -47
- package/lib/templates/MapTemplate.d.ts +26 -2
- package/lib/templates/MapTemplate.js +16 -2
- package/lib/templates/MessageTemplate.d.ts +52 -11
- package/lib/templates/MessageTemplate.js +1 -1
- package/lib/utils/NitroOptionsPanel.d.ts +103 -0
- package/lib/utils/NitroOptionsPanel.js +63 -0
- package/lib/utils/NitroSection.d.ts +89 -2
- package/lib/utils/NitroSection.js +49 -2
- package/nitrogen/generated/android/ReactNativeAutoPlay+autolinking.cmake +1 -0
- package/nitrogen/generated/android/c++/JChargingConnector.hpp +79 -0
- package/nitrogen/generated/android/c++/JGridImageSize.hpp +64 -0
- package/nitrogen/generated/android/c++/JGridTemplateConfig.hpp +7 -1
- package/nitrogen/generated/android/c++/JHybridGridTemplateSpec.cpp +4 -0
- package/nitrogen/generated/android/c++/JHybridInformationTemplateSpec.cpp +12 -0
- package/nitrogen/generated/android/c++/JHybridListTemplateSpec.cpp +12 -0
- package/nitrogen/generated/android/c++/JHybridMapTemplateSpec.cpp +78 -3
- package/nitrogen/generated/android/c++/JHybridMapTemplateSpec.hpp +2 -1
- package/nitrogen/generated/android/c++/JHybridSearchTemplateSpec.cpp +12 -0
- package/nitrogen/generated/android/c++/JInformationTemplateConfig.hpp +6 -0
- package/nitrogen/generated/android/c++/JListImageType.hpp +67 -0
- package/nitrogen/generated/android/c++/JListTemplateConfig.hpp +6 -0
- package/nitrogen/generated/android/c++/JNitroChargerLocation.hpp +115 -0
- package/nitrogen/generated/android/c++/JNitroChargerOutlet.hpp +82 -0
- package/nitrogen/generated/android/c++/JNitroOptionsPanelChargerSection.hpp +112 -0
- package/nitrogen/generated/android/c++/JNitroOptionsPanelConfig.hpp +157 -0
- package/nitrogen/generated/android/c++/JNitroOptionsPanelGridSection.hpp +102 -0
- package/nitrogen/generated/android/c++/JNitroOptionsPanelSection.cpp +30 -0
- package/nitrogen/generated/android/c++/JNitroOptionsPanelSection.hpp +129 -0
- package/nitrogen/generated/android/c++/JNitroRow.hpp +33 -3
- package/nitrogen/generated/android/c++/JNitroSection.hpp +6 -0
- package/nitrogen/generated/android/c++/JSearchTemplateConfig.hpp +6 -0
- package/nitrogen/generated/android/c++/JWaypointCoordinate.hpp +65 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/ChargingConnector.kt +30 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/GridImageSize.kt +25 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/GridTemplateConfig.kt +9 -4
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridMapTemplateSpec.kt +5 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/ListImageType.kt +26 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroChargerLocation.kt +90 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroChargerOutlet.kt +70 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroOptionsPanelChargerSection.kt +61 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroOptionsPanelConfig.kt +61 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroOptionsPanelGridSection.kt +56 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroOptionsPanelSection.kt +75 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroRow.kt +36 -6
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/WaypointCoordinate.kt +61 -0
- package/nitrogen/generated/ios/ReactNativeAutoPlay-Swift-Cxx-Bridge.hpp +174 -0
- package/nitrogen/generated/ios/ReactNativeAutoPlay-Swift-Cxx-Umbrella.hpp +27 -0
- package/nitrogen/generated/ios/c++/HybridGridTemplateSpecSwift.hpp +3 -0
- package/nitrogen/generated/ios/c++/HybridInformationTemplateSpecSwift.hpp +9 -0
- package/nitrogen/generated/ios/c++/HybridListTemplateSpecSwift.hpp +9 -0
- package/nitrogen/generated/ios/c++/HybridMapTemplateSpecSwift.hpp +47 -1
- package/nitrogen/generated/ios/c++/HybridSearchTemplateSpecSwift.hpp +9 -0
- package/nitrogen/generated/ios/swift/ChargingConnector.swift +68 -0
- package/nitrogen/generated/ios/swift/GridImageSize.swift +48 -0
- package/nitrogen/generated/ios/swift/GridTemplateConfig.swift +12 -1
- package/nitrogen/generated/ios/swift/HybridMapTemplateSpec.swift +2 -1
- package/nitrogen/generated/ios/swift/HybridMapTemplateSpec_cxx.swift +31 -4
- package/nitrogen/generated/ios/swift/ListImageType.swift +52 -0
- package/nitrogen/generated/ios/swift/NitroChargerLocation.swift +161 -0
- package/nitrogen/generated/ios/swift/NitroChargerOutlet.swift +65 -0
- package/nitrogen/generated/ios/swift/NitroOptionsPanelChargerSection.swift +64 -0
- package/nitrogen/generated/ios/swift/NitroOptionsPanelConfig.swift +94 -0
- package/nitrogen/generated/ios/swift/NitroOptionsPanelGridSection.swift +53 -0
- package/nitrogen/generated/ios/swift/NitroOptionsPanelSection.swift +32 -0
- package/nitrogen/generated/ios/swift/NitroRow.swift +81 -1
- package/nitrogen/generated/ios/swift/WaypointCoordinate.swift +52 -0
- package/nitrogen/generated/shared/c++/ChargingConnector.hpp +104 -0
- package/nitrogen/generated/shared/c++/GridImageSize.hpp +84 -0
- package/nitrogen/generated/shared/c++/GridTemplateConfig.hpp +8 -1
- package/nitrogen/generated/shared/c++/HybridMapTemplateSpec.cpp +1 -0
- package/nitrogen/generated/shared/c++/HybridMapTemplateSpec.hpp +5 -1
- package/nitrogen/generated/shared/c++/ListImageType.hpp +88 -0
- package/nitrogen/generated/shared/c++/NitroChargerLocation.hpp +131 -0
- package/nitrogen/generated/shared/c++/NitroChargerOutlet.hpp +98 -0
- package/nitrogen/generated/shared/c++/NitroOptionsPanelChargerSection.hpp +98 -0
- package/nitrogen/generated/shared/c++/NitroOptionsPanelConfig.hpp +107 -0
- package/nitrogen/generated/shared/c++/NitroOptionsPanelGridSection.hpp +91 -0
- package/nitrogen/generated/shared/c++/NitroRow.hpp +39 -2
- package/nitrogen/generated/shared/c++/WaypointCoordinate.hpp +91 -0
- package/package.json +1 -1
- package/src/Constants.ts +9 -0
- package/src/index.ts +1 -0
- package/src/specs/MapTemplate.nitro.ts +3 -1
- package/src/templates/GridTemplate.ts +38 -3
- package/src/templates/InformationTemplate.ts +60 -29
- package/src/templates/ListTemplate.ts +27 -55
- package/src/templates/MapTemplate.ts +60 -2
- package/src/templates/MessageTemplate.ts +71 -24
- package/src/utils/NitroOptionsPanel.ts +218 -0
- package/src/utils/NitroSection.ts +160 -5
|
@@ -14,15 +14,18 @@
|
|
|
14
14
|
#include "AutoText.hpp"
|
|
15
15
|
#include "Distance.hpp"
|
|
16
16
|
#include "DistanceUnits.hpp"
|
|
17
|
+
#include "DurationWithTimeZone.hpp"
|
|
17
18
|
#include "GlyphImage.hpp"
|
|
18
19
|
#include "JAssetImage.hpp"
|
|
19
20
|
#include "JAutoText.hpp"
|
|
20
21
|
#include "JDistance.hpp"
|
|
21
22
|
#include "JDistanceUnits.hpp"
|
|
23
|
+
#include "JDurationWithTimeZone.hpp"
|
|
22
24
|
#include "JFunc_void.hpp"
|
|
23
25
|
#include "JFunc_void_std__optional_bool_.hpp"
|
|
24
26
|
#include "JFunc_void_std__string.hpp"
|
|
25
27
|
#include "JGlyphImage.hpp"
|
|
28
|
+
#include "JListImageType.hpp"
|
|
26
29
|
#include "JNitroAction.hpp"
|
|
27
30
|
#include "JNitroActionType.hpp"
|
|
28
31
|
#include "JNitroAlignment.hpp"
|
|
@@ -33,6 +36,8 @@
|
|
|
33
36
|
#include "JNitroSectionType.hpp"
|
|
34
37
|
#include "JRemoteImage.hpp"
|
|
35
38
|
#include "JVariant_GlyphImage_AssetImage_RemoteImage.hpp"
|
|
39
|
+
#include "JWaypointCoordinate.hpp"
|
|
40
|
+
#include "ListImageType.hpp"
|
|
36
41
|
#include "NitroAction.hpp"
|
|
37
42
|
#include "NitroActionType.hpp"
|
|
38
43
|
#include "NitroAlignment.hpp"
|
|
@@ -42,6 +47,7 @@
|
|
|
42
47
|
#include "NitroSection.hpp"
|
|
43
48
|
#include "NitroSectionType.hpp"
|
|
44
49
|
#include "RemoteImage.hpp"
|
|
50
|
+
#include "WaypointCoordinate.hpp"
|
|
45
51
|
#include <NitroModules/JNICallable.hpp>
|
|
46
52
|
#include <functional>
|
|
47
53
|
#include <optional>
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// JWaypointCoordinate.hpp
|
|
3
|
+
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
+
/// https://github.com/mrousavy/nitro
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
|
+
///
|
|
7
|
+
|
|
8
|
+
#pragma once
|
|
9
|
+
|
|
10
|
+
#include <fbjni/fbjni.h>
|
|
11
|
+
#include "WaypointCoordinate.hpp"
|
|
12
|
+
|
|
13
|
+
#include <optional>
|
|
14
|
+
|
|
15
|
+
namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
16
|
+
|
|
17
|
+
using namespace facebook;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* The C++ JNI bridge between the C++ struct "WaypointCoordinate" and the the Kotlin data class "WaypointCoordinate".
|
|
21
|
+
*/
|
|
22
|
+
struct JWaypointCoordinate final: public jni::JavaClass<JWaypointCoordinate> {
|
|
23
|
+
public:
|
|
24
|
+
static constexpr auto kJavaDescriptor = "Lcom/margelo/nitro/swe/iternio/reactnativeautoplay/WaypointCoordinate;";
|
|
25
|
+
|
|
26
|
+
public:
|
|
27
|
+
/**
|
|
28
|
+
* Convert this Java/Kotlin-based struct to the C++ struct WaypointCoordinate by copying all values to C++.
|
|
29
|
+
*/
|
|
30
|
+
[[maybe_unused]]
|
|
31
|
+
[[nodiscard]]
|
|
32
|
+
WaypointCoordinate toCpp() const {
|
|
33
|
+
static const auto clazz = javaClassStatic();
|
|
34
|
+
static const auto fieldLatitude = clazz->getField<double>("latitude");
|
|
35
|
+
double latitude = this->getFieldValue(fieldLatitude);
|
|
36
|
+
static const auto fieldLongitude = clazz->getField<double>("longitude");
|
|
37
|
+
double longitude = this->getFieldValue(fieldLongitude);
|
|
38
|
+
static const auto fieldAltitude = clazz->getField<jni::JDouble>("altitude");
|
|
39
|
+
jni::local_ref<jni::JDouble> altitude = this->getFieldValue(fieldAltitude);
|
|
40
|
+
return WaypointCoordinate(
|
|
41
|
+
latitude,
|
|
42
|
+
longitude,
|
|
43
|
+
altitude != nullptr ? std::make_optional(altitude->value()) : std::nullopt
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public:
|
|
48
|
+
/**
|
|
49
|
+
* Create a Java/Kotlin-based struct by copying all values from the given C++ struct to Java.
|
|
50
|
+
*/
|
|
51
|
+
[[maybe_unused]]
|
|
52
|
+
static jni::local_ref<JWaypointCoordinate::javaobject> fromCpp(const WaypointCoordinate& value) {
|
|
53
|
+
using JSignature = JWaypointCoordinate(double, double, jni::alias_ref<jni::JDouble>);
|
|
54
|
+
static const auto clazz = javaClassStatic();
|
|
55
|
+
static const auto create = clazz->getStaticMethod<JSignature>("fromCpp");
|
|
56
|
+
return create(
|
|
57
|
+
clazz,
|
|
58
|
+
value.latitude,
|
|
59
|
+
value.longitude,
|
|
60
|
+
value.altitude.has_value() ? jni::JDouble::valueOf(value.altitude.value()) : nullptr
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
} // namespace margelo::nitro::swe::iternio::reactnativeautoplay
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// ChargingConnector.kt
|
|
3
|
+
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
+
/// https://github.com/mrousavy/nitro
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
|
+
///
|
|
7
|
+
|
|
8
|
+
package com.margelo.nitro.swe.iternio.reactnativeautoplay
|
|
9
|
+
|
|
10
|
+
import androidx.annotation.Keep
|
|
11
|
+
import com.facebook.proguard.annotations.DoNotStrip
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Represents the JavaScript enum/union "ChargingConnector".
|
|
15
|
+
*/
|
|
16
|
+
@DoNotStrip
|
|
17
|
+
@Keep
|
|
18
|
+
enum class ChargingConnector(@DoNotStrip @Keep val value: Int) {
|
|
19
|
+
CCS1(0),
|
|
20
|
+
CCS2(1),
|
|
21
|
+
J1772(2),
|
|
22
|
+
CHADEMO(3),
|
|
23
|
+
MENNEKES(4),
|
|
24
|
+
GBTDC(5),
|
|
25
|
+
GBTAC(6),
|
|
26
|
+
NACSDC(7),
|
|
27
|
+
NACSAC(8);
|
|
28
|
+
|
|
29
|
+
companion object
|
|
30
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// GridImageSize.kt
|
|
3
|
+
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
+
/// https://github.com/mrousavy/nitro
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
|
+
///
|
|
7
|
+
|
|
8
|
+
package com.margelo.nitro.swe.iternio.reactnativeautoplay
|
|
9
|
+
|
|
10
|
+
import androidx.annotation.Keep
|
|
11
|
+
import com.facebook.proguard.annotations.DoNotStrip
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Represents the JavaScript enum/union "GridImageSize".
|
|
15
|
+
*/
|
|
16
|
+
@DoNotStrip
|
|
17
|
+
@Keep
|
|
18
|
+
enum class GridImageSize(@DoNotStrip @Keep val value: Int) {
|
|
19
|
+
UNSET(0),
|
|
20
|
+
LARGE(1),
|
|
21
|
+
MEDIUM(2),
|
|
22
|
+
SMALL(3);
|
|
23
|
+
|
|
24
|
+
companion object
|
|
25
|
+
}
|
|
@@ -50,13 +50,16 @@ data class GridTemplateConfig(
|
|
|
50
50
|
val buttons: Array<NitroGridButton>,
|
|
51
51
|
@DoNotStrip
|
|
52
52
|
@Keep
|
|
53
|
+
val imageSize: GridImageSize?,
|
|
54
|
+
@DoNotStrip
|
|
55
|
+
@Keep
|
|
53
56
|
val mapConfig: NitroBaseMapTemplateConfig?
|
|
54
57
|
) {
|
|
55
58
|
/**
|
|
56
59
|
* Create a new instance of GridTemplateConfig from Kotlin
|
|
57
60
|
*/
|
|
58
|
-
constructor(id: String, onWillAppear: ((animated: Boolean?) -> Unit)?, onWillDisappear: ((animated: Boolean?) -> Unit)?, onDidAppear: ((animated: Boolean?) -> Unit)?, onDidDisappear: ((animated: Boolean?) -> Unit)?, onPopped: (() -> Unit)?, autoDismissMs: Double?, headerActions: Array<NitroAction>?, title: AutoText, buttons: Array<NitroGridButton>, mapConfig: NitroBaseMapTemplateConfig?):
|
|
59
|
-
this(id, onWillAppear?.let { Func_void_std__optional_bool__java(it) }, onWillDisappear?.let { Func_void_std__optional_bool__java(it) }, onDidAppear?.let { Func_void_std__optional_bool__java(it) }, onDidDisappear?.let { Func_void_std__optional_bool__java(it) }, onPopped?.let { Func_void_java(it) }, autoDismissMs, headerActions, title, buttons, mapConfig)
|
|
61
|
+
constructor(id: String, onWillAppear: ((animated: Boolean?) -> Unit)?, onWillDisappear: ((animated: Boolean?) -> Unit)?, onDidAppear: ((animated: Boolean?) -> Unit)?, onDidDisappear: ((animated: Boolean?) -> Unit)?, onPopped: (() -> Unit)?, autoDismissMs: Double?, headerActions: Array<NitroAction>?, title: AutoText, buttons: Array<NitroGridButton>, imageSize: GridImageSize?, mapConfig: NitroBaseMapTemplateConfig?):
|
|
62
|
+
this(id, onWillAppear?.let { Func_void_std__optional_bool__java(it) }, onWillDisappear?.let { Func_void_std__optional_bool__java(it) }, onDidAppear?.let { Func_void_std__optional_bool__java(it) }, onDidDisappear?.let { Func_void_std__optional_bool__java(it) }, onPopped?.let { Func_void_java(it) }, autoDismissMs, headerActions, title, buttons, imageSize, mapConfig)
|
|
60
63
|
|
|
61
64
|
override fun equals(other: Any?): Boolean {
|
|
62
65
|
if (this === other) return true
|
|
@@ -71,6 +74,7 @@ data class GridTemplateConfig(
|
|
|
71
74
|
&& Objects.deepEquals(this.headerActions, other.headerActions)
|
|
72
75
|
&& Objects.deepEquals(this.title, other.title)
|
|
73
76
|
&& Objects.deepEquals(this.buttons, other.buttons)
|
|
77
|
+
&& Objects.deepEquals(this.imageSize, other.imageSize)
|
|
74
78
|
&& Objects.deepEquals(this.mapConfig, other.mapConfig)
|
|
75
79
|
}
|
|
76
80
|
|
|
@@ -86,6 +90,7 @@ data class GridTemplateConfig(
|
|
|
86
90
|
headerActions,
|
|
87
91
|
title,
|
|
88
92
|
buttons,
|
|
93
|
+
imageSize,
|
|
89
94
|
mapConfig
|
|
90
95
|
).contentDeepHashCode()
|
|
91
96
|
}
|
|
@@ -98,8 +103,8 @@ data class GridTemplateConfig(
|
|
|
98
103
|
@Keep
|
|
99
104
|
@Suppress("unused")
|
|
100
105
|
@JvmStatic
|
|
101
|
-
private fun fromCpp(id: String, onWillAppear: Func_void_std__optional_bool_?, onWillDisappear: Func_void_std__optional_bool_?, onDidAppear: Func_void_std__optional_bool_?, onDidDisappear: Func_void_std__optional_bool_?, onPopped: Func_void?, autoDismissMs: Double?, headerActions: Array<NitroAction>?, title: AutoText, buttons: Array<NitroGridButton>, mapConfig: NitroBaseMapTemplateConfig?): GridTemplateConfig {
|
|
102
|
-
return GridTemplateConfig(id, onWillAppear, onWillDisappear, onDidAppear, onDidDisappear, onPopped, autoDismissMs, headerActions, title, buttons, mapConfig)
|
|
106
|
+
private fun fromCpp(id: String, onWillAppear: Func_void_std__optional_bool_?, onWillDisappear: Func_void_std__optional_bool_?, onDidAppear: Func_void_std__optional_bool_?, onDidDisappear: Func_void_std__optional_bool_?, onPopped: Func_void?, autoDismissMs: Double?, headerActions: Array<NitroAction>?, title: AutoText, buttons: Array<NitroGridButton>, imageSize: GridImageSize?, mapConfig: NitroBaseMapTemplateConfig?): GridTemplateConfig {
|
|
107
|
+
return GridTemplateConfig(id, onWillAppear, onWillDisappear, onDidAppear, onDidDisappear, onPopped, autoDismissMs, headerActions, title, buttons, imageSize, mapConfig)
|
|
103
108
|
}
|
|
104
109
|
}
|
|
105
110
|
}
|
|
@@ -76,7 +76,7 @@ abstract class HybridMapTemplateSpec: HybridObject() {
|
|
|
76
76
|
|
|
77
77
|
@DoNotStrip
|
|
78
78
|
@Keep
|
|
79
|
-
abstract fun startNavigation(templateId: String, trip: TripConfig): Unit
|
|
79
|
+
abstract fun startNavigation(templateId: String, trip: TripConfig): Promise<Unit>
|
|
80
80
|
|
|
81
81
|
@DoNotStrip
|
|
82
82
|
@Keep
|
|
@@ -85,6 +85,10 @@ abstract class HybridMapTemplateSpec: HybridObject() {
|
|
|
85
85
|
@DoNotStrip
|
|
86
86
|
@Keep
|
|
87
87
|
abstract fun setManeuverState(templateId: String, state: ManeuverState): Unit
|
|
88
|
+
|
|
89
|
+
@DoNotStrip
|
|
90
|
+
@Keep
|
|
91
|
+
abstract fun updateOptionsPanel(templateId: String, config: NitroOptionsPanelConfig?): Promise<Unit>
|
|
88
92
|
|
|
89
93
|
// Default implementation of `HybridObject.toString()`
|
|
90
94
|
override fun toString(): String {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// ListImageType.kt
|
|
3
|
+
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
+
/// https://github.com/mrousavy/nitro
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
|
+
///
|
|
7
|
+
|
|
8
|
+
package com.margelo.nitro.swe.iternio.reactnativeautoplay
|
|
9
|
+
|
|
10
|
+
import androidx.annotation.Keep
|
|
11
|
+
import com.facebook.proguard.annotations.DoNotStrip
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Represents the JavaScript enum/union "ListImageType".
|
|
15
|
+
*/
|
|
16
|
+
@DoNotStrip
|
|
17
|
+
@Keep
|
|
18
|
+
enum class ListImageType(@DoNotStrip @Keep val value: Int) {
|
|
19
|
+
LARGE(0),
|
|
20
|
+
MEDIUM(1),
|
|
21
|
+
SMALL(2),
|
|
22
|
+
EXTRA_SMALL(3),
|
|
23
|
+
ICON(4);
|
|
24
|
+
|
|
25
|
+
companion object
|
|
26
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// NitroChargerLocation.kt
|
|
3
|
+
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
+
/// https://github.com/mrousavy/nitro
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
|
+
///
|
|
7
|
+
|
|
8
|
+
package com.margelo.nitro.swe.iternio.reactnativeautoplay
|
|
9
|
+
|
|
10
|
+
import androidx.annotation.Keep
|
|
11
|
+
import com.facebook.proguard.annotations.DoNotStrip
|
|
12
|
+
import java.util.Objects
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Represents the JavaScript object/struct "NitroChargerLocation".
|
|
17
|
+
*/
|
|
18
|
+
@DoNotStrip
|
|
19
|
+
@Keep
|
|
20
|
+
data class NitroChargerLocation(
|
|
21
|
+
@DoNotStrip
|
|
22
|
+
@Keep
|
|
23
|
+
val name: String?,
|
|
24
|
+
@DoNotStrip
|
|
25
|
+
@Keep
|
|
26
|
+
val address: String?,
|
|
27
|
+
@DoNotStrip
|
|
28
|
+
@Keep
|
|
29
|
+
val coordinate: WaypointCoordinate,
|
|
30
|
+
@DoNotStrip
|
|
31
|
+
@Keep
|
|
32
|
+
val distance: Distance,
|
|
33
|
+
@DoNotStrip
|
|
34
|
+
@Keep
|
|
35
|
+
val duration: DurationWithTimeZone,
|
|
36
|
+
@DoNotStrip
|
|
37
|
+
@Keep
|
|
38
|
+
val visible: Boolean?,
|
|
39
|
+
@DoNotStrip
|
|
40
|
+
@Keep
|
|
41
|
+
val image: Variant_GlyphImage_AssetImage_RemoteImage?,
|
|
42
|
+
@DoNotStrip
|
|
43
|
+
@Keep
|
|
44
|
+
val onPress: Func_void?
|
|
45
|
+
) {
|
|
46
|
+
/**
|
|
47
|
+
* Create a new instance of NitroChargerLocation from Kotlin
|
|
48
|
+
*/
|
|
49
|
+
constructor(name: String?, address: String?, coordinate: WaypointCoordinate, distance: Distance, duration: DurationWithTimeZone, visible: Boolean?, image: Variant_GlyphImage_AssetImage_RemoteImage?, onPress: (() -> Unit)?):
|
|
50
|
+
this(name, address, coordinate, distance, duration, visible, image, onPress?.let { Func_void_java(it) })
|
|
51
|
+
|
|
52
|
+
override fun equals(other: Any?): Boolean {
|
|
53
|
+
if (this === other) return true
|
|
54
|
+
if (other !is NitroChargerLocation) return false
|
|
55
|
+
return Objects.deepEquals(this.name, other.name)
|
|
56
|
+
&& Objects.deepEquals(this.address, other.address)
|
|
57
|
+
&& Objects.deepEquals(this.coordinate, other.coordinate)
|
|
58
|
+
&& Objects.deepEquals(this.distance, other.distance)
|
|
59
|
+
&& Objects.deepEquals(this.duration, other.duration)
|
|
60
|
+
&& Objects.deepEquals(this.visible, other.visible)
|
|
61
|
+
&& Objects.deepEquals(this.image, other.image)
|
|
62
|
+
&& Objects.deepEquals(this.onPress, other.onPress)
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
override fun hashCode(): Int {
|
|
66
|
+
return arrayOf<Any?>(
|
|
67
|
+
name,
|
|
68
|
+
address,
|
|
69
|
+
coordinate,
|
|
70
|
+
distance,
|
|
71
|
+
duration,
|
|
72
|
+
visible,
|
|
73
|
+
image,
|
|
74
|
+
onPress
|
|
75
|
+
).contentDeepHashCode()
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
companion object {
|
|
79
|
+
/**
|
|
80
|
+
* Constructor called from C++
|
|
81
|
+
*/
|
|
82
|
+
@DoNotStrip
|
|
83
|
+
@Keep
|
|
84
|
+
@Suppress("unused")
|
|
85
|
+
@JvmStatic
|
|
86
|
+
private fun fromCpp(name: String?, address: String?, coordinate: WaypointCoordinate, distance: Distance, duration: DurationWithTimeZone, visible: Boolean?, image: Variant_GlyphImage_AssetImage_RemoteImage?, onPress: Func_void?): NitroChargerLocation {
|
|
87
|
+
return NitroChargerLocation(name, address, coordinate, distance, duration, visible, image, onPress)
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// NitroChargerOutlet.kt
|
|
3
|
+
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
+
/// https://github.com/mrousavy/nitro
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
|
+
///
|
|
7
|
+
|
|
8
|
+
package com.margelo.nitro.swe.iternio.reactnativeautoplay
|
|
9
|
+
|
|
10
|
+
import androidx.annotation.Keep
|
|
11
|
+
import com.facebook.proguard.annotations.DoNotStrip
|
|
12
|
+
import java.util.Objects
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Represents the JavaScript object/struct "NitroChargerOutlet".
|
|
17
|
+
*/
|
|
18
|
+
@DoNotStrip
|
|
19
|
+
@Keep
|
|
20
|
+
data class NitroChargerOutlet(
|
|
21
|
+
@DoNotStrip
|
|
22
|
+
@Keep
|
|
23
|
+
val connector: ChargingConnector,
|
|
24
|
+
@DoNotStrip
|
|
25
|
+
@Keep
|
|
26
|
+
val voltage: Double,
|
|
27
|
+
@DoNotStrip
|
|
28
|
+
@Keep
|
|
29
|
+
val powerKw: Double,
|
|
30
|
+
@DoNotStrip
|
|
31
|
+
@Keep
|
|
32
|
+
val onPress: Func_void?
|
|
33
|
+
) {
|
|
34
|
+
/**
|
|
35
|
+
* Create a new instance of NitroChargerOutlet from Kotlin
|
|
36
|
+
*/
|
|
37
|
+
constructor(connector: ChargingConnector, voltage: Double, powerKw: Double, onPress: (() -> Unit)?):
|
|
38
|
+
this(connector, voltage, powerKw, onPress?.let { Func_void_java(it) })
|
|
39
|
+
|
|
40
|
+
override fun equals(other: Any?): Boolean {
|
|
41
|
+
if (this === other) return true
|
|
42
|
+
if (other !is NitroChargerOutlet) return false
|
|
43
|
+
return Objects.deepEquals(this.connector, other.connector)
|
|
44
|
+
&& Objects.deepEquals(this.voltage, other.voltage)
|
|
45
|
+
&& Objects.deepEquals(this.powerKw, other.powerKw)
|
|
46
|
+
&& Objects.deepEquals(this.onPress, other.onPress)
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
override fun hashCode(): Int {
|
|
50
|
+
return arrayOf<Any?>(
|
|
51
|
+
connector,
|
|
52
|
+
voltage,
|
|
53
|
+
powerKw,
|
|
54
|
+
onPress
|
|
55
|
+
).contentDeepHashCode()
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
companion object {
|
|
59
|
+
/**
|
|
60
|
+
* Constructor called from C++
|
|
61
|
+
*/
|
|
62
|
+
@DoNotStrip
|
|
63
|
+
@Keep
|
|
64
|
+
@Suppress("unused")
|
|
65
|
+
@JvmStatic
|
|
66
|
+
private fun fromCpp(connector: ChargingConnector, voltage: Double, powerKw: Double, onPress: Func_void?): NitroChargerOutlet {
|
|
67
|
+
return NitroChargerOutlet(connector, voltage, powerKw, onPress)
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// NitroOptionsPanelChargerSection.kt
|
|
3
|
+
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
+
/// https://github.com/mrousavy/nitro
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
|
+
///
|
|
7
|
+
|
|
8
|
+
package com.margelo.nitro.swe.iternio.reactnativeautoplay
|
|
9
|
+
|
|
10
|
+
import androidx.annotation.Keep
|
|
11
|
+
import com.facebook.proguard.annotations.DoNotStrip
|
|
12
|
+
import java.util.Objects
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Represents the JavaScript object/struct "NitroOptionsPanelChargerSection".
|
|
17
|
+
*/
|
|
18
|
+
@DoNotStrip
|
|
19
|
+
@Keep
|
|
20
|
+
data class NitroOptionsPanelChargerSection(
|
|
21
|
+
@DoNotStrip
|
|
22
|
+
@Keep
|
|
23
|
+
val title: String?,
|
|
24
|
+
@DoNotStrip
|
|
25
|
+
@Keep
|
|
26
|
+
val outlets: Array<NitroChargerOutlet>,
|
|
27
|
+
@DoNotStrip
|
|
28
|
+
@Keep
|
|
29
|
+
val location: NitroChargerLocation?
|
|
30
|
+
) {
|
|
31
|
+
/* primary constructor */
|
|
32
|
+
|
|
33
|
+
override fun equals(other: Any?): Boolean {
|
|
34
|
+
if (this === other) return true
|
|
35
|
+
if (other !is NitroOptionsPanelChargerSection) return false
|
|
36
|
+
return Objects.deepEquals(this.title, other.title)
|
|
37
|
+
&& Objects.deepEquals(this.outlets, other.outlets)
|
|
38
|
+
&& Objects.deepEquals(this.location, other.location)
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
override fun hashCode(): Int {
|
|
42
|
+
return arrayOf<Any?>(
|
|
43
|
+
title,
|
|
44
|
+
outlets,
|
|
45
|
+
location
|
|
46
|
+
).contentDeepHashCode()
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
companion object {
|
|
50
|
+
/**
|
|
51
|
+
* Constructor called from C++
|
|
52
|
+
*/
|
|
53
|
+
@DoNotStrip
|
|
54
|
+
@Keep
|
|
55
|
+
@Suppress("unused")
|
|
56
|
+
@JvmStatic
|
|
57
|
+
private fun fromCpp(title: String?, outlets: Array<NitroChargerOutlet>, location: NitroChargerLocation?): NitroOptionsPanelChargerSection {
|
|
58
|
+
return NitroOptionsPanelChargerSection(title, outlets, location)
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// NitroOptionsPanelConfig.kt
|
|
3
|
+
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
+
/// https://github.com/mrousavy/nitro
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
|
+
///
|
|
7
|
+
|
|
8
|
+
package com.margelo.nitro.swe.iternio.reactnativeautoplay
|
|
9
|
+
|
|
10
|
+
import androidx.annotation.Keep
|
|
11
|
+
import com.facebook.proguard.annotations.DoNotStrip
|
|
12
|
+
import java.util.Objects
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Represents the JavaScript object/struct "NitroOptionsPanelConfig".
|
|
17
|
+
*/
|
|
18
|
+
@DoNotStrip
|
|
19
|
+
@Keep
|
|
20
|
+
data class NitroOptionsPanelConfig(
|
|
21
|
+
@DoNotStrip
|
|
22
|
+
@Keep
|
|
23
|
+
val title: AutoText?,
|
|
24
|
+
@DoNotStrip
|
|
25
|
+
@Keep
|
|
26
|
+
val sections: Array<NitroOptionsPanelSection>,
|
|
27
|
+
@DoNotStrip
|
|
28
|
+
@Keep
|
|
29
|
+
val actions: Array<NitroAction>?
|
|
30
|
+
) {
|
|
31
|
+
/* primary constructor */
|
|
32
|
+
|
|
33
|
+
override fun equals(other: Any?): Boolean {
|
|
34
|
+
if (this === other) return true
|
|
35
|
+
if (other !is NitroOptionsPanelConfig) return false
|
|
36
|
+
return Objects.deepEquals(this.title, other.title)
|
|
37
|
+
&& Objects.deepEquals(this.sections, other.sections)
|
|
38
|
+
&& Objects.deepEquals(this.actions, other.actions)
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
override fun hashCode(): Int {
|
|
42
|
+
return arrayOf<Any?>(
|
|
43
|
+
title,
|
|
44
|
+
sections,
|
|
45
|
+
actions
|
|
46
|
+
).contentDeepHashCode()
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
companion object {
|
|
50
|
+
/**
|
|
51
|
+
* Constructor called from C++
|
|
52
|
+
*/
|
|
53
|
+
@DoNotStrip
|
|
54
|
+
@Keep
|
|
55
|
+
@Suppress("unused")
|
|
56
|
+
@JvmStatic
|
|
57
|
+
private fun fromCpp(title: AutoText?, sections: Array<NitroOptionsPanelSection>, actions: Array<NitroAction>?): NitroOptionsPanelConfig {
|
|
58
|
+
return NitroOptionsPanelConfig(title, sections, actions)
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// NitroOptionsPanelGridSection.kt
|
|
3
|
+
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
+
/// https://github.com/mrousavy/nitro
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
|
+
///
|
|
7
|
+
|
|
8
|
+
package com.margelo.nitro.swe.iternio.reactnativeautoplay
|
|
9
|
+
|
|
10
|
+
import androidx.annotation.Keep
|
|
11
|
+
import com.facebook.proguard.annotations.DoNotStrip
|
|
12
|
+
import java.util.Objects
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Represents the JavaScript object/struct "NitroOptionsPanelGridSection".
|
|
17
|
+
*/
|
|
18
|
+
@DoNotStrip
|
|
19
|
+
@Keep
|
|
20
|
+
data class NitroOptionsPanelGridSection(
|
|
21
|
+
@DoNotStrip
|
|
22
|
+
@Keep
|
|
23
|
+
val title: String?,
|
|
24
|
+
@DoNotStrip
|
|
25
|
+
@Keep
|
|
26
|
+
val buttons: Array<NitroGridButton>
|
|
27
|
+
) {
|
|
28
|
+
/* primary constructor */
|
|
29
|
+
|
|
30
|
+
override fun equals(other: Any?): Boolean {
|
|
31
|
+
if (this === other) return true
|
|
32
|
+
if (other !is NitroOptionsPanelGridSection) return false
|
|
33
|
+
return Objects.deepEquals(this.title, other.title)
|
|
34
|
+
&& Objects.deepEquals(this.buttons, other.buttons)
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
override fun hashCode(): Int {
|
|
38
|
+
return arrayOf<Any?>(
|
|
39
|
+
title,
|
|
40
|
+
buttons
|
|
41
|
+
).contentDeepHashCode()
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
companion object {
|
|
45
|
+
/**
|
|
46
|
+
* Constructor called from C++
|
|
47
|
+
*/
|
|
48
|
+
@DoNotStrip
|
|
49
|
+
@Keep
|
|
50
|
+
@Suppress("unused")
|
|
51
|
+
@JvmStatic
|
|
52
|
+
private fun fromCpp(title: String?, buttons: Array<NitroGridButton>): NitroOptionsPanelGridSection {
|
|
53
|
+
return NitroOptionsPanelGridSection(title, buttons)
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// NitroOptionsPanelSection.kt
|
|
3
|
+
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
+
/// https://github.com/mrousavy/nitro
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
|
+
///
|
|
7
|
+
|
|
8
|
+
package com.margelo.nitro.swe.iternio.reactnativeautoplay
|
|
9
|
+
|
|
10
|
+
import com.facebook.proguard.annotations.DoNotStrip
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Represents the TypeScript variant "NitroSection | NitroOptionsPanelGridSection | NitroOptionsPanelChargerSection".
|
|
15
|
+
*/
|
|
16
|
+
@Suppress("ClassName")
|
|
17
|
+
@DoNotStrip
|
|
18
|
+
sealed class NitroOptionsPanelSection {
|
|
19
|
+
@DoNotStrip
|
|
20
|
+
data class First(@DoNotStrip val value: NitroSection): NitroOptionsPanelSection()
|
|
21
|
+
@DoNotStrip
|
|
22
|
+
data class Second(@DoNotStrip val value: NitroOptionsPanelGridSection): NitroOptionsPanelSection()
|
|
23
|
+
@DoNotStrip
|
|
24
|
+
data class Third(@DoNotStrip val value: NitroOptionsPanelChargerSection): NitroOptionsPanelSection()
|
|
25
|
+
|
|
26
|
+
inline fun <reified T> asType(): T? {
|
|
27
|
+
return when (this) {
|
|
28
|
+
is First -> (value) as? T
|
|
29
|
+
is Second -> (value) as? T
|
|
30
|
+
is Third -> (value) as? T
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
inline fun <reified T> isType(): Boolean {
|
|
34
|
+
return asType<T>() != null
|
|
35
|
+
}
|
|
36
|
+
inline fun <R> match(first: (NitroSection) -> R, second: (NitroOptionsPanelGridSection) -> R, third: (NitroOptionsPanelChargerSection) -> R): R {
|
|
37
|
+
return when (this) {
|
|
38
|
+
is First -> first(value)
|
|
39
|
+
is Second -> second(value)
|
|
40
|
+
is Third -> third(value)
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
val isFirst: Boolean
|
|
45
|
+
get() = this is First
|
|
46
|
+
val isSecond: Boolean
|
|
47
|
+
get() = this is Second
|
|
48
|
+
val isThird: Boolean
|
|
49
|
+
get() = this is Third
|
|
50
|
+
|
|
51
|
+
fun asFirstOrNull(): NitroSection? {
|
|
52
|
+
val value = (this as? First)?.value ?: return null
|
|
53
|
+
return value
|
|
54
|
+
}
|
|
55
|
+
fun asSecondOrNull(): NitroOptionsPanelGridSection? {
|
|
56
|
+
val value = (this as? Second)?.value ?: return null
|
|
57
|
+
return value
|
|
58
|
+
}
|
|
59
|
+
fun asThirdOrNull(): NitroOptionsPanelChargerSection? {
|
|
60
|
+
val value = (this as? Third)?.value ?: return null
|
|
61
|
+
return value
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
companion object {
|
|
65
|
+
@JvmStatic
|
|
66
|
+
@DoNotStrip
|
|
67
|
+
fun create(value: NitroSection): NitroOptionsPanelSection = First(value)
|
|
68
|
+
@JvmStatic
|
|
69
|
+
@DoNotStrip
|
|
70
|
+
fun create(value: NitroOptionsPanelGridSection): NitroOptionsPanelSection = Second(value)
|
|
71
|
+
@JvmStatic
|
|
72
|
+
@DoNotStrip
|
|
73
|
+
fun create(value: NitroOptionsPanelChargerSection): NitroOptionsPanelSection = Third(value)
|
|
74
|
+
}
|
|
75
|
+
}
|