@progress/kendo-angular-barcodes 0.1.0

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.
Files changed (66) hide show
  1. package/LICENSE.md +11 -0
  2. package/NOTICE.txt +614 -0
  3. package/README.md +31 -0
  4. package/dist/cdn/js/kendo-angular-barcodes.js +20 -0
  5. package/dist/cdn/main.js +5 -0
  6. package/dist/es/barcode.component.js +139 -0
  7. package/dist/es/barcode.module.js +52 -0
  8. package/dist/es/barcodes.module.js +50 -0
  9. package/dist/es/base.component.js +114 -0
  10. package/dist/es/chart-types/barcode-types.js +4 -0
  11. package/dist/es/chart-types/field-types.js +4 -0
  12. package/dist/es/chart-types/qrcode-types.js +4 -0
  13. package/dist/es/chart-types.js +4 -0
  14. package/dist/es/index.js +9 -0
  15. package/dist/es/main.js +9 -0
  16. package/dist/es/package-metadata.js +15 -0
  17. package/dist/es/qrcode.component.js +137 -0
  18. package/dist/es/qrcode.module.js +52 -0
  19. package/dist/es2015/barcode.component.d.ts +311 -0
  20. package/dist/es2015/barcode.component.js +134 -0
  21. package/dist/es2015/barcode.module.d.ts +37 -0
  22. package/dist/es2015/barcode.module.js +49 -0
  23. package/dist/es2015/barcodes.module.d.ts +37 -0
  24. package/dist/es2015/barcodes.module.js +47 -0
  25. package/dist/es2015/base.component.d.ts +54 -0
  26. package/dist/es2015/base.component.js +102 -0
  27. package/dist/es2015/chart-types/barcode-types.d.ts +109 -0
  28. package/dist/es2015/chart-types/barcode-types.js +4 -0
  29. package/dist/es2015/chart-types/field-types.d.ts +59 -0
  30. package/dist/es2015/chart-types/field-types.js +4 -0
  31. package/dist/es2015/chart-types/qrcode-types.d.ts +124 -0
  32. package/dist/es2015/chart-types/qrcode-types.js +4 -0
  33. package/dist/es2015/chart-types.d.ts +7 -0
  34. package/dist/es2015/chart-types.js +4 -0
  35. package/dist/es2015/index.d.ts +9 -0
  36. package/dist/es2015/index.js +9 -0
  37. package/dist/es2015/index.metadata.json +1 -0
  38. package/dist/es2015/main.d.ts +10 -0
  39. package/dist/es2015/main.js +9 -0
  40. package/dist/es2015/package-metadata.d.ts +9 -0
  41. package/dist/es2015/package-metadata.js +15 -0
  42. package/dist/es2015/qrcode.component.d.ts +288 -0
  43. package/dist/es2015/qrcode.component.js +132 -0
  44. package/dist/es2015/qrcode.module.d.ts +37 -0
  45. package/dist/es2015/qrcode.module.js +49 -0
  46. package/dist/fesm2015/index.js +492 -0
  47. package/dist/fesm5/index.js +522 -0
  48. package/dist/npm/barcode.component.js +141 -0
  49. package/dist/npm/barcode.module.js +54 -0
  50. package/dist/npm/barcodes.module.js +52 -0
  51. package/dist/npm/base.component.js +116 -0
  52. package/dist/npm/chart-types/barcode-types.js +6 -0
  53. package/dist/npm/chart-types/field-types.js +6 -0
  54. package/dist/npm/chart-types/qrcode-types.js +6 -0
  55. package/dist/npm/chart-types.js +6 -0
  56. package/dist/npm/index.js +13 -0
  57. package/dist/npm/main.js +16 -0
  58. package/dist/npm/package-metadata.js +17 -0
  59. package/dist/npm/qrcode.component.js +139 -0
  60. package/dist/npm/qrcode.module.js +54 -0
  61. package/dist/systemjs/kendo-angular-barcodes.js +5 -0
  62. package/package.json +154 -0
  63. package/schematics/collection.json +12 -0
  64. package/schematics/ngAdd/index.js +18 -0
  65. package/schematics/ngAdd/index.js.map +1 -0
  66. package/schematics/ngAdd/schema.json +28 -0
@@ -0,0 +1,102 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 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 tslib_1 from "tslib";
6
+ import { ElementRef, Input, ViewChild } from '@angular/core';
7
+ import { isDocumentAvailable } from '@progress/kendo-angular-common';
8
+ import { exportImage, exportSVG } from '@progress/kendo-drawing';
9
+ import { validatePackage } from '@progress/kendo-licensing';
10
+ import { packageMetadata } from './package-metadata';
11
+ /**
12
+ * @hidden
13
+ */
14
+ export class BaseComponent {
15
+ constructor(element, renderer, ngZone) {
16
+ this.element = element;
17
+ this.renderer = renderer;
18
+ this.ngZone = ngZone;
19
+ this.resizeRateLimit = 10;
20
+ validatePackage(packageMetadata);
21
+ }
22
+ get autoResize() {
23
+ return this.resizeRateLimit > 0;
24
+ }
25
+ get canRender() {
26
+ return isDocumentAvailable() && Boolean(this.element);
27
+ }
28
+ ngAfterViewInit() {
29
+ this.refresh();
30
+ }
31
+ ngOnChanges(changes) {
32
+ // Need to create a new instance if the rendering mode changes.
33
+ if (changes['renderAs'] && this.instance) {
34
+ this.instance.destroy();
35
+ this.instance = null;
36
+ }
37
+ this.refresh();
38
+ }
39
+ /**
40
+ * Detects the size of the container and redraws the component.
41
+ * Resizing is automatic unless you set the `resizeRateLimit` option to `0`.
42
+ */
43
+ resize() {
44
+ if (this.instance) {
45
+ this.instance.redraw();
46
+ }
47
+ }
48
+ /**
49
+ * @hidden
50
+ */
51
+ onResize() {
52
+ if (this.autoResize) {
53
+ this.resize();
54
+ }
55
+ }
56
+ /**
57
+ * Exports the component as an image. The export operation is asynchronous and returns a promise.
58
+ *
59
+ * @param {ImageExportOptions} options - The parameters for the exported image.
60
+ * @returns {Promise<string>} - A promise that will be resolved with a PNG image encoded as a Data URI.
61
+ */
62
+ exportImage(options = {}) {
63
+ return exportImage(this.exportVisual(), options);
64
+ }
65
+ /**
66
+ * Exports the component as an SVG document. The export operation is asynchronous and returns a promise.
67
+ *
68
+ * @param options - The parameters for the exported file.
69
+ * @returns - A promise that will be resolved with an SVG document that is encoded as a Data URI.
70
+ */
71
+ exportSVG(options = {}) {
72
+ return exportSVG(this.exportVisual(), options);
73
+ }
74
+ /**
75
+ * Exports the component as a Drawing Group.
76
+ *
77
+ * @returns - The exported Group.
78
+ */
79
+ exportVisual() {
80
+ return this.instance.exportVisual();
81
+ }
82
+ refresh() {
83
+ if (!this.canRender) {
84
+ return;
85
+ }
86
+ if (!this.instance) {
87
+ const element = this.element.nativeElement;
88
+ this.instance = this.createInstance(element, this.options);
89
+ }
90
+ else {
91
+ this.instance.setOptions(this.options);
92
+ }
93
+ }
94
+ }
95
+ tslib_1.__decorate([
96
+ Input(),
97
+ tslib_1.__metadata("design:type", Number)
98
+ ], BaseComponent.prototype, "resizeRateLimit", void 0);
99
+ tslib_1.__decorate([
100
+ ViewChild('surface', { static: true }),
101
+ tslib_1.__metadata("design:type", ElementRef)
102
+ ], BaseComponent.prototype, "surfaceElement", void 0);
@@ -0,0 +1,109 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 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
+ * Supported symbologies (encodings) for the Barcode component.
8
+ */
9
+ export declare type BarcodeType = 'EAN8' | 'EAN13' | 'UPCE' | 'UPCA' | 'Code11' | 'Code39' | 'Code39Extended' | 'Code93' | 'Code93Extended' | 'Code128' | 'Code128A' | 'Code128B' | 'Code128C' | 'GS1-128' | 'MSImod10' | 'MSImod11' | 'MSImod1010' | 'MSImod1110' | 'POSTNET' | 'ean8' | 'ean13' | 'upce' | 'upca' | 'code11' | 'code39' | 'code39extended' | 'code93' | 'code93extended' | 'code128' | 'code128a' | 'code128b' | 'code128c' | 'gs1-128' | 'msimod10' | 'msimod11' | 'msimod1010' | 'msimod1110' | 'postnet';
10
+ /**
11
+ * The Barcode text label configuration.
12
+ */
13
+ export interface BarcodeText {
14
+ /**
15
+ * The color of the text. Any valid CSS color string will work here, including hex and rgb.
16
+ *
17
+ * @default "black"
18
+ */
19
+ color?: string;
20
+ /**
21
+ * The font of the text.
22
+ *
23
+ * @default "16px Consolas, Monaco, Sans Mono, monospace, sans-serif"
24
+ */
25
+ font?: string;
26
+ /**
27
+ * The margin of the text. A numeric value sets all margins.
28
+ *
29
+ * @default 0
30
+ */
31
+ margin?: Margin | number;
32
+ /**
33
+ * A flag indicating that the Barcode text label is visible.
34
+ *
35
+ * If set to `false`, the Barcode will not display the value as a text below the barcode lines.
36
+ *
37
+ * @default true
38
+ */
39
+ visible?: boolean;
40
+ }
41
+ /**
42
+ * The Barcode configuration options.
43
+ */
44
+ export interface BarcodeOptions {
45
+ /**
46
+ * 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
+ * The border of the Barcode.
53
+ */
54
+ border?: Border;
55
+ /**
56
+ * If set to `true`, the Barcode will display the checksum digit next to the value in the text area.
57
+ *
58
+ * @default true
59
+ */
60
+ checksum?: boolean;
61
+ /**
62
+ * 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
+ * The height of the Barcode in pixels.
69
+ *
70
+ * @default 100
71
+ */
72
+ height?: number;
73
+ /**
74
+ * 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
+ * The supported values are:
83
+ * * `"canvas"`&mdash;Renders the component as a Canvas element.
84
+ * * `"svg"`&mdash;Renders the component as an inline SVG document.
85
+ *
86
+ * @default "svg"
87
+ */
88
+ renderAs?: RenderMode;
89
+ /**
90
+ * The Barcode text label configuration.
91
+ */
92
+ text?: BarcodeText;
93
+ /**
94
+ * The symbology (encoding) the Barcode will use.
95
+ *
96
+ * @default "Code39"
97
+ */
98
+ type: BarcodeType;
99
+ /**
100
+ * The value of the Barcode.
101
+ */
102
+ value: number | string;
103
+ /**
104
+ * The width of the Barcode in pixels.
105
+ *
106
+ * @default 300
107
+ */
108
+ width?: number;
109
+ }
@@ -0,0 +1,4 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
@@ -0,0 +1,59 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ /**
6
+ * The dash line type.
7
+ */
8
+ export declare type DashType = 'dash' | 'dashDot' | 'dot' | 'longDash' | 'longDashDot' | 'longDashDotDot' | 'solid';
9
+ /**
10
+ * The appearance settings for the border lines.
11
+ */
12
+ export interface Border {
13
+ /**
14
+ * The color of the border line. Accepts a valid CSS color string, including hex and rgb.
15
+ */
16
+ color?: string;
17
+ /**
18
+ * The dash type of the border line.
19
+ */
20
+ dashType?: DashType;
21
+ /**
22
+ * The width of the border line in pixels.
23
+ */
24
+ width?: number;
25
+ }
26
+ /**
27
+ * The margin size for each side.
28
+ */
29
+ export interface Margin {
30
+ /**
31
+ * The top margin in pixels.
32
+ */
33
+ top?: number;
34
+ /**
35
+ * The right margin in pixels.
36
+ */
37
+ right?: number;
38
+ /**
39
+ * The bottom margin in pixels.
40
+ */
41
+ bottom?: number;
42
+ /**
43
+ * The left margin in pixels.
44
+ */
45
+ left?: number;
46
+ }
47
+ /**
48
+ * The padding size for each side.
49
+ */
50
+ export interface Padding extends Margin {
51
+ }
52
+ /**
53
+ * Sets the rendering mode of the component.
54
+ *
55
+ * The supported values are:
56
+ * * `"canvas"`&mdash;Renders the component as a Canvas element.
57
+ * * `"svg"`&mdash;Renders the component as an inline SVG document.
58
+ */
59
+ export declare type RenderMode = 'svg' | 'canvas';
@@ -0,0 +1,4 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
@@ -0,0 +1,124 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 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
+ * The QR Code encoding modes.
8
+ */
9
+ export declare type QRCodeEncoding = 'ISO_8859_1' | 'UTF_8' | 'iso_8859_1' | 'utf_8';
10
+ /**
11
+ * The QR Code error correction levels.
12
+ *
13
+ * * `"L"`&mdash;Approximately 7% of the codewords can be restored.
14
+ * * `"M"`&mdash;Approximately 15% of the codewords can be restored.
15
+ * * `"Q"`&mdash;Approximately 25% of the codewords can be restored.
16
+ * * `"H"`&mdash;Approximately 30% of the codewords can be restored.
17
+ */
18
+ export declare type QRCodeErrorCorrection = 'L' | 'M' | 'Q' | 'H' | 'l' | 'm' | 'q' | 'h';
19
+ /**
20
+ * The image overlay configuration of the QR Code.
21
+ */
22
+ export interface QRCodeOverlay {
23
+ /**
24
+ * The overlay height in pixels.
25
+ */
26
+ height?: number;
27
+ /**
28
+ * The source image for the overlay.
29
+ *
30
+ * Required only when `type` is set to `'image'`.
31
+ */
32
+ imageUrl?: string;
33
+ /**
34
+ * The overlay type.
35
+ *
36
+ * @default 'image'
37
+ */
38
+ type?: 'image' | 'swiss';
39
+ /**
40
+ * The overlay width in pixels.
41
+ */
42
+ width?: number;
43
+ }
44
+ /**
45
+ * The QR Code configuration options.
46
+ */
47
+ export interface QRCodeOptions {
48
+ /**
49
+ * The background color of the QR Code. Accepts a valid CSS color string, including hex and rgb.
50
+ *
51
+ * @default "white"
52
+ */
53
+ background?: string;
54
+ /**
55
+ * The border of the QR Code.
56
+ */
57
+ border?: Border;
58
+ /**
59
+ * The color of the QR Code. Accepts a valid CSS color string, including hex and rgb.
60
+ *
61
+ * @default "black"
62
+ */
63
+ color?: string;
64
+ /**
65
+ * The encoding mode used to encode the value.
66
+ *
67
+ * > **Important** The UTF-8 encoding is not included in the specifications and is not supported by all readers.
68
+ *
69
+ * The possible values are:
70
+ * * `"ISO_8859_1"`&mdash;Supports all characters from the [ISO/IEC 8859-1](https://en.wikipedia.org/wiki/ISO/IEC_8859-1) character set.
71
+ * * `"UTF_8"`&mdash;Supports all [Unicode](https://en.wikipedia.org/wiki/List_of_Unicode_characters) characters.
72
+ *
73
+ * @default "ISO_8859_1"
74
+ */
75
+ encoding?: QRCodeEncoding;
76
+ /**
77
+ * The error correction level to use.
78
+ *
79
+ * The possible values are:
80
+ * * `"L"`&mdash;Approximately 7% of the codewords can be restored.
81
+ * * `"M"`&mdash;Approximately 15% of the codewords can be restored.
82
+ * * `"Q"`&mdash;Approximately 25% of the codewords can be restored.
83
+ * * `"H"`&mdash;Approximately 30% of the codewords can be restored.
84
+ *
85
+ * @default "L"
86
+ */
87
+ errorCorrection?: QRCodeErrorCorrection;
88
+ /**
89
+ * An optional image overlay that will placed over the QR Code.
90
+ *
91
+ * > **Note** Always test if the code reads correctly with the applied overlay.
92
+ * > 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"`.
93
+ */
94
+ overlay?: QRCodeOverlay;
95
+ /**
96
+ * The padding of the QR Code. A numeric value sets all paddings.
97
+ *
98
+ * @default 0
99
+ */
100
+ padding?: Padding | number;
101
+ /**
102
+ * Sets the preferred rendering mode of the QR Code.
103
+ *
104
+ * The supported values are:
105
+ * * `"canvas"`&mdash;Renders the component as a Canvas element.
106
+ * * `"svg"`&mdash;Renders the component as an inline SVG document.
107
+ *
108
+ * @default "svg"
109
+ */
110
+ renderAs?: RenderMode;
111
+ /**
112
+ * Specifies the size of a QR Code. Numeric values are treated as pixels.
113
+ *
114
+ * If no size is specified, the size will be determined from the element width and height.
115
+ * If the element has width or height of zero, a default value of 200 pixels will be used.
116
+ *
117
+ * @default "200px"
118
+ */
119
+ size?: number | string;
120
+ /**
121
+ * The value of the QR Code.
122
+ */
123
+ value: number | string;
124
+ }
@@ -0,0 +1,4 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
@@ -0,0 +1,7 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 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';
@@ -0,0 +1,4 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
@@ -0,0 +1,9 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ /**
6
+ * Generated bundle index. Do not edit.
7
+ */
8
+ export * from './main';
9
+ export { BaseComponent } from './base.component';
@@ -0,0 +1,9 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ /**
6
+ * Generated bundle index. Do not edit.
7
+ */
8
+ export * from './main';
9
+ export { BaseComponent } from './base.component';
@@ -0,0 +1 @@
1
+ {"__symbolic":"module","version":4,"metadata":{"BarcodeComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"BaseComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":29,"character":1},"arguments":[{"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":30,"character":21},"member":"OnPush"},"exportAs":"kendoBarcode","selector":"kendo-barcode","template":"\n <kendo-resize-sensor (resize)=\"onResize()\" [rateLimit]=\"resizeRateLimit\"></kendo-resize-sensor>\n "}]}],"members":{"background":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":59,"character":5}}]}],"border":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":86,"character":6}}]}],"checksum":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":108,"character":5}}]}],"color":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":130,"character":5}}]}],"height":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":156,"character":5}}]}],"padding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":191,"character":5}}]}],"renderAs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":217,"character":5}}]}],"text":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":244,"character":5}}]}],"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":267,"character":5}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":288,"character":5}}]}],"width":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":314,"character":5}}]}],"resizeRateLimit":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":336,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":356,"character":27},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":357,"character":28},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":358,"character":26}]}],"createInstance":[{"__symbolic":"method"}]}},"QRCodeComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"BaseComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":40,"character":1},"arguments":[{"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":41,"character":21},"member":"OnPush"},"selector":"kendo-qrcode","exportAs":"kendoQRCode","template":"\n <kendo-resize-sensor (resize)=\"onResize()\" [rateLimit]=\"resizeRateLimit\"></kendo-resize-sensor>\n "}]}],"members":{"background":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":70,"character":5}}]}],"border":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":97,"character":5}}]}],"color":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":119,"character":5}}]}],"encoding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":146,"character":5}}]}],"errorCorrection":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":174,"character":5}}]}],"overlay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":202,"character":5}}]}],"padding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":226,"character":5}}]}],"renderAs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":252,"character":5}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":281,"character":5}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":300,"character":5}}]}],"resizeRateLimit":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":322,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":341,"character":27},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":342,"character":28},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":343,"character":26}]}],"createInstance":[{"__symbolic":"method"}]}},"BarcodeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":35,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"BarcodeComponent"}],"imports":[{"__symbolic":"reference","module":"@progress/kendo-angular-common","name":"ResizeSensorModule","line":37,"character":15}],"exports":[{"__symbolic":"reference","name":"BarcodeComponent"}]}]}],"members":{}},"QRCodeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":35,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"QRCodeComponent"}],"imports":[{"__symbolic":"reference","module":"@progress/kendo-angular-common","name":"ResizeSensorModule","line":37,"character":15}],"exports":[{"__symbolic":"reference","name":"QRCodeComponent"}]}]}],"members":{}},"BarcodesModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":35,"character":1},"arguments":[{"exports":[{"__symbolic":"reference","name":"BarcodeModule"},{"__symbolic":"reference","name":"QRCodeModule"}]}]}],"members":{}},"BarcodeType":{"__symbolic":"interface"},"BarcodeText":{"__symbolic":"interface"},"BarcodeOptions":{"__symbolic":"interface"},"QRCodeEncoding":{"__symbolic":"interface"},"QRCodeErrorCorrection":{"__symbolic":"interface"},"QRCodeOverlay":{"__symbolic":"interface"},"QRCodeOptions":{"__symbolic":"interface"},"DashType":{"__symbolic":"interface"},"Border":{"__symbolic":"interface"},"Margin":{"__symbolic":"interface"},"Padding":{"__symbolic":"interface"},"RenderMode":{"__symbolic":"interface"},"BaseComponent":{"__symbolic":"class","members":{"resizeRateLimit":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":5}}]}],"surfaceElement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":22,"character":5},"arguments":["surface",{"static":true}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":38,"character":27},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":39,"character":28},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":40,"character":26}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"resize":[{"__symbolic":"method"}],"onResize":[{"__symbolic":"method"}],"exportImage":[{"__symbolic":"method"}],"exportSVG":[{"__symbolic":"method"}],"exportVisual":[{"__symbolic":"method"}],"createInstance":[{"__symbolic":"method"}],"refresh":[{"__symbolic":"method"}]}}},"origins":{"BarcodeComponent":"./barcode.component","QRCodeComponent":"./qrcode.component","BarcodeModule":"./barcode.module","QRCodeModule":"./qrcode.module","BarcodesModule":"./barcodes.module","BarcodeType":"./chart-types/barcode-types","BarcodeText":"./chart-types/barcode-types","BarcodeOptions":"./chart-types/barcode-types","QRCodeEncoding":"./chart-types/qrcode-types","QRCodeErrorCorrection":"./chart-types/qrcode-types","QRCodeOverlay":"./chart-types/qrcode-types","QRCodeOptions":"./chart-types/qrcode-types","DashType":"./chart-types/field-types","Border":"./chart-types/field-types","Margin":"./chart-types/field-types","Padding":"./chart-types/field-types","RenderMode":"./chart-types/field-types","BaseComponent":"./base.component"},"importAs":"@progress/kendo-angular-barcodes"}
@@ -0,0 +1,10 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export { BarcodeComponent } from './barcode.component';
6
+ export { QRCodeComponent } from './qrcode.component';
7
+ export { BarcodeModule } from './barcode.module';
8
+ export { QRCodeModule } from './qrcode.module';
9
+ export { BarcodesModule } from './barcodes.module';
10
+ export * from './chart-types';
@@ -0,0 +1,9 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export { BarcodeComponent } from './barcode.component';
6
+ export { QRCodeComponent } from './qrcode.component';
7
+ export { BarcodeModule } from './barcode.module';
8
+ export { QRCodeModule } from './qrcode.module';
9
+ export { BarcodesModule } from './barcodes.module';
@@ -0,0 +1,9 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { PackageMetadata } from '@progress/kendo-licensing';
6
+ /**
7
+ * @hidden
8
+ */
9
+ export declare const packageMetadata: PackageMetadata;
@@ -0,0 +1,15 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ /**
6
+ * @hidden
7
+ */
8
+ export const packageMetadata = {
9
+ name: '@progress/kendo-angular-barcodes',
10
+ productName: 'Kendo UI for Angular',
11
+ productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
+ publishDate: 1638370938,
13
+ version: '',
14
+ licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
+ };