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.
- package/esm2020/jqxform/angular_jqxform.mjs +35 -2
- package/esm2020/jqxgrid/angular_jqxgrid.mjs +12 -0
- package/esm2020/jqxtree/angular_jqxtree.mjs +6 -0
- package/esm2020/jqxwindow/angular_jqxwindow.mjs +6 -0
- package/fesm2015/jqwidgets-ng-jqxform.mjs +35 -2
- package/fesm2015/jqwidgets-ng-jqxgrid.mjs +12 -0
- package/fesm2015/jqwidgets-ng-jqxtree.mjs +6 -0
- package/fesm2015/jqwidgets-ng-jqxwindow.mjs +6 -0
- package/fesm2020/jqwidgets-ng-jqxform.mjs +35 -2
- package/fesm2020/jqwidgets-ng-jqxgrid.mjs +12 -0
- package/fesm2020/jqwidgets-ng-jqxtree.mjs +6 -0
- package/fesm2020/jqwidgets-ng-jqxwindow.mjs +6 -0
- package/jqwidgets/jqx-all.js +12 -52
- package/jqwidgets/jqxangular.js +3 -1
- package/jqwidgets/jqxbarcode.js +1 -9
- package/jqwidgets/jqxbargauge.js +3 -1
- package/jqwidgets/jqxbulletchart.js +3 -1
- package/jqwidgets/jqxbuttongroup.js +3 -1
- package/jqwidgets/jqxbuttons.js +3 -1
- package/jqwidgets/jqxcalendar.js +3 -1
- package/jqwidgets/jqxchart.annotations.js +3 -1
- package/jqwidgets/jqxchart.api.js +3 -1
- package/jqwidgets/jqxchart.core.js +3 -1
- package/jqwidgets/jqxchart.js +1 -1
- package/jqwidgets/jqxchart.rangeselector.js +3 -1
- package/jqwidgets/jqxchart.waterfall.js +3 -1
- package/jqwidgets/jqxcheckbox.js +3 -1
- package/jqwidgets/jqxcheckboxgroup.js +1 -9
- package/jqwidgets/jqxcolorpicker.js +3 -1
- package/jqwidgets/jqxcombobox.js +3 -1
- package/jqwidgets/jqxcomplexinput.js +3 -1
- package/jqwidgets/jqxcore.js +4 -2
- package/jqwidgets/jqxdata.export.js +3 -1
- package/jqwidgets/jqxdata.js +3 -1
- package/jqwidgets/jqxdatatable.js +3 -1
- package/jqwidgets/jqxdate.js +3 -1
- package/jqwidgets/jqxdatetimeinput.js +3 -1
- package/jqwidgets/jqxdocking.js +3 -1
- package/jqwidgets/jqxdockinglayout.js +3 -1
- package/jqwidgets/jqxdockpanel.js +3 -1
- package/jqwidgets/jqxdragdrop.js +3 -1
- package/jqwidgets/jqxdraw.js +3 -1
- package/jqwidgets/jqxdropdownbutton.js +3 -1
- package/jqwidgets/jqxdropdownlist.js +3 -1
- package/jqwidgets/jqxeditor.js +3 -1
- package/jqwidgets/jqxexpander.js +3 -1
- package/jqwidgets/jqxexport.js +6 -3
- package/jqwidgets/jqxfileupload.js +3 -1
- package/jqwidgets/jqxform.js +4 -2
- package/jqwidgets/jqxformattedinput.js +3 -1
- package/jqwidgets/jqxgantt.api.js +75 -90
- package/jqwidgets/jqxgantt.js +3 -1
- package/jqwidgets/jqxgauge.js +4 -2
- package/jqwidgets/jqxgrid.aggregates.js +3 -1
- package/jqwidgets/jqxgrid.columnsreorder.js +3 -1
- package/jqwidgets/jqxgrid.columnsresize.js +3 -1
- package/jqwidgets/jqxgrid.edit.js +3 -1
- package/jqwidgets/jqxgrid.export.js +3 -1
- package/jqwidgets/jqxgrid.filter.js +4 -2
- package/jqwidgets/jqxgrid.grouping.js +3 -1
- package/jqwidgets/jqxgrid.js +4 -2
- package/jqwidgets/jqxgrid.pager.js +3 -1
- package/jqwidgets/jqxgrid.selection.js +3 -1
- package/jqwidgets/jqxgrid.sort.js +3 -1
- package/jqwidgets/jqxgrid.storage.js +4 -2
- package/jqwidgets/jqxheatmap.js +3 -1
- package/jqwidgets/jqxinput.js +3 -1
- package/jqwidgets/jqxkanban.js +3 -1
- package/jqwidgets/jqxknob.js +3 -1
- package/jqwidgets/jqxknockout.js +3 -1
- package/jqwidgets/jqxlayout.js +3 -1
- package/jqwidgets/jqxlistbox.js +4 -2
- package/jqwidgets/jqxlistmenu.js +3 -1
- package/jqwidgets/jqxloader.js +3 -1
- package/jqwidgets/jqxmaskedinput.js +3 -1
- package/jqwidgets/jqxmenu.js +3 -1
- package/jqwidgets/jqxnavbar.js +3 -1
- package/jqwidgets/jqxnavigationbar.js +3 -1
- package/jqwidgets/jqxnotification.js +3 -1
- package/jqwidgets/jqxnumberinput.js +3 -1
- package/jqwidgets/jqxpanel.js +3 -1
- package/jqwidgets/jqxpasswordinput.js +3 -1
- package/jqwidgets/jqxpivot.js +3 -1
- package/jqwidgets/jqxpivotdesigner.js +3 -1
- package/jqwidgets/jqxpivotgrid.js +3 -1
- package/jqwidgets/jqxpopover.js +3 -1
- package/jqwidgets/jqxprogressbar.js +3 -1
- package/jqwidgets/jqxqrcode.js +1 -9
- package/jqwidgets/jqxradiobutton.js +3 -1
- package/jqwidgets/jqxradiobuttongroup.js +1 -9
- package/jqwidgets/jqxrangeselector.js +3 -1
- package/jqwidgets/jqxrating.js +3 -1
- package/jqwidgets/jqxresponsivepanel.js +3 -1
- package/jqwidgets/jqxribbon.js +3 -1
- package/jqwidgets/jqxscheduler.api.js +3 -1
- package/jqwidgets/jqxscheduler.js +4 -2
- package/jqwidgets/jqxscrollbar.js +3 -1
- package/jqwidgets/jqxscrollview.js +3 -1
- package/jqwidgets/jqxslider.js +3 -1
- package/jqwidgets/jqxsortable.js +3 -1
- package/jqwidgets/jqxsplitlayout.js +2456 -1
- package/jqwidgets/jqxsplitlayout_.js +11 -0
- package/jqwidgets/jqxsplitter.js +3 -1
- package/jqwidgets/jqxswitchbutton.js +4 -2
- package/jqwidgets/jqxtabs.js +3 -1
- package/jqwidgets/jqxtagcloud.js +3 -1
- package/jqwidgets/jqxtextarea.js +3 -1
- package/jqwidgets/jqxtimeline.js +3 -1
- package/jqwidgets/jqxtimepicker.js +3 -1
- package/jqwidgets/jqxtoolbar.js +3 -1
- package/jqwidgets/jqxtooltip.js +3 -1
- package/jqwidgets/jqxtouch.js +3 -1
- package/jqwidgets/jqxtree.js +4 -2
- package/jqwidgets/jqxtreegrid.js +3 -1
- package/jqwidgets/jqxtreemap.js +3 -1
- package/jqwidgets/jqxvalidator.js +3 -1
- package/jqwidgets/jqxwindow.js +4 -2
- package/jqwidgets/modules/jqxbarcode.js +58 -48
- package/jqwidgets/modules/jqxbargauge.js +60 -52
- package/jqwidgets/modules/jqxbulletchart.js +63 -57
- package/jqwidgets/modules/jqxbuttongroup.js +61 -53
- package/jqwidgets/modules/jqxbuttons.js +58 -48
- package/jqwidgets/modules/jqxcalendar.js +65 -59
- package/jqwidgets/modules/jqxchart.js +75 -91
- package/jqwidgets/modules/jqxcheckbox.js +64 -58
- package/jqwidgets/modules/jqxcheckboxgroup.js +64 -58
- package/jqwidgets/modules/jqxcolorpicker.js +67 -63
- package/jqwidgets/modules/jqxcombobox.js +73 -73
- package/jqwidgets/modules/jqxcomplexinput.js +61 -53
- package/jqwidgets/modules/jqxdatatable.js +107 -146
- package/jqwidgets/modules/jqxdatetimeinput.js +91 -103
- package/jqwidgets/modules/jqxdocking.js +201 -58
- package/jqwidgets/modules/jqxdockinglayout.js +212 -77
- package/jqwidgets/modules/jqxdockpanel.js +61 -53
- package/jqwidgets/modules/jqxdragdrop.js +62 -56
- package/jqwidgets/modules/jqxdraw.js +56 -46
- package/jqwidgets/modules/jqxdropdownbutton.js +61 -53
- package/jqwidgets/modules/jqxdropdownlist.js +89 -99
- package/jqwidgets/modules/jqxeditor.js +242 -127
- package/jqwidgets/modules/jqxexpander.js +75 -68
- package/jqwidgets/modules/jqxfileupload.js +64 -58
- package/jqwidgets/modules/jqxform.js +1199 -1052
- package/jqwidgets/modules/jqxformattedinput.js +98 -105
- package/jqwidgets/modules/jqxgantt.js +141 -146
- package/jqwidgets/modules/jqxgauge.js +3063 -3783
- package/jqwidgets/modules/jqxgrid.js +1811 -834
- package/jqwidgets/modules/jqxheatmap.js +60 -52
- package/jqwidgets/modules/jqxinput.js +62 -56
- package/jqwidgets/modules/jqxkanban.js +110 -127
- package/jqwidgets/modules/jqxknob.js +63 -57
- package/jqwidgets/modules/jqxlayout.js +212 -77
- package/jqwidgets/modules/jqxlineargauge.js +3063 -3783
- package/jqwidgets/modules/jqxlinkbutton.js +58 -48
- package/jqwidgets/modules/jqxlistbox.js +77 -79
- package/jqwidgets/modules/jqxlistmenu.js +106 -119
- package/jqwidgets/modules/jqxloader.js +57 -47
- package/jqwidgets/modules/jqxmaskedinput.js +57 -47
- package/jqwidgets/modules/jqxmenu.js +80 -77
- package/jqwidgets/modules/jqxnavbar.js +75 -68
- package/jqwidgets/modules/jqxnavigationbar.js +87 -88
- package/jqwidgets/modules/jqxnotification.js +69 -67
- package/jqwidgets/modules/jqxnumberinput.js +79 -83
- package/jqwidgets/modules/jqxpanel.js +66 -62
- package/jqwidgets/modules/jqxpasswordinput.js +68 -66
- package/jqwidgets/modules/jqxpivotdesigner.js +253 -137
- package/jqwidgets/modules/jqxpivotgrid.js +253 -137
- package/jqwidgets/modules/jqxpopover.js +61 -53
- package/jqwidgets/modules/jqxprogressbar.js +57 -47
- package/jqwidgets/modules/jqxqrcode.js +74 -67
- package/jqwidgets/modules/jqxradiobutongroup.js +64 -58
- package/jqwidgets/modules/jqxradiobutton.js +61 -53
- package/jqwidgets/modules/jqxrangeselector.js +62 -56
- package/jqwidgets/modules/jqxrating.js +61 -53
- package/jqwidgets/modules/jqxrepeatbutton.js +58 -48
- package/jqwidgets/modules/jqxresponsivepanel.js +60 -52
- package/jqwidgets/modules/jqxribbon.js +64 -58
- package/jqwidgets/modules/jqxscheduler.js +254 -171
- package/jqwidgets/modules/jqxscrollbar.js +60 -52
- package/jqwidgets/modules/jqxscrollview.js +60 -52
- package/jqwidgets/modules/jqxslider.js +50 -52
- package/jqwidgets/modules/jqxsortable.js +4 -14152
- package/jqwidgets/modules/jqxsplitlayout.js +4 -13928
- package/jqwidgets/modules/jqxsplitter.js +4 -13501
- package/jqwidgets/modules/jqxswitchbutton.js +56 -62
- package/jqwidgets/modules/jqxtabs.js +72 -81
- package/jqwidgets/modules/jqxtagcloud.js +58 -66
- package/jqwidgets/modules/jqxtextarea.js +58 -66
- package/jqwidgets/modules/jqxtimeline.js +47 -47
- package/jqwidgets/modules/jqxtimepicker.js +48 -50
- package/jqwidgets/modules/jqxtogglebutton.js +48 -48
- package/jqwidgets/modules/jqxtoolbar.js +98 -123
- package/jqwidgets/modules/jqxtooltip.js +46 -46
- package/jqwidgets/modules/jqxtree.js +2632 -2611
- package/jqwidgets/modules/jqxtreegrid.js +99 -150
- package/jqwidgets/modules/jqxtreemap.js +51 -55
- package/jqwidgets/modules/jqxvalidator.js +55 -61
- package/jqwidgets/modules/jqxwindow.js +188 -53
- package/jqwidgets/styles/jqx.base.css +182 -1
- package/jqxform/angular_jqxform.d.ts +7 -1
- package/jqxgrid/angular_jqxgrid.d.ts +2 -0
- package/jqxtree/angular_jqxtree.d.ts +2 -0
- package/jqxwindow/angular_jqxwindow.d.ts +2 -0
- package/package.json +3 -2
|
@@ -1,22 +1,46 @@
|
|
|
1
1
|
|
|
2
|
-
/* Release Date:
|
|
3
|
-
Copyright (c) 2011-
|
|
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:
|
|
11
|
-
Copyright (c) 2011-
|
|
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:
|
|
19
|
-
Copyright (c) 2011-
|
|
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,
|
|
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 (
|
|
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
|
-
|
|
11544
|
-
|
|
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
|
-
|
|
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
|
|
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,
|
|
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
|
-
/******/
|
|
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
|
-
/******/
|
|
16917
|
+
/******/ __nested_webpack_require_598183__.n = (module) => {
|
|
16781
16918
|
/******/ var getter = module && module.__esModule ?
|
|
16782
16919
|
/******/ () => (module['default']) :
|
|
16783
16920
|
/******/ () => (module);
|
|
16784
|
-
/******/
|
|
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
|
-
/******/
|
|
16929
|
+
/******/ __nested_webpack_require_598183__.d = (exports, definition) => {
|
|
16793
16930
|
/******/ for(var key in definition) {
|
|
16794
|
-
/******/ if(
|
|
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
|
-
/******/
|
|
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__ =
|
|
16812
|
-
/* harmony import */ var _jqxcore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/
|
|
16813
|
-
/* harmony import */ var _jqxbuttons__WEBPACK_IMPORTED_MODULE_1__ =
|
|
16814
|
-
/* harmony import */ var _jqxbuttons__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/
|
|
16815
|
-
/* harmony import */ var _jqxwindow__WEBPACK_IMPORTED_MODULE_2__ =
|
|
16816
|
-
/* harmony import */ var _jqxwindow__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/
|
|
16817
|
-
/* harmony import */ var _jqxdocking__WEBPACK_IMPORTED_MODULE_3__ =
|
|
16818
|
-
/* harmony import */ var _jqxdocking__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/
|
|
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
|
/******/ })()
|