jqwidgets-ng 13.1.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 (140) hide show
  1. package/ReleaseNotes.txt +53 -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 +26 -1
  13. package/esm2015/jqxgrid/angular_jqxgrid.module.js +1 -0
  14. package/esm2015/jqxqrcode/angular_jqxqrcode.js +281 -0
  15. package/esm2015/jqxqrcode/angular_jqxqrcode.module.js +14 -0
  16. package/esm2015/jqxqrcode/jqwidgets-ng-jqxqrcode.js +4 -0
  17. package/esm2015/jqxqrcode/public_api.js +2 -0
  18. package/fesm2015/jqwidgets-ng-jqxbarcode.js +279 -0
  19. package/fesm2015/jqwidgets-ng-jqxgrid.js +26 -1
  20. package/fesm2015/jqwidgets-ng-jqxqrcode.js +298 -0
  21. package/jqwidgets/jqx-all.js +37 -15
  22. package/jqwidgets/jqxangular.js +2 -2
  23. package/jqwidgets/jqxbarcode.js +18 -0
  24. package/jqwidgets/jqxbargauge.js +2 -2
  25. package/jqwidgets/jqxbulletchart.js +2 -2
  26. package/jqwidgets/jqxbuttongroup.js +2 -2
  27. package/jqwidgets/jqxbuttons.js +2 -2
  28. package/jqwidgets/jqxcalendar.js +2 -2
  29. package/jqwidgets/jqxchart.annotations.js +2 -2
  30. package/jqwidgets/jqxchart.api.js +2 -2
  31. package/jqwidgets/jqxchart.core.js +3 -3
  32. package/jqwidgets/jqxchart.js +3 -3
  33. package/jqwidgets/jqxchart.rangeselector.js +2 -2
  34. package/jqwidgets/jqxchart.waterfall.js +2 -2
  35. package/jqwidgets/jqxcheckbox.js +2 -2
  36. package/jqwidgets/jqxcolorpicker.js +2 -2
  37. package/jqwidgets/jqxcombobox.js +2 -2
  38. package/jqwidgets/jqxcomplexinput.js +2 -2
  39. package/jqwidgets/jqxcore.js +2 -2
  40. package/jqwidgets/jqxdata.export.js +2 -2
  41. package/jqwidgets/jqxdata.js +2 -2
  42. package/jqwidgets/jqxdatatable.js +3 -3
  43. package/jqwidgets/jqxdate.js +2 -2
  44. package/jqwidgets/jqxdatetimeinput.js +2 -2
  45. package/jqwidgets/jqxdocking.js +2 -2
  46. package/jqwidgets/jqxdockinglayout.js +2 -2
  47. package/jqwidgets/jqxdockpanel.js +2 -2
  48. package/jqwidgets/jqxdragdrop.js +2 -2
  49. package/jqwidgets/jqxdraw.js +2 -2
  50. package/jqwidgets/jqxdropdownbutton.js +2 -2
  51. package/jqwidgets/jqxdropdownlist.js +2 -2
  52. package/jqwidgets/jqxeditor.js +2 -2
  53. package/jqwidgets/jqxexpander.js +2 -2
  54. package/jqwidgets/jqxexport.js +2403 -2394
  55. package/jqwidgets/jqxfileupload.js +2 -2
  56. package/jqwidgets/jqxform.js +2 -2
  57. package/jqwidgets/jqxformattedinput.js +2 -2
  58. package/jqwidgets/jqxgauge.js +2 -2
  59. package/jqwidgets/jqxgrid.aggregates.js +2 -2
  60. package/jqwidgets/jqxgrid.columnsreorder.js +2 -2
  61. package/jqwidgets/jqxgrid.columnsresize.js +2 -2
  62. package/jqwidgets/jqxgrid.edit.js +3 -3
  63. package/jqwidgets/jqxgrid.export.js +2 -2
  64. package/jqwidgets/jqxgrid.filter.js +3 -3
  65. package/jqwidgets/jqxgrid.grouping.js +2 -2
  66. package/jqwidgets/jqxgrid.js +3 -3
  67. package/jqwidgets/jqxgrid.pager.js +2 -2
  68. package/jqwidgets/jqxgrid.selection.js +2 -2
  69. package/jqwidgets/jqxgrid.sort.js +3 -3
  70. package/jqwidgets/jqxgrid.storage.js +2 -2
  71. package/jqwidgets/jqxheatmap.js +2 -2
  72. package/jqwidgets/jqxinput.js +2 -2
  73. package/jqwidgets/jqxkanban.js +3 -3
  74. package/jqwidgets/jqxknob.js +2 -2
  75. package/jqwidgets/jqxknockout.js +2 -2
  76. package/jqwidgets/jqxlayout.js +2 -2
  77. package/jqwidgets/jqxlistbox.js +2 -2
  78. package/jqwidgets/jqxlistmenu.js +2 -2
  79. package/jqwidgets/jqxloader.js +2 -2
  80. package/jqwidgets/jqxmaskedinput.js +2 -2
  81. package/jqwidgets/jqxmenu.js +3 -3
  82. package/jqwidgets/jqxnavbar.js +2 -2
  83. package/jqwidgets/jqxnavigationbar.js +2 -2
  84. package/jqwidgets/jqxnotification.js +2 -2
  85. package/jqwidgets/jqxnumberinput.js +3 -3
  86. package/jqwidgets/jqxpanel.js +2 -2
  87. package/jqwidgets/jqxpasswordinput.js +2 -2
  88. package/jqwidgets/jqxpivot.js +2 -2
  89. package/jqwidgets/jqxpivotdesigner.js +2 -2
  90. package/jqwidgets/jqxpivotgrid.js +2 -2
  91. package/jqwidgets/jqxpopover.js +2 -2
  92. package/jqwidgets/jqxprogressbar.js +2 -2
  93. package/jqwidgets/jqxqrcode.js +18 -0
  94. package/jqwidgets/jqxradiobutton.js +2 -2
  95. package/jqwidgets/jqxrangeselector.js +2 -2
  96. package/jqwidgets/jqxrating.js +2 -2
  97. package/jqwidgets/jqxresponsivepanel.js +2 -2
  98. package/jqwidgets/jqxribbon.js +2 -2
  99. package/jqwidgets/jqxscheduler.api.js +2 -2
  100. package/jqwidgets/jqxscheduler.js +3 -3
  101. package/jqwidgets/jqxscrollbar.js +2 -2
  102. package/jqwidgets/jqxscrollview.js +2 -2
  103. package/jqwidgets/jqxslider.js +3 -3
  104. package/jqwidgets/jqxsortable.js +2 -2
  105. package/jqwidgets/jqxsplitlayout.js +2 -2
  106. package/jqwidgets/jqxsplitter.js +2 -2
  107. package/jqwidgets/jqxswitchbutton.js +3 -3
  108. package/jqwidgets/jqxtabs.js +3 -3
  109. package/jqwidgets/jqxtagcloud.js +2 -2
  110. package/jqwidgets/jqxtextarea.js +2 -2
  111. package/jqwidgets/jqxtimepicker.js +2 -2
  112. package/jqwidgets/jqxtoolbar.js +2 -2
  113. package/jqwidgets/jqxtooltip.js +2 -2
  114. package/jqwidgets/jqxtouch.js +2 -2
  115. package/jqwidgets/jqxtree.js +2 -2
  116. package/jqwidgets/jqxtreegrid.js +2 -2
  117. package/jqwidgets/jqxtreemap.js +2 -2
  118. package/jqwidgets/jqxvalidator.js +2 -2
  119. package/jqwidgets/jqxwindow.js +2 -2
  120. package/jqwidgets/styles/jqx.dark.css +851 -557
  121. package/jqwidgets/styles/jqx.light.css +868 -554
  122. package/jqwidgets/styles/jqx.material-green.css +2 -0
  123. package/jqwidgets/styles/jqx.material-purple.css +1 -0
  124. package/jqwidgets/styles/jqx.material.css +1 -0
  125. package/jqwidgets.d.ts +59 -1
  126. package/jqxbarcode/angular_jqxbarcode.d.ts +56 -0
  127. package/jqxbarcode/angular_jqxbarcode.module.d.ts +2 -0
  128. package/jqxbarcode/jqwidgets-ng-jqxbarcode.d.ts +4 -0
  129. package/jqxbarcode/jqwidgets-ng-jqxbarcode.metadata.json +1 -0
  130. package/jqxbarcode/package.json +11 -0
  131. package/jqxbarcode/public_api.d.ts +2 -0
  132. package/jqxgrid/angular_jqxgrid.d.ts +4 -0
  133. package/jqxgrid/jqwidgets-ng-jqxgrid.metadata.json +1 -1
  134. package/jqxqrcode/angular_jqxqrcode.d.ts +60 -0
  135. package/jqxqrcode/angular_jqxqrcode.module.d.ts +2 -0
  136. package/jqxqrcode/jqwidgets-ng-jqxqrcode.d.ts +4 -0
  137. package/jqxqrcode/jqwidgets-ng-jqxqrcode.metadata.json +1 -0
  138. package/jqxqrcode/package.json +11 -0
  139. package/jqxqrcode/public_api.d.ts +2 -0
  140. package/package.json +21 -18
package/ReleaseNotes.txt CHANGED
@@ -1,4 +1,56 @@
1
- jQWidgets v13.0.0 Release, Nov-11-2021
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
26
+
27
+ What's New:
28
+
29
+ - jqxGrid Columns render is enhanced with badges showing the column's sort index.
30
+
31
+ What's Improved:
32
+
33
+ - jqxSwitchButton events API. Added changeType argument.
34
+
35
+ What's Fixed:
36
+
37
+ - Fixed an issue in jqxKanban. 'itemMoved' event returns 'args.NewColumn' as null
38
+ - Fixed an issue in jqxKanban. When dropping a card from one Kanban to another Kanban element
39
+ - Fixed an issue in jqxNumberInput. When trying to get negative value
40
+ - Fixed an issue in jqxGrid. Filtering clears the bound data when used with filter row and custom list items
41
+ - Fixed an issue in jqxGrid. Aggregates are not updated when the source of the grid is changed
42
+ - Fixed an issue in jqxGrid. ExportView - xlsx does not format dates if there is any null values
43
+ - Fixed an issue in jqxTabs. Adds new div element every time when 'setTitleAt' method is used
44
+ - Fixed an issue in jqxGrid. Filtering issue when the grid is initially loaded( when using show filter row)
45
+ - Fixed an issue in jqxGrid. When having localization set and filtering issue
46
+
47
+ jQWidgets v13.1.1 Release, Dec-31-2021
48
+
49
+ What's Fixed:
50
+
51
+ - Fixed an issue regarding Angular 13 ng generate integration.
52
+
53
+ jQWidgets v13.0.0 Release, Nov-11-2021
2
54
 
3
55
  What's New:
4
56
 
@@ -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
+ })));