-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.js
78 lines (74 loc) · 2.81 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/**
* @created 11.07.2022
* @author smiley <[email protected]>
* @copyright 2022 smiley
* @license MIT
*/
'use strict';
// root
import QRCode from './QRCode.js';
import QRCodeException from './QRCodeException.js';
import QROptions from './QROptions.js';
// Common
import {
ECC_L, ECC_M, ECC_Q, ECC_H,
MASK_PATTERN_AUTO, PATTERNS, PATTERN_000, PATTERN_001, PATTERN_010,
PATTERN_011, PATTERN_100, PATTERN_101, PATTERN_110, PATTERN_111,
MODES, MODE_NUMBER, MODE_ALPHANUM, MODE_BYTE,
VERSION_AUTO,
M_NULL, M_DARKMODULE, M_DARKMODULE_LIGHT, M_DATA, M_FINDER, M_SEPARATOR, M_ALIGNMENT, M_TIMING,
M_FORMAT, M_VERSION, M_QUIETZONE, M_LOGO, M_FINDER_DOT, M_FINDER_DOT_LIGHT, IS_DARK,
M_DATA_DARK, M_FINDER_DARK, M_SEPARATOR_DARK, M_ALIGNMENT_DARK, M_TIMING_DARK,
M_FORMAT_DARK, M_VERSION_DARK, M_QUIETZONE_DARK, M_LOGO_DARK,
MATRIX_NEIGHBOUR_FLAGS, MATRIX_NEIGHBOURS,
DEFAULT_MODULE_VALUES, LAYERNAMES,
} from './Common/constants.js';
import BitBuffer from './Common/BitBuffer.js';
import EccLevel from './Common/EccLevel.js';
import MaskPattern from './Common/MaskPattern.js';
import Mode from './Common/Mode.js';
import Version from './Common/Version.js';
// Data
import AlphaNum from './Data/AlphaNum.js';
import Byte from './Data/Byte.js';
import Numeric from './Data/Numeric.js';
import QRCodeDataException from './Data/QRCodeDataException.js';
import QRData from './Data/QRData.js';
import QRDataModeInterface from './Data/QRDataModeInterface.js';
import QRMatrix from './Data/QRMatrix.js';
// Output
import QRCanvas from './Output/QRCanvas.js';
import QRCodeOutputException from './Output/QRCodeOutputException.js';
import QRMarkupSVG from './Output/QRMarkupSVG.js';
import QROutputAbstract from './Output/QROutputAbstract.js';
import QROutputInterface from './Output/QROutputInterface.js';
import QRStringText from './Output/QRStringText.js';
import QRStringJSON from './Output/QRStringJSON.js';
export {
QRCode,
QRCodeException,
QROptions,
BitBuffer,
EccLevel, ECC_L, ECC_M, ECC_Q, ECC_H,
MaskPattern, MASK_PATTERN_AUTO, PATTERNS, PATTERN_000, PATTERN_001, PATTERN_010,
PATTERN_011, PATTERN_100, PATTERN_101, PATTERN_110, PATTERN_111,
Mode, MODES, MODE_NUMBER, MODE_ALPHANUM, MODE_BYTE,
Version, VERSION_AUTO,
AlphaNum,
Byte,
Numeric,
QRCodeDataException,
QRData,
QRDataModeInterface,
QRMatrix, M_NULL, M_DARKMODULE, M_DARKMODULE_LIGHT, M_DATA, M_FINDER, M_SEPARATOR, M_ALIGNMENT, M_TIMING,
M_FORMAT, M_VERSION, M_QUIETZONE, M_LOGO, M_FINDER_DOT, M_FINDER_DOT_LIGHT, IS_DARK,
M_DATA_DARK, M_FINDER_DARK, M_SEPARATOR_DARK, M_ALIGNMENT_DARK, M_TIMING_DARK,
M_FORMAT_DARK, M_VERSION_DARK, M_QUIETZONE_DARK, M_LOGO_DARK, MATRIX_NEIGHBOUR_FLAGS, MATRIX_NEIGHBOURS,
QRCanvas,
QRCodeOutputException,
QRMarkupSVG,
QROutputAbstract,
QROutputInterface, DEFAULT_MODULE_VALUES, LAYERNAMES,
QRStringText,
QRStringJSON,
};