@qr-platform/qr-code.js 0.20.8 → 0.20.10
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/CHANGELOG.md +12 -0
- package/docs/advanced-examples.md +113 -5
- package/docs/api-reference-guide.md +4 -4
- package/docs/documentation.md +1 -1
- package/docs/usage-guide.md +5 -5
- package/lib/browser.js +1 -1
- package/lib/esm.js +1 -1
- package/lib/index.js +1 -1
- package/lib/node/templates/background-transparent.d.ts +167 -0
- package/lib/node.js +1 -1
- package/lib/templates/background-transparent.d.ts +167 -0
- package/package.json +1 -1
|
@@ -45,6 +45,7 @@ export declare const codes: ({
|
|
|
45
45
|
enableText: boolean;
|
|
46
46
|
style: {
|
|
47
47
|
fontColor: string;
|
|
48
|
+
fontSize?: undefined;
|
|
48
49
|
};
|
|
49
50
|
};
|
|
50
51
|
bottom: {
|
|
@@ -53,6 +54,7 @@ export declare const codes: ({
|
|
|
53
54
|
enableText: boolean;
|
|
54
55
|
style: {
|
|
55
56
|
fontColor: string;
|
|
57
|
+
fontSize?: undefined;
|
|
56
58
|
};
|
|
57
59
|
};
|
|
58
60
|
};
|
|
@@ -91,6 +93,7 @@ export declare const codes: ({
|
|
|
91
93
|
enableText: boolean;
|
|
92
94
|
style: {
|
|
93
95
|
fontColor: string;
|
|
96
|
+
fontSize?: undefined;
|
|
94
97
|
};
|
|
95
98
|
};
|
|
96
99
|
bottom: {
|
|
@@ -99,6 +102,7 @@ export declare const codes: ({
|
|
|
99
102
|
enableText: boolean;
|
|
100
103
|
style: {
|
|
101
104
|
fontColor: string;
|
|
105
|
+
fontSize?: undefined;
|
|
102
106
|
};
|
|
103
107
|
};
|
|
104
108
|
};
|
|
@@ -266,4 +270,167 @@ export declare const codes: ({
|
|
|
266
270
|
borderOptions: {
|
|
267
271
|
hasBorder: boolean;
|
|
268
272
|
};
|
|
273
|
+
} | {
|
|
274
|
+
backgroundOptions: {
|
|
275
|
+
color: string;
|
|
276
|
+
round?: undefined;
|
|
277
|
+
};
|
|
278
|
+
shape: string;
|
|
279
|
+
margin: number;
|
|
280
|
+
borderOptions: {
|
|
281
|
+
hasBorder: boolean;
|
|
282
|
+
thickness: number;
|
|
283
|
+
color: string;
|
|
284
|
+
radius: string;
|
|
285
|
+
decorations: {
|
|
286
|
+
top: {
|
|
287
|
+
value: string;
|
|
288
|
+
enableText: boolean;
|
|
289
|
+
style: {
|
|
290
|
+
fontColor: string;
|
|
291
|
+
fontSize?: undefined;
|
|
292
|
+
};
|
|
293
|
+
offset?: undefined;
|
|
294
|
+
};
|
|
295
|
+
bottom?: undefined;
|
|
296
|
+
};
|
|
297
|
+
borderOuter?: undefined;
|
|
298
|
+
borderInner?: undefined;
|
|
299
|
+
};
|
|
300
|
+
data: string;
|
|
301
|
+
scale: number;
|
|
302
|
+
width: number;
|
|
303
|
+
height: number;
|
|
304
|
+
dotsOptions: {
|
|
305
|
+
color: string;
|
|
306
|
+
};
|
|
307
|
+
cornersSquareOptions: {
|
|
308
|
+
color: string;
|
|
309
|
+
};
|
|
310
|
+
cornersDotOptions: {
|
|
311
|
+
color: string;
|
|
312
|
+
};
|
|
313
|
+
} | {
|
|
314
|
+
backgroundOptions: {
|
|
315
|
+
color: string;
|
|
316
|
+
round?: undefined;
|
|
317
|
+
};
|
|
318
|
+
margin: number;
|
|
319
|
+
shape: string;
|
|
320
|
+
borderOptions: {
|
|
321
|
+
hasBorder: boolean;
|
|
322
|
+
thickness: number;
|
|
323
|
+
color: string;
|
|
324
|
+
radius: string;
|
|
325
|
+
borderOuter: {
|
|
326
|
+
thickness: number;
|
|
327
|
+
color: string;
|
|
328
|
+
};
|
|
329
|
+
borderInner: {
|
|
330
|
+
thickness: number;
|
|
331
|
+
color: string;
|
|
332
|
+
};
|
|
333
|
+
decorations: {
|
|
334
|
+
top: {
|
|
335
|
+
value: string;
|
|
336
|
+
enableText: boolean;
|
|
337
|
+
style: {
|
|
338
|
+
fontColor: string;
|
|
339
|
+
fontSize: number;
|
|
340
|
+
};
|
|
341
|
+
offset?: undefined;
|
|
342
|
+
};
|
|
343
|
+
bottom: {
|
|
344
|
+
value: string;
|
|
345
|
+
enableText: boolean;
|
|
346
|
+
style: {
|
|
347
|
+
fontColor: string;
|
|
348
|
+
fontSize: number;
|
|
349
|
+
};
|
|
350
|
+
offset?: undefined;
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
data: string;
|
|
355
|
+
scale: number;
|
|
356
|
+
width: number;
|
|
357
|
+
height: number;
|
|
358
|
+
dotsOptions: {
|
|
359
|
+
color: string;
|
|
360
|
+
};
|
|
361
|
+
cornersSquareOptions: {
|
|
362
|
+
color: string;
|
|
363
|
+
};
|
|
364
|
+
cornersDotOptions: {
|
|
365
|
+
color: string;
|
|
366
|
+
};
|
|
367
|
+
} | {
|
|
368
|
+
backgroundOptions: {
|
|
369
|
+
color: string;
|
|
370
|
+
round?: undefined;
|
|
371
|
+
};
|
|
372
|
+
borderOptions: {
|
|
373
|
+
hasBorder: boolean;
|
|
374
|
+
thickness: number;
|
|
375
|
+
color: string;
|
|
376
|
+
radius: string;
|
|
377
|
+
decorations?: undefined;
|
|
378
|
+
borderOuter?: undefined;
|
|
379
|
+
borderInner?: undefined;
|
|
380
|
+
};
|
|
381
|
+
margin: number;
|
|
382
|
+
dotsOptions: {
|
|
383
|
+
type: string;
|
|
384
|
+
gradient: {
|
|
385
|
+
type: string;
|
|
386
|
+
colorStops: {
|
|
387
|
+
offset: number;
|
|
388
|
+
color: string;
|
|
389
|
+
}[];
|
|
390
|
+
rotation?: undefined;
|
|
391
|
+
};
|
|
392
|
+
color?: undefined;
|
|
393
|
+
};
|
|
394
|
+
cornersSquareOptions: {
|
|
395
|
+
type: string;
|
|
396
|
+
color: string;
|
|
397
|
+
gradient?: undefined;
|
|
398
|
+
};
|
|
399
|
+
data: string;
|
|
400
|
+
scale: number;
|
|
401
|
+
width: number;
|
|
402
|
+
height: number;
|
|
403
|
+
shape: string;
|
|
404
|
+
cornersDotOptions: {
|
|
405
|
+
color: string;
|
|
406
|
+
};
|
|
407
|
+
} | {
|
|
408
|
+
backgroundOptions: {
|
|
409
|
+
color: string;
|
|
410
|
+
round?: undefined;
|
|
411
|
+
};
|
|
412
|
+
margin: number;
|
|
413
|
+
borderOptions: {
|
|
414
|
+
hasBorder: boolean;
|
|
415
|
+
thickness: number;
|
|
416
|
+
color: string;
|
|
417
|
+
radius: string;
|
|
418
|
+
decorations?: undefined;
|
|
419
|
+
borderOuter?: undefined;
|
|
420
|
+
borderInner?: undefined;
|
|
421
|
+
};
|
|
422
|
+
data: string;
|
|
423
|
+
scale: number;
|
|
424
|
+
width: number;
|
|
425
|
+
height: number;
|
|
426
|
+
shape: string;
|
|
427
|
+
dotsOptions: {
|
|
428
|
+
color: string;
|
|
429
|
+
};
|
|
430
|
+
cornersSquareOptions: {
|
|
431
|
+
color: string;
|
|
432
|
+
};
|
|
433
|
+
cornersDotOptions: {
|
|
434
|
+
color: string;
|
|
435
|
+
};
|
|
269
436
|
})[];
|