-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
613 changed files
with
21,045 additions
and
19,543 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"main": "../bundles/smart-webcomponents-angular-barcode.umd.js", | ||
"module": "../fesm5/smart-webcomponents-angular-barcode.js", | ||
"es2015": "../fesm2015/smart-webcomponents-angular-barcode.js", | ||
"esm5": "../esm5/barcode/smart-webcomponents-angular-barcode.js", | ||
"esm2015": "../esm2015/barcode/smart-webcomponents-angular-barcode.js", | ||
"fesm5": "../fesm5/smart-webcomponents-angular-barcode.js", | ||
"fesm2015": "../fesm2015/smart-webcomponents-angular-barcode.js", | ||
"typings": "smart-webcomponents-angular-barcode.d.ts", | ||
"metadata": "smart-webcomponents-angular-barcode.metadata.json", | ||
"sideEffects": false, | ||
"name": "smart-webcomponents-angular/barcode" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export * from './smart.barcode'; | ||
export * from './smart.barcode.module'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
export * from './public_api'; | ||
export { BaseElement as ɵa } from './smart.element'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"__symbolic":"module","version":4,"exports":[{"export":[{"name":"BarCodeLabelPosition","as":"BarCodeLabelPosition"},{"name":"BarCodeRenderAs","as":"BarCodeRenderAs"},{"name":"BarCodeType","as":"BarCodeType"},{"name":"ElementRenderMode","as":"ElementRenderMode"},{"name":"BarCode","as":"BarCode"}],"from":"../index"}],"metadata":{"ɵa":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":12,"character":21}]}],"onCreate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":25,"character":5}}]}],"onReady":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":26,"character":5}}]}],"onAttach":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":27,"character":5}}]}],"onDetach":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":28,"character":5}}]}],"addEventListener":[{"__symbolic":"method"}],"removeEventListener":[{"__symbolic":"method"}],"dispatchEvent":[{"__symbolic":"method"}],"blur":[{"__symbolic":"method"}],"click":[{"__symbolic":"method"}],"focus":[{"__symbolic":"method"}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":57,"character":2}}]}],"localizeFormatFunction":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":66,"character":2}}]}],"messages":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":75,"character":2}}]}],"rightToLeft":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":84,"character":2}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":93,"character":2}}]}]}},"BarCodeComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵa"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":9,"character":1},"arguments":[{"selector":"smart-barcode, [smart-barcode]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"BarCode"}]}]}],"createComponent":[{"__symbolic":"method"}],"backgroundColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":2}}]}],"disaplyLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":2}}]}],"labelCOlor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":51,"character":2}}]}],"labelFont":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":60,"character":2}}]}],"labelFontSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":69,"character":2}}]}],"labelMarginBottom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":78,"character":2}}]}],"labelMarginTop":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":87,"character":2}}]}],"labelPosition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":96,"character":2}}]}],"lineColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":105,"character":2}}]}],"lineHeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":114,"character":2}}]}],"lineWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":123,"character":2}}]}],"renderAs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":132,"character":2}}]}],"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":141,"character":2}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":150,"character":2}}]}],"onInvalid":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":163,"character":2}}]}],"export":[{"__symbolic":"method"}],"getDataURL":[{"__symbolic":"method"}],"getDataURLAsync":[{"__symbolic":"method"}],"isValid":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"listen":[{"__symbolic":"method"}],"unlisten":[{"__symbolic":"method"}]}},"Smart":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"window"},"member":"Smart"},"BarCodeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":5,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"BarCodeComponent"}],"schemas":[{"__symbolic":"reference","module":"@angular/core","name":"CUSTOM_ELEMENTS_SCHEMA","line":7,"character":11}],"exports":[{"__symbolic":"reference","name":"BarCodeComponent"}]}]}],"members":{}}},"origins":{"ɵa":"./smart.element","BarCodeComponent":"./smart.barcode","Smart":"./smart.element","BarCodeModule":"./smart.barcode.module"},"importAs":"smart-webcomponents-angular/barcode"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
import { BarCode } from './../index'; | ||
import { BarCodeLabelPosition, BarCodeRenderAs, BarCodeType } from './../index'; | ||
import { AfterViewInit, ElementRef, OnInit, OnChanges, OnDestroy, SimpleChanges, EventEmitter } from '@angular/core'; | ||
import { BaseElement } from './smart.element'; | ||
export { BarCodeLabelPosition, BarCodeRenderAs, BarCodeType, ElementRenderMode } from './../index'; | ||
export { Smart } from './smart.element'; | ||
export { BarCode } from './../index'; | ||
export declare class BarCodeComponent extends BaseElement implements OnInit, AfterViewInit, OnDestroy, OnChanges { | ||
constructor(ref: ElementRef<BarCode>); | ||
private eventHandlers; | ||
nativeElement: BarCode; | ||
/** @description Creates the component on demand. | ||
* @param properties An optional object of properties, which will be added to the template binded ones. | ||
*/ | ||
createComponent(properties?: {}): any; | ||
/** @description Sets the background color of the barcode element. */ | ||
backgroundColor: string; | ||
/** @description Sets whether the barcode label is visible. */ | ||
disaplyLabel: boolean; | ||
/** @description Sets the color of the barcode label. */ | ||
labelCOlor: string; | ||
/** @description Sets the font family of the barcode label. */ | ||
labelFont: string; | ||
/** @description Sets the font size of the barcode label. */ | ||
labelFontSize: number; | ||
/** @description Sets the bottom margin of the barcode label. */ | ||
labelMarginBottom: number; | ||
/** @description Sets the top margin of the barcode label. */ | ||
labelMarginTop: number; | ||
/** @description Sets the position of the barcode label. */ | ||
labelPosition: BarCodeLabelPosition; | ||
/** @description Sets the color of the barcode lines. */ | ||
lineColor: string; | ||
/** @description Sets the height of the barcode line. */ | ||
lineHeight: number; | ||
/** @description Sets the width of the barcode line. */ | ||
lineWidth: number; | ||
/** @description Sets the rendering mode of the barcode. */ | ||
renderAs: BarCodeRenderAs; | ||
/** @description Sets the barcode type */ | ||
type: BarCodeType; | ||
/** @description Sets or gets the value of the barcode. */ | ||
value: string; | ||
/** @description This event is triggered when the value of the barcode is invalid. | ||
* @param event. The custom event. Custom event was created with: event.detail( value, invalidCharacters) | ||
* value - the invalid value of the barcode. | ||
* invalidCharacters - An array indicating the invalid characters. | ||
*/ | ||
onInvalid: EventEmitter<CustomEvent>; | ||
/** @description Exports the barcode. | ||
* @param {string} format. The format of the exported file - svg, png, jpg | ||
* @param {string} fileName?. The name of the exported file | ||
*/ | ||
export(format: string, fileName?: string): void; | ||
/** @description Gets the base64 string of the barcode | ||
* @param {string} format. The dataURL format of the string - svg, png, jpg | ||
* @returns {string} | ||
*/ | ||
getDataURL(format: any): Promise<any>; | ||
/** @description Gets the base64 string of the barcode | ||
* @param {string} format. The dataURL format of the string - svg, png, jpg | ||
* @returns {any} | ||
*/ | ||
getDataURLAsync(format: any): Promise<any>; | ||
/** @description Gets the validity of the barcode | ||
* @returns {boolean} | ||
*/ | ||
isValid(): Promise<any>; | ||
readonly isRendered: boolean; | ||
ngOnInit(): void; | ||
ngAfterViewInit(): void; | ||
ngOnDestroy(): void; | ||
ngOnChanges(changes: SimpleChanges): void; | ||
/** @description Add event listeners. */ | ||
private listen; | ||
/** @description Remove event listeners. */ | ||
private unlisten; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export declare class BarCodeModule { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
declare global { | ||
interface Window { | ||
Smart: any; | ||
} | ||
} | ||
import { ElementRef, EventEmitter } from '@angular/core'; | ||
export declare class BaseElement { | ||
constructor(ref: ElementRef); | ||
onCreate: EventEmitter<any>; | ||
onReady: EventEmitter<any>; | ||
onAttach: EventEmitter<any>; | ||
onDetach: EventEmitter<any>; | ||
nativeElement: any; | ||
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; | ||
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; | ||
dispatchEvent(event: Event): boolean; | ||
blur(): void; | ||
click(): void; | ||
focus(options?: FocusOptions): void; | ||
/** @description Sets or gets the language. Used in conjunction with the property messages. */ | ||
locale: string; | ||
/** @description Callback used to customize the format of the messages that are returned from the Localization Module. */ | ||
localizeFormatFunction: any; | ||
/** @description Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale. */ | ||
messages: any; | ||
/** @description Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. */ | ||
rightToLeft: boolean; | ||
/** @description Determines the theme. Theme defines the look of the element */ | ||
theme: string; | ||
} | ||
export declare const Smart: any; |
Oops, something went wrong.