@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.
- package/{dist/es2015/barcode-validator.d.ts → barcode-validator.d.ts} +0 -0
- package/{dist/es2015/barcode.component.d.ts → barcode.component.d.ts} +4 -1
- package/{dist/es2015/barcode.module.d.ts → barcode.module.d.ts} +6 -0
- package/{dist/es2015/barcodes.module.d.ts → barcodes.module.d.ts} +6 -0
- package/{dist/es2015/base.component.d.ts → base.component.d.ts} +6 -3
- package/bundles/kendo-angular-barcodes.umd.js +5 -0
- package/{dist/es2015/chart-types → chart-types}/barcode-types.d.ts +0 -0
- package/{dist/es2015/chart-types → chart-types}/field-types.d.ts +0 -0
- package/{dist/es2015/chart-types → chart-types}/qrcode-types.d.ts +0 -0
- package/{dist/es2015/chart-types.d.ts → chart-types.d.ts} +0 -0
- package/{dist/es2015 → esm2015}/barcode-validator.js +0 -2
- package/{dist/es2015 → esm2015}/barcode.component.js +42 -64
- package/{dist/es → esm2015}/barcode.module.js +14 -14
- package/{dist/es → esm2015}/barcodes.module.js +12 -12
- package/{dist/es2015 → esm2015}/base.component.js +12 -10
- package/{dist/es2015 → esm2015}/chart-types/barcode-types.js +1 -0
- package/{dist/es2015 → esm2015}/chart-types/field-types.js +1 -0
- package/{dist/es2015 → esm2015}/chart-types/qrcode-types.js +1 -0
- package/{dist/es → esm2015}/chart-types.js +3 -0
- package/{dist/es/index.js → esm2015/kendo-angular-barcodes.js} +0 -1
- package/{dist/es2015/main.d.ts → esm2015/main.js} +0 -0
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/{dist/es2015 → esm2015}/qrcode-validator.js +0 -0
- package/{dist/es2015 → esm2015}/qrcode.component.js +40 -60
- package/{dist/es2015 → esm2015}/qrcode.module.js +14 -11
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-barcodes.js} +129 -155
- package/{dist/es2015/index.d.ts → kendo-angular-barcodes.d.ts} +1 -1
- package/{dist/es/main.js → main.d.ts} +1 -0
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +29 -100
- package/{dist/es2015/qrcode-validator.d.ts → qrcode-validator.d.ts} +0 -0
- package/{dist/es2015/qrcode.component.d.ts → qrcode.component.d.ts} +4 -1
- package/{dist/es2015/qrcode.module.d.ts → qrcode.module.d.ts} +6 -0
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/dist/cdn/js/kendo-angular-barcodes.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/barcode-validator.js +0 -51
- package/dist/es/barcode.component.js +0 -149
- package/dist/es/base.component.js +0 -117
- package/dist/es/chart-types/barcode-types.js +0 -4
- package/dist/es/chart-types/field-types.js +0 -4
- package/dist/es/chart-types/qrcode-types.js +0 -4
- package/dist/es/package-metadata.js +0 -15
- package/dist/es/qrcode-validator.js +0 -45
- package/dist/es/qrcode.component.js +0 -147
- package/dist/es/qrcode.module.js +0 -52
- package/dist/es2015/barcode.module.js +0 -49
- package/dist/es2015/barcodes.module.js +0 -47
- package/dist/es2015/chart-types.js +0 -4
- package/dist/es2015/index.js +0 -9
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/main.js +0 -11
- package/dist/fesm5/index.js +0 -629
- package/dist/npm/barcode-validator.js +0 -53
- package/dist/npm/barcode.component.js +0 -151
- package/dist/npm/barcode.module.js +0 -54
- package/dist/npm/barcodes.module.js +0 -52
- package/dist/npm/base.component.js +0 -119
- package/dist/npm/chart-types/barcode-types.js +0 -6
- package/dist/npm/chart-types/field-types.js +0 -6
- package/dist/npm/chart-types/qrcode-types.js +0 -6
- package/dist/npm/chart-types.js +0 -6
- package/dist/npm/index.js +0 -13
- package/dist/npm/main.js +0 -20
- package/dist/npm/package-metadata.js +0 -17
- package/dist/npm/qrcode-validator.js +0 -47
- package/dist/npm/qrcode.component.js +0 -149
- package/dist/npm/qrcode.module.js +0 -54
- package/dist/systemjs/kendo-angular-barcodes.js +0 -5
|
File without changes
|
|
@@ -6,6 +6,7 @@ import { ElementRef, NgZone, Renderer2 } from '@angular/core';
|
|
|
6
6
|
import { Barcode, BarcodeOptions } from '@progress/kendo-charts';
|
|
7
7
|
import { BaseComponent } from './base.component';
|
|
8
8
|
import { BarcodeText, BarcodeType, Border, Padding, RenderMode } from './chart-types';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
9
10
|
/**
|
|
10
11
|
* Represents the Kendo UI Barcode component for Angular.
|
|
11
12
|
*
|
|
@@ -305,8 +306,10 @@ export declare class BarcodeComponent extends BaseComponent {
|
|
|
305
306
|
* ```
|
|
306
307
|
*/
|
|
307
308
|
resizeRateLimit: number;
|
|
308
|
-
protected
|
|
309
|
+
protected get options(): BarcodeOptions;
|
|
309
310
|
constructor(element: ElementRef, renderer: Renderer2, ngZone: NgZone);
|
|
310
311
|
protected createInstance(element: any, options: any): Barcode;
|
|
311
312
|
protected onError(error: Error): void;
|
|
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>;
|
|
312
315
|
}
|
|
@@ -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 "./barcode.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 Barcode component.
|
|
@@ -34,4 +37,7 @@
|
|
|
34
37
|
* ```
|
|
35
38
|
*/
|
|
36
39
|
export declare class BarcodeModule {
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BarcodeModule, never>;
|
|
41
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BarcodeModule, [typeof i1.BarcodeComponent], [typeof i2.ResizeSensorModule], [typeof i1.BarcodeComponent]>;
|
|
42
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BarcodeModule>;
|
|
37
43
|
}
|
|
@@ -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 "./barcode.module";
|
|
7
|
+
import * as i2 from "./qrcode.module";
|
|
5
8
|
/**
|
|
6
9
|
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
7
10
|
* definition for the Barcode and QR Code components.
|
|
@@ -34,4 +37,7 @@
|
|
|
34
37
|
* ```
|
|
35
38
|
*/
|
|
36
39
|
export declare class BarcodesModule {
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BarcodesModule, never>;
|
|
41
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BarcodesModule, never, never, [typeof i1.BarcodeModule, typeof i2.QRCodeModule]>;
|
|
42
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BarcodesModule>;
|
|
37
43
|
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { AfterViewInit, ElementRef, NgZone, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
|
|
6
6
|
import { Group, ImageExportOptions, SVGExportOptions } from '@progress/kendo-drawing';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
* @hidden
|
|
9
10
|
*/
|
|
@@ -14,9 +15,9 @@ export declare abstract class BaseComponent implements OnChanges, AfterViewInit
|
|
|
14
15
|
resizeRateLimit: number;
|
|
15
16
|
surfaceElement: ElementRef;
|
|
16
17
|
protected instance: any;
|
|
17
|
-
protected abstract
|
|
18
|
-
protected
|
|
19
|
-
protected
|
|
18
|
+
protected abstract get options(): any;
|
|
19
|
+
protected get autoResize(): boolean;
|
|
20
|
+
protected get canRender(): boolean;
|
|
20
21
|
constructor(element: ElementRef, renderer: Renderer2, ngZone: NgZone);
|
|
21
22
|
ngAfterViewInit(): void;
|
|
22
23
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -52,4 +53,6 @@ export declare abstract class BaseComponent implements OnChanges, AfterViewInit
|
|
|
52
53
|
protected abstract createInstance(element: any, options: any): any;
|
|
53
54
|
protected refresh(): void;
|
|
54
55
|
protected isDevMode(): boolean;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, never>;
|
|
57
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseComponent, never, never, { "resizeRateLimit": "resizeRateLimit"; }, {}, never>;
|
|
55
58
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
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
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@progress/kendo-charts"),require("@progress/kendo-angular-common"),require("@progress/kendo-drawing"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define("KendoAngularBarcodes",["exports","@angular/core","@progress/kendo-charts","@progress/kendo-angular-common","@progress/kendo-drawing","@progress/kendo-licensing"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoAngularBarcodes={},e.ng.core,e.KendoCharts,e.KendoAngularCommon,e.KendoDrawing,e.KendoLicensing)}(this,function(e,t,o,r,n,i){"use strict";function s(r){if(r&&r.__esModule)return r;var n=Object.create(null);return r&&Object.keys(r).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(r,e),Object.defineProperty(n,e,t.get?t:{enumerable:!0,get:function(){return r[e]}}))}),n.default=r,Object.freeze(n)}var a=s(t),c=s(r),p=function(e,t){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}Object.create;Object.create;var d={name:"@progress/kendo-angular-barcodes",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1648824417,version:"",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"},l=(Object.defineProperty(g.prototype,"autoResize",{get:function(){return 0<this.resizeRateLimit},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"canRender",{get:function(){return r.isDocumentAvailable()&&Boolean(this.element)},enumerable:!1,configurable:!0}),g.prototype.ngAfterViewInit=function(){this.refresh()},g.prototype.ngOnChanges=function(e){e.renderAs&&this.instance&&(this.instance.destroy(),this.instance=null),this.refresh()},g.prototype.resize=function(){this.instance&&this.instance.redraw()},g.prototype.onResize=function(){this.autoResize&&this.resize()},g.prototype.exportImage=function(e){return void 0===e&&(e={}),n.exportImage(this.exportVisual(),e)},g.prototype.exportSVG=function(e){return void 0===e&&(e={}),n.exportSVG(this.exportVisual(),e)},g.prototype.exportVisual=function(){return this.instance.exportVisual()},g.prototype.refresh=function(){var e;this.canRender&&(this.instance?this.instance.setOptions(this.options):(e=this.element.nativeElement,this.instance=this.createInstance(e,this.options)))},g.prototype.isDevMode=function(){return t.isDevMode()},g);function g(e,t,r){this.element=e,this.renderer=t,this.ngZone=r,this.resizeRateLimit=10,i.validatePackage(d)}l.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:l,deps:[{token:a.ElementRef},{token:a.Renderer2},{token:a.NgZone}],target:a.ɵɵFactoryTarget.Directive}),l.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:l,inputs:{resizeRateLimit:"resizeRateLimit"},viewQueries:[{propertyName:"surfaceElement",first:!0,predicate:["surface"],descendants:!0,static:!0}],usesOnChanges:!0,ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:l,decorators:[{type:t.Directive}],ctorParameters:function(){return[{type:a.ElementRef},{type:a.Renderer2},{type:a.NgZone}]},propDecorators:{resizeRateLimit:[{type:t.Input}],surfaceElement:[{type:t.ViewChild,args:["surface",{static:!0}]}]}});u(h,m=l),Object.defineProperty(h.prototype,"options",{get:function(){return{renderAs:this.renderAs,background:this.background,border:this.border,checksum:this.checksum,color:this.color,height:this.height,padding:this.padding,text:this.text,type:this.type,value:this.value,width:this.width}},enumerable:!1,configurable:!0}),h.prototype.createInstance=function(e,t){return new o.Barcode(e,t,this.onError.bind(this))},h.prototype.onError=function(e){if(e.name=d.productName+" Barcode",this.isDevMode())throw e;console.warn(e)};var m,y=h;function h(e,t,r){var n=m.call(this,e,t,r)||this;return n.element=e,n.renderer=t,n.ngZone=r,n.resizeRateLimit=10,n}y.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:y,deps:[{token:a.ElementRef},{token:a.Renderer2},{token:a.NgZone}],target:a.ɵɵFactoryTarget.Component}),y.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:y,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:!0,ngImport:a,template:'\n <kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>\n ',isInline:!0,components:[{type:c.ResizeSensorComponent,selector:"kendo-resize-sensor",inputs:["rateLimit"],outputs:["resize"]}],changeDetection:a.ChangeDetectionStrategy.OnPush}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:y,decorators:[{type:t.Component,args:[{changeDetection:t.ChangeDetectionStrategy.OnPush,exportAs:"kendoBarcode",selector:"kendo-barcode",template:'\n <kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>\n '}]}],ctorParameters:function(){return[{type:a.ElementRef},{type:a.Renderer2},{type:a.NgZone}]},propDecorators:{background:[{type:t.Input}],border:[{type:t.Input}],checksum:[{type:t.Input}],color:[{type:t.Input}],height:[{type:t.Input}],padding:[{type:t.Input}],renderAs:[{type:t.Input}],text:[{type:t.Input}],type:[{type:t.Input}],value:[{type:t.Input}],width:[{type:t.Input}],resizeRateLimit:[{type:t.Input}]}});u(v,f=l),Object.defineProperty(v.prototype,"options",{get:function(){return{background:this.background||"#fff",border:this.border,color:this.color||"#000",encoding:this.encoding,errorCorrection:this.errorCorrection||"L",overlay:this.overlay||{},padding:this.padding,renderAs:this.renderAs,size:this.size,value:this.value}},enumerable:!1,configurable:!0}),v.prototype.createInstance=function(e,t){return new o.QRCode(e,t,this.onError.bind(this))},v.prototype.onError=function(e){if(e.name=d.productName+" QRCode",this.isDevMode())throw e;console.warn(e)};var f,l=v;function v(e,t,r){var n=f.call(this,e,t,r)||this;return n.element=e,n.renderer=t,n.ngZone=r,n.resizeRateLimit=10,n}l.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:l,deps:[{token:a.ElementRef},{token:a.Renderer2},{token:a.NgZone}],target:a.ɵɵFactoryTarget.Component}),l.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:l,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:!0,ngImport:a,template:'\n <kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>\n ',isInline:!0,components:[{type:c.ResizeSensorComponent,selector:"kendo-resize-sensor",inputs:["rateLimit"],outputs:["resize"]}],changeDetection:a.ChangeDetectionStrategy.OnPush}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:l,decorators:[{type:t.Component,args:[{changeDetection:t.ChangeDetectionStrategy.OnPush,selector:"kendo-qrcode",exportAs:"kendoQRCode",template:'\n <kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>\n '}]}],ctorParameters:function(){return[{type:a.ElementRef},{type:a.Renderer2},{type:a.NgZone}]},propDecorators:{background:[{type:t.Input}],border:[{type:t.Input}],color:[{type:t.Input}],encoding:[{type:t.Input}],errorCorrection:[{type:t.Input}],overlay:[{type:t.Input}],padding:[{type:t.Input}],renderAs:[{type:t.Input}],size:[{type:t.Input}],value:[{type:t.Input}],resizeRateLimit:[{type:t.Input}]}});var c=function(){},I=(c.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:c,deps:[],target:a.ɵɵFactoryTarget.NgModule}),c.ɵmod=a.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:c,declarations:[y],imports:[r.ResizeSensorModule],exports:[y]}),c.ɵinj=a.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:c,imports:[[r.ResizeSensorModule]]}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:c,decorators:[{type:t.NgModule,args:[{declarations:[y],imports:[r.ResizeSensorModule],exports:[y]}]}]}),function(){}),k=(I.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:I,deps:[],target:a.ɵɵFactoryTarget.NgModule}),I.ɵmod=a.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:I,declarations:[l],imports:[r.ResizeSensorModule],exports:[l]}),I.ɵinj=a.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:I,imports:[[r.ResizeSensorModule]]}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:I,decorators:[{type:t.NgModule,args:[{declarations:[l],imports:[r.ResizeSensorModule],exports:[l]}]}]}),function(){});k.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:k,deps:[],target:a.ɵɵFactoryTarget.NgModule}),k.ɵmod=a.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:k,exports:[c,I]}),k.ɵinj=a.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:k,imports:[c,I]}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:k,decorators:[{type:t.NgModule,args:[{exports:[c,I]}]}]});e.BarcodeComponent=y,e.BarcodeModule=c,e.BarcodesModule=k,e.QRCodeComponent=l,e.QRCodeModule=I,e.createBarcodeValidator=function(r,e){var n=o.barcodeValidator(r,e);return function(e){if(null==e.value||""===e.value)return null;var t=n(e.value);return!0===t.valid?null:{barcode:{message:t.error.message,value:e.value,type:r}}}},e.createQRCodeValidator=function(r){void 0===r&&(r="ISO_8859_1");var n=o.qrcodeValidator(r);return function(e){if(!e.value)return null;var t=n(e.value);return!0===t.valid?null:{qrcode:{message:t.error.message,value:e.value,encoding:r}}}},Object.defineProperty(e,"__esModule",{value:!0})});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -7,7 +7,6 @@ import { barcodeValidator } from '@progress/kendo-charts';
|
|
|
7
7
|
* @hidden
|
|
8
8
|
*/
|
|
9
9
|
const isPresent = (value) => value !== null && value !== undefined;
|
|
10
|
-
const ɵ0 = isPresent;
|
|
11
10
|
/**
|
|
12
11
|
* Creates a value validator for a particular Barcode type.
|
|
13
12
|
*
|
|
@@ -48,4 +47,3 @@ export const createBarcodeValidator = (type, size) => {
|
|
|
48
47
|
};
|
|
49
48
|
};
|
|
50
49
|
};
|
|
51
|
-
export { ɵ0 };
|
|
@@ -2,11 +2,12 @@
|
|
|
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
|
|
6
|
-
import { ChangeDetectionStrategy, Component, ElementRef, Input, NgZone, Renderer2 } from '@angular/core';
|
|
5
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
7
6
|
import { Barcode } from '@progress/kendo-charts';
|
|
8
7
|
import { BaseComponent } from './base.component';
|
|
9
8
|
import { packageMetadata } from './package-metadata';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "@progress/kendo-angular-common";
|
|
10
11
|
/**
|
|
11
12
|
* Represents the Kendo UI Barcode component for Angular.
|
|
12
13
|
*
|
|
@@ -25,7 +26,7 @@ import { packageMetadata } from './package-metadata';
|
|
|
25
26
|
* }
|
|
26
27
|
* ```
|
|
27
28
|
*/
|
|
28
|
-
|
|
29
|
+
export class BarcodeComponent extends BaseComponent {
|
|
29
30
|
constructor(element, renderer, ngZone) {
|
|
30
31
|
super(element, renderer, ngZone);
|
|
31
32
|
this.element = element;
|
|
@@ -79,66 +80,43 @@ let BarcodeComponent = class BarcodeComponent extends BaseComponent {
|
|
|
79
80
|
console.warn(error);
|
|
80
81
|
}
|
|
81
82
|
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
], BarcodeComponent.prototype, "checksum", void 0);
|
|
95
|
-
tslib_1.__decorate([
|
|
96
|
-
Input(),
|
|
97
|
-
tslib_1.__metadata("design:type", String)
|
|
98
|
-
], BarcodeComponent.prototype, "color", void 0);
|
|
99
|
-
tslib_1.__decorate([
|
|
100
|
-
Input(),
|
|
101
|
-
tslib_1.__metadata("design:type", Number)
|
|
102
|
-
], BarcodeComponent.prototype, "height", void 0);
|
|
103
|
-
tslib_1.__decorate([
|
|
104
|
-
Input(),
|
|
105
|
-
tslib_1.__metadata("design:type", Object)
|
|
106
|
-
], BarcodeComponent.prototype, "padding", void 0);
|
|
107
|
-
tslib_1.__decorate([
|
|
108
|
-
Input(),
|
|
109
|
-
tslib_1.__metadata("design:type", String)
|
|
110
|
-
], BarcodeComponent.prototype, "renderAs", void 0);
|
|
111
|
-
tslib_1.__decorate([
|
|
112
|
-
Input(),
|
|
113
|
-
tslib_1.__metadata("design:type", Object)
|
|
114
|
-
], BarcodeComponent.prototype, "text", void 0);
|
|
115
|
-
tslib_1.__decorate([
|
|
116
|
-
Input(),
|
|
117
|
-
tslib_1.__metadata("design:type", String)
|
|
118
|
-
], BarcodeComponent.prototype, "type", void 0);
|
|
119
|
-
tslib_1.__decorate([
|
|
120
|
-
Input(),
|
|
121
|
-
tslib_1.__metadata("design:type", Object)
|
|
122
|
-
], BarcodeComponent.prototype, "value", void 0);
|
|
123
|
-
tslib_1.__decorate([
|
|
124
|
-
Input(),
|
|
125
|
-
tslib_1.__metadata("design:type", Number)
|
|
126
|
-
], BarcodeComponent.prototype, "width", void 0);
|
|
127
|
-
tslib_1.__decorate([
|
|
128
|
-
Input(),
|
|
129
|
-
tslib_1.__metadata("design:type", Number)
|
|
130
|
-
], BarcodeComponent.prototype, "resizeRateLimit", void 0);
|
|
131
|
-
BarcodeComponent = tslib_1.__decorate([
|
|
132
|
-
Component({
|
|
133
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
134
|
-
exportAs: 'kendoBarcode',
|
|
135
|
-
selector: 'kendo-barcode',
|
|
136
|
-
template: `
|
|
83
|
+
}
|
|
84
|
+
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 });
|
|
85
|
+
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: `
|
|
86
|
+
<kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
87
|
+
`, isInline: true, components: [{ type: i1.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
88
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BarcodeComponent, decorators: [{
|
|
89
|
+
type: Component,
|
|
90
|
+
args: [{
|
|
91
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
92
|
+
exportAs: 'kendoBarcode',
|
|
93
|
+
selector: 'kendo-barcode',
|
|
94
|
+
template: `
|
|
137
95
|
<kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
138
96
|
`
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
97
|
+
}]
|
|
98
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { background: [{
|
|
99
|
+
type: Input
|
|
100
|
+
}], border: [{
|
|
101
|
+
type: Input
|
|
102
|
+
}], checksum: [{
|
|
103
|
+
type: Input
|
|
104
|
+
}], color: [{
|
|
105
|
+
type: Input
|
|
106
|
+
}], height: [{
|
|
107
|
+
type: Input
|
|
108
|
+
}], padding: [{
|
|
109
|
+
type: Input
|
|
110
|
+
}], renderAs: [{
|
|
111
|
+
type: Input
|
|
112
|
+
}], text: [{
|
|
113
|
+
type: Input
|
|
114
|
+
}], type: [{
|
|
115
|
+
type: Input
|
|
116
|
+
}], value: [{
|
|
117
|
+
type: Input
|
|
118
|
+
}], width: [{
|
|
119
|
+
type: Input
|
|
120
|
+
}], resizeRateLimit: [{
|
|
121
|
+
type: Input
|
|
122
|
+
}] } });
|
|
@@ -2,10 +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 * as tslib_1 from "tslib";
|
|
6
5
|
import { NgModule } from '@angular/core';
|
|
7
6
|
import { ResizeSensorModule } from '@progress/kendo-angular-common';
|
|
8
7
|
import { BarcodeComponent } from './barcode.component';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
11
11
|
* definition for the Barcode component.
|
|
@@ -37,16 +37,16 @@ import { BarcodeComponent } from './barcode.component';
|
|
|
37
37
|
*
|
|
38
38
|
* ```
|
|
39
39
|
*/
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
|
|
40
|
+
export class BarcodeModule {
|
|
41
|
+
}
|
|
42
|
+
BarcodeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BarcodeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
43
|
+
BarcodeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BarcodeModule, declarations: [BarcodeComponent], imports: [ResizeSensorModule], exports: [BarcodeComponent] });
|
|
44
|
+
BarcodeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BarcodeModule, imports: [[ResizeSensorModule]] });
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BarcodeModule, decorators: [{
|
|
46
|
+
type: NgModule,
|
|
47
|
+
args: [{
|
|
48
|
+
declarations: [BarcodeComponent],
|
|
49
|
+
imports: [ResizeSensorModule],
|
|
50
|
+
exports: [BarcodeComponent]
|
|
51
|
+
}]
|
|
52
|
+
}] });
|
|
@@ -2,10 +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 * as tslib_1 from "tslib";
|
|
6
5
|
import { NgModule } from '@angular/core';
|
|
7
6
|
import { BarcodeModule } from './barcode.module';
|
|
8
7
|
import { QRCodeModule } from './qrcode.module';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
11
11
|
* definition for the Barcode and QR Code components.
|
|
@@ -37,14 +37,14 @@ import { QRCodeModule } from './qrcode.module';
|
|
|
37
37
|
*
|
|
38
38
|
* ```
|
|
39
39
|
*/
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
|
|
40
|
+
export class BarcodesModule {
|
|
41
|
+
}
|
|
42
|
+
BarcodesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BarcodesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
43
|
+
BarcodesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BarcodesModule, exports: [BarcodeModule, QRCodeModule] });
|
|
44
|
+
BarcodesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BarcodesModule, imports: [BarcodeModule, QRCodeModule] });
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BarcodesModule, decorators: [{
|
|
46
|
+
type: NgModule,
|
|
47
|
+
args: [{
|
|
48
|
+
exports: [BarcodeModule, QRCodeModule]
|
|
49
|
+
}]
|
|
50
|
+
}] });
|
|
@@ -2,12 +2,12 @@
|
|
|
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
|
|
6
|
-
import { ElementRef, Input, isDevMode, ViewChild } from '@angular/core';
|
|
5
|
+
import { Directive, Input, isDevMode, ViewChild } from '@angular/core';
|
|
7
6
|
import { isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
8
7
|
import { exportImage, exportSVG } from '@progress/kendo-drawing';
|
|
9
8
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
10
9
|
import { packageMetadata } from './package-metadata';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
12
|
* @hidden
|
|
13
13
|
*/
|
|
@@ -95,11 +95,13 @@ export class BaseComponent {
|
|
|
95
95
|
return isDevMode();
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
98
|
+
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 });
|
|
99
|
+
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 });
|
|
100
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BaseComponent, decorators: [{
|
|
101
|
+
type: Directive
|
|
102
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { resizeRateLimit: [{
|
|
103
|
+
type: Input
|
|
104
|
+
}], surfaceElement: [{
|
|
105
|
+
type: ViewChild,
|
|
106
|
+
args: ['surface', { static: true }]
|
|
107
|
+
}] } });
|
|
@@ -2,3 +2,4 @@
|
|
|
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
|
+
export {};
|
|
@@ -2,3 +2,4 @@
|
|
|
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
|
+
export {};
|
|
@@ -2,3 +2,4 @@
|
|
|
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
|
+
export {};
|
|
@@ -2,3 +2,6 @@
|
|
|
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
|
+
export * from './chart-types/barcode-types';
|
|
6
|
+
export * from './chart-types/qrcode-types';
|
|
7
|
+
export * from './chart-types/field-types';
|
|
File without changes
|
|
@@ -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:
|
|
12
|
+
publishDate: 1648824417,
|
|
13
13
|
version: '',
|
|
14
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
15
|
};
|
|
File without changes
|
|
@@ -2,11 +2,12 @@
|
|
|
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
|
|
6
|
-
import { ChangeDetectionStrategy, Component, ElementRef, Input, NgZone, Renderer2 } from '@angular/core';
|
|
5
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
7
6
|
import { QRCode } from '@progress/kendo-charts';
|
|
8
7
|
import { BaseComponent } from './base.component';
|
|
9
8
|
import { packageMetadata } from './package-metadata';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "@progress/kendo-angular-common";
|
|
10
11
|
const DEFAULT_COLOR = '#000';
|
|
11
12
|
const DEFAULT_BACKGROUND = '#fff';
|
|
12
13
|
const DEFAULT_ERROR_CORRECTION = 'L';
|
|
@@ -28,7 +29,7 @@ const DEFAULT_ERROR_CORRECTION = 'L';
|
|
|
28
29
|
* }
|
|
29
30
|
* ```
|
|
30
31
|
*/
|
|
31
|
-
|
|
32
|
+
export class QRCodeComponent extends BaseComponent {
|
|
32
33
|
constructor(element, renderer, ngZone) {
|
|
33
34
|
super(element, renderer, ngZone);
|
|
34
35
|
this.element = element;
|
|
@@ -81,62 +82,41 @@ let QRCodeComponent = class QRCodeComponent extends BaseComponent {
|
|
|
81
82
|
console.warn(error);
|
|
82
83
|
}
|
|
83
84
|
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
], QRCodeComponent.prototype, "color", void 0);
|
|
97
|
-
tslib_1.__decorate([
|
|
98
|
-
Input(),
|
|
99
|
-
tslib_1.__metadata("design:type", String)
|
|
100
|
-
], QRCodeComponent.prototype, "encoding", void 0);
|
|
101
|
-
tslib_1.__decorate([
|
|
102
|
-
Input(),
|
|
103
|
-
tslib_1.__metadata("design:type", String)
|
|
104
|
-
], QRCodeComponent.prototype, "errorCorrection", void 0);
|
|
105
|
-
tslib_1.__decorate([
|
|
106
|
-
Input(),
|
|
107
|
-
tslib_1.__metadata("design:type", Object)
|
|
108
|
-
], QRCodeComponent.prototype, "overlay", void 0);
|
|
109
|
-
tslib_1.__decorate([
|
|
110
|
-
Input(),
|
|
111
|
-
tslib_1.__metadata("design:type", Number)
|
|
112
|
-
], QRCodeComponent.prototype, "padding", void 0);
|
|
113
|
-
tslib_1.__decorate([
|
|
114
|
-
Input(),
|
|
115
|
-
tslib_1.__metadata("design:type", String)
|
|
116
|
-
], QRCodeComponent.prototype, "renderAs", void 0);
|
|
117
|
-
tslib_1.__decorate([
|
|
118
|
-
Input(),
|
|
119
|
-
tslib_1.__metadata("design:type", Object)
|
|
120
|
-
], QRCodeComponent.prototype, "size", void 0);
|
|
121
|
-
tslib_1.__decorate([
|
|
122
|
-
Input(),
|
|
123
|
-
tslib_1.__metadata("design:type", Object)
|
|
124
|
-
], QRCodeComponent.prototype, "value", void 0);
|
|
125
|
-
tslib_1.__decorate([
|
|
126
|
-
Input(),
|
|
127
|
-
tslib_1.__metadata("design:type", Number)
|
|
128
|
-
], QRCodeComponent.prototype, "resizeRateLimit", void 0);
|
|
129
|
-
QRCodeComponent = tslib_1.__decorate([
|
|
130
|
-
Component({
|
|
131
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
132
|
-
selector: 'kendo-qrcode',
|
|
133
|
-
exportAs: 'kendoQRCode',
|
|
134
|
-
template: `
|
|
85
|
+
}
|
|
86
|
+
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 });
|
|
87
|
+
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: `
|
|
88
|
+
<kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
89
|
+
`, isInline: true, components: [{ type: i1.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
90
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: QRCodeComponent, decorators: [{
|
|
91
|
+
type: Component,
|
|
92
|
+
args: [{
|
|
93
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
94
|
+
selector: 'kendo-qrcode',
|
|
95
|
+
exportAs: 'kendoQRCode',
|
|
96
|
+
template: `
|
|
135
97
|
<kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
136
98
|
`
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
99
|
+
}]
|
|
100
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { background: [{
|
|
101
|
+
type: Input
|
|
102
|
+
}], border: [{
|
|
103
|
+
type: Input
|
|
104
|
+
}], color: [{
|
|
105
|
+
type: Input
|
|
106
|
+
}], encoding: [{
|
|
107
|
+
type: Input
|
|
108
|
+
}], errorCorrection: [{
|
|
109
|
+
type: Input
|
|
110
|
+
}], overlay: [{
|
|
111
|
+
type: Input
|
|
112
|
+
}], padding: [{
|
|
113
|
+
type: Input
|
|
114
|
+
}], renderAs: [{
|
|
115
|
+
type: Input
|
|
116
|
+
}], size: [{
|
|
117
|
+
type: Input
|
|
118
|
+
}], value: [{
|
|
119
|
+
type: Input
|
|
120
|
+
}], resizeRateLimit: [{
|
|
121
|
+
type: Input
|
|
122
|
+
}] } });
|
|
@@ -2,10 +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 * as tslib_1 from "tslib";
|
|
6
5
|
import { NgModule } from '@angular/core';
|
|
7
6
|
import { ResizeSensorModule } from '@progress/kendo-angular-common';
|
|
8
7
|
import { QRCodeComponent } from './qrcode.component';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
11
11
|
* definition for the QR Code component.
|
|
@@ -37,13 +37,16 @@ import { QRCodeComponent } from './qrcode.component';
|
|
|
37
37
|
*
|
|
38
38
|
* ```
|
|
39
39
|
*/
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
QRCodeModule =
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
],
|
|
49
|
-
|
|
40
|
+
export class QRCodeModule {
|
|
41
|
+
}
|
|
42
|
+
QRCodeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: QRCodeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
43
|
+
QRCodeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: QRCodeModule, declarations: [QRCodeComponent], imports: [ResizeSensorModule], exports: [QRCodeComponent] });
|
|
44
|
+
QRCodeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: QRCodeModule, imports: [[ResizeSensorModule]] });
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: QRCodeModule, decorators: [{
|
|
46
|
+
type: NgModule,
|
|
47
|
+
args: [{
|
|
48
|
+
declarations: [QRCodeComponent],
|
|
49
|
+
imports: [ResizeSensorModule],
|
|
50
|
+
exports: [QRCodeComponent]
|
|
51
|
+
}]
|
|
52
|
+
}] });
|