@convep_mobilogy/react-native-qms-plugin 0.1.7 → 0.1.9
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/android/build.gradle +2 -2
- package/android/libs/qmsplugin-release.aar +0 -0
- package/lib/module/QmsDashboardView.js.map +1 -1
- package/lib/module/index.js +1 -0
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/src/QmsDashboardView.d.ts +3 -5
- package/lib/typescript/src/QmsDashboardView.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/QmsDashboardView.tsx +3 -6
- package/src/index.tsx +1 -0
package/android/build.gradle
CHANGED
|
@@ -76,8 +76,8 @@ dependencies {
|
|
|
76
76
|
implementation "com.facebook.react:react-android"
|
|
77
77
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
78
78
|
compileOnly "com.facebook.react:react-android:+"
|
|
79
|
-
implementation files('libs/qmsplugin-release.aar')
|
|
80
|
-
|
|
79
|
+
// implementation files('libs/qmsplugin-release.aar')
|
|
80
|
+
implementation files('/Users/alypmustaqim/Desktop/qmsPlugin/qmsplugin/build/outputs/aar/qmsplugin-release.aar')
|
|
81
81
|
implementation "androidx.appcompat:appcompat:1.6.1"
|
|
82
82
|
implementation "com.google.android.material:material:1.12.0"
|
|
83
83
|
implementation "androidx.constraintlayout:constraintlayout:2.2.0"
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","requireNativeComponent","Platform","jsx","_jsx","NativeQmsDashboardView","OS","QmsDashboardView","props"],"sourceRoot":"../../src","sources":["QmsDashboardView.tsx"],"mappings":";;AAAA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,sBAAsB,EAAEC,QAAQ,QAAQ,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;
|
|
1
|
+
{"version":3,"names":["React","requireNativeComponent","Platform","jsx","_jsx","NativeQmsDashboardView","OS","QmsDashboardView","props"],"sourceRoot":"../../src","sources":["QmsDashboardView.tsx"],"mappings":";;AAAA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,sBAAsB,EAAEC,QAAQ,QAAQ,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAOhE,MAAMC,sBAAsB,GAAGJ,sBAAsB,CACnDC,QAAQ,CAACI,EAAE,KAAK,KAAK,GAAG,kBAAkB,GAAG,cAC/C,CAAC;AAED,OAAO,MAAMC,gBAAiC,GAAIC,KAAK,IAAK;EAC1D,oBAAOJ,IAAA,CAACC,sBAAsB;IAAA,GAAKG;EAAK,CAAG,CAAC;AAC9C,CAAC","ignoreList":[]}
|
package/lib/module/index.js
CHANGED
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["QmsPlugin","QmsDashboardView","showPluginUI"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;AAAA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAOA,SAAS,MAAM,sBAAmB;AACzC,SAASC,gBAAgB,QAAQ,uBAAoB;AAErD,OAAO,SAASC,YAAYA,CAAA,EAAS;EACnCF,SAAS,CAACE,YAAY,CAAC,CAAC;AAC1B;;AAEA;AACA;AACA;AACA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["QmsPlugin","QmsDashboardView","showPluginUI"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;AAAA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAOA,SAAS,MAAM,sBAAmB;AACzC,SAASC,gBAAgB,QAAQ,uBAAoB;AAErD,OAAO,SAASC,YAAYA,CAAA,EAAS;EACnCF,SAAS,CAACE,YAAY,CAAC,CAAC;AAC1B;;AAEA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ViewStyle } from 'react-native';
|
|
3
|
-
|
|
3
|
+
type Props = {
|
|
4
4
|
style?: ViewStyle;
|
|
5
|
-
clientID?: string;
|
|
6
|
-
clientCode?: string;
|
|
7
|
-
userToken?: string;
|
|
8
5
|
};
|
|
9
|
-
export declare const QmsDashboardView: React.FC<
|
|
6
|
+
export declare const QmsDashboardView: React.FC<Props>;
|
|
7
|
+
export {};
|
|
10
8
|
//# sourceMappingURL=QmsDashboardView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QmsDashboardView.d.ts","sourceRoot":"","sources":["../../../src/QmsDashboardView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,
|
|
1
|
+
{"version":3,"file":"QmsDashboardView.d.ts","sourceRoot":"","sources":["../../../src/QmsDashboardView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,KAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC;AAMF,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAE5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAuBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,wBAAgB,YAAY,IAAI,IAAI,CAEnC"}
|
package/package.json
CHANGED
package/src/QmsDashboardView.tsx
CHANGED
|
@@ -3,17 +3,14 @@ import React from 'react';
|
|
|
3
3
|
import { requireNativeComponent, Platform } from 'react-native';
|
|
4
4
|
import type { ViewStyle } from 'react-native';
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
type Props = {
|
|
7
7
|
style?: ViewStyle;
|
|
8
|
-
clientID?: string; // use camelCase in JS
|
|
9
|
-
clientCode?: string;
|
|
10
|
-
userToken?: string; // avoid logging this
|
|
11
8
|
};
|
|
12
9
|
|
|
13
|
-
const NativeQmsDashboardView = requireNativeComponent<
|
|
10
|
+
const NativeQmsDashboardView = requireNativeComponent<Props>(
|
|
14
11
|
Platform.OS === 'ios' ? 'QmsDashboardView' : 'QmsDashboard'
|
|
15
12
|
);
|
|
16
13
|
|
|
17
|
-
export const QmsDashboardView: React.FC<
|
|
14
|
+
export const QmsDashboardView: React.FC<Props> = (props) => {
|
|
18
15
|
return <NativeQmsDashboardView {...props} />;
|
|
19
16
|
};
|
package/src/index.tsx
CHANGED