- 37개 파일 IP → zioinfo.co.kr 치환 (소스/매뉴얼/설정/하네스) - Manager DrConsole/NetworkConsole/CsapConsole 빌드 + /var/www/manager/ 배포 - 테스트: Manager HTTP 200, ITSM 신규 API 7개 전체 200 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
74 lines
1.7 KiB
Plaintext
74 lines
1.7 KiB
Plaintext
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import "RCTDebuggingOverlayComponentView.h"
|
|
|
|
#import <React/RCTDebuggingOverlay.h>
|
|
#import <React/RCTDefines.h>
|
|
#import <React/RCTLog.h>
|
|
|
|
#import <react/renderer/components/rncore/ComponentDescriptors.h>
|
|
#import <react/renderer/components/rncore/EventEmitters.h>
|
|
#import <react/renderer/components/rncore/Props.h>
|
|
#import <react/renderer/components/rncore/RCTComponentViewHelpers.h>
|
|
|
|
#import "RCTFabricComponentsPlugins.h"
|
|
|
|
using namespace facebook::react;
|
|
|
|
@implementation RCTDebuggingOverlayComponentView {
|
|
RCTDebuggingOverlay *_overlay;
|
|
}
|
|
|
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
{
|
|
if (self = [super initWithFrame:frame]) {
|
|
_props = DebuggingOverlayShadowNode::defaultSharedProps();
|
|
_overlay = [[RCTDebuggingOverlay alloc] initWithFrame:self.bounds];
|
|
|
|
self.contentView = _overlay;
|
|
}
|
|
|
|
return self;
|
|
}
|
|
|
|
#pragma mark - RCTComponentViewProtocol
|
|
|
|
+ (ComponentDescriptorProvider)componentDescriptorProvider
|
|
{
|
|
return concreteComponentDescriptorProvider<DebuggingOverlayComponentDescriptor>();
|
|
}
|
|
|
|
#pragma mark - Native commands
|
|
|
|
- (void)handleCommand:(const NSString *)commandName args:(const NSArray *)args
|
|
{
|
|
RCTDebuggingOverlayHandleCommand(self, commandName, args);
|
|
}
|
|
|
|
- (void)highlightTraceUpdates:(NSArray *)updates
|
|
{
|
|
[_overlay highlightTraceUpdates:updates];
|
|
}
|
|
|
|
- (void)highlightElements:(NSArray *)elements
|
|
{
|
|
[_overlay highlightElements:elements];
|
|
}
|
|
|
|
- (void)clearElementsHighlights
|
|
{
|
|
[_overlay clearElementsHighlights];
|
|
}
|
|
|
|
@end
|
|
|
|
Class<RCTComponentViewProtocol> RCTDebuggingOverlayCls(void)
|
|
{
|
|
return RCTDebuggingOverlayComponentView.class;
|
|
}
|