native-fn 1.0.32 → 1.0.33
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 +4 -2
- 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/app/index.d.ts +6 -0
- package/dist/plugin/app/src/plugin/app/types/index.d.ts +6 -0
- package/dist/plugin/app/src/plugin/platform/types/index.d.ts +6 -0
- package/dist/plugin/app/src/plugin/theme/types/index.d.ts +6 -0
- package/dist/plugin/app/src/types/native.d.ts +3 -1
- package/dist/plugin/platform/index.d.ts +6 -0
- package/dist/plugin/platform/src/plugin/app/types/index.d.ts +6 -0
- package/dist/plugin/platform/src/plugin/platform/types/index.d.ts +6 -0
- package/dist/plugin/platform/src/plugin/theme/types/index.d.ts +6 -0
- package/dist/plugin/platform/src/types/native.d.ts +3 -1
- package/dist/plugin/theme/index.d.ts +6 -0
- package/dist/plugin/theme/src/plugin/app/types/index.d.ts +6 -0
- package/dist/plugin/theme/src/plugin/platform/types/index.d.ts +6 -0
- package/dist/plugin/theme/src/plugin/theme/types/index.d.ts +6 -0
- package/dist/plugin/theme/src/types/native.d.ts +3 -1
- package/dist/src/plugin/app/types/index.d.ts +6 -0
- package/dist/src/plugin/platform/types/index.d.ts +6 -0
- package/dist/src/plugin/theme/types/index.d.ts +6 -0
- package/dist/src/types/native.d.ts +3 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -11,9 +11,11 @@ declare interface NativeBase extends ModuleBase {
|
|
|
11
11
|
Version: string;
|
|
12
12
|
extends: <T>(plugin: NativePlugin<T>) => NativeInstance;
|
|
13
13
|
}
|
|
14
|
-
|
|
14
|
+
interface NativePlugins {
|
|
15
|
+
}
|
|
16
|
+
type NativeInstance = NativeBase & NativePlugins;
|
|
15
17
|
|
|
16
18
|
declare const Native: NativeInstance;
|
|
17
19
|
|
|
18
20
|
export { Native as default };
|
|
19
|
-
export type { ModuleBase, NativeBase, NativeInstance, NativePlugin };
|
|
21
|
+
export type { ModuleBase, NativeBase, NativeInstance, NativePlugin, NativePlugins };
|
package/dist/native.cjs
CHANGED
package/dist/native.min.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function t(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var s=Object(t[0]),o=1;o<t.length;o++){var n=t[o];if(null!=n)for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&"__proto__"!==e&&"constructor"!==e&&"prototype"!==e&&(s[e]=n[e])}return s}var r={Version:"1.0.
|
|
1
|
+
"use strict";function t(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var s=Object(t[0]),o=1;o<t.length;o++){var n=t[o];if(null!=n)for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&"__proto__"!==e&&"constructor"!==e&&"prototype"!==e&&(s[e]=n[e])}return s}var r={Version:"1.0.33",Constants:{},Errors:{},extends:function(r){return r.installed||(this.Constants=t(this.Constants,r.Constants),this.Errors=t(this.Errors,r.Errors),this[r.name]=r.module,r.installed=!0),this}};module.exports=r;
|
package/dist/native.min.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function t(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n=Object(t[0]),o=1;o<t.length;o++){var s=t[o];if(null!=s)for(var e in s)Object.prototype.hasOwnProperty.call(s,e)&&"__proto__"!==e&&"constructor"!==e&&"prototype"!==e&&(n[e]=s[e])}return n}var r={Version:"1.0.
|
|
1
|
+
function t(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n=Object(t[0]),o=1;o<t.length;o++){var s=t[o];if(null!=s)for(var e in s)Object.prototype.hasOwnProperty.call(s,e)&&"__proto__"!==e&&"constructor"!==e&&"prototype"!==e&&(n[e]=s[e])}return n}var r={Version:"1.0.33",Constants:{},Errors:{},extends:function(r){return r.installed||(this.Constants=t(this.Constants,r.Constants),this.Errors=t(this.Errors,r.Errors),this[r.name]=r.module,r.installed=!0),this}};export{r as default};
|
package/dist/native.mjs
CHANGED
package/dist/native.umd.js
CHANGED
package/dist/native.umd.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).Native=e()}(this,(function(){"use strict";function t(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=Object(t[0]),o=1;o<t.length;o++){var r=t[o];if(null!=r)for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&"__proto__"!==s&&"constructor"!==s&&"prototype"!==s&&(n[s]=r[s])}return n}return{Version:"1.0.
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).Native=e()}(this,(function(){"use strict";function t(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=Object(t[0]),o=1;o<t.length;o++){var r=t[o];if(null!=r)for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&"__proto__"!==s&&"constructor"!==s&&"prototype"!==s&&(n[s]=r[s])}return n}return{Version:"1.0.33",Constants:{},Errors:{},extends:function(e){return e.installed||(this.Constants=t(this.Constants,e.Constants),this.Errors=t(this.Errors,e.Errors),this[e.name]=e.module,e.installed=!0),this}}}));
|
|
@@ -82,6 +82,12 @@ declare interface AppInstance {
|
|
|
82
82
|
messenger: Messenger;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
+
declare module '../../../types/native' {
|
|
86
|
+
interface NativePlugins {
|
|
87
|
+
App: AppInstance;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
85
91
|
declare const NativeAppPlugin: NativePlugin<AppInstance>;
|
|
86
92
|
|
|
87
93
|
export { NativeAppPlugin as default };
|
|
@@ -11,4 +11,6 @@ export declare interface NativeBase extends ModuleBase {
|
|
|
11
11
|
Version: string;
|
|
12
12
|
extends: <T>(plugin: NativePlugin<T>) => NativeInstance;
|
|
13
13
|
}
|
|
14
|
-
export
|
|
14
|
+
export interface NativePlugins {
|
|
15
|
+
}
|
|
16
|
+
export type NativeInstance = NativeBase & NativePlugins;
|
|
@@ -47,6 +47,12 @@ declare interface PlatformInstance {
|
|
|
47
47
|
isDesktop: boolean;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
declare module '../../../types/native' {
|
|
51
|
+
interface NativePlugins {
|
|
52
|
+
Platform: PlatformInstance;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
50
56
|
declare const NativePlatformPlugin: NativePlugin<PlatformInstance>;
|
|
51
57
|
|
|
52
58
|
export { NativePlatformPlugin as default };
|
|
@@ -11,4 +11,6 @@ export declare interface NativeBase extends ModuleBase {
|
|
|
11
11
|
Version: string;
|
|
12
12
|
extends: <T>(plugin: NativePlugin<T>) => NativeInstance;
|
|
13
13
|
}
|
|
14
|
-
export
|
|
14
|
+
export interface NativePlugins {
|
|
15
|
+
}
|
|
16
|
+
export type NativeInstance = NativeBase & NativePlugins;
|
|
@@ -71,6 +71,12 @@ declare interface ThemeInstance {
|
|
|
71
71
|
onAppearanceChange: (listener: (appearance?: Appearances) => any, options?: boolean | AddEventListenerOptions) => () => void;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
+
declare module '../../../types/native' {
|
|
75
|
+
interface NativePlugins {
|
|
76
|
+
Theme: ThemeInstance;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
74
80
|
declare const NativeThemePlugin: NativePlugin<ThemeInstance>;
|
|
75
81
|
|
|
76
82
|
export { NativeThemePlugin as default };
|
|
@@ -11,4 +11,6 @@ export declare interface NativeBase extends ModuleBase {
|
|
|
11
11
|
Version: string;
|
|
12
12
|
extends: <T>(plugin: NativePlugin<T>) => NativeInstance;
|
|
13
13
|
}
|
|
14
|
-
export
|
|
14
|
+
export interface NativePlugins {
|
|
15
|
+
}
|
|
16
|
+
export type NativeInstance = NativeBase & NativePlugins;
|
|
@@ -11,4 +11,6 @@ export declare interface NativeBase extends ModuleBase {
|
|
|
11
11
|
Version: string;
|
|
12
12
|
extends: <T>(plugin: NativePlugin<T>) => NativeInstance;
|
|
13
13
|
}
|
|
14
|
-
export
|
|
14
|
+
export interface NativePlugins {
|
|
15
|
+
}
|
|
16
|
+
export type NativeInstance = NativeBase & NativePlugins;
|