@progress/kendo-angular-barcodes 24.2.2 → 25.0.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.
- package/fesm2022/progress-kendo-angular-barcodes.mjs +23 -23
- package/index.d.ts +688 -9
- package/package-metadata.mjs +2 -2
- package/package.json +9 -9
- package/schematics/ngAdd/index.js +1 -1
- package/barcode-validator.d.ts +0 -30
- package/barcode.component.d.ts +0 -109
- package/barcode.module.d.ts +0 -34
- package/barcodes.module.d.ts +0 -35
- package/base.component.d.ts +0 -57
- package/chart-types/barcode-types.d.ts +0 -105
- package/chart-types/field-types.d.ts +0 -75
- package/chart-types/qrcode-types.d.ts +0 -114
- package/chart-types.d.ts +0 -7
- package/directives.d.ts +0 -18
- package/package-metadata.d.ts +0 -9
- package/qrcode-validator.d.ts +0 -27
- package/qrcode.component.d.ts +0 -108
- package/qrcode.module.d.ts +0 -33
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "
|
|
10
|
+
"publishDate": 1783680064,
|
|
11
|
+
"version": "25.0.0-develop.1",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-barcodes",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "25.0.0-develop.1",
|
|
4
4
|
"description": "Kendo UI Angular Barcodes",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -19,24 +19,24 @@
|
|
|
19
19
|
"package": {
|
|
20
20
|
"productName": "Kendo UI for Angular",
|
|
21
21
|
"productCode": "KENDOUIANGULAR",
|
|
22
|
-
"publishDate":
|
|
22
|
+
"publishDate": 1783680064,
|
|
23
23
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@angular/animations": "
|
|
28
|
-
"@angular/common": "
|
|
29
|
-
"@angular/core": "
|
|
30
|
-
"@angular/forms": "
|
|
31
|
-
"@angular/platform-browser": "
|
|
32
|
-
"@progress/kendo-angular-common": "
|
|
27
|
+
"@angular/animations": "20 - 22",
|
|
28
|
+
"@angular/common": "20 - 22",
|
|
29
|
+
"@angular/core": "20 - 22",
|
|
30
|
+
"@angular/forms": "20 - 22",
|
|
31
|
+
"@angular/platform-browser": "20 - 22",
|
|
32
|
+
"@progress/kendo-angular-common": "25.0.0-develop.1",
|
|
33
33
|
"@progress/kendo-drawing": "^1.25.0",
|
|
34
34
|
"@progress/kendo-licensing": "^1.11.0",
|
|
35
35
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"tslib": "^2.3.1",
|
|
39
|
-
"@progress/kendo-angular-schematics": "
|
|
39
|
+
"@progress/kendo-angular-schematics": "25.0.0-develop.1",
|
|
40
40
|
"@progress/kendo-charts": "2.12.2"
|
|
41
41
|
},
|
|
42
42
|
"schematics": "./schematics/collection.json",
|
|
@@ -14,7 +14,7 @@ function default_1(options) {
|
|
|
14
14
|
package: 'barcodes',
|
|
15
15
|
// Additional dependencies to install (required by npm 6.x)
|
|
16
16
|
peerDependencies: {
|
|
17
|
-
// '@progress/kendo-angular-foo': '
|
|
17
|
+
// '@progress/kendo-angular-foo': '25.0.0-develop.1'
|
|
18
18
|
} });
|
|
19
19
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
20
20
|
}
|
package/barcode-validator.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ValidatorFn } from '@angular/forms';
|
|
6
|
-
import { geometry } from '@progress/kendo-drawing';
|
|
7
|
-
import { BarcodeType } from './chart-types';
|
|
8
|
-
/**
|
|
9
|
-
* Creates a validator for a specific Barcode type.
|
|
10
|
-
*
|
|
11
|
-
* Use this function to validate a Barcode value for a given `BarcodeType`.
|
|
12
|
-
*
|
|
13
|
-
* @param type Specifies the type of the Barcode.
|
|
14
|
-
* @param size Specifies the size of the barcode, excluding the text label, padding, and border. This parameter is optional.
|
|
15
|
-
* @returns Returns a validator function. The function returns an error map with the `barcode` property if validation fails. Otherwise, it returns `null` if valid.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```typescript
|
|
19
|
-
* const control = new FormControl('1234', createBarcodeValidator('EAN8'));
|
|
20
|
-
* console.log(control.errors);
|
|
21
|
-
* // {
|
|
22
|
-
* // barcode: {
|
|
23
|
-
* // message: 'The value of the "EAN13" encoding should be 12 symbols',
|
|
24
|
-
* // value: '1234',
|
|
25
|
-
* // type: 'EAN13'
|
|
26
|
-
* // }
|
|
27
|
-
* // }
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
|
-
export declare const createBarcodeValidator: (type: BarcodeType, size?: geometry.Size) => ValidatorFn;
|
package/barcode.component.d.ts
DELETED
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ElementRef, NgZone, Renderer2 } from '@angular/core';
|
|
6
|
-
import { Barcode, BarcodeOptions } from '@progress/kendo-charts';
|
|
7
|
-
import { BaseComponent } from './base.component';
|
|
8
|
-
import { BarcodeText, BarcodeType, Border, Padding, RenderMode } from './chart-types';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* Represents the [Kendo UI Barcode component for Angular](https://www.telerik.com/kendo-angular-ui/components/barcodes/barcode).
|
|
12
|
-
*
|
|
13
|
-
* Use this component to display a barcode in your Angular application.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```typescript
|
|
17
|
-
* import { Component } from '@angular/core';
|
|
18
|
-
*
|
|
19
|
-
* @Component({
|
|
20
|
-
* selector: 'my-app',
|
|
21
|
-
* template: `
|
|
22
|
-
* <kendo-barcode type="EAN8" value="1234567">
|
|
23
|
-
* </kendo-barcode>
|
|
24
|
-
* `
|
|
25
|
-
* })
|
|
26
|
-
* export class AppComponent {
|
|
27
|
-
* }
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
|
-
export declare class BarcodeComponent extends BaseComponent {
|
|
31
|
-
protected element: ElementRef;
|
|
32
|
-
protected renderer: Renderer2;
|
|
33
|
-
protected ngZone: NgZone;
|
|
34
|
-
/**
|
|
35
|
-
* Sets the background color of the Barcode. Accepts any valid CSS color string, such as hex or rgb.
|
|
36
|
-
*
|
|
37
|
-
* @default "white"
|
|
38
|
-
*/
|
|
39
|
-
background?: string;
|
|
40
|
-
/**
|
|
41
|
-
* Configures the border of the Barcode.
|
|
42
|
-
*/
|
|
43
|
-
border?: Border;
|
|
44
|
-
/**
|
|
45
|
-
* Shows the checksum digit next to the value in the text area when set to `true`.
|
|
46
|
-
*
|
|
47
|
-
* @default false
|
|
48
|
-
*/
|
|
49
|
-
checksum?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* Sets the color of the Barcode. Accepts any valid CSS color string, such as hex or rgb.
|
|
52
|
-
*
|
|
53
|
-
* @default "black"
|
|
54
|
-
*/
|
|
55
|
-
color?: string;
|
|
56
|
-
/**
|
|
57
|
-
* Sets the height of the Barcode in pixels.
|
|
58
|
-
*
|
|
59
|
-
* You can also set the Barcode dimensions using CSS.
|
|
60
|
-
*/
|
|
61
|
-
height?: number;
|
|
62
|
-
/**
|
|
63
|
-
* Sets the padding of the Barcode. Use a number to set all paddings, or a `Padding` object for the individual sides.
|
|
64
|
-
*
|
|
65
|
-
* @default 0
|
|
66
|
-
*/
|
|
67
|
-
padding?: Padding | number;
|
|
68
|
-
/**
|
|
69
|
-
* Sets the rendering mode of the Barcode.
|
|
70
|
-
*
|
|
71
|
-
* Use `"canvas"` to render as a Canvas element or `"svg"` to render as an inline SVG.
|
|
72
|
-
*
|
|
73
|
-
* @default "svg"
|
|
74
|
-
*/
|
|
75
|
-
renderAs?: RenderMode;
|
|
76
|
-
/**
|
|
77
|
-
* Configures the Barcode text label.
|
|
78
|
-
*/
|
|
79
|
-
text?: BarcodeText;
|
|
80
|
-
/**
|
|
81
|
-
* Sets the symbology (encoding) for the Barcode.
|
|
82
|
-
*
|
|
83
|
-
* @default "Code39"
|
|
84
|
-
*/
|
|
85
|
-
type: BarcodeType;
|
|
86
|
-
/**
|
|
87
|
-
* Sets the value of the Barcode.
|
|
88
|
-
*/
|
|
89
|
-
value: number | string;
|
|
90
|
-
/**
|
|
91
|
-
* Sets the width of the Barcode in pixels.
|
|
92
|
-
*
|
|
93
|
-
* You can also set the Barcode dimensions using CSS.
|
|
94
|
-
*/
|
|
95
|
-
width?: number;
|
|
96
|
-
/**
|
|
97
|
-
* Limits how often the Barcode resizes automatically. Sets the maximum number of redraws per second when the container size changes.
|
|
98
|
-
* Set to `0` to disable automatic resizing.
|
|
99
|
-
*
|
|
100
|
-
* @default 10
|
|
101
|
-
*/
|
|
102
|
-
resizeRateLimit: number;
|
|
103
|
-
protected get options(): BarcodeOptions;
|
|
104
|
-
constructor(element: ElementRef, renderer: Renderer2, ngZone: NgZone);
|
|
105
|
-
protected createInstance(element: any, options: any): Barcode;
|
|
106
|
-
protected onError(error: Error): void;
|
|
107
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BarcodeComponent, never>;
|
|
108
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BarcodeComponent, "kendo-barcode", ["kendoBarcode"], { "background": { "alias": "background"; "required": false; }; "border": { "alias": "border"; "required": false; }; "checksum": { "alias": "checksum"; "required": false; }; "color": { "alias": "color"; "required": false; }; "height": { "alias": "height"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "renderAs": { "alias": "renderAs"; "required": false; }; "text": { "alias": "text"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; "width": { "alias": "width"; "required": false; }; "resizeRateLimit": { "alias": "resizeRateLimit"; "required": false; }; }, {}, never, never, true, never>;
|
|
109
|
-
}
|
package/barcode.module.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./barcode.component";
|
|
7
|
-
/**
|
|
8
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the Barcode component.
|
|
9
|
-
*
|
|
10
|
-
* Use this module to add Barcode support to your application.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
*
|
|
14
|
-
* ```ts
|
|
15
|
-
* // Import the BarcodeModule.
|
|
16
|
-
* import { BarcodeModule } from '@progress/kendo-angular-barcodes';
|
|
17
|
-
*
|
|
18
|
-
* import { NgModule } from '@angular/core';
|
|
19
|
-
* import { BrowserModule } from '@angular/platform-browser';
|
|
20
|
-
* import { AppComponent } from './app.component';
|
|
21
|
-
*
|
|
22
|
-
* @NgModule({
|
|
23
|
-
* declarations: [AppComponent],
|
|
24
|
-
* imports: [BrowserModule, BarcodeModule],
|
|
25
|
-
* bootstrap: [AppComponent]
|
|
26
|
-
* })
|
|
27
|
-
* export class AppModule {}
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
|
-
export declare class BarcodeModule {
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BarcodeModule, never>;
|
|
32
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BarcodeModule, never, [typeof i1.BarcodeComponent], [typeof i1.BarcodeComponent]>;
|
|
33
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<BarcodeModule>;
|
|
34
|
-
}
|
package/barcodes.module.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./barcode.component";
|
|
7
|
-
import * as i2 from "./qrcode.component";
|
|
8
|
-
/**
|
|
9
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the Barcode and QR Code components.
|
|
10
|
-
*
|
|
11
|
-
* Use this module to add Barcode and QR Code features to your application.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
*
|
|
15
|
-
* ```ts
|
|
16
|
-
* // Import the Barcodes module.
|
|
17
|
-
* import { BarcodesModule } from '@progress/kendo-angular-barcodes';
|
|
18
|
-
*
|
|
19
|
-
* import { NgModule } from '@angular/core';
|
|
20
|
-
* import { BrowserModule } from '@angular/platform-browser';
|
|
21
|
-
* import { AppComponent } from './app.component';
|
|
22
|
-
*
|
|
23
|
-
* @NgModule({
|
|
24
|
-
* declarations: [AppComponent],
|
|
25
|
-
* imports: [BrowserModule, BarcodesModule],
|
|
26
|
-
* bootstrap: [AppComponent]
|
|
27
|
-
* })
|
|
28
|
-
* export class AppModule {}
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
export declare class BarcodesModule {
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BarcodesModule, never>;
|
|
33
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BarcodesModule, never, [typeof i1.BarcodeComponent, typeof i2.QRCodeComponent], [typeof i1.BarcodeComponent, typeof i2.QRCodeComponent]>;
|
|
34
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<BarcodesModule>;
|
|
35
|
-
}
|
package/base.component.d.ts
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { AfterViewInit, ElementRef, NgZone, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
|
|
6
|
-
import { Group, ImageExportOptions, SVGExportOptions } from '@progress/kendo-drawing';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare abstract class BaseComponent implements OnChanges, AfterViewInit {
|
|
12
|
-
protected element: ElementRef;
|
|
13
|
-
protected renderer: Renderer2;
|
|
14
|
-
protected ngZone: NgZone;
|
|
15
|
-
resizeRateLimit: number;
|
|
16
|
-
protected instance: any;
|
|
17
|
-
protected abstract get options(): any;
|
|
18
|
-
protected get autoResize(): boolean;
|
|
19
|
-
protected get canRender(): boolean;
|
|
20
|
-
constructor(element: ElementRef, renderer: Renderer2, ngZone: NgZone);
|
|
21
|
-
ngAfterViewInit(): void;
|
|
22
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
23
|
-
/**
|
|
24
|
-
* Detects the size of the container and redraws the component.
|
|
25
|
-
* Resizing is automatic unless you set the `resizeRateLimit` option to `0`.
|
|
26
|
-
*/
|
|
27
|
-
resize(): void;
|
|
28
|
-
/**
|
|
29
|
-
* @hidden
|
|
30
|
-
*/
|
|
31
|
-
onResize(): void;
|
|
32
|
-
/**
|
|
33
|
-
* Exports the component as an image. The export operation is asynchronous and returns a promise.
|
|
34
|
-
*
|
|
35
|
-
* @param {ImageExportOptions} options - The parameters for the exported image.
|
|
36
|
-
* @returns {Promise<string>} - A promise that will be resolved with a PNG image encoded as a Data URI.
|
|
37
|
-
*/
|
|
38
|
-
exportImage(options?: ImageExportOptions): Promise<string>;
|
|
39
|
-
/**
|
|
40
|
-
* Exports the component as an SVG document. The export operation is asynchronous and returns a promise.
|
|
41
|
-
*
|
|
42
|
-
* @param options - The parameters for the exported file.
|
|
43
|
-
* @returns - A promise that will be resolved with an SVG document that is encoded as a Data URI.
|
|
44
|
-
*/
|
|
45
|
-
exportSVG(options?: SVGExportOptions): Promise<string>;
|
|
46
|
-
/**
|
|
47
|
-
* Exports the component as a Drawing Group.
|
|
48
|
-
*
|
|
49
|
-
* @returns - The exported Group.
|
|
50
|
-
*/
|
|
51
|
-
exportVisual(): Group;
|
|
52
|
-
protected abstract createInstance(element: any, options: any): any;
|
|
53
|
-
protected refresh(): void;
|
|
54
|
-
protected isDevMode(): boolean;
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, never>;
|
|
56
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseComponent, never, never, { "resizeRateLimit": { "alias": "resizeRateLimit"; "required": false; }; }, {}, never, never, true, never>;
|
|
57
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Border, Margin, Padding, RenderMode } from './field-types';
|
|
6
|
-
/**
|
|
7
|
-
* Lists the supported symbologies (encodings) for the Barcode component.
|
|
8
|
-
*/
|
|
9
|
-
export type BarcodeType = 'EAN8' | 'EAN13' | 'UPCE' | 'UPCA' | 'Code11' | 'Code39' | 'Code39Extended' | 'Code93' | 'Code93Extended' | 'Code128' | 'Code128A' | 'Code128B' | 'Code128C' | 'GS1-128' | 'MSImod10' | 'MSImod11' | 'MSImod1010' | 'MSImod1110' | 'POSTNET';
|
|
10
|
-
/**
|
|
11
|
-
* Represents the Barcode text label.
|
|
12
|
-
*/
|
|
13
|
-
export interface BarcodeText {
|
|
14
|
-
/**
|
|
15
|
-
* Sets the color of the text. Accepts any valid CSS color string, including hex and rgb.
|
|
16
|
-
*
|
|
17
|
-
* @default "black"
|
|
18
|
-
*/
|
|
19
|
-
color?: string;
|
|
20
|
-
/**
|
|
21
|
-
* Sets the font of the text.
|
|
22
|
-
*
|
|
23
|
-
* @default "16px Consolas, Monaco, Sans Mono, monospace, sans-serif"
|
|
24
|
-
*/
|
|
25
|
-
font?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Sets the margin of the text. A numeric value sets all margins.
|
|
28
|
-
*
|
|
29
|
-
* @default 0
|
|
30
|
-
*/
|
|
31
|
-
margin?: Margin | number;
|
|
32
|
-
/**
|
|
33
|
-
* Shows or hides the Barcode text label.
|
|
34
|
-
*
|
|
35
|
-
* If you set this property to `false`, the Barcode does not display the value as text below the barcode lines.
|
|
36
|
-
*
|
|
37
|
-
* @default true
|
|
38
|
-
*/
|
|
39
|
-
visible?: boolean;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Represents the Barcode options.
|
|
43
|
-
*/
|
|
44
|
-
export interface BarcodeOptions {
|
|
45
|
-
/**
|
|
46
|
-
* Sets the background color of the Barcode. Accepts a valid CSS color string, including hex and rgb.
|
|
47
|
-
*
|
|
48
|
-
* @default "white"
|
|
49
|
-
*/
|
|
50
|
-
background?: string;
|
|
51
|
-
/**
|
|
52
|
-
* Sets the border of the Barcode.
|
|
53
|
-
*/
|
|
54
|
-
border?: Border;
|
|
55
|
-
/**
|
|
56
|
-
* Shows the checksum digit next to the value in the text area.
|
|
57
|
-
*
|
|
58
|
-
* @default true
|
|
59
|
-
*/
|
|
60
|
-
checksum?: boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Sets the color of the Barcode. Accepts a valid CSS color string, including hex and rgb.
|
|
63
|
-
*
|
|
64
|
-
* @default "black"
|
|
65
|
-
*/
|
|
66
|
-
color?: string;
|
|
67
|
-
/**
|
|
68
|
-
* Sets the height of the Barcode in pixels.
|
|
69
|
-
*
|
|
70
|
-
* @default 100
|
|
71
|
-
*/
|
|
72
|
-
height?: number;
|
|
73
|
-
/**
|
|
74
|
-
* Sets the padding of the Barcode. A numeric value sets all paddings.
|
|
75
|
-
*
|
|
76
|
-
* @default 0
|
|
77
|
-
*/
|
|
78
|
-
padding?: Padding | number;
|
|
79
|
-
/**
|
|
80
|
-
* Sets the preferred rendering mode of the Barcode.
|
|
81
|
-
*
|
|
82
|
-
* @default "svg"
|
|
83
|
-
*/
|
|
84
|
-
renderAs?: RenderMode;
|
|
85
|
-
/**
|
|
86
|
-
* Configures the Barcode text label.
|
|
87
|
-
*/
|
|
88
|
-
text?: BarcodeText;
|
|
89
|
-
/**
|
|
90
|
-
* Sets the symbology (encoding) the Barcode uses.
|
|
91
|
-
*
|
|
92
|
-
* @default "Code39"
|
|
93
|
-
*/
|
|
94
|
-
type: BarcodeType;
|
|
95
|
-
/**
|
|
96
|
-
* Sets the value of the Barcode.
|
|
97
|
-
*/
|
|
98
|
-
value: number | string;
|
|
99
|
-
/**
|
|
100
|
-
* Sets the width of the Barcode in pixels.
|
|
101
|
-
*
|
|
102
|
-
* @default 300
|
|
103
|
-
*/
|
|
104
|
-
width?: number;
|
|
105
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* Lists the dash line types.
|
|
7
|
-
*/
|
|
8
|
-
export type DashType = 'dash' | 'dashDot' | 'dot' | 'longDash' | 'longDashDot' | 'longDashDotDot' | 'solid';
|
|
9
|
-
/**
|
|
10
|
-
* Represents the appearance settings for border lines.
|
|
11
|
-
*/
|
|
12
|
-
export interface Border {
|
|
13
|
-
/**
|
|
14
|
-
* Sets the color of the border line. Accepts a valid CSS color string, including hex and rgb.
|
|
15
|
-
*/
|
|
16
|
-
color?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Sets the dash type of the border line.
|
|
19
|
-
*/
|
|
20
|
-
dashType?: DashType;
|
|
21
|
-
/**
|
|
22
|
-
* Sets the width of the border line in pixels.
|
|
23
|
-
*/
|
|
24
|
-
width?: number;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Represents the margin options for each side.
|
|
28
|
-
*/
|
|
29
|
-
export interface Margin {
|
|
30
|
-
/**
|
|
31
|
-
* Sets the top margin in pixels.
|
|
32
|
-
*/
|
|
33
|
-
top?: number;
|
|
34
|
-
/**
|
|
35
|
-
* Sets the right margin in pixels.
|
|
36
|
-
*/
|
|
37
|
-
right?: number;
|
|
38
|
-
/**
|
|
39
|
-
* Sets the bottom margin in pixels.
|
|
40
|
-
*/
|
|
41
|
-
bottom?: number;
|
|
42
|
-
/**
|
|
43
|
-
* Sets the left margin in pixels.
|
|
44
|
-
*/
|
|
45
|
-
left?: number;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Represents the padding options for each side.
|
|
49
|
-
*/
|
|
50
|
-
export interface Padding {
|
|
51
|
-
/**
|
|
52
|
-
* Sets the top padding in pixels.
|
|
53
|
-
*/
|
|
54
|
-
top?: number;
|
|
55
|
-
/**
|
|
56
|
-
* Sets the right padding in pixels.
|
|
57
|
-
*/
|
|
58
|
-
right?: number;
|
|
59
|
-
/**
|
|
60
|
-
* Sets the bottom padding in pixels.
|
|
61
|
-
*/
|
|
62
|
-
bottom?: number;
|
|
63
|
-
/**
|
|
64
|
-
* Sets the left padding in pixels.
|
|
65
|
-
*/
|
|
66
|
-
left?: number;
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Sets the rendering mode of the component.
|
|
70
|
-
*
|
|
71
|
-
* The supported values are:
|
|
72
|
-
* * `"canvas"`—Renders the component as a Canvas element.
|
|
73
|
-
* * `"svg"`—Renders the component as an inline SVG document.
|
|
74
|
-
*/
|
|
75
|
-
export type RenderMode = 'svg' | 'canvas';
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Border, Padding, RenderMode } from './field-types';
|
|
6
|
-
/**
|
|
7
|
-
* Lists the QR Code encoding modes.
|
|
8
|
-
*
|
|
9
|
-
* The possible values are:
|
|
10
|
-
* `"ISO_8859_1"`—Supports all characters from the [ISO/IEC 8859-1](https://en.wikipedia.org/wiki/ISO/IEC_8859-1) character set.
|
|
11
|
-
* `"UTF_8"`—Supports all [Unicode](https://en.wikipedia.org/wiki/List_of_Unicode_characters) characters.
|
|
12
|
-
*/
|
|
13
|
-
export type QRCodeEncoding = 'ISO_8859_1' | 'UTF_8';
|
|
14
|
-
/**
|
|
15
|
-
* Lists the QR Code error correction levels.
|
|
16
|
-
*
|
|
17
|
-
* * `"L"`—Approximately 7% of the codewords can be restored.
|
|
18
|
-
* * `"M"`—Approximately 15% of the codewords can be restored.
|
|
19
|
-
* * `"Q"`—Approximately 25% of the codewords can be restored.
|
|
20
|
-
* * `"H"`—Approximately 30% of the codewords can be restored.
|
|
21
|
-
*/
|
|
22
|
-
export type QRCodeErrorCorrection = 'L' | 'M' | 'Q' | 'H';
|
|
23
|
-
/**
|
|
24
|
-
* Provides the image overlay options for the QR Code.
|
|
25
|
-
*/
|
|
26
|
-
export interface QRCodeOverlay {
|
|
27
|
-
/**
|
|
28
|
-
* Sets the overlay height in pixels.
|
|
29
|
-
*/
|
|
30
|
-
height?: number;
|
|
31
|
-
/**
|
|
32
|
-
* Sets the source image for the overlay.
|
|
33
|
-
*
|
|
34
|
-
* Required only when `type` is set to `'image'`.
|
|
35
|
-
*/
|
|
36
|
-
imageUrl?: string;
|
|
37
|
-
/**
|
|
38
|
-
* Sets the overlay type.
|
|
39
|
-
*
|
|
40
|
-
* @default 'image'
|
|
41
|
-
*/
|
|
42
|
-
type?: 'image' | 'swiss';
|
|
43
|
-
/**
|
|
44
|
-
* Sets the overlay width in pixels.
|
|
45
|
-
*/
|
|
46
|
-
width?: number;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Provides the QR Code options.
|
|
50
|
-
*/
|
|
51
|
-
export interface QRCodeOptions {
|
|
52
|
-
/**
|
|
53
|
-
* Sets the background color of the QR Code. Accepts a valid CSS color string, including hex and rgb.
|
|
54
|
-
*
|
|
55
|
-
* @default "white"
|
|
56
|
-
*/
|
|
57
|
-
background?: string;
|
|
58
|
-
/**
|
|
59
|
-
* Sets the border of the QR Code.
|
|
60
|
-
*/
|
|
61
|
-
border?: Border;
|
|
62
|
-
/**
|
|
63
|
-
* Sets the color of the QR Code. Accepts a valid CSS color string, including hex and rgb.
|
|
64
|
-
*
|
|
65
|
-
* @default "black"
|
|
66
|
-
*/
|
|
67
|
-
color?: string;
|
|
68
|
-
/**
|
|
69
|
-
* Sets the encoding mode used to encode the value.
|
|
70
|
-
*
|
|
71
|
-
* > **Important** The UTF-8 encoding is not included in the specifications and is not supported by all readers.
|
|
72
|
-
*
|
|
73
|
-
* @default "ISO_8859_1"
|
|
74
|
-
*/
|
|
75
|
-
encoding?: QRCodeEncoding;
|
|
76
|
-
/**
|
|
77
|
-
* Sets the error correction level to use.
|
|
78
|
-
*
|
|
79
|
-
* @default "L"
|
|
80
|
-
*/
|
|
81
|
-
errorCorrection?: QRCodeErrorCorrection;
|
|
82
|
-
/**
|
|
83
|
-
* Sets an optional image overlay that is placed over the QR Code.
|
|
84
|
-
*
|
|
85
|
-
* > **Note** Always test if the code reads correctly with the applied overlay.
|
|
86
|
-
* > Depending on the length of the value and the size of the overlay, you might need to raise the `errorCorrection` level to `"M"` or `"H"`.
|
|
87
|
-
*/
|
|
88
|
-
overlay?: QRCodeOverlay;
|
|
89
|
-
/**
|
|
90
|
-
* Sets the padding of the QR Code. A numeric value sets all paddings.
|
|
91
|
-
*
|
|
92
|
-
* @default 0
|
|
93
|
-
*/
|
|
94
|
-
padding?: Padding | number;
|
|
95
|
-
/**
|
|
96
|
-
* Sets the preferred rendering mode of the QR Code.
|
|
97
|
-
*
|
|
98
|
-
* @default "svg"
|
|
99
|
-
*/
|
|
100
|
-
renderAs?: RenderMode;
|
|
101
|
-
/**
|
|
102
|
-
* Sets the size of a QR Code. Numeric values are treated as pixels.
|
|
103
|
-
*
|
|
104
|
-
* If you do not specify a size, the size is determined from the element width and height.
|
|
105
|
-
* If the element has width or height of zero, a default value of 200 pixels is used.
|
|
106
|
-
*
|
|
107
|
-
* @default "200px"
|
|
108
|
-
*/
|
|
109
|
-
size?: number | string;
|
|
110
|
-
/**
|
|
111
|
-
* Sets the value of the QR Code.
|
|
112
|
-
*/
|
|
113
|
-
value: number | string;
|
|
114
|
-
}
|
package/chart-types.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
export * from './chart-types/barcode-types';
|
|
6
|
-
export * from './chart-types/qrcode-types';
|
|
7
|
-
export * from './chart-types/field-types';
|
package/directives.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { BarcodeComponent } from "./barcode.component";
|
|
6
|
-
import { QRCodeComponent } from "./qrcode.component";
|
|
7
|
-
/**
|
|
8
|
-
* Use this utility array to access all Barcode related components and directives in a standalone Angular component.
|
|
9
|
-
*/
|
|
10
|
-
export declare const KENDO_BARCODE: readonly [typeof BarcodeComponent];
|
|
11
|
-
/**
|
|
12
|
-
* Use this utility array to access all QRCode related components and directives in a standalone Angular component.
|
|
13
|
-
*/
|
|
14
|
-
export declare const KENDO_QRCODE: readonly [typeof QRCodeComponent];
|
|
15
|
-
/**
|
|
16
|
-
* Use this utility array to access all `@progress/kendo-angular-barcodes` related components and directives in a standalone Angular component.
|
|
17
|
-
*/
|
|
18
|
-
export declare const KENDO_BARCODES: readonly [typeof BarcodeComponent, typeof QRCodeComponent];
|
package/package-metadata.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { type PackageMetadata } from '@progress/kendo-licensing';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare const packageMetadata: PackageMetadata;
|