react-native-navigation 8.6.1 → 8.6.2-snapshot.2147
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/ReactNativeNavigation.podspec +23 -48
- package/android/build.gradle +10 -10
- package/android/src/androidTest/assets/index.android.bundle +535 -0
- package/android/src/androidTest/java/com/reactnativenavigation/TestApplication.kt +0 -1
- package/android/src/androidTest/java/com/reactnativenavigation/mocks/SimpleViewController.java +20 -11
- package/android/src/androidTest/js/index.js +14 -0
- package/android/src/main/java/com/reactnativenavigation/options/params/ReactPlatformColor.kt +1 -1
- package/android/src/main/java/com/reactnativenavigation/options/parsers/ColorParser.kt +1 -1
- package/android/src/main/java/com/reactnativenavigation/views/stack/topbar/titlebar/TitleAndButtonsContainer.kt +2 -1
- package/android/src/main/java/com/reactnativenavigation/views/stack/topbar/titlebar/TitleAndButtonsMeasurer.kt +6 -2
- package/android/src/test/java/com/reactnativenavigation/options/parsers/ColorParseTest.java +3 -1
- package/android/src/test/resources/robolectric.properties +3 -0
- package/autolink/fixtures/rn79/build.gradle.template +4 -4
- package/ios/RNNAppDelegate.mm +1 -0
- package/ios/RNNReactTitleView.mm +3 -1
- package/ios/RNNRefreshControll.m +91 -0
- package/ios/RNNSideMenu/MMDrawerController/MMDrawerController.mm +6 -1
- package/ios/TopBarAppearancePresenter.mm +6 -0
- package/lib/module/commands/OptionsCrawler.js +1 -1
- package/lib/module/commands/OptionsCrawler.js.map +1 -1
- package/lib/typescript/Mock/Application.d.ts +1 -3
- package/lib/typescript/Mock/Application.d.ts.map +1 -1
- package/lib/typescript/Mock/Components/BottomTabs.d.ts +1 -6
- package/lib/typescript/Mock/Components/BottomTabs.d.ts.map +1 -1
- package/lib/typescript/Mock/Components/ComponentScreen.d.ts +1 -3
- package/lib/typescript/Mock/Components/ComponentScreen.d.ts.map +1 -1
- package/lib/typescript/Mock/Components/LayoutComponent.d.ts +1 -6
- package/lib/typescript/Mock/Components/LayoutComponent.d.ts.map +1 -1
- package/lib/typescript/Mock/Components/Modals.d.ts +1 -6
- package/lib/typescript/Mock/Components/Modals.d.ts.map +1 -1
- package/lib/typescript/Mock/Components/NavigationButton.d.ts +1 -6
- package/lib/typescript/Mock/Components/NavigationButton.d.ts.map +1 -1
- package/lib/typescript/Mock/Components/Overlays.d.ts +1 -6
- package/lib/typescript/Mock/Components/Overlays.d.ts.map +1 -1
- package/lib/typescript/Mock/Components/SideMenu.d.ts +4 -24
- package/lib/typescript/Mock/Components/SideMenu.d.ts.map +1 -1
- package/lib/typescript/Mock/Components/Stack.d.ts +1 -6
- package/lib/typescript/Mock/Components/Stack.d.ts.map +1 -1
- package/lib/typescript/Mock/Components/TopBar.d.ts +1 -3
- package/lib/typescript/Mock/Components/TopBar.d.ts.map +1 -1
- package/lib/typescript/Mock/Layouts/SideMenu.d.ts.map +1 -1
- package/lib/typescript/Mock/actions/layoutActions.d.ts.map +1 -1
- package/lib/typescript/src/adapters/NativeCommandsSender.d.ts +6 -6
- package/lib/typescript/src/adapters/NativeRNNTurboEventEmitter.d.ts.map +1 -1
- package/lib/typescript/src/adapters/TouchablePreview.d.ts.map +1 -1
- package/lib/typescript/src/types.d.ts +0 -1
- package/lib/typescript/src/types.d.ts.map +1 -1
- package/package.json +16 -15
- package/src/commands/OptionsCrawler.ts +1 -1
|
@@ -9,7 +9,6 @@ import com.reactnativenavigation.react.NavigationReactNativeHost
|
|
|
9
9
|
|
|
10
10
|
class TestApplication : NavigationApplication() {
|
|
11
11
|
|
|
12
|
-
|
|
13
12
|
override val reactNativeHost: ReactNativeHost
|
|
14
13
|
get() = object : NavigationReactNativeHost(this) {
|
|
15
14
|
override fun getJSMainModuleName(): String {
|
package/android/src/androidTest/java/com/reactnativenavigation/mocks/SimpleViewController.java
CHANGED
|
@@ -5,11 +5,12 @@ import static com.reactnativenavigation.utils.ObjectUtils.perform;
|
|
|
5
5
|
import android.app.Activity;
|
|
6
6
|
import android.content.Context;
|
|
7
7
|
import android.view.MotionEvent;
|
|
8
|
+
import android.view.ViewGroup;
|
|
9
|
+
import android.widget.FrameLayout;
|
|
8
10
|
|
|
9
11
|
import androidx.annotation.NonNull;
|
|
10
12
|
|
|
11
13
|
import com.reactnativenavigation.options.Options;
|
|
12
|
-
import com.reactnativenavigation.react.ReactView;
|
|
13
14
|
import com.reactnativenavigation.viewcontrollers.child.ChildController;
|
|
14
15
|
import com.reactnativenavigation.viewcontrollers.child.ChildControllersRegistry;
|
|
15
16
|
import com.reactnativenavigation.viewcontrollers.component.ComponentPresenterBase;
|
|
@@ -24,7 +25,8 @@ public class SimpleViewController extends ChildController<SimpleViewController.S
|
|
|
24
25
|
this(activity, childRegistry, id, new Presenter(activity, new Options()), options);
|
|
25
26
|
}
|
|
26
27
|
|
|
27
|
-
public SimpleViewController(Activity activity, ChildControllersRegistry childRegistry, String id,
|
|
28
|
+
public SimpleViewController(Activity activity, ChildControllersRegistry childRegistry, String id,
|
|
29
|
+
Presenter presenter, Options options) {
|
|
28
30
|
super(activity, childRegistry, id, presenter, options);
|
|
29
31
|
}
|
|
30
32
|
|
|
@@ -40,7 +42,8 @@ public class SimpleViewController extends ChildController<SimpleViewController.S
|
|
|
40
42
|
|
|
41
43
|
@Override
|
|
42
44
|
public void destroy() {
|
|
43
|
-
if (!isDestroyed())
|
|
45
|
+
if (!isDestroyed())
|
|
46
|
+
performOnParentController(parent -> parent.onChildDestroyed(this));
|
|
44
47
|
super.destroy();
|
|
45
48
|
}
|
|
46
49
|
|
|
@@ -58,7 +61,8 @@ public class SimpleViewController extends ChildController<SimpleViewController.S
|
|
|
58
61
|
|
|
59
62
|
@Override
|
|
60
63
|
public void applyBottomInset() {
|
|
61
|
-
if (view != null)
|
|
64
|
+
if (view != null)
|
|
65
|
+
presenter.applyBottomInset(view, getBottomInset());
|
|
62
66
|
}
|
|
63
67
|
|
|
64
68
|
@Override
|
|
@@ -66,10 +70,15 @@ public class SimpleViewController extends ChildController<SimpleViewController.S
|
|
|
66
70
|
return null;
|
|
67
71
|
}
|
|
68
72
|
|
|
69
|
-
|
|
73
|
+
/**
|
|
74
|
+
* A simple mock view that implements ReactComponent without actually using
|
|
75
|
+
* React Native.
|
|
76
|
+
* This avoids triggering React surface rendering in instrumented tests.
|
|
77
|
+
*/
|
|
78
|
+
public static class SimpleView extends FrameLayout implements ReactComponent {
|
|
70
79
|
|
|
71
80
|
public SimpleView(@NonNull Context context) {
|
|
72
|
-
super(context
|
|
81
|
+
super(context);
|
|
73
82
|
}
|
|
74
83
|
|
|
75
84
|
@Override
|
|
@@ -79,22 +88,22 @@ public class SimpleViewController extends ChildController<SimpleViewController.S
|
|
|
79
88
|
|
|
80
89
|
@Override
|
|
81
90
|
public boolean isReady() {
|
|
82
|
-
return
|
|
91
|
+
return true;
|
|
83
92
|
}
|
|
84
93
|
|
|
85
94
|
@Override
|
|
86
|
-
public
|
|
95
|
+
public ViewGroup asView() {
|
|
87
96
|
return this;
|
|
88
97
|
}
|
|
89
98
|
|
|
90
99
|
@Override
|
|
91
100
|
public void destroy() {
|
|
92
|
-
|
|
101
|
+
// No-op for mock
|
|
93
102
|
}
|
|
94
103
|
|
|
95
104
|
@Override
|
|
96
105
|
public void sendOnNavigationButtonPressed(String buttonId) {
|
|
97
|
-
|
|
106
|
+
// No-op for mock
|
|
98
107
|
}
|
|
99
108
|
|
|
100
109
|
@Override
|
|
@@ -104,7 +113,7 @@ public class SimpleViewController extends ChildController<SimpleViewController.S
|
|
|
104
113
|
|
|
105
114
|
@Override
|
|
106
115
|
public void dispatchTouchEventToJs(MotionEvent event) {
|
|
107
|
-
|
|
116
|
+
// No-op for mock
|
|
108
117
|
}
|
|
109
118
|
}
|
|
110
119
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* Minimal entry point for Android instrumented tests
|
|
4
|
+
* This registers a no-op component to satisfy React Native's initialization.
|
|
5
|
+
* Used only in Android instrumented application class.
|
|
6
|
+
* Regenerate bundle when upgrading React Native:
|
|
7
|
+
* npx react-native bundle --platform android --dev false \
|
|
8
|
+
* --entry-file android/src/androidTest/js/index.js \
|
|
9
|
+
* --bundle-output android/src/androidTest/assets/index.android.bundle \
|
|
10
|
+
* --minify true
|
|
11
|
+
*/
|
|
12
|
+
import { AppRegistry } from 'react-native';
|
|
13
|
+
AppRegistry.registerComponent('RNNTest', () => () => null);
|
|
14
|
+
|
package/android/src/main/java/com/reactnativenavigation/options/params/ReactPlatformColor.kt
CHANGED
|
@@ -5,7 +5,7 @@ import com.facebook.react.bridge.ReadableMap
|
|
|
5
5
|
import com.reactnativenavigation.NavigationApplication
|
|
6
6
|
|
|
7
7
|
private fun parsePlatformColor(paths: ReadableMap) =
|
|
8
|
-
ColorPropConverter.getColor(paths, NavigationApplication.instance)
|
|
8
|
+
ColorPropConverter.getColor(paths, NavigationApplication.instance) ?: 0 // The default implementation
|
|
9
9
|
|
|
10
10
|
class ReactPlatformColor(private val paths: ReadableMap) :
|
|
11
11
|
Colour(parsePlatformColor(paths)) {
|
|
@@ -13,7 +13,7 @@ object ColorParser {
|
|
|
13
13
|
private const val VAL_NO_COLOR = "NoColor"
|
|
14
14
|
|
|
15
15
|
@JvmStatic
|
|
16
|
-
fun parse(context: Context
|
|
16
|
+
fun parse(context: Context, json: JSONObject, colorName: String?): Colour {
|
|
17
17
|
if (json.has(KEY_RESOURCE_PATHS)) {
|
|
18
18
|
return ReactPlatformColor(JSONParser.convert(json))
|
|
19
19
|
}
|
|
@@ -155,8 +155,9 @@ class TitleAndButtonsContainer(context: Context) : ViewGroup(context) {
|
|
|
155
155
|
val rightBarWidth = rightButtonBar.measuredWidth
|
|
156
156
|
val leftBarWidth = leftButtonBar.measuredWidth
|
|
157
157
|
val isCenter = titleComponentAlignment == Alignment.Center
|
|
158
|
+
val isFill = titleComponentAlignment == Alignment.Fill
|
|
158
159
|
val titleHeightMeasureSpec = MeasureSpec.makeMeasureSpec(containerHeight, MeasureSpec.AT_MOST)
|
|
159
|
-
val titleWidthMeasureSpec = makeTitleAtMostWidthMeasureSpec(containerWidth, rightBarWidth, leftBarWidth, isCenter)
|
|
160
|
+
val titleWidthMeasureSpec = makeTitleAtMostWidthMeasureSpec(containerWidth, rightBarWidth, leftBarWidth, isCenter, isFill)
|
|
160
161
|
if (titleComponent is TitleBarReactView) {
|
|
161
162
|
titleComponent.centered = isCenter
|
|
162
163
|
}
|
|
@@ -15,11 +15,15 @@ typealias TitleRight = Int
|
|
|
15
15
|
typealias TitleTop = Int
|
|
16
16
|
typealias TitleBottom = Int
|
|
17
17
|
|
|
18
|
-
fun makeTitleAtMostWidthMeasureSpec(containerWidth: Int, rightBarWidth: Int, leftBarWidth: Int, isCenter: Boolean): Int {
|
|
18
|
+
fun makeTitleAtMostWidthMeasureSpec(containerWidth: Int, rightBarWidth: Int, leftBarWidth: Int, isCenter: Boolean, isFill: Boolean = false): Int {
|
|
19
19
|
return if (isCenter) {
|
|
20
20
|
View.MeasureSpec.makeMeasureSpec(containerWidth, View.MeasureSpec.AT_MOST)
|
|
21
21
|
} else {
|
|
22
|
-
|
|
22
|
+
val availableWidth = containerWidth - rightBarWidth - leftBarWidth - 2 * DEFAULT_LEFT_MARGIN_PX
|
|
23
|
+
View.MeasureSpec.makeMeasureSpec(
|
|
24
|
+
availableWidth,
|
|
25
|
+
if (isFill) View.MeasureSpec.EXACTLY else View.MeasureSpec.AT_MOST
|
|
26
|
+
)
|
|
23
27
|
}
|
|
24
28
|
}
|
|
25
29
|
|
|
@@ -2,6 +2,8 @@ package com.reactnativenavigation.options.parsers;
|
|
|
2
2
|
|
|
3
3
|
import static org.assertj.core.api.Java6Assertions.assertThat;
|
|
4
4
|
|
|
5
|
+
import android.content.Context;
|
|
6
|
+
|
|
5
7
|
import com.facebook.react.bridge.Arguments;
|
|
6
8
|
import com.facebook.react.bridge.JavaOnlyArray;
|
|
7
9
|
import com.facebook.react.bridge.JavaOnlyMap;
|
|
@@ -23,7 +25,7 @@ public class ColorParseTest extends BaseRobolectricTest {
|
|
|
23
25
|
public void nullIsParsedAsNoColor() throws JSONException {
|
|
24
26
|
JSONObject json = new JSONObject();
|
|
25
27
|
json.put("color", "NoColor");
|
|
26
|
-
assertThat(ColorParser.parse(
|
|
28
|
+
assertThat(ColorParser.parse(Mockito.mock(Context.class), json, "color")).isInstanceOf(DontApplyColour.class);
|
|
27
29
|
}
|
|
28
30
|
|
|
29
31
|
@Test
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
buildscript {
|
|
2
2
|
ext {
|
|
3
|
-
buildToolsVersion = "
|
|
3
|
+
buildToolsVersion = "36.0.0"
|
|
4
4
|
minSdkVersion = 24
|
|
5
|
-
compileSdkVersion =
|
|
6
|
-
targetSdkVersion =
|
|
5
|
+
compileSdkVersion = 36
|
|
6
|
+
targetSdkVersion = 36
|
|
7
7
|
ndkVersion = "27.1.12297006"
|
|
8
|
-
kotlinVersion = "2.
|
|
8
|
+
kotlinVersion = "2.1.20"
|
|
9
9
|
}
|
|
10
10
|
repositories {
|
|
11
11
|
google()
|
package/ios/RNNAppDelegate.mm
CHANGED
|
@@ -70,6 +70,7 @@ didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
|
|
70
70
|
self.reactNativeDelegate.dependencyProvider = [RCTAppDependencyProvider new];
|
|
71
71
|
|
|
72
72
|
RCTAppSetupPrepareApp(application, YES);
|
|
73
|
+
RCTEnableTurboModuleInterop(YES);
|
|
73
74
|
RCTEnableTurboModuleInteropBridgeProxy(YES);
|
|
74
75
|
|
|
75
76
|
self.reactNativeFactory.rootViewFactory.reactHost = [self.reactNativeFactory.rootViewFactory createReactHost:launchOptions];
|
package/ios/RNNReactTitleView.mm
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
@implementation RNNReactTitleView {
|
|
4
4
|
BOOL _fillParent;
|
|
5
|
+
CGFloat _expectedHeight;
|
|
5
6
|
}
|
|
6
7
|
|
|
7
8
|
- (NSString *)componentType {
|
|
@@ -10,7 +11,7 @@
|
|
|
10
11
|
|
|
11
12
|
- (CGSize)intrinsicContentSize {
|
|
12
13
|
if (_fillParent) {
|
|
13
|
-
return UILayoutFittingExpandedSize;
|
|
14
|
+
return CGSizeMake(UILayoutFittingExpandedSize.width, _expectedHeight > 0 ? _expectedHeight : 44);
|
|
14
15
|
} else {
|
|
15
16
|
return [super intrinsicContentSize];
|
|
16
17
|
}
|
|
@@ -19,6 +20,7 @@
|
|
|
19
20
|
- (void)setAlignment:(NSString *)alignment inFrame:(CGRect)frame {
|
|
20
21
|
if ([alignment isEqualToString:@"fill"]) {
|
|
21
22
|
_fillParent = YES;
|
|
23
|
+
_expectedHeight = frame.size.height;
|
|
22
24
|
self.translatesAutoresizingMaskIntoConstraints = NO;
|
|
23
25
|
self.sizeFlexibility = RCTRootViewSizeFlexibilityNone;
|
|
24
26
|
} else {
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fix for UIRefreshControl spinner flicker with large titles.
|
|
3
|
+
* iOS UIKit internally toggles hidden state during layout changes,
|
|
4
|
+
* causing the spinner to flicker. This swizzles setHidden to block
|
|
5
|
+
* visibility changes while the control is actively refreshing.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#import <UIKit/UIKit.h>
|
|
9
|
+
#import <objc/runtime.h>
|
|
10
|
+
|
|
11
|
+
static char kRNNIsEndingRefreshKey;
|
|
12
|
+
|
|
13
|
+
@implementation UIRefreshControl (RNNStable)
|
|
14
|
+
|
|
15
|
+
+ (void)load {
|
|
16
|
+
static dispatch_once_t onceToken;
|
|
17
|
+
dispatch_once(&onceToken, ^{
|
|
18
|
+
Class class = [self class];
|
|
19
|
+
|
|
20
|
+
// Swizzle setHidden
|
|
21
|
+
SEL originalSelector = @selector(setHidden:);
|
|
22
|
+
SEL swizzledSelector = @selector(rnn_setHidden:);
|
|
23
|
+
|
|
24
|
+
Method originalMethod = class_getInstanceMethod(class, originalSelector);
|
|
25
|
+
Method swizzledMethod = class_getInstanceMethod(class, swizzledSelector);
|
|
26
|
+
|
|
27
|
+
BOOL didAddMethod = class_addMethod(class,
|
|
28
|
+
originalSelector,
|
|
29
|
+
method_getImplementation(swizzledMethod),
|
|
30
|
+
method_getTypeEncoding(swizzledMethod));
|
|
31
|
+
|
|
32
|
+
if (didAddMethod) {
|
|
33
|
+
class_replaceMethod(class,
|
|
34
|
+
swizzledSelector,
|
|
35
|
+
method_getImplementation(originalMethod),
|
|
36
|
+
method_getTypeEncoding(originalMethod));
|
|
37
|
+
} else {
|
|
38
|
+
method_exchangeImplementations(originalMethod, swizzledMethod);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// Swizzle endRefreshing
|
|
42
|
+
SEL originalEndSelector = @selector(endRefreshing);
|
|
43
|
+
SEL swizzledEndSelector = @selector(rnn_endRefreshing);
|
|
44
|
+
|
|
45
|
+
Method originalEndMethod = class_getInstanceMethod(class, originalEndSelector);
|
|
46
|
+
Method swizzledEndMethod = class_getInstanceMethod(class, swizzledEndSelector);
|
|
47
|
+
|
|
48
|
+
didAddMethod = class_addMethod(class,
|
|
49
|
+
originalEndSelector,
|
|
50
|
+
method_getImplementation(originalEndMethod),
|
|
51
|
+
method_getTypeEncoding(originalEndMethod));
|
|
52
|
+
|
|
53
|
+
if (didAddMethod) {
|
|
54
|
+
class_replaceMethod(class,
|
|
55
|
+
swizzledEndSelector,
|
|
56
|
+
method_getImplementation(originalEndMethod),
|
|
57
|
+
method_getTypeEncoding(originalEndMethod));
|
|
58
|
+
} else {
|
|
59
|
+
method_exchangeImplementations(originalEndMethod, swizzledEndMethod);
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
- (BOOL)rnn_isEndingRefresh {
|
|
65
|
+
return [objc_getAssociatedObject(self, &kRNNIsEndingRefreshKey) boolValue];
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
- (void)rnn_setIsEndingRefresh:(BOOL)value {
|
|
69
|
+
objc_setAssociatedObject(self, &kRNNIsEndingRefreshKey, @(value), OBJC_ASSOCIATION_RETAIN_NONATOMIC);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
- (void)rnn_endRefreshing {
|
|
73
|
+
[self rnn_setIsEndingRefresh:YES];
|
|
74
|
+
[self rnn_endRefreshing];
|
|
75
|
+
[self rnn_setIsEndingRefresh:NO];
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
- (void)rnn_setHidden:(BOOL)hidden {
|
|
79
|
+
if ([self rnn_isEndingRefresh]) {
|
|
80
|
+
[self rnn_setHidden:hidden];
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
if (self.isRefreshing) {
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
[self rnn_setHidden:hidden];
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@end
|
|
@@ -387,7 +387,12 @@ static NSString *MMDrawerOpenSideKey = @"MMDrawerOpenSide";
|
|
|
387
387
|
[self.centerContainerView bringSubviewToFront:self.centerContentOverlay];
|
|
388
388
|
self.centerContentOverlay.alpha = 0.5;
|
|
389
389
|
}
|
|
390
|
-
|
|
390
|
+
|
|
391
|
+
//Reset the centerContainerView frame if it deviated
|
|
392
|
+
if (self.centerContainerView.frame.origin.x == visibleSide == MMDrawerSideLeft ? _maximumLeftDrawerWidth : _maximumRightDrawerWidth) {
|
|
393
|
+
[self.centerContainerView setFrame:self.childControllerContainerView.bounds];
|
|
394
|
+
}
|
|
395
|
+
|
|
391
396
|
CGFloat distance = ABS(currentFrame.origin.x - finalFrame.origin.x);
|
|
392
397
|
NSTimeInterval duration = [self animationDurationForDistance:distance velocity:velocity];
|
|
393
398
|
|
|
@@ -148,6 +148,12 @@
|
|
|
148
148
|
color:fontColor
|
|
149
149
|
centered:YES];
|
|
150
150
|
|
|
151
|
+
// Let's not forget to set our UINavigationBarAppearance's lineBreakMode to TruncatingTail!
|
|
152
|
+
id attrib = titleTextAttributes[NSParagraphStyleAttributeName];
|
|
153
|
+
if ([attrib isKindOfClass:[NSMutableParagraphStyle class]]) {
|
|
154
|
+
((NSMutableParagraphStyle*)titleTextAttributes[NSParagraphStyleAttributeName]).lineBreakMode = NSLineBreakByTruncatingTail;
|
|
155
|
+
}
|
|
156
|
+
|
|
151
157
|
self.getAppearance.titleTextAttributes = titleTextAttributes;
|
|
152
158
|
self.getScrollEdgeAppearance.titleTextAttributes = titleTextAttributes;
|
|
153
159
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["merge","isFunction","LayoutType","OptionsCrawler","constructor","store","uniqueIdProvider","crawl","bind","api","topTabs","sideMenu","bottomTabs","stack","component","splitView","children","map","center","left","right","detail","master","applyComponentId","applyStaticOptions","id","generate","Component","isComponentWithOptions","options","undefined","layout","staticOptions","staticOptionsIfPossible","foundReactGenerator","getComponentClassForName","name","reactComponent","componentId","passProps"],"sourceRoot":"../../../src","sources":["commands/OptionsCrawler.ts"],"mappings":"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
|
|
1
|
+
{"version":3,"names":["merge","isFunction","LayoutType","OptionsCrawler","constructor","store","uniqueIdProvider","crawl","bind","api","topTabs","sideMenu","bottomTabs","stack","component","splitView","children","map","center","left","right","detail","master","applyComponentId","applyStaticOptions","id","generate","Component","isComponentWithOptions","options","undefined","layout","staticOptions","staticOptionsIfPossible","foundReactGenerator","getComponentClassForName","name","reactComponent","componentId","passProps"],"sourceRoot":"../../../src","sources":["commands/OptionsCrawler.ts"],"mappings":";;AACA,OAAOA,KAAK,MAAM,cAAc;AAChC,OAAOC,UAAU,MAAM,mBAAmB;AAa1C,SAASC,UAAU,QAAQ,iBAAc;AAIzC,OAAO,MAAMC,cAAc,CAAC;EAC1BC,WAAWA,CAAiBC,KAAY,EAAkBC,gBAAkC,EAAE;IAAA,KAAlED,KAAY,GAAZA,KAAY;IAAA,KAAkBC,gBAAkC,GAAlCA,gBAAkC;IAC1F,IAAI,CAACC,KAAK,GAAG,IAAI,CAACA,KAAK,CAACC,IAAI,CAAC,IAAI,CAAC;EACpC;EAEAD,KAAKA,CAACE,GAAiB,EAAQ;IAC7B,IAAI,CAACA,GAAG,EAAE;IACV,IAAIA,GAAG,CAACC,OAAO,EAAE;MACf,IAAI,CAACA,OAAO,CAACD,GAAG,CAACC,OAAO,CAAC;IAC3B,CAAC,MAAM,IAAID,GAAG,CAACE,QAAQ,EAAE;MACvB,OAAO,IAAI,CAACA,QAAQ,CAACF,GAAG,CAACE,QAAQ,CAAC;IACpC,CAAC,MAAM,IAAIF,GAAG,CAACG,UAAU,EAAE;MACzB,OAAO,IAAI,CAACA,UAAU,CAACH,GAAG,CAACG,UAAU,CAAC;IACxC,CAAC,MAAM,IAAIH,GAAG,CAACI,KAAK,EAAE;MACpB,OAAO,IAAI,CAACA,KAAK,CAACJ,GAAG,CAACI,KAAK,CAAC;IAC9B,CAAC,MAAM,IAAIJ,GAAG,CAACK,SAAS,EAAE;MACxB,OAAO,IAAI,CAACA,SAAS,CAACL,GAAG,CAACK,SAAS,CAAC;IACtC,CAAC,MAAM,IAAIL,GAAG,CAACM,SAAS,EAAE;MACxB,OAAO,IAAI,CAACA,SAAS,CAACN,GAAG,CAACM,SAAS,CAAC;IACtC;EACF;EAEQL,OAAOA,CAACD,GAAkB,EAAQ;IACxCA,GAAG,CAACO,QAAQ,EAAEC,GAAG,CAAC,IAAI,CAACV,KAAK,CAAC;EAC/B;EAEQI,QAAQA,CAACA,QAAwB,EAAQ;IAC/C,IAAI,CAACJ,KAAK,CAACI,QAAQ,CAACO,MAAM,CAAC;IAC3B,IAAI,CAACX,KAAK,CAACI,QAAQ,CAACQ,IAAI,CAAC;IACzB,IAAI,CAACZ,KAAK,CAACI,QAAQ,CAACS,KAAK,CAAC;EAC5B;EAEQR,UAAUA,CAACA,UAA4B,EAAQ;IACrDA,UAAU,CAACI,QAAQ,EAAEC,GAAG,CAAC,IAAI,CAACV,KAAK,CAAC;EACtC;EAEQM,KAAKA,CAACA,KAAkB,EAAQ;IACtCA,KAAK,CAACG,QAAQ,EAAEC,GAAG,CAAC,IAAI,CAACV,KAAK,CAAC;EACjC;EAEQQ,SAASA,CAACA,SAA0B,EAAQ;IAClDA,SAAS,CAACM,MAAM,IAAI,IAAI,CAACd,KAAK,CAACQ,SAAS,CAACM,MAAM,CAAC;IAChDN,SAAS,CAACO,MAAM,IAAI,IAAI,CAACf,KAAK,CAACQ,SAAS,CAACO,MAAM,CAAC;EAClD;EAEQR,SAASA,CAACA,SAA0B,EAAQ;IAClD,IAAI,CAACS,gBAAgB,CAACT,SAAS,CAAC;IAChC,IAAI,CAACU,kBAAkB,CAACV,SAAS,CAAC;EACpC;EAEQS,gBAAgBA,CAACT,SAA0B,EAAQ;IACzDA,SAAS,CAACW,EAAE,GAAGX,SAAS,CAACW,EAAE,IAAI,IAAI,CAACnB,gBAAgB,CAACoB,QAAQ,CAACxB,UAAU,CAACyB,SAAS,CAAC;EACrF;EAEQC,sBAAsBA,CAACd,SAAc,EAAqC;IAChF,OAAQA,SAAS,CAA0Be,OAAO,KAAKC,SAAS;EAClE;EAEQN,kBAAkBA,CAACO,MAAuB,EAAE;IAClD,MAAMC,aAAa,GAAG,IAAI,CAACC,uBAAuB,CAACF,MAAM,CAAC;IAC1DA,MAAM,CAACF,OAAO,GAAG7B,KAAK,CAAC,CAAC,CAAC,EAAEgC,aAAa,EAAED,MAAM,CAACF,OAAO,CAAC;EAC3D;EAEQI,uBAAuBA,CAACF,MAAuB,EAAE;IACvD,MAAMG,mBAAmB,GAAG,IAAI,CAAC7B,KAAK,CAAC8B,wBAAwB,CAACJ,MAAM,CAACK,IAAK,CAAC;IAC7E,MAAMC,cAAc,GAAGH,mBAAmB,GAAGA,mBAAmB,CAAC,CAAC,GAAGJ,SAAS;IAC9E,IAAIO,cAAc,IAAI,IAAI,CAACT,sBAAsB,CAACS,cAAc,CAAC,EAAE;MACjE,OAAOpC,UAAU,CAACoC,cAAc,CAACR,OAAO,CAAC,GACrCQ,cAAc,CAACR,OAAO,CAAC;QAAES,WAAW,EAAEP,MAAM,CAACN,EAAE;QAAE,GAAGM,MAAM,CAACQ;MAAU,CAAC,CAAC,GACvEF,cAAc,CAACR,OAAO;IAC5B;IACA,OAAO,CAAC,CAAC;EACX;AACF","ignoreList":[]}
|
|
@@ -10,9 +10,6 @@ export declare const Application: {
|
|
|
10
10
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
11
11
|
readonly props: Readonly<ApplicationProps>;
|
|
12
12
|
state: Readonly<{}>;
|
|
13
|
-
refs: {
|
|
14
|
-
[key: string]: React.ReactInstance;
|
|
15
|
-
};
|
|
16
13
|
componentDidMount?(): void;
|
|
17
14
|
shouldComponentUpdate?(nextProps: Readonly<ApplicationProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
18
15
|
componentWillUnmount?(): void;
|
|
@@ -27,6 +24,7 @@ export declare const Application: {
|
|
|
27
24
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<ApplicationProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
28
25
|
};
|
|
29
26
|
contextType?: React.Context<any> | undefined;
|
|
27
|
+
propTypes?: any;
|
|
30
28
|
};
|
|
31
29
|
export {};
|
|
32
30
|
//# sourceMappingURL=Application.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Application.d.ts","sourceRoot":"","sources":["../../../Mock/Application.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,UAAU,gBAAgB;IACxB,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,WAAW;gBAED,gBAAgB
|
|
1
|
+
{"version":3,"file":"Application.d.ts","sourceRoot":"","sources":["../../../Mock/Application.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,UAAU,gBAAgB;IACxB,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,WAAW;gBAED,gBAAgB;;;;;;;;;;;;;;;;;;;;;;CAmBtC,CAAC"}
|
|
@@ -8,9 +8,6 @@ export declare const BottomTabs: {
|
|
|
8
8
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
9
9
|
readonly props: Readonly<ComponentProps>;
|
|
10
10
|
state: Readonly<{}>;
|
|
11
|
-
refs: {
|
|
12
|
-
[key: string]: React.ReactInstance;
|
|
13
|
-
};
|
|
14
11
|
componentDidMount?(): void;
|
|
15
12
|
shouldComponentUpdate?(nextProps: Readonly<ComponentProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
16
13
|
componentWillUnmount?(): void;
|
|
@@ -31,9 +28,6 @@ export declare const BottomTabs: {
|
|
|
31
28
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
32
29
|
readonly props: Readonly<ComponentProps>;
|
|
33
30
|
state: Readonly<{}>;
|
|
34
|
-
refs: {
|
|
35
|
-
[key: string]: React.ReactInstance;
|
|
36
|
-
};
|
|
37
31
|
componentDidMount?(): void;
|
|
38
32
|
shouldComponentUpdate?(nextProps: Readonly<ComponentProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
39
33
|
componentWillUnmount?(): void;
|
|
@@ -48,5 +42,6 @@ export declare const BottomTabs: {
|
|
|
48
42
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<ComponentProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
49
43
|
};
|
|
50
44
|
contextType?: React.Context<any> | undefined;
|
|
45
|
+
propTypes?: any;
|
|
51
46
|
};
|
|
52
47
|
//# sourceMappingURL=BottomTabs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomTabs.d.ts","sourceRoot":"","sources":["../../../../Mock/Components/BottomTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGnD,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"BottomTabs.d.ts","sourceRoot":"","sources":["../../../../Mock/Components/BottomTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGnD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQtB,CAAC"}
|
|
@@ -11,9 +11,6 @@ export declare const ComponentScreen: {
|
|
|
11
11
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
12
12
|
readonly props: Readonly<ComponentProps>;
|
|
13
13
|
state: Readonly<{}>;
|
|
14
|
-
refs: {
|
|
15
|
-
[key: string]: React.ReactInstance;
|
|
16
|
-
};
|
|
17
14
|
shouldComponentUpdate?(nextProps: Readonly<ComponentProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
18
15
|
componentWillUnmount?(): void;
|
|
19
16
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
@@ -27,5 +24,6 @@ export declare const ComponentScreen: {
|
|
|
27
24
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<ComponentProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
28
25
|
};
|
|
29
26
|
contextType?: React.Context<any> | undefined;
|
|
27
|
+
propTypes?: any;
|
|
30
28
|
};
|
|
31
29
|
//# sourceMappingURL=ComponentScreen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComponentScreen.d.ts","sourceRoot":"","sources":["../../../../Mock/Components/ComponentScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAGzC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAanD,eAAO,MAAM,eAAe;gBAEL,cAAc;;qBAQpB,OAAO
|
|
1
|
+
{"version":3,"file":"ComponentScreen.d.ts","sourceRoot":"","sources":["../../../../Mock/Components/ComponentScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAGzC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAanD,eAAO,MAAM,eAAe;gBAEL,cAAc;;qBAQpB,OAAO;;;;;;;;;;;;;;;;;;;;;;CAgFvB,CAAC"}
|
|
@@ -9,9 +9,6 @@ export declare const LayoutComponent: {
|
|
|
9
9
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
10
10
|
readonly props: Readonly<ComponentProps>;
|
|
11
11
|
state: Readonly<{}>;
|
|
12
|
-
refs: {
|
|
13
|
-
[key: string]: React.ReactInstance;
|
|
14
|
-
};
|
|
15
12
|
componentDidMount?(): void;
|
|
16
13
|
shouldComponentUpdate?(nextProps: Readonly<ComponentProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
17
14
|
componentWillUnmount?(): void;
|
|
@@ -32,9 +29,6 @@ export declare const LayoutComponent: {
|
|
|
32
29
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
33
30
|
readonly props: Readonly<ComponentProps>;
|
|
34
31
|
state: Readonly<{}>;
|
|
35
|
-
refs: {
|
|
36
|
-
[key: string]: React.ReactInstance;
|
|
37
|
-
};
|
|
38
32
|
componentDidMount?(): void;
|
|
39
33
|
shouldComponentUpdate?(nextProps: Readonly<ComponentProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
40
34
|
componentWillUnmount?(): void;
|
|
@@ -48,5 +42,6 @@ export declare const LayoutComponent: {
|
|
|
48
42
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<ComponentProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
49
43
|
};
|
|
50
44
|
contextType?: React.Context<any> | undefined;
|
|
45
|
+
propTypes?: any;
|
|
51
46
|
};
|
|
52
47
|
//# sourceMappingURL=LayoutComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutComponent.d.ts","sourceRoot":"","sources":["../../../../Mock/Components/LayoutComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAGzC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAKnD,eAAO,MAAM,eAAe;;;iCAqBD,KAAK,aAAa,
|
|
1
|
+
{"version":3,"file":"LayoutComponent.d.ts","sourceRoot":"","sources":["../../../../Mock/Components/LayoutComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAGzC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAKnD,eAAO,MAAM,eAAe;;;iCAqBD,KAAK,aAAa,KAAK,CAAC,SAAS;;;;;;;;;;;;;;;;;;;;iCAAjC,KAAK,aAAa,KAAK,CAAC,SAAS;;;;;;;;;;;;;;;;;;;;CAO3D,CAAC"}
|
|
@@ -8,9 +8,6 @@ export declare const Modals: {
|
|
|
8
8
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
9
9
|
readonly props: Readonly<ComponentProps>;
|
|
10
10
|
state: Readonly<{}>;
|
|
11
|
-
refs: {
|
|
12
|
-
[key: string]: React.ReactInstance;
|
|
13
|
-
};
|
|
14
11
|
componentDidMount?(): void;
|
|
15
12
|
shouldComponentUpdate?(nextProps: Readonly<ComponentProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
16
13
|
componentWillUnmount?(): void;
|
|
@@ -31,9 +28,6 @@ export declare const Modals: {
|
|
|
31
28
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
32
29
|
readonly props: Readonly<ComponentProps>;
|
|
33
30
|
state: Readonly<{}>;
|
|
34
|
-
refs: {
|
|
35
|
-
[key: string]: React.ReactInstance;
|
|
36
|
-
};
|
|
37
31
|
componentDidMount?(): void;
|
|
38
32
|
shouldComponentUpdate?(nextProps: Readonly<ComponentProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
39
33
|
componentWillUnmount?(): void;
|
|
@@ -48,5 +42,6 @@ export declare const Modals: {
|
|
|
48
42
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<ComponentProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
49
43
|
};
|
|
50
44
|
contextType?: React.Context<any> | undefined;
|
|
45
|
+
propTypes?: any;
|
|
51
46
|
};
|
|
52
47
|
//# sourceMappingURL=Modals.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modals.d.ts","sourceRoot":"","sources":["../../../../Mock/Components/Modals.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAMnD,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"Modals.d.ts","sourceRoot":"","sources":["../../../../Mock/Components/Modals.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAMnD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAalB,CAAC"}
|
|
@@ -15,9 +15,6 @@ export declare const NavigationButton: {
|
|
|
15
15
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
16
16
|
readonly props: Readonly<ButtonProps>;
|
|
17
17
|
state: Readonly<{}>;
|
|
18
|
-
refs: {
|
|
19
|
-
[key: string]: React.ReactInstance;
|
|
20
|
-
};
|
|
21
18
|
componentDidMount?(): void;
|
|
22
19
|
shouldComponentUpdate?(nextProps: Readonly<ButtonProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
23
20
|
componentWillUnmount?(): void;
|
|
@@ -41,9 +38,6 @@ export declare const NavigationButton: {
|
|
|
41
38
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
42
39
|
readonly props: Readonly<ButtonProps>;
|
|
43
40
|
state: Readonly<{}>;
|
|
44
|
-
refs: {
|
|
45
|
-
[key: string]: React.ReactInstance;
|
|
46
|
-
};
|
|
47
41
|
componentDidMount?(): void;
|
|
48
42
|
shouldComponentUpdate?(nextProps: Readonly<ButtonProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
49
43
|
componentWillUnmount?(): void;
|
|
@@ -58,6 +52,7 @@ export declare const NavigationButton: {
|
|
|
58
52
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<ButtonProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
59
53
|
};
|
|
60
54
|
contextType?: React.Context<any> | undefined;
|
|
55
|
+
propTypes?: any;
|
|
61
56
|
};
|
|
62
57
|
export {};
|
|
63
58
|
//# sourceMappingURL=NavigationButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationButton.d.ts","sourceRoot":"","sources":["../../../../Mock/Components/NavigationButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAc,mBAAmB,EAAE,MAAM,KAAK,CAAC;AAGtD,UAAU,WAAW;IACnB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,gBAAgB;;;;;iCA4DF,GAAG
|
|
1
|
+
{"version":3,"file":"NavigationButton.d.ts","sourceRoot":"","sources":["../../../../Mock/Components/NavigationButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAc,mBAAmB,EAAE,MAAM,KAAK,CAAC;AAGtD,UAAU,WAAW;IACnB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,gBAAgB;;;;;iCA4DF,GAAG;;;;;;;;;;;;;;;;;;;;;;;iCAAH,GAAG;;;;;;;;;;;;;;;;;;;;;CAe7B,CAAC"}
|
|
@@ -8,9 +8,6 @@ export declare const Overlays: {
|
|
|
8
8
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
9
9
|
readonly props: Readonly<ComponentProps>;
|
|
10
10
|
state: Readonly<{}>;
|
|
11
|
-
refs: {
|
|
12
|
-
[key: string]: React.ReactInstance;
|
|
13
|
-
};
|
|
14
11
|
componentDidMount?(): void;
|
|
15
12
|
shouldComponentUpdate?(nextProps: Readonly<ComponentProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
16
13
|
componentWillUnmount?(): void;
|
|
@@ -31,9 +28,6 @@ export declare const Overlays: {
|
|
|
31
28
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
32
29
|
readonly props: Readonly<ComponentProps>;
|
|
33
30
|
state: Readonly<{}>;
|
|
34
|
-
refs: {
|
|
35
|
-
[key: string]: React.ReactInstance;
|
|
36
|
-
};
|
|
37
31
|
componentDidMount?(): void;
|
|
38
32
|
shouldComponentUpdate?(nextProps: Readonly<ComponentProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
39
33
|
componentWillUnmount?(): void;
|
|
@@ -48,5 +42,6 @@ export declare const Overlays: {
|
|
|
48
42
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<ComponentProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
49
43
|
};
|
|
50
44
|
contextType?: React.Context<any> | undefined;
|
|
45
|
+
propTypes?: any;
|
|
51
46
|
};
|
|
52
47
|
//# sourceMappingURL=Overlays.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Overlays.d.ts","sourceRoot":"","sources":["../../../../Mock/Components/Overlays.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAOnD,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"Overlays.d.ts","sourceRoot":"","sources":["../../../../Mock/Components/Overlays.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAOnD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAapB,CAAC"}
|