native-fn 1.1.6 → 1.1.8
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/dist/index.d.ts +15 -4
- package/dist/native.cjs +1 -1
- package/dist/native.min.cjs +1 -1
- package/dist/native.min.mjs +1 -1
- package/dist/native.mjs +1 -1
- package/dist/native.umd.js +1 -1
- package/dist/native.umd.min.js +1 -1
- package/dist/plugin/appearance/src/plugin/open/types/open.d.ts +15 -4
- package/dist/plugin/badge/src/plugin/open/types/open.d.ts +15 -4
- package/dist/plugin/battery/src/plugin/open/types/open.d.ts +15 -4
- package/dist/plugin/clipboard/src/plugin/open/types/open.d.ts +15 -4
- package/dist/plugin/dimension/src/plugin/open/types/open.d.ts +15 -4
- package/dist/plugin/fullscreen/src/plugin/open/types/open.d.ts +15 -4
- package/dist/plugin/geolocation/src/plugin/open/types/open.d.ts +15 -4
- package/dist/plugin/notification/src/plugin/open/types/open.d.ts +15 -4
- package/dist/plugin/open/index.d.ts +16 -5
- package/dist/plugin/open/src/plugin/open/types/open.d.ts +15 -4
- package/dist/plugin/permission/src/plugin/open/types/open.d.ts +15 -4
- package/dist/plugin/pip/src/plugin/open/types/open.d.ts +15 -4
- package/dist/plugin/platform/index.d.ts +15 -4
- package/dist/plugin/platform/src/plugin/open/types/open.d.ts +15 -4
- package/dist/plugin/theme/src/plugin/open/types/open.d.ts +15 -4
- package/dist/plugin/vibration/src/plugin/open/types/open.d.ts +15 -4
- package/dist/src/plugin/open/types/open.d.ts +15 -4
- package/package.json +1 -1
|
@@ -238,12 +238,23 @@ declare interface AppOpenOptions {
|
|
|
238
238
|
['macos']?: MacOSAppInfo;
|
|
239
239
|
}
|
|
240
240
|
interface Contact {
|
|
241
|
-
name?: string;
|
|
242
|
-
email?: string;
|
|
243
|
-
tel?: string;
|
|
244
|
-
address?:
|
|
241
|
+
name?: string[];
|
|
242
|
+
email?: string[];
|
|
243
|
+
tel?: string[];
|
|
244
|
+
address?: ContactAddress[];
|
|
245
245
|
icon?: Blob[];
|
|
246
246
|
}
|
|
247
|
+
interface ContactAddress {
|
|
248
|
+
country?: string;
|
|
249
|
+
region?: string;
|
|
250
|
+
city?: string;
|
|
251
|
+
dependentLocality?: string;
|
|
252
|
+
postalCode?: string;
|
|
253
|
+
sortingCode?: string;
|
|
254
|
+
organization?: string;
|
|
255
|
+
recipient?: string;
|
|
256
|
+
addressLine?: string[];
|
|
257
|
+
}
|
|
247
258
|
interface ContactOptions {
|
|
248
259
|
multiple?: boolean;
|
|
249
260
|
}
|
|
@@ -433,4 +444,4 @@ interface ContactsManager {
|
|
|
433
444
|
declare const Open: OpenInstance;
|
|
434
445
|
|
|
435
446
|
export { AppOpenState, CameraType, CaptureType, DirectoryExploreMode, ExplorerStartIn, SETTING_URL, SettingType, Open as default };
|
|
436
|
-
export type { AndroidAppInfo, AppInfo, AppOpenOptions, BundleId, CalendarAlarmOptions, CalendarAlarmTrigger, CalendarOptions, CalendarRecurDayValue, CalendarRecurLimit, CalendarRecurOptions, CalendarRecurWeekDay, CameraOptions, Contact, ContactOptions, DirectoryOptions, FileAccept, FileExtension, FileMimeType, FileOptions, FileWithPath, IOSAppInfo, MacOSAppInfo, MailOptions, MessageOptions, OpenInstance, PackageName, ProductId, StoreInfo, TelephoneOptions, TrackId, URLCandidate, URLCandidateOrFallback, URLStringOrFallback, WindowsAppInfo };
|
|
447
|
+
export type { AndroidAppInfo, AppInfo, AppOpenOptions, BundleId, CalendarAlarmOptions, CalendarAlarmTrigger, CalendarOptions, CalendarRecurDayValue, CalendarRecurLimit, CalendarRecurOptions, CalendarRecurWeekDay, CameraOptions, Contact, ContactAddress, ContactOptions, DirectoryOptions, FileAccept, FileExtension, FileMimeType, FileOptions, FileWithPath, IOSAppInfo, MacOSAppInfo, MailOptions, MessageOptions, OpenInstance, PackageName, ProductId, StoreInfo, TelephoneOptions, TrackId, URLCandidate, URLCandidateOrFallback, URLStringOrFallback, WindowsAppInfo };
|
|
@@ -47,12 +47,23 @@ export declare interface AppOpenOptions {
|
|
|
47
47
|
['macos']?: MacOSAppInfo;
|
|
48
48
|
}
|
|
49
49
|
export interface Contact {
|
|
50
|
-
name?: string;
|
|
51
|
-
email?: string;
|
|
52
|
-
tel?: string;
|
|
53
|
-
address?:
|
|
50
|
+
name?: string[];
|
|
51
|
+
email?: string[];
|
|
52
|
+
tel?: string[];
|
|
53
|
+
address?: ContactAddress[];
|
|
54
54
|
icon?: Blob[];
|
|
55
55
|
}
|
|
56
|
+
export interface ContactAddress {
|
|
57
|
+
country?: string;
|
|
58
|
+
region?: string;
|
|
59
|
+
city?: string;
|
|
60
|
+
dependentLocality?: string;
|
|
61
|
+
postalCode?: string;
|
|
62
|
+
sortingCode?: string;
|
|
63
|
+
organization?: string;
|
|
64
|
+
recipient?: string;
|
|
65
|
+
addressLine?: string[];
|
|
66
|
+
}
|
|
56
67
|
export interface ContactOptions {
|
|
57
68
|
multiple?: boolean;
|
|
58
69
|
}
|
|
@@ -47,12 +47,23 @@ export declare interface AppOpenOptions {
|
|
|
47
47
|
['macos']?: MacOSAppInfo;
|
|
48
48
|
}
|
|
49
49
|
export interface Contact {
|
|
50
|
-
name?: string;
|
|
51
|
-
email?: string;
|
|
52
|
-
tel?: string;
|
|
53
|
-
address?:
|
|
50
|
+
name?: string[];
|
|
51
|
+
email?: string[];
|
|
52
|
+
tel?: string[];
|
|
53
|
+
address?: ContactAddress[];
|
|
54
54
|
icon?: Blob[];
|
|
55
55
|
}
|
|
56
|
+
export interface ContactAddress {
|
|
57
|
+
country?: string;
|
|
58
|
+
region?: string;
|
|
59
|
+
city?: string;
|
|
60
|
+
dependentLocality?: string;
|
|
61
|
+
postalCode?: string;
|
|
62
|
+
sortingCode?: string;
|
|
63
|
+
organization?: string;
|
|
64
|
+
recipient?: string;
|
|
65
|
+
addressLine?: string[];
|
|
66
|
+
}
|
|
56
67
|
export interface ContactOptions {
|
|
57
68
|
multiple?: boolean;
|
|
58
69
|
}
|
|
@@ -47,12 +47,23 @@ export declare interface AppOpenOptions {
|
|
|
47
47
|
['macos']?: MacOSAppInfo;
|
|
48
48
|
}
|
|
49
49
|
export interface Contact {
|
|
50
|
-
name?: string;
|
|
51
|
-
email?: string;
|
|
52
|
-
tel?: string;
|
|
53
|
-
address?:
|
|
50
|
+
name?: string[];
|
|
51
|
+
email?: string[];
|
|
52
|
+
tel?: string[];
|
|
53
|
+
address?: ContactAddress[];
|
|
54
54
|
icon?: Blob[];
|
|
55
55
|
}
|
|
56
|
+
export interface ContactAddress {
|
|
57
|
+
country?: string;
|
|
58
|
+
region?: string;
|
|
59
|
+
city?: string;
|
|
60
|
+
dependentLocality?: string;
|
|
61
|
+
postalCode?: string;
|
|
62
|
+
sortingCode?: string;
|
|
63
|
+
organization?: string;
|
|
64
|
+
recipient?: string;
|
|
65
|
+
addressLine?: string[];
|
|
66
|
+
}
|
|
56
67
|
export interface ContactOptions {
|
|
57
68
|
multiple?: boolean;
|
|
58
69
|
}
|
|
@@ -93,12 +93,23 @@ declare global {
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
interface Contact {
|
|
96
|
-
name?: string;
|
|
97
|
-
email?: string;
|
|
98
|
-
tel?: string;
|
|
99
|
-
address?:
|
|
96
|
+
name?: string[];
|
|
97
|
+
email?: string[];
|
|
98
|
+
tel?: string[];
|
|
99
|
+
address?: ContactAddress[];
|
|
100
100
|
icon?: Blob[];
|
|
101
101
|
}
|
|
102
|
+
interface ContactAddress {
|
|
103
|
+
country?: string;
|
|
104
|
+
region?: string;
|
|
105
|
+
city?: string;
|
|
106
|
+
dependentLocality?: string;
|
|
107
|
+
postalCode?: string;
|
|
108
|
+
sortingCode?: string;
|
|
109
|
+
organization?: string;
|
|
110
|
+
recipient?: string;
|
|
111
|
+
addressLine?: string[];
|
|
112
|
+
}
|
|
102
113
|
|
|
103
114
|
declare global {
|
|
104
115
|
interface Document {
|
|
@@ -47,12 +47,23 @@ export declare interface AppOpenOptions {
|
|
|
47
47
|
['macos']?: MacOSAppInfo;
|
|
48
48
|
}
|
|
49
49
|
export interface Contact {
|
|
50
|
-
name?: string;
|
|
51
|
-
email?: string;
|
|
52
|
-
tel?: string;
|
|
53
|
-
address?:
|
|
50
|
+
name?: string[];
|
|
51
|
+
email?: string[];
|
|
52
|
+
tel?: string[];
|
|
53
|
+
address?: ContactAddress[];
|
|
54
54
|
icon?: Blob[];
|
|
55
55
|
}
|
|
56
|
+
export interface ContactAddress {
|
|
57
|
+
country?: string;
|
|
58
|
+
region?: string;
|
|
59
|
+
city?: string;
|
|
60
|
+
dependentLocality?: string;
|
|
61
|
+
postalCode?: string;
|
|
62
|
+
sortingCode?: string;
|
|
63
|
+
organization?: string;
|
|
64
|
+
recipient?: string;
|
|
65
|
+
addressLine?: string[];
|
|
66
|
+
}
|
|
56
67
|
export interface ContactOptions {
|
|
57
68
|
multiple?: boolean;
|
|
58
69
|
}
|
|
@@ -47,12 +47,23 @@ export declare interface AppOpenOptions {
|
|
|
47
47
|
['macos']?: MacOSAppInfo;
|
|
48
48
|
}
|
|
49
49
|
export interface Contact {
|
|
50
|
-
name?: string;
|
|
51
|
-
email?: string;
|
|
52
|
-
tel?: string;
|
|
53
|
-
address?:
|
|
50
|
+
name?: string[];
|
|
51
|
+
email?: string[];
|
|
52
|
+
tel?: string[];
|
|
53
|
+
address?: ContactAddress[];
|
|
54
54
|
icon?: Blob[];
|
|
55
55
|
}
|
|
56
|
+
export interface ContactAddress {
|
|
57
|
+
country?: string;
|
|
58
|
+
region?: string;
|
|
59
|
+
city?: string;
|
|
60
|
+
dependentLocality?: string;
|
|
61
|
+
postalCode?: string;
|
|
62
|
+
sortingCode?: string;
|
|
63
|
+
organization?: string;
|
|
64
|
+
recipient?: string;
|
|
65
|
+
addressLine?: string[];
|
|
66
|
+
}
|
|
56
67
|
export interface ContactOptions {
|
|
57
68
|
multiple?: boolean;
|
|
58
69
|
}
|
|
@@ -47,12 +47,23 @@ export declare interface AppOpenOptions {
|
|
|
47
47
|
['macos']?: MacOSAppInfo;
|
|
48
48
|
}
|
|
49
49
|
export interface Contact {
|
|
50
|
-
name?: string;
|
|
51
|
-
email?: string;
|
|
52
|
-
tel?: string;
|
|
53
|
-
address?:
|
|
50
|
+
name?: string[];
|
|
51
|
+
email?: string[];
|
|
52
|
+
tel?: string[];
|
|
53
|
+
address?: ContactAddress[];
|
|
54
54
|
icon?: Blob[];
|
|
55
55
|
}
|
|
56
|
+
export interface ContactAddress {
|
|
57
|
+
country?: string;
|
|
58
|
+
region?: string;
|
|
59
|
+
city?: string;
|
|
60
|
+
dependentLocality?: string;
|
|
61
|
+
postalCode?: string;
|
|
62
|
+
sortingCode?: string;
|
|
63
|
+
organization?: string;
|
|
64
|
+
recipient?: string;
|
|
65
|
+
addressLine?: string[];
|
|
66
|
+
}
|
|
56
67
|
export interface ContactOptions {
|
|
57
68
|
multiple?: boolean;
|
|
58
69
|
}
|
|
@@ -47,12 +47,23 @@ export declare interface AppOpenOptions {
|
|
|
47
47
|
['macos']?: MacOSAppInfo;
|
|
48
48
|
}
|
|
49
49
|
export interface Contact {
|
|
50
|
-
name?: string;
|
|
51
|
-
email?: string;
|
|
52
|
-
tel?: string;
|
|
53
|
-
address?:
|
|
50
|
+
name?: string[];
|
|
51
|
+
email?: string[];
|
|
52
|
+
tel?: string[];
|
|
53
|
+
address?: ContactAddress[];
|
|
54
54
|
icon?: Blob[];
|
|
55
55
|
}
|
|
56
|
+
export interface ContactAddress {
|
|
57
|
+
country?: string;
|
|
58
|
+
region?: string;
|
|
59
|
+
city?: string;
|
|
60
|
+
dependentLocality?: string;
|
|
61
|
+
postalCode?: string;
|
|
62
|
+
sortingCode?: string;
|
|
63
|
+
organization?: string;
|
|
64
|
+
recipient?: string;
|
|
65
|
+
addressLine?: string[];
|
|
66
|
+
}
|
|
56
67
|
export interface ContactOptions {
|
|
57
68
|
multiple?: boolean;
|
|
58
69
|
}
|