@progress/kendo-angular-barcodes 1.0.0 → 2.0.0-next.202204011448

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 (70) hide show
  1. package/{dist/es2015/barcode-validator.d.ts → barcode-validator.d.ts} +0 -0
  2. package/{dist/es2015/barcode.component.d.ts → barcode.component.d.ts} +4 -1
  3. package/{dist/es2015/barcode.module.d.ts → barcode.module.d.ts} +6 -0
  4. package/{dist/es2015/barcodes.module.d.ts → barcodes.module.d.ts} +6 -0
  5. package/{dist/es2015/base.component.d.ts → base.component.d.ts} +6 -3
  6. package/bundles/kendo-angular-barcodes.umd.js +5 -0
  7. package/{dist/es2015/chart-types → chart-types}/barcode-types.d.ts +0 -0
  8. package/{dist/es2015/chart-types → chart-types}/field-types.d.ts +0 -0
  9. package/{dist/es2015/chart-types → chart-types}/qrcode-types.d.ts +0 -0
  10. package/{dist/es2015/chart-types.d.ts → chart-types.d.ts} +0 -0
  11. package/{dist/es2015 → esm2015}/barcode-validator.js +0 -2
  12. package/{dist/es2015 → esm2015}/barcode.component.js +42 -64
  13. package/{dist/es → esm2015}/barcode.module.js +14 -14
  14. package/{dist/es → esm2015}/barcodes.module.js +12 -12
  15. package/{dist/es2015 → esm2015}/base.component.js +12 -10
  16. package/{dist/es2015 → esm2015}/chart-types/barcode-types.js +1 -0
  17. package/{dist/es2015 → esm2015}/chart-types/field-types.js +1 -0
  18. package/{dist/es2015 → esm2015}/chart-types/qrcode-types.js +1 -0
  19. package/{dist/es → esm2015}/chart-types.js +3 -0
  20. package/{dist/es/index.js → esm2015/kendo-angular-barcodes.js} +0 -1
  21. package/{dist/es2015/main.d.ts → esm2015/main.js} +0 -0
  22. package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
  23. package/{dist/es2015 → esm2015}/qrcode-validator.js +0 -0
  24. package/{dist/es2015 → esm2015}/qrcode.component.js +40 -60
  25. package/{dist/es2015 → esm2015}/qrcode.module.js +14 -11
  26. package/{dist/fesm2015/index.js → fesm2015/kendo-angular-barcodes.js} +129 -155
  27. package/{dist/es2015/index.d.ts → kendo-angular-barcodes.d.ts} +1 -1
  28. package/{dist/es/main.js → main.d.ts} +1 -0
  29. package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
  30. package/package.json +29 -100
  31. package/{dist/es2015/qrcode-validator.d.ts → qrcode-validator.d.ts} +0 -0
  32. package/{dist/es2015/qrcode.component.d.ts → qrcode.component.d.ts} +4 -1
  33. package/{dist/es2015/qrcode.module.d.ts → qrcode.module.d.ts} +6 -0
  34. package/schematics/ngAdd/index.js +5 -2
  35. package/schematics/ngAdd/index.js.map +1 -1
  36. package/dist/cdn/js/kendo-angular-barcodes.js +0 -20
  37. package/dist/cdn/main.js +0 -5
  38. package/dist/es/barcode-validator.js +0 -51
  39. package/dist/es/barcode.component.js +0 -149
  40. package/dist/es/base.component.js +0 -117
  41. package/dist/es/chart-types/barcode-types.js +0 -4
  42. package/dist/es/chart-types/field-types.js +0 -4
  43. package/dist/es/chart-types/qrcode-types.js +0 -4
  44. package/dist/es/package-metadata.js +0 -15
  45. package/dist/es/qrcode-validator.js +0 -45
  46. package/dist/es/qrcode.component.js +0 -147
  47. package/dist/es/qrcode.module.js +0 -52
  48. package/dist/es2015/barcode.module.js +0 -49
  49. package/dist/es2015/barcodes.module.js +0 -47
  50. package/dist/es2015/chart-types.js +0 -4
  51. package/dist/es2015/index.js +0 -9
  52. package/dist/es2015/index.metadata.json +0 -1
  53. package/dist/es2015/main.js +0 -11
  54. package/dist/fesm5/index.js +0 -629
  55. package/dist/npm/barcode-validator.js +0 -53
  56. package/dist/npm/barcode.component.js +0 -151
  57. package/dist/npm/barcode.module.js +0 -54
  58. package/dist/npm/barcodes.module.js +0 -52
  59. package/dist/npm/base.component.js +0 -119
  60. package/dist/npm/chart-types/barcode-types.js +0 -6
  61. package/dist/npm/chart-types/field-types.js +0 -6
  62. package/dist/npm/chart-types/qrcode-types.js +0 -6
  63. package/dist/npm/chart-types.js +0 -6
  64. package/dist/npm/index.js +0 -13
  65. package/dist/npm/main.js +0 -20
  66. package/dist/npm/package-metadata.js +0 -17
  67. package/dist/npm/qrcode-validator.js +0 -47
  68. package/dist/npm/qrcode.component.js +0 -149
  69. package/dist/npm/qrcode.module.js +0 -54
  70. package/dist/systemjs/kendo-angular-barcodes.js +0 -5
@@ -2,9 +2,10 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { __decorate, __metadata } from 'tslib';
6
- import { isDevMode, Input, ViewChild, ElementRef, Component, ChangeDetectionStrategy, Renderer2, NgZone, NgModule } from '@angular/core';
5
+ import * as i0 from '@angular/core';
6
+ import { isDevMode, Directive, Input, ViewChild, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
7
7
  import { Barcode, QRCode, barcodeValidator, qrcodeValidator } from '@progress/kendo-charts';
8
+ import * as i1 from '@progress/kendo-angular-common';
8
9
  import { isDocumentAvailable, ResizeSensorModule } from '@progress/kendo-angular-common';
9
10
  import { exportImage, exportSVG } from '@progress/kendo-drawing';
10
11
  import { validatePackage } from '@progress/kendo-licensing';
@@ -16,7 +17,7 @@ const packageMetadata = {
16
17
  name: '@progress/kendo-angular-barcodes',
17
18
  productName: 'Kendo UI for Angular',
18
19
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
19
- publishDate: 1648115793,
20
+ publishDate: 1648824417,
20
21
  version: '',
21
22
  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'
22
23
  };
@@ -108,14 +109,16 @@ class BaseComponent {
108
109
  return isDevMode();
109
110
  }
110
111
  }
111
- __decorate([
112
- Input(),
113
- __metadata("design:type", Number)
114
- ], BaseComponent.prototype, "resizeRateLimit", void 0);
115
- __decorate([
116
- ViewChild('surface', { static: true }),
117
- __metadata("design:type", ElementRef)
118
- ], BaseComponent.prototype, "surfaceElement", void 0);
112
+ BaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BaseComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
113
+ BaseComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: BaseComponent, inputs: { resizeRateLimit: "resizeRateLimit" }, viewQueries: [{ propertyName: "surfaceElement", first: true, predicate: ["surface"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0 });
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BaseComponent, decorators: [{
115
+ type: Directive
116
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { resizeRateLimit: [{
117
+ type: Input
118
+ }], surfaceElement: [{
119
+ type: ViewChild,
120
+ args: ['surface', { static: true }]
121
+ }] } });
119
122
 
120
123
  /**
121
124
  * Represents the Kendo UI Barcode component for Angular.
@@ -135,7 +138,7 @@ __decorate([
135
138
  * }
136
139
  * ```
137
140
  */
138
- let BarcodeComponent = class BarcodeComponent extends BaseComponent {
141
+ class BarcodeComponent extends BaseComponent {
139
142
  constructor(element, renderer, ngZone) {
140
143
  super(element, renderer, ngZone);
141
144
  this.element = element;
@@ -189,68 +192,46 @@ let BarcodeComponent = class BarcodeComponent extends BaseComponent {
189
192
  console.warn(error);
190
193
  }
191
194
  }
192
- };
193
- __decorate([
194
- Input(),
195
- __metadata("design:type", String)
196
- ], BarcodeComponent.prototype, "background", void 0);
197
- __decorate([
198
- Input(),
199
- __metadata("design:type", Object)
200
- ], BarcodeComponent.prototype, "border", void 0);
201
- __decorate([
202
- Input(),
203
- __metadata("design:type", Boolean)
204
- ], BarcodeComponent.prototype, "checksum", void 0);
205
- __decorate([
206
- Input(),
207
- __metadata("design:type", String)
208
- ], BarcodeComponent.prototype, "color", void 0);
209
- __decorate([
210
- Input(),
211
- __metadata("design:type", Number)
212
- ], BarcodeComponent.prototype, "height", void 0);
213
- __decorate([
214
- Input(),
215
- __metadata("design:type", Object)
216
- ], BarcodeComponent.prototype, "padding", void 0);
217
- __decorate([
218
- Input(),
219
- __metadata("design:type", String)
220
- ], BarcodeComponent.prototype, "renderAs", void 0);
221
- __decorate([
222
- Input(),
223
- __metadata("design:type", Object)
224
- ], BarcodeComponent.prototype, "text", void 0);
225
- __decorate([
226
- Input(),
227
- __metadata("design:type", String)
228
- ], BarcodeComponent.prototype, "type", void 0);
229
- __decorate([
230
- Input(),
231
- __metadata("design:type", Object)
232
- ], BarcodeComponent.prototype, "value", void 0);
233
- __decorate([
234
- Input(),
235
- __metadata("design:type", Number)
236
- ], BarcodeComponent.prototype, "width", void 0);
237
- __decorate([
238
- Input(),
239
- __metadata("design:type", Number)
240
- ], BarcodeComponent.prototype, "resizeRateLimit", void 0);
241
- BarcodeComponent = __decorate([
242
- Component({
243
- changeDetection: ChangeDetectionStrategy.OnPush,
244
- exportAs: 'kendoBarcode',
245
- selector: 'kendo-barcode',
246
- template: `
195
+ }
196
+ BarcodeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BarcodeComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
197
+ BarcodeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: BarcodeComponent, 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: `
198
+ <kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
199
+ `, isInline: true, components: [{ type: i1.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
200
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BarcodeComponent, decorators: [{
201
+ type: Component,
202
+ args: [{
203
+ changeDetection: ChangeDetectionStrategy.OnPush,
204
+ exportAs: 'kendoBarcode',
205
+ selector: 'kendo-barcode',
206
+ template: `
247
207
  <kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
248
208
  `
249
- }),
250
- __metadata("design:paramtypes", [ElementRef,
251
- Renderer2,
252
- NgZone])
253
- ], BarcodeComponent);
209
+ }]
210
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { background: [{
211
+ type: Input
212
+ }], border: [{
213
+ type: Input
214
+ }], checksum: [{
215
+ type: Input
216
+ }], color: [{
217
+ type: Input
218
+ }], height: [{
219
+ type: Input
220
+ }], padding: [{
221
+ type: Input
222
+ }], renderAs: [{
223
+ type: Input
224
+ }], text: [{
225
+ type: Input
226
+ }], type: [{
227
+ type: Input
228
+ }], value: [{
229
+ type: Input
230
+ }], width: [{
231
+ type: Input
232
+ }], resizeRateLimit: [{
233
+ type: Input
234
+ }] } });
254
235
 
255
236
  const DEFAULT_COLOR = '#000';
256
237
  const DEFAULT_BACKGROUND = '#fff';
@@ -273,7 +254,7 @@ const DEFAULT_ERROR_CORRECTION = 'L';
273
254
  * }
274
255
  * ```
275
256
  */
276
- let QRCodeComponent = class QRCodeComponent extends BaseComponent {
257
+ class QRCodeComponent extends BaseComponent {
277
258
  constructor(element, renderer, ngZone) {
278
259
  super(element, renderer, ngZone);
279
260
  this.element = element;
@@ -326,64 +307,44 @@ let QRCodeComponent = class QRCodeComponent extends BaseComponent {
326
307
  console.warn(error);
327
308
  }
328
309
  }
329
- };
330
- __decorate([
331
- Input(),
332
- __metadata("design:type", String)
333
- ], QRCodeComponent.prototype, "background", void 0);
334
- __decorate([
335
- Input(),
336
- __metadata("design:type", Object)
337
- ], QRCodeComponent.prototype, "border", void 0);
338
- __decorate([
339
- Input(),
340
- __metadata("design:type", String)
341
- ], QRCodeComponent.prototype, "color", void 0);
342
- __decorate([
343
- Input(),
344
- __metadata("design:type", String)
345
- ], QRCodeComponent.prototype, "encoding", void 0);
346
- __decorate([
347
- Input(),
348
- __metadata("design:type", String)
349
- ], QRCodeComponent.prototype, "errorCorrection", void 0);
350
- __decorate([
351
- Input(),
352
- __metadata("design:type", Object)
353
- ], QRCodeComponent.prototype, "overlay", void 0);
354
- __decorate([
355
- Input(),
356
- __metadata("design:type", Number)
357
- ], QRCodeComponent.prototype, "padding", void 0);
358
- __decorate([
359
- Input(),
360
- __metadata("design:type", String)
361
- ], QRCodeComponent.prototype, "renderAs", void 0);
362
- __decorate([
363
- Input(),
364
- __metadata("design:type", Object)
365
- ], QRCodeComponent.prototype, "size", void 0);
366
- __decorate([
367
- Input(),
368
- __metadata("design:type", Object)
369
- ], QRCodeComponent.prototype, "value", void 0);
370
- __decorate([
371
- Input(),
372
- __metadata("design:type", Number)
373
- ], QRCodeComponent.prototype, "resizeRateLimit", void 0);
374
- QRCodeComponent = __decorate([
375
- Component({
376
- changeDetection: ChangeDetectionStrategy.OnPush,
377
- selector: 'kendo-qrcode',
378
- exportAs: 'kendoQRCode',
379
- template: `
310
+ }
311
+ QRCodeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: QRCodeComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
312
+ QRCodeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: QRCodeComponent, 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: `
313
+ <kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
314
+ `, isInline: true, components: [{ type: i1.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
315
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: QRCodeComponent, decorators: [{
316
+ type: Component,
317
+ args: [{
318
+ changeDetection: ChangeDetectionStrategy.OnPush,
319
+ selector: 'kendo-qrcode',
320
+ exportAs: 'kendoQRCode',
321
+ template: `
380
322
  <kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
381
323
  `
382
- }),
383
- __metadata("design:paramtypes", [ElementRef,
384
- Renderer2,
385
- NgZone])
386
- ], QRCodeComponent);
324
+ }]
325
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { background: [{
326
+ type: Input
327
+ }], border: [{
328
+ type: Input
329
+ }], color: [{
330
+ type: Input
331
+ }], encoding: [{
332
+ type: Input
333
+ }], errorCorrection: [{
334
+ type: Input
335
+ }], overlay: [{
336
+ type: Input
337
+ }], padding: [{
338
+ type: Input
339
+ }], renderAs: [{
340
+ type: Input
341
+ }], size: [{
342
+ type: Input
343
+ }], value: [{
344
+ type: Input
345
+ }], resizeRateLimit: [{
346
+ type: Input
347
+ }] } });
387
348
 
388
349
  /**
389
350
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
@@ -416,15 +377,19 @@ QRCodeComponent = __decorate([
416
377
  *
417
378
  * ```
418
379
  */
419
- let BarcodeModule = class BarcodeModule {
420
- };
421
- BarcodeModule = __decorate([
422
- NgModule({
423
- declarations: [BarcodeComponent],
424
- imports: [ResizeSensorModule],
425
- exports: [BarcodeComponent]
426
- })
427
- ], BarcodeModule);
380
+ class BarcodeModule {
381
+ }
382
+ BarcodeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BarcodeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
383
+ BarcodeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BarcodeModule, declarations: [BarcodeComponent], imports: [ResizeSensorModule], exports: [BarcodeComponent] });
384
+ BarcodeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BarcodeModule, imports: [[ResizeSensorModule]] });
385
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BarcodeModule, decorators: [{
386
+ type: NgModule,
387
+ args: [{
388
+ declarations: [BarcodeComponent],
389
+ imports: [ResizeSensorModule],
390
+ exports: [BarcodeComponent]
391
+ }]
392
+ }] });
428
393
 
429
394
  /**
430
395
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
@@ -457,15 +422,19 @@ BarcodeModule = __decorate([
457
422
  *
458
423
  * ```
459
424
  */
460
- let QRCodeModule = class QRCodeModule {
461
- };
462
- QRCodeModule = __decorate([
463
- NgModule({
464
- declarations: [QRCodeComponent],
465
- imports: [ResizeSensorModule],
466
- exports: [QRCodeComponent]
467
- })
468
- ], QRCodeModule);
425
+ class QRCodeModule {
426
+ }
427
+ QRCodeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: QRCodeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
428
+ QRCodeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: QRCodeModule, declarations: [QRCodeComponent], imports: [ResizeSensorModule], exports: [QRCodeComponent] });
429
+ QRCodeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: QRCodeModule, imports: [[ResizeSensorModule]] });
430
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: QRCodeModule, decorators: [{
431
+ type: NgModule,
432
+ args: [{
433
+ declarations: [QRCodeComponent],
434
+ imports: [ResizeSensorModule],
435
+ exports: [QRCodeComponent]
436
+ }]
437
+ }] });
469
438
 
470
439
  /**
471
440
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
@@ -498,13 +467,17 @@ QRCodeModule = __decorate([
498
467
  *
499
468
  * ```
500
469
  */
501
- let BarcodesModule = class BarcodesModule {
502
- };
503
- BarcodesModule = __decorate([
504
- NgModule({
505
- exports: [BarcodeModule, QRCodeModule]
506
- })
507
- ], BarcodesModule);
470
+ class BarcodesModule {
471
+ }
472
+ BarcodesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BarcodesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
473
+ BarcodesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BarcodesModule, exports: [BarcodeModule, QRCodeModule] });
474
+ BarcodesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BarcodesModule, imports: [BarcodeModule, QRCodeModule] });
475
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BarcodesModule, decorators: [{
476
+ type: NgModule,
477
+ args: [{
478
+ exports: [BarcodeModule, QRCodeModule]
479
+ }]
480
+ }] });
508
481
 
509
482
  /**
510
483
  * @hidden
@@ -595,4 +568,5 @@ const createQRCodeValidator = (encoding = 'ISO_8859_1') => {
595
568
  * Generated bundle index. Do not edit.
596
569
  */
597
570
 
598
- export { BaseComponent, BarcodeComponent, QRCodeComponent, BarcodeModule, QRCodeModule, BarcodesModule, createBarcodeValidator, createQRCodeValidator };
571
+ export { BarcodeComponent, BarcodeModule, BarcodesModule, QRCodeComponent, QRCodeModule, createBarcodeValidator, createQRCodeValidator };
572
+
@@ -5,5 +5,5 @@
5
5
  /**
6
6
  * Generated bundle index. Do not edit.
7
7
  */
8
+ /// <amd-module name="@progress/kendo-angular-barcodes" />
8
9
  export * from './main';
9
- export { BaseComponent } from './base.component';
@@ -9,3 +9,4 @@ export { QRCodeModule } from './qrcode.module';
9
9
  export { BarcodesModule } from './barcodes.module';
10
10
  export { createBarcodeValidator } from './barcode-validator';
11
11
  export { createQRCodeValidator } from './qrcode-validator';
12
+ export * from './chart-types';
package/package.json CHANGED
@@ -1,40 +1,31 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-barcodes",
3
+ "version": "2.0.0-next.202204011448",
3
4
  "description": "Kendo UI Angular Barcodes",
4
5
  "license": "SEE LICENSE IN LICENSE.md",
5
- "version": "1.0.0",
6
6
  "author": "Progress",
7
- "main": "dist/npm/index.js",
8
- "module": "dist/fesm5/index.js",
9
- "es2015": "dist/fesm2015/index.js",
10
- "esm5": "dist/es/index.js",
11
- "esm2015": "dist/es2015/index.js",
12
- "jsnext:main": "dist/es/index.js",
13
- "typings": "dist/es2015/index.d.ts",
14
- "jsdelivr": "dist/cdn/main.js",
15
- "unpkg": "dist/cdn/main.js",
16
- "sideEffects": false,
17
- "scripts": {
18
- "test": "jest",
19
- "test:watch": "jest --watch",
20
- "test:ci": "ci-angular-test",
21
- "e2e:ci": "ci-angular-e2e",
22
- "e2e_visual:ci": "ci-angular-e2e --visual && ci-commit-snapshots",
23
- "start": "gulp start",
24
- "lint": "gulp lint && gulp lint-docs && tsc --noEmit",
25
- "api-check": "gulp api-check",
26
- "build-package": "gulp build-package",
27
- "semantic-release": "semantic-release pre && semantic-prerelease publish --public && semantic-release post"
7
+ "homepage": "https://www.telerik.com/kendo-angular-ui/components/",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/telerik/kendo-angular-barcodes.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/telerik/kendo-angular"
28
14
  },
29
15
  "keywords": [
30
- "Kendo UI",
31
16
  "Angular",
32
- "QR Code",
33
- "Barcode"
17
+ "Barcode",
18
+ "Kendo UI",
19
+ "QR Code"
34
20
  ],
35
21
  "@progress": {
36
22
  "friendlyName": "Barcodes"
37
23
  },
24
+ "dependencies": {
25
+ "@progress/kendo-charts": "^1.23.0",
26
+ "@progress/kendo-schematics": "^3.0.0",
27
+ "tslib": "^2.3.1"
28
+ },
38
29
  "peerDependencies": {
39
30
  "@angular/common": "8 - 13",
40
31
  "@angular/core": "8 - 13",
@@ -42,63 +33,7 @@
42
33
  "@progress/kendo-angular-common": "^2.0.0",
43
34
  "@progress/kendo-drawing": "^1.1.2",
44
35
  "@progress/kendo-licensing": "^1.0.0",
45
- "rxjs": "^6.4.0 || ^7.0.0"
46
- },
47
- "dependencies": {
48
- "@progress/kendo-charts": "^1.23.0",
49
- "@progress/kendo-schematics": "^2.0.0",
50
- "tslib": "^1.9.0"
51
- },
52
- "devDependencies": {
53
- "@angular-devkit/core": "^8.2.0",
54
- "@angular-devkit/schematics": "^8.2.0",
55
- "@angular/animations": "^8.2.0",
56
- "@angular/common": "^8.2.0",
57
- "@angular/compiler": "^8.2.0",
58
- "@angular/compiler-cli": "^8.2.0",
59
- "@angular/core": "^8.2.0",
60
- "@angular/forms": "^8.2.0",
61
- "@angular/platform-browser": "^8.2.0",
62
- "@angular/platform-browser-dynamic": "^8.2.0",
63
- "@angular/platform-server": "^8.2.0",
64
- "@angular/router": "^8.2.0",
65
- "@progress/kendo-angular-buttons": "^6.4.1",
66
- "@progress/kendo-angular-common": "^2.0.0",
67
- "@progress/kendo-angular-dropdowns": "^5.5.0",
68
- "@progress/kendo-angular-e2e": "^3.0.0",
69
- "@progress/kendo-angular-inputs": "^7.5.1",
70
- "@progress/kendo-angular-intl": "^3.1.2",
71
- "@progress/kendo-angular-jest-preset": "^2.0.0",
72
- "@progress/kendo-angular-l10n": "^3.0.3",
73
- "@progress/kendo-angular-label": "^3.1.1",
74
- "@progress/kendo-angular-pdf-export": "^3.0.2",
75
- "@progress/kendo-angular-popup": "^4.0.2",
76
- "@progress/kendo-angular-tasks": "cdn-bundle-v18",
77
- "@progress/kendo-angular-treeview": "^5.4.2",
78
- "@progress/kendo-drawing": "^1.1.2",
79
- "@progress/kendo-e2e": "^0.7.0",
80
- "@progress/kendo-licensing": "^1.0.0",
81
- "@progress/kendo-theme-bootstrap": "^5.0.0",
82
- "@progress/kendo-theme-default": "^5.0.0",
83
- "@progress/kendo-theme-material": "^5.0.0",
84
- "@telerik/semantic-prerelease": "^1.0.0",
85
- "@types/jest": "^21.1.8",
86
- "@types/node": "~8.9.4",
87
- "@types/zone.js": "0.0.27",
88
- "codelyzer": "^5.0.0",
89
- "core-js": "^2.2.2",
90
- "cz-conventional-changelog": "^1.1.5",
91
- "ghooks": "^1.0.3",
92
- "gulp": "^4.0.0",
93
- "jest-cli": "^21.2.1",
94
- "jest-junit": "^8.0.0",
95
- "rxjs": "~6.4.0",
96
- "rxjs-tslint-rules": "^4.23.1",
97
- "semantic-release": "^6.3.6",
98
- "tslint": "^5.0.0",
99
- "typescript": "~3.4.2",
100
- "validate-commit-msg": "^1.1.1",
101
- "zone.js": "~0.9.1"
36
+ "rxjs": "^6.5.3 || ^7.0.0"
102
37
  },
103
38
  "config": {
104
39
  "commitizen": {
@@ -123,24 +58,16 @@
123
58
  "maxSubjectLength": 100
124
59
  }
125
60
  },
126
- "jest": {
127
- "preset": "@progress/kendo-angular-jest-preset"
128
- },
129
- "repository": {
130
- "type": "git",
131
- "url": "https://github.com/telerik/kendo-angular-barcodes.git"
132
- },
133
- "bugs": {
134
- "url": "https://github.com/telerik/kendo-angular"
135
- },
136
- "homepage": "https://www.telerik.com/kendo-angular-ui/components/",
61
+ "schematics": "./schematics/collection.json",
137
62
  "release": {
138
63
  "debug": false,
139
64
  "branchTags": {
140
- "develop": "dev"
65
+ "develop": "dev",
66
+ "ng12-update": "next"
141
67
  },
142
68
  "fallbackTags": {
143
- "dev": "latest"
69
+ "dev": "latest",
70
+ "next": "latest"
144
71
  },
145
72
  "analyzeCommits": "@telerik/semantic-prerelease/analyzeCommits",
146
73
  "generateNotes": "@progress/kendo-angular-tasks/lib/generateNotes",
@@ -148,9 +75,11 @@
148
75
  "verifyConditions": "@telerik/semantic-prerelease/verifyConditions",
149
76
  "verifyRelease": "@telerik/semantic-prerelease/verifyRelease"
150
77
  },
151
- "schematics": "./schematics/collection.json",
152
- "files": [
153
- "dist",
154
- "schematics"
155
- ]
78
+ "main": "bundles/kendo-angular-barcodes.umd.js",
79
+ "module": "fesm2015/kendo-angular-barcodes.js",
80
+ "es2015": "fesm2015/kendo-angular-barcodes.js",
81
+ "esm2015": "esm2015/kendo-angular-barcodes.js",
82
+ "fesm2015": "fesm2015/kendo-angular-barcodes.js",
83
+ "typings": "kendo-angular-barcodes.d.ts",
84
+ "sideEffects": false
156
85
  }
@@ -6,6 +6,7 @@ import { ElementRef, NgZone, Renderer2 } from '@angular/core';
6
6
  import { QRCode, QRCodeOptions } from '@progress/kendo-charts';
7
7
  import { BaseComponent } from './base.component';
8
8
  import { Border, QRCodeEncoding, QRCodeErrorCorrection, QRCodeOverlay, RenderMode } from './chart-types';
9
+ import * as i0 from "@angular/core";
9
10
  /**
10
11
  * Represents the Kendo UI QR Code component for Angular.
11
12
  *
@@ -282,8 +283,10 @@ export declare class QRCodeComponent extends BaseComponent {
282
283
  * ```
283
284
  */
284
285
  resizeRateLimit: number;
285
- protected readonly options: QRCodeOptions;
286
+ protected get options(): QRCodeOptions;
286
287
  constructor(element: ElementRef, renderer: Renderer2, ngZone: NgZone);
287
288
  protected createInstance(element: any, options: any): QRCode;
288
289
  protected onError(error: Error): void;
290
+ static ɵfac: i0.ɵɵFactoryDeclaration<QRCodeComponent, never>;
291
+ static ɵcmp: i0.ɵɵComponentDeclaration<QRCodeComponent, "kendo-qrcode", ["kendoQRCode"], { "background": "background"; "border": "border"; "color": "color"; "encoding": "encoding"; "errorCorrection": "errorCorrection"; "overlay": "overlay"; "padding": "padding"; "renderAs": "renderAs"; "size": "size"; "value": "value"; "resizeRateLimit": "resizeRateLimit"; }, {}, never, never>;
289
292
  }
@@ -2,6 +2,9 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "./qrcode.component";
7
+ import * as i2 from "@progress/kendo-angular-common";
5
8
  /**
6
9
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
7
10
  * definition for the QR Code component.
@@ -34,4 +37,7 @@
34
37
  * ```
35
38
  */
36
39
  export declare class QRCodeModule {
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<QRCodeModule, never>;
41
+ static ɵmod: i0.ɵɵNgModuleDeclaration<QRCodeModule, [typeof i1.QRCodeComponent], [typeof i2.ResizeSensorModule], [typeof i1.QRCodeComponent]>;
42
+ static ɵinj: i0.ɵɵInjectorDeclaration<QRCodeModule>;
37
43
  }
@@ -1,8 +1,12 @@
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
+ *-------------------------------------------------------------------------------------------*/
1
5
  "use strict";
2
6
  Object.defineProperty(exports, "__esModule", { value: true });
3
7
  const schematics_1 = require("@angular-devkit/schematics");
4
8
  function default_1(options) {
5
- const finalOptions = Object.assign({}, options, {
9
+ const finalOptions = Object.assign(Object.assign({}, options), {
6
10
  // Default module to import, e.g 'GridModule'
7
11
  mainNgModule: 'BarcodesModule',
8
12
  // Package name, e.g 'grid'
@@ -15,4 +19,3 @@ function default_1(options) {
15
19
  return schematics_1.externalSchematic('@progress/kendo-schematics', 'ng-add', finalOptions);
16
20
  }
17
21
  exports.default = default_1;
18
- //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../tooling/schematics/ngAdd/index.ts"],"names":[],"mappings":";;AAAA,2DAKqC;AAErC,mBAAyB,OAAY;IACjC,MAAM,YAAY,qBACX,OAAO;QAEV,6CAA6C;QAC7C,YAAY,EAAE,gBAAgB;QAE9B,2BAA2B;QAC3B,OAAO,EAAE,UAAU;QAEnB,sCAAsC;QACtC,4DAA4D;QAC5D,gBAAgB,EAAE;QACd,0CAA0C;SAC7C,GACJ,CAAC;IAEF,OAAO,8BAAiB,CAAC,4BAA4B,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;AACnF,CAAC;AAlBD,4BAkBC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../tooling/schematics/ngAdd/index.ts"],"names":[],"mappings":";;AAAA,2DAKqC;AAErC,mBAAyB,OAAY;IACjC,MAAM,YAAY,mCACX,OAAO;QAEV,6CAA6C;QAC7C,YAAY,EAAE,gBAAgB;QAE9B,2BAA2B;QAC3B,OAAO,EAAE,UAAU;QAEnB,sCAAsC;QACtC,4DAA4D;QAC5D,gBAAgB,EAAE;QACd,0CAA0C;SAC7C,GACJ,CAAC;IAEF,OAAO,8BAAiB,CAAC,4BAA4B,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;AACnF,CAAC;AAlBD,4BAkBC"}