@progress/kendo-angular-barcodes 24.2.2 → 25.0.0-develop.12

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.
@@ -17,8 +17,8 @@ const packageMetadata = {
17
17
  productName: 'Kendo UI for Angular',
18
18
  productCode: 'KENDOUIANGULAR',
19
19
  productCodes: ['KENDOUIANGULAR'],
20
- publishDate: 1783511742,
21
- version: '24.2.2',
20
+ publishDate: 1785318093,
21
+ version: '25.0.0-develop.12',
22
22
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
23
23
  };
24
24
 
@@ -28,7 +28,6 @@ const packageMetadata = {
28
28
  class BaseComponent {
29
29
  element;
30
30
  renderer;
31
- ngZone;
32
31
  resizeRateLimit = 10;
33
32
  instance;
34
33
  get autoResize() {
@@ -37,10 +36,9 @@ class BaseComponent {
37
36
  get canRender() {
38
37
  return isDocumentAvailable() && Boolean(this.element);
39
38
  }
40
- constructor(element, renderer, ngZone) {
39
+ constructor(element, renderer) {
41
40
  this.element = element;
42
41
  this.renderer = renderer;
43
- this.ngZone = ngZone;
44
42
  validatePackage(packageMetadata);
45
43
  }
46
44
  ngAfterViewInit() {
@@ -112,12 +110,12 @@ class BaseComponent {
112
110
  isDevMode() {
113
111
  return isDevMode();
114
112
  }
115
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BaseComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
116
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.25", type: BaseComponent, isStandalone: true, inputs: { resizeRateLimit: "resizeRateLimit" }, usesOnChanges: true, ngImport: i0 });
113
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BaseComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
114
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: BaseComponent, isStandalone: true, inputs: { resizeRateLimit: "resizeRateLimit" }, usesOnChanges: true, ngImport: i0 });
117
115
  }
118
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BaseComponent, decorators: [{
116
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BaseComponent, decorators: [{
119
117
  type: Directive
120
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }], propDecorators: { resizeRateLimit: [{
118
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { resizeRateLimit: [{
121
119
  type: Input
122
120
  }] } });
123
121
 
@@ -144,7 +142,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
144
142
  class BarcodeComponent extends BaseComponent {
145
143
  element;
146
144
  renderer;
147
- ngZone;
148
145
  /**
149
146
  * Sets the background color of the Barcode. Accepts any valid CSS color string, such as hex or rgb.
150
147
  *
@@ -229,11 +226,10 @@ class BarcodeComponent extends BaseComponent {
229
226
  width: this.width
230
227
  };
231
228
  }
232
- constructor(element, renderer, ngZone) {
233
- super(element, renderer, ngZone);
229
+ constructor(element, renderer) {
230
+ super(element, renderer);
234
231
  this.element = element;
235
232
  this.renderer = renderer;
236
- this.ngZone = ngZone;
237
233
  }
238
234
  createInstance(element, options) {
239
235
  return new Barcode(element, options, this.onError.bind(this));
@@ -247,24 +243,24 @@ class BarcodeComponent extends BaseComponent {
247
243
  console.warn(error);
248
244
  }
249
245
  }
250
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BarcodeComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
251
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", 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: `
246
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BarcodeComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
247
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", 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: `
252
248
  <kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
253
249
  `, isInline: true, dependencies: [{ kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
254
250
  }
255
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BarcodeComponent, decorators: [{
251
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BarcodeComponent, decorators: [{
256
252
  type: Component,
257
253
  args: [{
254
+ selector: 'kendo-barcode',
258
255
  changeDetection: ChangeDetectionStrategy.OnPush,
259
256
  exportAs: 'kendoBarcode',
260
- selector: 'kendo-barcode',
261
257
  template: `
262
258
  <kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
263
259
  `,
264
260
  standalone: true,
265
261
  imports: [ResizeSensorComponent]
266
262
  }]
267
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }], propDecorators: { background: [{
263
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { background: [{
268
264
  type: Input
269
265
  }], border: [{
270
266
  type: Input
@@ -316,7 +312,6 @@ const DEFAULT_ERROR_CORRECTION = 'L';
316
312
  class QRCodeComponent extends BaseComponent {
317
313
  element;
318
314
  renderer;
319
- ngZone;
320
315
  /**
321
316
  * Sets the background color of the QR Code. Accepts any valid CSS color string, such as hex or rgb.
322
317
  *
@@ -399,11 +394,10 @@ class QRCodeComponent extends BaseComponent {
399
394
  value: this.value
400
395
  };
401
396
  }
402
- constructor(element, renderer, ngZone) {
403
- super(element, renderer, ngZone);
397
+ constructor(element, renderer) {
398
+ super(element, renderer);
404
399
  this.element = element;
405
400
  this.renderer = renderer;
406
- this.ngZone = ngZone;
407
401
  }
408
402
  createInstance(element, options) {
409
403
  return new QRCode(element, options, this.onError.bind(this));
@@ -417,16 +411,16 @@ class QRCodeComponent extends BaseComponent {
417
411
  console.warn(error);
418
412
  }
419
413
  }
420
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: QRCodeComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
421
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: QRCodeComponent, isStandalone: true, selector: "kendo-qrcode", inputs: { background: "background", border: "border", color: "color", encoding: "encoding", errorCorrection: "errorCorrection", overlay: "overlay", padding: "padding", renderAs: "renderAs", size: "size", value: "value", resizeRateLimit: "resizeRateLimit" }, exportAs: ["kendoQRCode"], usesInheritance: true, ngImport: i0, template: `
414
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: QRCodeComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
415
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: QRCodeComponent, isStandalone: true, selector: "kendo-qrcode", inputs: { background: "background", border: "border", color: "color", encoding: "encoding", errorCorrection: "errorCorrection", overlay: "overlay", padding: "padding", renderAs: "renderAs", size: "size", value: "value", resizeRateLimit: "resizeRateLimit" }, exportAs: ["kendoQRCode"], usesInheritance: true, ngImport: i0, template: `
422
416
  <kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
423
417
  `, isInline: true, dependencies: [{ kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
424
418
  }
425
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: QRCodeComponent, decorators: [{
419
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: QRCodeComponent, decorators: [{
426
420
  type: Component,
427
421
  args: [{
428
- changeDetection: ChangeDetectionStrategy.OnPush,
429
422
  selector: 'kendo-qrcode',
423
+ changeDetection: ChangeDetectionStrategy.OnPush,
430
424
  exportAs: 'kendoQRCode',
431
425
  template: `
432
426
  <kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
@@ -434,7 +428,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
434
428
  standalone: true,
435
429
  imports: [ResizeSensorComponent]
436
430
  }]
437
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }], propDecorators: { background: [{
431
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { background: [{
438
432
  type: Input
439
433
  }], border: [{
440
434
  type: Input
@@ -503,11 +497,11 @@ const KENDO_BARCODES = [
503
497
  * ```
504
498
  */
505
499
  class BarcodeModule {
506
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BarcodeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
507
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.25", ngImport: i0, type: BarcodeModule, imports: [BarcodeComponent], exports: [BarcodeComponent] });
508
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BarcodeModule, providers: [ResizeBatchService], imports: [KENDO_BARCODE] });
500
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BarcodeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
501
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.25", ngImport: i0, type: BarcodeModule, imports: [BarcodeComponent], exports: [BarcodeComponent] });
502
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BarcodeModule, providers: [ResizeBatchService], imports: [KENDO_BARCODE] });
509
503
  }
510
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BarcodeModule, decorators: [{
504
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BarcodeModule, decorators: [{
511
505
  type: NgModule,
512
506
  args: [{
513
507
  imports: [...KENDO_BARCODE],
@@ -540,11 +534,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
540
534
  * ```
541
535
  */
542
536
  class QRCodeModule {
543
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: QRCodeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
544
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.25", ngImport: i0, type: QRCodeModule, imports: [QRCodeComponent], exports: [QRCodeComponent] });
545
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: QRCodeModule, providers: [ResizeBatchService], imports: [KENDO_QRCODE] });
537
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: QRCodeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
538
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.25", ngImport: i0, type: QRCodeModule, imports: [QRCodeComponent], exports: [QRCodeComponent] });
539
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: QRCodeModule, providers: [ResizeBatchService], imports: [KENDO_QRCODE] });
546
540
  }
547
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: QRCodeModule, decorators: [{
541
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: QRCodeModule, decorators: [{
548
542
  type: NgModule,
549
543
  args: [{
550
544
  imports: [...KENDO_QRCODE],
@@ -578,11 +572,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
578
572
  * ```
579
573
  */
580
574
  class BarcodesModule {
581
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BarcodesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
582
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.25", ngImport: i0, type: BarcodesModule, imports: [BarcodeComponent, QRCodeComponent], exports: [BarcodeComponent, QRCodeComponent] });
583
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BarcodesModule, providers: [ResizeBatchService], imports: [KENDO_BARCODES] });
575
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BarcodesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
576
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.25", ngImport: i0, type: BarcodesModule, imports: [BarcodeComponent, QRCodeComponent], exports: [BarcodeComponent, QRCodeComponent] });
577
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BarcodesModule, providers: [ResizeBatchService], imports: [KENDO_BARCODES] });
584
578
  }
585
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BarcodesModule, decorators: [{
579
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BarcodesModule, decorators: [{
586
580
  type: NgModule,
587
581
  args: [{
588
582
  imports: [...KENDO_BARCODES],