digikhata-mashreq-sdk 0.1.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 +37 -0
- package/lib/module/App.js +41 -0
- package/lib/module/App.js.map +1 -0
- package/lib/module/app/assets/Icons/Bill.png +0 -0
- package/lib/module/app/assets/Icons/Cash.png +0 -0
- package/lib/module/app/assets/Icons/Expense.png +0 -0
- package/lib/module/app/assets/Icons/Staff.png +0 -0
- package/lib/module/app/assets/Icons/Stock.png +0 -0
- package/lib/module/app/assets/images/bill.png +0 -0
- package/lib/module/app/assets/images/book.png +0 -0
- package/lib/module/app/assets/images/digiKhataSolo256.png +0 -0
- package/lib/module/app/assets/images/money.png +0 -0
- package/lib/module/app/assets/images/staff.png +0 -0
- package/lib/module/app/assets/images/stock.png +0 -0
- package/lib/module/app/assets/images/svgviewer-png-output-white.png +0 -0
- package/lib/module/app/components/Balance.js +153 -0
- package/lib/module/app/components/Balance.js.map +1 -0
- package/lib/module/app/components/CountryPhoneInput.js +271 -0
- package/lib/module/app/components/CountryPhoneInput.js.map +1 -0
- package/lib/module/app/components/Entries.js +89 -0
- package/lib/module/app/components/Entries.js.map +1 -0
- package/lib/module/app/components/SearchBar.js +70 -0
- package/lib/module/app/components/SearchBar.js.map +1 -0
- package/lib/module/app/components/Transaction.js +108 -0
- package/lib/module/app/components/Transaction.js.map +1 -0
- package/lib/module/app/components/User.js +109 -0
- package/lib/module/app/components/User.js.map +1 -0
- package/lib/module/app/components/index.js +10 -0
- package/lib/module/app/components/index.js.map +1 -0
- package/lib/module/app/database/clients.js +149 -0
- package/lib/module/app/database/clients.js.map +1 -0
- package/lib/module/app/database/database.js +9 -0
- package/lib/module/app/database/database.js.map +1 -0
- package/lib/module/app/database/schema.js +525 -0
- package/lib/module/app/database/schema.js.map +1 -0
- package/lib/module/app/navigation/BottomTabs/BottomTabs.js +29 -0
- package/lib/module/app/navigation/BottomTabs/BottomTabs.js.map +1 -0
- package/lib/module/app/navigation/Drawer/Drawer.js +13 -0
- package/lib/module/app/navigation/Drawer/Drawer.js.map +1 -0
- package/lib/module/app/navigation/HomeStack/HomeStack.js +36 -0
- package/lib/module/app/navigation/HomeStack/HomeStack.js.map +1 -0
- package/lib/module/app/navigation/Root.js +26 -0
- package/lib/module/app/navigation/Root.js.map +1 -0
- package/lib/module/app/navigation/index.js +7 -0
- package/lib/module/app/navigation/index.js.map +1 -0
- package/lib/module/app/redux/Store.js +10 -0
- package/lib/module/app/redux/Store.js.map +1 -0
- package/lib/module/app/redux/reducers/client/client_actions.js +2 -0
- package/lib/module/app/redux/reducers/client/client_actions.js.map +1 -0
- package/lib/module/app/redux/reducers/client/client_reducers.js +26 -0
- package/lib/module/app/redux/reducers/client/client_reducers.js.map +1 -0
- package/lib/module/app/redux/reducers/client/client_types.js +7 -0
- package/lib/module/app/redux/reducers/client/client_types.js.map +1 -0
- package/lib/module/app/screens/AddScreen.js +200 -0
- package/lib/module/app/screens/AddScreen.js.map +1 -0
- package/lib/module/app/screens/Banks.js +126 -0
- package/lib/module/app/screens/Banks.js.map +1 -0
- package/lib/module/app/screens/CustomerEntries.js +475 -0
- package/lib/module/app/screens/CustomerEntries.js.map +1 -0
- package/lib/module/app/screens/Customers.js +233 -0
- package/lib/module/app/screens/Customers.js.map +1 -0
- package/lib/module/app/screens/Entry.js +696 -0
- package/lib/module/app/screens/Entry.js.map +1 -0
- package/lib/module/app/screens/HomeScreen.js +176 -0
- package/lib/module/app/screens/HomeScreen.js.map +1 -0
- package/lib/module/app/screens/SelectBusiness.js +201 -0
- package/lib/module/app/screens/SelectBusiness.js.map +1 -0
- package/lib/module/app/screens/Splash.js +51 -0
- package/lib/module/app/screens/Splash.js.map +1 -0
- package/lib/module/app/screens/Suppliers.js +222 -0
- package/lib/module/app/screens/Suppliers.js.map +1 -0
- package/lib/module/app/screens/TransactionDetails.js +301 -0
- package/lib/module/app/screens/TransactionDetails.js.map +1 -0
- package/lib/module/app/screens/index.js +14 -0
- package/lib/module/app/screens/index.js.map +1 -0
- package/lib/module/app/themes/config.js +156 -0
- package/lib/module/app/themes/config.js.map +1 -0
- package/lib/module/app/utils/countries.json +1930 -0
- package/lib/module/declarations.d.js +2 -0
- package/lib/module/declarations.d.js.map +1 -0
- package/lib/module/index.js +5 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/typescript/babel.config.d.ts +10 -0
- package/lib/typescript/babel.config.d.ts.map +1 -0
- package/lib/typescript/eslint.config.d.mts +3 -0
- package/lib/typescript/eslint.config.d.mts.map +1 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/App.d.ts +2 -0
- package/lib/typescript/src/App.d.ts.map +1 -0
- package/lib/typescript/src/app/components/Balance.d.ts +8 -0
- package/lib/typescript/src/app/components/Balance.d.ts.map +1 -0
- package/lib/typescript/src/app/components/CountryPhoneInput.d.ts +6 -0
- package/lib/typescript/src/app/components/CountryPhoneInput.d.ts.map +1 -0
- package/lib/typescript/src/app/components/Entries.d.ts +4 -0
- package/lib/typescript/src/app/components/Entries.d.ts.map +1 -0
- package/lib/typescript/src/app/components/SearchBar.d.ts +6 -0
- package/lib/typescript/src/app/components/SearchBar.d.ts.map +1 -0
- package/lib/typescript/src/app/components/Transaction.d.ts +11 -0
- package/lib/typescript/src/app/components/Transaction.d.ts.map +1 -0
- package/lib/typescript/src/app/components/User.d.ts +10 -0
- package/lib/typescript/src/app/components/User.d.ts.map +1 -0
- package/lib/typescript/src/app/components/index.d.ts +8 -0
- package/lib/typescript/src/app/components/index.d.ts.map +1 -0
- package/lib/typescript/src/app/database/clients.d.ts +9 -0
- package/lib/typescript/src/app/database/clients.d.ts.map +1 -0
- package/lib/typescript/src/app/database/database.d.ts +3 -0
- package/lib/typescript/src/app/database/database.d.ts.map +1 -0
- package/lib/typescript/src/app/database/schema.d.ts +2 -0
- package/lib/typescript/src/app/database/schema.d.ts.map +1 -0
- package/lib/typescript/src/app/navigation/BottomTabs/BottomTabs.d.ts +2 -0
- package/lib/typescript/src/app/navigation/BottomTabs/BottomTabs.d.ts.map +1 -0
- package/lib/typescript/src/app/navigation/Drawer/Drawer.d.ts +2 -0
- package/lib/typescript/src/app/navigation/Drawer/Drawer.d.ts.map +1 -0
- package/lib/typescript/src/app/navigation/HomeStack/HomeStack.d.ts +2 -0
- package/lib/typescript/src/app/navigation/HomeStack/HomeStack.d.ts.map +1 -0
- package/lib/typescript/src/app/navigation/Root.d.ts +2 -0
- package/lib/typescript/src/app/navigation/Root.d.ts.map +1 -0
- package/lib/typescript/src/app/navigation/index.d.ts +5 -0
- package/lib/typescript/src/app/navigation/index.d.ts.map +1 -0
- package/lib/typescript/src/app/redux/Store.d.ts +2 -0
- package/lib/typescript/src/app/redux/Store.d.ts.map +1 -0
- package/lib/typescript/src/app/redux/reducers/client/client_actions.d.ts +1 -0
- package/lib/typescript/src/app/redux/reducers/client/client_actions.d.ts.map +1 -0
- package/lib/typescript/src/app/redux/reducers/client/client_reducers.d.ts +3 -0
- package/lib/typescript/src/app/redux/reducers/client/client_reducers.d.ts.map +1 -0
- package/lib/typescript/src/app/redux/reducers/client/client_types.d.ts +5 -0
- package/lib/typescript/src/app/redux/reducers/client/client_types.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/AddScreen.d.ts +5 -0
- package/lib/typescript/src/app/screens/AddScreen.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/Banks.d.ts +2 -0
- package/lib/typescript/src/app/screens/Banks.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/CustomerEntries.d.ts +5 -0
- package/lib/typescript/src/app/screens/CustomerEntries.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/Customers.d.ts +4 -0
- package/lib/typescript/src/app/screens/Customers.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/Entry.d.ts +5 -0
- package/lib/typescript/src/app/screens/Entry.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/HomeScreen.d.ts +4 -0
- package/lib/typescript/src/app/screens/HomeScreen.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/SelectBusiness.d.ts +4 -0
- package/lib/typescript/src/app/screens/SelectBusiness.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/Splash.d.ts +4 -0
- package/lib/typescript/src/app/screens/Splash.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/Suppliers.d.ts +4 -0
- package/lib/typescript/src/app/screens/Suppliers.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/TransactionDetails.d.ts +5 -0
- package/lib/typescript/src/app/screens/TransactionDetails.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/index.d.ts +12 -0
- package/lib/typescript/src/app/screens/index.d.ts.map +1 -0
- package/lib/typescript/src/app/themes/config.d.ts +63 -0
- package/lib/typescript/src/app/themes/config.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +3 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/package.json +154 -0
- package/src/App.js +41 -0
- package/src/app/assets/Icons/Bill.png +0 -0
- package/src/app/assets/Icons/Cash.png +0 -0
- package/src/app/assets/Icons/Expense.png +0 -0
- package/src/app/assets/Icons/Staff.png +0 -0
- package/src/app/assets/Icons/Stock.png +0 -0
- package/src/app/assets/images/bill.png +0 -0
- package/src/app/assets/images/book.png +0 -0
- package/src/app/assets/images/digiKhataSolo256.png +0 -0
- package/src/app/assets/images/money.png +0 -0
- package/src/app/assets/images/staff.png +0 -0
- package/src/app/assets/images/stock.png +0 -0
- package/src/app/assets/images/svgviewer-png-output-white.png +0 -0
- package/src/app/components/Balance.js +122 -0
- package/src/app/components/CountryPhoneInput.js +286 -0
- package/src/app/components/Entries.js +75 -0
- package/src/app/components/SearchBar.js +64 -0
- package/src/app/components/Transaction.js +91 -0
- package/src/app/components/User.js +85 -0
- package/src/app/components/index.js +15 -0
- package/src/app/database/clients.js +207 -0
- package/src/app/database/database.js +9 -0
- package/src/app/database/schema.js +525 -0
- package/src/app/navigation/BottomTabs/BottomTabs.js +27 -0
- package/src/app/navigation/Drawer/Drawer.js +10 -0
- package/src/app/navigation/HomeStack/HomeStack.js +43 -0
- package/src/app/navigation/Root.js +32 -0
- package/src/app/navigation/index.js +9 -0
- package/src/app/redux/Store.js +9 -0
- package/src/app/redux/reducers/client/client_actions.js +0 -0
- package/src/app/redux/reducers/client/client_reducers.js +30 -0
- package/src/app/redux/reducers/client/client_types.js +5 -0
- package/src/app/screens/AddScreen.js +185 -0
- package/src/app/screens/Banks.js +151 -0
- package/src/app/screens/CustomerEntries.js +402 -0
- package/src/app/screens/Customers.js +240 -0
- package/src/app/screens/Entry.js +658 -0
- package/src/app/screens/HomeScreen.js +146 -0
- package/src/app/screens/SelectBusiness.js +177 -0
- package/src/app/screens/Splash.js +43 -0
- package/src/app/screens/Suppliers.js +228 -0
- package/src/app/screens/TransactionDetails.js +199 -0
- package/src/app/screens/index.js +23 -0
- package/src/app/themes/config.js +185 -0
- package/src/app/utils/countries.json +1930 -0
- package/src/declarations.d.ts +1 -0
- package/src/index.tsx +3 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../src","sources":["declarations.d.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["App"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;AAAA,OAAOA,GAAG,MAAM,UAAO;AAEvB,eAAeA,GAAG","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"babel.config.d.ts","sourceRoot":"","sources":["../../babel.config.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eslint.config.d.mts","sourceRoot":"","sources":["../../eslint.config.mjs"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../src/App.js"],"names":[],"mappings":"AA6BA,uEAWC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default function Balance({ greenTitle, redTitle, greenValue, redValue, rightColor }: {
|
|
2
|
+
greenTitle: any;
|
|
3
|
+
redTitle: any;
|
|
4
|
+
greenValue: any;
|
|
5
|
+
redValue: any;
|
|
6
|
+
rightColor?: string | undefined;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=Balance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Balance.d.ts","sourceRoot":"","sources":["../../../../../src/app/components/Balance.js"],"names":[],"mappings":"AAMA;;;;;;4CA6CC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export default function CountryPhoneInput({ initialCountryCode, phonePlaceholder, onChange, }: {
|
|
2
|
+
initialCountryCode?: string | undefined;
|
|
3
|
+
phonePlaceholder?: string | undefined;
|
|
4
|
+
onChange: any;
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=CountryPhoneInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CountryPhoneInput.d.ts","sourceRoot":"","sources":["../../../../../src/app/components/CountryPhoneInput.js"],"names":[],"mappings":"AAcA;;;;4CA0JC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Entries.d.ts","sourceRoot":"","sources":["../../../../../src/app/components/Entries.js"],"names":[],"mappings":"AAIA;;4CA0CC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchBar.d.ts","sourceRoot":"","sources":["../../../../../src/app/components/SearchBar.js"],"names":[],"mappings":";AAKA;;;4CAkCC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default function Transaction({ date, notes, billNo, isAttachment, balance, firstCell, secondCell, onPress }: {
|
|
2
|
+
date: any;
|
|
3
|
+
notes: any;
|
|
4
|
+
billNo: any;
|
|
5
|
+
isAttachment: any;
|
|
6
|
+
balance: any;
|
|
7
|
+
firstCell: any;
|
|
8
|
+
secondCell: any;
|
|
9
|
+
onPress: any;
|
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=Transaction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Transaction.d.ts","sourceRoot":"","sources":["../../../../../src/app/components/Transaction.js"],"names":[],"mappings":"AAKA;;;;;;;;;4CA0CC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default function User({ name, addedAt, amount, type, avatarColor, onPress, clientType }: {
|
|
2
|
+
name: any;
|
|
3
|
+
addedAt: any;
|
|
4
|
+
amount: any;
|
|
5
|
+
type: any;
|
|
6
|
+
avatarColor?: string | undefined;
|
|
7
|
+
onPress: any;
|
|
8
|
+
clientType: any;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=User.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../../../src/app/components/User.js"],"names":[],"mappings":"AAIA;;;;;;;;4CAqBC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import Balance from "./Balance";
|
|
2
|
+
import Entries from "./Entries";
|
|
3
|
+
import SearchBar from "./SearchBar";
|
|
4
|
+
import User from "./User";
|
|
5
|
+
import CountryPhoneInput from "./CountryPhoneInput";
|
|
6
|
+
import Transaction from "./Transaction";
|
|
7
|
+
export { Balance, Entries, SearchBar, User, CountryPhoneInput, Transaction };
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app/components/index.js"],"names":[],"mappings":"oBAAoB,WAAW;oBACX,WAAW;sBACT,aAAa;iBAClB,QAAQ;8BACK,qBAAqB;wBAC3B,eAAe"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export function addClient(name: any, phoneNum: any, type: any): Promise<any>;
|
|
2
|
+
export function getAllClients(): Promise<any>;
|
|
3
|
+
export function deleteClientById(id: any): Promise<any>;
|
|
4
|
+
export function getClientsByType(type: any): Promise<any>;
|
|
5
|
+
export function addTransaction(customer_id: any, amount: any, subamount: any, notes: any, date: any, local_path: any): Promise<any>;
|
|
6
|
+
export function getClientDetails(id: any): Promise<any>;
|
|
7
|
+
export function getClientTransactions(client_id: any): Promise<any>;
|
|
8
|
+
export function addTransactionImages(trxId: any, local_path: any): Promise<any>;
|
|
9
|
+
//# sourceMappingURL=clients.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clients.d.ts","sourceRoot":"","sources":["../../../../../src/app/database/clients.js"],"names":[],"mappings":"AAEO,6EAoBN;AAEM,8CAmBN;AAEM,wDAmBN;AAEM,0DA+BN;AAEM,oIAWN;AAEM,wDAmBN;AAEM,oEAwDN;AAGM,gFAWN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"database.d.ts","sourceRoot":"","sources":["../../../../../src/app/database/database.js"],"names":[],"mappings":";AAEA,sBAIE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/app/database/schema.js"],"names":[],"mappings":"AAGO,qCAygBN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BottomTabs.d.ts","sourceRoot":"","sources":["../../../../../../src/app/navigation/BottomTabs/BottomTabs.js"],"names":[],"mappings":"AAUA,8EAgBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../../../../src/app/navigation/Drawer/Drawer.js"],"names":[],"mappings":"AAGA,0EAMC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HomeStack.d.ts","sourceRoot":"","sources":["../../../../../../src/app/navigation/HomeStack/HomeStack.js"],"names":[],"mappings":"AAQA,6EAkCC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Root.d.ts","sourceRoot":"","sources":["../../../../../src/app/navigation/Root.js"],"names":[],"mappings":"AAWA,wEAoBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app/navigation/index.js"],"names":[],"mappings":"uBAAuB,yBAAyB;mBAC7B,iBAAiB;sBACd,uBAAuB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Store.d.ts","sourceRoot":"","sources":["../../../../../src/app/redux/Store.js"],"names":[],"mappings":"AAIA,wBAIE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=client_actions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client_actions.d.ts","sourceRoot":"","sources":["../../../../../../../src/app/redux/reducers/client/client_actions.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client_reducers.d.ts","sourceRoot":"","sources":["../../../../../../../src/app/redux/reducers/client/client_reducers.js"],"names":[],"mappings":";AAWA,iCAgBG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client_types.d.ts","sourceRoot":"","sources":["../../../../../../../src/app/redux/reducers/client/client_types.js"],"names":[],"mappings":"AAAA,6BAA8B,gBAAgB,CAAC;AAC/C,6BAA8B,gBAAgB,CAAC;AAE/C,6BAA8B,gBAAgB,CAAC;AAC/C,+BAAgC,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddScreen.d.ts","sourceRoot":"","sources":["../../../../../src/app/screens/AddScreen.js"],"names":[],"mappings":"AAUA;;;4CAuGC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Banks.d.ts","sourceRoot":"","sources":["../../../../../src/app/screens/Banks.js"],"names":[],"mappings":"AASA,yEAyEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomerEntries.d.ts","sourceRoot":"","sources":["../../../../../src/app/screens/CustomerEntries.js"],"names":[],"mappings":"AASA;;;4CA0NC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Customers.d.ts","sourceRoot":"","sources":["../../../../../src/app/screens/Customers.js"],"names":[],"mappings":"AAWA;;4CAgKC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Entry.d.ts","sourceRoot":"","sources":["../../../../../src/app/screens/Entry.js"],"names":[],"mappings":"AAYA;;;4CAwcC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HomeScreen.d.ts","sourceRoot":"","sources":["../../../../../src/app/screens/HomeScreen.js"],"names":[],"mappings":"AAaA;;4CA2FC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectBusiness.d.ts","sourceRoot":"","sources":["../../../../../src/app/screens/SelectBusiness.js"],"names":[],"mappings":"AAOA;;4CAiEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Splash.d.ts","sourceRoot":"","sources":["../../../../../src/app/screens/Splash.js"],"names":[],"mappings":"AAQA;;4CAkCC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Suppliers.d.ts","sourceRoot":"","sources":["../../../../../src/app/screens/Suppliers.js"],"names":[],"mappings":"AAWA;;4CAmJC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransactionDetails.d.ts","sourceRoot":"","sources":["../../../../../src/app/screens/TransactionDetails.js"],"names":[],"mappings":"AAUA;;;4CAuHC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Splash from "./Splash";
|
|
2
|
+
import HomeScreen from "./HomeScreen";
|
|
3
|
+
import Banks from "./Banks";
|
|
4
|
+
import Customers from "./Customers";
|
|
5
|
+
import Suppliers from "./Suppliers";
|
|
6
|
+
import AddScreen from "./AddScreen";
|
|
7
|
+
import CustomerEntries from "./CustomerEntries";
|
|
8
|
+
import SelectBusiness from "./SelectBusiness";
|
|
9
|
+
import Entry from "./Entry";
|
|
10
|
+
import TransactionDetails from "./TransactionDetails";
|
|
11
|
+
export { Splash, HomeScreen, Banks, Customers, Suppliers, AddScreen, CustomerEntries, SelectBusiness, Entry, TransactionDetails };
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app/screens/index.js"],"names":[],"mappings":"mBAAmB,UAAU;uBACN,cAAc;kBACnB,SAAS;sBACL,aAAa;sBACb,aAAa;sBACb,aAAa;4BACP,mBAAmB;2BACpB,kBAAkB;kBAC3B,SAAS;+BACI,sBAAsB"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export function getAvatar(name: any): any;
|
|
2
|
+
export function formatDateTime(dateTimeStr: any): string;
|
|
3
|
+
export function mergeDateTime(dateObj: any): string;
|
|
4
|
+
export const APP_NAME: "DigiKhata";
|
|
5
|
+
export const PLATFORM: "ios" | "android" | "windows" | "macos" | "web";
|
|
6
|
+
export const WP: any;
|
|
7
|
+
export const HP: any;
|
|
8
|
+
export const MOBILE_WIDTH: number;
|
|
9
|
+
export const MOBILE_HEIGHT: number;
|
|
10
|
+
export namespace COLORS {
|
|
11
|
+
let primaryColor: string;
|
|
12
|
+
let textColor: string;
|
|
13
|
+
let backgroundColor: string;
|
|
14
|
+
let primaryRGB: string;
|
|
15
|
+
let secondaryColor: string;
|
|
16
|
+
let territoryColor: string;
|
|
17
|
+
let primaryColor2: string;
|
|
18
|
+
let secondaryColor2: string;
|
|
19
|
+
let territoryColor2: string;
|
|
20
|
+
let lightGrey: string;
|
|
21
|
+
let darkGrey: string;
|
|
22
|
+
let grey: string;
|
|
23
|
+
let gray: string;
|
|
24
|
+
let blackColor: string;
|
|
25
|
+
let whiteColor: string;
|
|
26
|
+
let borderColor: string;
|
|
27
|
+
let redColor: string;
|
|
28
|
+
let greenColor: string;
|
|
29
|
+
let yellowColor: string;
|
|
30
|
+
let circle1: string;
|
|
31
|
+
let circle2: string;
|
|
32
|
+
let circle3: string;
|
|
33
|
+
let circle4: string;
|
|
34
|
+
let circle5: string;
|
|
35
|
+
let primary_circle1: string;
|
|
36
|
+
let primary_circle2: string;
|
|
37
|
+
let primary_circle3: string;
|
|
38
|
+
let primary_circle4: string;
|
|
39
|
+
let dark_orange: string;
|
|
40
|
+
let primaryGreen: string;
|
|
41
|
+
let primaryRed: string;
|
|
42
|
+
let primaryOrange: string;
|
|
43
|
+
let primaryYellow: string;
|
|
44
|
+
let dark_golden: string;
|
|
45
|
+
}
|
|
46
|
+
export const FONT_NORMAL: "29LTBukra-Regular";
|
|
47
|
+
export const FONT_MEDIUM: "29LTBukra-Medium";
|
|
48
|
+
export const FONT_BOLD: "29LTBukra-Bold";
|
|
49
|
+
export namespace TEXT_SIZES {
|
|
50
|
+
let h1: number;
|
|
51
|
+
let h2: number;
|
|
52
|
+
let h3: number;
|
|
53
|
+
let info_1: number;
|
|
54
|
+
let info_2: number;
|
|
55
|
+
}
|
|
56
|
+
export const EXPENSE_COLORS: string[];
|
|
57
|
+
export const MONTHS: string[];
|
|
58
|
+
export const DAYS: {
|
|
59
|
+
value: string;
|
|
60
|
+
label: string;
|
|
61
|
+
}[];
|
|
62
|
+
export function isPdfFile(uri: any): boolean;
|
|
63
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../src/app/themes/config.js"],"names":[],"mappings":"AA0HA,0CAUC;AAED,yDAoBC;AAED,oDAeC;AAvJD,uBAAwB,WAAW,CAAC;AACpC,uEAAoC;AACpC,qBAAsC;AACtC,qBAAuC;AACvC,kCAA2D;AAC3D,mCAA6D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2C7D,0BAA2B,mBAAmB,CAAC;AAC/C,0BAA2B,kBAAkB,CAAC;AAC9C,wBAAyB,gBAAgB,CAAC;;;;;;;;AAU1C,sCAcE;AAGF,8BAaE;AAEF;;;IAQE;AAqDK,6CAWN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,eAAe,GAAG,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "digikhata-mashreq-sdk",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "An SDK to seamlessly integrate the DigiKhata mobile application inside the Mashreq App. This package provides ready-to-use methods, utilities, and components to enable smooth embedding, communication, and interaction between DigiKhata and Mashreq’s ecosystem, ensuring a unified user experience with minimal development effort.",
|
|
5
|
+
"main": "./lib/module/index.js",
|
|
6
|
+
"types": "./lib/typescript/src/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"source": "./src/index.tsx",
|
|
10
|
+
"types": "./lib/typescript/src/index.d.ts",
|
|
11
|
+
"default": "./lib/module/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./package.json": "./package.json"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"src",
|
|
17
|
+
"lib",
|
|
18
|
+
"android",
|
|
19
|
+
"ios",
|
|
20
|
+
"cpp",
|
|
21
|
+
"*.podspec",
|
|
22
|
+
"react-native.config.js",
|
|
23
|
+
"!ios/build",
|
|
24
|
+
"!android/build",
|
|
25
|
+
"!android/gradle",
|
|
26
|
+
"!android/gradlew",
|
|
27
|
+
"!android/gradlew.bat",
|
|
28
|
+
"!android/local.properties",
|
|
29
|
+
"!**/__tests__",
|
|
30
|
+
"!**/__fixtures__",
|
|
31
|
+
"!**/__mocks__",
|
|
32
|
+
"!**/.*"
|
|
33
|
+
],
|
|
34
|
+
"scripts": {
|
|
35
|
+
"example": "yarn workspace digikhata-mashreq-sdk-example",
|
|
36
|
+
"test": "jest",
|
|
37
|
+
"typecheck": "tsc",
|
|
38
|
+
"lint": "eslint \"**/*.{js,ts,tsx}\"",
|
|
39
|
+
"clean": "del-cli lib",
|
|
40
|
+
"prepare": "bob build",
|
|
41
|
+
"release": "release-it --only-version"
|
|
42
|
+
},
|
|
43
|
+
"keywords": [
|
|
44
|
+
"react-native",
|
|
45
|
+
"ios",
|
|
46
|
+
"android"
|
|
47
|
+
],
|
|
48
|
+
"repository": {
|
|
49
|
+
"type": "git",
|
|
50
|
+
"url": "git+https://github.com/saudrehan279/digikhata-mashreq-sdk.git"
|
|
51
|
+
},
|
|
52
|
+
"author": "Saud Rehan <saoodrehan@gmail.com> (https://github.com/saudrehan279)",
|
|
53
|
+
"license": "MIT",
|
|
54
|
+
"bugs": {
|
|
55
|
+
"url": "https://github.com/saudrehan279/digikhata-mashreq-sdk/issues"
|
|
56
|
+
},
|
|
57
|
+
"homepage": "https://github.com/saudrehan279/digikhata-mashreq-sdk#readme",
|
|
58
|
+
"publishConfig": {
|
|
59
|
+
"registry": "https://registry.npmjs.org/"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@commitlint/config-conventional": "^19.8.1",
|
|
63
|
+
"@eslint/compat": "^1.3.2",
|
|
64
|
+
"@eslint/eslintrc": "^3.3.1",
|
|
65
|
+
"@eslint/js": "^9.35.0",
|
|
66
|
+
"@evilmartians/lefthook": "^1.12.3",
|
|
67
|
+
"@react-native/babel-preset": "0.81.1",
|
|
68
|
+
"@react-native/eslint-config": "^0.81.1",
|
|
69
|
+
"@release-it/conventional-changelog": "^10.0.1",
|
|
70
|
+
"@types/jest": "^29.5.14",
|
|
71
|
+
"@types/react": "^19.1.12",
|
|
72
|
+
"commitlint": "^19.8.1",
|
|
73
|
+
"del-cli": "^6.0.0",
|
|
74
|
+
"eslint": "^9.35.0",
|
|
75
|
+
"eslint-config-prettier": "^10.1.8",
|
|
76
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
77
|
+
"jest": "^29.7.0",
|
|
78
|
+
"prettier": "^3.6.2",
|
|
79
|
+
"react": "19.0.0",
|
|
80
|
+
"react-native": "0.79.6",
|
|
81
|
+
"react-native-builder-bob": "^0.40.13",
|
|
82
|
+
"release-it": "^19.0.4",
|
|
83
|
+
"typescript": "^5.9.2"
|
|
84
|
+
},
|
|
85
|
+
"peerDependencies": {
|
|
86
|
+
"react": "*",
|
|
87
|
+
"react-native": "*"
|
|
88
|
+
},
|
|
89
|
+
"workspaces": [
|
|
90
|
+
"example"
|
|
91
|
+
],
|
|
92
|
+
"packageManager": "yarn@3.6.1",
|
|
93
|
+
"jest": {
|
|
94
|
+
"preset": "react-native",
|
|
95
|
+
"modulePathIgnorePatterns": [
|
|
96
|
+
"<rootDir>/example/node_modules",
|
|
97
|
+
"<rootDir>/lib/"
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
"commitlint": {
|
|
101
|
+
"extends": [
|
|
102
|
+
"@commitlint/config-conventional"
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
"release-it": {
|
|
106
|
+
"git": {
|
|
107
|
+
"commitMessage": "chore: release ${version}",
|
|
108
|
+
"tagName": "v${version}"
|
|
109
|
+
},
|
|
110
|
+
"npm": {
|
|
111
|
+
"publish": true
|
|
112
|
+
},
|
|
113
|
+
"github": {
|
|
114
|
+
"release": true
|
|
115
|
+
},
|
|
116
|
+
"plugins": {
|
|
117
|
+
"@release-it/conventional-changelog": {
|
|
118
|
+
"preset": {
|
|
119
|
+
"name": "angular"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"prettier": {
|
|
125
|
+
"quoteProps": "consistent",
|
|
126
|
+
"singleQuote": true,
|
|
127
|
+
"tabWidth": 2,
|
|
128
|
+
"trailingComma": "es5",
|
|
129
|
+
"useTabs": false
|
|
130
|
+
},
|
|
131
|
+
"react-native-builder-bob": {
|
|
132
|
+
"source": "src",
|
|
133
|
+
"output": "lib",
|
|
134
|
+
"targets": [
|
|
135
|
+
[
|
|
136
|
+
"module",
|
|
137
|
+
{
|
|
138
|
+
"esm": true
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
[
|
|
142
|
+
"typescript",
|
|
143
|
+
{
|
|
144
|
+
"project": "tsconfig.build.json"
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
"create-react-native-library": {
|
|
150
|
+
"languages": "js",
|
|
151
|
+
"type": "library",
|
|
152
|
+
"version": "0.54.2"
|
|
153
|
+
}
|
|
154
|
+
}
|