@liquid-js/qr-code-styling 3.0.0-2 → 3.0.0-4
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/README.md +1 -2
- package/lib/core/{QRCodeStyling.d.ts → qr-code-styling.d.ts} +16 -22
- package/lib/core/qr-svg.d.ts +31 -0
- package/lib/figures/corner-dot.d.ts +24 -0
- package/lib/figures/corner-square.d.ts +22 -0
- package/lib/figures/dot.d.ts +28 -0
- package/lib/index.d.ts +9 -5
- package/lib/kanji.js +1 -1
- package/lib/kanji.js.map +1 -1
- package/lib/node.d.ts +13 -6
- package/lib/qr-code-styling-node.js +891 -1539
- package/lib/qr-code-styling-node.js.map +1 -1
- package/lib/qr-code-styling.js +1 -1
- package/lib/qr-code-styling.js.map +1 -1
- package/lib/tools/{browserImageTools.d.ts → browser-image-tools.d.ts} +1 -2
- package/lib/tools/browser-utils.d.ts +18 -0
- package/lib/types/helper.d.ts +23 -0
- package/lib/types/qrcode.d.ts +64 -0
- package/lib/utils/canvas-options.d.ts +7 -0
- package/lib/utils/gradient.d.ts +26 -0
- package/lib/{tools → utils}/merge.d.ts +3 -1
- package/lib/{types/index.d.ts → utils/options.d.ts} +29 -151
- package/lib/{constants/errorCorrectionPercents.d.ts → utils/qrcode.d.ts} +2 -0
- package/lib/utils/svg.d.ts +2 -0
- package/package.json +1 -1
- package/lib/core/QROptions.d.ts +0 -32
- package/lib/core/QRSVG.d.ts +0 -58
- package/lib/figures/cornerDot/QRCornerDot.d.ts +0 -27
- package/lib/figures/cornerSquare/QRCornerSquare.d.ts +0 -25
- package/lib/figures/dot/QRDot.d.ts +0 -31
- package/lib/tools/browserUtils.d.ts +0 -11
- package/lib/tools/getMode.d.ts +0 -2
- package/lib/tools/sanitizeOptions.d.ts +0 -3
- /package/lib/{tools/calculateImageSize.d.ts → utils/image.d.ts} +0 -0
package/lib/node.d.ts
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { QRCodeStyling as _QRCodeStyling } from "./core/qr-code-styling.js";
|
|
2
|
+
import type * as _browserUtils from "./tools/browser-utils.js";
|
|
3
|
+
import { RecursivePartial } from "./types/helper.js";
|
|
4
|
+
import { Options } from "./utils/options.js";
|
|
5
|
+
export { type ExtensionFunction } from "./core/qr-code-styling.js";
|
|
6
|
+
export { FileExtension } from "./tools/browser-utils.js";
|
|
7
|
+
export { type RecursivePartial } from "./types/helper.js";
|
|
8
|
+
export { ErrorCorrectionLevel, Mode, TypeNumber } from "./types/qrcode.js";
|
|
9
|
+
export { type CanvasOptions } from "./utils/canvas-options.js";
|
|
10
|
+
export { GradientType, type Gradient } from "./utils/gradient.js";
|
|
11
|
+
export { CornerDotType, CornerSquareType, DotType, ShapeType, type Options } from "./utils/options.js";
|
|
12
|
+
export { ErrorCorrectionPercents } from "./utils/qrcode.js";
|
|
6
13
|
export declare const browserUtils: typeof _browserUtils | undefined;
|
|
7
14
|
export declare class QRCodeStyling extends _QRCodeStyling {
|
|
8
|
-
constructor(options:
|
|
15
|
+
constructor(options: RecursivePartial<Options>);
|
|
9
16
|
}
|