Skip to content

Commit 7d0bde9

Browse files
committed
13.1.0
1 parent 07e0576 commit 7d0bde9

File tree

613 files changed

+21045
-19543
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

613 files changed

+21045
-19543
lines changed

barcode/package.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"main": "../bundles/smart-webcomponents-angular-barcode.umd.js",
3+
"module": "../fesm5/smart-webcomponents-angular-barcode.js",
4+
"es2015": "../fesm2015/smart-webcomponents-angular-barcode.js",
5+
"esm5": "../esm5/barcode/smart-webcomponents-angular-barcode.js",
6+
"esm2015": "../esm2015/barcode/smart-webcomponents-angular-barcode.js",
7+
"fesm5": "../fesm5/smart-webcomponents-angular-barcode.js",
8+
"fesm2015": "../fesm2015/smart-webcomponents-angular-barcode.js",
9+
"typings": "smart-webcomponents-angular-barcode.d.ts",
10+
"metadata": "smart-webcomponents-angular-barcode.metadata.json",
11+
"sideEffects": false,
12+
"name": "smart-webcomponents-angular/barcode"
13+
}

barcode/public_api.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export * from './smart.barcode';
2+
export * from './smart.barcode.module';
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/**
2+
* Generated bundle index. Do not edit.
3+
*/
4+
export * from './public_api';
5+
export { BaseElement as ɵa } from './smart.element';
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
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"}

barcode/smart.barcode.d.ts

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
import { BarCode } from './../index';
2+
import { BarCodeLabelPosition, BarCodeRenderAs, BarCodeType } from './../index';
3+
import { AfterViewInit, ElementRef, OnInit, OnChanges, OnDestroy, SimpleChanges, EventEmitter } from '@angular/core';
4+
import { BaseElement } from './smart.element';
5+
export { BarCodeLabelPosition, BarCodeRenderAs, BarCodeType, ElementRenderMode } from './../index';
6+
export { Smart } from './smart.element';
7+
export { BarCode } from './../index';
8+
export declare class BarCodeComponent extends BaseElement implements OnInit, AfterViewInit, OnDestroy, OnChanges {
9+
constructor(ref: ElementRef<BarCode>);
10+
private eventHandlers;
11+
nativeElement: BarCode;
12+
/** @description Creates the component on demand.
13+
* @param properties An optional object of properties, which will be added to the template binded ones.
14+
*/
15+
createComponent(properties?: {}): any;
16+
/** @description Sets the background color of the barcode element. */
17+
backgroundColor: string;
18+
/** @description Sets whether the barcode label is visible. */
19+
disaplyLabel: boolean;
20+
/** @description Sets the color of the barcode label. */
21+
labelCOlor: string;
22+
/** @description Sets the font family of the barcode label. */
23+
labelFont: string;
24+
/** @description Sets the font size of the barcode label. */
25+
labelFontSize: number;
26+
/** @description Sets the bottom margin of the barcode label. */
27+
labelMarginBottom: number;
28+
/** @description Sets the top margin of the barcode label. */
29+
labelMarginTop: number;
30+
/** @description Sets the position of the barcode label. */
31+
labelPosition: BarCodeLabelPosition;
32+
/** @description Sets the color of the barcode lines. */
33+
lineColor: string;
34+
/** @description Sets the height of the barcode line. */
35+
lineHeight: number;
36+
/** @description Sets the width of the barcode line. */
37+
lineWidth: number;
38+
/** @description Sets the rendering mode of the barcode. */
39+
renderAs: BarCodeRenderAs;
40+
/** @description Sets the barcode type */
41+
type: BarCodeType;
42+
/** @description Sets or gets the value of the barcode. */
43+
value: string;
44+
/** @description This event is triggered when the value of the barcode is invalid.
45+
* @param event. The custom event. Custom event was created with: event.detail( value, invalidCharacters)
46+
* value - the invalid value of the barcode.
47+
* invalidCharacters - An array indicating the invalid characters.
48+
*/
49+
onInvalid: EventEmitter<CustomEvent>;
50+
/** @description Exports the barcode.
51+
* @param {string} format. The format of the exported file - svg, png, jpg
52+
* @param {string} fileName?. The name of the exported file
53+
*/
54+
export(format: string, fileName?: string): void;
55+
/** @description Gets the base64 string of the barcode
56+
* @param {string} format. The dataURL format of the string - svg, png, jpg
57+
* @returns {string}
58+
*/
59+
getDataURL(format: any): Promise<any>;
60+
/** @description Gets the base64 string of the barcode
61+
* @param {string} format. The dataURL format of the string - svg, png, jpg
62+
* @returns {any}
63+
*/
64+
getDataURLAsync(format: any): Promise<any>;
65+
/** @description Gets the validity of the barcode
66+
* @returns {boolean}
67+
*/
68+
isValid(): Promise<any>;
69+
readonly isRendered: boolean;
70+
ngOnInit(): void;
71+
ngAfterViewInit(): void;
72+
ngOnDestroy(): void;
73+
ngOnChanges(changes: SimpleChanges): void;
74+
/** @description Add event listeners. */
75+
private listen;
76+
/** @description Remove event listeners. */
77+
private unlisten;
78+
}

barcode/smart.barcode.module.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export declare class BarCodeModule {
2+
}

barcode/smart.element.d.ts

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
declare global {
2+
interface Window {
3+
Smart: any;
4+
}
5+
}
6+
import { ElementRef, EventEmitter } from '@angular/core';
7+
export declare class BaseElement {
8+
constructor(ref: ElementRef);
9+
onCreate: EventEmitter<any>;
10+
onReady: EventEmitter<any>;
11+
onAttach: EventEmitter<any>;
12+
onDetach: EventEmitter<any>;
13+
nativeElement: any;
14+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
15+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
16+
dispatchEvent(event: Event): boolean;
17+
blur(): void;
18+
click(): void;
19+
focus(options?: FocusOptions): void;
20+
/** @description Sets or gets the language. Used in conjunction with the property messages. */
21+
locale: string;
22+
/** @description Callback used to customize the format of the messages that are returned from the Localization Module. */
23+
localizeFormatFunction: any;
24+
/** @description Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale. */
25+
messages: any;
26+
/** @description Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. */
27+
rightToLeft: boolean;
28+
/** @description Determines the theme. Theme defines the look of the element */
29+
theme: string;
30+
}
31+
export declare const Smart: any;

0 commit comments

Comments
 (0)