@progress/kendo-react-barcodes 5.4.0-dev.202205250548 → 5.4.0-dev.202205271059
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/cdn/js/kendo-react-barcodes.js +1 -1
- package/dist/es/Barcode.d.ts +3 -3
- package/dist/es/Barcode.js +10 -6
- package/dist/es/BarcodeProps.js +1 -0
- package/dist/es/BaseBarcode.d.ts +1 -1
- package/dist/es/BaseBarcode.js +8 -4
- package/dist/es/BaseBarcodeProps.js +1 -0
- package/dist/es/QRCode.d.ts +3 -3
- package/dist/es/QRCode.js +10 -6
- package/dist/es/QRCodeProps.js +1 -0
- package/dist/es/common/barcodes.js +1 -0
- package/dist/es/main.js +1 -0
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/store/reducer.js +6 -1
- package/dist/es/types/barcode-text.js +1 -0
- package/dist/es/types/barcode-type.js +1 -0
- package/dist/es/types/border.interface.js +1 -0
- package/dist/es/types/dash-type.interface.js +1 -0
- package/dist/es/types/margin.interface.js +1 -0
- package/dist/es/types/padding.interface.js +1 -0
- package/dist/es/types/qrcode-encoding.js +1 -0
- package/dist/es/types/qrcode-error-correction.js +1 -0
- package/dist/es/types/qrcode-overlay.js +1 -0
- package/dist/es/types/render-mode.js +1 -0
- package/dist/es/types.js +1 -0
- package/dist/npm/Barcode.d.ts +3 -3
- package/dist/npm/Barcode.js +11 -6
- package/dist/npm/BarcodeContext.js +1 -0
- package/dist/npm/BaseBarcode.d.ts +1 -1
- package/dist/npm/BaseBarcode.js +9 -4
- package/dist/npm/QRCode.d.ts +3 -3
- package/dist/npm/QRCode.js +11 -6
- package/dist/npm/main.js +14 -2
- package/dist/npm/package-metadata.js +2 -1
- package/dist/npm/store/reducer.js +7 -1
- package/dist/npm/store/store.js +1 -0
- package/dist/npm/utils/common.js +3 -1
- package/dist/systemjs/kendo-react-barcodes.js +1 -1
- package/package.json +7 -7
package/dist/es/Barcode.d.ts
CHANGED
|
@@ -10,15 +10,15 @@ export declare class Barcode extends React.Component<BarcodeProps, {}> {
|
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
get barcodeInstance(): any;
|
|
14
14
|
/**
|
|
15
15
|
* The Drawing `Surface` of the Barcode.
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
get surface(): Surface | null;
|
|
18
18
|
/**
|
|
19
19
|
* The DOM element of the Barcode.
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
get element(): HTMLDivElement | null;
|
|
22
22
|
/**
|
|
23
23
|
* @hidden
|
|
24
24
|
*/
|
package/dist/es/Barcode.js
CHANGED
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -27,8 +29,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
27
29
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
28
30
|
t[p] = s[p];
|
|
29
31
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
30
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)
|
|
31
|
-
|
|
32
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
33
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
34
|
+
t[p[i]] = s[p[i]];
|
|
35
|
+
}
|
|
32
36
|
return t;
|
|
33
37
|
};
|
|
34
38
|
import * as React from 'react';
|
|
@@ -72,7 +76,7 @@ var Barcode = /** @class */ (function (_super) {
|
|
|
72
76
|
}
|
|
73
77
|
return null;
|
|
74
78
|
},
|
|
75
|
-
enumerable:
|
|
79
|
+
enumerable: false,
|
|
76
80
|
configurable: true
|
|
77
81
|
});
|
|
78
82
|
Object.defineProperty(Barcode.prototype, "surface", {
|
|
@@ -85,7 +89,7 @@ var Barcode = /** @class */ (function (_super) {
|
|
|
85
89
|
}
|
|
86
90
|
return null;
|
|
87
91
|
},
|
|
88
|
-
enumerable:
|
|
92
|
+
enumerable: false,
|
|
89
93
|
configurable: true
|
|
90
94
|
});
|
|
91
95
|
Object.defineProperty(Barcode.prototype, "element", {
|
|
@@ -98,7 +102,7 @@ var Barcode = /** @class */ (function (_super) {
|
|
|
98
102
|
}
|
|
99
103
|
return null;
|
|
100
104
|
},
|
|
101
|
-
enumerable:
|
|
105
|
+
enumerable: false,
|
|
102
106
|
configurable: true
|
|
103
107
|
});
|
|
104
108
|
/**
|
package/dist/es/BarcodeProps.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/es/BaseBarcode.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export declare class BaseBarcode extends React.Component<BaseBarcodePrivateProps
|
|
|
31
31
|
/**
|
|
32
32
|
* @hidden
|
|
33
33
|
*/
|
|
34
|
-
|
|
34
|
+
get element(): HTMLDivElement;
|
|
35
35
|
protected _element: HTMLDivElement | null;
|
|
36
36
|
protected contextValue: BarcodeContextType;
|
|
37
37
|
protected observersStore: any;
|
package/dist/es/BaseBarcode.js
CHANGED
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -16,8 +18,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
16
18
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
17
19
|
t[p] = s[p];
|
|
18
20
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
19
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)
|
|
20
|
-
|
|
21
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
22
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
23
|
+
t[p[i]] = s[p[i]];
|
|
24
|
+
}
|
|
21
25
|
return t;
|
|
22
26
|
};
|
|
23
27
|
import * as React from 'react';
|
|
@@ -65,7 +69,7 @@ var BaseBarcode = /** @class */ (function (_super) {
|
|
|
65
69
|
get: function () {
|
|
66
70
|
return this._element;
|
|
67
71
|
},
|
|
68
|
-
enumerable:
|
|
72
|
+
enumerable: false,
|
|
69
73
|
configurable: true
|
|
70
74
|
});
|
|
71
75
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/es/QRCode.d.ts
CHANGED
|
@@ -10,15 +10,15 @@ export declare class QRCode extends React.Component<QRCodeProps, {}> {
|
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
get barcodeInstance(): any;
|
|
14
14
|
/**
|
|
15
15
|
* The Drawing `Surface` of the Barcode.
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
get surface(): Surface | null;
|
|
18
18
|
/**
|
|
19
19
|
* The DOM element of the Barcode.
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
get element(): HTMLDivElement | null;
|
|
22
22
|
/**
|
|
23
23
|
* @hidden
|
|
24
24
|
*/
|
package/dist/es/QRCode.js
CHANGED
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -27,8 +29,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
27
29
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
28
30
|
t[p] = s[p];
|
|
29
31
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
30
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)
|
|
31
|
-
|
|
32
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
33
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
34
|
+
t[p[i]] = s[p[i]];
|
|
35
|
+
}
|
|
32
36
|
return t;
|
|
33
37
|
};
|
|
34
38
|
import * as React from 'react';
|
|
@@ -75,7 +79,7 @@ var QRCode = /** @class */ (function (_super) {
|
|
|
75
79
|
}
|
|
76
80
|
return null;
|
|
77
81
|
},
|
|
78
|
-
enumerable:
|
|
82
|
+
enumerable: false,
|
|
79
83
|
configurable: true
|
|
80
84
|
});
|
|
81
85
|
Object.defineProperty(QRCode.prototype, "surface", {
|
|
@@ -88,7 +92,7 @@ var QRCode = /** @class */ (function (_super) {
|
|
|
88
92
|
}
|
|
89
93
|
return null;
|
|
90
94
|
},
|
|
91
|
-
enumerable:
|
|
95
|
+
enumerable: false,
|
|
92
96
|
configurable: true
|
|
93
97
|
});
|
|
94
98
|
Object.defineProperty(QRCode.prototype, "element", {
|
|
@@ -101,7 +105,7 @@ var QRCode = /** @class */ (function (_super) {
|
|
|
101
105
|
}
|
|
102
106
|
return null;
|
|
103
107
|
},
|
|
104
|
-
enumerable:
|
|
108
|
+
enumerable: false,
|
|
105
109
|
configurable: true
|
|
106
110
|
});
|
|
107
111
|
/**
|
package/dist/es/QRCodeProps.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/es/main.js
CHANGED
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-react-barcodes',
|
|
6
6
|
productName: 'KendoReact',
|
|
7
7
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1653649031,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
11
11
|
};
|
package/dist/es/store/reducer.js
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from) {
|
|
2
|
+
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
|
|
3
|
+
to[j] = from[i];
|
|
4
|
+
return to;
|
|
5
|
+
};
|
|
1
6
|
/**
|
|
2
7
|
* @hidden
|
|
3
8
|
*/
|
|
@@ -16,7 +21,7 @@ var observersReducer = function (currentState, action) {
|
|
|
16
21
|
if (action.type) {
|
|
17
22
|
switch (action.type) {
|
|
18
23
|
case 'add':
|
|
19
|
-
return
|
|
24
|
+
return __spreadArray(__spreadArray([], currentState), [action.payload]);
|
|
20
25
|
case 'remove':
|
|
21
26
|
return currentState.filter(function (element) { return element !== action.payload; });
|
|
22
27
|
default:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/es/types.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/npm/Barcode.d.ts
CHANGED
|
@@ -10,15 +10,15 @@ export declare class Barcode extends React.Component<BarcodeProps, {}> {
|
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
get barcodeInstance(): any;
|
|
14
14
|
/**
|
|
15
15
|
* The Drawing `Surface` of the Barcode.
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
get surface(): Surface | null;
|
|
18
18
|
/**
|
|
19
19
|
* The DOM element of the Barcode.
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
get element(): HTMLDivElement | null;
|
|
22
22
|
/**
|
|
23
23
|
* @hidden
|
|
24
24
|
*/
|
package/dist/npm/Barcode.js
CHANGED
|
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -28,11 +30,14 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
28
30
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
29
31
|
t[p] = s[p];
|
|
30
32
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
31
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)
|
|
32
|
-
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
33
37
|
return t;
|
|
34
38
|
};
|
|
35
39
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.Barcode = void 0;
|
|
36
41
|
var React = require("react");
|
|
37
42
|
var BaseBarcode_1 = require("./BaseBarcode");
|
|
38
43
|
var kendo_charts_1 = require("@progress/kendo-charts");
|
|
@@ -74,7 +79,7 @@ var Barcode = /** @class */ (function (_super) {
|
|
|
74
79
|
}
|
|
75
80
|
return null;
|
|
76
81
|
},
|
|
77
|
-
enumerable:
|
|
82
|
+
enumerable: false,
|
|
78
83
|
configurable: true
|
|
79
84
|
});
|
|
80
85
|
Object.defineProperty(Barcode.prototype, "surface", {
|
|
@@ -87,7 +92,7 @@ var Barcode = /** @class */ (function (_super) {
|
|
|
87
92
|
}
|
|
88
93
|
return null;
|
|
89
94
|
},
|
|
90
|
-
enumerable:
|
|
95
|
+
enumerable: false,
|
|
91
96
|
configurable: true
|
|
92
97
|
});
|
|
93
98
|
Object.defineProperty(Barcode.prototype, "element", {
|
|
@@ -100,7 +105,7 @@ var Barcode = /** @class */ (function (_super) {
|
|
|
100
105
|
}
|
|
101
106
|
return null;
|
|
102
107
|
},
|
|
103
|
-
enumerable:
|
|
108
|
+
enumerable: false,
|
|
104
109
|
configurable: true
|
|
105
110
|
});
|
|
106
111
|
/**
|
|
@@ -31,7 +31,7 @@ export declare class BaseBarcode extends React.Component<BaseBarcodePrivateProps
|
|
|
31
31
|
/**
|
|
32
32
|
* @hidden
|
|
33
33
|
*/
|
|
34
|
-
|
|
34
|
+
get element(): HTMLDivElement;
|
|
35
35
|
protected _element: HTMLDivElement | null;
|
|
36
36
|
protected contextValue: BarcodeContextType;
|
|
37
37
|
protected observersStore: any;
|
package/dist/npm/BaseBarcode.js
CHANGED
|
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -17,11 +19,14 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
17
19
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
18
20
|
t[p] = s[p];
|
|
19
21
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
20
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)
|
|
21
|
-
|
|
22
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
23
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
24
|
+
t[p[i]] = s[p[i]];
|
|
25
|
+
}
|
|
22
26
|
return t;
|
|
23
27
|
};
|
|
24
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.BaseBarcode = void 0;
|
|
25
30
|
var React = require("react");
|
|
26
31
|
var PropTypes = require("prop-types");
|
|
27
32
|
var store_1 = require("./store/store");
|
|
@@ -67,7 +72,7 @@ var BaseBarcode = /** @class */ (function (_super) {
|
|
|
67
72
|
get: function () {
|
|
68
73
|
return this._element;
|
|
69
74
|
},
|
|
70
|
-
enumerable:
|
|
75
|
+
enumerable: false,
|
|
71
76
|
configurable: true
|
|
72
77
|
});
|
|
73
78
|
/**
|
package/dist/npm/QRCode.d.ts
CHANGED
|
@@ -10,15 +10,15 @@ export declare class QRCode extends React.Component<QRCodeProps, {}> {
|
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
get barcodeInstance(): any;
|
|
14
14
|
/**
|
|
15
15
|
* The Drawing `Surface` of the Barcode.
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
get surface(): Surface | null;
|
|
18
18
|
/**
|
|
19
19
|
* The DOM element of the Barcode.
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
get element(): HTMLDivElement | null;
|
|
22
22
|
/**
|
|
23
23
|
* @hidden
|
|
24
24
|
*/
|
package/dist/npm/QRCode.js
CHANGED
|
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -28,11 +30,14 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
28
30
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
29
31
|
t[p] = s[p];
|
|
30
32
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
31
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)
|
|
32
|
-
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
33
37
|
return t;
|
|
34
38
|
};
|
|
35
39
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.QRCode = void 0;
|
|
36
41
|
var React = require("react");
|
|
37
42
|
var BaseBarcode_1 = require("./BaseBarcode");
|
|
38
43
|
var kendo_charts_1 = require("@progress/kendo-charts");
|
|
@@ -77,7 +82,7 @@ var QRCode = /** @class */ (function (_super) {
|
|
|
77
82
|
}
|
|
78
83
|
return null;
|
|
79
84
|
},
|
|
80
|
-
enumerable:
|
|
85
|
+
enumerable: false,
|
|
81
86
|
configurable: true
|
|
82
87
|
});
|
|
83
88
|
Object.defineProperty(QRCode.prototype, "surface", {
|
|
@@ -90,7 +95,7 @@ var QRCode = /** @class */ (function (_super) {
|
|
|
90
95
|
}
|
|
91
96
|
return null;
|
|
92
97
|
},
|
|
93
|
-
enumerable:
|
|
98
|
+
enumerable: false,
|
|
94
99
|
configurable: true
|
|
95
100
|
});
|
|
96
101
|
Object.defineProperty(QRCode.prototype, "element", {
|
|
@@ -103,7 +108,7 @@ var QRCode = /** @class */ (function (_super) {
|
|
|
103
108
|
}
|
|
104
109
|
return null;
|
|
105
110
|
},
|
|
106
|
-
enumerable:
|
|
111
|
+
enumerable: false,
|
|
107
112
|
configurable: true
|
|
108
113
|
});
|
|
109
114
|
/**
|
package/dist/npm/main.js
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
2
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
exports.QRCode = exports.Barcode = void 0;
|
|
3
14
|
var Barcode_1 = require("./Barcode");
|
|
4
|
-
exports
|
|
15
|
+
Object.defineProperty(exports, "Barcode", { enumerable: true, get: function () { return Barcode_1.Barcode; } });
|
|
5
16
|
var QRCode_1 = require("./QRCode");
|
|
6
|
-
exports
|
|
17
|
+
Object.defineProperty(exports, "QRCode", { enumerable: true, get: function () { return QRCode_1.QRCode; } });
|
|
18
|
+
__exportStar(require("./types"), exports);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.packageMetadata = void 0;
|
|
3
4
|
/**
|
|
4
5
|
* @hidden
|
|
5
6
|
*/
|
|
@@ -7,7 +8,7 @@ exports.packageMetadata = {
|
|
|
7
8
|
name: '@progress/kendo-react-barcodes',
|
|
8
9
|
productName: 'KendoReact',
|
|
9
10
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
10
|
-
publishDate:
|
|
11
|
+
publishDate: 1653649031,
|
|
11
12
|
version: '',
|
|
12
13
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
13
14
|
};
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from) {
|
|
3
|
+
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
|
|
4
|
+
to[j] = from[i];
|
|
5
|
+
return to;
|
|
6
|
+
};
|
|
2
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.observersReducer = exports.optionsReducer = void 0;
|
|
3
9
|
/**
|
|
4
10
|
* @hidden
|
|
5
11
|
*/
|
|
@@ -19,7 +25,7 @@ var observersReducer = function (currentState, action) {
|
|
|
19
25
|
if (action.type) {
|
|
20
26
|
switch (action.type) {
|
|
21
27
|
case 'add':
|
|
22
|
-
return
|
|
28
|
+
return __spreadArray(__spreadArray([], currentState), [action.payload]);
|
|
23
29
|
case 'remove':
|
|
24
30
|
return currentState.filter(function (element) { return element !== action.payload; });
|
|
25
31
|
default:
|
package/dist/npm/store/store.js
CHANGED
package/dist/npm/utils/common.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isOptionsChanged = void 0;
|
|
3
4
|
var isObject = function (value) {
|
|
4
5
|
return typeof value === 'object';
|
|
5
6
|
};
|
|
@@ -23,7 +24,7 @@ var diffOptions = function (original, current) {
|
|
|
23
24
|
/**
|
|
24
25
|
* @hidden
|
|
25
26
|
*/
|
|
26
|
-
|
|
27
|
+
var isOptionsChanged = function (original, current) {
|
|
27
28
|
if (!original || !current) {
|
|
28
29
|
return true;
|
|
29
30
|
}
|
|
@@ -39,3 +40,4 @@ exports.isOptionsChanged = function (original, current) {
|
|
|
39
40
|
}
|
|
40
41
|
return false;
|
|
41
42
|
};
|
|
43
|
+
exports.isOptionsChanged = isOptionsChanged;
|