@communi/chat-react-native 2.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/LICENSE +20 -0
- package/README.md +3 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +48 -0
- package/src/handlers/DatePicker.d.ts +9 -0
- package/src/handlers/DatePicker.js +1 -0
- package/src/handlers/Keyboard.d.ts +5 -0
- package/src/handlers/Keyboard.js +1 -0
- package/src/handlers/MQTT.d.ts +2 -0
- package/src/handlers/MQTT.js +1 -0
- package/src/handlers/Video.d.ts +13 -0
- package/src/handlers/Video.js +1 -0
- package/src/handlers/deleteFile.d.ts +3 -0
- package/src/handlers/deleteFile.js +1 -0
- package/src/handlers/getLocalAssetUri.d.ts +1 -0
- package/src/handlers/getLocalAssetUri.js +1 -0
- package/src/handlers/getPhotos.d.ts +9 -0
- package/src/handlers/getPhotos.js +1 -0
- package/src/handlers/index.d.ts +15 -0
- package/src/handlers/index.js +1 -0
- package/src/handlers/isExistFile.d.ts +1 -0
- package/src/handlers/isExistFile.js +1 -0
- package/src/handlers/oniOS14GalleryLibrarySelectionChange.d.ts +3 -0
- package/src/handlers/oniOS14GalleryLibrarySelectionChange.js +1 -0
- package/src/handlers/pickDocument.d.ts +5 -0
- package/src/handlers/pickDocument.js +1 -0
- package/src/handlers/pickPhoto.d.ts +11 -0
- package/src/handlers/pickPhoto.js +1 -0
- package/src/handlers/saveFile.d.ts +6 -0
- package/src/handlers/saveFile.js +1 -0
- package/src/handlers/setClipboardString.d.ts +1 -0
- package/src/handlers/setClipboardString.js +1 -0
- package/src/handlers/takePhoto.d.ts +19 -0
- package/src/handlers/takePhoto.js +1 -0
- package/src/handlers/triggerHaptic.d.ts +8 -0
- package/src/handlers/triggerHaptic.js +1 -0
- package/src/index.d.ts +5 -0
- package/src/index.js +1 -0
- package/src/optionalDependencies/DatePicker.d.ts +9 -0
- package/src/optionalDependencies/DatePicker.js +1 -0
- package/src/optionalDependencies/Video.d.ts +18 -0
- package/src/optionalDependencies/Video.js +1 -0
- package/src/optionalDependencies/index.d.ts +2 -0
- package/src/optionalDependencies/index.js +1 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 PiScale Developer
|
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
6
|
+
in the Software without restriction, including without limitation the rights
|
|
7
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
9
|
+
furnished to do so, subject to the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be included in all
|
|
12
|
+
copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
20
|
+
SOFTWARE.
|
package/README.md
ADDED
package/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
package/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';(function(f,n){var w=c,T=f();while(!![]){try{var d=parseInt(w(0x1ad))/0x1*(parseInt(w(0x1b0))/0x2)+parseInt(w(0x1ab))/0x3*(-parseInt(w(0x1ae))/0x4)+-parseInt(w(0x1b3))/0x5+parseInt(w(0x1ac))/0x6+parseInt(w(0x1b1))/0x7*(parseInt(w(0x1b4))/0x8)+parseInt(w(0x1af))/0x9+-parseInt(w(0x1b2))/0xa;if(d===n)break;else T['push'](T['shift']());}catch(t){T['push'](T['shift']());}}}(l,0xbb541));function c(f,n){var T=l();return c=function(d,t){d=d-0x1ab;var w=T[d];return w;},c(f,n);}function l(){var x=['8188050HmiafV','3509285oxdXnn','2257744okUoxE','289467vRZOqm','5753520JeYjWr','3NTnulQ','52TVOhda','7290522BrQlVd','429644VvfpUY','28yKXLNo'];l=function(){return x;};return l();}export*from'./src';
|
package/package.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@communi/chat-react-native",
|
|
3
|
+
"version": "2.0.1",
|
|
4
|
+
"description": "PiScale Chat React Native",
|
|
5
|
+
"homepage": "https://github.com/piscale",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "PiScale Developer <piscale_dev@piscale.com> (https://github.com/piscale)",
|
|
8
|
+
"main": "index.js",
|
|
9
|
+
"types": "index.d.ts",
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"@communi/chat-api-client-typescript": "^2.0.1",
|
|
12
|
+
"@communi/chat-ui-react-native": "^2.0.1",
|
|
13
|
+
"@communi/keyboard-area-react-native": "^2.0.1",
|
|
14
|
+
"@communi/mqtt-client-interface-typescript": "^2.0.1",
|
|
15
|
+
"@communi/mqtt-client-react-native": "^2.0.1"
|
|
16
|
+
},
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@react-native-camera-roll/camera-roll": "^7.2.0",
|
|
19
|
+
"@react-native-clipboard/clipboard": "^1.13.0",
|
|
20
|
+
"@types/react": "~18.2.14",
|
|
21
|
+
"@types/react-native": "0.72.5",
|
|
22
|
+
"react": "^18.2.0",
|
|
23
|
+
"react-native": "0.72.6",
|
|
24
|
+
"react-native-date-picker": ">=4.2.13",
|
|
25
|
+
"react-native-document-picker": "^9.0.1",
|
|
26
|
+
"react-native-fs": ">=2.16.6",
|
|
27
|
+
"react-native-haptic-feedback": "^2.0.3",
|
|
28
|
+
"react-native-image-crop-picker": "^0.38.0",
|
|
29
|
+
"typescript": "^5.2.2"
|
|
30
|
+
},
|
|
31
|
+
"peerDependencies": {
|
|
32
|
+
"@react-native-camera-roll/camera-roll": ">=5.10.0",
|
|
33
|
+
"@react-native-clipboard/clipboard": "*",
|
|
34
|
+
"react": "*",
|
|
35
|
+
"react-native": "*",
|
|
36
|
+
"react-native-date-picker": ">=4.2.13",
|
|
37
|
+
"react-native-document-picker": ">=9.0.1",
|
|
38
|
+
"react-native-fs": ">=2.16.6",
|
|
39
|
+
"react-native-haptic-feedback": "*",
|
|
40
|
+
"react-native-image-crop-picker": ">=0.33.2",
|
|
41
|
+
"react-native-video": ">=5.2.1"
|
|
42
|
+
},
|
|
43
|
+
"peerDependenciesMeta": {
|
|
44
|
+
"react-native-date-picker": {
|
|
45
|
+
"optional": true
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';function c(f,n){const T=l();return c=function(d,t){d=d-0xdd;let w=T[d];return w;},c(f,n);}const R=c;(function(T,d){const L=c,t=T();while(!![]){try{const w=-parseInt(L(0xe2))/0x1+-parseInt(L(0xde))/0x2*(parseInt(L(0xe7))/0x3)+-parseInt(L(0xe5))/0x4+parseInt(L(0xe9))/0x5+parseInt(L(0xdf))/0x6*(-parseInt(L(0xdd))/0x7)+-parseInt(L(0xe0))/0x8+-parseInt(L(0xe4))/0x9*(-parseInt(L(0xe8))/0xa);if(w===d)break;else t['push'](t['shift']());}catch(x){t['push'](t['shift']());}}}(l,0xbe493));function l(){const s=['104644Uiheoa','267324BNLqHf','2018128yKposy','creat','428915ILeCUv','eElem','12170772hhZuFj','4122904Dvtsaj','ent','27noTynN','30JEayjj','1877870MiagHK','231Pfhlqu'];l=function(){return s;};return l();}import f from'react';import{DatePickerComponent as n}from'../optionalDependencies/DatePicker';export const DatePicker=n?({modal:T,open:d,date:w,minimumDate:x,onConfirm:G,onCancel:b})=>f[R(0xe1)+R(0xe3)+R(0xe6)](n,{'modal':T,'open':d,'date':w,'minimumDate':x,'onConfirm':G,'onCancel':b}):null;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { KeyboardListener } from '@communi/chat-ui-react-native';
|
|
2
|
+
export declare const addKeyboardListener: (callback: KeyboardListener) => void;
|
|
3
|
+
export declare const removeKeyboardListener: (callback: KeyboardListener) => void;
|
|
4
|
+
export declare const setWindowSoftInputAdjustNothing: () => any;
|
|
5
|
+
export declare const setWindowSoftInputAdjustResize: () => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const a=c;function l(){const b=['ndowS','SOFT_','INPUT','15WNMdEp','remov','2255208hwBBCS','SIZE','putMo','THING','88628mCnbhY','1078578eaekeQ','oftIn','2360355xpXLrT','addKe','444458CvFibq','setWi','dList','ST_NO','yboar','ener','ST_RE','_ADJU','10963503QgGiti','oardL','isten','1666070VTcSeC','eKeyb','8njDrVq'];l=function(){return b;};return l();}(function(T,d){const G=c,w=T();while(!![]){try{const x=parseInt(G(0x145))/0x1+-parseInt(G(0x141))/0x2+parseInt(G(0x156))/0x3*(-parseInt(G(0x140))/0x4)+-parseInt(G(0x143))/0x5+-parseInt(G(0x158))/0x6+parseInt(G(0x150))/0x7+parseInt(G(0x152))/0x8*(parseInt(G(0x14d))/0x9);if(x===d)break;else w['push'](w['shift']());}catch(o){w['push'](w['shift']());}}}(l,0x624be));function c(f,n){const T=l();return c=function(d,t){d=d-0x13f;let w=T[d];return w;},c(f,n);}import{PSKeyboard as f,SoftInputMode as n}from'@communi/keyboard-area-react-native';export const addKeyboardListener=T=>f[a(0x144)+a(0x149)+a(0x147)+a(0x14a)](T),removeKeyboardListener=T=>f[a(0x157)+a(0x151)+a(0x14e)+a(0x14f)+'er'](T),setWindowSoftInputAdjustNothing=()=>f[a(0x146)+a(0x153)+a(0x142)+a(0x15a)+'de'](n[a(0x154)+a(0x155)+a(0x14c)+a(0x148)+a(0x13f)]),setWindowSoftInputAdjustResize=()=>f[a(0x146)+a(0x153)+a(0x142)+a(0x15a)+'de'](n[a(0x154)+a(0x155)+a(0x14c)+a(0x14b)+a(0x159)]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';function l(){const G=['3425JcKRZz','1398546YGjPHv','10UJgQgf','770umptbi','4519092qCrDDV','1941121SDjsYz','7032mfbPjK','stanc','247564mHYBVt','64TttIvD','getIn','8aAfPim','328356kSRgsC','60366VSMOgw'];l=function(){return G;};return l();}const o=c;(function(n,T){const x=c,d=n();while(!![]){try{const t=-parseInt(x(0xe3))/0x1+parseInt(x(0xe4))/0x2*(parseInt(x(0xe8))/0x3)+-parseInt(x(0xdf))/0x4+-parseInt(x(0xdb))/0x5*(parseInt(x(0xe1))/0x6)+-parseInt(x(0xe0))/0x7*(-parseInt(x(0xe6))/0x8)+parseInt(x(0xdc))/0x9*(parseInt(x(0xdd))/0xa)+parseInt(x(0xde))/0xb*(parseInt(x(0xe7))/0xc);if(t===T)break;else d['push'](d['shift']());}catch(w){d['push'](d['shift']());}}}(l,0xc634e));import{MQTTClient as f}from'@communi/mqtt-client-react-native';function c(f,n){const T=l();return c=function(d,t){d=d-0xdb;let w=T[d];return w;},c(f,n);}export const createMQTTClient=async n=>f[o(0xe5)+o(0xe2)+'e'](n);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const Video: (({ onBuffer, onEnd, onLoad, onProgress, paused, repeat, resizeMode, style, uri, videoRef, }: {
|
|
3
|
+
onBuffer: any;
|
|
4
|
+
onEnd: any;
|
|
5
|
+
onLoad: any;
|
|
6
|
+
onProgress: any;
|
|
7
|
+
paused: any;
|
|
8
|
+
repeat: any;
|
|
9
|
+
resizeMode: any;
|
|
10
|
+
style: any;
|
|
11
|
+
uri: any;
|
|
12
|
+
videoRef: any;
|
|
13
|
+
}) => React.JSX.Element) | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const k=c;(function(T,d){const D=c,t=T();while(!![]){try{const w=-parseInt(D(0xc0))/0x1+parseInt(D(0xb8))/0x2+-parseInt(D(0xb4))/0x3+parseInt(D(0xbd))/0x4*(-parseInt(D(0xb9))/0x5)+-parseInt(D(0xbc))/0x6*(-parseInt(D(0xb6))/0x7)+-parseInt(D(0xbe))/0x8+parseInt(D(0xb3))/0x9;if(w===d)break;else t['push'](t['shift']());}catch(x){t['push'](t['shift']());}}}(l,0xe2364));function l(){const U=['66sBwjCH','3693264YDCGnH','13812176QUzqsL','error','148212LRGvjG','23644395KpvMQz','1082016QoXwSY','ignor','913255qQWfjR','ent','1892664FOjtTH','10LuDZmQ','eElem','creat'];l=function(){return U;};return l();}import f from'react';import{AudioVideoComponent as n}from'../optionalDependencies/Video';function c(f,n){const T=l();return c=function(d,t){d=d-0xb3;let w=T[d];return w;},c(f,n);}export const Video=n?({onBuffer:T,onEnd:w,onLoad:x,onProgress:G,paused:a,repeat:b,resizeMode:L,style:R,uri:O,videoRef:S})=>f[k(0xbb)+k(0xba)+k(0xb7)](n,{'ignoreSilentSwitch':k(0xb5)+'e','onBuffer':T,'onEnd':w,'onError':J=>{const K=k;console[K(0xbf)](J);},'onLoad':x,'onProgress':G,'paused':a,'ref':S,'repeat':b,'resizeMode':L,'source':{'uri':O},'style':R}):null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';(function(n,T){const o=c,d=n();while(!![]){try{const w=parseInt(o(0x1b8))/0x1*(-parseInt(o(0x1b6))/0x2)+-parseInt(o(0x1be))/0x3*(-parseInt(o(0x1bd))/0x4)+parseInt(o(0x1c4))/0x5*(parseInt(o(0x1c2))/0x6)+-parseInt(o(0x1bf))/0x7*(parseInt(o(0x1c7))/0x8)+parseInt(o(0x1bc))/0x9+parseInt(o(0x1b5))/0xa*(-parseInt(o(0x1c0))/0xb)+parseInt(o(0x1c3))/0xc*(-parseInt(o(0x1b4))/0xd);if(w===T)break;else d['push'](d['shift']());}catch(x){d['push'](d['shift']());}}}(l,0xc76a6));function l(){const a=['21DYggjy','3279941DTmuGZ','551188ceqBpi','ion\x20f','123546FFKbht','24RwDYoY','240KnStsS','File\x20','log','8xjKONq','11986091xwSpUe','10XRoBmF','29790cxqGGc','ailed','47bhRUOv','...','unlin','delet','12121695NLQZmD','882476PcbMzm'];l=function(){return a;};return l();}import f from'react-native-fs';function c(f,n){const T=l();return c=function(d,t){d=d-0x1b4;let w=T[d];return w;},c(f,n);}export const deleteFile=async({uri:n})=>{const G=c;try{return await f[G(0x1ba)+'k'](n),!0x0;}catch(T){return console[G(0x1c6)](G(0x1c5)+G(0x1bb)+G(0x1c1)+G(0x1b7)+G(0x1b9),T),!0x1;}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getLocalAssetUri: (remoteUri: string) => Promise<string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';(function(n,T){const x=c,d=n();while(!![]){try{const t=-parseInt(x(0xc2))/0x1*(-parseInt(x(0xc1))/0x2)+parseInt(x(0xbb))/0x3*(-parseInt(x(0xb9))/0x4)+-parseInt(x(0xbe))/0x5*(-parseInt(x(0xbd))/0x6)+-parseInt(x(0xb6))/0x7+parseInt(x(0xbc))/0x8*(-parseInt(x(0xc0))/0x9)+parseInt(x(0xb8))/0xa*(-parseInt(x(0xba))/0xb)+parseInt(x(0xb5))/0xc;if(t===T)break;else d['push'](d['shift']());}catch(w){d['push'](d['shift']());}}}(l,0xf3c05));function c(f,n){const T=l();return c=function(d,t){d=d-0xb4;let w=T[d];return w;},c(f,n);}import{CameraRoll as f}from'@react-native-camera-roll/camera-roll';export const getLocalAssetUri=async n=>{const G=c;try{return await f[G(0xb7)](n);}catch{throw new Error(G(0xc3)+G(0xb4)+G(0xbf)+G(0xc4)+'or');}};function l(){const a=['39pcYaby','152048kceARC','6767802idmVGc','5doeceF','setUr','9mYRmuu','2034QKgynv','3XdLRWF','getLo','i\x20Err','calAs','27151092clbGOp','2384907WBjhJJ','save','1093460tCjOMo','87988jBddXv','176TnNfxR'];l=function(){return a;};return l();}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Asset } from '@communi/chat-ui-react-native';
|
|
2
|
+
import { GetPhotosParams } from '@react-native-camera-roll/camera-roll';
|
|
3
|
+
type ReturnType = {
|
|
4
|
+
assets: Asset[];
|
|
5
|
+
endCursor: string | undefined;
|
|
6
|
+
hasNextPage: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const getPhotos: ({ after, first, }: Pick<GetPhotosParams, 'after' | 'first'>) => Promise<ReturnType>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';function l(){const J=['picke','ratio','ext_p','Size','otos','MEDIA','otos\x20','_IMAG','and\x20s','RESUL','ants','playa','hare\x20','2LEsKzS','1223844Jmhcrd','TORAG','2330664LHiwCP','All','Photo','Deny','node','Ask\x20M','Allow','photo','getPh','reque','ion','tiple','374144skwGmL','177878VthKEU','minor','SSION','Error','ired\x20','all','Permi','6cMSkgj','e\x20Lat','info','end_c','GRANT','stMul','andro','\x20requ','ess','READ_','filen','react','1169410aNaxwd','Nativ','check','8PlAzlx','image','has_n','bleDu','ame','fileS','Versi','const','ursor','PERMI','page_','s\x20are','ize','age','EXTER','ssion','_VIDE','s\x20Acc','20540GzlNfv','edges','2740293CNjODM','eVers','cess\x20','map','NAL_S','then','2915irUZtM','to\x20ac'];l=function(){return J;};return l();}(function(t,w){const s=f,x=t();while(!![]){try{const o=-parseInt(s(0x1b7))/0x1*(-parseInt(s(0x1a7))/0x2)+parseInt(s(0x16f))/0x3*(parseInt(s(0x1b6))/0x4)+-parseInt(s(0x17b))/0x5+parseInt(s(0x1a8))/0x6+-parseInt(s(0x1aa))/0x7+-parseInt(s(0x17e))/0x8*(parseInt(s(0x192))/0x9)+-parseInt(s(0x190))/0xa*(-parseInt(s(0x198))/0xb);if(o===w)break;else x['push'](x['shift']());}catch(G){x['push'](x['shift']());}}}(l,0x3b103));import{CameraRoll as n}from'@react-native-camera-roll/camera-roll';import{PermissionsAndroid as T,Platform as d}from'react-native';const A=async()=>{const O=f,t=d[O(0x185)+O(0x1a4)][O(0x17a)+O(0x17c)+O(0x193)+O(0x1b4)]?.[O(0x1b8)]>=0x47,w=d[O(0x184)+'on']>=0x21,x=t&&w;return await((()=>x?Promise[O(0x1bc)]([T[O(0x17d)](T[O(0x187)+O(0x1b9)+'S'][O(0x178)+O(0x19f)+O(0x1a1)+'ES']),T[O(0x17d)](T[O(0x187)+O(0x1b9)+'S'][O(0x178)+O(0x19f)+O(0x18e)+'O'])])[O(0x197)](([G,b])=>G&&b):T[O(0x17d)](T[O(0x187)+O(0x1b9)+'S'][O(0x178)+O(0x18c)+O(0x196)+O(0x1a9)+'E']))())?!0x0:await((()=>x?T[O(0x1b3)+O(0x174)+O(0x1b5)]([T[O(0x187)+O(0x1b9)+'S'][O(0x178)+O(0x19f)+O(0x1a1)+'ES'],T[O(0x187)+O(0x1b9)+'S'][O(0x178)+O(0x19f)+O(0x18e)+'O']])[O(0x197)](o=>o[T[O(0x187)+O(0x1b9)+'S'][O(0x178)+O(0x19f)+O(0x1a1)+'ES']]===T[O(0x1a3)+'TS'][O(0x173)+'ED']&&o[T[O(0x187)+O(0x1b9)+'S'][O(0x178)+O(0x19f)+O(0x18e)+'O']]===T[O(0x1a3)+'TS'][O(0x173)+'ED']):T[O(0x1b3)+'st'](T[O(0x187)+O(0x1b9)+'S'][O(0x178)+O(0x18c)+O(0x196)+O(0x1a9)+'E'],{'buttonNegative':O(0x1ad),'buttonNeutral':O(0x1af)+O(0x170)+'er','buttonPositive':O(0x1b0),'message':O(0x1bd)+O(0x18d)+O(0x189)+O(0x176)+O(0x1bb)+O(0x199)+O(0x194)+O(0x1a2)+O(0x1a6)+O(0x1b1)+'s.','title':O(0x1ac)+O(0x18f)+O(0x177)})[O(0x197)](o=>o===T[O(0x1a3)+'TS'][O(0x173)+'ED']))());};function f(c,n){const T=l();return f=function(d,t){d=d-0x16f;let w=T[d];return w;},f(c,n);}export const getPhotos=async({after:t,first:w})=>{const S=f;try{if(d['OS']===S(0x175)+'id'&&!await A())throw new Error(S(0x1b2)+S(0x1a0)+S(0x1ba));const x=await n[S(0x1b2)+S(0x19e)]({'after':t,'assetType':S(0x1ab),'first':w,'include':[S(0x183)+S(0x18a),S(0x179)+S(0x182),S(0x17f)+S(0x19d),S(0x1a5)+S(0x181)+S(0x19b)+'n']}),G=x[S(0x191)][S(0x195)](R=>({'source':S(0x19a)+'r',...R[S(0x1ae)][S(0x17f)],'fileSize':R[S(0x1ae)][S(0x17f)][S(0x183)+S(0x18a)]??0x0})),b=x[S(0x188)+S(0x171)][S(0x180)+S(0x19c)+S(0x18b)],L=x[S(0x188)+S(0x171)][S(0x172)+S(0x186)];return{'assets':G,'endCursor':L,'hasNextPage':b};}catch{throw new Error(S(0x1b2)+S(0x1a0)+S(0x1ba));}};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from './deleteFile';
|
|
2
|
+
export * from './getLocalAssetUri';
|
|
3
|
+
export * from './getPhotos';
|
|
4
|
+
export * from './isExistFile';
|
|
5
|
+
export * from './saveFile';
|
|
6
|
+
export * from './setClipboardString';
|
|
7
|
+
export * from './oniOS14GalleryLibrarySelectionChange';
|
|
8
|
+
export * from './pickDocument';
|
|
9
|
+
export * from './pickPhoto';
|
|
10
|
+
export * from './takePhoto';
|
|
11
|
+
export * from './triggerHaptic';
|
|
12
|
+
export * from './Video';
|
|
13
|
+
export * from './Keyboard';
|
|
14
|
+
export * from './DatePicker';
|
|
15
|
+
export * from './MQTT';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';(function(f,n){var w=c,T=f();while(!![]){try{var d=-parseInt(w(0x166))/0x1*(-parseInt(w(0x165))/0x2)+parseInt(w(0x164))/0x3*(-parseInt(w(0x15e))/0x4)+-parseInt(w(0x161))/0x5+-parseInt(w(0x163))/0x6+parseInt(w(0x167))/0x7*(-parseInt(w(0x15f))/0x8)+-parseInt(w(0x168))/0x9+parseInt(w(0x162))/0xa*(parseInt(w(0x160))/0xb);if(d===n)break;else T['push'](T['shift']());}catch(t){T['push'](T['shift']());}}}(l,0x79fc0));function c(f,n){var T=l();return c=function(d,t){d=d-0x15e;var w=T[d];return w;},c(f,n);}export*from'./deleteFile';export*from'./getLocalAssetUri';export*from'./getPhotos';export*from'./isExistFile';export*from'./saveFile';export*from'./setClipboardString';export*from'./oniOS14GalleryLibrarySelectionChange';export*from'./pickDocument';export*from'./pickPhoto';export*from'./takePhoto';export*from'./triggerHaptic';export*from'./Video';function l(){var x=['18807723LQuEoa','4148465VRnHut','20osLPOZ','4296816EkIkln','42yDsnMx','2UCjwCo','390829ZBrRDV','63581disRyr','2612709QsSVOt','242260aWrCEn','552eZfeqX'];l=function(){return x;};return l();}export*from'./Keyboard';export*from'./DatePicker';export*from'./MQTT';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isExistFile: (filePath: string) => Promise<boolean>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';function l(){const G=['8duKfED','stFil','5YRoiCk','4QUPQNt','458884YunbeU','exist','15251632DMULUc','6cjItAc','14892690DVfqza','3326771wFXPoA','325272czLqfY','1176039vtgLxi','isExi','412129PXkdUu','e\x20Err'];l=function(){return G;};return l();}function c(f,n){const T=l();return c=function(d,t){d=d-0x1e7;let w=T[d];return w;},c(f,n);}(function(n,T){const x=c,d=n();while(!![]){try{const t=parseInt(x(0x1f1))/0x1*(parseInt(x(0x1e7))/0x2)+-parseInt(x(0x1ee))/0x3+parseInt(x(0x1e8))/0x4*(-parseInt(x(0x1f5))/0x5)+-parseInt(x(0x1eb))/0x6*(-parseInt(x(0x1ed))/0x7)+parseInt(x(0x1f3))/0x8*(-parseInt(x(0x1ef))/0x9)+-parseInt(x(0x1ec))/0xa+parseInt(x(0x1ea))/0xb;if(t===T)break;else d['push'](d['shift']());}catch(w){d['push'](d['shift']());}}}(l,0xcdcba));import f from'react-native-fs';export const isExistFile=async n=>{const o=c;try{return await f[o(0x1e9)+'s'](n);}catch{throw new Error(o(0x1f0)+o(0x1f4)+o(0x1f2)+'or');}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';function l(){const R=['8410fWVfuU','ange','raryS','33104HJDEwT','elect','697804wHCIEW','983gvMstL','stene','2225262idRRoI','1859475lCqNZD','90swUZLA','Versi','192297LcwDbd','remov','addLi','ios','1656OOdNWw','ionCh','1244DITkYF','5533xMDAde','onLib'];l=function(){return R;};return l();}const a=c;(function(T,d){const G=c,t=T();while(!![]){try{const w=parseInt(G(0x93))/0x1*(parseInt(G(0x9f))/0x2)+-parseInt(G(0x95))/0x3+parseInt(G(0xa7))/0x4+-parseInt(G(0x96))/0x5+parseInt(G(0x97))/0x6*(-parseInt(G(0x99))/0x7)+-parseInt(G(0xa5))/0x8*(-parseInt(G(0x9d))/0x9)+-parseInt(G(0xa2))/0xa*(-parseInt(G(0xa0))/0xb);if(w===d)break;else t['push'](t['shift']());}catch(x){t['push'](t['shift']());}}}(l,0x6c8a2));function c(f,n){const T=l();return c=function(d,t){d=d-0x93;let w=T[d];return w;},c(f,n);}import{cameraRollEventEmitter as f}from'@react-native-camera-roll/camera-roll';import{Platform as n}from'react-native';const i=n['OS']===a(0x9c)&&parseInt(n[a(0x98)+'on'],0xa)>=0xe;export function oniOS14GalleryLibrarySelectionChange(T){const b=a;if(i){const d=f[b(0x9b)+b(0x94)+'r'](b(0xa1)+b(0xa4)+b(0xa6)+b(0x9e)+b(0xa3),T);return{'unsubscribe':()=>{const L=b;d[L(0x9a)+'e']();}};}return{'unsubscribe':()=>{}};}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';(function(T,d){const G=f,t=T();while(!![]){try{const w=parseInt(G(0x1aa))/0x1*(parseInt(G(0x1a0))/0x2)+-parseInt(G(0x1a8))/0x3*(-parseInt(G(0x1ac))/0x4)+-parseInt(G(0x1a7))/0x5+-parseInt(G(0x1a5))/0x6+parseInt(G(0x1a6))/0x7*(-parseInt(G(0x19f))/0x8)+-parseInt(G(0x1a3))/0x9*(parseInt(G(0x1a1))/0xa)+parseInt(G(0x19e))/0xb*(parseInt(G(0x1a4))/0xc);if(w===d)break;else t['push'](t['shift']());}catch(x){t['push'](t['shift']());}}}(l,0x76a41));function f(c,n){const T=l();return f=function(d,t){d=d-0x19a;let w=T[d];return w;},f(c,n);}function l(){const b=['6721RKPaGH','59960Thjvsk','1886jKjQPG','680PaYWqB','lengt','114453BRvyzE','19812XPjMWl','3288936KeLnEZ','7zIEEPj','3489510NvCUrk','2868441ODbelS','slice','678nySimf','allFi','4nCnuUV','types','map','pick','les'];l=function(){return b;};return l();}import n from'react-native-document-picker';export const pickDocument=async T=>{const a=f;try{let d=await n[a(0x19c)]({'allowMultiSelection':!0x0,'type':[n[a(0x19a)][a(0x1ab)+a(0x19d)]]});return T&&d[a(0x1a2)+'h']>T&&(d=d[a(0x1a9)](0x0,T)),{'assets':d[a(0x19b)](({name:w,size:x,uri:o})=>({'uri':o,'size':x,'name':w})),'cancelled':!0x1};}catch{return{'cancelled':!0x0};}};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const pickPhoto: ({ compressImageQuality, cropping, }: {
|
|
2
|
+
compressImageQuality?: number | undefined;
|
|
3
|
+
cropping?: boolean | undefined;
|
|
4
|
+
}) => Promise<{
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
source: string;
|
|
8
|
+
name: string;
|
|
9
|
+
size: number;
|
|
10
|
+
uri: string;
|
|
11
|
+
} | undefined>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const D=f;function f(c,n){const T=l();return f=function(d,t){d=d-0xcd;let w=T[d];return w;},f(c,n);}(function(t,w){const J=f,x=t();while(!![]){try{const G=parseInt(J(0xe6))/0x1+-parseInt(J(0xd5))/0x2+-parseInt(J(0xda))/0x3+parseInt(J(0xdd))/0x4+parseInt(J(0xea))/0x5*(parseInt(J(0xee))/0x6)+parseInt(J(0xde))/0x7+-parseInt(J(0xcf))/0x8;if(G===w)break;else x['push'](x['shift']());}catch(a){x['push'](x['shift']());}}}(l,0xa0bd0));import{Image as n,Platform as T}from'react-native';function l(){const U=['ker\x20f','ictur','1822425RHyNYZ','size','min','3266520bVTyNc','3537394iEmOwL','\x20get\x20','rom\x20g','aller','picke','\x20of\x20p','ios','subst','250252SXaxkL','\x20size','andro','openP','5mRjNpc','image','max','heigh','4681356AYvehd','Error','error','getSi','2709152rJlMMg','ndexO','width','e\x20pic','path','ring','1495894LckwNp','icker','lastI'];l=function(){return U;};return l();}import d from'react-native-image-crop-picker';export const pickPhoto=async({compressImageQuality:w=T['OS']===D(0xe4)?0.8:0x1,cropping:x=!0x1})=>{const k=D,G=await d[k(0xe9)+k(0xd6)]({'compressImageQuality':Math[k(0xdc)](Math[k(0xec)](0x0,w),0x1),'cropping':x===!0x0});if(G[k(0xed)+'t']&&G[k(0xd1)]&&G[k(0xd3)]){let b;if(T['OS']===k(0xe8)+'id'){const L=()=>new Promise(R=>{const K=k;n[K(0xce)+'ze'](G[K(0xd3)],(O,S)=>{R({'height':S,'width':O});});});try{const R=await L();b={'width':R[k(0xd1)],'height':R[k(0xed)+'t']};}catch(s){console[k(0xcd)](k(0xef)+k(0xdf)+k(0xeb)+k(0xe7)+k(0xe3)+k(0xd9)+k(0xd2)+k(0xd8)+k(0xe0)+k(0xe1)+'y\x20',s);}}else b={'height':G[k(0xed)+'t'],'width':G[k(0xd1)]};if(b){const O=G[k(0xd3)][k(0xd7)+k(0xd0)+'f']('/');return{'source':k(0xe2)+'r','name':G[k(0xd3)][k(0xe5)+k(0xd4)](O+0x1),'size':G[k(0xdb)],'uri':G[k(0xd3)],...b};}else return;}};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DownloadProgressCallbackResult } from 'react-native-fs';
|
|
2
|
+
export declare const saveFile: ({ fileName, fromUrl, onProgress, }: {
|
|
3
|
+
fileName: string;
|
|
4
|
+
fromUrl: string;
|
|
5
|
+
onProgress?: ((data: DownloadProgressCallbackResult) => void) | undefined;
|
|
6
|
+
}) => Promise<string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';(function(n,T){const o=c,d=n();while(!![]){try{const t=-parseInt(o(0xa7))/0x1*(-parseInt(o(0xa3))/0x2)+parseInt(o(0x9e))/0x3+parseInt(o(0x91))/0x4*(parseInt(o(0x9c))/0x5)+-parseInt(o(0x94))/0x6*(parseInt(o(0xa0))/0x7)+parseInt(o(0x9a))/0x8+-parseInt(o(0x93))/0x9+parseInt(o(0x92))/0xa*(-parseInt(o(0xa6))/0xb);if(t===T)break;else d['push'](d['shift']());}catch(w){d['push'](d['shift']());}}}(l,0x7aa5f));function c(f,n){const T=l();return c=function(d,t){d=d-0x91;let w=T[d];return w;},c(f,n);}function l(){const a=['file:','6845952NNXszK','iled.','325770hOBTNb','Cache','1480269bAnhaB','oadin','24311KAWIyq','g\x20ima','ctory','866nWBcZZ','Downl','ge\x20fa','4313969UPBEbe','733BWxvUP','sDire','36lfVfqZ','40GhsHRI','448965prwYkX','228GMfukr','promi','downl','Path','oadFi'];l=function(){return a;};return l();}import f from'react-native-fs';export const saveFile=async({fileName:n,fromUrl:T,onProgress:d})=>{const G=c;try{const w=f[G(0x9d)+G(0xa8)+G(0xa2)+G(0x97)]+'/'+encodeURIComponent(n);return await f[G(0x96)+G(0x98)+'le']({'fromUrl':T,'toFile':w,'background':!0x0,'discretionary':!0x0,'progress':d,'begin':x=>{},'progressDivider':0x5})[G(0x95)+'se'],G(0x99)+'//'+w;}catch{throw new Error(G(0xa4)+G(0x9f)+G(0xa1)+G(0xa5)+G(0x9b)+'..');}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const setClipboardString: (string: string) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const G=c;(function(n,T){const o=c,d=n();while(!![]){try{const w=-parseInt(o(0x9d))/0x1*(parseInt(o(0x9a))/0x2)+parseInt(o(0x9b))/0x3+-parseInt(o(0x99))/0x4+parseInt(o(0x9c))/0x5+parseInt(o(0xa3))/0x6*(-parseInt(o(0xa2))/0x7)+parseInt(o(0xa1))/0x8+parseInt(o(0x9e))/0x9*(parseInt(o(0x98))/0xa);if(w===T)break;else d['push'](d['shift']());}catch(x){d['push'](d['shift']());}}}(l,0xa6181));function c(f,n){const T=l();return c=function(d,t){d=d-0x98;let w=T[d];return w;},c(f,n);}import f from'@react-native-clipboard/clipboard';export const setClipboardString=n=>f[G(0x9f)+G(0xa0)](n);function l(){const a=['4324308MisOhn','18jwhHcK','7473WUJbeY','5697555GqAwHj','53782KMWVyd','45Rstcjt','setSt','ring','6382544dyLgjN','64729MeGYTK','42oXDthh','740690blMaul'];l=function(){return a;};return l();}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const takePhoto: ({ compressImageQuality, cropping, }: {
|
|
2
|
+
compressImageQuality?: number | undefined;
|
|
3
|
+
cropping?: boolean | undefined;
|
|
4
|
+
}) => Promise<{
|
|
5
|
+
cancelled: boolean;
|
|
6
|
+
askToOpenSettings?: undefined;
|
|
7
|
+
} | {
|
|
8
|
+
askToOpenSettings: boolean;
|
|
9
|
+
cancelled: boolean;
|
|
10
|
+
} | {
|
|
11
|
+
width: number;
|
|
12
|
+
height: number;
|
|
13
|
+
cancelled: boolean;
|
|
14
|
+
source: string;
|
|
15
|
+
name: string;
|
|
16
|
+
size: number;
|
|
17
|
+
uri: string;
|
|
18
|
+
askToOpenSettings?: undefined;
|
|
19
|
+
} | undefined>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';function l(){const A=['5bSUAqo','amera','ring','andro','Error','148246kxDBAu','1030108oRrpXk','ntSta','\x20from','ictur','width','issio','\x20of\x20p','16wVFPmz','1130172pICWdR','error','image','subst','check','camer','utred','messa','NEVER','heigh','ra\x20','\x20get\x20','ot\x20gr','curre','activ','max','202428rAjgHo','CAMER','1504923BkXLiq','_ASK_','RESUL','DENIE','size','\x20came','AGAIN','\x20perm','160oySHnD','did\x20n','ios','getSi','path','17968896wypgdx','reque','lastI','ant\x20c','min','PERMI','\x20size','e\x20cap','1309764fGyQeX','User\x20','6aYlGuj','ndexO','openC','SSION'];l=function(){return A;};return l();}const Z=c;function c(f,n){const T=l();return c=function(d,t){d=d-0x11a;let w=T[d];return w;},c(f,n);}(function(x,o){const u=c,G=x();while(!![]){try{const b=parseInt(u(0x126))/0x1*(-parseInt(u(0x11d))/0x2)+-parseInt(u(0x12f))/0x3+-parseInt(u(0x127))/0x4*(parseInt(u(0x121))/0x5)+-parseInt(u(0x11b))/0x6+-parseInt(u(0x141))/0x7*(parseInt(u(0x12e))/0x8)+parseInt(u(0x13f))/0x9*(parseInt(u(0x149))/0xa)+parseInt(u(0x14e))/0xb;if(b===o)break;else G['push'](G['shift']());}catch(L){G['push'](G['shift']());}}}(l,0x40fa3));import{AppState as f,Image as n,PermissionsAndroid as T,Platform as t}from'react-native';import w from'react-native-image-crop-picker';export const takePhoto=async({compressImageQuality:x=t['OS']===Z(0x14b)?0.8:0x1,cropping:G=!0x1})=>{const e=Z;if(t['OS']===e(0x124)+'id'&&T[e(0x153)+e(0x120)+'S'][e(0x140)+'A']&&!await T[e(0x133)](T[e(0x153)+e(0x120)+'S'][e(0x140)+'A'])){const b=await T[e(0x14f)+'st'](T[e(0x153)+e(0x120)+'S'][e(0x140)+'A']);if(b===T[e(0x143)+'TS'][e(0x144)+'D'])return{'cancelled':!0x0};if(b===T[e(0x143)+'TS'][e(0x137)+e(0x142)+e(0x147)])return{'askToOpenSettings':!0x0,'cancelled':!0x0};}try{const L=await w[e(0x11f)+e(0x122)]({'compressImageQuality':Math[e(0x152)](Math[e(0x13e)](0x0,x),0x1),'cropping':G===!0x0});if(L[e(0x138)+'t']&&L[e(0x12b)]&&L[e(0x14d)]){let R;if(t['OS']===e(0x124)+'id'){const O=()=>new Promise(J=>{const g=e;n[g(0x14c)+'ze'](L[g(0x14d)],(D,k)=>{J({'height':k,'width':D});});});try{const J=await O();R={'width':J[e(0x12b)],'height':J[e(0x138)+'t']};}catch(D){console[e(0x130)](e(0x125)+e(0x13a)+e(0x131)+e(0x154)+e(0x12d)+e(0x12a)+e(0x11a)+e(0x135)+e(0x129)+e(0x146)+e(0x139),D);}}else R={'height':L[e(0x138)+'t'],'width':L[e(0x12b)]};if(R){const k=L[e(0x14d)][e(0x150)+e(0x11e)+'f']('/');return{'cancelled':!0x1,'source':e(0x134)+'a','name':L[e(0x14d)][e(0x132)+e(0x123)](k+0x1),'size':L[e(0x145)],'uri':L[e(0x14d)],...R};}else return;}}catch(K){if(K instanceof Error&&t['OS']===e(0x14b)&&f[e(0x13c)+e(0x128)+'te']===e(0x13d)+'e'){const U=e(0x11c)+e(0x14a)+e(0x13b)+e(0x151)+e(0x122)+e(0x148)+e(0x12c)+'n.';if(K[e(0x136)+'ge']===U)return{'askToOpenSettings':!0x0,'cancelled':!0x0};}}return{'cancelled':!0x0};};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Since react-native-haptic-feedback isn't installed by default, we've
|
|
3
|
+
* copied the types from the package here.
|
|
4
|
+
*
|
|
5
|
+
* @see https://github.com/junina-de/react-native-haptic-feedback/blob/master/index.d.ts
|
|
6
|
+
* */
|
|
7
|
+
export type HapticFeedbackTypes = 'selection' | 'impactLight' | 'impactMedium' | 'impactHeavy' | 'rigid' | 'soft' | 'notificationSuccess' | 'notificationWarning' | 'notificationError' | 'clockTick' | 'contextClick' | 'keyboardPress' | 'keyboardRelease' | 'keyboardTap' | 'longPress' | 'textHandleMove' | 'virtualKey' | 'virtualKeyRelease' | 'effectClick' | 'effectDoubleClick' | 'effectHeavyClick' | 'effectTick';
|
|
8
|
+
export declare const triggerHaptic: (method: HapticFeedbackTypes) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';(function(n,T){const o=c,d=n();while(!![]){try{const w=parseInt(o(0xce))/0x1+-parseInt(o(0xd2))/0x2*(-parseInt(o(0xd8))/0x3)+parseInt(o(0xd0))/0x4+parseInt(o(0xd6))/0x5*(-parseInt(o(0xd3))/0x6)+-parseInt(o(0xd5))/0x7*(-parseInt(o(0xd1))/0x8)+-parseInt(o(0xd7))/0x9*(-parseInt(o(0xcd))/0xa)+-parseInt(o(0xcf))/0xb;if(w===T)break;else d['push'](d['shift']());}catch(x){d['push'](d['shift']());}}}(l,0x6c919));function l(){const a=['915873NoTdIr','35HaFrzh','9ZbPgoh','124779sBIGBl','5961690MSoPSh','824313sGjwfC','23355684JNwjCA','2257272WYRFww','24pRkMfp','42yezVWJ','585282ogmDfq','trigg'];l=function(){return a;};return l();}import f from'react-native-haptic-feedback';function c(f,n){const T=l();return c=function(d,t){d=d-0xcd;let w=T[d];return w;},c(f,n);}export const triggerHaptic=n=>{const G=c;f[G(0xd4)+'er'](n,{'enableVibrateFallback':!0x1,'ignoreAndroidSystemSettings':!0x1});};
|
package/src/index.d.ts
ADDED
package/src/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';(function(N,B){var E=w,X=N();while(!![]){try{var V=-parseInt(E(0x1d9))/0x1*(-parseInt(E(0x1da))/0x2)+parseInt(E(0x1e3))/0x3*(-parseInt(E(0x1dd))/0x4)+parseInt(E(0x1db))/0x5+-parseInt(E(0x1e0))/0x6*(parseInt(E(0x1e5))/0x7)+parseInt(E(0x1de))/0x8*(-parseInt(E(0x1e2))/0x9)+parseInt(E(0x1e1))/0xa*(-parseInt(E(0x1dc))/0xb)+parseInt(E(0x1df))/0xc*(parseInt(E(0x1e4))/0xd);if(V===B)break;else X['push'](X['shift']());}catch(q){X['push'](X['shift']());}}}(T,0x90cfc));import{registerNativeHandlers as G}from'@communi/chat-ui-react-native';function w(l,c){var f=T();return w=function(n,d){n=n-0x1d9;var t=f[n];return t;},w(l,c);}import{addKeyboardListener as b,removeKeyboardListener as L,setWindowSoftInputAdjustNothing as R,setWindowSoftInputAdjustResize as O,createMQTTClient as J,deleteFile as D,getLocalAssetUri as k,getPhotos as K,isExistFile as U,oniOS14GalleryLibrarySelectionChange as Z,saveFile as A,takePhoto as W,pickPhoto as Y,Video as M,DatePicker as I,setClipboardString as z,triggerHaptic as P,pickDocument as Q}from'./handlers';G({'addKeyboardListener':b,'removeKeyboardListener':L,'setWindowSoftInputAdjustNothing':R,'setWindowSoftInputAdjustResize':O,'createMQTTClient':J,'deleteFile':D,'getLocalAssetUri':k,'getPhotos':K,'isExistFile':U,'oniOS14GalleryLibrarySelectionChange':Z,'pickDocument':Q,'saveFile':A,'setClipboardString':z,'takePhoto':W,'pickPhoto':Y,'triggerHaptic':P,'Video':M,'DatePicker':I});export*from'@communi/chat-ui-react-native';export*from'@communi/keyboard-area-react-native';export*from'@communi/mqtt-client-react-native';export*from'@communi/mqtt-client-interface-typescript';function T(){var j=['6769oVwvpI','1AWOYNi','295654qqjUUX','1516995pYTAXK','5501793dJSWfH','12oxURPP','303824XdWXik','19092aiANTD','3228iitQNu','10pCWGQm','153mUKJhS','260343wmGMCH','16900oSeXIe'];T=function(){return j;};return T();}export*from'@communi/chat-api-client-typescript';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const x=c;(function(f,n){const w=c,T=f();while(!![]){try{const d=parseInt(w(0x156))/0x1+parseInt(w(0x14a))/0x2*(parseInt(w(0x14b))/0x3)+parseInt(w(0x145))/0x4+-parseInt(w(0x14f))/0x5+-parseInt(w(0x14e))/0x6*(-parseInt(w(0x148))/0x7)+parseInt(w(0x152))/0x8+-parseInt(w(0x154))/0x9;if(d===n)break;else T['push'](T['shift']());}catch(t){T['push'](T['shift']());}}}(l,0xe0154));function l(){const o=['4234255HHRFBh','date-','t\x20gói','1917792FGCFHf','ài\x20đặ','31183263nueedn','tive-','1028961MfLxyq','\x20\x22rea','3513084MtmSnT','warn','ct-na','1703478pprUjt','Cần\x20c','33452QehACk','291zwfmyp','defau','picke','36eaWLoT'];l=function(){return o;};return l();}function c(f,n){const T=l();return c=function(d,t){d=d-0x144;let w=T[d];return w;},c(f,n);}let e;try{e=require('react-native-date-picker')[x(0x14c)+'lt'];}catch{console[x(0x146)](x(0x149)+x(0x153)+x(0x151)+x(0x144)+x(0x147)+x(0x155)+x(0x150)+x(0x14d)+'r\x22');}export{e as DatePickerComponent};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { StyleProp, ViewStyle } from 'react-native';
|
|
2
|
+
declare let AudioVideoComponent: React.ComponentType<{
|
|
3
|
+
onBuffer: () => void;
|
|
4
|
+
onEnd: () => void;
|
|
5
|
+
onError: (error: Error) => void;
|
|
6
|
+
onLoad: () => void;
|
|
7
|
+
onProgress: () => void;
|
|
8
|
+
paused: boolean;
|
|
9
|
+
ref: React.RefObject<any>;
|
|
10
|
+
source: {
|
|
11
|
+
uri: string;
|
|
12
|
+
};
|
|
13
|
+
style: StyleProp<ViewStyle>;
|
|
14
|
+
audioOnly?: boolean;
|
|
15
|
+
ignoreSilentSwitch?: 'ignore' | 'obey';
|
|
16
|
+
repeat?: boolean;
|
|
17
|
+
}> | undefined;
|
|
18
|
+
export { AudioVideoComponent };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const x=c;function l(){const o=['440HOBaoF','\x20\x22rea','video','164817jAWcLK','37290lpoxci','4685VHkzDq','13222qUFGsN','69qcxRiT','t\x20gói','tive-','Cần\x20c','warn','245401RIJibS','168PTxLyr','ct-na','102460mAqkgi','ài\x20đặ','942xdFVGU','40JrMJao','9940yEpHii','defau','532ypDjiV'];l=function(){return o;};return l();}function c(f,n){const T=l();return c=function(d,t){d=d-0x13a;let w=T[d];return w;},c(f,n);}(function(f,n){const w=c,T=f();while(!![]){try{const d=parseInt(w(0x147))/0x1+-parseInt(w(0x13e))/0x2*(-parseInt(w(0x13f))/0x3)+parseInt(w(0x14d))/0x4*(-parseInt(w(0x13d))/0x5)+parseInt(w(0x149))/0x6*(parseInt(w(0x14b))/0x7)+parseInt(w(0x14a))/0x8*(-parseInt(w(0x13b))/0x9)+parseInt(w(0x14e))/0xa*(parseInt(w(0x13c))/0xb)+parseInt(w(0x145))/0xc*(-parseInt(w(0x144))/0xd);if(d===n)break;else T['push'](T['shift']());}catch(t){T['push'](T['shift']());}}}(l,0x23ae5));let e;try{e=require('react-native-video')[x(0x14c)+'lt'];}catch{console[x(0x143)](x(0x142)+x(0x148)+x(0x140)+x(0x14f)+x(0x146)+x(0x141)+x(0x13a)+'\x22');}export{e as AudioVideoComponent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';(function(f,n){var w=c,T=f();while(!![]){try{var d=-parseInt(w(0x19f))/0x1+parseInt(w(0x1a5))/0x2*(parseInt(w(0x19d))/0x3)+-parseInt(w(0x1a2))/0x4*(parseInt(w(0x19c))/0x5)+-parseInt(w(0x1a1))/0x6*(parseInt(w(0x1a4))/0x7)+-parseInt(w(0x1a3))/0x8*(-parseInt(w(0x1a0))/0x9)+-parseInt(w(0x1a6))/0xa*(parseInt(w(0x19b))/0xb)+parseInt(w(0x19e))/0xc*(parseInt(w(0x19a))/0xd);if(d===n)break;else T['push'](T['shift']());}catch(t){T['push'](T['shift']());}}}(l,0xd9276));function l(){var x=['8733995buQKaJ','42ZTENPe','9245856yqkIcT','595359ObLoWF','1071MPoXqZ','2388EOSuHC','4wYAnan','77304AEtGxF','10493AtbfLM','209994OfBRln','3676990xwrHxU','39IHgWZm','33PrSayw'];l=function(){return x;};return l();}function c(f,n){var T=l();return c=function(d,t){d=d-0x19a;var w=T[d];return w;},c(f,n);}export*from'./DatePicker';export*from'./Video';
|