@simplymobile/capacitor-bixolon-sdk-printer 8.0.0
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/Package.swift +28 -0
- package/README.md +411 -0
- package/SimplymobileCapacitorBixolonSdkPrinter.podspec +17 -0
- package/android/build.gradle +58 -0
- package/android/src/main/AndroidManifest.xml +19 -0
- package/android/src/main/java/pl/simplymobile/plugins/bixolonsdkprinter/BixolonSdkPrinterPlugin.java +983 -0
- package/android/src/main/libs/BixolonPrinter.jar +0 -0
- package/android/src/main/res/xml/device_filter.xml +7 -0
- package/dist/docs.json +714 -0
- package/dist/esm/definitions.d.ts +205 -0
- package/dist/esm/definitions.js +2 -0
- package/dist/esm/definitions.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/web.d.ts +49 -0
- package/dist/esm/web.js +53 -0
- package/dist/esm/web.js.map +1 -0
- package/dist/plugin.cjs.js +67 -0
- package/dist/plugin.cjs.js.map +1 -0
- package/dist/plugin.js +70 -0
- package/dist/plugin.js.map +1 -0
- package/ios/Sources/BixolonSdkPrinterPlugin/BixolonSdkPrinter.swift +8 -0
- package/ios/Sources/BixolonSdkPrinterPlugin/BixolonSdkPrinterPlugin.swift +78 -0
- package/ios/Tests/BixolonSdkPrinterPluginTests/BixolonSdkPrinterTests.swift +25 -0
- package/package.json +84 -0
package/dist/docs.json
ADDED
|
@@ -0,0 +1,714 @@
|
|
|
1
|
+
{
|
|
2
|
+
"api": {
|
|
3
|
+
"name": "BixolonSdkPrinterPlugin",
|
|
4
|
+
"slug": "bixolonsdkprinterplugin",
|
|
5
|
+
"docs": "",
|
|
6
|
+
"tags": [],
|
|
7
|
+
"methods": [
|
|
8
|
+
{
|
|
9
|
+
"name": "checkPermissions",
|
|
10
|
+
"signature": "() => Promise<PermissionStatus>",
|
|
11
|
+
"parameters": [],
|
|
12
|
+
"returns": "Promise<PermissionStatus>",
|
|
13
|
+
"tags": [],
|
|
14
|
+
"docs": "Check the current Bluetooth permission status.",
|
|
15
|
+
"complexTypes": [
|
|
16
|
+
"PermissionStatus"
|
|
17
|
+
],
|
|
18
|
+
"slug": "checkpermissions"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "requestPermissions",
|
|
22
|
+
"signature": "() => Promise<PermissionStatus>",
|
|
23
|
+
"parameters": [],
|
|
24
|
+
"returns": "Promise<PermissionStatus>",
|
|
25
|
+
"tags": [],
|
|
26
|
+
"docs": "Request the Bluetooth permissions required to connect to printers.",
|
|
27
|
+
"complexTypes": [
|
|
28
|
+
"PermissionStatus"
|
|
29
|
+
],
|
|
30
|
+
"slug": "requestpermissions"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "printText",
|
|
34
|
+
"signature": "(options: { lines: TextLine[]; config?: BixolonSettings; }) => Promise<{ message: string; }>",
|
|
35
|
+
"parameters": [
|
|
36
|
+
{
|
|
37
|
+
"name": "options",
|
|
38
|
+
"docs": "",
|
|
39
|
+
"type": "{ lines: TextLine[]; config?: BixolonSettings | undefined; }"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"returns": "Promise<{ message: string; }>",
|
|
43
|
+
"tags": [],
|
|
44
|
+
"docs": "Print a list of text lines. Connects to the printer, prints, cuts the paper and disconnects.",
|
|
45
|
+
"complexTypes": [
|
|
46
|
+
"TextLine",
|
|
47
|
+
"BixolonSettings"
|
|
48
|
+
],
|
|
49
|
+
"slug": "printtext"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "printBarCode",
|
|
53
|
+
"signature": "(options: { data: BarCodeData; config?: BixolonSettings; }) => Promise<{ message: string; }>",
|
|
54
|
+
"parameters": [
|
|
55
|
+
{
|
|
56
|
+
"name": "options",
|
|
57
|
+
"docs": "",
|
|
58
|
+
"type": "{ data: BarCodeData; config?: BixolonSettings | undefined; }"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"returns": "Promise<{ message: string; }>",
|
|
62
|
+
"tags": [],
|
|
63
|
+
"docs": "Print a 1D bar code.",
|
|
64
|
+
"complexTypes": [
|
|
65
|
+
"BarCodeData",
|
|
66
|
+
"BixolonSettings"
|
|
67
|
+
],
|
|
68
|
+
"slug": "printbarcode"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "printQRCode",
|
|
72
|
+
"signature": "(options: { data: QRCodeData; config?: BixolonSettings; }) => Promise<{ message: string; }>",
|
|
73
|
+
"parameters": [
|
|
74
|
+
{
|
|
75
|
+
"name": "options",
|
|
76
|
+
"docs": "",
|
|
77
|
+
"type": "{ data: QRCodeData; config?: BixolonSettings | undefined; }"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"returns": "Promise<{ message: string; }>",
|
|
81
|
+
"tags": [],
|
|
82
|
+
"docs": "Print a QR code.",
|
|
83
|
+
"complexTypes": [
|
|
84
|
+
"QRCodeData",
|
|
85
|
+
"BixolonSettings"
|
|
86
|
+
],
|
|
87
|
+
"slug": "printqrcode"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "printBitmap",
|
|
91
|
+
"signature": "(options: { base64Image: string; width?: number; brightness?: number; alignment?: number; }) => Promise<{ message: string; }>",
|
|
92
|
+
"parameters": [
|
|
93
|
+
{
|
|
94
|
+
"name": "options",
|
|
95
|
+
"docs": "",
|
|
96
|
+
"type": "{ base64Image: string; width?: number | undefined; brightness?: number | undefined; alignment?: number | undefined; }"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"returns": "Promise<{ message: string; }>",
|
|
100
|
+
"tags": [
|
|
101
|
+
{
|
|
102
|
+
"name": "param",
|
|
103
|
+
"text": "options.alignment Image alignment (`-11` as-is, `-1` left, `-2` center, `-3` right)."
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"docs": "Print a Base64-encoded bitmap image.",
|
|
107
|
+
"complexTypes": [],
|
|
108
|
+
"slug": "printbitmap"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "cutPaper",
|
|
112
|
+
"signature": "(options?: { config?: BixolonSettings | undefined; } | undefined) => Promise<{ message: string; }>",
|
|
113
|
+
"parameters": [
|
|
114
|
+
{
|
|
115
|
+
"name": "options",
|
|
116
|
+
"docs": "",
|
|
117
|
+
"type": "{ config?: BixolonSettings | undefined; } | undefined"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"returns": "Promise<{ message: string; }>",
|
|
121
|
+
"tags": [],
|
|
122
|
+
"docs": "Feed/form-feed and cut the paper.",
|
|
123
|
+
"complexTypes": [
|
|
124
|
+
"BixolonSettings"
|
|
125
|
+
],
|
|
126
|
+
"slug": "cutpaper"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "getStatus",
|
|
130
|
+
"signature": "(options?: { printStatus?: boolean | undefined; config?: BixolonSettings | undefined; } | undefined) => Promise<BixolonDeviceStatus>",
|
|
131
|
+
"parameters": [
|
|
132
|
+
{
|
|
133
|
+
"name": "options",
|
|
134
|
+
"docs": "",
|
|
135
|
+
"type": "{ printStatus?: boolean | undefined; config?: BixolonSettings | undefined; } | undefined"
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"returns": "Promise<BixolonDeviceStatus>",
|
|
139
|
+
"tags": [],
|
|
140
|
+
"docs": "Return the connected printer status. When `printStatus` is `true` the status is also printed.",
|
|
141
|
+
"complexTypes": [
|
|
142
|
+
"BixolonDeviceStatus",
|
|
143
|
+
"BixolonSettings"
|
|
144
|
+
],
|
|
145
|
+
"slug": "getstatus"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "reconnect",
|
|
149
|
+
"signature": "() => Promise<{ message: string; }>",
|
|
150
|
+
"parameters": [],
|
|
151
|
+
"returns": "Promise<{ message: string; }>",
|
|
152
|
+
"tags": [],
|
|
153
|
+
"docs": "Reconnect to the (first paired) printer.",
|
|
154
|
+
"complexTypes": [],
|
|
155
|
+
"slug": "reconnect"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "disconnect",
|
|
159
|
+
"signature": "() => Promise<void>",
|
|
160
|
+
"parameters": [],
|
|
161
|
+
"returns": "Promise<void>",
|
|
162
|
+
"tags": [],
|
|
163
|
+
"docs": "Disconnect from the currently connected printer.",
|
|
164
|
+
"complexTypes": [],
|
|
165
|
+
"slug": "disconnect"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "startMsrReaderListener",
|
|
169
|
+
"signature": "() => Promise<void>",
|
|
170
|
+
"parameters": [],
|
|
171
|
+
"returns": "Promise<void>",
|
|
172
|
+
"tags": [],
|
|
173
|
+
"docs": "Start listening for magnetic-stripe-reader (MSR) data. Emits `msrData` events.",
|
|
174
|
+
"complexTypes": [],
|
|
175
|
+
"slug": "startmsrreaderlistener"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "stopMsrReaderListener",
|
|
179
|
+
"signature": "() => Promise<void>",
|
|
180
|
+
"parameters": [],
|
|
181
|
+
"returns": "Promise<void>",
|
|
182
|
+
"tags": [],
|
|
183
|
+
"docs": "Stop listening for MSR data.",
|
|
184
|
+
"complexTypes": [],
|
|
185
|
+
"slug": "stopmsrreaderlistener"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "startConnectionListener",
|
|
189
|
+
"signature": "() => Promise<void>",
|
|
190
|
+
"parameters": [],
|
|
191
|
+
"returns": "Promise<void>",
|
|
192
|
+
"tags": [],
|
|
193
|
+
"docs": "Start listening for connection-state changes. Emits `connectionChanged` events.",
|
|
194
|
+
"complexTypes": [],
|
|
195
|
+
"slug": "startconnectionlistener"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"name": "stopConnectionListener",
|
|
199
|
+
"signature": "() => Promise<void>",
|
|
200
|
+
"parameters": [],
|
|
201
|
+
"returns": "Promise<void>",
|
|
202
|
+
"tags": [],
|
|
203
|
+
"docs": "Stop listening for connection-state changes.",
|
|
204
|
+
"complexTypes": [],
|
|
205
|
+
"slug": "stopconnectionlistener"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "addListener",
|
|
209
|
+
"signature": "(eventName: 'msrData', listenerFunc: (data: MsrData) => void) => Promise<PluginListenerHandle>",
|
|
210
|
+
"parameters": [
|
|
211
|
+
{
|
|
212
|
+
"name": "eventName",
|
|
213
|
+
"docs": "",
|
|
214
|
+
"type": "'msrData'"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"name": "listenerFunc",
|
|
218
|
+
"docs": "",
|
|
219
|
+
"type": "(data: MsrData) => void"
|
|
220
|
+
}
|
|
221
|
+
],
|
|
222
|
+
"returns": "Promise<PluginListenerHandle>",
|
|
223
|
+
"tags": [],
|
|
224
|
+
"docs": "Listen for MSR (magnetic stripe reader) track data.",
|
|
225
|
+
"complexTypes": [
|
|
226
|
+
"PluginListenerHandle",
|
|
227
|
+
"MsrData"
|
|
228
|
+
],
|
|
229
|
+
"slug": "addlistenermsrdata-"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"name": "addListener",
|
|
233
|
+
"signature": "(eventName: 'connectionChanged', listenerFunc: (data: ConnectionData) => void) => Promise<PluginListenerHandle>",
|
|
234
|
+
"parameters": [
|
|
235
|
+
{
|
|
236
|
+
"name": "eventName",
|
|
237
|
+
"docs": "",
|
|
238
|
+
"type": "'connectionChanged'"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"name": "listenerFunc",
|
|
242
|
+
"docs": "",
|
|
243
|
+
"type": "(data: ConnectionData) => void"
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
"returns": "Promise<PluginListenerHandle>",
|
|
247
|
+
"tags": [],
|
|
248
|
+
"docs": "Listen for printer connection-state changes.",
|
|
249
|
+
"complexTypes": [
|
|
250
|
+
"PluginListenerHandle",
|
|
251
|
+
"ConnectionData"
|
|
252
|
+
],
|
|
253
|
+
"slug": "addlistenerconnectionchanged-"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"name": "removeAllListeners",
|
|
257
|
+
"signature": "() => Promise<void>",
|
|
258
|
+
"parameters": [],
|
|
259
|
+
"returns": "Promise<void>",
|
|
260
|
+
"tags": [],
|
|
261
|
+
"docs": "Remove all registered listeners for this plugin.",
|
|
262
|
+
"complexTypes": [],
|
|
263
|
+
"slug": "removealllisteners"
|
|
264
|
+
}
|
|
265
|
+
],
|
|
266
|
+
"properties": []
|
|
267
|
+
},
|
|
268
|
+
"interfaces": [
|
|
269
|
+
{
|
|
270
|
+
"name": "PermissionStatus",
|
|
271
|
+
"slug": "permissionstatus",
|
|
272
|
+
"docs": "",
|
|
273
|
+
"tags": [],
|
|
274
|
+
"methods": [],
|
|
275
|
+
"properties": [
|
|
276
|
+
{
|
|
277
|
+
"name": "bluetooth",
|
|
278
|
+
"tags": [],
|
|
279
|
+
"docs": "Permission state for Bluetooth (BLUETOOTH_CONNECT / BLUETOOTH_SCAN on Android 12+).",
|
|
280
|
+
"complexTypes": [
|
|
281
|
+
"BluetoothPermissionState"
|
|
282
|
+
],
|
|
283
|
+
"type": "BluetoothPermissionState"
|
|
284
|
+
}
|
|
285
|
+
]
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"name": "TextLine",
|
|
289
|
+
"slug": "textline",
|
|
290
|
+
"docs": "A single line of text to print. Prefix `text` with `[hr]<char>` (e.g. `\"[hr]=\"`) to draw a\nhorizontal rule filling the paper width.",
|
|
291
|
+
"tags": [],
|
|
292
|
+
"methods": [],
|
|
293
|
+
"properties": [
|
|
294
|
+
{
|
|
295
|
+
"name": "text",
|
|
296
|
+
"tags": [],
|
|
297
|
+
"docs": "",
|
|
298
|
+
"complexTypes": [],
|
|
299
|
+
"type": "string"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"name": "textAlign",
|
|
303
|
+
"tags": [],
|
|
304
|
+
"docs": "",
|
|
305
|
+
"complexTypes": [
|
|
306
|
+
"TextAlign"
|
|
307
|
+
],
|
|
308
|
+
"type": "TextAlign"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"name": "textWidth",
|
|
312
|
+
"tags": [],
|
|
313
|
+
"docs": "Horizontal text size, 0-7.",
|
|
314
|
+
"complexTypes": [],
|
|
315
|
+
"type": "number | undefined"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"name": "textHeight",
|
|
319
|
+
"tags": [],
|
|
320
|
+
"docs": "Vertical text size, 0-7.",
|
|
321
|
+
"complexTypes": [],
|
|
322
|
+
"type": "number | undefined"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"name": "fontType",
|
|
326
|
+
"tags": [],
|
|
327
|
+
"docs": "",
|
|
328
|
+
"complexTypes": [
|
|
329
|
+
"FontType"
|
|
330
|
+
],
|
|
331
|
+
"type": "FontType"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"name": "fontStyle",
|
|
335
|
+
"tags": [],
|
|
336
|
+
"docs": "",
|
|
337
|
+
"complexTypes": [
|
|
338
|
+
"FontStyle"
|
|
339
|
+
],
|
|
340
|
+
"type": "FontStyle"
|
|
341
|
+
}
|
|
342
|
+
]
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"name": "BixolonSettings",
|
|
346
|
+
"slug": "bixolonsettings",
|
|
347
|
+
"docs": "Shared print configuration. All fields are optional; sensible defaults are applied natively\n(`lineFeed: 0`, `formFeed: true`, `autoConnect: true`, `toastMessage: true`, `codePage: 16`).",
|
|
348
|
+
"tags": [],
|
|
349
|
+
"methods": [],
|
|
350
|
+
"properties": [
|
|
351
|
+
{
|
|
352
|
+
"name": "lineFeed",
|
|
353
|
+
"tags": [],
|
|
354
|
+
"docs": "Number of empty lines to feed after printing (used when `formFeed` is `false`).",
|
|
355
|
+
"complexTypes": [],
|
|
356
|
+
"type": "number | undefined"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"name": "formFeed",
|
|
360
|
+
"tags": [],
|
|
361
|
+
"docs": "Whether to perform a form feed after printing instead of a line feed.",
|
|
362
|
+
"complexTypes": [],
|
|
363
|
+
"type": "boolean | undefined"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"name": "autoConnect",
|
|
367
|
+
"tags": [],
|
|
368
|
+
"docs": "Android only. When `true`, connect to the first paired printer automatically; otherwise show\na picker dialog.",
|
|
369
|
+
"complexTypes": [],
|
|
370
|
+
"type": "boolean | undefined"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"name": "toastMessage",
|
|
374
|
+
"tags": [],
|
|
375
|
+
"docs": "Android only. Whether the underlying SDK is allowed to show toast messages.",
|
|
376
|
+
"complexTypes": [],
|
|
377
|
+
"type": "boolean | undefined"
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"name": "codePage",
|
|
381
|
+
"tags": [],
|
|
382
|
+
"docs": "Single-byte code page used for text printing.",
|
|
383
|
+
"complexTypes": [],
|
|
384
|
+
"type": "number | undefined"
|
|
385
|
+
}
|
|
386
|
+
]
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"name": "BarCodeData",
|
|
390
|
+
"slug": "barcodedata",
|
|
391
|
+
"docs": "",
|
|
392
|
+
"tags": [],
|
|
393
|
+
"methods": [],
|
|
394
|
+
"properties": [
|
|
395
|
+
{
|
|
396
|
+
"name": "text",
|
|
397
|
+
"tags": [],
|
|
398
|
+
"docs": "",
|
|
399
|
+
"complexTypes": [],
|
|
400
|
+
"type": "string"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"name": "alignment",
|
|
404
|
+
"tags": [],
|
|
405
|
+
"docs": "",
|
|
406
|
+
"complexTypes": [
|
|
407
|
+
"TextAlign"
|
|
408
|
+
],
|
|
409
|
+
"type": "TextAlign"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"name": "width",
|
|
413
|
+
"tags": [],
|
|
414
|
+
"docs": "",
|
|
415
|
+
"complexTypes": [],
|
|
416
|
+
"type": "number | undefined"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"name": "height",
|
|
420
|
+
"tags": [],
|
|
421
|
+
"docs": "",
|
|
422
|
+
"complexTypes": [],
|
|
423
|
+
"type": "number | undefined"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"name": "barcodeSystem",
|
|
427
|
+
"tags": [],
|
|
428
|
+
"docs": "Bar-code symbology (e.g. `73` for CODE128). See `BarCodeSystem` in the README.",
|
|
429
|
+
"complexTypes": [],
|
|
430
|
+
"type": "number"
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"name": "characterPosition",
|
|
434
|
+
"tags": [],
|
|
435
|
+
"docs": "Position of the human-readable characters (0 = none, 1 = above, 2 = below, 3 = both).",
|
|
436
|
+
"complexTypes": [],
|
|
437
|
+
"type": "number | undefined"
|
|
438
|
+
}
|
|
439
|
+
]
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"name": "QRCodeData",
|
|
443
|
+
"slug": "qrcodedata",
|
|
444
|
+
"docs": "",
|
|
445
|
+
"tags": [],
|
|
446
|
+
"methods": [],
|
|
447
|
+
"properties": [
|
|
448
|
+
{
|
|
449
|
+
"name": "text",
|
|
450
|
+
"tags": [],
|
|
451
|
+
"docs": "",
|
|
452
|
+
"complexTypes": [],
|
|
453
|
+
"type": "string"
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"name": "alignment",
|
|
457
|
+
"tags": [],
|
|
458
|
+
"docs": "",
|
|
459
|
+
"complexTypes": [
|
|
460
|
+
"TextAlign"
|
|
461
|
+
],
|
|
462
|
+
"type": "TextAlign"
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"name": "size",
|
|
466
|
+
"tags": [],
|
|
467
|
+
"docs": "QR module size, 1-8.",
|
|
468
|
+
"complexTypes": [],
|
|
469
|
+
"type": "number | undefined"
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"name": "model",
|
|
473
|
+
"tags": [],
|
|
474
|
+
"docs": "QR model (`49` = model 1, `50` = model 2).",
|
|
475
|
+
"complexTypes": [],
|
|
476
|
+
"type": "number | undefined"
|
|
477
|
+
}
|
|
478
|
+
]
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"name": "BixolonDeviceStatus",
|
|
482
|
+
"slug": "bixolondevicestatus",
|
|
483
|
+
"docs": "",
|
|
484
|
+
"tags": [],
|
|
485
|
+
"methods": [],
|
|
486
|
+
"properties": [
|
|
487
|
+
{
|
|
488
|
+
"name": "printerName",
|
|
489
|
+
"tags": [],
|
|
490
|
+
"docs": "",
|
|
491
|
+
"complexTypes": [],
|
|
492
|
+
"type": "string | undefined"
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"name": "printerAddress",
|
|
496
|
+
"tags": [],
|
|
497
|
+
"docs": "",
|
|
498
|
+
"complexTypes": [],
|
|
499
|
+
"type": "string | undefined"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"name": "cover",
|
|
503
|
+
"tags": [],
|
|
504
|
+
"docs": "",
|
|
505
|
+
"complexTypes": [],
|
|
506
|
+
"type": "string | undefined"
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"name": "paper",
|
|
510
|
+
"tags": [],
|
|
511
|
+
"docs": "",
|
|
512
|
+
"complexTypes": [],
|
|
513
|
+
"type": "string | undefined"
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"name": "battery",
|
|
517
|
+
"tags": [],
|
|
518
|
+
"docs": "",
|
|
519
|
+
"complexTypes": [],
|
|
520
|
+
"type": "string | undefined"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"name": "firmwareVersion",
|
|
524
|
+
"tags": [],
|
|
525
|
+
"docs": "",
|
|
526
|
+
"complexTypes": [],
|
|
527
|
+
"type": "string | undefined"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"name": "manufacturer",
|
|
531
|
+
"tags": [],
|
|
532
|
+
"docs": "",
|
|
533
|
+
"complexTypes": [],
|
|
534
|
+
"type": "string | undefined"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"name": "printerModel",
|
|
538
|
+
"tags": [],
|
|
539
|
+
"docs": "",
|
|
540
|
+
"complexTypes": [],
|
|
541
|
+
"type": "string | undefined"
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"name": "codePage",
|
|
545
|
+
"tags": [],
|
|
546
|
+
"docs": "",
|
|
547
|
+
"complexTypes": [],
|
|
548
|
+
"type": "string | undefined"
|
|
549
|
+
}
|
|
550
|
+
]
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"name": "PluginListenerHandle",
|
|
554
|
+
"slug": "pluginlistenerhandle",
|
|
555
|
+
"docs": "",
|
|
556
|
+
"tags": [],
|
|
557
|
+
"methods": [],
|
|
558
|
+
"properties": [
|
|
559
|
+
{
|
|
560
|
+
"name": "remove",
|
|
561
|
+
"tags": [],
|
|
562
|
+
"docs": "",
|
|
563
|
+
"complexTypes": [],
|
|
564
|
+
"type": "() => Promise<void>"
|
|
565
|
+
}
|
|
566
|
+
]
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"name": "MsrData",
|
|
570
|
+
"slug": "msrdata",
|
|
571
|
+
"docs": "",
|
|
572
|
+
"tags": [],
|
|
573
|
+
"methods": [],
|
|
574
|
+
"properties": [
|
|
575
|
+
{
|
|
576
|
+
"name": "msrTrack1",
|
|
577
|
+
"tags": [],
|
|
578
|
+
"docs": "",
|
|
579
|
+
"complexTypes": [],
|
|
580
|
+
"type": "string"
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"name": "msrTrack2",
|
|
584
|
+
"tags": [],
|
|
585
|
+
"docs": "",
|
|
586
|
+
"complexTypes": [],
|
|
587
|
+
"type": "string"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"name": "msrTrack3",
|
|
591
|
+
"tags": [],
|
|
592
|
+
"docs": "",
|
|
593
|
+
"complexTypes": [],
|
|
594
|
+
"type": "string"
|
|
595
|
+
}
|
|
596
|
+
]
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"name": "ConnectionData",
|
|
600
|
+
"slug": "connectiondata",
|
|
601
|
+
"docs": "",
|
|
602
|
+
"tags": [],
|
|
603
|
+
"methods": [],
|
|
604
|
+
"properties": [
|
|
605
|
+
{
|
|
606
|
+
"name": "isConnected",
|
|
607
|
+
"tags": [],
|
|
608
|
+
"docs": "",
|
|
609
|
+
"complexTypes": [],
|
|
610
|
+
"type": "boolean"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"name": "message",
|
|
614
|
+
"tags": [],
|
|
615
|
+
"docs": "",
|
|
616
|
+
"complexTypes": [],
|
|
617
|
+
"type": "string | null"
|
|
618
|
+
}
|
|
619
|
+
]
|
|
620
|
+
}
|
|
621
|
+
],
|
|
622
|
+
"enums": [],
|
|
623
|
+
"typeAliases": [
|
|
624
|
+
{
|
|
625
|
+
"name": "BluetoothPermissionState",
|
|
626
|
+
"slug": "bluetoothpermissionstate",
|
|
627
|
+
"docs": "",
|
|
628
|
+
"types": [
|
|
629
|
+
{
|
|
630
|
+
"text": "'granted'",
|
|
631
|
+
"complexTypes": []
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"text": "'denied'",
|
|
635
|
+
"complexTypes": []
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"text": "'prompt'",
|
|
639
|
+
"complexTypes": []
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"text": "'prompt-with-rationale'",
|
|
643
|
+
"complexTypes": []
|
|
644
|
+
}
|
|
645
|
+
]
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"name": "TextAlign",
|
|
649
|
+
"slug": "textalign",
|
|
650
|
+
"docs": "",
|
|
651
|
+
"types": [
|
|
652
|
+
{
|
|
653
|
+
"text": "'left'",
|
|
654
|
+
"complexTypes": []
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"text": "'center'",
|
|
658
|
+
"complexTypes": []
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"text": "'right'",
|
|
662
|
+
"complexTypes": []
|
|
663
|
+
}
|
|
664
|
+
]
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"name": "FontType",
|
|
668
|
+
"slug": "fonttype",
|
|
669
|
+
"docs": "",
|
|
670
|
+
"types": [
|
|
671
|
+
{
|
|
672
|
+
"text": "'A'",
|
|
673
|
+
"complexTypes": []
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"text": "'B'",
|
|
677
|
+
"complexTypes": []
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"text": "'C'",
|
|
681
|
+
"complexTypes": []
|
|
682
|
+
}
|
|
683
|
+
]
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"name": "FontStyle",
|
|
687
|
+
"slug": "fontstyle",
|
|
688
|
+
"docs": "",
|
|
689
|
+
"types": [
|
|
690
|
+
{
|
|
691
|
+
"text": "'default'",
|
|
692
|
+
"complexTypes": []
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
"text": "'bold'",
|
|
696
|
+
"complexTypes": []
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"text": "'underline'",
|
|
700
|
+
"complexTypes": []
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
"text": "'underline2'",
|
|
704
|
+
"complexTypes": []
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"text": "'reversed'",
|
|
708
|
+
"complexTypes": []
|
|
709
|
+
}
|
|
710
|
+
]
|
|
711
|
+
}
|
|
712
|
+
],
|
|
713
|
+
"pluginConfigs": []
|
|
714
|
+
}
|