@liquid-js/qr-code-styling 2.4.0 → 2.4.1
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 -1
- package/lib/core/QRCodeStyling.d.ts +2 -2
- package/lib/core/QROptions.d.ts +1 -1
- package/lib/core/QRSVG.d.ts +2 -2
- package/lib/figures/cornerDot/QRCornerDot.d.ts +1 -1
- package/lib/figures/cornerSquare/QRCornerSquare.d.ts +1 -1
- package/lib/figures/dot/QRDot.d.ts +1 -1
- package/lib/index.d.ts +4 -4
- package/lib/node.d.ts +5 -5
- package/lib/qr-code-styling-node.js.map +1 -1
- package/lib/qr-code-styling.js.map +1 -1
- package/lib/tools/browserImageTools.d.ts +1 -1
- package/lib/tools/browserUtils.d.ts +2 -2
- package/lib/tools/getMode.d.ts +1 -1
- package/lib/tools/merge.d.ts +1 -1
- package/lib/tools/sanitizeOptions.d.ts +1 -1
- package/lib/types/index.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExtensionFunction, Options, QRCode } from "../types";
|
|
2
|
-
import { RequiredOptions } from "./QROptions";
|
|
1
|
+
import { ExtensionFunction, Options, QRCode } from "../types/index.js";
|
|
2
|
+
import { RequiredOptions } from "./QROptions.js";
|
|
3
3
|
export declare class QRCodeStyling {
|
|
4
4
|
/** @ignore */
|
|
5
5
|
_options: RequiredOptions;
|
package/lib/core/QROptions.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CanvasOptions, DotType, ErrorCorrectionLevel, Gradient, Mode, Options, ShapeType, TypeNumber } from "../types";
|
|
1
|
+
import { CanvasOptions, DotType, ErrorCorrectionLevel, Gradient, Mode, Options, ShapeType, TypeNumber } from "../types/index.js";
|
|
2
2
|
export interface RequiredOptions extends Options {
|
|
3
3
|
document: Document;
|
|
4
4
|
shape: ShapeType;
|
package/lib/core/QRSVG.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FilterFunction, Gradient, QRCode } from "../types";
|
|
2
|
-
import { RequiredOptions } from "./QROptions";
|
|
1
|
+
import { FilterFunction, Gradient, QRCode } from "../types/index.js";
|
|
2
|
+
import { RequiredOptions } from "./QROptions.js";
|
|
3
3
|
export declare class QRSVG {
|
|
4
4
|
/** @ignore */
|
|
5
5
|
_element: SVGElement;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BasicFigureDrawArgs, CornerDotType, DrawArgs, RotateFigureArgs } from "../../types";
|
|
1
|
+
import { BasicFigureDrawArgs, CornerDotType, DrawArgs, RotateFigureArgs } from "../../types/index.js";
|
|
2
2
|
export declare class QRCornerDot {
|
|
3
3
|
_element?: SVGElement;
|
|
4
4
|
_svg: SVGElement;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CornerSquareType, DrawArgs, BasicFigureDrawArgs, RotateFigureArgs } from "../../types";
|
|
1
|
+
import { CornerSquareType, DrawArgs, BasicFigureDrawArgs, RotateFigureArgs } from "../../types/index.js";
|
|
2
2
|
export declare class QRCornerSquare {
|
|
3
3
|
_element?: SVGElement;
|
|
4
4
|
_svg: SVGElement;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DotType, GetNeighbor, DrawArgs, BasicFigureDrawArgs, RotateFigureArgs } from "../../types";
|
|
1
|
+
import { DotType, GetNeighbor, DrawArgs, BasicFigureDrawArgs, RotateFigureArgs } from "../../types/index.js";
|
|
2
2
|
export declare class QRDot {
|
|
3
3
|
_element?: SVGElement;
|
|
4
4
|
_svg: SVGElement;
|
package/lib/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ErrorCorrectionPercents } from "./constants/errorCorrectionPercents";
|
|
2
|
-
import { QRCodeStyling } from "./core/QRCodeStyling";
|
|
3
|
-
import * as _browserUtils from "./tools/browserUtils";
|
|
1
|
+
import { ErrorCorrectionPercents } from "./constants/errorCorrectionPercents.js";
|
|
2
|
+
import { QRCodeStyling } from "./core/QRCodeStyling.js";
|
|
3
|
+
import * as _browserUtils from "./tools/browserUtils.js";
|
|
4
4
|
export declare const browserUtils: typeof _browserUtils | undefined;
|
|
5
|
-
export * from "./types";
|
|
5
|
+
export * from "./types/index.js";
|
|
6
6
|
export { ErrorCorrectionPercents, QRCodeStyling };
|
package/lib/node.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { RequiredOptions } from "./core/QROptions";
|
|
2
|
-
import { QRCodeStyling as _QRCodeStyling } from "./index";
|
|
3
|
-
export { ErrorCorrectionPercents } from "./constants/errorCorrectionPercents";
|
|
4
|
-
export * from "./types";
|
|
5
|
-
import type * as _browserUtils from "./tools/browserUtils";
|
|
1
|
+
import { RequiredOptions } from "./core/QROptions.js";
|
|
2
|
+
import { QRCodeStyling as _QRCodeStyling } from "./index.js";
|
|
3
|
+
export { ErrorCorrectionPercents } from "./constants/errorCorrectionPercents.js";
|
|
4
|
+
export * from "./types/index.js";
|
|
5
|
+
import type * as _browserUtils from "./tools/browserUtils.js";
|
|
6
6
|
export declare const browserUtils: typeof _browserUtils | undefined;
|
|
7
7
|
export declare class QRCodeStyling extends _QRCodeStyling {
|
|
8
8
|
constructor(options: RequiredOptions);
|