@solidx/checkbox 0.7.0 → 0.7.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.
- package/LICENSE +21 -0
- package/NuGet.config +11 -0
- package/RNCCheckbox.podspec +3 -3
- package/android/build.gradle +19 -8
- package/android/src/main/AndroidManifest.xml +1 -2
- package/android/src/main/java/com/reactnativecommunity/checkbox/ReactCheckBoxEvent.java +3 -8
- package/android/src/main/java/com/reactnativecommunity/checkbox/ReactCheckBoxManager.java +7 -13
- package/dist/js/AndroidCheckBoxNativeComponent.d.ts +2 -0
- package/dist/{AndroidCheckBoxNativeComponent.js → js/AndroidCheckBoxNativeComponent.js} +1 -1
- package/dist/{CheckBox.android.d.ts → js/CheckBox.android.d.ts} +13 -13
- package/dist/{CheckBox.android.js → js/CheckBox.android.js} +7 -5
- package/dist/js/CheckBox.d.ts +5 -0
- package/dist/{CheckBox.ios.d.ts → js/CheckBox.ios.d.ts} +25 -25
- package/dist/{CheckBox.ios.js → js/CheckBox.ios.js} +11 -5
- package/dist/js/CheckBox.js +27 -0
- package/dist/js/CheckBox.windows.d.ts +95 -0
- package/dist/{CheckBox.windows.js → js/CheckBox.windows.js} +20 -21
- package/dist/js/CheckboxNativeComponent.d.ts +11 -0
- package/dist/js/CheckboxNativeComponent.js +22 -0
- package/dist/js/IOSCheckBoxNativeComponent.d.ts +2 -0
- package/dist/{IOSCheckBoxNativeComponent.js → js/IOSCheckBoxNativeComponent.js} +1 -1
- package/dist/js/NativeCheckboxModule.d.ts +11 -0
- package/dist/js/NativeCheckboxModule.js +10 -0
- package/dist/js/RNCCheckboxNativeComponent.d.ts +48 -0
- package/dist/js/RNCCheckboxNativeComponent.js +12 -0
- package/dist/js/index.d.ts +11 -0
- package/dist/js/index.js +34 -0
- package/dist/{setAndForwardRef.d.ts → js/setAndForwardRef.d.ts} +1 -1
- package/dist/{setAndForwardRef.js → js/setAndForwardRef.js} +2 -1
- package/jest.config.windows.js +3 -0
- package/js/AndroidCheckBoxNativeComponent.ts +12 -0
- package/js/CheckBox.android.tsx +217 -0
- package/js/CheckBox.ios.tsx +175 -0
- package/js/CheckBox.ts +9 -0
- package/js/CheckBox.windows.tsx +158 -0
- package/js/CheckboxNativeComponent.ts +25 -0
- package/js/IOSCheckBoxNativeComponent.ts +12 -0
- package/js/NativeCheckboxModule.ts +15 -0
- package/js/RNCCheckboxNativeComponent.ts +68 -0
- package/js/index.ts +17 -0
- package/js/setAndForwardRef.ts +64 -0
- package/metro.config.js +45 -0
- package/package.json +61 -53
- package/react-native.config.js +22 -0
- package/typings/index.d.ts +5 -5
- package/windows/Checkbox/Checkbox.cpp +20 -0
- package/windows/Checkbox/Checkbox.h +26 -0
- package/windows/Checkbox/Checkbox.rc +0 -0
- package/windows/Checkbox/Checkbox.vcxproj +146 -0
- package/windows/Checkbox/Checkbox.vcxproj.filters +56 -0
- package/windows/Checkbox/CheckboxView.cpp +186 -0
- package/windows/Checkbox/CheckboxView.h +59 -0
- package/windows/Checkbox/ReactPackageProvider.cpp +24 -0
- package/windows/Checkbox/ReactPackageProvider.h +24 -0
- package/windows/Checkbox/ReactPackageProvider.idl +9 -0
- package/windows/Checkbox/codegen/.clang-format +2 -0
- package/windows/Checkbox/codegen/NativeCheckboxModuleSpec.g.h +31 -0
- package/windows/Checkbox/codegen_manual/react/components/RNCCheckboxSpec/RNCCheckbox.g.h +232 -0
- package/windows/Checkbox/packages.lock.json +151 -0
- package/windows/Checkbox/pch.cpp +1 -0
- package/windows/Checkbox/pch.h +43 -0
- package/windows/Checkbox/resource.h +5 -0
- package/windows/Checkbox/targetver.h +8 -0
- package/windows/Checkbox.sln +43 -0
- package/windows/ExperimentalFeatures.props +33 -0
- package/dist/AndroidCheckBoxNativeComponent.d.ts +0 -2
- package/dist/CheckBox.d.ts +0 -1
- package/dist/CheckBox.js +0 -2
- package/dist/CheckBox.windows.d.ts +0 -77
- package/dist/IOSCheckBoxNativeComponent.d.ts +0 -2
- package/dist/WindowsCheckBoxComponent.d.ts +0 -2
- package/dist/WindowsCheckBoxComponent.js +0 -6
- package/windows/CheckboxWindows/CheckboxView.cpp +0 -116
- package/windows/CheckboxWindows/CheckboxView.h +0 -33
- package/windows/CheckboxWindows/CheckboxView.idl +0 -11
- package/windows/CheckboxWindows/CheckboxViewManager.cpp +0 -73
- package/windows/CheckboxWindows/CheckboxViewManager.h +0 -44
- package/windows/CheckboxWindows/CheckboxWindows.rc +0 -0
- package/windows/CheckboxWindows/CheckboxWindows.vcxproj +0 -189
- package/windows/CheckboxWindows/CheckboxWindows.vcxproj.filters +0 -43
- package/windows/CheckboxWindows/PropertySheet.props +0 -16
- package/windows/CheckboxWindows/ReactPackageProvider.cpp +0 -18
- package/windows/CheckboxWindows/ReactPackageProvider.h +0 -23
- package/windows/CheckboxWindows/ReactPackageProvider.idl +0 -9
- package/windows/CheckboxWindows/packages.config +0 -4
- package/windows/CheckboxWindows/pch.cpp +0 -1
- package/windows/CheckboxWindows/pch.h +0 -4
- package/windows/CheckboxWindows/readme.txt +0 -23
- package/windows/CheckboxWindows/resource.h +0 -14
- package/windows/CheckboxWindows.sln +0 -226
- package/windows/CheckboxWindows62.sln +0 -254
- /package/windows/{CheckboxWindows/CheckboxWindows.def → Checkbox/Checkbox.def} +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
+
|
|
4
|
+
<PropertyGroup Label="Microsoft.ReactNative Experimental Features">
|
|
5
|
+
<!--
|
|
6
|
+
Required for building a New Architecture project.
|
|
7
|
+
|
|
8
|
+
Library projects can change this value to test against Old and New
|
|
9
|
+
Architectures when building the library project's local sln file.
|
|
10
|
+
|
|
11
|
+
Otherwise this value will be decided by the consuming RNW app.
|
|
12
|
+
|
|
13
|
+
See https://microsoft.github.io/react-native-windows/docs/new-architecture
|
|
14
|
+
-->
|
|
15
|
+
<RnwNewArch>true</RnwNewArch>
|
|
16
|
+
|
|
17
|
+
<!--
|
|
18
|
+
Changes compilation to assume use of Microsoft.ReactNative NuGet packages
|
|
19
|
+
instead of building the framework from source. Defaults to true.
|
|
20
|
+
|
|
21
|
+
This is set during library project creation and is used when building
|
|
22
|
+
the library project's local sln file.
|
|
23
|
+
|
|
24
|
+
Otherwise this value will be decided by the consuming RNW app.
|
|
25
|
+
|
|
26
|
+
See https://microsoft.github.io/react-native-windows/docs/nuget
|
|
27
|
+
-->
|
|
28
|
+
<UseExperimentalNuget>true</UseExperimentalNuget>
|
|
29
|
+
|
|
30
|
+
<ReactExperimentalFeaturesSet>true</ReactExperimentalFeaturesSet>
|
|
31
|
+
</PropertyGroup>
|
|
32
|
+
|
|
33
|
+
</Project>
|
package/dist/CheckBox.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './CheckBox';
|
package/dist/CheckBox.js
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ViewProps, NativeMethods, NativeSyntheticEvent } from 'react-native';
|
|
3
|
-
declare type CheckBoxEvent = NativeSyntheticEvent<Readonly<{
|
|
4
|
-
target: number;
|
|
5
|
-
value: boolean;
|
|
6
|
-
}>>;
|
|
7
|
-
declare type CommonProps = Readonly<ViewProps & {
|
|
8
|
-
/**
|
|
9
|
-
* Used to get the ref for the native checkbox
|
|
10
|
-
*/
|
|
11
|
-
forwardedRef?: React.Ref<CheckBoxNativeType>;
|
|
12
|
-
/**
|
|
13
|
-
* The value of the checkbox. If true the checkbox will be turned on.
|
|
14
|
-
* Default value is false.
|
|
15
|
-
*/
|
|
16
|
-
value?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Used in case the props change removes the component.
|
|
19
|
-
*/
|
|
20
|
-
onChange?: (event: CheckBoxEvent) => void;
|
|
21
|
-
/**
|
|
22
|
-
* Invoked with the new value when the value changes.
|
|
23
|
-
*/
|
|
24
|
-
onValueChange?: (value: boolean) => void;
|
|
25
|
-
/**
|
|
26
|
-
* If true the user won't be able to toggle the checkbox.
|
|
27
|
-
* Default value is false.
|
|
28
|
-
* @TODO: implement disable prop for IOS
|
|
29
|
-
*/
|
|
30
|
-
disabled?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Used to locate this view in end-to-end tests.
|
|
33
|
-
*/
|
|
34
|
-
testID?: string;
|
|
35
|
-
}>;
|
|
36
|
-
declare type CheckBoxNativeType = NativeMethods;
|
|
37
|
-
export declare type Props = Readonly<CommonProps & {
|
|
38
|
-
tintColor?: string;
|
|
39
|
-
onCheckColor?: string;
|
|
40
|
-
onFillColor?: string;
|
|
41
|
-
onTintColor?: string;
|
|
42
|
-
}>;
|
|
43
|
-
declare const CheckBoxWithRef: React.ForwardRefExoticComponent<Readonly<Readonly<ViewProps & {
|
|
44
|
-
/**
|
|
45
|
-
* Used to get the ref for the native checkbox
|
|
46
|
-
*/
|
|
47
|
-
forwardedRef?: ((instance: NativeMethods | null) => void) | React.RefObject<NativeMethods> | null | undefined;
|
|
48
|
-
/**
|
|
49
|
-
* The value of the checkbox. If true the checkbox will be turned on.
|
|
50
|
-
* Default value is false.
|
|
51
|
-
*/
|
|
52
|
-
value?: boolean | undefined;
|
|
53
|
-
/**
|
|
54
|
-
* Used in case the props change removes the component.
|
|
55
|
-
*/
|
|
56
|
-
onChange?: ((event: CheckBoxEvent) => void) | undefined;
|
|
57
|
-
/**
|
|
58
|
-
* Invoked with the new value when the value changes.
|
|
59
|
-
*/
|
|
60
|
-
onValueChange?: ((value: boolean) => void) | undefined;
|
|
61
|
-
/**
|
|
62
|
-
* If true the user won't be able to toggle the checkbox.
|
|
63
|
-
* Default value is false.
|
|
64
|
-
* @TODO: implement disable prop for IOS
|
|
65
|
-
*/
|
|
66
|
-
disabled?: boolean | undefined;
|
|
67
|
-
/**
|
|
68
|
-
* Used to locate this view in end-to-end tests.
|
|
69
|
-
*/
|
|
70
|
-
testID?: string | undefined;
|
|
71
|
-
}> & {
|
|
72
|
-
tintColor?: string | undefined;
|
|
73
|
-
onCheckColor?: string | undefined;
|
|
74
|
-
onFillColor?: string | undefined;
|
|
75
|
-
onTintColor?: string | undefined;
|
|
76
|
-
}> & React.RefAttributes<NativeMethods>>;
|
|
77
|
-
export default CheckBoxWithRef;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
'use strict';
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
var react_native_1 = require("react-native");
|
|
6
|
-
exports.default = react_native_1.requireNativeComponent('RNCCheckboxWindows');
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
#include "pch.h"
|
|
5
|
-
|
|
6
|
-
#include "JSValueXaml.h"
|
|
7
|
-
|
|
8
|
-
#include "CheckboxView.h"
|
|
9
|
-
#include "CheckboxView.g.cpp"
|
|
10
|
-
|
|
11
|
-
#include "winrt/Windows.UI.Xaml.Media.h"
|
|
12
|
-
#include "winrt/Windows.UI.Xaml.Media.Imaging.h"
|
|
13
|
-
#include "winrt/Windows.UI.Xaml.Input.h"
|
|
14
|
-
|
|
15
|
-
namespace winrt {
|
|
16
|
-
using namespace Microsoft::ReactNative;
|
|
17
|
-
using namespace Windows::Foundation;
|
|
18
|
-
using namespace Windows::UI;
|
|
19
|
-
using namespace Windows::UI::Xaml::Media;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
namespace winrt::CheckboxWindows::implementation {
|
|
23
|
-
|
|
24
|
-
CheckboxView::CheckboxView(winrt::IReactContext const& reactContext) : m_reactContext(reactContext) {
|
|
25
|
-
RegisterEvents();
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
void CheckboxView::RegisterEvents() {
|
|
29
|
-
|
|
30
|
-
m_checkBoxCheckedRevoker = this->Checked(winrt::auto_revoke,
|
|
31
|
-
[ref = get_weak()](auto const& sender, auto const& args) {
|
|
32
|
-
if (auto self = ref.get()) {
|
|
33
|
-
self->OnCheckedHandler(sender, args, true);
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
m_checkBoxUncheckedRevoker = this->Unchecked(winrt::auto_revoke,
|
|
38
|
-
[ref = get_weak()](auto const& sender, auto const& args) {
|
|
39
|
-
if (auto self = ref.get()) {
|
|
40
|
-
self->OnCheckedHandler(sender, args, false);
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
void CheckboxView::UpdateProperties(winrt::IJSValueReader const& reader) {
|
|
46
|
-
m_updating = true;
|
|
47
|
-
auto const& propertyMap = JSValueObject::ReadFrom(reader);
|
|
48
|
-
|
|
49
|
-
for (auto const& pair : propertyMap) {
|
|
50
|
-
auto const& propertyName = pair.first;
|
|
51
|
-
auto const& propertyValue = pair.second;
|
|
52
|
-
|
|
53
|
-
if (propertyName == "value") {
|
|
54
|
-
if (propertyValue.IsNull()) {
|
|
55
|
-
this->ClearValue(xaml::Controls::Primitives::ToggleButton::IsCheckedProperty());
|
|
56
|
-
} else {
|
|
57
|
-
this->IsChecked(propertyValue.AsBoolean());
|
|
58
|
-
}
|
|
59
|
-
} else if (propertyName == "onCheckColor") {
|
|
60
|
-
if (!propertyValue.IsNull()) {
|
|
61
|
-
auto resDict = this->Resources();
|
|
62
|
-
|
|
63
|
-
resDict.Insert(winrt::box_value(L"CheckBoxCheckGlyphForegroundChecked"), propertyValue.To<winrt::Brush>());
|
|
64
|
-
resDict.Insert(winrt::box_value(L"CheckBoxCheckGlyphForegroundCheckedPointerOver"), propertyValue.To<winrt::Brush>());
|
|
65
|
-
resDict.Insert(winrt::box_value(L"CheckBoxCheckGlyphForegroundCheckedPressed"), propertyValue.To<winrt::Brush>());
|
|
66
|
-
}
|
|
67
|
-
} else if (propertyName == "onTintColor") {
|
|
68
|
-
if (!propertyValue.IsNull()) {
|
|
69
|
-
auto resDict = this->Resources();
|
|
70
|
-
|
|
71
|
-
resDict.Insert(winrt::box_value(L"CheckBoxCheckBackgroundStrokeChecked"), propertyValue.To<winrt::Brush>());
|
|
72
|
-
resDict.Insert(winrt::box_value(L"CheckBoxCheckBackgroundStrokeCheckedPointerOver"), propertyValue.To<winrt::Brush>());
|
|
73
|
-
resDict.Insert(winrt::box_value(L"CheckBoxCheckBackgroundStrokeCheckedPressed"), propertyValue.To<winrt::Brush>());
|
|
74
|
-
}
|
|
75
|
-
} else if (propertyName == "onFillColor") {
|
|
76
|
-
if (!propertyValue.IsNull()) {
|
|
77
|
-
auto resDict = this->Resources();
|
|
78
|
-
|
|
79
|
-
resDict.Insert(winrt::box_value(L"CheckBoxCheckBackgroundFillChecked"), propertyValue.To<winrt::Brush>());
|
|
80
|
-
resDict.Insert(winrt::box_value(L"CheckBoxCheckBackgroundFillCheckedPointerOver"), propertyValue.To<winrt::Brush>());
|
|
81
|
-
resDict.Insert(winrt::box_value(L"CheckBoxCheckBackgroundFillCheckedPressed"), propertyValue.To<winrt::Brush>());
|
|
82
|
-
}
|
|
83
|
-
} else if (propertyName == "tintColor") {
|
|
84
|
-
if (!propertyValue.IsNull()) {
|
|
85
|
-
auto resDict = this->Resources();
|
|
86
|
-
|
|
87
|
-
resDict.Insert(winrt::box_value(L"CheckBoxCheckBackgroundFillUnchecked"), propertyValue.To<winrt::Brush>());
|
|
88
|
-
resDict.Insert(winrt::box_value(L"CheckBoxCheckBackgroundFillUncheckedPointerOver"), propertyValue.To<winrt::Brush>());
|
|
89
|
-
resDict.Insert(winrt::box_value(L"CheckBoxCheckBackgroundFillUncheckedPressed"), propertyValue.To<winrt::Brush>());
|
|
90
|
-
}
|
|
91
|
-
} else if (propertyName == "disabled") {
|
|
92
|
-
if (!propertyValue.IsNull()) {
|
|
93
|
-
this->IsEnabled(!propertyValue.AsBoolean());
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
m_updating = false;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
void CheckboxView::OnCheckedHandler(winrt::Windows::Foundation::IInspectable const& /*sender*/, xaml::RoutedEventArgs const& args, bool isChecked) {
|
|
103
|
-
if (!m_updating) {
|
|
104
|
-
m_reactContext.DispatchEvent(
|
|
105
|
-
*this,
|
|
106
|
-
L"topChange",
|
|
107
|
-
[&](winrt::Microsoft::ReactNative::IJSValueWriter const& eventDataWriter) noexcept {
|
|
108
|
-
eventDataWriter.WriteObjectBegin();
|
|
109
|
-
{
|
|
110
|
-
WriteProperty(eventDataWriter, L"value", isChecked);
|
|
111
|
-
}
|
|
112
|
-
eventDataWriter.WriteObjectEnd();
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
#pragma once
|
|
5
|
-
|
|
6
|
-
#include "CheckboxView.g.h"
|
|
7
|
-
#include "winrt/Microsoft.ReactNative.h"
|
|
8
|
-
#include "NativeModules.h"
|
|
9
|
-
|
|
10
|
-
namespace winrt::CheckboxWindows::implementation {
|
|
11
|
-
|
|
12
|
-
namespace xaml = winrt::Windows::UI::Xaml;
|
|
13
|
-
|
|
14
|
-
class CheckboxView : public CheckboxViewT<CheckboxView> {
|
|
15
|
-
public:
|
|
16
|
-
CheckboxView(Microsoft::ReactNative::IReactContext const& reactContext);
|
|
17
|
-
void UpdateProperties(Microsoft::ReactNative::IJSValueReader const& reader);
|
|
18
|
-
|
|
19
|
-
private:
|
|
20
|
-
Microsoft::ReactNative::IReactContext m_reactContext{ nullptr };
|
|
21
|
-
bool m_updating{ false };
|
|
22
|
-
|
|
23
|
-
xaml::Controls::CheckBox::Checked_revoker m_checkBoxCheckedRevoker{};
|
|
24
|
-
xaml::Controls::CheckBox::Unchecked_revoker m_checkBoxUncheckedRevoker{};
|
|
25
|
-
|
|
26
|
-
void RegisterEvents();
|
|
27
|
-
void OnCheckedHandler(winrt::Windows::Foundation::IInspectable const& /*sender*/, xaml::RoutedEventArgs const& args, bool isChecked);
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
namespace winrt::CheckboxWindows::factory_implementation {
|
|
32
|
-
struct CheckboxView : CheckboxViewT<CheckboxView, implementation::CheckboxView> {};
|
|
33
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
namespace CheckboxWindows {
|
|
5
|
-
|
|
6
|
-
[default_interface]
|
|
7
|
-
runtimeclass CheckboxView : Windows.UI.Xaml.Controls.CheckBox {
|
|
8
|
-
CheckboxView(Microsoft.ReactNative.IReactContext context);
|
|
9
|
-
void UpdateProperties(Microsoft.ReactNative.IJSValueReader reader);
|
|
10
|
-
};
|
|
11
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
#include "pch.h"
|
|
5
|
-
#include "CheckboxViewManager.h"
|
|
6
|
-
#include "NativeModules.h"
|
|
7
|
-
#include "CheckboxView.h"
|
|
8
|
-
|
|
9
|
-
namespace winrt {
|
|
10
|
-
using namespace Microsoft::ReactNative;
|
|
11
|
-
using namespace Windows::Foundation::Collections;
|
|
12
|
-
|
|
13
|
-
namespace xaml = winrt::Windows::UI::Xaml;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
namespace winrt::CheckboxWindows::implementation {
|
|
17
|
-
|
|
18
|
-
CheckboxViewManager::CheckboxViewManager() {}
|
|
19
|
-
|
|
20
|
-
// IViewManager
|
|
21
|
-
winrt::hstring CheckboxViewManager::Name() noexcept {
|
|
22
|
-
return L"RNCCheckboxWindows";
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
xaml::FrameworkElement CheckboxViewManager::CreateView() noexcept {
|
|
26
|
-
return winrt::CheckboxWindows::CheckboxView(m_reactContext);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
// IViewManagerWithReactContext
|
|
30
|
-
winrt::IReactContext CheckboxViewManager::ReactContext() noexcept {
|
|
31
|
-
return m_reactContext;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
void CheckboxViewManager::ReactContext(IReactContext reactContext) noexcept {
|
|
35
|
-
m_reactContext = reactContext;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
// IViewManagerWithNativeProperties
|
|
39
|
-
IMapView<hstring, ViewManagerPropertyType> CheckboxViewManager::NativeProps() noexcept {
|
|
40
|
-
auto nativeProps = winrt::single_threaded_map<hstring, ViewManagerPropertyType>();
|
|
41
|
-
|
|
42
|
-
nativeProps.Insert(L"disabled", ViewManagerPropertyType::Boolean);
|
|
43
|
-
nativeProps.Insert(L"value", ViewManagerPropertyType::Boolean);
|
|
44
|
-
|
|
45
|
-
nativeProps.Insert(L"onCheckColor", ViewManagerPropertyType::Color);
|
|
46
|
-
nativeProps.Insert(L"onTintColor", ViewManagerPropertyType::Color);
|
|
47
|
-
nativeProps.Insert(L"onFillColor", ViewManagerPropertyType::Color);
|
|
48
|
-
nativeProps.Insert(L"tintColor", ViewManagerPropertyType::Color);
|
|
49
|
-
|
|
50
|
-
return nativeProps.GetView();
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
void CheckboxViewManager::UpdateProperties(xaml::FrameworkElement const& view,
|
|
54
|
-
IJSValueReader const& propertyMapReader) noexcept {
|
|
55
|
-
if (auto checkboxView = view.try_as<CheckboxView>()) {
|
|
56
|
-
checkboxView->UpdateProperties(propertyMapReader);
|
|
57
|
-
} else {
|
|
58
|
-
OutputDebugStringW(L"Type deduction for CheckboxView failed.");
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
// IViewManagerWithExportedEventTypeConstants
|
|
63
|
-
ConstantProviderDelegate CheckboxViewManager::ExportedCustomBubblingEventTypeConstants() noexcept {
|
|
64
|
-
return nullptr;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
ConstantProviderDelegate CheckboxViewManager::ExportedCustomDirectEventTypeConstants() noexcept {
|
|
68
|
-
return [](winrt::IJSValueWriter const& constantWriter) {
|
|
69
|
-
WriteCustomDirectEventTypeConstant(constantWriter, "onChange");
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
#pragma once
|
|
5
|
-
|
|
6
|
-
#include "winrt/Microsoft.ReactNative.h"
|
|
7
|
-
#include "NativeModules.h"
|
|
8
|
-
|
|
9
|
-
namespace winrt::CheckboxWindows::implementation {
|
|
10
|
-
|
|
11
|
-
class CheckboxViewManager : public winrt::implements<
|
|
12
|
-
CheckboxViewManager,
|
|
13
|
-
winrt::Microsoft::ReactNative::IViewManager,
|
|
14
|
-
winrt::Microsoft::ReactNative::IViewManagerWithReactContext,
|
|
15
|
-
winrt::Microsoft::ReactNative::IViewManagerWithNativeProperties,
|
|
16
|
-
winrt::Microsoft::ReactNative::IViewManagerWithExportedEventTypeConstants> {
|
|
17
|
-
public:
|
|
18
|
-
CheckboxViewManager();
|
|
19
|
-
|
|
20
|
-
// IViewManager
|
|
21
|
-
winrt::hstring Name() noexcept;
|
|
22
|
-
winrt::Windows::UI::Xaml::FrameworkElement CreateView() noexcept;
|
|
23
|
-
|
|
24
|
-
// IViewManagerWithReactContext
|
|
25
|
-
winrt::Microsoft::ReactNative::IReactContext ReactContext() noexcept;
|
|
26
|
-
void ReactContext(winrt::Microsoft::ReactNative::IReactContext reactContext) noexcept;
|
|
27
|
-
|
|
28
|
-
// IViewManagerWithNativeProperties
|
|
29
|
-
winrt::Windows::Foundation::Collections::
|
|
30
|
-
IMapView<winrt::hstring, winrt::Microsoft::ReactNative::ViewManagerPropertyType>
|
|
31
|
-
NativeProps() noexcept;
|
|
32
|
-
|
|
33
|
-
void UpdateProperties(
|
|
34
|
-
winrt::Windows::UI::Xaml::FrameworkElement const& view,
|
|
35
|
-
winrt::Microsoft::ReactNative::IJSValueReader const& propertyMapReader) noexcept;
|
|
36
|
-
|
|
37
|
-
// IViewManagerWithExportedEventTypeConstants
|
|
38
|
-
winrt::Microsoft::ReactNative::ConstantProviderDelegate ExportedCustomBubblingEventTypeConstants() noexcept;
|
|
39
|
-
winrt::Microsoft::ReactNative::ConstantProviderDelegate ExportedCustomDirectEventTypeConstants() noexcept;
|
|
40
|
-
|
|
41
|
-
private:
|
|
42
|
-
winrt::Microsoft::ReactNative::IReactContext m_reactContext{ nullptr };
|
|
43
|
-
};
|
|
44
|
-
}
|
|
Binary file
|
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
-
<Import Project="$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200316.3\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200316.3\build\native\Microsoft.Windows.CppWinRT.props')" />
|
|
4
|
-
<PropertyGroup Label="Globals">
|
|
5
|
-
<CppWinRTOptimized>true</CppWinRTOptimized>
|
|
6
|
-
<CppWinRTRootNamespaceAutoMerge>true</CppWinRTRootNamespaceAutoMerge>
|
|
7
|
-
<CppWinRTGenerateWindowsMetadata>true</CppWinRTGenerateWindowsMetadata>
|
|
8
|
-
<MinimalCoreWin>true</MinimalCoreWin>
|
|
9
|
-
<ProjectGuid>{eaf81beb-a159-4421-9b6d-e59c37828a57}</ProjectGuid>
|
|
10
|
-
<ProjectName>CheckboxWindows</ProjectName>
|
|
11
|
-
<RootNamespace>CheckboxWindows</RootNamespace>
|
|
12
|
-
<DefaultLanguage>en-US</DefaultLanguage>
|
|
13
|
-
<MinimumVisualStudioVersion>16.0</MinimumVisualStudioVersion>
|
|
14
|
-
<AppContainerApplication>true</AppContainerApplication>
|
|
15
|
-
<ApplicationType>Windows Store</ApplicationType>
|
|
16
|
-
<ApplicationTypeRevision>10.0</ApplicationTypeRevision>
|
|
17
|
-
<WindowsTargetPlatformVersion Condition=" '$(WindowsTargetPlatformVersion)' == '' ">10.0.18362.0</WindowsTargetPlatformVersion>
|
|
18
|
-
<WindowsTargetPlatformMinVersion>10.0.17763.0</WindowsTargetPlatformMinVersion>
|
|
19
|
-
</PropertyGroup>
|
|
20
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
21
|
-
<PropertyGroup Label="ReactNativeWindowsProps">
|
|
22
|
-
<ReactNativeWindowsDir Condition="'$(ReactNativeWindowsDir)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(SolutionDir), 'node_modules\react-native-windows\package.json'))\node_modules\react-native-windows\</ReactNativeWindowsDir>
|
|
23
|
-
</PropertyGroup>
|
|
24
|
-
<ItemGroup Label="ProjectConfigurations">
|
|
25
|
-
<ProjectConfiguration Include="Debug|ARM">
|
|
26
|
-
<Configuration>Debug</Configuration>
|
|
27
|
-
<Platform>ARM</Platform>
|
|
28
|
-
</ProjectConfiguration>
|
|
29
|
-
<ProjectConfiguration Include="Debug|ARM64">
|
|
30
|
-
<Configuration>Debug</Configuration>
|
|
31
|
-
<Platform>ARM64</Platform>
|
|
32
|
-
</ProjectConfiguration>
|
|
33
|
-
<ProjectConfiguration Include="Debug|Win32">
|
|
34
|
-
<Configuration>Debug</Configuration>
|
|
35
|
-
<Platform>Win32</Platform>
|
|
36
|
-
</ProjectConfiguration>
|
|
37
|
-
<ProjectConfiguration Include="Debug|x64">
|
|
38
|
-
<Configuration>Debug</Configuration>
|
|
39
|
-
<Platform>x64</Platform>
|
|
40
|
-
</ProjectConfiguration>
|
|
41
|
-
<ProjectConfiguration Include="Release|ARM">
|
|
42
|
-
<Configuration>Release</Configuration>
|
|
43
|
-
<Platform>ARM</Platform>
|
|
44
|
-
</ProjectConfiguration>
|
|
45
|
-
<ProjectConfiguration Include="Release|ARM64">
|
|
46
|
-
<Configuration>Release</Configuration>
|
|
47
|
-
<Platform>ARM64</Platform>
|
|
48
|
-
</ProjectConfiguration>
|
|
49
|
-
<ProjectConfiguration Include="Release|Win32">
|
|
50
|
-
<Configuration>Release</Configuration>
|
|
51
|
-
<Platform>Win32</Platform>
|
|
52
|
-
</ProjectConfiguration>
|
|
53
|
-
<ProjectConfiguration Include="Release|x64">
|
|
54
|
-
<Configuration>Release</Configuration>
|
|
55
|
-
<Platform>x64</Platform>
|
|
56
|
-
</ProjectConfiguration>
|
|
57
|
-
</ItemGroup>
|
|
58
|
-
<PropertyGroup Label="Configuration">
|
|
59
|
-
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
60
|
-
<CharacterSet>Unicode</CharacterSet>
|
|
61
|
-
<GenerateManifest>false</GenerateManifest>
|
|
62
|
-
</PropertyGroup>
|
|
63
|
-
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
|
|
64
|
-
<UseDebugLibraries>true</UseDebugLibraries>
|
|
65
|
-
<LinkIncremental>true</LinkIncremental>
|
|
66
|
-
</PropertyGroup>
|
|
67
|
-
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
|
|
68
|
-
<UseDebugLibraries>false</UseDebugLibraries>
|
|
69
|
-
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
70
|
-
<LinkIncremental>false</LinkIncremental>
|
|
71
|
-
</PropertyGroup>
|
|
72
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
73
|
-
<ImportGroup Label="ExtensionSettings">
|
|
74
|
-
</ImportGroup>
|
|
75
|
-
<ImportGroup Label="PropertySheets">
|
|
76
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
77
|
-
</ImportGroup>
|
|
78
|
-
<ImportGroup Label="PropertySheets">
|
|
79
|
-
<Import Project="PropertySheet.props" />
|
|
80
|
-
</ImportGroup>
|
|
81
|
-
<ImportGroup Label="ReactNativeWindowsPropertySheets">
|
|
82
|
-
<Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.props" Condition="Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.props')" />
|
|
83
|
-
</ImportGroup>
|
|
84
|
-
<PropertyGroup Label="UserMacros" />
|
|
85
|
-
<PropertyGroup />
|
|
86
|
-
<ItemDefinitionGroup>
|
|
87
|
-
<ClCompile>
|
|
88
|
-
<PrecompiledHeader>Use</PrecompiledHeader>
|
|
89
|
-
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
|
90
|
-
<PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
|
|
91
|
-
<WarningLevel>Level4</WarningLevel>
|
|
92
|
-
<AdditionalOptions>%(AdditionalOptions) /bigobj</AdditionalOptions>
|
|
93
|
-
<!--Temporarily disable cppwinrt heap enforcement to work around xaml compiler generated std::shared_ptr use -->
|
|
94
|
-
<AdditionalOptions Condition="'$(CppWinRTHeapEnforcement)'==''">/DWINRT_NO_MAKE_DETECTION %(AdditionalOptions)</AdditionalOptions>
|
|
95
|
-
<DisableSpecificWarnings>
|
|
96
|
-
</DisableSpecificWarnings>
|
|
97
|
-
<PreprocessorDefinitions>_WINRT_DLL;WIN32_LEAN_AND_MEAN;WINRT_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
98
|
-
<AdditionalUsingDirectories>$(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
|
|
99
|
-
</ClCompile>
|
|
100
|
-
<Link>
|
|
101
|
-
<SubSystem>Console</SubSystem>
|
|
102
|
-
<GenerateWindowsMetadata>true</GenerateWindowsMetadata>
|
|
103
|
-
<ModuleDefinitionFile>CheckboxWindows.def</ModuleDefinitionFile>
|
|
104
|
-
</Link>
|
|
105
|
-
</ItemDefinitionGroup>
|
|
106
|
-
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
|
|
107
|
-
<ClCompile>
|
|
108
|
-
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
109
|
-
</ClCompile>
|
|
110
|
-
</ItemDefinitionGroup>
|
|
111
|
-
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
|
|
112
|
-
<ClCompile>
|
|
113
|
-
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
114
|
-
</ClCompile>
|
|
115
|
-
<Link>
|
|
116
|
-
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
117
|
-
<OptimizeReferences>true</OptimizeReferences>
|
|
118
|
-
</Link>
|
|
119
|
-
</ItemDefinitionGroup>
|
|
120
|
-
<ItemGroup>
|
|
121
|
-
<ClInclude Include="pch.h" />
|
|
122
|
-
<ClInclude Include="CheckboxViewManager.h" />
|
|
123
|
-
<ClInclude Include="ReactPackageProvider.h">
|
|
124
|
-
<DependentUpon>ReactPackageProvider.idl</DependentUpon>
|
|
125
|
-
</ClInclude>
|
|
126
|
-
<ClInclude Include="CheckboxView.h">
|
|
127
|
-
<DependentUpon>CheckboxView.idl</DependentUpon>
|
|
128
|
-
</ClInclude>
|
|
129
|
-
<ClInclude Include="resource.h" />
|
|
130
|
-
</ItemGroup>
|
|
131
|
-
<ItemGroup>
|
|
132
|
-
<ClCompile Include="CheckboxViewManager.cpp" />
|
|
133
|
-
<ClCompile Include="pch.cpp">
|
|
134
|
-
<PrecompiledHeader>Create</PrecompiledHeader>
|
|
135
|
-
</ClCompile>
|
|
136
|
-
<ClCompile Include="CheckboxView.cpp">
|
|
137
|
-
<DependentUpon>CheckboxView.idl</DependentUpon>
|
|
138
|
-
</ClCompile>
|
|
139
|
-
<ClCompile Include="$(GeneratedFilesDir)module.g.cpp" />
|
|
140
|
-
<ClCompile Include="ReactPackageProvider.cpp">
|
|
141
|
-
<DependentUpon>ReactPackageProvider.idl</DependentUpon>
|
|
142
|
-
</ClCompile>
|
|
143
|
-
</ItemGroup>
|
|
144
|
-
<ItemGroup>
|
|
145
|
-
<Midl Include="CheckboxView.idl" />
|
|
146
|
-
<Midl Include="ReactPackageProvider.idl" />
|
|
147
|
-
</ItemGroup>
|
|
148
|
-
<ItemGroup>
|
|
149
|
-
<None Include="CheckboxWindows.def" />
|
|
150
|
-
</ItemGroup>
|
|
151
|
-
<ItemGroup>
|
|
152
|
-
<None Include="packages.config" />
|
|
153
|
-
<None Include="PropertySheet.props" />
|
|
154
|
-
<Text Include="readme.txt">
|
|
155
|
-
<DeploymentContent>false</DeploymentContent>
|
|
156
|
-
</Text>
|
|
157
|
-
</ItemGroup>
|
|
158
|
-
<ItemGroup>
|
|
159
|
-
<ProjectReference Include="$(ReactNativeWindowsDir)\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj">
|
|
160
|
-
<Project>{f7d32bd0-2749-483e-9a0d-1635ef7e3136}</Project>
|
|
161
|
-
<Private>false</Private>
|
|
162
|
-
</ProjectReference>
|
|
163
|
-
</ItemGroup>
|
|
164
|
-
<ItemGroup>
|
|
165
|
-
<ResourceCompile Include="CheckboxWindows.rc" />
|
|
166
|
-
</ItemGroup>
|
|
167
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
168
|
-
<ImportGroup Label="ReactNativeWindowsTargets">
|
|
169
|
-
<Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.targets" Condition="Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.targets')" />
|
|
170
|
-
</ImportGroup>
|
|
171
|
-
<Target Name="EnsureReactNativeWindowsTargets" BeforeTargets="PrepareForBuild">
|
|
172
|
-
<PropertyGroup>
|
|
173
|
-
<ErrorText>This project references targets in your node_modules\react-native-windows folder. The missing file is {0}.</ErrorText>
|
|
174
|
-
</PropertyGroup>
|
|
175
|
-
<Error Condition="!Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.props')" Text="$([System.String]::Format('$(ErrorText)', '$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.props'))" />
|
|
176
|
-
<Error Condition="!Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.targets'))" />
|
|
177
|
-
</Target>
|
|
178
|
-
<ImportGroup Label="ExtensionTargets">
|
|
179
|
-
<Import Project="$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200316.3\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200316.3\build\native\Microsoft.Windows.CppWinRT.targets')" />
|
|
180
|
-
</ImportGroup>
|
|
181
|
-
<Target Name="Deploy" />
|
|
182
|
-
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
|
183
|
-
<PropertyGroup>
|
|
184
|
-
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
|
185
|
-
</PropertyGroup>
|
|
186
|
-
<Error Condition="!Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200316.3\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200316.3\build\native\Microsoft.Windows.CppWinRT.props'))" />
|
|
187
|
-
<Error Condition="!Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200316.3\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200316.3\build\native\Microsoft.Windows.CppWinRT.targets'))" />
|
|
188
|
-
</Target>
|
|
189
|
-
</Project>
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
-
<ItemGroup>
|
|
4
|
-
<Filter Include="Resources">
|
|
5
|
-
<UniqueIdentifier>accd3aa8-1ba0-4223-9bbe-0c431709210b</UniqueIdentifier>
|
|
6
|
-
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tga;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
|
7
|
-
</Filter>
|
|
8
|
-
<Filter Include="Generated Files">
|
|
9
|
-
<UniqueIdentifier>{926ab91d-31b4-48c3-b9a4-e681349f27f0}</UniqueIdentifier>
|
|
10
|
-
</Filter>
|
|
11
|
-
</ItemGroup>
|
|
12
|
-
<ItemGroup>
|
|
13
|
-
<ClCompile Include="pch.cpp" />
|
|
14
|
-
<ClCompile Include="CheckboxViewManager.cpp" />
|
|
15
|
-
<ClCompile Include="ReactPackageProvider.cpp" />
|
|
16
|
-
<ClCompile Include="CheckboxView.cpp" />
|
|
17
|
-
<ClCompile Include="$(GeneratedFilesDir)module.g.cpp" />
|
|
18
|
-
</ItemGroup>
|
|
19
|
-
<ItemGroup>
|
|
20
|
-
<ClInclude Include="pch.h" />
|
|
21
|
-
<ClInclude Include="CheckboxViewManager.h" />
|
|
22
|
-
<ClInclude Include="resource.h" />
|
|
23
|
-
</ItemGroup>
|
|
24
|
-
<ItemGroup>
|
|
25
|
-
<Midl Include="CheckboxView.idl" />
|
|
26
|
-
<Midl Include="ReactPackageProvider.idl" />
|
|
27
|
-
</ItemGroup>
|
|
28
|
-
<ItemGroup>
|
|
29
|
-
<None Include="CheckboxWindows.def" />
|
|
30
|
-
<None Include="packages.config" />
|
|
31
|
-
</ItemGroup>
|
|
32
|
-
<ItemGroup>
|
|
33
|
-
<None Include="PropertySheet.props" />
|
|
34
|
-
</ItemGroup>
|
|
35
|
-
<ItemGroup>
|
|
36
|
-
<Text Include="readme.txt" />
|
|
37
|
-
</ItemGroup>
|
|
38
|
-
<ItemGroup>
|
|
39
|
-
<ResourceCompile Include="CheckboxWindows.rc">
|
|
40
|
-
<Filter>Resources</Filter>
|
|
41
|
-
</ResourceCompile>
|
|
42
|
-
</ItemGroup>
|
|
43
|
-
</Project>
|