jqwidgets-ng 22.0.2 → 23.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 (203) hide show
  1. package/esm2020/jqxform/angular_jqxform.mjs +35 -2
  2. package/esm2020/jqxgrid/angular_jqxgrid.mjs +12 -0
  3. package/esm2020/jqxtree/angular_jqxtree.mjs +6 -0
  4. package/esm2020/jqxwindow/angular_jqxwindow.mjs +6 -0
  5. package/fesm2015/jqwidgets-ng-jqxform.mjs +35 -2
  6. package/fesm2015/jqwidgets-ng-jqxgrid.mjs +12 -0
  7. package/fesm2015/jqwidgets-ng-jqxtree.mjs +6 -0
  8. package/fesm2015/jqwidgets-ng-jqxwindow.mjs +6 -0
  9. package/fesm2020/jqwidgets-ng-jqxform.mjs +35 -2
  10. package/fesm2020/jqwidgets-ng-jqxgrid.mjs +12 -0
  11. package/fesm2020/jqwidgets-ng-jqxtree.mjs +6 -0
  12. package/fesm2020/jqwidgets-ng-jqxwindow.mjs +6 -0
  13. package/jqwidgets/jqx-all.js +12 -52
  14. package/jqwidgets/jqxangular.js +3 -1
  15. package/jqwidgets/jqxbarcode.js +1 -9
  16. package/jqwidgets/jqxbargauge.js +3 -1
  17. package/jqwidgets/jqxbulletchart.js +3 -1
  18. package/jqwidgets/jqxbuttongroup.js +3 -1
  19. package/jqwidgets/jqxbuttons.js +3 -1
  20. package/jqwidgets/jqxcalendar.js +3 -1
  21. package/jqwidgets/jqxchart.annotations.js +3 -1
  22. package/jqwidgets/jqxchart.api.js +3 -1
  23. package/jqwidgets/jqxchart.core.js +3 -1
  24. package/jqwidgets/jqxchart.js +1 -1
  25. package/jqwidgets/jqxchart.rangeselector.js +3 -1
  26. package/jqwidgets/jqxchart.waterfall.js +3 -1
  27. package/jqwidgets/jqxcheckbox.js +3 -1
  28. package/jqwidgets/jqxcheckboxgroup.js +1 -9
  29. package/jqwidgets/jqxcolorpicker.js +3 -1
  30. package/jqwidgets/jqxcombobox.js +3 -1
  31. package/jqwidgets/jqxcomplexinput.js +3 -1
  32. package/jqwidgets/jqxcore.js +4 -2
  33. package/jqwidgets/jqxdata.export.js +3 -1
  34. package/jqwidgets/jqxdata.js +3 -1
  35. package/jqwidgets/jqxdatatable.js +3 -1
  36. package/jqwidgets/jqxdate.js +3 -1
  37. package/jqwidgets/jqxdatetimeinput.js +3 -1
  38. package/jqwidgets/jqxdocking.js +3 -1
  39. package/jqwidgets/jqxdockinglayout.js +3 -1
  40. package/jqwidgets/jqxdockpanel.js +3 -1
  41. package/jqwidgets/jqxdragdrop.js +3 -1
  42. package/jqwidgets/jqxdraw.js +3 -1
  43. package/jqwidgets/jqxdropdownbutton.js +3 -1
  44. package/jqwidgets/jqxdropdownlist.js +3 -1
  45. package/jqwidgets/jqxeditor.js +3 -1
  46. package/jqwidgets/jqxexpander.js +3 -1
  47. package/jqwidgets/jqxexport.js +6 -3
  48. package/jqwidgets/jqxfileupload.js +3 -1
  49. package/jqwidgets/jqxform.js +4 -2
  50. package/jqwidgets/jqxformattedinput.js +3 -1
  51. package/jqwidgets/jqxgantt.api.js +75 -90
  52. package/jqwidgets/jqxgantt.js +3 -1
  53. package/jqwidgets/jqxgauge.js +4 -2
  54. package/jqwidgets/jqxgrid.aggregates.js +3 -1
  55. package/jqwidgets/jqxgrid.columnsreorder.js +3 -1
  56. package/jqwidgets/jqxgrid.columnsresize.js +3 -1
  57. package/jqwidgets/jqxgrid.edit.js +3 -1
  58. package/jqwidgets/jqxgrid.export.js +3 -1
  59. package/jqwidgets/jqxgrid.filter.js +4 -2
  60. package/jqwidgets/jqxgrid.grouping.js +3 -1
  61. package/jqwidgets/jqxgrid.js +4 -2
  62. package/jqwidgets/jqxgrid.pager.js +3 -1
  63. package/jqwidgets/jqxgrid.selection.js +3 -1
  64. package/jqwidgets/jqxgrid.sort.js +3 -1
  65. package/jqwidgets/jqxgrid.storage.js +4 -2
  66. package/jqwidgets/jqxheatmap.js +3 -1
  67. package/jqwidgets/jqxinput.js +3 -1
  68. package/jqwidgets/jqxkanban.js +3 -1
  69. package/jqwidgets/jqxknob.js +3 -1
  70. package/jqwidgets/jqxknockout.js +3 -1
  71. package/jqwidgets/jqxlayout.js +3 -1
  72. package/jqwidgets/jqxlistbox.js +4 -2
  73. package/jqwidgets/jqxlistmenu.js +3 -1
  74. package/jqwidgets/jqxloader.js +3 -1
  75. package/jqwidgets/jqxmaskedinput.js +3 -1
  76. package/jqwidgets/jqxmenu.js +3 -1
  77. package/jqwidgets/jqxnavbar.js +3 -1
  78. package/jqwidgets/jqxnavigationbar.js +3 -1
  79. package/jqwidgets/jqxnotification.js +3 -1
  80. package/jqwidgets/jqxnumberinput.js +3 -1
  81. package/jqwidgets/jqxpanel.js +3 -1
  82. package/jqwidgets/jqxpasswordinput.js +3 -1
  83. package/jqwidgets/jqxpivot.js +3 -1
  84. package/jqwidgets/jqxpivotdesigner.js +3 -1
  85. package/jqwidgets/jqxpivotgrid.js +3 -1
  86. package/jqwidgets/jqxpopover.js +3 -1
  87. package/jqwidgets/jqxprogressbar.js +3 -1
  88. package/jqwidgets/jqxqrcode.js +1 -9
  89. package/jqwidgets/jqxradiobutton.js +3 -1
  90. package/jqwidgets/jqxradiobuttongroup.js +1 -9
  91. package/jqwidgets/jqxrangeselector.js +3 -1
  92. package/jqwidgets/jqxrating.js +3 -1
  93. package/jqwidgets/jqxresponsivepanel.js +3 -1
  94. package/jqwidgets/jqxribbon.js +3 -1
  95. package/jqwidgets/jqxscheduler.api.js +3 -1
  96. package/jqwidgets/jqxscheduler.js +4 -2
  97. package/jqwidgets/jqxscrollbar.js +3 -1
  98. package/jqwidgets/jqxscrollview.js +3 -1
  99. package/jqwidgets/jqxslider.js +3 -1
  100. package/jqwidgets/jqxsortable.js +3 -1
  101. package/jqwidgets/jqxsplitlayout.js +2456 -1
  102. package/jqwidgets/jqxsplitlayout_.js +11 -0
  103. package/jqwidgets/jqxsplitter.js +3 -1
  104. package/jqwidgets/jqxswitchbutton.js +4 -2
  105. package/jqwidgets/jqxtabs.js +3 -1
  106. package/jqwidgets/jqxtagcloud.js +3 -1
  107. package/jqwidgets/jqxtextarea.js +3 -1
  108. package/jqwidgets/jqxtimeline.js +3 -1
  109. package/jqwidgets/jqxtimepicker.js +3 -1
  110. package/jqwidgets/jqxtoolbar.js +3 -1
  111. package/jqwidgets/jqxtooltip.js +3 -1
  112. package/jqwidgets/jqxtouch.js +3 -1
  113. package/jqwidgets/jqxtree.js +4 -2
  114. package/jqwidgets/jqxtreegrid.js +3 -1
  115. package/jqwidgets/jqxtreemap.js +3 -1
  116. package/jqwidgets/jqxvalidator.js +3 -1
  117. package/jqwidgets/jqxwindow.js +4 -2
  118. package/jqwidgets/modules/jqxbarcode.js +58 -48
  119. package/jqwidgets/modules/jqxbargauge.js +60 -52
  120. package/jqwidgets/modules/jqxbulletchart.js +63 -57
  121. package/jqwidgets/modules/jqxbuttongroup.js +61 -53
  122. package/jqwidgets/modules/jqxbuttons.js +58 -48
  123. package/jqwidgets/modules/jqxcalendar.js +65 -59
  124. package/jqwidgets/modules/jqxchart.js +75 -91
  125. package/jqwidgets/modules/jqxcheckbox.js +64 -58
  126. package/jqwidgets/modules/jqxcheckboxgroup.js +64 -58
  127. package/jqwidgets/modules/jqxcolorpicker.js +67 -63
  128. package/jqwidgets/modules/jqxcombobox.js +73 -73
  129. package/jqwidgets/modules/jqxcomplexinput.js +61 -53
  130. package/jqwidgets/modules/jqxdatatable.js +107 -146
  131. package/jqwidgets/modules/jqxdatetimeinput.js +91 -103
  132. package/jqwidgets/modules/jqxdocking.js +201 -58
  133. package/jqwidgets/modules/jqxdockinglayout.js +212 -77
  134. package/jqwidgets/modules/jqxdockpanel.js +61 -53
  135. package/jqwidgets/modules/jqxdragdrop.js +62 -56
  136. package/jqwidgets/modules/jqxdraw.js +56 -46
  137. package/jqwidgets/modules/jqxdropdownbutton.js +61 -53
  138. package/jqwidgets/modules/jqxdropdownlist.js +89 -99
  139. package/jqwidgets/modules/jqxeditor.js +242 -127
  140. package/jqwidgets/modules/jqxexpander.js +75 -68
  141. package/jqwidgets/modules/jqxfileupload.js +64 -58
  142. package/jqwidgets/modules/jqxform.js +1199 -1052
  143. package/jqwidgets/modules/jqxformattedinput.js +98 -105
  144. package/jqwidgets/modules/jqxgantt.js +141 -146
  145. package/jqwidgets/modules/jqxgauge.js +3063 -3783
  146. package/jqwidgets/modules/jqxgrid.js +1811 -834
  147. package/jqwidgets/modules/jqxheatmap.js +60 -52
  148. package/jqwidgets/modules/jqxinput.js +62 -56
  149. package/jqwidgets/modules/jqxkanban.js +110 -127
  150. package/jqwidgets/modules/jqxknob.js +63 -57
  151. package/jqwidgets/modules/jqxlayout.js +212 -77
  152. package/jqwidgets/modules/jqxlineargauge.js +3063 -3783
  153. package/jqwidgets/modules/jqxlinkbutton.js +58 -48
  154. package/jqwidgets/modules/jqxlistbox.js +77 -79
  155. package/jqwidgets/modules/jqxlistmenu.js +106 -119
  156. package/jqwidgets/modules/jqxloader.js +57 -47
  157. package/jqwidgets/modules/jqxmaskedinput.js +57 -47
  158. package/jqwidgets/modules/jqxmenu.js +80 -77
  159. package/jqwidgets/modules/jqxnavbar.js +75 -68
  160. package/jqwidgets/modules/jqxnavigationbar.js +87 -88
  161. package/jqwidgets/modules/jqxnotification.js +69 -67
  162. package/jqwidgets/modules/jqxnumberinput.js +79 -83
  163. package/jqwidgets/modules/jqxpanel.js +66 -62
  164. package/jqwidgets/modules/jqxpasswordinput.js +68 -66
  165. package/jqwidgets/modules/jqxpivotdesigner.js +253 -137
  166. package/jqwidgets/modules/jqxpivotgrid.js +253 -137
  167. package/jqwidgets/modules/jqxpopover.js +61 -53
  168. package/jqwidgets/modules/jqxprogressbar.js +57 -47
  169. package/jqwidgets/modules/jqxqrcode.js +74 -67
  170. package/jqwidgets/modules/jqxradiobutongroup.js +64 -58
  171. package/jqwidgets/modules/jqxradiobutton.js +61 -53
  172. package/jqwidgets/modules/jqxrangeselector.js +62 -56
  173. package/jqwidgets/modules/jqxrating.js +61 -53
  174. package/jqwidgets/modules/jqxrepeatbutton.js +58 -48
  175. package/jqwidgets/modules/jqxresponsivepanel.js +60 -52
  176. package/jqwidgets/modules/jqxribbon.js +64 -58
  177. package/jqwidgets/modules/jqxscheduler.js +254 -171
  178. package/jqwidgets/modules/jqxscrollbar.js +60 -52
  179. package/jqwidgets/modules/jqxscrollview.js +60 -52
  180. package/jqwidgets/modules/jqxslider.js +50 -52
  181. package/jqwidgets/modules/jqxsortable.js +4 -14152
  182. package/jqwidgets/modules/jqxsplitlayout.js +4 -13928
  183. package/jqwidgets/modules/jqxsplitter.js +4 -13501
  184. package/jqwidgets/modules/jqxswitchbutton.js +56 -62
  185. package/jqwidgets/modules/jqxtabs.js +72 -81
  186. package/jqwidgets/modules/jqxtagcloud.js +58 -66
  187. package/jqwidgets/modules/jqxtextarea.js +58 -66
  188. package/jqwidgets/modules/jqxtimeline.js +47 -47
  189. package/jqwidgets/modules/jqxtimepicker.js +48 -50
  190. package/jqwidgets/modules/jqxtogglebutton.js +48 -48
  191. package/jqwidgets/modules/jqxtoolbar.js +98 -123
  192. package/jqwidgets/modules/jqxtooltip.js +46 -46
  193. package/jqwidgets/modules/jqxtree.js +2632 -2611
  194. package/jqwidgets/modules/jqxtreegrid.js +99 -150
  195. package/jqwidgets/modules/jqxtreemap.js +51 -55
  196. package/jqwidgets/modules/jqxvalidator.js +55 -61
  197. package/jqwidgets/modules/jqxwindow.js +188 -53
  198. package/jqwidgets/styles/jqx.base.css +182 -1
  199. package/jqxform/angular_jqxform.d.ts +7 -1
  200. package/jqxgrid/angular_jqxgrid.d.ts +2 -0
  201. package/jqxtree/angular_jqxtree.d.ts +2 -0
  202. package/jqxwindow/angular_jqxwindow.d.ts +2 -0
  203. package/package.json +3 -2
@@ -1,22 +1,46 @@
1
1
 
2
- /* Release Date: Sep-17-2024
3
- Copyright (c) 2011-2024 jQWidgets.
2
+ /* Release Date: Jan-28-2025
3
+ Copyright (c) 2011-2025 jQWidgets.
4
4
  License: https://jqwidgets.com/license/ */
5
5
 
6
6
 
7
7
  /******/ (() => { // webpackBootstrap
8
8
  var __webpack_exports__ = {};
9
9
 
10
- /* Release Date: Sep-17-2024
11
- Copyright (c) 2011-2024 jQWidgets.
10
+ /* Release Date: Jan-28-2025
11
+ Copyright (c) 2011-2025 jQWidgets.
12
12
  License: https://jqwidgets.com/license/ */
13
13
 
14
14
 
15
15
  /******/ (() => { // webpackBootstrap
16
16
  var __webpack_exports__ = {};
17
17
 
18
- /* Release Date: Sep-17-2024
19
- Copyright (c) 2011-2024 jQWidgets.
18
+ /* Release Date: Jan-28-2025
19
+ Copyright (c) 2011-2025 jQWidgets.
20
+ License: https://jqwidgets.com/license/ */
21
+
22
+
23
+ /******/ (() => { // webpackBootstrap
24
+ var __webpack_exports__ = {};
25
+
26
+ /* Release Date: Jan-28-2025
27
+ Copyright (c) 2011-2025 jQWidgets.
28
+ License: https://jqwidgets.com/license/ */
29
+
30
+
31
+ /******/ (() => { // webpackBootstrap
32
+ var __webpack_exports__ = {};
33
+
34
+ /* Release Date: Jan-28-2025
35
+ Copyright (c) 2011-2025 jQWidgets.
36
+ License: https://jqwidgets.com/license/ */
37
+
38
+
39
+ /******/ (() => { // webpackBootstrap
40
+ var __webpack_exports__ = {};
41
+
42
+ /* Release Date: Jan-28-2025
43
+ Copyright (c) 2011-2025 jQWidgets.
20
44
  License: https://jqwidgets.com/license/ */
21
45
 
22
46
 
@@ -1205,22 +1229,20 @@ License: https://jqwidgets.com/license/ */
1205
1229
  //// End of ToggleButton
1206
1230
 
1207
1231
  })(jqxBaseFramework);
1208
- })();
1209
-
1210
-
1232
+ })();
1211
1233
 
1212
1234
  /***/ }),
1213
1235
 
1214
1236
  /***/ 5459:
1215
- /***/ ((module, exports, __nested_webpack_require_52089__) => {
1237
+ /***/ ((module, exports, __nested_webpack_require_52085__) => {
1216
1238
 
1217
1239
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disable */
1218
1240
  /* eslint-disable */
1219
- (function () {
1220
- if (typeof document === 'undefined') {
1241
+ (function(){
1242
+ if (typeof document === 'undefined') {
1221
1243
  return;
1222
1244
  }
1223
-
1245
+
1224
1246
  var oldBrowser = document.all && !document.addEventListener;
1225
1247
  if (!oldBrowser) {
1226
1248
  (function (window, undefined) {
@@ -9392,7 +9414,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
9392
9414
  // file names, and JQXLite is normally delivered in a lowercase file name.
9393
9415
  // Do this after creating the global so that if an AMD module wants to call
9394
9416
  // noConflict to hide this version of JQXLite, it will work.
9395
- if ( true && __nested_webpack_require_52089__.amdO.JQXLite) {
9417
+ if ( true && __nested_webpack_require_52085__.amdO.JQXLite) {
9396
9418
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () { return JQXLite; }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
9397
9419
  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
9398
9420
  }
@@ -9413,19 +9435,6 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
9413
9435
  }
9414
9436
 
9415
9437
  if (window.jQuery) {
9416
- if (window.jQuery.fn.extend) {
9417
- window.jQuery.fn.stop = window.JQXLite.fn.stop;
9418
- window.jQuery.fn.animate = window.JQXLite.fn.animate;
9419
-
9420
- var keys = Object.keys(window.JQXLite.fn);
9421
- for (var index in keys) {
9422
- var key = keys[index];
9423
- if (window.jQuery.fn[key] == undefined) {
9424
- window.jQuery.fn[key] = window.JQXLite.fn[key];
9425
- }
9426
- }
9427
- }
9428
-
9429
9438
  window.minQuery = window.JQXLite = window.jQuery;
9430
9439
  return;
9431
9440
  }
@@ -11047,7 +11056,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
11047
11056
  if (!$(element).on || !$.access) {
11048
11057
  return $(element).html(value);
11049
11058
  }
11050
- try {
11059
+ try {
11051
11060
  return $.access(element, function (value) {
11052
11061
  var elem = element[0] || {},
11053
11062
  i = 0,
@@ -11540,12 +11549,12 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
11540
11549
  returnValue = returnValue + $(window).scrollTop();
11541
11550
  }
11542
11551
  if (/(Android.*Chrome\/[.0-9]* (!?Mobile))/.exec(navigator.userAgent)) {
11543
- return returnValue;
11544
- // return returnValue + $(window).scrollTop();
11552
+ return returnValue;
11553
+ // return returnValue + $(window).scrollTop();
11545
11554
  }
11546
11555
  if (/(Android.*Chrome\/[.0-9]* Mobile)/.exec(navigator.userAgent)) {
11547
11556
  return returnValue;
11548
- // return returnValue + $(window).scrollTop();
11557
+ // return returnValue + $(window).scrollTop();
11549
11558
  }
11550
11559
 
11551
11560
  return initialOffset.top;
@@ -12241,9 +12250,6 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
12241
12250
  }
12242
12251
  });
12243
12252
 
12244
- if (!$.easing) {
12245
- $.easing = {};
12246
- }
12247
12253
  $.extend($.easing, {
12248
12254
  easeOutBack: function (x, t, b, c, d, s) {
12249
12255
  if (s == undefined) s = 1.70158;
@@ -12583,8 +12589,6 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
12583
12589
  }
12584
12590
  })(jqxBaseFramework);
12585
12591
  })();
12586
-
12587
-
12588
12592
 
12589
12593
 
12590
12594
  /***/ }),
@@ -13731,9 +13735,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
13731
13735
  }
13732
13736
  });
13733
13737
  })(jqxBaseFramework);
13734
- })();
13735
-
13736
-
13738
+ })();
13737
13739
 
13738
13740
  /***/ }),
13739
13741
 
@@ -15394,6 +15396,12 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
15394
15396
  case 'right':
15395
15397
  this.element.style.left = this._toPx(dragArea.left + dragArea.width - this.host.width());
15396
15398
  break;
15399
+ case 'center':
15400
+ this._centerElement(this.host, dragArea, 'x');
15401
+ break;
15402
+ case 'middle':
15403
+ this._centerElement(this.host, dragArea, 'y');
15404
+ break;
15397
15405
  default:
15398
15406
  if (!this.dragArea) {
15399
15407
  dragArea = $(window);
@@ -15850,6 +15858,137 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
15850
15858
  }
15851
15859
  },
15852
15860
 
15861
+ openAlert: function (message, title) {
15862
+ if (!message) {
15863
+ message = '';
15864
+ }
15865
+
15866
+ if (!title) {
15867
+ title = 'Alert';
15868
+ }
15869
+ return this._openDialog(
15870
+ message,
15871
+ title,
15872
+ "alert"
15873
+ );
15874
+ },
15875
+
15876
+ openConfirm: function (message, title) {
15877
+ if (!message) {
15878
+ message = '';
15879
+ }
15880
+ if (!title) {
15881
+ title = 'Confirm';
15882
+ }
15883
+
15884
+ return this._openDialog(
15885
+ message,
15886
+ title,
15887
+ "confirm"
15888
+ );
15889
+ },
15890
+
15891
+ _openDialog: function (message, title, type) {
15892
+ var that = this;
15893
+ var $window = this.host;
15894
+
15895
+ if (typeof message !== "string") {
15896
+ message = '';
15897
+ };
15898
+
15899
+
15900
+ var getDialogSize = function (message, minWidth, minHeight, maxWidth, maxHeight) {
15901
+ minWidth = typeof minWidth !== 'undefined' ? minWidth : 300;
15902
+ minHeight = typeof minHeight !== 'undefined' ? minHeight : 150;
15903
+ maxWidth = typeof maxWidth !== 'undefined' ? maxWidth : 600;
15904
+ maxHeight = typeof maxHeight !== 'undefined' ? maxHeight : 400;
15905
+
15906
+ var tempDiv = $("<div>")
15907
+ .css({
15908
+ position: "absolute",
15909
+ visibility: "hidden",
15910
+ width: maxWidth + "px",
15911
+ padding: "16px",
15912
+ fontFamily: "inherit",
15913
+ fontSize: "14px",
15914
+ lineHeight: "1.4",
15915
+ whiteSpace: "normal"
15916
+ })
15917
+ .html(message)
15918
+ .appendTo("body");
15919
+
15920
+ var width = Math.min(Math.max(tempDiv.outerWidth(true), minWidth), maxWidth);
15921
+ var height = Math.min(Math.max(tempDiv.outerHeight(true) + 80, minHeight), maxHeight); // +80 for buttons & spacing
15922
+
15923
+ tempDiv.remove();
15924
+
15925
+ return {
15926
+ width: width,
15927
+ height: height
15928
+ };
15929
+ };
15930
+
15931
+
15932
+ var size = getDialogSize(message);
15933
+ this.width = size.width;
15934
+ this.height = 30 + size.height;
15935
+
15936
+ that.element.style.height = size.height + 'px';
15937
+ that.element.style.width = size.width + 'px';
15938
+
15939
+ var $content = $window.find(".jqx-window-content"); // scoped to this instance
15940
+ var idSuffix = $window.attr("id") || Math.random().toString(36).substr(2, 5);
15941
+ var isConfirm = type === "confirm";
15942
+
15943
+ return new Promise(function (resolve) {
15944
+ $window.jqxWindow("setTitle", title);
15945
+
15946
+ // Use unique IDs for each button per window instance
15947
+ var okId = 'jqxDialogOkBtn_' + idSuffix;
15948
+ var cancelId = 'jqxDialogCancelBtn_' + idSuffix;
15949
+
15950
+ var html =
15951
+ '<div class="dialog-container" style="display: flex; flex-direction: column; height: 100%;">' +
15952
+ '<div class="dialog-message" style="flex: 1; padding: 20px; overflow-y: auto;">' +
15953
+ message +
15954
+ '</div>' +
15955
+ '<div class="dialog-buttons" style="' +
15956
+ 'padding: 5px 10px;' +
15957
+ 'text-align: right;' +
15958
+ 'background: var(--jqx-surface);' +
15959
+ 'color: var(--jqx-surface-color);' +
15960
+ 'flex-shrink: 0;' +
15961
+ '">' +
15962
+ '<button id="' + okId + '" class="jqx-btn">OK</button>' +
15963
+ (isConfirm ? '<button id="' + cancelId + '" class="jqx-btn">Cancel</button>' : '') +
15964
+ '</div>' +
15965
+ '</div>';
15966
+
15967
+
15968
+ $content.html(html);
15969
+ $window.jqxWindow("open");
15970
+
15971
+ setTimeout(function () {
15972
+ $('#' + okId).jqxButton({ theme: that.theme, width: 75, height: 28 })
15973
+ .off("click")
15974
+ .on("click", function () {
15975
+ $window.jqxWindow("close");
15976
+ resolve(true);
15977
+ });
15978
+
15979
+ if (isConfirm) {
15980
+ $('#' + cancelId).jqxButton({ theme: that.theme, width: 75, height: 28 })
15981
+ .off("click")
15982
+ .on("click", function () {
15983
+ $window.jqxWindow("close");
15984
+ resolve(false);
15985
+ });
15986
+ }
15987
+ }, 0);
15988
+
15989
+ });
15990
+ },
15991
+
15853
15992
  open: function (callback, duration) {
15854
15993
  this.show(callback, duration);
15855
15994
  },
@@ -16736,9 +16875,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
16736
16875
  }(jqxBaseFramework)); //ignore jslint
16737
16876
  $.extend($.jqx._jqxWindow.prototype, resizeModule);
16738
16877
  }(jqxBaseFramework)); //ignore jslint
16739
- })();
16740
-
16741
-
16878
+ })();
16742
16879
 
16743
16880
  /***/ })
16744
16881
 
@@ -16748,7 +16885,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
16748
16885
  /******/ var __webpack_module_cache__ = {};
16749
16886
  /******/
16750
16887
  /******/ // The require function
16751
- /******/ function __nested_webpack_require_593026__(moduleId) {
16888
+ /******/ function __nested_webpack_require_598183__(moduleId) {
16752
16889
  /******/ // Check if module is in cache
16753
16890
  /******/ var cachedModule = __webpack_module_cache__[moduleId];
16754
16891
  /******/ if (cachedModule !== undefined) {
@@ -16762,7 +16899,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
16762
16899
  /******/ };
16763
16900
  /******/
16764
16901
  /******/ // Execute the module function
16765
- /******/ __webpack_modules__[moduleId](module, module.exports, __nested_webpack_require_593026__);
16902
+ /******/ __webpack_modules__[moduleId](module, module.exports, __nested_webpack_require_598183__);
16766
16903
  /******/
16767
16904
  /******/ // Return the exports of the module
16768
16905
  /******/ return module.exports;
@@ -16771,17 +16908,17 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
16771
16908
  /************************************************************************/
16772
16909
  /******/ /* webpack/runtime/amd options */
16773
16910
  /******/ (() => {
16774
- /******/ __nested_webpack_require_593026__.amdO = {};
16911
+ /******/ __nested_webpack_require_598183__.amdO = {};
16775
16912
  /******/ })();
16776
16913
  /******/
16777
16914
  /******/ /* webpack/runtime/compat get default export */
16778
16915
  /******/ (() => {
16779
16916
  /******/ // getDefaultExport function for compatibility with non-harmony modules
16780
- /******/ __nested_webpack_require_593026__.n = (module) => {
16917
+ /******/ __nested_webpack_require_598183__.n = (module) => {
16781
16918
  /******/ var getter = module && module.__esModule ?
16782
16919
  /******/ () => (module['default']) :
16783
16920
  /******/ () => (module);
16784
- /******/ __nested_webpack_require_593026__.d(getter, { a: getter });
16921
+ /******/ __nested_webpack_require_598183__.d(getter, { a: getter });
16785
16922
  /******/ return getter;
16786
16923
  /******/ };
16787
16924
  /******/ })();
@@ -16789,9 +16926,9 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
16789
16926
  /******/ /* webpack/runtime/define property getters */
16790
16927
  /******/ (() => {
16791
16928
  /******/ // define getter functions for harmony exports
16792
- /******/ __nested_webpack_require_593026__.d = (exports, definition) => {
16929
+ /******/ __nested_webpack_require_598183__.d = (exports, definition) => {
16793
16930
  /******/ for(var key in definition) {
16794
- /******/ if(__nested_webpack_require_593026__.o(definition, key) && !__nested_webpack_require_593026__.o(exports, key)) {
16931
+ /******/ if(__nested_webpack_require_598183__.o(definition, key) && !__nested_webpack_require_598183__.o(exports, key)) {
16795
16932
  /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
16796
16933
  /******/ }
16797
16934
  /******/ }
@@ -16800,7 +16937,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
16800
16937
  /******/
16801
16938
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
16802
16939
  /******/ (() => {
16803
- /******/ __nested_webpack_require_593026__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
16940
+ /******/ __nested_webpack_require_598183__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
16804
16941
  /******/ })();
16805
16942
  /******/
16806
16943
  /************************************************************************/
@@ -16808,14 +16945,14 @@ var __webpack_exports__ = {};
16808
16945
  // This entry need to be wrapped in an IIFE because it need to be in strict mode.
16809
16946
  (() => {
16810
16947
  "use strict";
16811
- /* harmony import */ var _jqxcore__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_593026__(5459);
16812
- /* harmony import */ var _jqxcore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__nested_webpack_require_593026__.n(_jqxcore__WEBPACK_IMPORTED_MODULE_0__);
16813
- /* harmony import */ var _jqxbuttons__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_593026__(7351);
16814
- /* harmony import */ var _jqxbuttons__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__nested_webpack_require_593026__.n(_jqxbuttons__WEBPACK_IMPORTED_MODULE_1__);
16815
- /* harmony import */ var _jqxwindow__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_593026__(7762);
16816
- /* harmony import */ var _jqxwindow__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__nested_webpack_require_593026__.n(_jqxwindow__WEBPACK_IMPORTED_MODULE_2__);
16817
- /* harmony import */ var _jqxdocking__WEBPACK_IMPORTED_MODULE_3__ = __nested_webpack_require_593026__(3962);
16818
- /* harmony import */ var _jqxdocking__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__nested_webpack_require_593026__.n(_jqxdocking__WEBPACK_IMPORTED_MODULE_3__);
16948
+ /* harmony import */ var _jqxcore__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_598183__(5459);
16949
+ /* harmony import */ var _jqxcore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__nested_webpack_require_598183__.n(_jqxcore__WEBPACK_IMPORTED_MODULE_0__);
16950
+ /* harmony import */ var _jqxbuttons__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_598183__(7351);
16951
+ /* harmony import */ var _jqxbuttons__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__nested_webpack_require_598183__.n(_jqxbuttons__WEBPACK_IMPORTED_MODULE_1__);
16952
+ /* harmony import */ var _jqxwindow__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_598183__(7762);
16953
+ /* harmony import */ var _jqxwindow__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__nested_webpack_require_598183__.n(_jqxwindow__WEBPACK_IMPORTED_MODULE_2__);
16954
+ /* harmony import */ var _jqxdocking__WEBPACK_IMPORTED_MODULE_3__ = __nested_webpack_require_598183__(3962);
16955
+ /* harmony import */ var _jqxdocking__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__nested_webpack_require_598183__.n(_jqxdocking__WEBPACK_IMPORTED_MODULE_3__);
16819
16956
 
16820
16957
 
16821
16958
 
@@ -16823,6 +16960,12 @@ var __webpack_exports__ = {};
16823
16960
 
16824
16961
  })();
16825
16962
 
16963
+ /******/ })()
16964
+ ;
16965
+ /******/ })()
16966
+ ;
16967
+ /******/ })()
16968
+ ;
16826
16969
  /******/ })()
16827
16970
  ;
16828
16971
  /******/ })()