@hanwha-ss1/plugin 0.0.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/HanwhaSs1Plugin.podspec +17 -0
- package/README.md +67 -0
- package/android/build.gradle +58 -0
- package/android/src/main/AndroidManifest.xml +14 -0
- package/android/src/main/java/com/plugin/contacts/Contacts.java +41 -0
- package/android/src/main/java/com/plugin/contacts/ContactsPlugin.java +35 -0
- package/android/src/main/java/com/plugin/openbrowser/ChromeClient.java +125 -0
- package/android/src/main/java/com/plugin/openbrowser/OpenBrowser.java +34 -0
- package/android/src/main/java/com/plugin/openbrowser/OpenBrowserPlugin.java +32 -0
- package/android/src/main/java/com/plugin/openbrowser/WebViewActivity.java +71 -0
- package/android/src/main/res/.gitkeep +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_ap.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_avi.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_bmp.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_doc.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_etc.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_etc_fill.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_exe.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_explorer.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_gif.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_gui.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_gul.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_hwp.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_img.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_jpg.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_mp_3.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_pdf.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_png.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_ppt.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_question.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_tif.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_tiff.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_txt.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_user.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_wav.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_xls.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_xml.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_20_file_zip.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_24_ico_close.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_24_ico_down.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_24_ico_down_2.png +0 -0
- package/android/src/main/res/drawable-hdpi/icon_24_ico_view.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_ap.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_avi.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_bmp.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_doc.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_etc.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_etc_fill.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_exe.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_explorer.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_gif.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_gui.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_gul.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_hwp.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_img.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_jpg.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_mp_3.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_pdf.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_png.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_ppt.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_question.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_tif.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_tiff.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_txt.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_user.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_wav.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_xls.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_xml.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_20_file_zip.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_24_ico_close.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_24_ico_down.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_24_ico_down_2.png +0 -0
- package/android/src/main/res/drawable-mdpi/icon_24_ico_view.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_ap.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_avi.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_bmp.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_doc.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_etc.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_etc_fill.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_exe.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_explorer.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_gif.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_gui.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_gul.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_hwp.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_img.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_jpg.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_mp_3.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_pdf.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_png.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_ppt.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_question.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_tif.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_tiff.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_txt.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_user.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_wav.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_xls.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_xml.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_20_file_zip.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_24_ico_close.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_24_ico_down.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_24_ico_down_2.png +0 -0
- package/android/src/main/res/drawable-xhdpi/icon_24_ico_view.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_ap.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_avi.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_bmp.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_doc.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_etc.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_etc_fill.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_exe.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_explorer.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_gif.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_gui.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_gul.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_hwp.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_img.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_jpg.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_mp_3.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_pdf.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_png.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_ppt.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_question.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_tif.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_tiff.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_txt.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_user.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_wav.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_xls.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_xml.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_20_file_zip.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_24_ico_close.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_24_ico_down.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_24_ico_down_2.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/icon_24_ico_view.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_ap.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_avi.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_bmp.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_doc.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_etc.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_etc_fill.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_exe.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_explorer.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_gif.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_gui.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_gul.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_hwp.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_img.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_jpg.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_mp_3.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_pdf.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_png.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_ppt.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_question.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_tif.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_tiff.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_txt.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_user.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_wav.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_xls.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_xml.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_20_file_zip.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_24_ico_close.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_24_ico_down.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_24_ico_down_2.png +0 -0
- package/android/src/main/res/drawable-xxxhdpi/icon_24_ico_view.png +0 -0
- package/android/src/main/res/layout/activity_webview.xml +49 -0
- package/android/src/main/res/values/strings.xml +5 -0
- package/android/src/main/res/values-ko-rKR/strings.xml +6 -0
- package/dist/docs.json +65 -0
- package/dist/esm/definitions.d.ts +19 -0
- package/dist/esm/definitions.js +2 -0
- package/dist/esm/definitions.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/web.d.ts +5 -0
- package/dist/esm/web.js +8 -0
- package/dist/esm/web.js.map +1 -0
- package/dist/plugin.cjs.js +24 -0
- package/dist/plugin.cjs.js.map +1 -0
- package/dist/plugin.js +27 -0
- package/dist/plugin.js.map +1 -0
- package/ios/Plugin/Contact.h +10 -0
- package/ios/Plugin/Contact.swift +10 -0
- package/ios/Plugin/ContactPlugin.m +8 -0
- package/ios/Plugin/ContactPlugin.swift +124 -0
- package/ios/Plugin/Info.plist +24 -0
- package/ios/Plugin/Thumbs.db +0 -0
- package/package.json +79 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
+
android:layout_width="match_parent"
|
|
4
|
+
android:layout_height="match_parent"
|
|
5
|
+
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
6
|
+
android:orientation="vertical"
|
|
7
|
+
android:background="#ffffff">
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
<LinearLayout
|
|
11
|
+
android:id="@+id/layoutTitle"
|
|
12
|
+
app:layout_constraintStart_toStartOf="parent"
|
|
13
|
+
app:layout_constraintTop_toTopOf="parent"
|
|
14
|
+
android:background="#ffffff"
|
|
15
|
+
android:layout_width="match_parent"
|
|
16
|
+
android:layout_height="48dp"
|
|
17
|
+
android:paddingLeft="16dp"
|
|
18
|
+
android:orientation="horizontal"
|
|
19
|
+
android:gravity="center_vertical|right">
|
|
20
|
+
|
|
21
|
+
<ImageView
|
|
22
|
+
android:id="@+id/ivClose"
|
|
23
|
+
android:paddingTop="5dp"
|
|
24
|
+
android:paddingBottom="5dp"
|
|
25
|
+
android:paddingLeft="16dp"
|
|
26
|
+
android:paddingRight="16dp"
|
|
27
|
+
android:layout_weight="0"
|
|
28
|
+
android:layout_width="wrap_content"
|
|
29
|
+
android:layout_height="wrap_content"
|
|
30
|
+
android:src="@drawable/icon_24_ico_close"/>
|
|
31
|
+
|
|
32
|
+
</LinearLayout>
|
|
33
|
+
|
|
34
|
+
<RelativeLayout
|
|
35
|
+
app:layout_constrainedHeight="true"
|
|
36
|
+
app:layout_constraintTop_toBottomOf="@id/layoutTitle"
|
|
37
|
+
app:layout_constraintBottom_toBottomOf="parent"
|
|
38
|
+
android:background="#ffffff"
|
|
39
|
+
android:layout_width="match_parent"
|
|
40
|
+
android:layout_height="match_parent">
|
|
41
|
+
|
|
42
|
+
<WebView
|
|
43
|
+
android:id="@+id/webView"
|
|
44
|
+
android:layout_width="match_parent"
|
|
45
|
+
android:layout_height="match_parent"/>
|
|
46
|
+
|
|
47
|
+
</RelativeLayout>
|
|
48
|
+
|
|
49
|
+
</androidx.constraintlayout.widget.ConstraintLayout>
|
package/dist/docs.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"api": {
|
|
3
|
+
"name": "Plugin",
|
|
4
|
+
"slug": "plugin",
|
|
5
|
+
"docs": "",
|
|
6
|
+
"tags": [],
|
|
7
|
+
"methods": [
|
|
8
|
+
{
|
|
9
|
+
"name": "addListener",
|
|
10
|
+
"signature": "(eventName: string, listenerFunc: (...args: any[]) => any) => Promise<PluginListenerHandle>",
|
|
11
|
+
"parameters": [
|
|
12
|
+
{
|
|
13
|
+
"name": "eventName",
|
|
14
|
+
"docs": "",
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "listenerFunc",
|
|
19
|
+
"docs": "",
|
|
20
|
+
"type": "(...args: any[]) => any"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"returns": "Promise<PluginListenerHandle>",
|
|
24
|
+
"tags": [],
|
|
25
|
+
"docs": "",
|
|
26
|
+
"complexTypes": [
|
|
27
|
+
"PluginListenerHandle"
|
|
28
|
+
],
|
|
29
|
+
"slug": "addlistenerstring"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "removeAllListeners",
|
|
33
|
+
"signature": "() => Promise<void>",
|
|
34
|
+
"parameters": [],
|
|
35
|
+
"returns": "Promise<void>",
|
|
36
|
+
"tags": [],
|
|
37
|
+
"docs": "",
|
|
38
|
+
"complexTypes": [],
|
|
39
|
+
"slug": "removealllisteners"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"properties": []
|
|
43
|
+
},
|
|
44
|
+
"interfaces": [
|
|
45
|
+
{
|
|
46
|
+
"name": "PluginListenerHandle",
|
|
47
|
+
"slug": "pluginlistenerhandle",
|
|
48
|
+
"docs": "",
|
|
49
|
+
"tags": [],
|
|
50
|
+
"methods": [],
|
|
51
|
+
"properties": [
|
|
52
|
+
{
|
|
53
|
+
"name": "remove",
|
|
54
|
+
"tags": [],
|
|
55
|
+
"docs": "",
|
|
56
|
+
"complexTypes": [],
|
|
57
|
+
"type": "() => Promise<void>"
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"enums": [],
|
|
63
|
+
"typeAliases": [],
|
|
64
|
+
"pluginConfigs": []
|
|
65
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface Plugin {
|
|
2
|
+
/**
|
|
3
|
+
* 연락처 저장
|
|
4
|
+
* @param options name : 성명
|
|
5
|
+
* @param options phone : 전화번호
|
|
6
|
+
* @param options email : 이메일
|
|
7
|
+
* @param options dept : 소속
|
|
8
|
+
* @param options ext : 내선번호
|
|
9
|
+
*/
|
|
10
|
+
addContact(options: {
|
|
11
|
+
name: string;
|
|
12
|
+
phone: string;
|
|
13
|
+
email: string;
|
|
14
|
+
dept: string;
|
|
15
|
+
ext: string;
|
|
16
|
+
}): Promise<{
|
|
17
|
+
value: string;
|
|
18
|
+
}>;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"","sourcesContent":["export interface Plugin {\n /**\n * 연락처 저장\n * @param options name : 성명\n * @param options phone : 전화번호\n * @param options email : 이메일\n * @param options dept : 소속\n * @param options ext : 내선번호\n */\n addContact(options: {\n name: string;\n phone: string;\n email: string;\n dept: string;\n ext: string;\n }): Promise<{ value: string }>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAIjD,MAAM,YAAY,GAAG,cAAc,CAAS,QAAQ,EAAE;IACpD,GAAG,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC;CACxD,CAAC,CAAC;AAEH,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,CAAC","sourcesContent":["import { registerPlugin } from '@capacitor/core';\n\nimport type { Plugin } from './definitions';\n\nconst HanwhaPlugin = registerPlugin<Plugin>('Plugin', {\n web: () => import('./web').then(m => new m.PluginWeb()),\n});\n\nexport * from './definitions';\nexport { HanwhaPlugin };\n"]}
|
package/dist/esm/web.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,MAAM,OAAO,SAAU,SAAQ,SAAS;IAEtC,KAAK,CAAC,UAAU;QACd,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IACzB,CAAC;CACF","sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\nimport { WebPlugin } from '@capacitor/core';\nimport type { Plugin } from './definitions';\nexport class PluginWeb extends WebPlugin implements Plugin {\n\n async addContact(): Promise<any> {\n return { results: {} };\n }\n}\n"]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var core = require('@capacitor/core');
|
|
6
|
+
|
|
7
|
+
const HanwhaPlugin = core.registerPlugin('Plugin', {
|
|
8
|
+
web: () => Promise.resolve().then(function () { return web; }).then(m => new m.PluginWeb()),
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
12
|
+
class PluginWeb extends core.WebPlugin {
|
|
13
|
+
async addContact() {
|
|
14
|
+
return { results: {} };
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
var web = /*#__PURE__*/Object.freeze({
|
|
19
|
+
__proto__: null,
|
|
20
|
+
PluginWeb: PluginWeb
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
exports.HanwhaPlugin = HanwhaPlugin;
|
|
24
|
+
//# sourceMappingURL=plugin.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst HanwhaPlugin = registerPlugin('Plugin', {\n web: () => import('./web').then(m => new m.PluginWeb()),\n});\nexport * from './definitions';\nexport { HanwhaPlugin };\n//# sourceMappingURL=index.js.map","/* eslint-disable @typescript-eslint/no-unused-vars */\nimport { WebPlugin } from '@capacitor/core';\nexport class PluginWeb extends WebPlugin {\n async addContact() {\n return { results: {} };\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;;;;AACK,MAAC,YAAY,GAAGA,mBAAc,CAAC,QAAQ,EAAE;AAC9C,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC;AAC3D,CAAC;;ACHD;AAEO,MAAM,SAAS,SAASC,cAAS,CAAC;AACzC,IAAI,MAAM,UAAU,GAAG;AACvB,QAAQ,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;AAC/B,KAAK;AACL;;;;;;;;;"}
|
package/dist/plugin.js
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
var capacitorContact = (function (exports, core) {
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
const HanwhaPlugin = core.registerPlugin('Plugin', {
|
|
5
|
+
web: () => Promise.resolve().then(function () { return web; }).then(m => new m.PluginWeb()),
|
|
6
|
+
});
|
|
7
|
+
|
|
8
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
9
|
+
class PluginWeb extends core.WebPlugin {
|
|
10
|
+
async addContact() {
|
|
11
|
+
return { results: {} };
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
var web = /*#__PURE__*/Object.freeze({
|
|
16
|
+
__proto__: null,
|
|
17
|
+
PluginWeb: PluginWeb
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
exports.HanwhaPlugin = HanwhaPlugin;
|
|
21
|
+
|
|
22
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
23
|
+
|
|
24
|
+
return exports;
|
|
25
|
+
|
|
26
|
+
}({}, capacitorExports));
|
|
27
|
+
//# sourceMappingURL=plugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst HanwhaPlugin = registerPlugin('Plugin', {\n web: () => import('./web').then(m => new m.PluginWeb()),\n});\nexport * from './definitions';\nexport { HanwhaPlugin };\n//# sourceMappingURL=index.js.map","/* eslint-disable @typescript-eslint/no-unused-vars */\nimport { WebPlugin } from '@capacitor/core';\nexport class PluginWeb extends WebPlugin {\n async addContact() {\n return { results: {} };\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;AACK,UAAC,YAAY,GAAGA,mBAAc,CAAC,QAAQ,EAAE;IAC9C,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC;IAC3D,CAAC;;ICHD;IAEO,MAAM,SAAS,SAASC,cAAS,CAAC;IACzC,IAAI,MAAM,UAAU,GAAG;IACvB,QAAQ,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC/B,KAAK;IACL;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
#import <UIKit/UIKit.h>
|
|
2
|
+
|
|
3
|
+
//! Project version number for Plugin.
|
|
4
|
+
FOUNDATION_EXPORT double PluginVersionNumber;
|
|
5
|
+
|
|
6
|
+
//! Project version string for Plugin.
|
|
7
|
+
FOUNDATION_EXPORT const unsigned char PluginVersionString[];
|
|
8
|
+
|
|
9
|
+
// In this header, you should import all the public headers of your framework using statements like #import <Plugin/PublicHeader.h>
|
|
10
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
#import <Foundation/Foundation.h>
|
|
2
|
+
#import <Capacitor/Capacitor.h>
|
|
3
|
+
|
|
4
|
+
// Define the plugin using the CAP_PLUGIN Macro, and
|
|
5
|
+
// each method the plugin supports using the CAP_PLUGIN_METHOD macro.
|
|
6
|
+
CAP_PLUGIN(Plugin, "Plugin",
|
|
7
|
+
CAP_PLUGIN_METHOD(addContact, CAPPluginReturnPromise);
|
|
8
|
+
)
|