@progress/kendo-react-barcodes 13.3.0-develop.9 → 13.4.0-develop.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.
@@ -0,0 +1,31 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { DashType } from './dash-type.interface.js';
9
+ /**
10
+ * The appearance settings for the border lines.
11
+ */
12
+ export interface Border {
13
+ /**
14
+ * Sets the color of the border line. Accepts valid CSS color strings, including hex and rgb.
15
+ *
16
+ * @default "black"
17
+ */
18
+ color?: string;
19
+ /**
20
+ * Sets the dash type of the border line.
21
+ *
22
+ * @default "solid"
23
+ */
24
+ dashType?: DashType;
25
+ /**
26
+ * Sets the width of the border line in pixels.
27
+ *
28
+ * @default 0
29
+ */
30
+ width?: number;
31
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * The dash line type.
10
+ */
11
+ export type DashType = 'dash' | 'dashDot' | 'dot' | 'longDash' | 'longDashDot' | 'longDashDotDot' | 'solid';
@@ -0,0 +1,36 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * The margin size for each side.
10
+ */
11
+ export interface Margin {
12
+ /**
13
+ * Sets the top margin in pixels.
14
+ *
15
+ * @default 0
16
+ */
17
+ top?: number;
18
+ /**
19
+ * Sets the right margin in pixels.
20
+ *
21
+ * @default 0
22
+ */
23
+ right?: number;
24
+ /**
25
+ * Sets the bottom margin in pixels.
26
+ *
27
+ * @default 0
28
+ */
29
+ bottom?: number;
30
+ /**
31
+ * Sets the left margin in pixels.
32
+ *
33
+ * @default 0
34
+ */
35
+ left?: number;
36
+ }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * The padding size for each side.
10
+ */
11
+ export interface Padding {
12
+ /**
13
+ * Sets the top padding in pixels.
14
+ *
15
+ * @default 0
16
+ */
17
+ top?: number;
18
+ /**
19
+ * Sets the right padding in pixels.
20
+ *
21
+ * @default 0
22
+ */
23
+ right?: number;
24
+ /**
25
+ * Sets the bottom padding in pixels.
26
+ *
27
+ * @default 0
28
+ */
29
+ bottom?: number;
30
+ /**
31
+ * Sets the left padding in pixels.
32
+ *
33
+ * @default 0
34
+ */
35
+ left?: number;
36
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * The QR Code encoding modes.
10
+ */
11
+ export type QRCodeEncoding = 'ISO_8859_1' | 'UTF_8';
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * The QR Code error correction levels.
10
+ *
11
+ * * `"L"`—Approximately 7% of the codewords can be restored.
12
+ * * `"M"`—Approximately 15% of the codewords can be restored.
13
+ * * `"Q"`—Approximately 25% of the codewords can be restored.
14
+ * * `"H"`—Approximately 30% of the codewords can be restored.
15
+ */
16
+ export type QRCodeErrorCorrection = 'L' | 'M' | 'Q' | 'H';
@@ -0,0 +1,36 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * The image overlay configuration of the QR Code.
10
+ */
11
+ export interface QRCodeOverlay {
12
+ /**
13
+ * Sets the overlay height in pixels.
14
+ *
15
+ * @default undefined
16
+ */
17
+ height?: number;
18
+ /**
19
+ * Sets the source image for the overlay.
20
+ *
21
+ * Required only when `type` is set to `'image'`.
22
+ */
23
+ imageUrl?: string;
24
+ /**
25
+ * Sets the overlay type.
26
+ *
27
+ * @default "image"
28
+ */
29
+ type?: 'image' | 'swiss';
30
+ /**
31
+ * Sets the overlay width in pixels.
32
+ *
33
+ * @default undefined
34
+ */
35
+ width?: number;
36
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * Sets the rendering mode of the component.
10
+ *
11
+ * The supported values are:
12
+ * * `"canvas"`—Renders the component as a Canvas element.
13
+ * * `"svg"`—Renders the component as an inline SVG document.
14
+ */
15
+ export type RenderMode = 'svg' | 'canvas';
package/types.d.ts ADDED
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ export type { Margin } from './types/margin.interface.js';
9
+ export type { Padding } from './types/padding.interface.js';
10
+ export type { Border } from './types/border.interface.js';
11
+ export type { DashType } from './types/dash-type.interface.js';
12
+ export type { BarcodeText } from './types/barcode-text.js';
13
+ export type { BarcodeType } from './types/barcode-type.js';
14
+ export type { QRCodeEncoding } from './types/qrcode-encoding.js';
15
+ export type { QRCodeErrorCorrection } from './types/qrcode-error-correction.js';
16
+ export type { QRCodeOverlay } from './types/qrcode-overlay.js';
17
+ export type { RenderMode } from './types/render-mode.js';
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * @hidden
10
+ */
11
+ export declare const isOptionsChanged: (original: any, current: any) => boolean;