@managesome/eposmatic-toolkit 0.2.585 → 0.2.587
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.
|
@@ -21,7 +21,6 @@ export declare const WEBVIEW_PRINT_BINARY_IMAGE = "WEBVIEW_PRINT_BINARY_IMAGE";
|
|
|
21
21
|
export declare const WEBVIEW_SET_BINARY_LOGO = "WEBVIEW_SET_BINARY_LOGO";
|
|
22
22
|
export declare const WEBVIEW_PRINT_IMAGE_DATA = "WEBVIEW_PRINT_IMAGE_DATA";
|
|
23
23
|
export declare const WEBVIEW_SET_IMAGE_DATA_LOGO = "WEBVIEW_SET_IMAGE_DATA_LOGO";
|
|
24
|
-
export declare const WEBVIEW_ENABLE_DARK_MODE = "WEBVIEW_ENABLE_DARK_MODE";
|
|
25
24
|
export declare const WEBVIEW_RETRY_PRINT = "WEBVIEW_RETRY_PRINT";
|
|
26
25
|
export declare const WEBVIEW_RENDER_BACK_PRESS = "WEBVIEW_RENDER_BACK_PRESS";
|
|
27
26
|
export declare const WEBVIEW_SET_PRINTERS = "WEBVIEW_SET_PRINTERS";
|
package/lib/constants/WEBVIEW.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WEBVIEW_OO_PLACED_REVIEW = exports.WEBVIEW_OO_PLACED_ORDER = exports.WEBVIEW_OO_ADD_TO_CART = exports.WEBVIEW_OO_VIEWED_ITEM = exports.WEBVIEW_OO_SENT_CATALOG = exports.WEBVIEW_OO_SET_STORE_SETTINGS = exports.WEBVIEW_OO_SET_LOADING = exports.WEBVIEW_REGISTER_USER_DETAILS = exports.WEBVIEW_GET_IMAGE_DATA_LOGO_FROM_BASE64 = exports.WEBVIEW_GET_IMAGE_DATA_FROM_BASE64 = exports.WEBVIEW_GET_BINARY_LOGO_FROM_BASE64 = exports.WEBVIEW_GET_BINARY_IMAGE_FROM_BASE64 = exports.WEBVIEW_UPDATE_PRINTER_SETTINGS = exports.WEBVIEW_PRINTER_EVENT = exports.WEBVIEW_SET_PRINTERS = exports.WEBVIEW_RENDER_BACK_PRESS = exports.WEBVIEW_RETRY_PRINT = exports.
|
|
3
|
+
exports.WEBVIEW_OO_PLACED_REVIEW = exports.WEBVIEW_OO_PLACED_ORDER = exports.WEBVIEW_OO_ADD_TO_CART = exports.WEBVIEW_OO_VIEWED_ITEM = exports.WEBVIEW_OO_SENT_CATALOG = exports.WEBVIEW_OO_SET_STORE_SETTINGS = exports.WEBVIEW_OO_SET_LOADING = exports.WEBVIEW_REGISTER_USER_DETAILS = exports.WEBVIEW_GET_IMAGE_DATA_LOGO_FROM_BASE64 = exports.WEBVIEW_GET_IMAGE_DATA_FROM_BASE64 = exports.WEBVIEW_GET_BINARY_LOGO_FROM_BASE64 = exports.WEBVIEW_GET_BINARY_IMAGE_FROM_BASE64 = exports.WEBVIEW_UPDATE_PRINTER_SETTINGS = exports.WEBVIEW_PRINTER_EVENT = exports.WEBVIEW_SET_PRINTERS = exports.WEBVIEW_RENDER_BACK_PRESS = exports.WEBVIEW_RETRY_PRINT = exports.WEBVIEW_SET_IMAGE_DATA_LOGO = exports.WEBVIEW_PRINT_IMAGE_DATA = exports.WEBVIEW_SET_BINARY_LOGO = exports.WEBVIEW_PRINT_BINARY_IMAGE = exports.WEBVIEW_PRINT_TEXT = exports.WEBVIEW_DOWNLOAD_FILE = exports.WEBVIEW_COMMIT_SYNC_PRINTERS_SETTINGS = exports.WEBVIEW_SYNC_PRINTERS_SETTINGS = exports.WEBVIEW_SET_ALL_PRINTER_SETTINGS = exports.WEBVIEW_SET_PRINTER_SETTINGS = exports.WEBVIEW_ATTACH_PRINTERS_TO_ACCOUNT = exports.WEBVIEW_PRINT_IMAGE_FROM_ALL_PRINTERS = exports.WEBVIEW_PRINT_IMAGE = exports.WEBVIEW_GET_PRINTERS = exports.WEBVIEW_LOGOUT = exports.WEBVIEW_UPDATE_SETTINGS = exports.WEBVIEW_SET_INITIATE_STATE = exports.WEBVIEW_SET_SETTINGS = exports.WEBVIEW_OPEN_CASH_DRAWER = exports.WEBVIEW_PRINT_ORDER = exports.WEBVIEW_PRINT_ORDER_FROM_ALL_PRINTERS = exports.WEBVIEW_SET_ROUTE_TO_PRINTER_SETTINGS = exports.WEBVIEW_OPEN_LINK = void 0;
|
|
4
4
|
exports.WEBVIEW_OPEN_LINK = 'WEBVIEW_OPEN_LINK';
|
|
5
5
|
exports.WEBVIEW_SET_ROUTE_TO_PRINTER_SETTINGS = 'WEBVIEW_SET_ROUTE_TO_PRINTER_SETTINGS';
|
|
6
6
|
exports.WEBVIEW_PRINT_ORDER_FROM_ALL_PRINTERS = 'WEBVIEW_PRINT_ORDER_FROM_ALL_PRINTERS';
|
|
@@ -24,7 +24,6 @@ exports.WEBVIEW_PRINT_BINARY_IMAGE = 'WEBVIEW_PRINT_BINARY_IMAGE';
|
|
|
24
24
|
exports.WEBVIEW_SET_BINARY_LOGO = 'WEBVIEW_SET_BINARY_LOGO';
|
|
25
25
|
exports.WEBVIEW_PRINT_IMAGE_DATA = 'WEBVIEW_PRINT_IMAGE_DATA';
|
|
26
26
|
exports.WEBVIEW_SET_IMAGE_DATA_LOGO = 'WEBVIEW_SET_IMAGE_DATA_LOGO';
|
|
27
|
-
exports.WEBVIEW_ENABLE_DARK_MODE = 'WEBVIEW_ENABLE_DARK_MODE';
|
|
28
27
|
exports.WEBVIEW_RETRY_PRINT = 'WEBVIEW_RETRY_PRINT';
|
|
29
28
|
// ====================>>><<<====================
|
|
30
29
|
exports.WEBVIEW_RENDER_BACK_PRESS = 'WEBVIEW_RENDER_BACK_PRESS';
|
package/lib/constants/types.d.ts
CHANGED
|
@@ -148,7 +148,6 @@ export interface IWebviewInitiateState {
|
|
|
148
148
|
dineinLayout: IPrinterDineInLayout;
|
|
149
149
|
menu: IPrinterMenu;
|
|
150
150
|
printersSettings: IPrinterSettings[];
|
|
151
|
-
pos_id: string;
|
|
152
151
|
}
|
|
153
152
|
export interface IWebviewPrintImage {
|
|
154
153
|
request_id: string;
|
|
@@ -298,9 +297,6 @@ export interface IWebviewPrintRasterImageData {
|
|
|
298
297
|
job_id: string;
|
|
299
298
|
request_id: string;
|
|
300
299
|
}
|
|
301
|
-
export interface IWebviewEnableDarkMode {
|
|
302
|
-
enable_dark_mode: boolean;
|
|
303
|
-
}
|
|
304
300
|
export interface IWebviewRetryPrint {
|
|
305
301
|
request_id: string;
|
|
306
302
|
target: string;
|
|
@@ -230,7 +230,6 @@ export interface ISettingsForPrinter {
|
|
|
230
230
|
web_enable_delivery: ITenant['web_enable_delivery'];
|
|
231
231
|
web_enable_dine_in: ITenant['web_enable_dine_in'];
|
|
232
232
|
hide_gst_value: ITenant['hide_gst_value'];
|
|
233
|
-
enable_dark_mode: boolean;
|
|
234
233
|
receipt_qr_type: ITenant['receipt_qr_type'] | undefined;
|
|
235
234
|
google_review_link: ITenant['google_review_link'];
|
|
236
235
|
playstore_url: ITenant['playstore_url'];
|
|
@@ -239,6 +238,8 @@ export interface ISettingsForPrinter {
|
|
|
239
238
|
instagram_link: ITenant['instagram_link'];
|
|
240
239
|
twitter_link: ITenant['twitter_link'];
|
|
241
240
|
tiktok_link: ITenant['tiktok_link'];
|
|
241
|
+
enable_dark_mode: boolean;
|
|
242
|
+
pos_id: string;
|
|
242
243
|
}
|
|
243
244
|
export interface ISettingsForCloud {
|
|
244
245
|
_id: ITenant['_id'];
|