@aurigma/design-editor-iframe
Version:
Using this module you can embed Design Editor (a part of Customer's Canvas) to your page through the IFrame API.
78 lines • 2.65 kB
JavaScript
/**
* An enumeration of barcode formats.
* @example
* ``` js
* var configuration = {
* autoLoadUserInfo: true,
* userInfo: {
* "Ean 8": {
* "BarcodeFormat": "EAN_8",
* "BarcodeValue": "1234567"
* },
* "Ean 13": {
* "BarcodeFormat": "EAN_13",
* "BarcodeValue": "123456789012"
* },
* "Qr Code": {
* "BarcodeFormat": "QR_CODE",
* "BarcodeSubType": "Url",
* "Url": "https://example.com"
* }
* }
* };
* ```
* @public
*/
export var BarcodeFormat;
(function (BarcodeFormat) {
/** Design element representing a barcode in the Code 128B format. */
BarcodeFormat["CODE_128"] = "CODE_128";
/** Design element representing a linear EAN-8 code. */
BarcodeFormat["EAN_8"] = "EAN_8";
/** Design element representing a linear EAN-13 code. */
BarcodeFormat["EAN_13"] = "EAN_13";
/** Design element representing a 13-digit UPC-A code. */
BarcodeFormat["UPC_A"] = "UPC_A";
/** Design element representing an 8-digit UPC-E code. */
BarcodeFormat["UPC_E"] = "UPC_E";
/** Design element representing a QR code. Together with QR codes, you can specify {@link BarcodeSubType}. */
BarcodeFormat["QR_CODE"] = "QR_CODE";
/** Design element representing a DataMatrix code. */
BarcodeFormat["DATA_MATRIX"] = "DATA_MATRIX";
})(BarcodeFormat || (BarcodeFormat = {}));
/**
* An enumeration of QR code subtypes.
* @example
* ``` js
* var configuration = {
* autoLoadUserInfo: true,
* userInfo: {
* "Phone Number": {
* "BarcodeFormat": "QR_CODE",
* "BarcodeSubType": "Phone",
* "Phone": "5551234567"
* },
* "Url": {
* "BarcodeFormat": "QR_CODE",
* "BarcodeSubType": "Url",
* "Url": "https://example.com"
* }
* }
* };
* ```
* @public
*/
export var BarcodeSubType;
(function (BarcodeSubType) {
/** QR code that does not require a subtype. */
BarcodeSubType["None"] = "None";
/** QR code representing VCard. */
BarcodeSubType["VCard"] = "VCard";
/** QR code representing a phone number. This barcode subtype uses the {@link IBarcodeData.phone} value. */
BarcodeSubType["Phone"] = "Phone";
/** QR code representing a URL address. This barcode subtype uses the {@link IBarcodeData.url} value. */
BarcodeSubType["Url"] = "Url";
/** QR code representing arbitrary data. */
BarcodeSubType["Data"] = "Data";
})(BarcodeSubType || (BarcodeSubType = {}));
//# sourceMappingURL=Barcode.js.map