jqwidgets-ng 22.0.3 → 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 +28 -2467
- package/jqwidgets/jqxangular.js +3 -1
- package/jqwidgets/jqxbarcode.js +7 -1
- 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 +7 -1
- package/jqwidgets/jqxcolorpicker.js +3 -1
- package/jqwidgets/jqxcombobox.js +3 -1
- package/jqwidgets/jqxcomplexinput.js +3 -1
- package/jqwidgets/jqxcore.js +3 -1
- 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/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 +7 -1
- package/jqwidgets/jqxradiobutton.js +3 -1
- package/jqwidgets/jqxradiobuttongroup.js +7 -1
- 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 +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 +65 -19
- package/jqwidgets/modules/jqxbargauge.js +67 -23
- package/jqwidgets/modules/jqxbulletchart.js +70 -28
- package/jqwidgets/modules/jqxbuttongroup.js +68 -24
- package/jqwidgets/modules/jqxbuttons.js +65 -19
- package/jqwidgets/modules/jqxcalendar.js +72 -30
- package/jqwidgets/modules/jqxchart.js +82 -62
- package/jqwidgets/modules/jqxcheckbox.js +71 -29
- package/jqwidgets/modules/jqxcheckboxgroup.js +71 -29
- package/jqwidgets/modules/jqxcolorpicker.js +74 -34
- package/jqwidgets/modules/jqxcombobox.js +80 -44
- package/jqwidgets/modules/jqxcomplexinput.js +68 -24
- package/jqwidgets/modules/jqxdatatable.js +108 -114
- package/jqwidgets/modules/jqxdatetimeinput.js +98 -74
- package/jqwidgets/modules/jqxdocking.js +208 -29
- package/jqwidgets/modules/jqxdockinglayout.js +219 -48
- package/jqwidgets/modules/jqxdockpanel.js +68 -24
- package/jqwidgets/modules/jqxdragdrop.js +69 -27
- package/jqwidgets/modules/jqxdraw.js +64 -18
- package/jqwidgets/modules/jqxdropdownbutton.js +68 -24
- package/jqwidgets/modules/jqxdropdownlist.js +96 -70
- package/jqwidgets/modules/jqxeditor.js +249 -98
- package/jqwidgets/modules/jqxexpander.js +76 -36
- package/jqwidgets/modules/jqxfileupload.js +71 -29
- package/jqwidgets/modules/jqxform.js +1200 -1020
- package/jqwidgets/modules/jqxformattedinput.js +99 -73
- package/jqwidgets/modules/jqxgantt.js +149 -118
- package/jqwidgets/modules/jqxgauge.js +3063 -3747
- package/jqwidgets/modules/jqxgrid.js +1799 -789
- package/jqwidgets/modules/jqxheatmap.js +68 -24
- package/jqwidgets/modules/jqxinput.js +70 -28
- package/jqwidgets/modules/jqxkanban.js +111 -95
- package/jqwidgets/modules/jqxknob.js +70 -28
- package/jqwidgets/modules/jqxlayout.js +219 -48
- package/jqwidgets/modules/jqxlineargauge.js +3063 -3747
- package/jqwidgets/modules/jqxlinkbutton.js +65 -19
- package/jqwidgets/modules/jqxlistbox.js +84 -50
- package/jqwidgets/modules/jqxlistmenu.js +107 -87
- package/jqwidgets/modules/jqxloader.js +65 -19
- package/jqwidgets/modules/jqxmaskedinput.js +65 -19
- package/jqwidgets/modules/jqxmenu.js +81 -45
- package/jqwidgets/modules/jqxnavbar.js +76 -36
- package/jqwidgets/modules/jqxnavigationbar.js +88 -56
- package/jqwidgets/modules/jqxnotification.js +76 -38
- package/jqwidgets/modules/jqxnumberinput.js +86 -54
- package/jqwidgets/modules/jqxpanel.js +73 -33
- package/jqwidgets/modules/jqxpasswordinput.js +75 -37
- package/jqwidgets/modules/jqxpivotdesigner.js +254 -105
- package/jqwidgets/modules/jqxpivotgrid.js +254 -105
- package/jqwidgets/modules/jqxpopover.js +68 -24
- package/jqwidgets/modules/jqxprogressbar.js +65 -19
- package/jqwidgets/modules/jqxqrcode.js +75 -35
- package/jqwidgets/modules/jqxradiobutongroup.js +71 -29
- package/jqwidgets/modules/jqxradiobutton.js +68 -24
- package/jqwidgets/modules/jqxrangeselector.js +70 -28
- package/jqwidgets/modules/jqxrating.js +68 -24
- package/jqwidgets/modules/jqxrepeatbutton.js +65 -19
- package/jqwidgets/modules/jqxresponsivepanel.js +68 -24
- package/jqwidgets/modules/jqxribbon.js +71 -29
- package/jqwidgets/modules/jqxscheduler.js +261 -142
- package/jqwidgets/modules/jqxscrollbar.js +67 -23
- package/jqwidgets/modules/jqxscrollview.js +67 -23
- package/jqwidgets/modules/jqxslider.js +57 -23
- package/jqwidgets/modules/jqxsortable.js +7 -14119
- package/jqwidgets/modules/jqxsplitlayout.js +7 -13895
- package/jqwidgets/modules/jqxsplitter.js +7 -13468
- package/jqwidgets/modules/jqxswitchbutton.js +63 -33
- package/jqwidgets/modules/jqxtabs.js +73 -49
- package/jqwidgets/modules/jqxtagcloud.js +65 -37
- package/jqwidgets/modules/jqxtextarea.js +65 -37
- package/jqwidgets/modules/jqxtimeline.js +55 -19
- package/jqwidgets/modules/jqxtimepicker.js +56 -22
- package/jqwidgets/modules/jqxtogglebutton.js +55 -19
- package/jqwidgets/modules/jqxtoolbar.js +99 -91
- package/jqwidgets/modules/jqxtooltip.js +54 -18
- package/jqwidgets/modules/jqxtree.js +2638 -2581
- package/jqwidgets/modules/jqxtreegrid.js +100 -118
- package/jqwidgets/modules/jqxtreemap.js +59 -27
- package/jqwidgets/modules/jqxvalidator.js +62 -32
- package/jqwidgets/modules/jqxwindow.js +195 -24
- 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
|
@@ -4,6 +4,46 @@ Copyright (c) 2011-2025 jQWidgets.
|
|
|
4
4
|
License: https://jqwidgets.com/license/ */
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
/******/ (() => { // webpackBootstrap
|
|
8
|
+
var __webpack_exports__ = {};
|
|
9
|
+
|
|
10
|
+
/* Release Date: Jan-28-2025
|
|
11
|
+
Copyright (c) 2011-2025 jQWidgets.
|
|
12
|
+
License: https://jqwidgets.com/license/ */
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
/******/ (() => { // webpackBootstrap
|
|
16
|
+
var __webpack_exports__ = {};
|
|
17
|
+
|
|
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.
|
|
44
|
+
License: https://jqwidgets.com/license/ */
|
|
45
|
+
|
|
46
|
+
|
|
7
47
|
/******/ (() => { // webpackBootstrap
|
|
8
48
|
/******/ var __webpack_modules__ = ({
|
|
9
49
|
|
|
@@ -1189,14 +1229,12 @@ License: https://jqwidgets.com/license/ */
|
|
|
1189
1229
|
//// End of ToggleButton
|
|
1190
1230
|
|
|
1191
1231
|
})(jqxBaseFramework);
|
|
1192
|
-
})();
|
|
1193
|
-
|
|
1194
|
-
|
|
1232
|
+
})();
|
|
1195
1233
|
|
|
1196
1234
|
/***/ }),
|
|
1197
1235
|
|
|
1198
1236
|
/***/ 5459:
|
|
1199
|
-
/***/ ((module, exports,
|
|
1237
|
+
/***/ ((module, exports, __nested_webpack_require_52085__) => {
|
|
1200
1238
|
|
|
1201
1239
|
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disable */
|
|
1202
1240
|
/* eslint-disable */
|
|
@@ -9376,7 +9414,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
|
|
|
9376
9414
|
// file names, and JQXLite is normally delivered in a lowercase file name.
|
|
9377
9415
|
// Do this after creating the global so that if an AMD module wants to call
|
|
9378
9416
|
// noConflict to hide this version of JQXLite, it will work.
|
|
9379
|
-
if (
|
|
9417
|
+
if ( true && __nested_webpack_require_52085__.amdO.JQXLite) {
|
|
9380
9418
|
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () { return JQXLite; }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
|
|
9381
9419
|
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
9382
9420
|
}
|
|
@@ -12551,8 +12589,6 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
|
|
|
12551
12589
|
}
|
|
12552
12590
|
})(jqxBaseFramework);
|
|
12553
12591
|
})();
|
|
12554
|
-
|
|
12555
|
-
|
|
12556
12592
|
|
|
12557
12593
|
|
|
12558
12594
|
/***/ }),
|
|
@@ -13969,9 +14005,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
|
|
|
13969
14005
|
}
|
|
13970
14006
|
});
|
|
13971
14007
|
})(jqxBaseFramework); //ignore jslint
|
|
13972
|
-
})();
|
|
13973
|
-
|
|
13974
|
-
|
|
14008
|
+
})();
|
|
13975
14009
|
|
|
13976
14010
|
/***/ }),
|
|
13977
14011
|
|
|
@@ -16085,9 +16119,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
|
|
|
16085
16119
|
}
|
|
16086
16120
|
});
|
|
16087
16121
|
})(jqxBaseFramework); //ignore jslint
|
|
16088
|
-
})();
|
|
16089
|
-
|
|
16090
|
-
|
|
16122
|
+
})();
|
|
16091
16123
|
|
|
16092
16124
|
/***/ }),
|
|
16093
16125
|
|
|
@@ -19058,9 +19090,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
|
|
|
19058
19090
|
return menuItem;
|
|
19059
19091
|
}; //
|
|
19060
19092
|
})(jqxBaseFramework);
|
|
19061
|
-
})();
|
|
19062
|
-
|
|
19063
|
-
|
|
19093
|
+
})();
|
|
19064
19094
|
|
|
19065
19095
|
/***/ }),
|
|
19066
19096
|
|
|
@@ -21053,9 +21083,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
|
|
|
21053
21083
|
}
|
|
21054
21084
|
});
|
|
21055
21085
|
})(jqxBaseFramework); //ignore jslint
|
|
21056
|
-
})();
|
|
21057
|
-
|
|
21058
|
-
|
|
21086
|
+
})();
|
|
21059
21087
|
|
|
21060
21088
|
/***/ }),
|
|
21061
21089
|
|
|
@@ -22648,8 +22676,6 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
|
|
|
22648
22676
|
}); // jqxScrollBar
|
|
22649
22677
|
})(jqxBaseFramework);
|
|
22650
22678
|
})();
|
|
22651
|
-
|
|
22652
|
-
|
|
22653
22679
|
|
|
22654
22680
|
|
|
22655
22681
|
/***/ }),
|
|
@@ -24311,6 +24337,12 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
|
|
|
24311
24337
|
case 'right':
|
|
24312
24338
|
this.element.style.left = this._toPx(dragArea.left + dragArea.width - this.host.width());
|
|
24313
24339
|
break;
|
|
24340
|
+
case 'center':
|
|
24341
|
+
this._centerElement(this.host, dragArea, 'x');
|
|
24342
|
+
break;
|
|
24343
|
+
case 'middle':
|
|
24344
|
+
this._centerElement(this.host, dragArea, 'y');
|
|
24345
|
+
break;
|
|
24314
24346
|
default:
|
|
24315
24347
|
if (!this.dragArea) {
|
|
24316
24348
|
dragArea = $(window);
|
|
@@ -24767,6 +24799,137 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
|
|
|
24767
24799
|
}
|
|
24768
24800
|
},
|
|
24769
24801
|
|
|
24802
|
+
openAlert: function (message, title) {
|
|
24803
|
+
if (!message) {
|
|
24804
|
+
message = '';
|
|
24805
|
+
}
|
|
24806
|
+
|
|
24807
|
+
if (!title) {
|
|
24808
|
+
title = 'Alert';
|
|
24809
|
+
}
|
|
24810
|
+
return this._openDialog(
|
|
24811
|
+
message,
|
|
24812
|
+
title,
|
|
24813
|
+
"alert"
|
|
24814
|
+
);
|
|
24815
|
+
},
|
|
24816
|
+
|
|
24817
|
+
openConfirm: function (message, title) {
|
|
24818
|
+
if (!message) {
|
|
24819
|
+
message = '';
|
|
24820
|
+
}
|
|
24821
|
+
if (!title) {
|
|
24822
|
+
title = 'Confirm';
|
|
24823
|
+
}
|
|
24824
|
+
|
|
24825
|
+
return this._openDialog(
|
|
24826
|
+
message,
|
|
24827
|
+
title,
|
|
24828
|
+
"confirm"
|
|
24829
|
+
);
|
|
24830
|
+
},
|
|
24831
|
+
|
|
24832
|
+
_openDialog: function (message, title, type) {
|
|
24833
|
+
var that = this;
|
|
24834
|
+
var $window = this.host;
|
|
24835
|
+
|
|
24836
|
+
if (typeof message !== "string") {
|
|
24837
|
+
message = '';
|
|
24838
|
+
};
|
|
24839
|
+
|
|
24840
|
+
|
|
24841
|
+
var getDialogSize = function (message, minWidth, minHeight, maxWidth, maxHeight) {
|
|
24842
|
+
minWidth = typeof minWidth !== 'undefined' ? minWidth : 300;
|
|
24843
|
+
minHeight = typeof minHeight !== 'undefined' ? minHeight : 150;
|
|
24844
|
+
maxWidth = typeof maxWidth !== 'undefined' ? maxWidth : 600;
|
|
24845
|
+
maxHeight = typeof maxHeight !== 'undefined' ? maxHeight : 400;
|
|
24846
|
+
|
|
24847
|
+
var tempDiv = $("<div>")
|
|
24848
|
+
.css({
|
|
24849
|
+
position: "absolute",
|
|
24850
|
+
visibility: "hidden",
|
|
24851
|
+
width: maxWidth + "px",
|
|
24852
|
+
padding: "16px",
|
|
24853
|
+
fontFamily: "inherit",
|
|
24854
|
+
fontSize: "14px",
|
|
24855
|
+
lineHeight: "1.4",
|
|
24856
|
+
whiteSpace: "normal"
|
|
24857
|
+
})
|
|
24858
|
+
.html(message)
|
|
24859
|
+
.appendTo("body");
|
|
24860
|
+
|
|
24861
|
+
var width = Math.min(Math.max(tempDiv.outerWidth(true), minWidth), maxWidth);
|
|
24862
|
+
var height = Math.min(Math.max(tempDiv.outerHeight(true) + 80, minHeight), maxHeight); // +80 for buttons & spacing
|
|
24863
|
+
|
|
24864
|
+
tempDiv.remove();
|
|
24865
|
+
|
|
24866
|
+
return {
|
|
24867
|
+
width: width,
|
|
24868
|
+
height: height
|
|
24869
|
+
};
|
|
24870
|
+
};
|
|
24871
|
+
|
|
24872
|
+
|
|
24873
|
+
var size = getDialogSize(message);
|
|
24874
|
+
this.width = size.width;
|
|
24875
|
+
this.height = 30 + size.height;
|
|
24876
|
+
|
|
24877
|
+
that.element.style.height = size.height + 'px';
|
|
24878
|
+
that.element.style.width = size.width + 'px';
|
|
24879
|
+
|
|
24880
|
+
var $content = $window.find(".jqx-window-content"); // scoped to this instance
|
|
24881
|
+
var idSuffix = $window.attr("id") || Math.random().toString(36).substr(2, 5);
|
|
24882
|
+
var isConfirm = type === "confirm";
|
|
24883
|
+
|
|
24884
|
+
return new Promise(function (resolve) {
|
|
24885
|
+
$window.jqxWindow("setTitle", title);
|
|
24886
|
+
|
|
24887
|
+
// Use unique IDs for each button per window instance
|
|
24888
|
+
var okId = 'jqxDialogOkBtn_' + idSuffix;
|
|
24889
|
+
var cancelId = 'jqxDialogCancelBtn_' + idSuffix;
|
|
24890
|
+
|
|
24891
|
+
var html =
|
|
24892
|
+
'<div class="dialog-container" style="display: flex; flex-direction: column; height: 100%;">' +
|
|
24893
|
+
'<div class="dialog-message" style="flex: 1; padding: 20px; overflow-y: auto;">' +
|
|
24894
|
+
message +
|
|
24895
|
+
'</div>' +
|
|
24896
|
+
'<div class="dialog-buttons" style="' +
|
|
24897
|
+
'padding: 5px 10px;' +
|
|
24898
|
+
'text-align: right;' +
|
|
24899
|
+
'background: var(--jqx-surface);' +
|
|
24900
|
+
'color: var(--jqx-surface-color);' +
|
|
24901
|
+
'flex-shrink: 0;' +
|
|
24902
|
+
'">' +
|
|
24903
|
+
'<button id="' + okId + '" class="jqx-btn">OK</button>' +
|
|
24904
|
+
(isConfirm ? '<button id="' + cancelId + '" class="jqx-btn">Cancel</button>' : '') +
|
|
24905
|
+
'</div>' +
|
|
24906
|
+
'</div>';
|
|
24907
|
+
|
|
24908
|
+
|
|
24909
|
+
$content.html(html);
|
|
24910
|
+
$window.jqxWindow("open");
|
|
24911
|
+
|
|
24912
|
+
setTimeout(function () {
|
|
24913
|
+
$('#' + okId).jqxButton({ theme: that.theme, width: 75, height: 28 })
|
|
24914
|
+
.off("click")
|
|
24915
|
+
.on("click", function () {
|
|
24916
|
+
$window.jqxWindow("close");
|
|
24917
|
+
resolve(true);
|
|
24918
|
+
});
|
|
24919
|
+
|
|
24920
|
+
if (isConfirm) {
|
|
24921
|
+
$('#' + cancelId).jqxButton({ theme: that.theme, width: 75, height: 28 })
|
|
24922
|
+
.off("click")
|
|
24923
|
+
.on("click", function () {
|
|
24924
|
+
$window.jqxWindow("close");
|
|
24925
|
+
resolve(false);
|
|
24926
|
+
});
|
|
24927
|
+
}
|
|
24928
|
+
}, 0);
|
|
24929
|
+
|
|
24930
|
+
});
|
|
24931
|
+
},
|
|
24932
|
+
|
|
24770
24933
|
open: function (callback, duration) {
|
|
24771
24934
|
this.show(callback, duration);
|
|
24772
24935
|
},
|
|
@@ -25653,9 +25816,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
|
|
|
25653
25816
|
}(jqxBaseFramework)); //ignore jslint
|
|
25654
25817
|
$.extend($.jqx._jqxWindow.prototype, resizeModule);
|
|
25655
25818
|
}(jqxBaseFramework)); //ignore jslint
|
|
25656
|
-
})();
|
|
25657
|
-
|
|
25658
|
-
|
|
25819
|
+
})();
|
|
25659
25820
|
|
|
25660
25821
|
/***/ })
|
|
25661
25822
|
|
|
@@ -25665,7 +25826,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
|
|
|
25665
25826
|
/******/ var __webpack_module_cache__ = {};
|
|
25666
25827
|
/******/
|
|
25667
25828
|
/******/ // The require function
|
|
25668
|
-
/******/ function
|
|
25829
|
+
/******/ function __nested_webpack_require_1020323__(moduleId) {
|
|
25669
25830
|
/******/ // Check if module is in cache
|
|
25670
25831
|
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
25671
25832
|
/******/ if (cachedModule !== undefined) {
|
|
@@ -25679,7 +25840,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
|
|
|
25679
25840
|
/******/ };
|
|
25680
25841
|
/******/
|
|
25681
25842
|
/******/ // Execute the module function
|
|
25682
|
-
/******/ __webpack_modules__[moduleId](module, module.exports,
|
|
25843
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __nested_webpack_require_1020323__);
|
|
25683
25844
|
/******/
|
|
25684
25845
|
/******/ // Return the exports of the module
|
|
25685
25846
|
/******/ return module.exports;
|
|
@@ -25688,17 +25849,17 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
|
|
|
25688
25849
|
/************************************************************************/
|
|
25689
25850
|
/******/ /* webpack/runtime/amd options */
|
|
25690
25851
|
/******/ (() => {
|
|
25691
|
-
/******/
|
|
25852
|
+
/******/ __nested_webpack_require_1020323__.amdO = {};
|
|
25692
25853
|
/******/ })();
|
|
25693
25854
|
/******/
|
|
25694
25855
|
/******/ /* webpack/runtime/compat get default export */
|
|
25695
25856
|
/******/ (() => {
|
|
25696
25857
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
25697
|
-
/******/
|
|
25858
|
+
/******/ __nested_webpack_require_1020323__.n = (module) => {
|
|
25698
25859
|
/******/ var getter = module && module.__esModule ?
|
|
25699
25860
|
/******/ () => (module['default']) :
|
|
25700
25861
|
/******/ () => (module);
|
|
25701
|
-
/******/
|
|
25862
|
+
/******/ __nested_webpack_require_1020323__.d(getter, { a: getter });
|
|
25702
25863
|
/******/ return getter;
|
|
25703
25864
|
/******/ };
|
|
25704
25865
|
/******/ })();
|
|
@@ -25706,9 +25867,9 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
|
|
|
25706
25867
|
/******/ /* webpack/runtime/define property getters */
|
|
25707
25868
|
/******/ (() => {
|
|
25708
25869
|
/******/ // define getter functions for harmony exports
|
|
25709
|
-
/******/
|
|
25870
|
+
/******/ __nested_webpack_require_1020323__.d = (exports, definition) => {
|
|
25710
25871
|
/******/ for(var key in definition) {
|
|
25711
|
-
/******/ if(
|
|
25872
|
+
/******/ if(__nested_webpack_require_1020323__.o(definition, key) && !__nested_webpack_require_1020323__.o(exports, key)) {
|
|
25712
25873
|
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
25713
25874
|
/******/ }
|
|
25714
25875
|
/******/ }
|
|
@@ -25717,7 +25878,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
|
|
|
25717
25878
|
/******/
|
|
25718
25879
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
25719
25880
|
/******/ (() => {
|
|
25720
|
-
/******/
|
|
25881
|
+
/******/ __nested_webpack_require_1020323__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
25721
25882
|
/******/ })();
|
|
25722
25883
|
/******/
|
|
25723
25884
|
/************************************************************************/
|
|
@@ -25725,22 +25886,22 @@ var __webpack_exports__ = {};
|
|
|
25725
25886
|
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
|
25726
25887
|
(() => {
|
|
25727
25888
|
"use strict";
|
|
25728
|
-
/* harmony import */ var _jqxcore__WEBPACK_IMPORTED_MODULE_0__ =
|
|
25729
|
-
/* harmony import */ var _jqxcore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/
|
|
25730
|
-
/* harmony import */ var _jqxbuttons__WEBPACK_IMPORTED_MODULE_1__ =
|
|
25731
|
-
/* harmony import */ var _jqxbuttons__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/
|
|
25732
|
-
/* harmony import */ var _jqxwindow__WEBPACK_IMPORTED_MODULE_2__ =
|
|
25733
|
-
/* harmony import */ var _jqxwindow__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/
|
|
25734
|
-
/* harmony import */ var _jqxribbon__WEBPACK_IMPORTED_MODULE_3__ =
|
|
25735
|
-
/* harmony import */ var _jqxribbon__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/
|
|
25736
|
-
/* harmony import */ var _jqxlayout__WEBPACK_IMPORTED_MODULE_4__ =
|
|
25737
|
-
/* harmony import */ var _jqxlayout__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/
|
|
25738
|
-
/* harmony import */ var _jqxmenu__WEBPACK_IMPORTED_MODULE_5__ =
|
|
25739
|
-
/* harmony import */ var _jqxmenu__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/
|
|
25740
|
-
/* harmony import */ var _jqxscrollbar__WEBPACK_IMPORTED_MODULE_6__ =
|
|
25741
|
-
/* harmony import */ var _jqxscrollbar__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/
|
|
25742
|
-
/* harmony import */ var _jqxdockinglayout__WEBPACK_IMPORTED_MODULE_7__ =
|
|
25743
|
-
/* harmony import */ var _jqxdockinglayout__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/
|
|
25889
|
+
/* harmony import */ var _jqxcore__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_1020323__(5459);
|
|
25890
|
+
/* harmony import */ var _jqxcore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__nested_webpack_require_1020323__.n(_jqxcore__WEBPACK_IMPORTED_MODULE_0__);
|
|
25891
|
+
/* harmony import */ var _jqxbuttons__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_1020323__(7351);
|
|
25892
|
+
/* harmony import */ var _jqxbuttons__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__nested_webpack_require_1020323__.n(_jqxbuttons__WEBPACK_IMPORTED_MODULE_1__);
|
|
25893
|
+
/* harmony import */ var _jqxwindow__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_1020323__(7762);
|
|
25894
|
+
/* harmony import */ var _jqxwindow__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__nested_webpack_require_1020323__.n(_jqxwindow__WEBPACK_IMPORTED_MODULE_2__);
|
|
25895
|
+
/* harmony import */ var _jqxribbon__WEBPACK_IMPORTED_MODULE_3__ = __nested_webpack_require_1020323__(9274);
|
|
25896
|
+
/* harmony import */ var _jqxribbon__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__nested_webpack_require_1020323__.n(_jqxribbon__WEBPACK_IMPORTED_MODULE_3__);
|
|
25897
|
+
/* harmony import */ var _jqxlayout__WEBPACK_IMPORTED_MODULE_4__ = __nested_webpack_require_1020323__(7355);
|
|
25898
|
+
/* harmony import */ var _jqxlayout__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__nested_webpack_require_1020323__.n(_jqxlayout__WEBPACK_IMPORTED_MODULE_4__);
|
|
25899
|
+
/* harmony import */ var _jqxmenu__WEBPACK_IMPORTED_MODULE_5__ = __nested_webpack_require_1020323__(1610);
|
|
25900
|
+
/* harmony import */ var _jqxmenu__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__nested_webpack_require_1020323__.n(_jqxmenu__WEBPACK_IMPORTED_MODULE_5__);
|
|
25901
|
+
/* harmony import */ var _jqxscrollbar__WEBPACK_IMPORTED_MODULE_6__ = __nested_webpack_require_1020323__(4240);
|
|
25902
|
+
/* harmony import */ var _jqxscrollbar__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__nested_webpack_require_1020323__.n(_jqxscrollbar__WEBPACK_IMPORTED_MODULE_6__);
|
|
25903
|
+
/* harmony import */ var _jqxdockinglayout__WEBPACK_IMPORTED_MODULE_7__ = __nested_webpack_require_1020323__(1448);
|
|
25904
|
+
/* harmony import */ var _jqxdockinglayout__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__nested_webpack_require_1020323__.n(_jqxdockinglayout__WEBPACK_IMPORTED_MODULE_7__);
|
|
25744
25905
|
|
|
25745
25906
|
|
|
25746
25907
|
|
|
@@ -25751,5 +25912,15 @@ var __webpack_exports__ = {};
|
|
|
25751
25912
|
|
|
25752
25913
|
})();
|
|
25753
25914
|
|
|
25915
|
+
/******/ })()
|
|
25916
|
+
;
|
|
25917
|
+
/******/ })()
|
|
25918
|
+
;
|
|
25919
|
+
/******/ })()
|
|
25920
|
+
;
|
|
25921
|
+
/******/ })()
|
|
25922
|
+
;
|
|
25923
|
+
/******/ })()
|
|
25924
|
+
;
|
|
25754
25925
|
/******/ })()
|
|
25755
25926
|
;
|