jqwidgets-ng 13.2.0 → 14.0.0

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.
Files changed (134) hide show
  1. package/ReleaseNotes.txt +25 -1
  2. package/bundles/jqwidgets-ng-jqxbarcode.umd.js +604 -0
  3. package/bundles/jqwidgets-ng-jqxbarcode.umd.min.js +16 -0
  4. package/bundles/jqwidgets-ng-jqxgrid.umd.js +25 -1
  5. package/bundles/jqwidgets-ng-jqxgrid.umd.min.js +1 -1
  6. package/bundles/jqwidgets-ng-jqxqrcode.umd.js +622 -0
  7. package/bundles/jqwidgets-ng-jqxqrcode.umd.min.js +16 -0
  8. package/esm2015/jqxbarcode/angular_jqxbarcode.js +262 -0
  9. package/esm2015/jqxbarcode/angular_jqxbarcode.module.js +13 -0
  10. package/esm2015/jqxbarcode/jqwidgets-ng-jqxbarcode.js +4 -0
  11. package/esm2015/jqxbarcode/public_api.js +2 -0
  12. package/esm2015/jqxgrid/angular_jqxgrid.js +25 -1
  13. package/esm2015/jqxqrcode/angular_jqxqrcode.js +281 -0
  14. package/esm2015/jqxqrcode/angular_jqxqrcode.module.js +14 -0
  15. package/esm2015/jqxqrcode/jqwidgets-ng-jqxqrcode.js +4 -0
  16. package/esm2015/jqxqrcode/public_api.js +2 -0
  17. package/fesm2015/jqwidgets-ng-jqxbarcode.js +279 -0
  18. package/fesm2015/jqwidgets-ng-jqxgrid.js +25 -1
  19. package/fesm2015/jqwidgets-ng-jqxqrcode.js +298 -0
  20. package/jqwidgets/jqx-all.js +30 -8
  21. package/jqwidgets/jqxangular.js +1 -1
  22. package/jqwidgets/jqxbarcode.js +18 -0
  23. package/jqwidgets/jqxbargauge.js +1 -1
  24. package/jqwidgets/jqxbulletchart.js +1 -1
  25. package/jqwidgets/jqxbuttongroup.js +1 -1
  26. package/jqwidgets/jqxbuttons.js +1 -1
  27. package/jqwidgets/jqxcalendar.js +1 -1
  28. package/jqwidgets/jqxchart.annotations.js +1 -1
  29. package/jqwidgets/jqxchart.api.js +1 -1
  30. package/jqwidgets/jqxchart.core.js +1 -1
  31. package/jqwidgets/jqxchart.js +1 -1
  32. package/jqwidgets/jqxchart.rangeselector.js +1 -1
  33. package/jqwidgets/jqxchart.waterfall.js +1 -1
  34. package/jqwidgets/jqxcheckbox.js +1 -1
  35. package/jqwidgets/jqxcolorpicker.js +1 -1
  36. package/jqwidgets/jqxcombobox.js +1 -1
  37. package/jqwidgets/jqxcomplexinput.js +1 -1
  38. package/jqwidgets/jqxcore.js +1 -1
  39. package/jqwidgets/jqxdata.export.js +1 -1
  40. package/jqwidgets/jqxdata.js +1 -1
  41. package/jqwidgets/jqxdatatable.js +1 -1
  42. package/jqwidgets/jqxdate.js +1 -1
  43. package/jqwidgets/jqxdatetimeinput.js +1 -1
  44. package/jqwidgets/jqxdocking.js +1 -1
  45. package/jqwidgets/jqxdockinglayout.js +1 -1
  46. package/jqwidgets/jqxdockpanel.js +1 -1
  47. package/jqwidgets/jqxdragdrop.js +1 -1
  48. package/jqwidgets/jqxdraw.js +1 -1
  49. package/jqwidgets/jqxdropdownbutton.js +1 -1
  50. package/jqwidgets/jqxdropdownlist.js +1 -1
  51. package/jqwidgets/jqxeditor.js +1 -1
  52. package/jqwidgets/jqxexpander.js +1 -1
  53. package/jqwidgets/jqxfileupload.js +1 -1
  54. package/jqwidgets/jqxform.js +1 -1
  55. package/jqwidgets/jqxformattedinput.js +1 -1
  56. package/jqwidgets/jqxgauge.js +1 -1
  57. package/jqwidgets/jqxgrid.aggregates.js +1 -1
  58. package/jqwidgets/jqxgrid.columnsreorder.js +1 -1
  59. package/jqwidgets/jqxgrid.columnsresize.js +1 -1
  60. package/jqwidgets/jqxgrid.edit.js +2 -2
  61. package/jqwidgets/jqxgrid.export.js +1 -1
  62. package/jqwidgets/jqxgrid.filter.js +2 -2
  63. package/jqwidgets/jqxgrid.grouping.js +1 -1
  64. package/jqwidgets/jqxgrid.js +2 -2
  65. package/jqwidgets/jqxgrid.pager.js +1 -1
  66. package/jqwidgets/jqxgrid.selection.js +1 -1
  67. package/jqwidgets/jqxgrid.sort.js +2 -2
  68. package/jqwidgets/jqxgrid.storage.js +1 -1
  69. package/jqwidgets/jqxheatmap.js +1 -1
  70. package/jqwidgets/jqxinput.js +1 -1
  71. package/jqwidgets/jqxkanban.js +1 -1
  72. package/jqwidgets/jqxknob.js +1 -1
  73. package/jqwidgets/jqxknockout.js +1 -1
  74. package/jqwidgets/jqxlayout.js +1 -1
  75. package/jqwidgets/jqxlistbox.js +1 -1
  76. package/jqwidgets/jqxlistmenu.js +1 -1
  77. package/jqwidgets/jqxloader.js +1 -1
  78. package/jqwidgets/jqxmaskedinput.js +1 -1
  79. package/jqwidgets/jqxmenu.js +1 -1
  80. package/jqwidgets/jqxnavbar.js +1 -1
  81. package/jqwidgets/jqxnavigationbar.js +1 -1
  82. package/jqwidgets/jqxnotification.js +1 -1
  83. package/jqwidgets/jqxnumberinput.js +2 -2
  84. package/jqwidgets/jqxpanel.js +1 -1
  85. package/jqwidgets/jqxpasswordinput.js +1 -1
  86. package/jqwidgets/jqxpivot.js +1 -1
  87. package/jqwidgets/jqxpivotdesigner.js +1 -1
  88. package/jqwidgets/jqxpivotgrid.js +1 -1
  89. package/jqwidgets/jqxpopover.js +1 -1
  90. package/jqwidgets/jqxprogressbar.js +1 -1
  91. package/jqwidgets/jqxqrcode.js +18 -0
  92. package/jqwidgets/jqxradiobutton.js +1 -1
  93. package/jqwidgets/jqxrangeselector.js +1 -1
  94. package/jqwidgets/jqxrating.js +1 -1
  95. package/jqwidgets/jqxresponsivepanel.js +1 -1
  96. package/jqwidgets/jqxribbon.js +1 -1
  97. package/jqwidgets/jqxscheduler.api.js +1 -1
  98. package/jqwidgets/jqxscheduler.js +1 -1
  99. package/jqwidgets/jqxscrollbar.js +1 -1
  100. package/jqwidgets/jqxscrollview.js +1 -1
  101. package/jqwidgets/jqxslider.js +2 -2
  102. package/jqwidgets/jqxsortable.js +1 -1
  103. package/jqwidgets/jqxsplitlayout.js +1 -1
  104. package/jqwidgets/jqxsplitter.js +1 -1
  105. package/jqwidgets/jqxswitchbutton.js +1 -1
  106. package/jqwidgets/jqxtabs.js +2 -2
  107. package/jqwidgets/jqxtagcloud.js +1 -1
  108. package/jqwidgets/jqxtextarea.js +1 -1
  109. package/jqwidgets/jqxtimepicker.js +1 -1
  110. package/jqwidgets/jqxtoolbar.js +1 -1
  111. package/jqwidgets/jqxtooltip.js +1 -1
  112. package/jqwidgets/jqxtouch.js +1 -1
  113. package/jqwidgets/jqxtree.js +1 -1
  114. package/jqwidgets/jqxtreegrid.js +1 -1
  115. package/jqwidgets/jqxtreemap.js +1 -1
  116. package/jqwidgets/jqxvalidator.js +1 -1
  117. package/jqwidgets/jqxwindow.js +1 -1
  118. package/jqwidgets/styles/jqx.light.css +25 -5
  119. package/jqwidgets.d.ts +58 -0
  120. package/jqxbarcode/angular_jqxbarcode.d.ts +56 -0
  121. package/jqxbarcode/angular_jqxbarcode.module.d.ts +2 -0
  122. package/jqxbarcode/jqwidgets-ng-jqxbarcode.d.ts +4 -0
  123. package/jqxbarcode/jqwidgets-ng-jqxbarcode.metadata.json +1 -0
  124. package/jqxbarcode/package.json +11 -0
  125. package/jqxbarcode/public_api.d.ts +2 -0
  126. package/jqxgrid/angular_jqxgrid.d.ts +4 -0
  127. package/jqxgrid/jqwidgets-ng-jqxgrid.metadata.json +1 -1
  128. package/jqxqrcode/angular_jqxqrcode.d.ts +60 -0
  129. package/jqxqrcode/angular_jqxqrcode.module.d.ts +2 -0
  130. package/jqxqrcode/jqwidgets-ng-jqxqrcode.d.ts +4 -0
  131. package/jqxqrcode/jqwidgets-ng-jqxqrcode.metadata.json +1 -0
  132. package/jqxqrcode/package.json +11 -0
  133. package/jqxqrcode/public_api.d.ts +2 -0
  134. package/package.json +1 -1
package/ReleaseNotes.txt CHANGED
@@ -1,4 +1,28 @@
1
- jQWidgets v13.2.0 Release, Jan-27-2022
1
+ jQWidgets v14.0.0 Release, May-01-2022
2
+
3
+ What's New:
4
+
5
+ - jqxGrid command column.
6
+ - Barcode component.
7
+ - QRcode component.
8
+
9
+ What's Improved:
10
+
11
+ - Light theme is updated with more modern look and feel.
12
+
13
+ What's Fixed:
14
+
15
+ - Fixed an issue in jqxDataTable. 2nd level nested table disappears.
16
+ - Fixed an issue in jqxSlider - the "created" event does not fire.
17
+ - Fixed an issue in jqxNumberInput - spin buttons unexpected behavior. When decimalDigits and digits properties are set to 2 and the spin buttons are enabled with spinButtonsStep=0.1, the buttons don't work.
18
+ - Fixed an issue in jqxGrid - card view mode - cards change position during scroll
19
+ - Fixed an issue in jqxGrid - card view mode - cards are not fully displayed but there is no scrollbar
20
+ - Fixed an issue in jqxGrid - rowsheight is not preserved when you switch to cardview mode and then back to grid mode
21
+ - Fixed an issue in jqxGrid issue when used within a jqxSplitter component
22
+ - Fixed an issue in jqxGrid bug when having pinned columns doesn't scroll on the next column on key press
23
+
24
+
25
+ jQWidgets v13.2.0 Release, Jan-27-2022
2
26
 
3
27
  What's New:
4
28
 
@@ -0,0 +1,604 @@
1
+ require('../jqwidgets/jqxcore');
2
+ (function (global, factory) {
3
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) :
4
+ typeof define === 'function' && define.amd ? define('jqwidgets-ng/jqxbarcode', ['exports', '@angular/core'], factory) :
5
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['jqwidgets-ng'] = global['jqwidgets-ng'] || {}, global['jqwidgets-ng'].jqxbarcode = {}), global.ng.core));
6
+ }(this, (function (exports, core) { 'use strict';
7
+
8
+ /*! *****************************************************************************
9
+ Copyright (c) Microsoft Corporation.
10
+
11
+ Permission to use, copy, modify, and/or distribute this software for any
12
+ purpose with or without fee is hereby granted.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
15
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
16
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
17
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
18
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
19
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20
+ PERFORMANCE OF THIS SOFTWARE.
21
+ ***************************************************************************** */
22
+ /* global Reflect, Promise */
23
+ var extendStatics = function (d, b) {
24
+ extendStatics = Object.setPrototypeOf ||
25
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
26
+ function (d, b) { for (var p in b)
27
+ if (Object.prototype.hasOwnProperty.call(b, p))
28
+ d[p] = b[p]; };
29
+ return extendStatics(d, b);
30
+ };
31
+ function __extends(d, b) {
32
+ if (typeof b !== "function" && b !== null)
33
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
34
+ extendStatics(d, b);
35
+ function __() { this.constructor = d; }
36
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
37
+ }
38
+ var __assign = function () {
39
+ __assign = Object.assign || function __assign(t) {
40
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
41
+ s = arguments[i];
42
+ for (var p in s)
43
+ if (Object.prototype.hasOwnProperty.call(s, p))
44
+ t[p] = s[p];
45
+ }
46
+ return t;
47
+ };
48
+ return __assign.apply(this, arguments);
49
+ };
50
+ function __rest(s, e) {
51
+ var t = {};
52
+ for (var p in s)
53
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
54
+ t[p] = s[p];
55
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
56
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
57
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
58
+ t[p[i]] = s[p[i]];
59
+ }
60
+ return t;
61
+ }
62
+ function __decorate(decorators, target, key, desc) {
63
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
64
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
65
+ r = Reflect.decorate(decorators, target, key, desc);
66
+ else
67
+ for (var i = decorators.length - 1; i >= 0; i--)
68
+ if (d = decorators[i])
69
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
70
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
71
+ }
72
+ function __param(paramIndex, decorator) {
73
+ return function (target, key) { decorator(target, key, paramIndex); };
74
+ }
75
+ function __metadata(metadataKey, metadataValue) {
76
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
77
+ return Reflect.metadata(metadataKey, metadataValue);
78
+ }
79
+ function __awaiter(thisArg, _arguments, P, generator) {
80
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
81
+ return new (P || (P = Promise))(function (resolve, reject) {
82
+ function fulfilled(value) { try {
83
+ step(generator.next(value));
84
+ }
85
+ catch (e) {
86
+ reject(e);
87
+ } }
88
+ function rejected(value) { try {
89
+ step(generator["throw"](value));
90
+ }
91
+ catch (e) {
92
+ reject(e);
93
+ } }
94
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
95
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
96
+ });
97
+ }
98
+ function __generator(thisArg, body) {
99
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
100
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
101
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
102
+ function verb(n) { return function (v) { return step([n, v]); }; }
103
+ function step(op) {
104
+ if (f)
105
+ throw new TypeError("Generator is already executing.");
106
+ while (_)
107
+ try {
108
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
109
+ return t;
110
+ if (y = 0, t)
111
+ op = [op[0] & 2, t.value];
112
+ switch (op[0]) {
113
+ case 0:
114
+ case 1:
115
+ t = op;
116
+ break;
117
+ case 4:
118
+ _.label++;
119
+ return { value: op[1], done: false };
120
+ case 5:
121
+ _.label++;
122
+ y = op[1];
123
+ op = [0];
124
+ continue;
125
+ case 7:
126
+ op = _.ops.pop();
127
+ _.trys.pop();
128
+ continue;
129
+ default:
130
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
131
+ _ = 0;
132
+ continue;
133
+ }
134
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
135
+ _.label = op[1];
136
+ break;
137
+ }
138
+ if (op[0] === 6 && _.label < t[1]) {
139
+ _.label = t[1];
140
+ t = op;
141
+ break;
142
+ }
143
+ if (t && _.label < t[2]) {
144
+ _.label = t[2];
145
+ _.ops.push(op);
146
+ break;
147
+ }
148
+ if (t[2])
149
+ _.ops.pop();
150
+ _.trys.pop();
151
+ continue;
152
+ }
153
+ op = body.call(thisArg, _);
154
+ }
155
+ catch (e) {
156
+ op = [6, e];
157
+ y = 0;
158
+ }
159
+ finally {
160
+ f = t = 0;
161
+ }
162
+ if (op[0] & 5)
163
+ throw op[1];
164
+ return { value: op[0] ? op[1] : void 0, done: true };
165
+ }
166
+ }
167
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
168
+ if (k2 === undefined)
169
+ k2 = k;
170
+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
171
+ }) : (function (o, m, k, k2) {
172
+ if (k2 === undefined)
173
+ k2 = k;
174
+ o[k2] = m[k];
175
+ });
176
+ function __exportStar(m, o) {
177
+ for (var p in m)
178
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
179
+ __createBinding(o, m, p);
180
+ }
181
+ function __values(o) {
182
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
183
+ if (m)
184
+ return m.call(o);
185
+ if (o && typeof o.length === "number")
186
+ return {
187
+ next: function () {
188
+ if (o && i >= o.length)
189
+ o = void 0;
190
+ return { value: o && o[i++], done: !o };
191
+ }
192
+ };
193
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
194
+ }
195
+ function __read(o, n) {
196
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
197
+ if (!m)
198
+ return o;
199
+ var i = m.call(o), r, ar = [], e;
200
+ try {
201
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
202
+ ar.push(r.value);
203
+ }
204
+ catch (error) {
205
+ e = { error: error };
206
+ }
207
+ finally {
208
+ try {
209
+ if (r && !r.done && (m = i["return"]))
210
+ m.call(i);
211
+ }
212
+ finally {
213
+ if (e)
214
+ throw e.error;
215
+ }
216
+ }
217
+ return ar;
218
+ }
219
+ /** @deprecated */
220
+ function __spread() {
221
+ for (var ar = [], i = 0; i < arguments.length; i++)
222
+ ar = ar.concat(__read(arguments[i]));
223
+ return ar;
224
+ }
225
+ /** @deprecated */
226
+ function __spreadArrays() {
227
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
228
+ s += arguments[i].length;
229
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
230
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
231
+ r[k] = a[j];
232
+ return r;
233
+ }
234
+ function __spreadArray(to, from) {
235
+ for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
236
+ to[j] = from[i];
237
+ return to;
238
+ }
239
+ function __await(v) {
240
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
241
+ }
242
+ function __asyncGenerator(thisArg, _arguments, generator) {
243
+ if (!Symbol.asyncIterator)
244
+ throw new TypeError("Symbol.asyncIterator is not defined.");
245
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
246
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
247
+ function verb(n) { if (g[n])
248
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
249
+ function resume(n, v) { try {
250
+ step(g[n](v));
251
+ }
252
+ catch (e) {
253
+ settle(q[0][3], e);
254
+ } }
255
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
256
+ function fulfill(value) { resume("next", value); }
257
+ function reject(value) { resume("throw", value); }
258
+ function settle(f, v) { if (f(v), q.shift(), q.length)
259
+ resume(q[0][0], q[0][1]); }
260
+ }
261
+ function __asyncDelegator(o) {
262
+ var i, p;
263
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
264
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
265
+ }
266
+ function __asyncValues(o) {
267
+ if (!Symbol.asyncIterator)
268
+ throw new TypeError("Symbol.asyncIterator is not defined.");
269
+ var m = o[Symbol.asyncIterator], i;
270
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
271
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
272
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
273
+ }
274
+ function __makeTemplateObject(cooked, raw) {
275
+ if (Object.defineProperty) {
276
+ Object.defineProperty(cooked, "raw", { value: raw });
277
+ }
278
+ else {
279
+ cooked.raw = raw;
280
+ }
281
+ return cooked;
282
+ }
283
+ ;
284
+ var __setModuleDefault = Object.create ? (function (o, v) {
285
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
286
+ }) : function (o, v) {
287
+ o["default"] = v;
288
+ };
289
+ function __importStar(mod) {
290
+ if (mod && mod.__esModule)
291
+ return mod;
292
+ var result = {};
293
+ if (mod != null)
294
+ for (var k in mod)
295
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
296
+ __createBinding(result, mod, k);
297
+ __setModuleDefault(result, mod);
298
+ return result;
299
+ }
300
+ function __importDefault(mod) {
301
+ return (mod && mod.__esModule) ? mod : { default: mod };
302
+ }
303
+ function __classPrivateFieldGet(receiver, state, kind, f) {
304
+ if (kind === "a" && !f)
305
+ throw new TypeError("Private accessor was defined without a getter");
306
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
307
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
308
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
309
+ }
310
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
311
+ if (kind === "m")
312
+ throw new TypeError("Private method is not writable");
313
+ if (kind === "a" && !f)
314
+ throw new TypeError("Private accessor was defined without a setter");
315
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
316
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
317
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
318
+ }
319
+
320
+ var jqxBarcodeComponent = /** @class */ (function () {
321
+ function jqxBarcodeComponent(containerElement) {
322
+ this.autoCreate = true;
323
+ this.properties = ['backgroundColor', 'displayLabel', 'labelColor', 'labelFont', 'labelFontSize', 'labelMarginBottom', 'labelMarginTop', 'labelPosition', 'lineColor', 'lineHeight', 'lineWidth', 'renderAs', 'type', 'value'];
324
+ // jqxBarcodeComponent events
325
+ this.onInvalid = new core.EventEmitter();
326
+ this.elementRef = containerElement;
327
+ }
328
+ jqxBarcodeComponent.prototype.ngOnInit = function () {
329
+ if (this.autoCreate) {
330
+ this.createComponent();
331
+ }
332
+ };
333
+ ;
334
+ jqxBarcodeComponent.prototype.ngOnChanges = function (changes) {
335
+ if (this.host) {
336
+ for (var i = 0; i < this.properties.length; i++) {
337
+ var attrName = 'attr' + this.properties[i].substring(0, 1).toUpperCase() + this.properties[i].substring(1);
338
+ var areEqual = false;
339
+ if (this[attrName] !== undefined) {
340
+ if (typeof this[attrName] === 'object') {
341
+ if (this[attrName] instanceof Array) {
342
+ areEqual = this.arraysEqual(this[attrName], this.host.jqxBarcode(this.properties[i]));
343
+ }
344
+ if (areEqual) {
345
+ return false;
346
+ }
347
+ this.host.jqxBarcode(this.properties[i], this[attrName]);
348
+ continue;
349
+ }
350
+ if (this[attrName] !== this.host.jqxBarcode(this.properties[i])) {
351
+ this.host.jqxBarcode(this.properties[i], this[attrName]);
352
+ }
353
+ }
354
+ }
355
+ }
356
+ };
357
+ jqxBarcodeComponent.prototype.arraysEqual = function (attrValue, hostValue) {
358
+ if ((attrValue && !hostValue) || (!attrValue && hostValue)) {
359
+ return false;
360
+ }
361
+ if (attrValue.length != hostValue.length) {
362
+ return false;
363
+ }
364
+ for (var i = 0; i < attrValue.length; i++) {
365
+ if (attrValue[i] !== hostValue[i]) {
366
+ return false;
367
+ }
368
+ }
369
+ return true;
370
+ };
371
+ jqxBarcodeComponent.prototype.manageAttributes = function () {
372
+ var options = {};
373
+ for (var i = 0; i < this.properties.length; i++) {
374
+ var attrName = 'attr' + this.properties[i].substring(0, 1).toUpperCase() + this.properties[i].substring(1);
375
+ if (this[attrName] !== undefined) {
376
+ options[this.properties[i]] = this[attrName];
377
+ }
378
+ }
379
+ return options;
380
+ };
381
+ jqxBarcodeComponent.prototype.moveClasses = function (parentEl, childEl) {
382
+ var _a;
383
+ var classes = parentEl.classList;
384
+ if (classes.length > 0) {
385
+ (_a = childEl.classList).add.apply(_a, __spread(classes));
386
+ }
387
+ parentEl.className = '';
388
+ };
389
+ jqxBarcodeComponent.prototype.moveStyles = function (parentEl, childEl) {
390
+ var style = parentEl.style.cssText;
391
+ childEl.style.cssText = style;
392
+ parentEl.style.cssText = '';
393
+ };
394
+ jqxBarcodeComponent.prototype.createComponent = function (options) {
395
+ if (this.host) {
396
+ return;
397
+ }
398
+ if (options) {
399
+ JQXLite.extend(options, this.manageAttributes());
400
+ }
401
+ else {
402
+ options = this.manageAttributes();
403
+ }
404
+ this.host = JQXLite(this.elementRef.nativeElement.firstChild);
405
+ this.moveClasses(this.elementRef.nativeElement, this.host[0]);
406
+ this.moveStyles(this.elementRef.nativeElement, this.host[0]);
407
+ this.__wireEvents__();
408
+ this.widgetObject = jqwidgets.createInstance(this.host, 'jqxBarcode', options);
409
+ };
410
+ jqxBarcodeComponent.prototype.createWidget = function (options) {
411
+ this.createComponent(options);
412
+ };
413
+ jqxBarcodeComponent.prototype.__updateRect__ = function () {
414
+ if (this.host)
415
+ this.host.css({ width: this.attrWidth, height: this.attrHeight });
416
+ };
417
+ jqxBarcodeComponent.prototype.setOptions = function (options) {
418
+ this.host.jqxBarcode('setOptions', options);
419
+ };
420
+ // jqxBarcodeComponent properties
421
+ jqxBarcodeComponent.prototype.backgroundColor = function (arg) {
422
+ if (arg !== undefined) {
423
+ this.host.jqxBarcode('backgroundColor', arg);
424
+ }
425
+ else {
426
+ return this.host.jqxBarcode('backgroundColor');
427
+ }
428
+ };
429
+ jqxBarcodeComponent.prototype.displayLabel = function (arg) {
430
+ if (arg !== undefined) {
431
+ this.host.jqxBarcode('displayLabel', arg);
432
+ }
433
+ else {
434
+ return this.host.jqxBarcode('displayLabel');
435
+ }
436
+ };
437
+ jqxBarcodeComponent.prototype.labelColor = function (arg) {
438
+ if (arg !== undefined) {
439
+ this.host.jqxBarcode('labelColor', arg);
440
+ }
441
+ else {
442
+ return this.host.jqxBarcode('labelColor');
443
+ }
444
+ };
445
+ jqxBarcodeComponent.prototype.labelFont = function (arg) {
446
+ if (arg !== undefined) {
447
+ this.host.jqxBarcode('labelFont', arg);
448
+ }
449
+ else {
450
+ return this.host.jqxBarcode('labelFont');
451
+ }
452
+ };
453
+ jqxBarcodeComponent.prototype.labelFontSize = function (arg) {
454
+ if (arg !== undefined) {
455
+ this.host.jqxBarcode('labelFontSize', arg);
456
+ }
457
+ else {
458
+ return this.host.jqxBarcode('labelFontSize');
459
+ }
460
+ };
461
+ jqxBarcodeComponent.prototype.labelMarginBottom = function (arg) {
462
+ if (arg !== undefined) {
463
+ this.host.jqxBarcode('labelMarginBottom', arg);
464
+ }
465
+ else {
466
+ return this.host.jqxBarcode('labelMarginBottom');
467
+ }
468
+ };
469
+ jqxBarcodeComponent.prototype.labelMarginTop = function (arg) {
470
+ if (arg !== undefined) {
471
+ this.host.jqxBarcode('labelMarginTop', arg);
472
+ }
473
+ else {
474
+ return this.host.jqxBarcode('labelMarginTop');
475
+ }
476
+ };
477
+ jqxBarcodeComponent.prototype.labelPosition = function (arg) {
478
+ if (arg !== undefined) {
479
+ this.host.jqxBarcode('labelPosition', arg);
480
+ }
481
+ else {
482
+ return this.host.jqxBarcode('labelPosition');
483
+ }
484
+ };
485
+ jqxBarcodeComponent.prototype.lineColor = function (arg) {
486
+ if (arg !== undefined) {
487
+ this.host.jqxBarcode('lineColor', arg);
488
+ }
489
+ else {
490
+ return this.host.jqxBarcode('lineColor');
491
+ }
492
+ };
493
+ jqxBarcodeComponent.prototype.lineHeight = function (arg) {
494
+ if (arg !== undefined) {
495
+ this.host.jqxBarcode('lineHeight', arg);
496
+ }
497
+ else {
498
+ return this.host.jqxBarcode('lineHeight');
499
+ }
500
+ };
501
+ jqxBarcodeComponent.prototype.lineWidth = function (arg) {
502
+ if (arg !== undefined) {
503
+ this.host.jqxBarcode('lineWidth', arg);
504
+ }
505
+ else {
506
+ return this.host.jqxBarcode('lineWidth');
507
+ }
508
+ };
509
+ jqxBarcodeComponent.prototype.renderAs = function (arg) {
510
+ if (arg !== undefined) {
511
+ this.host.jqxBarcode('renderAs', arg);
512
+ }
513
+ else {
514
+ return this.host.jqxBarcode('renderAs');
515
+ }
516
+ };
517
+ jqxBarcodeComponent.prototype.type = function (arg) {
518
+ if (arg !== undefined) {
519
+ this.host.jqxBarcode('type', arg);
520
+ }
521
+ else {
522
+ return this.host.jqxBarcode('type');
523
+ }
524
+ };
525
+ jqxBarcodeComponent.prototype.value = function (arg) {
526
+ if (arg !== undefined) {
527
+ this.host.jqxBarcode('value', arg);
528
+ }
529
+ else {
530
+ return this.host.jqxBarcode('value');
531
+ }
532
+ };
533
+ // jqxBarcodeComponent functions
534
+ jqxBarcodeComponent.prototype.export = function (format, fileName) {
535
+ return this.host.jqxBarcode('export', format, fileName);
536
+ };
537
+ jqxBarcodeComponent.prototype.getDataURL = function (format) {
538
+ return this.host.jqxBarcode('getDataURL', format);
539
+ };
540
+ jqxBarcodeComponent.prototype.getDataURLAsync = function (format) {
541
+ return this.host.jqxBarcode('getDataURLAsync', format);
542
+ };
543
+ jqxBarcodeComponent.prototype.isValid = function () {
544
+ return this.host.jqxBarcode('isValid');
545
+ };
546
+ jqxBarcodeComponent.prototype.__wireEvents__ = function () {
547
+ var _this = this;
548
+ this.host.on('invalid', function (eventData) { _this.onInvalid.emit(eventData); });
549
+ };
550
+ return jqxBarcodeComponent;
551
+ }()); //jqxBarcodeComponent
552
+ jqxBarcodeComponent.decorators = [
553
+ { type: core.Component, args: [{
554
+ selector: 'jqxBarcode',
555
+ template: '<div><ng-content></ng-content></div>'
556
+ },] }
557
+ ];
558
+ jqxBarcodeComponent.ctorParameters = function () { return [
559
+ { type: core.ElementRef }
560
+ ]; };
561
+ jqxBarcodeComponent.propDecorators = {
562
+ attrBackgroundColor: [{ type: core.Input, args: ['backgroundColor',] }],
563
+ attrDisplayLabel: [{ type: core.Input, args: ['displayLabel',] }],
564
+ attrLabelColor: [{ type: core.Input, args: ['labelColor',] }],
565
+ attrLabelFont: [{ type: core.Input, args: ['labelFont',] }],
566
+ attrLabelFontSize: [{ type: core.Input, args: ['labelFontSize',] }],
567
+ attrLabelMarginBottom: [{ type: core.Input, args: ['labelMarginBottom',] }],
568
+ attrLabelMarginTop: [{ type: core.Input, args: ['labelMarginTop',] }],
569
+ attrLabelPosition: [{ type: core.Input, args: ['labelPosition',] }],
570
+ attrLineColor: [{ type: core.Input, args: ['lineColor',] }],
571
+ attrLineHeight: [{ type: core.Input, args: ['lineHeight',] }],
572
+ attrLineWidth: [{ type: core.Input, args: ['lineWidth',] }],
573
+ attrRenderAs: [{ type: core.Input, args: ['renderAs',] }],
574
+ attrType: [{ type: core.Input, args: ['type',] }],
575
+ attrValue: [{ type: core.Input, args: ['value',] }],
576
+ attrWidth: [{ type: core.Input, args: ['width',] }],
577
+ attrHeight: [{ type: core.Input, args: ['height',] }],
578
+ autoCreate: [{ type: core.Input, args: ['auto-create',] }],
579
+ onInvalid: [{ type: core.Output }]
580
+ };
581
+
582
+ var jqxBarcodeModule = /** @class */ (function () {
583
+ function jqxBarcodeModule() {
584
+ }
585
+ return jqxBarcodeModule;
586
+ }());
587
+ jqxBarcodeModule.decorators = [
588
+ { type: core.NgModule, args: [{
589
+ imports: [],
590
+ declarations: [jqxBarcodeComponent],
591
+ exports: [jqxBarcodeComponent]
592
+ },] }
593
+ ];
594
+
595
+ /**
596
+ * Generated bundle index. Do not edit.
597
+ */
598
+
599
+ exports.jqxBarcodeComponent = jqxBarcodeComponent;
600
+ exports.jqxBarcodeModule = jqxBarcodeModule;
601
+
602
+ Object.defineProperty(exports, '__esModule', { value: true });
603
+
604
+ })));
@@ -0,0 +1,16 @@
1
+ require('../jqwidgets/jqxcore');
2
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("jqwidgets-ng/jqxbarcode",["exports","@angular/core"],e):e(((t="undefined"!=typeof globalThis?globalThis:t||self)["jqwidgets-ng"]=t["jqwidgets-ng"]||{},t["jqwidgets-ng"].jqxbarcode={}),t.ng.core)}(this,(function(t,e){"use strict";
3
+ /*! *****************************************************************************
4
+ Copyright (c) Microsoft Corporation.
5
+
6
+ Permission to use, copy, modify, and/or distribute this software for any
7
+ purpose with or without fee is hereby granted.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
10
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
12
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
14
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15
+ PERFORMANCE OF THIS SOFTWARE.
16
+ ***************************************************************************** */Object.create;function o(t,e){var o="function"==typeof Symbol&&t[Symbol.iterator];if(!o)return t;var r,i,n=o.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=n.next()).done;)s.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(o=n.return)&&o.call(n)}finally{if(i)throw i.error}}return s}Object.create;var r=function(){function t(t){this.autoCreate=!0,this.properties=["backgroundColor","displayLabel","labelColor","labelFont","labelFontSize","labelMarginBottom","labelMarginTop","labelPosition","lineColor","lineHeight","lineWidth","renderAs","type","value"],this.onInvalid=new e.EventEmitter,this.elementRef=t}return t.prototype.ngOnInit=function(){this.autoCreate&&this.createComponent()},t.prototype.ngOnChanges=function(t){if(this.host)for(var e=0;e<this.properties.length;e++){var o="attr"+this.properties[e].substring(0,1).toUpperCase()+this.properties[e].substring(1),r=!1;if(void 0!==this[o]){if("object"==typeof this[o]){if(this[o]instanceof Array&&(r=this.arraysEqual(this[o],this.host.jqxBarcode(this.properties[e]))),r)return!1;this.host.jqxBarcode(this.properties[e],this[o]);continue}this[o]!==this.host.jqxBarcode(this.properties[e])&&this.host.jqxBarcode(this.properties[e],this[o])}}},t.prototype.arraysEqual=function(t,e){if(t&&!e||!t&&e)return!1;if(t.length!=e.length)return!1;for(var o=0;o<t.length;o++)if(t[o]!==e[o])return!1;return!0},t.prototype.manageAttributes=function(){for(var t={},e=0;e<this.properties.length;e++){var o="attr"+this.properties[e].substring(0,1).toUpperCase()+this.properties[e].substring(1);void 0!==this[o]&&(t[this.properties[e]]=this[o])}return t},t.prototype.moveClasses=function(t,e){var r,i=t.classList;i.length>0&&(r=e.classList).add.apply(r,function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(o(arguments[e]));return t}(i)),t.className=""},t.prototype.moveStyles=function(t,e){var o=t.style.cssText;e.style.cssText=o,t.style.cssText=""},t.prototype.createComponent=function(t){this.host||(t?JQXLite.extend(t,this.manageAttributes()):t=this.manageAttributes(),this.host=JQXLite(this.elementRef.nativeElement.firstChild),this.moveClasses(this.elementRef.nativeElement,this.host[0]),this.moveStyles(this.elementRef.nativeElement,this.host[0]),this.__wireEvents__(),this.widgetObject=jqwidgets.createInstance(this.host,"jqxBarcode",t))},t.prototype.createWidget=function(t){this.createComponent(t)},t.prototype.__updateRect__=function(){this.host&&this.host.css({width:this.attrWidth,height:this.attrHeight})},t.prototype.setOptions=function(t){this.host.jqxBarcode("setOptions",t)},t.prototype.backgroundColor=function(t){if(void 0===t)return this.host.jqxBarcode("backgroundColor");this.host.jqxBarcode("backgroundColor",t)},t.prototype.displayLabel=function(t){if(void 0===t)return this.host.jqxBarcode("displayLabel");this.host.jqxBarcode("displayLabel",t)},t.prototype.labelColor=function(t){if(void 0===t)return this.host.jqxBarcode("labelColor");this.host.jqxBarcode("labelColor",t)},t.prototype.labelFont=function(t){if(void 0===t)return this.host.jqxBarcode("labelFont");this.host.jqxBarcode("labelFont",t)},t.prototype.labelFontSize=function(t){if(void 0===t)return this.host.jqxBarcode("labelFontSize");this.host.jqxBarcode("labelFontSize",t)},t.prototype.labelMarginBottom=function(t){if(void 0===t)return this.host.jqxBarcode("labelMarginBottom");this.host.jqxBarcode("labelMarginBottom",t)},t.prototype.labelMarginTop=function(t){if(void 0===t)return this.host.jqxBarcode("labelMarginTop");this.host.jqxBarcode("labelMarginTop",t)},t.prototype.labelPosition=function(t){if(void 0===t)return this.host.jqxBarcode("labelPosition");this.host.jqxBarcode("labelPosition",t)},t.prototype.lineColor=function(t){if(void 0===t)return this.host.jqxBarcode("lineColor");this.host.jqxBarcode("lineColor",t)},t.prototype.lineHeight=function(t){if(void 0===t)return this.host.jqxBarcode("lineHeight");this.host.jqxBarcode("lineHeight",t)},t.prototype.lineWidth=function(t){if(void 0===t)return this.host.jqxBarcode("lineWidth");this.host.jqxBarcode("lineWidth",t)},t.prototype.renderAs=function(t){if(void 0===t)return this.host.jqxBarcode("renderAs");this.host.jqxBarcode("renderAs",t)},t.prototype.type=function(t){if(void 0===t)return this.host.jqxBarcode("type");this.host.jqxBarcode("type",t)},t.prototype.value=function(t){if(void 0===t)return this.host.jqxBarcode("value");this.host.jqxBarcode("value",t)},t.prototype.export=function(t,e){return this.host.jqxBarcode("export",t,e)},t.prototype.getDataURL=function(t){return this.host.jqxBarcode("getDataURL",t)},t.prototype.getDataURLAsync=function(t){return this.host.jqxBarcode("getDataURLAsync",t)},t.prototype.isValid=function(){return this.host.jqxBarcode("isValid")},t.prototype.__wireEvents__=function(){var t=this;this.host.on("invalid",(function(e){t.onInvalid.emit(e)}))},t}();r.decorators=[{type:e.Component,args:[{selector:"jqxBarcode",template:"<div><ng-content></ng-content></div>"}]}],r.ctorParameters=function(){return[{type:e.ElementRef}]},r.propDecorators={attrBackgroundColor:[{type:e.Input,args:["backgroundColor"]}],attrDisplayLabel:[{type:e.Input,args:["displayLabel"]}],attrLabelColor:[{type:e.Input,args:["labelColor"]}],attrLabelFont:[{type:e.Input,args:["labelFont"]}],attrLabelFontSize:[{type:e.Input,args:["labelFontSize"]}],attrLabelMarginBottom:[{type:e.Input,args:["labelMarginBottom"]}],attrLabelMarginTop:[{type:e.Input,args:["labelMarginTop"]}],attrLabelPosition:[{type:e.Input,args:["labelPosition"]}],attrLineColor:[{type:e.Input,args:["lineColor"]}],attrLineHeight:[{type:e.Input,args:["lineHeight"]}],attrLineWidth:[{type:e.Input,args:["lineWidth"]}],attrRenderAs:[{type:e.Input,args:["renderAs"]}],attrType:[{type:e.Input,args:["type"]}],attrValue:[{type:e.Input,args:["value"]}],attrWidth:[{type:e.Input,args:["width"]}],attrHeight:[{type:e.Input,args:["height"]}],autoCreate:[{type:e.Input,args:["auto-create"]}],onInvalid:[{type:e.Output}]};var i=function(){};i.decorators=[{type:e.NgModule,args:[{imports:[],declarations:[r],exports:[r]}]}],t.jqxBarcodeComponent=r,t.jqxBarcodeModule=i,Object.defineProperty(t,"__esModule",{value:!0})}));