@progress/kendo-angular-barcodes 17.0.0-develop.3 → 17.0.0-develop.31

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 (30) hide show
  1. package/README.md +31 -16
  2. package/barcode.component.d.ts +1 -1
  3. package/base.component.d.ts +1 -1
  4. package/chart-types/barcode-types.d.ts +1 -1
  5. package/chart-types/field-types.d.ts +2 -2
  6. package/chart-types/qrcode-types.d.ts +2 -2
  7. package/esm2022/barcode.component.mjs +384 -0
  8. package/{esm2020 → esm2022}/barcode.module.mjs +4 -4
  9. package/{esm2020 → esm2022}/barcodes.module.mjs +4 -4
  10. package/{esm2020 → esm2022}/base.component.mjs +15 -10
  11. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  12. package/esm2022/qrcode.component.mjs +361 -0
  13. package/{esm2020 → esm2022}/qrcode.module.mjs +4 -4
  14. package/fesm2022/progress-kendo-angular-barcodes.mjs +1102 -0
  15. package/package.json +14 -20
  16. package/qrcode.component.d.ts +1 -1
  17. package/schematics/ngAdd/index.js +1 -1
  18. package/esm2020/barcode.component.mjs +0 -124
  19. package/esm2020/qrcode.component.mjs +0 -124
  20. package/fesm2015/progress-kendo-angular-barcodes.mjs +0 -600
  21. package/fesm2020/progress-kendo-angular-barcodes.mjs +0 -600
  22. /package/{esm2020 → esm2022}/barcode-validator.mjs +0 -0
  23. /package/{esm2020 → esm2022}/chart-types/barcode-types.mjs +0 -0
  24. /package/{esm2020 → esm2022}/chart-types/field-types.mjs +0 -0
  25. /package/{esm2020 → esm2022}/chart-types/qrcode-types.mjs +0 -0
  26. /package/{esm2020 → esm2022}/chart-types.mjs +0 -0
  27. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  28. /package/{esm2020 → esm2022}/index.mjs +0 -0
  29. /package/{esm2020 → esm2022}/progress-kendo-angular-barcodes.mjs +0 -0
  30. /package/{esm2020 → esm2022}/qrcode-validator.mjs +0 -0
package/README.md CHANGED
@@ -1,31 +1,46 @@
1
- <a href="https://www.telerik.com/kendo-angular-ui/" target="_blank">
1
+ <a href="https://www.telerik.com/kendo-angular-ui/components/barcodes" target="_blank">
2
2
  <img width="631" src="https://www.telerik.com/kendo-angular-ui/npm-banner.svg">
3
3
  </a>
4
4
 
5
- ## Native UI and Data Visualization Components for Angular
5
+ ## Kendo UI for Angular Barcodes Package
6
6
 
7
- Kendo UI for Angular is a commercial UI library designed and built for developing business applications with Angular. Every UI component in the Kendo UI for Angular suite has been built from the ground-up specifically for Angular.
8
-
9
- > **Important**
10
7
  > * This package is part of the [Kendo UI for Angular](https://www.telerik.com/kendo-angular-ui/)&mdash;a commercial UI library.
11
- > * You will need to install a license key when adding the package to your project. For more information, please refer to the [My License page](https://www.telerik.com/kendo-angular-ui/my-license/).
12
- > * To receive a license key, you need to either [purchase a license](https://www.telerik.com/purchase/kendo-ui/) or register for a [free trial](https://www.telerik.com/download-login-v2-kendo-angular-ui). Doing so indicates that you [Kendo UI for Angular License Agreement](https://www.telerik.com/purchase/license-agreement/kendo-ui).
13
- > * The 30-day free trial gives you access to all the Kendo UI for Angular components and their full functionality. Additionally, for the period of your license, you get access to our legendary technical support provided directly by the Kendo UI dev team!
8
+ > * You must [install a license key](https://www.telerik.com/kendo-angular-ui/my-license) when adding the package to your project. To receive a license key, either [purchase a license](https://www.telerik.com/purchase/kendo-ui) or register for a [free trial](https://www.telerik.com/download-login-v2-kendo-angular-ui).
9
+ > * The 30-day free trial gives you access to all the Kendo UI for Angular components and their full functionality. Additionally, for the period of your license, you get access to our legendary technical support provided directly by the Kendo UI for Angular team!
10
+
11
+ The Kendo UI for Angular Barcodes render common industry barcodes including a variety of one-dimensional (1D) and two-dimensional (2D or "matrix") barcodes suitable for display and high-quality prints.
12
+
13
+ ## What's Included in the Angular Barcodes Package
14
+
15
+ The [Angular Barcodes](https://www.telerik.com/kendo-angular-ui/components/barcodes) package includes two built-in components:
16
+
17
+ * [Angular Barcode](https://www.telerik.com/kendo-angular-ui/components/barcodes/barcode)
18
+ * [Angular QR Code](https://www.telerik.com/kendo-angular-ui/components/barcodes/qrcode)
19
+
20
+ ## Key Features
21
+
22
+ Among the many features which the Kendo UI for Angular Barcodes deliver are:
23
+
24
+ * Validation&mdash;The Barcodes provide built-in validation for all supported encodings and barcode types. Read more about the built-in validator of the [Barcode](https://www.telerik.com/kendo-angular-ui/components/barcodes/barcode/validation) and [QR Code](https://www.telerik.com/kendo-angular-ui/components/barcodes/qrcode/validation) components.
25
+ * [Various Export Options](https://www.telerik.com/kendo-angular-ui/components/barcodes/export-options)&mdash;The Barcodes provide built-in support for exporting as an image (PNG), PDF, SVG, and the Kendo UI Drawing format (useful for further processing).
26
+ * [Rendering Modes](https://www.telerik.com/kendo-angular-ui/components/barcodes/rendering)&mdash;The Barcodes support two modes for rendering&mdash;Canvas (bitmap) and SVG (vector graphics). By default, the Barcodes are rendered through SVG. Switching between the two is as easy as updating a single configuration option.
27
+
28
+ ## Support Options
29
+
30
+ For any issues you might encounter while working with the Kendo UI for Angular Barcodes, you have the following support channels available:
31
+
32
+ * Industry-leading technical support&mdash;Kendo UI for Angular paid license holders and users with an active (free) trial license can take advantage of our outstanding customer support. To submit a ticket, use the [dedicated Kendo UI for Angular support system](https://www.telerik.com/account/support-center/contact-us/technical-support).
33
+ * Product forums&mdash;The [Kendo UI for Angular forums](https://www.telerik.com/forums/kendo-angular-ui) are part of the free support you can get from the community and from the Kendo UI for Angular team.
34
+ * Feedback portal&mdash;The [Kendo UI for Angular feedback portal](https://feedback.telerik.com/kendo-angular-ui) is where you can request and vote for new features to be added.
14
35
 
15
36
  ## Resources
16
37
 
17
- * [Get Started with Kendo UI for Angular (requires trial registration)](https://www.telerik.com/kendo-angular-ui/getting-started)
38
+ * [Getting Started with Kendo UI for Angular](https://www.telerik.com/kendo-angular-ui/getting-started)
39
+ * [Getting Started with the Kendo UI for Angular Barcodes](https://www.telerik.com/kendo-angular-ui/components/barcodes/installation/getting-started)
18
40
  * [Demos, documentation, and component reference](https://www.telerik.com/kendo-angular-ui/components)
19
41
  * [Blogs](http://www.telerik.com/blogs/kendo-ui)
20
42
  * [Kendo UI for Angular pricing and licensing](https://www.telerik.com/purchase/kendo-ui)
21
43
 
22
- ## Questions and Feedback
23
-
24
- * [Official Forums](https://www.telerik.com/forums/kendo-angular-ui)
25
- * [GitHub Issues](https://github.com/telerik/kendo-angular/issues)
26
- * [Feedback Portal](https://feedback.telerik.com/kendo-angular-ui)
27
- * [StackOverflow](https://stackoverflow.com/questions/tagged/kendo-ui-angular2)
28
-
29
44
  *Copyright © 2024 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.*
30
45
 
31
46
  *Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries.*
@@ -311,5 +311,5 @@ export declare class BarcodeComponent extends BaseComponent {
311
311
  protected createInstance(element: any, options: any): Barcode;
312
312
  protected onError(error: Error): void;
313
313
  static ɵfac: i0.ɵɵFactoryDeclaration<BarcodeComponent, never>;
314
- static ɵcmp: i0.ɵɵComponentDeclaration<BarcodeComponent, "kendo-barcode", ["kendoBarcode"], { "background": "background"; "border": "border"; "checksum": "checksum"; "color": "color"; "height": "height"; "padding": "padding"; "renderAs": "renderAs"; "text": "text"; "type": "type"; "value": "value"; "width": "width"; "resizeRateLimit": "resizeRateLimit"; }, {}, never, never, true, never>;
314
+ 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>;
315
315
  }
@@ -54,5 +54,5 @@ export declare abstract class BaseComponent implements OnChanges, AfterViewInit
54
54
  protected refresh(): void;
55
55
  protected isDevMode(): boolean;
56
56
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, never>;
57
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaseComponent, never, never, { "resizeRateLimit": "resizeRateLimit"; }, {}, never, never, false, never>;
57
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseComponent, never, never, { "resizeRateLimit": { "alias": "resizeRateLimit"; "required": false; }; }, {}, never, never, false, never>;
58
58
  }
@@ -6,7 +6,7 @@ import { Border, Margin, Padding, RenderMode } from './field-types';
6
6
  /**
7
7
  * Supported symbologies (encodings) for the Barcode component.
8
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';
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
10
  /**
11
11
  * The Barcode text label configuration.
12
12
  */
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * The dash line type.
7
7
  */
8
- export declare type DashType = 'dash' | 'dashDot' | 'dot' | 'longDash' | 'longDashDot' | 'longDashDotDot' | 'solid';
8
+ export type DashType = 'dash' | 'dashDot' | 'dot' | 'longDash' | 'longDashDot' | 'longDashDotDot' | 'solid';
9
9
  /**
10
10
  * The appearance settings for the border lines.
11
11
  */
@@ -72,4 +72,4 @@ export interface Padding {
72
72
  * * `"canvas"`&mdash;Renders the component as a Canvas element.
73
73
  * * `"svg"`&mdash;Renders the component as an inline SVG document.
74
74
  */
75
- export declare type RenderMode = 'svg' | 'canvas';
75
+ export type RenderMode = 'svg' | 'canvas';
@@ -6,7 +6,7 @@ import { Border, Padding, RenderMode } from './field-types';
6
6
  /**
7
7
  * The QR Code encoding modes.
8
8
  */
9
- export declare type QRCodeEncoding = 'ISO_8859_1' | 'UTF_8';
9
+ export type QRCodeEncoding = 'ISO_8859_1' | 'UTF_8';
10
10
  /**
11
11
  * The QR Code error correction levels.
12
12
  *
@@ -15,7 +15,7 @@ export declare type QRCodeEncoding = 'ISO_8859_1' | 'UTF_8';
15
15
  * * `"Q"`&mdash;Approximately 25% of the codewords can be restored.
16
16
  * * `"H"`&mdash;Approximately 30% of the codewords can be restored.
17
17
  */
18
- export declare type QRCodeErrorCorrection = 'L' | 'M' | 'Q' | 'H';
18
+ export type QRCodeErrorCorrection = 'L' | 'M' | 'Q' | 'H';
19
19
  /**
20
20
  * The image overlay configuration of the QR Code.
21
21
  */
@@ -0,0 +1,384 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { ChangeDetectionStrategy, Component, ElementRef, Input, NgZone, Renderer2 } from '@angular/core';
6
+ import { Barcode } from '@progress/kendo-charts';
7
+ import { BaseComponent } from './base.component';
8
+ import { packageMetadata } from './package-metadata';
9
+ import { ResizeSensorComponent } from '@progress/kendo-angular-common';
10
+ import * as i0 from "@angular/core";
11
+ /**
12
+ * Represents the Kendo UI Barcode component for Angular.
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * import { Component } from '@angular/core';
17
+ *
18
+ * _@Component({
19
+ * selector: 'my-app',
20
+ * template: `
21
+ * <kendo-barcode type="EAN8" value="1234567">
22
+ * </kendo-barcode>
23
+ * `
24
+ * })
25
+ * export class AppComponent {
26
+ * }
27
+ * ```
28
+ */
29
+ export class BarcodeComponent extends BaseComponent {
30
+ element;
31
+ renderer;
32
+ ngZone;
33
+ /**
34
+ * The background color of the Barcode. Accepts a valid CSS color string, including hex and rgb.
35
+ *
36
+ * @default "white"
37
+ *
38
+ * @example
39
+ * ```ts-preview
40
+ * import { Component } from '@angular/core';
41
+ *
42
+ * _@Component({
43
+ * selector: 'my-app',
44
+ * template: `
45
+ * <kendo-barcode type="EAN8" value="1234567"
46
+ * background="#fc0">
47
+ * </kendo-barcode>
48
+ * `
49
+ * })
50
+ * export class AppComponent {
51
+ * }
52
+ * ```
53
+ */
54
+ background;
55
+ /**
56
+ * The border of the Barcode.
57
+ *
58
+ * @example
59
+ * ```ts-preview
60
+ * import { Component } from '@angular/core';
61
+ * import { Border } from '@progress/kendo-angular-barcodes';
62
+ *
63
+ * _@Component({
64
+ * selector: 'my-app',
65
+ * template: `
66
+ * <kendo-barcode type="EAN8" value="1234567"
67
+ * [border]="barcodeBorder" [padding]="5">
68
+ * </kendo-barcode>
69
+ * `
70
+ * })
71
+ * export class AppComponent {
72
+ * barcodeBorder: Border = {
73
+ * color: '#fc0',
74
+ * width: 2
75
+ * };
76
+ * }
77
+ * ```
78
+ */
79
+ border;
80
+ /**
81
+ * If set to `true`, the Barcode will display the checksum digit next to the value in the text area.
82
+ *
83
+ * @default false
84
+ *
85
+ * @example
86
+ * ```ts-preview
87
+ * _@Component({
88
+ * selector: 'my-app',
89
+ * template: `
90
+ * <kendo-barcode type="EAN8" value="1234567"
91
+ * [checksum]="true">
92
+ * </kendo-barcode>
93
+ * `
94
+ * })
95
+ * export class AppComponent {
96
+ * }
97
+ * ```
98
+ */
99
+ checksum;
100
+ /**
101
+ * The color of the Barcode. Accepts a valid CSS color string, including hex and rgb.
102
+ *
103
+ * @default "black"
104
+ *
105
+ * @example
106
+ * ```ts-preview
107
+ * _@Component({
108
+ * selector: 'my-app',
109
+ * template: `
110
+ * <kendo-barcode type="EAN8" value="1234567"
111
+ * color="#fc0">
112
+ * </kendo-barcode>
113
+ * `
114
+ * })
115
+ * export class AppComponent {
116
+ * }
117
+ * ```
118
+ */
119
+ color;
120
+ /**
121
+ * The height of the Barcode in pixels.
122
+ *
123
+ * The Barcode dimensions can also be set through regular CSS styling.
124
+ *
125
+ * @example
126
+ * ```ts-preview
127
+ * _@Component({
128
+ * selector: 'my-app',
129
+ * template: `
130
+ * <kendo-barcode type="EAN8" value="1234567"
131
+ * [width]="200" [height]="100">
132
+ * </kendo-barcode>
133
+ *
134
+ * <kendo-barcode type="EAN8" value="1234567"
135
+ * [style.width.px]="200" [style.height.px]="100">
136
+ * </kendo-barcode>
137
+ * `
138
+ * })
139
+ * export class AppComponent {
140
+ * }
141
+ * ```
142
+ */
143
+ height;
144
+ /**
145
+ * The padding of the Barcode. A numeric value sets all paddings.
146
+ *
147
+ * @default 0
148
+ *
149
+ * @example
150
+ * ```ts-preview
151
+ * import { Component } from '@angular/core';
152
+ * import { Padding } from '@progress/kendo-angular-barcodes';
153
+ *
154
+ * _@Component({
155
+ * selector: 'my-app',
156
+ * template: `
157
+ * <kendo-barcode type="EAN8" value="1234567"
158
+ * [padding]="5" background="#fc0">
159
+ * </kendo-barcode>
160
+ *
161
+ * <kendo-barcode type="EAN8" value="1234567"
162
+ * [padding]="barcodePadding" background="#cf0">
163
+ * </kendo-barcode>
164
+ * `
165
+ * })
166
+ * export class AppComponent {
167
+ * barcodePadding: Padding = {
168
+ * top: 20,
169
+ * bottom: 10,
170
+ * left: 5,
171
+ * right: 5
172
+ * };
173
+ * }
174
+ * ```
175
+ */
176
+ padding;
177
+ /**
178
+ * Sets the preferred rendering mode of the Barcode.
179
+ *
180
+ * The supported values are:
181
+ * * `"canvas"`&mdash;Renders the component as a Canvas element.
182
+ * * `"svg"`&mdash;Renders the component as an inline SVG document.
183
+ *
184
+ * @default "svg"
185
+ *
186
+ * @example
187
+ * ```ts-preview
188
+ * _@Component({
189
+ * selector: 'my-app',
190
+ * template: `
191
+ * <kendo-barcode type="EAN8" value="1234567"
192
+ * renderAs="canvas">
193
+ * </kendo-barcode>
194
+ * `
195
+ * })
196
+ * export class AppComponent {
197
+ * }
198
+ * ```
199
+ */
200
+ renderAs;
201
+ /**
202
+ * The Barcode text label configuration.
203
+ *
204
+ * @example
205
+ * ```ts-preview
206
+ * import { Component } from '@angular/core';
207
+ * import { BarcodeText } from '@progress/kendo-angular-barcodes';
208
+ *
209
+ * _@Component({
210
+ * selector: 'my-app',
211
+ * template: `
212
+ * <kendo-barcode type="EAN8" value="1234567"
213
+ * [text]="barcodeText">
214
+ * </kendo-barcode>
215
+ * `
216
+ * })
217
+ * export class AppComponent {
218
+ * barcodeText: BarcodeText = {
219
+ * color: '#fc0',
220
+ * font: '20px monospace'
221
+ * };
222
+ * }
223
+ * ```
224
+ */
225
+ text;
226
+ /**
227
+ * The symbology (encoding) the Barcode will use.
228
+ *
229
+ * @default "Code39"
230
+ *
231
+ * @example
232
+ * ```ts-preview
233
+ * import { Component } from '@angular/core';
234
+ *
235
+ * _@Component({
236
+ * selector: 'my-app',
237
+ * template: `
238
+ * <kendo-barcode type="EAN13" value="123456789987">
239
+ * </kendo-barcode>
240
+ * `
241
+ * })
242
+ * export class AppComponent {
243
+ * }
244
+ * ```
245
+ */
246
+ type;
247
+ /**
248
+ * The value of the Barcode.
249
+ *
250
+ * @example
251
+ * ```ts-preview
252
+ * import { Component } from '@angular/core';
253
+ *
254
+ * _@Component({
255
+ * selector: 'my-app',
256
+ * template: `
257
+ * <kendo-barcode type="EAN13" value="123456789987">
258
+ * </kendo-barcode>
259
+ * `
260
+ * })
261
+ * export class AppComponent {
262
+ * }
263
+ * ```
264
+ */
265
+ value;
266
+ /**
267
+ * The width of the Barcode in pixels.
268
+ *
269
+ * The Barcode dimensions can also be set through regular CSS styling.
270
+ *
271
+ * @example
272
+ * ```ts-preview
273
+ * _@Component({
274
+ * selector: 'my-app',
275
+ * template: `
276
+ * <kendo-barcode type="EAN8" value="1234567"
277
+ * [width]="200" [height]="100">
278
+ * </kendo-barcode>
279
+ *
280
+ * <kendo-barcode type="EAN8" value="1234567"
281
+ * [style.width.px]="200" [style.height.px]="100">
282
+ * </kendo-barcode>
283
+ * `
284
+ * })
285
+ * export class AppComponent {
286
+ * }
287
+ * ```
288
+ */
289
+ width;
290
+ /**
291
+ * Limits the automatic resizing of the Barcode. Sets the maximum number of times per second
292
+ * that the component redraws its content when the size of its container changes.
293
+ * Defaults to `10`. To disable the automatic resizing, set it to `0`.
294
+ *
295
+ * @example
296
+ * ```ts
297
+ * _@Component({
298
+ * selector: 'my-app',
299
+ * template: `
300
+ * <kendo-barcode type="EAN8" [value]="1234567"
301
+ * [resizeRateLimit]="2">
302
+ * </kendo-barcode>
303
+ * `
304
+ * })
305
+ * export class AppComponent {
306
+ * }
307
+ * ```
308
+ */
309
+ resizeRateLimit = 10;
310
+ get options() {
311
+ return {
312
+ renderAs: this.renderAs,
313
+ background: this.background,
314
+ border: this.border,
315
+ checksum: this.checksum,
316
+ color: this.color,
317
+ height: this.height,
318
+ padding: this.padding,
319
+ text: this.text,
320
+ type: this.type,
321
+ value: this.value,
322
+ width: this.width
323
+ };
324
+ }
325
+ constructor(element, renderer, ngZone) {
326
+ super(element, renderer, ngZone);
327
+ this.element = element;
328
+ this.renderer = renderer;
329
+ this.ngZone = ngZone;
330
+ }
331
+ createInstance(element, options) {
332
+ return new Barcode(element, options, this.onError.bind(this));
333
+ }
334
+ onError(error) {
335
+ error.name = packageMetadata.productName + ' Barcode';
336
+ if (this.isDevMode()) {
337
+ throw error;
338
+ }
339
+ else {
340
+ console.warn(error);
341
+ }
342
+ }
343
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BarcodeComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
344
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BarcodeComponent, isStandalone: true, selector: "kendo-barcode", inputs: { background: "background", border: "border", checksum: "checksum", color: "color", height: "height", padding: "padding", renderAs: "renderAs", text: "text", type: "type", value: "value", width: "width", resizeRateLimit: "resizeRateLimit" }, exportAs: ["kendoBarcode"], usesInheritance: true, ngImport: i0, template: `
345
+ <kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
346
+ `, isInline: true, dependencies: [{ kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
347
+ }
348
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BarcodeComponent, decorators: [{
349
+ type: Component,
350
+ args: [{
351
+ changeDetection: ChangeDetectionStrategy.OnPush,
352
+ exportAs: 'kendoBarcode',
353
+ selector: 'kendo-barcode',
354
+ template: `
355
+ <kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
356
+ `,
357
+ standalone: true,
358
+ imports: [ResizeSensorComponent]
359
+ }]
360
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { background: [{
361
+ type: Input
362
+ }], border: [{
363
+ type: Input
364
+ }], checksum: [{
365
+ type: Input
366
+ }], color: [{
367
+ type: Input
368
+ }], height: [{
369
+ type: Input
370
+ }], padding: [{
371
+ type: Input
372
+ }], renderAs: [{
373
+ type: Input
374
+ }], text: [{
375
+ type: Input
376
+ }], type: [{
377
+ type: Input
378
+ }], value: [{
379
+ type: Input
380
+ }], width: [{
381
+ type: Input
382
+ }], resizeRateLimit: [{
383
+ type: Input
384
+ }] } });
@@ -40,11 +40,11 @@ import * as i1 from "./barcode.component";
40
40
  * ```
41
41
  */
42
42
  export class BarcodeModule {
43
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BarcodeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
44
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: BarcodeModule, imports: [i1.BarcodeComponent], exports: [i1.BarcodeComponent] });
45
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BarcodeModule, providers: [ResizeBatchService], imports: [KENDO_BARCODE] });
43
46
  }
44
- BarcodeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BarcodeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
45
- BarcodeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: BarcodeModule, imports: [i1.BarcodeComponent], exports: [i1.BarcodeComponent] });
46
- BarcodeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BarcodeModule, providers: [ResizeBatchService], imports: [KENDO_BARCODE] });
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BarcodeModule, decorators: [{
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BarcodeModule, decorators: [{
48
48
  type: NgModule,
49
49
  args: [{
50
50
  imports: [...KENDO_BARCODE],
@@ -41,11 +41,11 @@ import * as i2 from "./qrcode.component";
41
41
  * ```
42
42
  */
43
43
  export class BarcodesModule {
44
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BarcodesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
45
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: BarcodesModule, imports: [i1.BarcodeComponent, i2.QRCodeComponent], exports: [i1.BarcodeComponent, i2.QRCodeComponent] });
46
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BarcodesModule, providers: [ResizeBatchService], imports: [KENDO_BARCODES] });
44
47
  }
45
- BarcodesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BarcodesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
46
- BarcodesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: BarcodesModule, imports: [i1.BarcodeComponent, i2.QRCodeComponent], exports: [i1.BarcodeComponent, i2.QRCodeComponent] });
47
- BarcodesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BarcodesModule, providers: [ResizeBatchService], imports: [KENDO_BARCODES] });
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BarcodesModule, decorators: [{
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BarcodesModule, decorators: [{
49
49
  type: NgModule,
50
50
  args: [{
51
51
  imports: [...KENDO_BARCODES],
@@ -12,19 +12,24 @@ import * as i0 from "@angular/core";
12
12
  * @hidden
13
13
  */
14
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
- }
15
+ element;
16
+ renderer;
17
+ ngZone;
18
+ resizeRateLimit = 10;
19
+ surfaceElement;
20
+ instance;
22
21
  get autoResize() {
23
22
  return this.resizeRateLimit > 0;
24
23
  }
25
24
  get canRender() {
26
25
  return isDocumentAvailable() && Boolean(this.element);
27
26
  }
27
+ constructor(element, renderer, ngZone) {
28
+ this.element = element;
29
+ this.renderer = renderer;
30
+ this.ngZone = ngZone;
31
+ validatePackage(packageMetadata);
32
+ }
28
33
  ngAfterViewInit() {
29
34
  this.refresh();
30
35
  }
@@ -94,10 +99,10 @@ export class BaseComponent {
94
99
  isDevMode() {
95
100
  return isDevMode();
96
101
  }
102
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
103
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: BaseComponent, inputs: { resizeRateLimit: "resizeRateLimit" }, viewQueries: [{ propertyName: "surfaceElement", first: true, predicate: ["surface"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0 });
97
104
  }
98
- BaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BaseComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
99
- BaseComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: BaseComponent, inputs: { resizeRateLimit: "resizeRateLimit" }, viewQueries: [{ propertyName: "surfaceElement", first: true, predicate: ["surface"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0 });
100
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BaseComponent, decorators: [{
105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseComponent, decorators: [{
101
106
  type: Directive
102
107
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { resizeRateLimit: [{
103
108
  type: Input
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-barcodes',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1728917579,
13
- version: '17.0.0-develop.3',
12
+ publishDate: 1730478898,
13
+ version: '17.0.0-develop.31',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };