jqwidgets-ng 19.2.2 → 20.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/jqxinput/angular_jqxinput.mjs +25 -3
- package/fesm2015/jqwidgets-ng-jqxinput.mjs +25 -3
- package/fesm2020/jqwidgets-ng-jqxinput.mjs +25 -3
- package/jqwidgets/jqx-all.js +13 -13
- package/jqwidgets/jqxangular.js +1 -1
- package/jqwidgets/jqxbarcode.js +1 -1
- package/jqwidgets/jqxbargauge.js +2 -2
- package/jqwidgets/jqxbulletchart.js +1 -1
- package/jqwidgets/jqxbuttongroup.js +1 -1
- package/jqwidgets/jqxbuttons.js +2 -2
- package/jqwidgets/jqxcalendar.js +1 -1
- package/jqwidgets/jqxchart.annotations.js +1 -1
- package/jqwidgets/jqxchart.api.js +1 -1
- package/jqwidgets/jqxchart.core.js +1 -1
- package/jqwidgets/jqxchart.js +1 -1
- package/jqwidgets/jqxchart.rangeselector.js +1 -1
- package/jqwidgets/jqxchart.waterfall.js +1 -1
- package/jqwidgets/jqxcheckbox.js +1 -1
- package/jqwidgets/jqxcheckboxgroup.js +1 -1
- package/jqwidgets/jqxcolorpicker.js +1 -1
- package/jqwidgets/jqxcombobox.js +1 -1
- package/jqwidgets/jqxcomplexinput.js +1 -1
- package/jqwidgets/jqxcore.js +1 -1
- package/jqwidgets/jqxdata.export.js +1 -1
- package/jqwidgets/jqxdata.js +1 -1
- package/jqwidgets/jqxdatatable.js +2 -2
- package/jqwidgets/jqxdate.js +1 -1
- package/jqwidgets/jqxdatetimeinput.js +1 -1
- package/jqwidgets/jqxdocking.js +1 -1
- package/jqwidgets/jqxdockinglayout.js +1 -1
- package/jqwidgets/jqxdockpanel.js +1 -1
- package/jqwidgets/jqxdragdrop.js +1 -1
- package/jqwidgets/jqxdraw.js +1 -1
- package/jqwidgets/jqxdropdownbutton.js +1 -1
- package/jqwidgets/jqxdropdownlist.js +2 -2
- package/jqwidgets/jqxeditor.js +1 -1
- package/jqwidgets/jqxexpander.js +1 -1
- package/jqwidgets/jqxfileupload.js +1 -1
- package/jqwidgets/jqxform.js +1 -1
- package/jqwidgets/jqxformattedinput.js +1 -1
- package/jqwidgets/jqxgantt.js +1 -1
- package/jqwidgets/jqxgauge.js +1 -1
- package/jqwidgets/jqxgrid.aggregates.js +1 -1
- package/jqwidgets/jqxgrid.columnsreorder.js +1 -1
- package/jqwidgets/jqxgrid.columnsresize.js +1 -1
- package/jqwidgets/jqxgrid.edit.js +1 -1
- package/jqwidgets/jqxgrid.export.js +1 -1
- package/jqwidgets/jqxgrid.filter.js +2 -2
- package/jqwidgets/jqxgrid.grouping.js +1 -1
- package/jqwidgets/jqxgrid.js +2 -2
- package/jqwidgets/jqxgrid.pager.js +1 -1
- package/jqwidgets/jqxgrid.selection.js +2 -2
- package/jqwidgets/jqxgrid.sort.js +1 -1
- package/jqwidgets/jqxgrid.storage.js +1 -1
- package/jqwidgets/jqxheatmap.js +1 -1
- package/jqwidgets/jqxinput.js +2 -2
- package/jqwidgets/jqxkanban.js +2 -2
- package/jqwidgets/jqxknob.js +1 -1
- package/jqwidgets/jqxknockout.js +1 -1
- package/jqwidgets/jqxlayout.js +1 -1
- package/jqwidgets/jqxlistbox.js +1 -1
- package/jqwidgets/jqxlistmenu.js +1 -1
- package/jqwidgets/jqxloader.js +1 -1
- package/jqwidgets/jqxmaskedinput.js +1 -1
- package/jqwidgets/jqxmenu.js +1 -1
- package/jqwidgets/jqxnavbar.js +1 -1
- package/jqwidgets/jqxnavigationbar.js +1 -1
- package/jqwidgets/jqxnotification.js +1 -1
- package/jqwidgets/jqxnumberinput.js +1 -1
- package/jqwidgets/jqxpanel.js +1 -1
- package/jqwidgets/jqxpasswordinput.js +1 -1
- package/jqwidgets/jqxpivot.js +1 -1
- package/jqwidgets/jqxpivotdesigner.js +2 -2
- package/jqwidgets/jqxpivotgrid.js +1 -1
- package/jqwidgets/jqxpopover.js +1 -1
- package/jqwidgets/jqxprogressbar.js +1 -1
- package/jqwidgets/jqxqrcode.js +1 -1
- package/jqwidgets/jqxradiobutton.js +1 -1
- package/jqwidgets/jqxradiobuttongroup.js +2 -2
- package/jqwidgets/jqxrangeselector.js +1 -1
- package/jqwidgets/jqxrating.js +1 -1
- package/jqwidgets/jqxresponsivepanel.js +1 -1
- package/jqwidgets/jqxribbon.js +1 -1
- package/jqwidgets/jqxscheduler.api.js +1 -1
- package/jqwidgets/jqxscheduler.js +1 -1
- package/jqwidgets/jqxscrollbar.js +1 -1
- package/jqwidgets/jqxscrollview.js +1 -1
- package/jqwidgets/jqxslider.js +1 -1
- package/jqwidgets/jqxsortable.js +1 -1
- package/jqwidgets/jqxsplitter.js +1 -1
- package/jqwidgets/jqxswitchbutton.js +1 -1
- package/jqwidgets/jqxtabs.js +2 -2
- package/jqwidgets/jqxtagcloud.js +1 -1
- package/jqwidgets/jqxtextarea.js +1 -1
- package/jqwidgets/jqxtimeline.js +1 -1
- package/jqwidgets/jqxtimepicker.js +1 -1
- package/jqwidgets/jqxtoolbar.js +1 -1
- package/jqwidgets/jqxtooltip.js +1 -1
- package/jqwidgets/jqxtouch.js +1 -1
- package/jqwidgets/jqxtree.js +1 -1
- package/jqwidgets/jqxtreegrid.js +1 -1
- package/jqwidgets/jqxtreemap.js +1 -1
- package/jqwidgets/jqxvalidator.js +1 -1
- package/jqwidgets/jqxwindow.js +1 -1
- package/jqwidgets/modules/jqxbarcode.js +48 -36
- package/jqwidgets/modules/jqxbargauge.js +67 -39
- package/jqwidgets/modules/jqxbulletchart.js +85 -41
- package/jqwidgets/modules/jqxbuttongroup.js +73 -39
- package/jqwidgets/modules/jqxbuttons.js +54 -36
- package/jqwidgets/modules/jqxcalendar.js +96 -43
- package/jqwidgets/modules/jqxchart.js +189 -53
- package/jqwidgets/modules/jqxcheckbox.js +92 -42
- package/jqwidgets/modules/jqxcheckboxgroup.js +92 -42
- package/jqwidgets/modules/jqxcolorpicker.js +111 -45
- package/jqwidgets/modules/jqxcombobox.js +149 -51
- package/jqwidgets/modules/jqxcomplexinput.js +73 -39
- package/jqwidgets/modules/jqxdatatable.js +343 -84
- package/jqwidgets/modules/jqxdatetimeinput.js +266 -69
- package/jqwidgets/modules/jqxdocking.js +92 -42
- package/jqwidgets/modules/jqxdockinglayout.js +167 -53
- package/jqwidgets/modules/jqxdockpanel.js +73 -39
- package/jqwidgets/modules/jqxdragdrop.js +90 -40
- package/jqwidgets/modules/jqxdraw.js +47 -35
- package/jqwidgets/modules/jqxdropdownbutton.js +73 -39
- package/jqwidgets/modules/jqxdropdownlist.js +248 -67
- package/jqwidgets/modules/jqxeditor.js +360 -83
- package/jqwidgets/modules/jqxexpander.js +113 -47
- package/jqwidgets/modules/jqxfileupload.js +67 -39
- package/jqwidgets/modules/jqxform.js +325 -80
- package/jqwidgets/modules/jqxformattedinput.js +251 -70
- package/jqwidgets/modules/jqxgantt.js +50 -38
- package/jqwidgets/modules/jqxgauge.js +110 -44
- package/jqwidgets/modules/jqxgrid.js +4452 -3974
- package/jqwidgets/modules/jqxheatmap.js +67 -39
- package/jqwidgets/modules/jqxinput.js +1263 -989
- package/jqwidgets/modules/jqxkanban.js +1557 -1273
- package/jqwidgets/modules/jqxknob.js +91 -41
- package/jqwidgets/modules/jqxlayout.js +167 -53
- package/jqwidgets/modules/jqxlineargauge.js +110 -44
- package/jqwidgets/modules/jqxlinkbutton.js +54 -36
- package/jqwidgets/modules/jqxlistbox.js +171 -54
- package/jqwidgets/modules/jqxlistmenu.js +307 -78
- package/jqwidgets/modules/jqxloader.js +48 -36
- package/jqwidgets/modules/jqxmaskedinput.js +48 -36
- package/jqwidgets/modules/jqxmenu.js +150 -52
- package/jqwidgets/modules/jqxnavbar.js +113 -47
- package/jqwidgets/modules/jqxnavigationbar.js +188 -58
- package/jqwidgets/modules/jqxnotification.js +129 -47
- package/jqwidgets/modules/jqxnumberinput.js +187 -57
- package/jqwidgets/modules/jqxpanel.js +110 -44
- package/jqwidgets/modules/jqxpasswordinput.js +128 -46
- package/jqwidgets/modules/jqxpivotdesigner.js +382 -89
- package/jqwidgets/modules/jqxpivotgrid.js +382 -89
- package/jqwidgets/modules/jqxpopover.js +73 -39
- package/jqwidgets/modules/jqxprogressbar.js +48 -36
- package/jqwidgets/modules/jqxqrcode.js +106 -46
- package/jqwidgets/modules/jqxradiobutongroup.js +93 -43
- package/jqwidgets/modules/jqxradiobutton.js +73 -39
- package/jqwidgets/modules/jqxrangeselector.js +85 -41
- package/jqwidgets/modules/jqxrating.js +73 -39
- package/jqwidgets/modules/jqxrepeatbutton.js +54 -36
- package/jqwidgets/modules/jqxresponsivepanel.js +67 -39
- package/jqwidgets/modules/jqxribbon.js +92 -42
- package/jqwidgets/modules/jqxscheduler.js +1572 -971
- package/jqwidgets/modules/jqxscrollbar.js +10627 -91161
- package/jqwidgets/modules/jqxscrollview.js +72 -38
- package/jqwidgets/modules/jqxslider.js +72 -38
- package/jqwidgets/modules/jqxsortable.js +72 -38
- package/jqwidgets/modules/jqxsplitlayout.js +2022 -2082
- package/jqwidgets/modules/jqxsplitter.js +72 -38
- package/jqwidgets/modules/jqxswitchbutton.js +109 -43
- package/jqwidgets/modules/jqxtabs.js +169 -55
- package/jqwidgets/modules/jqxtagcloud.js +128 -46
- package/jqwidgets/modules/jqxtextarea.js +128 -46
- package/jqwidgets/modules/jqxtimeline.js +48 -36
- package/jqwidgets/modules/jqxtimepicker.js +65 -37
- package/jqwidgets/modules/jqxtogglebutton.js +54 -36
- package/jqwidgets/modules/jqxtoolbar.js +1507 -1032
- package/jqwidgets/modules/jqxtooltip.js +47 -35
- package/jqwidgets/modules/jqxtree.js +6451 -187
- package/jqwidgets/modules/jqxtreegrid.js +361 -86
- package/jqwidgets/modules/jqxtreemap.js +84 -40
- package/jqwidgets/modules/jqxvalidator.js +109 -43
- package/jqwidgets/modules/jqxwindow.js +73 -39
- package/jqwidgets/styles/gantt/jqx.gantt.css +98 -98
- package/jqwidgets/styles/jqx.base.css +20 -20
- package/jqwidgets.d.ts +2 -0
- package/jqxinput/angular_jqxinput.d.ts +5 -1
- package/package.json +1 -1
|
@@ -1,21 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
/* Release Date:
|
|
3
|
-
Copyright (c) 2011-2024 jQWidgets.
|
|
4
|
-
License: https://jqwidgets.com/license/ */
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
/******/ (() => { // webpackBootstrap
|
|
8
|
-
var __webpack_exports__ = {};
|
|
9
|
-
|
|
10
|
-
/* Release Date: 28-May-2024
|
|
11
|
-
Copyright (c) 2011-2024 jQWidgets.
|
|
12
|
-
License: https://jqwidgets.com/license/ */
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
/******/ (() => { // webpackBootstrap
|
|
16
|
-
var __webpack_exports__ = {};
|
|
17
|
-
|
|
18
|
-
/* Release Date: 28-May-2024
|
|
2
|
+
/* Release Date: Sep-17-2024
|
|
19
3
|
Copyright (c) 2011-2024 jQWidgets.
|
|
20
4
|
License: https://jqwidgets.com/license/ */
|
|
21
5
|
|
|
@@ -31,6 +15,9 @@ License: https://jqwidgets.com/license/ */
|
|
|
31
15
|
/* tslint:disable */
|
|
32
16
|
/* eslint-disable */
|
|
33
17
|
(function() {
|
|
18
|
+
if (typeof document === 'undefined') {
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
34
21
|
/*!
|
|
35
22
|
* Globalize
|
|
36
23
|
*
|
|
@@ -2265,7 +2252,23 @@ document.Globalize = Globalize;
|
|
|
2265
2252
|
}
|
|
2266
2253
|
});
|
|
2267
2254
|
})(jqxBaseFramework);
|
|
2268
|
-
})();
|
|
2255
|
+
})();
|
|
2256
|
+
|
|
2257
|
+
|
|
2258
|
+
|
|
2259
|
+
|
|
2260
|
+
|
|
2261
|
+
|
|
2262
|
+
|
|
2263
|
+
|
|
2264
|
+
|
|
2265
|
+
|
|
2266
|
+
|
|
2267
|
+
|
|
2268
|
+
|
|
2269
|
+
|
|
2270
|
+
|
|
2271
|
+
|
|
2269
2272
|
|
|
2270
2273
|
/***/ }),
|
|
2271
2274
|
|
|
@@ -2861,6 +2864,12 @@ document.Globalize = Globalize;
|
|
|
2861
2864
|
that.element.disabled = true;
|
|
2862
2865
|
that.element.setAttribute('disabled', 'true');
|
|
2863
2866
|
}
|
|
2867
|
+
|
|
2868
|
+
if (that.textPosition){
|
|
2869
|
+
$.jqx.utilities.resize(this.host, function () {
|
|
2870
|
+
that._positionTextAndImage();
|
|
2871
|
+
});
|
|
2872
|
+
}
|
|
2864
2873
|
}, // createInstance
|
|
2865
2874
|
|
|
2866
2875
|
resize: function (width, height) {
|
|
@@ -3444,7 +3453,23 @@ document.Globalize = Globalize;
|
|
|
3444
3453
|
//// End of ToggleButton
|
|
3445
3454
|
|
|
3446
3455
|
})(jqxBaseFramework);
|
|
3447
|
-
})();
|
|
3456
|
+
})();
|
|
3457
|
+
|
|
3458
|
+
|
|
3459
|
+
|
|
3460
|
+
|
|
3461
|
+
|
|
3462
|
+
|
|
3463
|
+
|
|
3464
|
+
|
|
3465
|
+
|
|
3466
|
+
|
|
3467
|
+
|
|
3468
|
+
|
|
3469
|
+
|
|
3470
|
+
|
|
3471
|
+
|
|
3472
|
+
|
|
3448
3473
|
|
|
3449
3474
|
/***/ }),
|
|
3450
3475
|
|
|
@@ -7282,7 +7307,23 @@ document.Globalize = Globalize;
|
|
|
7282
7307
|
} // calendar month
|
|
7283
7308
|
|
|
7284
7309
|
})(jqxBaseFramework);
|
|
7285
|
-
})();
|
|
7310
|
+
})();
|
|
7311
|
+
|
|
7312
|
+
|
|
7313
|
+
|
|
7314
|
+
|
|
7315
|
+
|
|
7316
|
+
|
|
7317
|
+
|
|
7318
|
+
|
|
7319
|
+
|
|
7320
|
+
|
|
7321
|
+
|
|
7322
|
+
|
|
7323
|
+
|
|
7324
|
+
|
|
7325
|
+
|
|
7326
|
+
|
|
7286
7327
|
|
|
7287
7328
|
/***/ }),
|
|
7288
7329
|
|
|
@@ -8128,7 +8169,23 @@ document.Globalize = Globalize;
|
|
|
8128
8169
|
}
|
|
8129
8170
|
});
|
|
8130
8171
|
})(jqxBaseFramework);
|
|
8131
|
-
})();
|
|
8172
|
+
})();
|
|
8173
|
+
|
|
8174
|
+
|
|
8175
|
+
|
|
8176
|
+
|
|
8177
|
+
|
|
8178
|
+
|
|
8179
|
+
|
|
8180
|
+
|
|
8181
|
+
|
|
8182
|
+
|
|
8183
|
+
|
|
8184
|
+
|
|
8185
|
+
|
|
8186
|
+
|
|
8187
|
+
|
|
8188
|
+
|
|
8132
8189
|
|
|
8133
8190
|
/***/ }),
|
|
8134
8191
|
|
|
@@ -11405,12 +11462,28 @@ document.Globalize = Globalize;
|
|
|
11405
11462
|
}
|
|
11406
11463
|
});
|
|
11407
11464
|
})(jqxBaseFramework);
|
|
11408
|
-
})();
|
|
11465
|
+
})();
|
|
11466
|
+
|
|
11467
|
+
|
|
11468
|
+
|
|
11469
|
+
|
|
11470
|
+
|
|
11471
|
+
|
|
11472
|
+
|
|
11473
|
+
|
|
11474
|
+
|
|
11475
|
+
|
|
11476
|
+
|
|
11477
|
+
|
|
11478
|
+
|
|
11479
|
+
|
|
11480
|
+
|
|
11481
|
+
|
|
11409
11482
|
|
|
11410
11483
|
/***/ }),
|
|
11411
11484
|
|
|
11412
11485
|
/***/ 5459:
|
|
11413
|
-
/***/ ((module, exports,
|
|
11486
|
+
/***/ ((module, exports, __webpack_require__) => {
|
|
11414
11487
|
|
|
11415
11488
|
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disable */
|
|
11416
11489
|
/* eslint-disable */
|
|
@@ -19590,7 +19663,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
|
|
|
19590
19663
|
// file names, and JQXLite is normally delivered in a lowercase file name.
|
|
19591
19664
|
// Do this after creating the global so that if an AMD module wants to call
|
|
19592
19665
|
// noConflict to hide this version of JQXLite, it will work.
|
|
19593
|
-
if (
|
|
19666
|
+
if ( true && __webpack_require__.amdO.JQXLite) {
|
|
19594
19667
|
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () { return JQXLite; }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
|
|
19595
19668
|
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
19596
19669
|
}
|
|
@@ -22765,6 +22838,22 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* tslint:disabl
|
|
|
22765
22838
|
}
|
|
22766
22839
|
})(jqxBaseFramework);
|
|
22767
22840
|
})();
|
|
22841
|
+
|
|
22842
|
+
|
|
22843
|
+
|
|
22844
|
+
|
|
22845
|
+
|
|
22846
|
+
|
|
22847
|
+
|
|
22848
|
+
|
|
22849
|
+
|
|
22850
|
+
|
|
22851
|
+
|
|
22852
|
+
|
|
22853
|
+
|
|
22854
|
+
|
|
22855
|
+
|
|
22856
|
+
|
|
22768
22857
|
|
|
22769
22858
|
|
|
22770
22859
|
/***/ }),
|
|
@@ -27709,7 +27798,23 @@ var saveAs = window.jqxSaveAs = saveAs
|
|
|
27709
27798
|
|
|
27710
27799
|
|
|
27711
27800
|
})(pdfDataExport.API)
|
|
27712
|
-
})();
|
|
27801
|
+
})();
|
|
27802
|
+
|
|
27803
|
+
|
|
27804
|
+
|
|
27805
|
+
|
|
27806
|
+
|
|
27807
|
+
|
|
27808
|
+
|
|
27809
|
+
|
|
27810
|
+
|
|
27811
|
+
|
|
27812
|
+
|
|
27813
|
+
|
|
27814
|
+
|
|
27815
|
+
|
|
27816
|
+
|
|
27817
|
+
|
|
27713
27818
|
|
|
27714
27819
|
/***/ }),
|
|
27715
27820
|
|
|
@@ -33856,7 +33961,23 @@ var saveAs = window.jqxSaveAs = saveAs
|
|
|
33856
33961
|
}
|
|
33857
33962
|
}
|
|
33858
33963
|
} )( jqxBaseFramework );
|
|
33859
|
-
})();
|
|
33964
|
+
})();
|
|
33965
|
+
|
|
33966
|
+
|
|
33967
|
+
|
|
33968
|
+
|
|
33969
|
+
|
|
33970
|
+
|
|
33971
|
+
|
|
33972
|
+
|
|
33973
|
+
|
|
33974
|
+
|
|
33975
|
+
|
|
33976
|
+
|
|
33977
|
+
|
|
33978
|
+
|
|
33979
|
+
|
|
33980
|
+
|
|
33860
33981
|
|
|
33861
33982
|
/***/ }),
|
|
33862
33983
|
|
|
@@ -40324,6 +40445,22 @@ var saveAs = window.jqxSaveAs = saveAs
|
|
|
40324
40445
|
})(jqxBaseFramework);
|
|
40325
40446
|
})();
|
|
40326
40447
|
|
|
40448
|
+
|
|
40449
|
+
|
|
40450
|
+
|
|
40451
|
+
|
|
40452
|
+
|
|
40453
|
+
|
|
40454
|
+
|
|
40455
|
+
|
|
40456
|
+
|
|
40457
|
+
|
|
40458
|
+
|
|
40459
|
+
|
|
40460
|
+
|
|
40461
|
+
|
|
40462
|
+
|
|
40463
|
+
|
|
40327
40464
|
|
|
40328
40465
|
|
|
40329
40466
|
/***/ }),
|
|
@@ -41053,7 +41190,7 @@ var saveAs = window.jqxSaveAs = saveAs
|
|
|
41053
41190
|
}
|
|
41054
41191
|
else self.focus();
|
|
41055
41192
|
|
|
41056
|
-
|
|
41193
|
+
// event.stopPropagation();
|
|
41057
41194
|
}
|
|
41058
41195
|
}
|
|
41059
41196
|
}
|
|
@@ -42465,7 +42602,23 @@ var saveAs = window.jqxSaveAs = saveAs
|
|
|
42465
42602
|
}
|
|
42466
42603
|
});
|
|
42467
42604
|
})(jqxBaseFramework);
|
|
42468
|
-
})();
|
|
42605
|
+
})();
|
|
42606
|
+
|
|
42607
|
+
|
|
42608
|
+
|
|
42609
|
+
|
|
42610
|
+
|
|
42611
|
+
|
|
42612
|
+
|
|
42613
|
+
|
|
42614
|
+
|
|
42615
|
+
|
|
42616
|
+
|
|
42617
|
+
|
|
42618
|
+
|
|
42619
|
+
|
|
42620
|
+
|
|
42621
|
+
|
|
42469
42622
|
|
|
42470
42623
|
/***/ }),
|
|
42471
42624
|
|
|
@@ -45990,1170 +46143,1416 @@ ${attr.formula} </cfRule>
|
|
|
45990
46143
|
|
|
45991
46144
|
/* tslint:disable */
|
|
45992
46145
|
/* eslint-disable */
|
|
45993
|
-
(function(){
|
|
45994
|
-
|
|
45995
|
-
|
|
45996
|
-
|
|
46146
|
+
(function () {
|
|
46147
|
+
if (typeof document === 'undefined') {
|
|
46148
|
+
return;
|
|
46149
|
+
}
|
|
45997
46150
|
|
|
45998
|
-
(function ($) {
|
|
45999
|
-
|
|
46000
|
-
|
|
46151
|
+
(function ($) {
|
|
46152
|
+
'use strict';
|
|
46153
|
+
$.jqx.jqxWidget('jqxInput', '', {});
|
|
46001
46154
|
|
|
46002
|
-
|
|
46003
|
-
|
|
46004
|
-
|
|
46005
|
-
|
|
46006
|
-
|
|
46007
|
-
|
|
46008
|
-
|
|
46009
|
-
|
|
46010
|
-
|
|
46011
|
-
|
|
46012
|
-
|
|
46013
|
-
|
|
46014
|
-
|
|
46015
|
-
|
|
46016
|
-
|
|
46017
|
-
|
|
46018
|
-
|
|
46019
|
-
|
|
46020
|
-
|
|
46021
|
-
|
|
46022
|
-
|
|
46023
|
-
|
|
46024
|
-
|
|
46025
|
-
|
|
46026
|
-
|
|
46027
|
-
|
|
46028
|
-
|
|
46029
|
-
|
|
46030
|
-
|
|
46031
|
-
|
|
46032
|
-
|
|
46155
|
+
$.extend($.jqx._jqxInput.prototype, {
|
|
46156
|
+
defineInstance: function () {
|
|
46157
|
+
var that = this;
|
|
46158
|
+
var settings = {
|
|
46159
|
+
disabled: false,
|
|
46160
|
+
filter: that._filter,
|
|
46161
|
+
sort: that._sort,
|
|
46162
|
+
highlight: that._highlight,
|
|
46163
|
+
dropDownWidth: null,
|
|
46164
|
+
renderer: that._renderer,
|
|
46165
|
+
opened: false,
|
|
46166
|
+
$popup: document.createElement('ul'),
|
|
46167
|
+
source: [],
|
|
46168
|
+
roundedCorners: true,
|
|
46169
|
+
searchMode: 'default',
|
|
46170
|
+
placeHolder: '',
|
|
46171
|
+
width: null,
|
|
46172
|
+
height: null,
|
|
46173
|
+
value: '',
|
|
46174
|
+
rtl: false,
|
|
46175
|
+
enableBrowserBoundsDetection: true,
|
|
46176
|
+
hint: true,
|
|
46177
|
+
displayMember: '',
|
|
46178
|
+
valueMember: '',
|
|
46179
|
+
inlineAutoComplete: false,
|
|
46180
|
+
events: ['select', 'open', 'close', 'change'],
|
|
46181
|
+
popupZIndex: 1000,
|
|
46182
|
+
items: 8,
|
|
46183
|
+
minLength: 1,
|
|
46184
|
+
maxLength: null,
|
|
46185
|
+
aiKey: ''
|
|
46186
|
+
};
|
|
46187
|
+
if (this === $.jqx._jqxInput.prototype) {
|
|
46188
|
+
return settings;
|
|
46189
|
+
}
|
|
46190
|
+
$.extend(true, this, settings);
|
|
46033
46191
|
return settings;
|
|
46034
|
-
}
|
|
46035
|
-
$.extend(true, this, settings);
|
|
46036
|
-
return settings;
|
|
46037
|
-
},
|
|
46038
|
-
|
|
46039
|
-
createInstance: function () {
|
|
46040
|
-
var that = this;
|
|
46041
|
-
if (that.host.css('display') === 'none' || document.body.contains(that.element) === false) {
|
|
46042
|
-
that._initiallyHidden = true;
|
|
46043
|
-
}
|
|
46044
|
-
that._popupHelper = $(that.$popup);
|
|
46045
|
-
that.render();
|
|
46046
|
-
},
|
|
46192
|
+
},
|
|
46047
46193
|
|
|
46048
|
-
|
|
46049
|
-
|
|
46194
|
+
createInstance: function () {
|
|
46195
|
+
var that = this;
|
|
46196
|
+
if (that.host.css('display') === 'none' || document.body.contains(that.element) === false) {
|
|
46197
|
+
that._initiallyHidden = true;
|
|
46198
|
+
}
|
|
46199
|
+
that._popupHelper = $(that.$popup);
|
|
46200
|
+
that.render();
|
|
46201
|
+
},
|
|
46050
46202
|
|
|
46051
|
-
|
|
46203
|
+
getAISuggestions: function (callback) {
|
|
46204
|
+
var that = this;
|
|
46205
|
+
var response = '';
|
|
46206
|
+
if (!that.aiKey) {
|
|
46207
|
+
callback('');
|
|
46208
|
+
}
|
|
46052
46209
|
|
|
46053
|
-
|
|
46054
|
-
|
|
46055
|
-
|
|
46056
|
-
|
|
46057
|
-
|
|
46058
|
-
|
|
46059
|
-
|
|
46060
|
-
|
|
46061
|
-
if (index === children.length - 1) {
|
|
46062
|
-
classToAdd += ' jqx-rc-r';
|
|
46063
|
-
}
|
|
46064
|
-
if (this !== that.element) {
|
|
46065
|
-
classToAdd += ' jqx-fill-state-normal';
|
|
46066
|
-
}
|
|
46067
|
-
this.className += ' ' + that.toThemeProperty(classToAdd);
|
|
46068
|
-
});
|
|
46210
|
+
function buildPrompt(textBefore, textAfter) {
|
|
46211
|
+
var systemMessageBuilder = [];
|
|
46212
|
+
systemMessageBuilder.push("Predict what text the user in the given ROLE would insert after the cursor position indicated by ^^^. Auto-correct the text.\n");
|
|
46213
|
+
systemMessageBuilder.push("RULES:\n");
|
|
46214
|
+
systemMessageBuilder.push("1. Reply with OK:, then in square brackets the predicted text, then END_INSERTION, and no other output.\n");
|
|
46215
|
+
systemMessageBuilder.push("2. When a specific value or quantity cannot be inferred and would need to be provided, use the word NEED_INFO.\n");
|
|
46216
|
+
systemMessageBuilder.push("3. If there isn't enough information to predict any words that the user would type next, just reply with the word NO_PREDICTION.\n");
|
|
46217
|
+
systemMessageBuilder.push("4. NEVER invent new information. If you can't be sure what the user is about to type, ALWAYS stop the prediction with END_INSERTION.\n");
|
|
46069
46218
|
|
|
46070
|
-
|
|
46071
|
-
|
|
46072
|
-
|
|
46073
|
-
|
|
46074
|
-
|
|
46219
|
+
/*
|
|
46220
|
+
if (that.userPhrases.length) {
|
|
46221
|
+
systemMessageBuilder.push("\nAlways try to use variations on the following phrases as part of the predictions:\n");
|
|
46222
|
+
for (let i = 0; i < that.userPhrases.length; i++) {
|
|
46223
|
+
systemMessageBuilder.push("- {0}\n", that.userPhrases[i]);
|
|
46224
|
+
}
|
|
46225
|
+
}*/
|
|
46075
46226
|
|
|
46076
|
-
|
|
46077
|
-
var label = $("<label></label");
|
|
46227
|
+
systemMessageBuilder.push("\n\nROLE: " + "User" + " USER_TEXT: " + textBefore + textAfter + "^^^");
|
|
46078
46228
|
|
|
46079
|
-
|
|
46080
|
-
label[0].innerHTML = this.placeHolder;
|
|
46229
|
+
return systemMessageBuilder.join('\n');
|
|
46081
46230
|
}
|
|
46082
46231
|
|
|
46083
|
-
|
|
46084
|
-
|
|
46232
|
+
function fetchAIResponse(prompt, callback) {
|
|
46233
|
+
var apiKey = that.aiKey; // Replace this with your OpenAI API key (don't expose it on public websites)
|
|
46085
46234
|
|
|
46086
|
-
|
|
46087
|
-
|
|
46088
|
-
|
|
46235
|
+
var headers = {
|
|
46236
|
+
'Content-Type': 'application/json',
|
|
46237
|
+
'Authorization': 'Bearer ' + apiKey
|
|
46238
|
+
};
|
|
46089
46239
|
|
|
46090
|
-
|
|
46091
|
-
|
|
46240
|
+
var body = JSON.stringify({
|
|
46241
|
+
model: "gpt-3.5-turbo", // or "gpt-4" if you have access
|
|
46242
|
+
messages: [{ role: "user", content: prompt }], // The conversation format
|
|
46243
|
+
// stop_frequences: ["END_INSERTION", "NEED_INFO"],
|
|
46244
|
+
max_tokens: 200 // You can adjust token length based on your needs,
|
|
46245
|
+
});
|
|
46092
46246
|
|
|
46093
|
-
|
|
46094
|
-
|
|
46095
|
-
|
|
46096
|
-
|
|
46247
|
+
var xhr = new XMLHttpRequest();
|
|
46248
|
+
xhr.open('POST', 'https://api.openai.com/v1/chat/completions', true);
|
|
46249
|
+
xhr.setRequestHeader('Content-Type', 'application/json');
|
|
46250
|
+
xhr.setRequestHeader('Authorization', 'Bearer ' + apiKey);
|
|
46251
|
+
|
|
46252
|
+
xhr.onreadystatechange = function () {
|
|
46253
|
+
if (xhr.readyState === 4) {
|
|
46254
|
+
if (xhr.status === 200) {
|
|
46255
|
+
var response = JSON.parse(xhr.responseText);
|
|
46256
|
+
// Make sure there are choices and content in the response
|
|
46257
|
+
if (response.choices && response.choices.length > 0 && response.choices[0].message.content) {
|
|
46258
|
+
var content = response.choices[0].message.content;
|
|
46259
|
+
|
|
46260
|
+
if (content.length > 5 && content.startsWith("OK")) {
|
|
46261
|
+
content = content.substring(4);
|
|
46262
|
+
content = content.replace('END_INSERTION', '');
|
|
46263
|
+
|
|
46264
|
+
var matches = content.match(/\[(.*?)\]/g);
|
|
46265
|
+
|
|
46266
|
+
// Remove the brackets from the extracted text
|
|
46267
|
+
if (matches) {
|
|
46268
|
+
// Use map to strip out brackets
|
|
46269
|
+
var extractedText = matches.map(function (match) {
|
|
46270
|
+
return match.replace(/^\[|\]$/g, '');
|
|
46271
|
+
});
|
|
46272
|
+
|
|
46273
|
+
content = extractedText[0]
|
|
46274
|
+
}
|
|
46097
46275
|
|
|
46098
|
-
|
|
46099
|
-
|
|
46100
|
-
|
|
46101
|
-
if (this.input.length > 0) {
|
|
46102
|
-
this.input = this.input[0];
|
|
46103
|
-
}
|
|
46104
|
-
$(this.input).addClass(this.toThemeProperty("jqx-input-widget"));
|
|
46105
|
-
}
|
|
46106
|
-
this.label = label;
|
|
46107
|
-
this.bar = bar;
|
|
46108
|
-
this.element.style.cssText = '';
|
|
46109
|
-
this.host = group;
|
|
46110
|
-
this.element = group[0];
|
|
46111
|
-
this.host.data(data);
|
|
46276
|
+
content = content.replace('[', '');
|
|
46277
|
+
content = content.replace(']', '');
|
|
46278
|
+
}
|
|
46112
46279
|
|
|
46113
|
-
|
|
46280
|
+
if (content.indexOf('NO_PREDICTION') >= 0) {
|
|
46281
|
+
content = '';
|
|
46282
|
+
}
|
|
46114
46283
|
|
|
46115
|
-
|
|
46116
|
-
|
|
46117
|
-
|
|
46118
|
-
|
|
46284
|
+
callback(null, content);
|
|
46285
|
+
}
|
|
46286
|
+
else {
|
|
46287
|
+
callback('Error: No valid response from AI', null);
|
|
46288
|
+
}
|
|
46289
|
+
} else {
|
|
46290
|
+
callback('Error fetching AI response: ' + xhr.statusText, null);
|
|
46291
|
+
}
|
|
46292
|
+
}
|
|
46293
|
+
};
|
|
46119
46294
|
|
|
46120
|
-
|
|
46121
|
-
that._hasAddons = true;
|
|
46295
|
+
xhr.send(body);
|
|
46122
46296
|
}
|
|
46123
|
-
}
|
|
46124
|
-
else if (this.element.nodeName.toLowerCase() === 'textarea') {
|
|
46125
|
-
this.element.style.overflow = 'auto';
|
|
46126
|
-
} else
|
|
46127
|
-
if (this.element.nodeName.toLowerCase() === 'div') {
|
|
46128
|
-
this.baseHost = this.element;
|
|
46129
|
-
var input = that.element.getElementsByTagName('input');
|
|
46130
|
-
var hasTextInput = false;
|
|
46131
46297
|
|
|
46132
|
-
|
|
46133
|
-
|
|
46134
|
-
|
|
46135
|
-
|
|
46136
|
-
|
|
46137
|
-
|
|
46298
|
+
var textBefore = that.input.value.substring(0, that.input.selectionStart);
|
|
46299
|
+
var textAfter = that.input.value.substring(that.input.selectionStart + 1);
|
|
46300
|
+
var text = textBefore + textAfter;
|
|
46301
|
+
if (text.endsWith(' ')) {
|
|
46302
|
+
var prompt = buildPrompt(textBefore, textAfter);
|
|
46303
|
+
fetchAIResponse(prompt.toString(), function (error, aiResponse) {
|
|
46304
|
+
if (error) {
|
|
46305
|
+
callback('');
|
|
46306
|
+
} else {
|
|
46307
|
+
callback(aiResponse);
|
|
46138
46308
|
}
|
|
46139
|
-
});
|
|
46140
|
-
if (!hasTextInput) {
|
|
46141
|
-
throw new Error('jqxInput: Missing Text Input in the Input Group');
|
|
46142
|
-
}
|
|
46143
|
-
|
|
46144
|
-
if (input.length > 0) {
|
|
46145
|
-
this.baseHost = $(this.element);
|
|
46146
|
-
that.baseElement = that.element;
|
|
46147
|
-
var data = this.host.data();
|
|
46148
|
-
this.host = input;
|
|
46149
|
-
this.element = input[0];
|
|
46150
|
-
that.input = input[0];
|
|
46151
|
-
this.host.data(data);
|
|
46152
|
-
that.baseElement.className += ' ' + that.toThemeProperty('jqx-widget jqx-rc-all jqx-input-group');
|
|
46153
|
-
var children = this.baseHost.children();
|
|
46154
|
-
$.each(children, function (index) {
|
|
46155
|
-
var classToAdd = 'jqx-input-group-addon';
|
|
46156
|
-
$(this).removeClass(that.toThemeProperty('jqx-rc-all'));
|
|
46157
|
-
if (index === 0) {
|
|
46158
|
-
classToAdd += ' jqx-rc-l';
|
|
46159
|
-
}
|
|
46160
|
-
if (index === children.length - 1) {
|
|
46161
|
-
classToAdd += ' jqx-rc-r';
|
|
46162
|
-
}
|
|
46163
|
-
if (this !== that.element) {
|
|
46164
|
-
classToAdd += ' jqx-fill-state-normal';
|
|
46165
|
-
}
|
|
46166
|
-
this.className += ' ' + that.toThemeProperty(classToAdd);
|
|
46167
|
-
});
|
|
46168
46309
|
}
|
|
46310
|
+
);
|
|
46169
46311
|
}
|
|
46312
|
+
},
|
|
46170
46313
|
|
|
46171
|
-
|
|
46172
|
-
|
|
46173
|
-
that.element.className += ' ' + that.toThemeProperty('jqx-rtl');
|
|
46174
|
-
}
|
|
46175
|
-
that.element.setAttribute('role', 'textbox');
|
|
46176
|
-
$.jqx.aria(this, 'aria-autocomplete', 'both');
|
|
46177
|
-
$.jqx.aria(this, 'aria-disabled', this.disabled);
|
|
46178
|
-
$.jqx.aria(this, 'aria-readonly', false);
|
|
46179
|
-
$.jqx.aria(this, 'aria-multiline', false);
|
|
46180
|
-
if (this.source && this.source.length) {
|
|
46181
|
-
$.jqx.aria(this, 'aria-haspopup', true);
|
|
46182
|
-
}
|
|
46183
|
-
if (this.value !== '') {
|
|
46184
|
-
this.input.value = this.value;
|
|
46185
|
-
}
|
|
46314
|
+
render: function () {
|
|
46315
|
+
var that = this;
|
|
46186
46316
|
|
|
46187
|
-
|
|
46188
|
-
this._updateSource();
|
|
46189
|
-
},
|
|
46317
|
+
this.input = this.element;
|
|
46190
46318
|
|
|
46191
|
-
|
|
46192
|
-
|
|
46319
|
+
if (that.isMaterialized() && this.input instanceof HTMLInputElement) {
|
|
46320
|
+
var children = this.host.children();
|
|
46321
|
+
$.each(children, function (index) {
|
|
46322
|
+
var classToAdd = 'jqx-input-group-addon';
|
|
46323
|
+
$(this).removeClass(that.toThemeProperty('jqx-rc-all'));
|
|
46324
|
+
if (index === 0) {
|
|
46325
|
+
classToAdd += ' jqx-rc-l';
|
|
46326
|
+
}
|
|
46327
|
+
if (index === children.length - 1) {
|
|
46328
|
+
classToAdd += ' jqx-rc-r';
|
|
46329
|
+
}
|
|
46330
|
+
if (this !== that.element) {
|
|
46331
|
+
classToAdd += ' jqx-fill-state-normal';
|
|
46332
|
+
}
|
|
46333
|
+
this.className += ' ' + that.toThemeProperty(classToAdd);
|
|
46334
|
+
});
|
|
46193
46335
|
|
|
46194
|
-
|
|
46195
|
-
|
|
46196
|
-
|
|
46197
|
-
|
|
46336
|
+
var group = $("<div></div>");
|
|
46337
|
+
group.addClass(that.toThemeProperty('jqx-input-group'));
|
|
46338
|
+
this.host.after(group);
|
|
46339
|
+
var input = this.element;
|
|
46340
|
+
var data = this.host.data();
|
|
46198
46341
|
|
|
46199
|
-
if (typeof item === 'string' || item instanceof String) {
|
|
46200
|
-
return { label: item, value: item };
|
|
46201
|
-
}
|
|
46202
46342
|
|
|
46203
|
-
|
|
46204
|
-
var label =
|
|
46205
|
-
var value = '';
|
|
46343
|
+
group.append(input);
|
|
46344
|
+
var label = $("<label></label");
|
|
46206
46345
|
|
|
46207
|
-
if (
|
|
46208
|
-
|
|
46209
|
-
label = item[that.displayMember];
|
|
46210
|
-
}
|
|
46346
|
+
if (this.hint) {
|
|
46347
|
+
label[0].innerHTML = this.placeHolder;
|
|
46211
46348
|
}
|
|
46212
46349
|
|
|
46213
|
-
|
|
46214
|
-
|
|
46215
|
-
}
|
|
46350
|
+
label.addClass(that.toThemeProperty('jqx-input-label'));
|
|
46351
|
+
group.append(label);
|
|
46216
46352
|
|
|
46217
|
-
|
|
46218
|
-
|
|
46219
|
-
|
|
46220
|
-
if (value === '') {
|
|
46221
|
-
value = item.value;
|
|
46222
|
-
}
|
|
46353
|
+
var autoCompleteLabel = $("<label class='jqx-input-inline'></label");
|
|
46354
|
+
autoCompleteLabel[0].style.display = 'none';
|
|
46355
|
+
this._inlineLabel = autoCompleteLabel[0];
|
|
46223
46356
|
|
|
46224
|
-
|
|
46225
|
-
}
|
|
46357
|
+
group.append(autoCompleteLabel);
|
|
46226
46358
|
|
|
46227
|
-
return item;
|
|
46228
|
-
};
|
|
46229
46359
|
|
|
46230
|
-
|
|
46231
|
-
|
|
46232
|
-
|
|
46233
|
-
items[i] = mapItem(source[i]);
|
|
46234
|
-
}
|
|
46235
|
-
return items;
|
|
46236
|
-
};
|
|
46360
|
+
var bar = $("<span></span>");
|
|
46361
|
+
group.append(bar);
|
|
46362
|
+
bar.addClass(that.toThemeProperty('jqx-input-bar'));
|
|
46237
46363
|
|
|
46238
|
-
|
|
46239
|
-
|
|
46240
|
-
|
|
46241
|
-
|
|
46242
|
-
|
|
46243
|
-
|
|
46244
|
-
});
|
|
46245
|
-
}
|
|
46246
|
-
else {
|
|
46247
|
-
var postdata = {};
|
|
46248
|
-
if (this.adapter._options.data) {
|
|
46249
|
-
$.extend(that.adapter._options.data, postdata);
|
|
46364
|
+
group[0].id = this.element.id;
|
|
46365
|
+
this.element.removeAttribute('id');
|
|
46366
|
+
|
|
46367
|
+
group[0].style.cssText = this.element.style.cssText;
|
|
46368
|
+
if (this.element.className.indexOf('underlined') >= 0) {
|
|
46369
|
+
group.addClass('underlined');
|
|
46250
46370
|
}
|
|
46251
|
-
|
|
46252
|
-
|
|
46253
|
-
|
|
46371
|
+
|
|
46372
|
+
that.input = that.element;
|
|
46373
|
+
if (!(this.input instanceof HTMLInputElement)) {
|
|
46374
|
+
this.input = this.host.find('input');
|
|
46375
|
+
if (this.input.length > 0) {
|
|
46376
|
+
this.input = this.input[0];
|
|
46254
46377
|
}
|
|
46255
|
-
this.
|
|
46378
|
+
$(this.input).addClass(this.toThemeProperty("jqx-input-widget"));
|
|
46256
46379
|
}
|
|
46257
|
-
this.
|
|
46258
|
-
this.
|
|
46259
|
-
|
|
46260
|
-
|
|
46261
|
-
|
|
46262
|
-
|
|
46263
|
-
return;
|
|
46264
|
-
}
|
|
46380
|
+
this.label = label;
|
|
46381
|
+
this.bar = bar;
|
|
46382
|
+
this.element.style.cssText = '';
|
|
46383
|
+
this.host = group;
|
|
46384
|
+
this.element = group[0];
|
|
46385
|
+
this.host.data(data);
|
|
46265
46386
|
|
|
46266
|
-
|
|
46267
|
-
this.source = mapItems(this.source);
|
|
46268
|
-
}
|
|
46269
|
-
},
|
|
46387
|
+
var that = this;
|
|
46270
46388
|
|
|
46271
|
-
|
|
46272
|
-
|
|
46273
|
-
|
|
46274
|
-
|
|
46389
|
+
if (that.template) {
|
|
46390
|
+
that.bar.addClass(that.toThemeProperty("jqx-" + that.template));
|
|
46391
|
+
that.label.addClass(that.toThemeProperty("jqx-" + that.template));
|
|
46392
|
+
}
|
|
46275
46393
|
|
|
46276
|
-
|
|
46277
|
-
|
|
46278
|
-
|
|
46279
|
-
|
|
46280
|
-
|
|
46281
|
-
|
|
46282
|
-
|
|
46283
|
-
|
|
46284
|
-
|
|
46285
|
-
|
|
46286
|
-
|
|
46287
|
-
}
|
|
46288
|
-
this.host[func](this.toThemeProperty(hostClass));
|
|
46289
|
-
this._popupHelper[func](this.toThemeProperty(popupClass));
|
|
46290
|
-
},
|
|
46394
|
+
if (children.length > 0) {
|
|
46395
|
+
that._hasAddons = true;
|
|
46396
|
+
}
|
|
46397
|
+
}
|
|
46398
|
+
else if (this.element.nodeName.toLowerCase() === 'textarea') {
|
|
46399
|
+
this.element.style.overflow = 'auto';
|
|
46400
|
+
} else
|
|
46401
|
+
if (this.element.nodeName.toLowerCase() === 'div') {
|
|
46402
|
+
this.baseHost = this.element;
|
|
46403
|
+
var input = that.element.getElementsByTagName('input');
|
|
46404
|
+
var hasTextInput = false;
|
|
46291
46405
|
|
|
46292
|
-
|
|
46293
|
-
|
|
46294
|
-
|
|
46406
|
+
$.each(input, function () {
|
|
46407
|
+
var type = this.type;
|
|
46408
|
+
if (type == null || type === 'text' || type === 'textarea') {
|
|
46409
|
+
input = $(this);
|
|
46410
|
+
hasTextInput = true;
|
|
46411
|
+
return false;
|
|
46412
|
+
}
|
|
46413
|
+
});
|
|
46414
|
+
if (!hasTextInput) {
|
|
46415
|
+
throw new Error('jqxInput: Missing Text Input in the Input Group');
|
|
46416
|
+
}
|
|
46417
|
+
|
|
46418
|
+
if (input.length > 0) {
|
|
46419
|
+
this.baseHost = $(this.element);
|
|
46420
|
+
that.baseElement = that.element;
|
|
46421
|
+
var data = this.host.data();
|
|
46422
|
+
this.host = input;
|
|
46423
|
+
this.element = input[0];
|
|
46424
|
+
that.input = input[0];
|
|
46425
|
+
this.host.data(data);
|
|
46426
|
+
that.baseElement.className += ' ' + that.toThemeProperty('jqx-widget jqx-rc-all jqx-input-group');
|
|
46427
|
+
var children = this.baseHost.children();
|
|
46428
|
+
$.each(children, function (index) {
|
|
46429
|
+
var classToAdd = 'jqx-input-group-addon';
|
|
46430
|
+
$(this).removeClass(that.toThemeProperty('jqx-rc-all'));
|
|
46431
|
+
if (index === 0) {
|
|
46432
|
+
classToAdd += ' jqx-rc-l';
|
|
46433
|
+
}
|
|
46434
|
+
if (index === children.length - 1) {
|
|
46435
|
+
classToAdd += ' jqx-rc-r';
|
|
46436
|
+
}
|
|
46437
|
+
if (this !== that.element) {
|
|
46438
|
+
classToAdd += ' jqx-fill-state-normal';
|
|
46439
|
+
}
|
|
46440
|
+
this.className += ' ' + that.toThemeProperty(classToAdd);
|
|
46441
|
+
});
|
|
46442
|
+
}
|
|
46443
|
+
}
|
|
46295
46444
|
|
|
46296
|
-
|
|
46297
|
-
|
|
46298
|
-
|
|
46445
|
+
this.addHandlers();
|
|
46446
|
+
if (this.rtl) {
|
|
46447
|
+
that.element.className += ' ' + that.toThemeProperty('jqx-rtl');
|
|
46448
|
+
}
|
|
46299
46449
|
|
|
46300
|
-
|
|
46301
|
-
|
|
46302
|
-
|
|
46303
|
-
|
|
46450
|
+
that.input.setAttribute('autocomplete', 'off');
|
|
46451
|
+
that.input.setAttribute('autocorrect', 'off');
|
|
46452
|
+
that.input.setAttribute('spellcheck', false);
|
|
46453
|
+
|
|
46454
|
+
that.element.setAttribute('role', 'textbox');
|
|
46455
|
+
$.jqx.aria(this, 'aria-autocomplete', 'both');
|
|
46456
|
+
$.jqx.aria(this, 'aria-disabled', this.disabled);
|
|
46457
|
+
$.jqx.aria(this, 'aria-readonly', false);
|
|
46458
|
+
$.jqx.aria(this, 'aria-multiline', false);
|
|
46459
|
+
if (this.source && this.source.length) {
|
|
46460
|
+
$.jqx.aria(this, 'aria-haspopup', true);
|
|
46304
46461
|
}
|
|
46305
|
-
|
|
46306
|
-
|
|
46307
|
-
range.collapse(true);
|
|
46308
|
-
range.moveEnd('character', textbox[0].value.length);
|
|
46309
|
-
range.moveStart('character', 0);
|
|
46310
|
-
range.select();
|
|
46462
|
+
if (this.value !== '') {
|
|
46463
|
+
this.input.value = this.value;
|
|
46311
46464
|
}
|
|
46312
|
-
}, 10);
|
|
46313
|
-
},
|
|
46314
46465
|
|
|
46315
|
-
|
|
46316
|
-
|
|
46317
|
-
|
|
46466
|
+
this._oldsource = this.source;
|
|
46467
|
+
this._updateSource();
|
|
46468
|
+
},
|
|
46318
46469
|
|
|
46319
|
-
|
|
46320
|
-
|
|
46321
|
-
}
|
|
46470
|
+
_updateSource: function () {
|
|
46471
|
+
var that = this;
|
|
46322
46472
|
|
|
46323
|
-
|
|
46324
|
-
|
|
46473
|
+
var mapItem = function (item) {
|
|
46474
|
+
if (item === undefined) {
|
|
46475
|
+
return null;
|
|
46476
|
+
}
|
|
46325
46477
|
|
|
46326
|
-
|
|
46327
|
-
|
|
46328
|
-
|
|
46329
|
-
},
|
|
46478
|
+
if (typeof item === 'string' || item instanceof String) {
|
|
46479
|
+
return { label: item, value: item };
|
|
46480
|
+
}
|
|
46330
46481
|
|
|
46331
|
-
|
|
46332
|
-
|
|
46333
|
-
|
|
46482
|
+
if (typeof item !== 'string' && item instanceof String === false) {
|
|
46483
|
+
var label = '';
|
|
46484
|
+
var value = '';
|
|
46334
46485
|
|
|
46335
|
-
|
|
46336
|
-
|
|
46337
|
-
|
|
46486
|
+
if (that.displayMember !== '' && that.displayMember !== undefined) {
|
|
46487
|
+
if (item[that.displayMember]) {
|
|
46488
|
+
label = item[that.displayMember];
|
|
46489
|
+
}
|
|
46490
|
+
}
|
|
46338
46491
|
|
|
46339
|
-
|
|
46340
|
-
|
|
46341
|
-
|
|
46342
|
-
textbox[0].setSelectionRange(index, index);
|
|
46343
|
-
}
|
|
46344
|
-
else {
|
|
46345
|
-
var range = textbox[0].createTextRange();
|
|
46346
|
-
range.collapse(true);
|
|
46347
|
-
range.moveEnd('character', index);
|
|
46348
|
-
range.moveStart('character', index);
|
|
46349
|
-
range.select();
|
|
46350
|
-
}
|
|
46351
|
-
}, 10);
|
|
46352
|
-
},
|
|
46492
|
+
if (that.valueMember !== '' && that.valueMember !== undefined) {
|
|
46493
|
+
value = item[that.valueMember];
|
|
46494
|
+
}
|
|
46353
46495
|
|
|
46354
|
-
|
|
46355
|
-
|
|
46356
|
-
|
|
46357
|
-
|
|
46358
|
-
|
|
46359
|
-
|
|
46360
|
-
}, 25);
|
|
46496
|
+
if (label === '') {
|
|
46497
|
+
label = item.label;
|
|
46498
|
+
}
|
|
46499
|
+
if (value === '') {
|
|
46500
|
+
value = item.value;
|
|
46501
|
+
}
|
|
46361
46502
|
|
|
46362
|
-
|
|
46363
|
-
|
|
46364
|
-
}
|
|
46365
|
-
},
|
|
46503
|
+
return { label: label, value: value };
|
|
46504
|
+
}
|
|
46366
46505
|
|
|
46367
|
-
|
|
46368
|
-
|
|
46369
|
-
this.height = height;
|
|
46370
|
-
this.refresh();
|
|
46371
|
-
},
|
|
46506
|
+
return item;
|
|
46507
|
+
};
|
|
46372
46508
|
|
|
46373
|
-
|
|
46374
|
-
|
|
46375
|
-
|
|
46509
|
+
var mapItems = function (source) {
|
|
46510
|
+
var items = [];
|
|
46511
|
+
for (var i = 0; i < source.length; i++) {
|
|
46512
|
+
items[i] = mapItem(source[i]);
|
|
46513
|
+
}
|
|
46514
|
+
return items;
|
|
46515
|
+
};
|
|
46376
46516
|
|
|
46377
|
-
|
|
46378
|
-
|
|
46379
|
-
this.
|
|
46380
|
-
|
|
46381
|
-
|
|
46382
|
-
|
|
46383
|
-
|
|
46384
|
-
|
|
46385
|
-
|
|
46517
|
+
if (this.source && this.source._source) {
|
|
46518
|
+
this.adapter = this.source;
|
|
46519
|
+
if (this.adapter._source.localdata != null) {
|
|
46520
|
+
this.adapter.unbindBindingUpdate(this.element.id);
|
|
46521
|
+
this.adapter.bindBindingUpdate(this.element.id, function () {
|
|
46522
|
+
that.source = mapItems(that.adapter.records);
|
|
46523
|
+
});
|
|
46524
|
+
}
|
|
46525
|
+
else {
|
|
46526
|
+
var postdata = {};
|
|
46527
|
+
if (this.adapter._options.data) {
|
|
46528
|
+
$.extend(that.adapter._options.data, postdata);
|
|
46529
|
+
}
|
|
46530
|
+
else {
|
|
46531
|
+
if (this.source._source.data) {
|
|
46532
|
+
$.extend(postdata, this.source._source.data);
|
|
46533
|
+
}
|
|
46534
|
+
this.adapter._options.data = postdata;
|
|
46535
|
+
}
|
|
46536
|
+
this.adapter.unbindDownloadComplete(this.element.id);
|
|
46537
|
+
this.adapter.bindDownloadComplete(this.element.id, function () {
|
|
46538
|
+
that.source = mapItems(that.adapter.records);
|
|
46539
|
+
});
|
|
46540
|
+
}
|
|
46541
|
+
this.source.dataBind();
|
|
46542
|
+
return;
|
|
46386
46543
|
}
|
|
46387
46544
|
|
|
46388
|
-
if (this.
|
|
46389
|
-
this.
|
|
46390
|
-
}
|
|
46391
|
-
else if (this.height != undefined && !isNaN(this.height)) {
|
|
46392
|
-
this.element.style.height = this.height + 'px';
|
|
46393
|
-
}
|
|
46394
|
-
else {
|
|
46395
|
-
this.element.style.height = this.height;
|
|
46545
|
+
if (!$.isFunction(this.source)) {
|
|
46546
|
+
this.source = mapItems(this.source);
|
|
46396
46547
|
}
|
|
46397
|
-
|
|
46398
|
-
|
|
46399
|
-
|
|
46548
|
+
},
|
|
46549
|
+
|
|
46550
|
+
_refreshClasses: function (add) {
|
|
46551
|
+
var func = add ? 'addClass' : 'removeClass',
|
|
46552
|
+
hostClass = 'jqx-widget-content jqx-input-widget jqx-input jqx-widget',
|
|
46553
|
+
popupClass = 'jqx-popup jqx-input-popup jqx-menu jqx-menu-vertical jqx-menu-dropdown jqx-widget jqx-widget-content';
|
|
46554
|
+
|
|
46555
|
+
if ($.jqx.browser.msie) {
|
|
46556
|
+
popupClass += ' jqx-noshadow';
|
|
46400
46557
|
}
|
|
46401
|
-
|
|
46402
|
-
|
|
46403
|
-
|
|
46558
|
+
if (this.roundedCorners) {
|
|
46559
|
+
hostClass += ' jqx-rc-all';
|
|
46560
|
+
popupClass += ' jqx-rc-all';
|
|
46404
46561
|
}
|
|
46405
|
-
|
|
46406
|
-
|
|
46562
|
+
if (this.disabled) {
|
|
46563
|
+
hostClass += ' jqx-fill-state-disabled';
|
|
46564
|
+
} else {
|
|
46565
|
+
this.host.removeClass(this.toThemeProperty('jqx-fill-state-disabled'));
|
|
46407
46566
|
}
|
|
46567
|
+
this.host[func](this.toThemeProperty(hostClass));
|
|
46568
|
+
this._popupHelper[func](this.toThemeProperty(popupClass));
|
|
46569
|
+
},
|
|
46408
46570
|
|
|
46409
|
-
|
|
46410
|
-
|
|
46571
|
+
selectAll: function () {
|
|
46572
|
+
var that = this;
|
|
46573
|
+
var textbox = this.host;
|
|
46574
|
+
|
|
46575
|
+
if (textbox[0] instanceof HTMLInputElement === false) {
|
|
46576
|
+
textbox = $(that.input);
|
|
46411
46577
|
}
|
|
46412
|
-
|
|
46413
|
-
|
|
46414
|
-
|
|
46415
|
-
|
|
46416
|
-
|
|
46417
|
-
totalWidth = 0;
|
|
46418
|
-
$.each(this.baseHost.children(), function () {
|
|
46419
|
-
this.style.height = '100%';
|
|
46420
|
-
if (this !== that.element) {
|
|
46421
|
-
totalWidth += $(this).outerWidth();
|
|
46578
|
+
|
|
46579
|
+
setTimeout(function () {
|
|
46580
|
+
if ('selectionStart' in textbox[0]) {
|
|
46581
|
+
textbox[0].focus();
|
|
46582
|
+
textbox[0].setSelectionRange(0, textbox[0].value.length);
|
|
46422
46583
|
}
|
|
46423
|
-
|
|
46424
|
-
|
|
46425
|
-
|
|
46426
|
-
|
|
46427
|
-
|
|
46428
|
-
|
|
46429
|
-
that.element.style.lineHeight = height + 'px';
|
|
46430
|
-
} else {
|
|
46431
|
-
that.element.style.width = 'calc(100% - ' + totalWidth + 'px)';
|
|
46432
|
-
}
|
|
46433
|
-
$.jqx.utilities.resize(that.baseHost, function () {
|
|
46434
|
-
if (IE8 && typeof that.width === 'string' && that.width.indexOf('%') !== -1 && !that._initiallyHidden) {
|
|
46435
|
-
that.element.style.width = (that.baseElement.offsetWidth - that._addonsWidth - 1) + 'px';
|
|
46436
|
-
} else if (that._initiallyHidden) {
|
|
46437
|
-
that._addonsWidth = that._getAddonsWidth();
|
|
46438
|
-
if (!IE8) {
|
|
46439
|
-
that.element.style.width = 'calc(100% - ' + that._addonsWidth + 'px)';
|
|
46440
|
-
} else {
|
|
46441
|
-
that.element.style.width = (that.baseElement.offsetWidth - that._addonsWidth - 1) + 'px';
|
|
46442
|
-
var height = that.baseElement.offsetHeight - 2;
|
|
46443
|
-
that.element.style.minHeight = height + 'px';
|
|
46444
|
-
that.element.style.lineHeight = height + 'px';
|
|
46445
|
-
}
|
|
46446
|
-
that._initiallyHidden = false;
|
|
46584
|
+
else {
|
|
46585
|
+
var range = textbox[0].createTextRange();
|
|
46586
|
+
range.collapse(true);
|
|
46587
|
+
range.moveEnd('character', textbox[0].value.length);
|
|
46588
|
+
range.moveStart('character', 0);
|
|
46589
|
+
range.select();
|
|
46447
46590
|
}
|
|
46448
|
-
});
|
|
46449
|
-
}
|
|
46591
|
+
}, 10);
|
|
46592
|
+
},
|
|
46450
46593
|
|
|
46451
|
-
|
|
46452
|
-
this
|
|
46453
|
-
|
|
46454
|
-
this.element.removeAttribute('disabled');
|
|
46455
|
-
}
|
|
46456
|
-
if (this.maxLength) {
|
|
46457
|
-
this.element.setAttribute('maxlength', this.maxLength);
|
|
46594
|
+
selectLast: function () {
|
|
46595
|
+
var that = this;
|
|
46596
|
+
var textbox = this.host;
|
|
46458
46597
|
|
|
46459
|
-
if (
|
|
46460
|
-
|
|
46598
|
+
if (textbox[0] instanceof HTMLInputElement === false) {
|
|
46599
|
+
textbox = $(that.input);
|
|
46461
46600
|
}
|
|
46462
|
-
}
|
|
46463
46601
|
|
|
46464
|
-
|
|
46465
|
-
|
|
46466
|
-
}
|
|
46467
|
-
},
|
|
46602
|
+
this.selectStart(textbox[0].value.length);
|
|
46603
|
+
},
|
|
46468
46604
|
|
|
46469
|
-
|
|
46470
|
-
|
|
46605
|
+
selectFirst: function () {
|
|
46606
|
+
//var textbox = this.host;
|
|
46607
|
+
this.selectStart(0);
|
|
46608
|
+
},
|
|
46471
46609
|
|
|
46472
|
-
|
|
46473
|
-
|
|
46474
|
-
|
|
46475
|
-
|
|
46476
|
-
|
|
46477
|
-
|
|
46478
|
-
}
|
|
46610
|
+
selectStart: function (index) {
|
|
46611
|
+
var that = this;
|
|
46612
|
+
var textbox = this.host;
|
|
46613
|
+
|
|
46614
|
+
if (textbox[0] instanceof HTMLInputElement === false) {
|
|
46615
|
+
textbox = $(that.input);
|
|
46479
46616
|
}
|
|
46480
|
-
}
|
|
46481
46617
|
|
|
46482
|
-
|
|
46483
|
-
|
|
46484
|
-
|
|
46618
|
+
setTimeout(function () {
|
|
46619
|
+
if ('selectionStart' in textbox[0]) {
|
|
46620
|
+
textbox[0].focus();
|
|
46621
|
+
textbox[0].setSelectionRange(index, index);
|
|
46622
|
+
}
|
|
46623
|
+
else {
|
|
46624
|
+
var range = textbox[0].createTextRange();
|
|
46625
|
+
range.collapse(true);
|
|
46626
|
+
range.moveEnd('character', index);
|
|
46627
|
+
range.moveStart('character', index);
|
|
46628
|
+
range.select();
|
|
46629
|
+
}
|
|
46630
|
+
}, 10);
|
|
46631
|
+
},
|
|
46485
46632
|
|
|
46486
|
-
|
|
46487
|
-
|
|
46488
|
-
|
|
46489
|
-
|
|
46490
|
-
|
|
46491
|
-
|
|
46633
|
+
focus: function () {
|
|
46634
|
+
try {
|
|
46635
|
+
var that = this;
|
|
46636
|
+
that.element.focus();
|
|
46637
|
+
setTimeout(function () {
|
|
46638
|
+
that.element.focus();
|
|
46639
|
+
}, 25);
|
|
46492
46640
|
|
|
46493
|
-
|
|
46494
|
-
|
|
46495
|
-
|
|
46496
|
-
|
|
46641
|
+
}
|
|
46642
|
+
catch (error) {
|
|
46643
|
+
}
|
|
46644
|
+
},
|
|
46497
46645
|
|
|
46498
|
-
|
|
46499
|
-
|
|
46500
|
-
|
|
46501
|
-
this.
|
|
46502
|
-
}
|
|
46503
|
-
this.host.remove();
|
|
46504
|
-
}
|
|
46505
|
-
if (this.$popup) {
|
|
46506
|
-
this._popupHelper.remove();
|
|
46507
|
-
}
|
|
46508
|
-
},
|
|
46646
|
+
resize: function (width, height) {
|
|
46647
|
+
this.width = width;
|
|
46648
|
+
this.height = height;
|
|
46649
|
+
this.refresh();
|
|
46650
|
+
},
|
|
46509
46651
|
|
|
46510
|
-
|
|
46511
|
-
|
|
46512
|
-
|
|
46513
|
-
}
|
|
46514
|
-
},
|
|
46652
|
+
refresh: function () {
|
|
46653
|
+
this._refreshClasses(false);
|
|
46654
|
+
this._refreshClasses(true);
|
|
46515
46655
|
|
|
46516
|
-
|
|
46517
|
-
|
|
46518
|
-
|
|
46519
|
-
|
|
46520
|
-
if (
|
|
46521
|
-
|
|
46656
|
+
if (!this.baseHost) {
|
|
46657
|
+
if (this.width != null && this.width.toString().indexOf("px") != -1) {
|
|
46658
|
+
this.element.style.width = parseInt(this.width) + 'px';
|
|
46659
|
+
}
|
|
46660
|
+
else if (this.width != undefined && !isNaN(this.width)) {
|
|
46661
|
+
this.element.style.width = this.width + 'px';
|
|
46662
|
+
}
|
|
46663
|
+
else {
|
|
46664
|
+
this.element.style.width = this.width;
|
|
46522
46665
|
}
|
|
46523
|
-
} else {
|
|
46524
|
-
object.element.style.width = object._toPx(value);
|
|
46525
|
-
}
|
|
46526
|
-
return;
|
|
46527
|
-
}
|
|
46528
46666
|
|
|
46529
|
-
|
|
46530
|
-
|
|
46531
|
-
|
|
46667
|
+
if (this.height != null && this.height.toString().indexOf("px") != -1) {
|
|
46668
|
+
this.element.style.height = parseInt(this.height) + 'px';;
|
|
46669
|
+
}
|
|
46670
|
+
else if (this.height != undefined && !isNaN(this.height)) {
|
|
46671
|
+
this.element.style.height = this.height + 'px';
|
|
46672
|
+
}
|
|
46673
|
+
else {
|
|
46674
|
+
this.element.style.height = this.height;
|
|
46675
|
+
}
|
|
46676
|
+
if (this._hasAddons) {
|
|
46677
|
+
this._addonsWidth = 35;
|
|
46678
|
+
this.input.style.width = 'calc(100% - ' + this._addonsWidth + 'px)';
|
|
46679
|
+
}
|
|
46680
|
+
} else {
|
|
46681
|
+
if (this.width != null && this.width.toString().indexOf("px") != -1) {
|
|
46682
|
+
this.baseElement.style.width = parseInt(this.width) + 'px';
|
|
46683
|
+
}
|
|
46684
|
+
else if (this.width != undefined && !isNaN(this.width)) {
|
|
46685
|
+
this.baseElement.style.width = this.width + 'px';
|
|
46686
|
+
}
|
|
46687
|
+
|
|
46688
|
+
if (this.height != null && this.height.toString().indexOf("px") != -1) {
|
|
46689
|
+
this.baseElement.style.height = parseInt(this.height) + 'px';
|
|
46690
|
+
}
|
|
46691
|
+
else if (this.height != undefined && !isNaN(this.height)) {
|
|
46692
|
+
this.baseElement.style.height = this.height + 'px';
|
|
46693
|
+
};
|
|
46694
|
+
var that = this,
|
|
46695
|
+
IE8 = $.jqx.browser.msie && $.jqx.browser.version < 9,
|
|
46696
|
+
totalWidth = 0;
|
|
46697
|
+
$.each(this.baseHost.children(), function () {
|
|
46698
|
+
this.style.height = '100%';
|
|
46699
|
+
if (this !== that.element) {
|
|
46700
|
+
totalWidth += $(this).outerWidth();
|
|
46701
|
+
}
|
|
46702
|
+
});
|
|
46703
|
+
that._addonsWidth = totalWidth;
|
|
46704
|
+
if (IE8) {
|
|
46705
|
+
var height = Math.max(0, that.baseElement.offsetHeight - 2);
|
|
46706
|
+
that.element.style.width = Math.max(0, (that.baseElement.offsetWidth - totalWidth - 1)) + 'px';
|
|
46707
|
+
that.element.style.minHeight = height + 'px';
|
|
46708
|
+
that.element.style.lineHeight = height + 'px';
|
|
46709
|
+
} else {
|
|
46710
|
+
that.element.style.width = 'calc(100% - ' + totalWidth + 'px)';
|
|
46711
|
+
}
|
|
46712
|
+
$.jqx.utilities.resize(that.baseHost, function () {
|
|
46713
|
+
if (IE8 && typeof that.width === 'string' && that.width.indexOf('%') !== -1 && !that._initiallyHidden) {
|
|
46714
|
+
that.element.style.width = (that.baseElement.offsetWidth - that._addonsWidth - 1) + 'px';
|
|
46715
|
+
} else if (that._initiallyHidden) {
|
|
46716
|
+
that._addonsWidth = that._getAddonsWidth();
|
|
46717
|
+
if (!IE8) {
|
|
46718
|
+
that.element.style.width = 'calc(100% - ' + that._addonsWidth + 'px)';
|
|
46719
|
+
} else {
|
|
46720
|
+
that.element.style.width = (that.baseElement.offsetWidth - that._addonsWidth - 1) + 'px';
|
|
46721
|
+
var height = that.baseElement.offsetHeight - 2;
|
|
46722
|
+
that.element.style.minHeight = height + 'px';
|
|
46723
|
+
that.element.style.lineHeight = height + 'px';
|
|
46724
|
+
}
|
|
46725
|
+
that._initiallyHidden = false;
|
|
46726
|
+
}
|
|
46727
|
+
});
|
|
46532
46728
|
}
|
|
46533
|
-
object._refreshPlaceHolder();
|
|
46534
|
-
return;
|
|
46535
|
-
}
|
|
46536
46729
|
|
|
46537
|
-
|
|
46538
|
-
|
|
46539
|
-
|
|
46730
|
+
if (this.disabled) {
|
|
46731
|
+
this.element.setAttribute('disabled', true);
|
|
46732
|
+
} else {
|
|
46733
|
+
this.element.removeAttribute('disabled');
|
|
46734
|
+
}
|
|
46735
|
+
if (this.maxLength) {
|
|
46736
|
+
this.element.setAttribute('maxlength', this.maxLength);
|
|
46540
46737
|
|
|
46541
|
-
|
|
46542
|
-
|
|
46543
|
-
|
|
46738
|
+
if (this.input) {
|
|
46739
|
+
this.input.setAttribute('maxlength', this.maxLength);
|
|
46740
|
+
}
|
|
46741
|
+
}
|
|
46544
46742
|
|
|
46545
|
-
|
|
46546
|
-
|
|
46547
|
-
|
|
46743
|
+
if (!this.element.getAttribute('placeholder')) {
|
|
46744
|
+
this._refreshPlaceHolder();
|
|
46745
|
+
}
|
|
46746
|
+
},
|
|
46747
|
+
|
|
46748
|
+
_refreshPlaceHolder: function () {
|
|
46749
|
+
var that = this;
|
|
46750
|
+
|
|
46751
|
+
if (!that.isMaterialized() || !that.hint) {
|
|
46752
|
+
|
|
46753
|
+
if ('placeholder' in this.input && !($.jqx.browser.msie && $.jqx.browser.version < 9)) {
|
|
46754
|
+
that.input.setAttribute('placeHolder', that.placeHolder);
|
|
46755
|
+
} else {
|
|
46756
|
+
if (that.input.value === '') {
|
|
46757
|
+
that.input.value = that.placeHolder;
|
|
46758
|
+
}
|
|
46759
|
+
}
|
|
46760
|
+
}
|
|
46761
|
+
|
|
46762
|
+
if (!that.hint) {
|
|
46763
|
+
return;
|
|
46764
|
+
}
|
|
46765
|
+
|
|
46766
|
+
if (that.input.value !== "") {
|
|
46767
|
+
that.element.setAttribute("hint", true);
|
|
46768
|
+
}
|
|
46769
|
+
else {
|
|
46770
|
+
that.element.removeAttribute("hint");
|
|
46771
|
+
}
|
|
46772
|
+
|
|
46773
|
+
if (that.label) {
|
|
46774
|
+
that.label.innerHTML = that.placeHolder;
|
|
46775
|
+
}
|
|
46776
|
+
|
|
46777
|
+
if (this._inlineLabel && that.inlineAutoComplete) {
|
|
46778
|
+
this._inlineLabel.style.display = 'none';
|
|
46779
|
+
that.host.css('overflow', 'visible');
|
|
46780
|
+
}
|
|
46781
|
+
|
|
46782
|
+
},
|
|
46783
|
+
|
|
46784
|
+
destroy: function () {
|
|
46785
|
+
this.removeHandlers();
|
|
46786
|
+
if (this.baseHost) {
|
|
46787
|
+
this.baseHost.remove();
|
|
46548
46788
|
} else {
|
|
46549
|
-
|
|
46789
|
+
this.host.remove();
|
|
46550
46790
|
}
|
|
46551
|
-
|
|
46552
|
-
|
|
46553
|
-
|
|
46554
|
-
|
|
46555
|
-
object._updateSource();
|
|
46556
|
-
}
|
|
46557
|
-
if (key === 'displayMember' || key === 'valueMember') {
|
|
46558
|
-
object.source = object._oldsource;
|
|
46559
|
-
object._updateSource();
|
|
46560
|
-
}
|
|
46561
|
-
if (key === 'disabled') {
|
|
46562
|
-
$.jqx.aria(object, 'aria-disabled', object.disabled);
|
|
46563
|
-
}
|
|
46791
|
+
if (this.$popup) {
|
|
46792
|
+
this._popupHelper.remove();
|
|
46793
|
+
}
|
|
46794
|
+
},
|
|
46564
46795
|
|
|
46565
|
-
|
|
46566
|
-
|
|
46567
|
-
|
|
46568
|
-
|
|
46796
|
+
propertiesChangedHandler: function (object, key, value) {
|
|
46797
|
+
if (value.width && value.height && Object.keys(value).length === 2) {
|
|
46798
|
+
object.refresh();
|
|
46799
|
+
}
|
|
46800
|
+
},
|
|
46569
46801
|
|
|
46570
|
-
object
|
|
46571
|
-
|
|
46802
|
+
propertyChangedHandler: function (object, key, oldvalue, value) {
|
|
46803
|
+
if (key === 'width' && value !== oldvalue) {
|
|
46804
|
+
if (object.baseHost) {
|
|
46805
|
+
object.baseElement.style.width = object._toPx(value);
|
|
46806
|
+
if ($.jqx.browser.msie && $.jqx.browser.version < 9) {
|
|
46807
|
+
object.element.style.width = (object.baseElement.offsetWidth - object._addonsWidth - 1) + 'px';
|
|
46808
|
+
}
|
|
46809
|
+
} else {
|
|
46810
|
+
object.element.style.width = object._toPx(value);
|
|
46811
|
+
}
|
|
46812
|
+
return;
|
|
46813
|
+
}
|
|
46572
46814
|
|
|
46573
|
-
|
|
46574
|
-
|
|
46575
|
-
|
|
46576
|
-
|
|
46577
|
-
|
|
46578
|
-
|
|
46579
|
-
|
|
46580
|
-
this.element.setAttribute('data-label', label);
|
|
46581
|
-
this._raiseEvent('0', { 'item': { 'label': label, 'value': val }, 'label': label, 'value': val });
|
|
46582
|
-
this._raiseEvent('3', { type: changeType, 'item': { 'label': label, 'value': val }, 'label': label, 'value': val });
|
|
46583
|
-
this.value = label;
|
|
46584
|
-
return this.close();
|
|
46585
|
-
},
|
|
46815
|
+
if (key === 'placeHolder') {
|
|
46816
|
+
if ((!('placeholder' in object.element) || ($.jqx.browser.msie && $.jqx.browser.version < 9)) && object.input.value === oldvalue) {
|
|
46817
|
+
object.input.value = '';
|
|
46818
|
+
}
|
|
46819
|
+
object._refreshPlaceHolder();
|
|
46820
|
+
return;
|
|
46821
|
+
}
|
|
46586
46822
|
|
|
46587
|
-
|
|
46588
|
-
|
|
46589
|
-
|
|
46590
|
-
|
|
46591
|
-
|
|
46823
|
+
if (object.batchUpdate && object.batchUpdate.width && object.batchUpdate.height && Object.keys(object.batchUpdate).length === 2) {
|
|
46824
|
+
return;
|
|
46825
|
+
}
|
|
46826
|
+
|
|
46827
|
+
if (key === 'theme') {
|
|
46828
|
+
$.jqx.utilities.setTheme(oldvalue, value, object.host);
|
|
46829
|
+
}
|
|
46830
|
+
|
|
46831
|
+
if (key === 'opened') {
|
|
46832
|
+
if (value) {
|
|
46833
|
+
object.open();
|
|
46834
|
+
} else {
|
|
46835
|
+
object.close();
|
|
46592
46836
|
}
|
|
46593
|
-
return
|
|
46837
|
+
return;
|
|
46838
|
+
}
|
|
46839
|
+
if (key === 'source') {
|
|
46840
|
+
object._oldsource = value;
|
|
46841
|
+
object._updateSource();
|
|
46842
|
+
}
|
|
46843
|
+
if (key === 'displayMember' || key === 'valueMember') {
|
|
46844
|
+
object.source = object._oldsource;
|
|
46845
|
+
object._updateSource();
|
|
46846
|
+
}
|
|
46847
|
+
if (key === 'disabled') {
|
|
46848
|
+
$.jqx.aria(object, 'aria-disabled', object.disabled);
|
|
46594
46849
|
}
|
|
46595
46850
|
|
|
46596
|
-
|
|
46597
|
-
|
|
46851
|
+
if (key === 'value') {
|
|
46852
|
+
object.input.value = value;
|
|
46853
|
+
object._refreshPlaceHolder();
|
|
46854
|
+
}
|
|
46598
46855
|
|
|
46599
|
-
|
|
46600
|
-
|
|
46601
|
-
|
|
46602
|
-
|
|
46603
|
-
|
|
46604
|
-
|
|
46605
|
-
|
|
46856
|
+
object.refresh();
|
|
46857
|
+
},
|
|
46858
|
+
|
|
46859
|
+
select: function (event, ui, changeType) {
|
|
46860
|
+
var that = this;
|
|
46861
|
+
var selectedItem = this._find('jqx-fill-state-pressed', this._popupHelper);
|
|
46862
|
+
|
|
46863
|
+
if (this.inlineAutoComplete) {
|
|
46864
|
+
selectedItem = this.element.querySelector('.jqx-input-inline');
|
|
46865
|
+
selectedItem.style.display = 'none';
|
|
46866
|
+
that.host.css('overflow', 'visible');
|
|
46867
|
+
}
|
|
46868
|
+
|
|
46869
|
+
var val = selectedItem.getAttribute('data-value');
|
|
46870
|
+
var label = selectedItem.getAttribute('data-name');
|
|
46871
|
+
this.input.value = this.renderer(label, this.input.value);
|
|
46872
|
+
this.selectedItem = { 'label': label, 'value': val };
|
|
46873
|
+
this.element.setAttribute('data-value', val);
|
|
46874
|
+
this.element.setAttribute('data-label', label);
|
|
46875
|
+
this._raiseEvent('0', { 'item': { 'label': label, 'value': val }, 'label': label, 'value': val });
|
|
46876
|
+
this._raiseEvent('3', { type: changeType, 'item': { 'label': label, 'value': val }, 'label': label, 'value': val });
|
|
46877
|
+
this.value = label;
|
|
46878
|
+
return this.close();
|
|
46879
|
+
},
|
|
46880
|
+
|
|
46881
|
+
val: function (value) {
|
|
46882
|
+
if (arguments.length === 0 || (value != null && typeof (value) === 'object' && !value.label && !value.value)) {
|
|
46883
|
+
if (this.displayMember !== '' && this.valueMember !== '' && this.selectedItem) {
|
|
46884
|
+
if (this.input.value === '') {
|
|
46885
|
+
return '';
|
|
46886
|
+
}
|
|
46887
|
+
return this.selectedItem;
|
|
46888
|
+
}
|
|
46889
|
+
|
|
46890
|
+
return this.input.value;
|
|
46891
|
+
}
|
|
46892
|
+
|
|
46893
|
+
if (value && value.label) {
|
|
46894
|
+
this.selectedItem = { 'label': value.label, 'value': value.value };
|
|
46895
|
+
this.element.setAttribute('data-value', value.value);
|
|
46896
|
+
this.element.setAttribute('data-label', value.label);
|
|
46897
|
+
this.value = value;
|
|
46606
46898
|
this.input.value = value.label;
|
|
46899
|
+
if (this.input) {
|
|
46900
|
+
this.input.value = value.label;
|
|
46901
|
+
}
|
|
46902
|
+
return this.input.value;
|
|
46607
46903
|
}
|
|
46608
|
-
return this.input.value;
|
|
46609
|
-
}
|
|
46610
46904
|
|
|
46611
|
-
|
|
46612
|
-
|
|
46905
|
+
this.value = value;
|
|
46906
|
+
this.input.value = value;
|
|
46613
46907
|
|
|
46614
|
-
|
|
46615
|
-
|
|
46616
|
-
|
|
46617
|
-
|
|
46618
|
-
|
|
46619
|
-
|
|
46620
|
-
|
|
46621
|
-
|
|
46622
|
-
|
|
46623
|
-
|
|
46624
|
-
|
|
46908
|
+
this.element.setAttribute('data-value', value);
|
|
46909
|
+
this.element.setAttribute('data-label', value);
|
|
46910
|
+
if (value && value.label) {
|
|
46911
|
+
this._raiseEvent('3', { type: null, 'item': { 'label': value.label, 'value': value.value }, 'label': value.label, 'value': value.value });
|
|
46912
|
+
}
|
|
46913
|
+
else {
|
|
46914
|
+
this._raiseEvent('3', { type: null, 'item': { 'label': value, 'value': value }, 'label': value, 'value': value });
|
|
46915
|
+
}
|
|
46916
|
+
this._refreshPlaceHolder();
|
|
46917
|
+
return this.input.value;
|
|
46918
|
+
},
|
|
46625
46919
|
|
|
46626
|
-
|
|
46627
|
-
|
|
46628
|
-
|
|
46629
|
-
|
|
46920
|
+
_raiseEvent: function (id, arg) {
|
|
46921
|
+
if (arg === undefined) {
|
|
46922
|
+
arg = { owner: null };
|
|
46923
|
+
}
|
|
46630
46924
|
|
|
46631
|
-
|
|
46632
|
-
|
|
46925
|
+
var evt = this.events[id];
|
|
46926
|
+
arg.owner = this;
|
|
46633
46927
|
|
|
46634
|
-
|
|
46635
|
-
|
|
46636
|
-
|
|
46637
|
-
|
|
46638
|
-
|
|
46639
|
-
|
|
46928
|
+
var event = new $.Event(evt);
|
|
46929
|
+
event.owner = this;
|
|
46930
|
+
event.args = arg;
|
|
46931
|
+
if (event.preventDefault) {
|
|
46932
|
+
event.preventDefault();
|
|
46933
|
+
}
|
|
46640
46934
|
|
|
46641
|
-
|
|
46642
|
-
|
|
46643
|
-
|
|
46935
|
+
var result = this.host.trigger(event);
|
|
46936
|
+
return result;
|
|
46937
|
+
},
|
|
46644
46938
|
|
|
46645
|
-
|
|
46646
|
-
|
|
46647
|
-
|
|
46939
|
+
_renderer: function (item) {
|
|
46940
|
+
return item;
|
|
46941
|
+
},
|
|
46648
46942
|
|
|
46649
|
-
|
|
46650
|
-
|
|
46651
|
-
|
|
46652
|
-
|
|
46943
|
+
open: function () {
|
|
46944
|
+
if ($.jqx.isHidden(this.host)) {
|
|
46945
|
+
return;
|
|
46946
|
+
}
|
|
46653
46947
|
|
|
46654
|
-
|
|
46655
|
-
|
|
46656
|
-
|
|
46948
|
+
var position = $.extend({}, this.host.coord(true), {
|
|
46949
|
+
height: this.element.offsetHeight
|
|
46950
|
+
});
|
|
46657
46951
|
|
|
46658
|
-
|
|
46659
|
-
|
|
46660
|
-
|
|
46661
|
-
|
|
46662
|
-
|
|
46663
|
-
|
|
46952
|
+
if (this.$popup.parentNode !== document.body) {
|
|
46953
|
+
var popupId = this.element.id + '_popup';
|
|
46954
|
+
this.$popup.id = popupId;
|
|
46955
|
+
$.jqx.aria(this, 'aria-owns', popupId);
|
|
46956
|
+
document.body.appendChild(this.$popup);
|
|
46957
|
+
}
|
|
46664
46958
|
|
|
46665
|
-
|
|
46666
|
-
|
|
46667
|
-
|
|
46668
|
-
|
|
46669
|
-
|
|
46959
|
+
this.$popup.style.position = 'absolute';
|
|
46960
|
+
this.$popup.style.zIndex = this.popupZIndex;
|
|
46961
|
+
this.$popup.style.top = this._toPx(position.top + position.height);
|
|
46962
|
+
this.$popup.style.left = this._toPx(position.left);
|
|
46963
|
+
this.$popup.style.display = 'block';
|
|
46670
46964
|
|
|
46671
|
-
|
|
46672
|
-
|
|
46673
|
-
|
|
46674
|
-
|
|
46675
|
-
|
|
46676
|
-
|
|
46965
|
+
var height = 0;
|
|
46966
|
+
var children = this._popupHelper.children();
|
|
46967
|
+
$.each(children, function () {
|
|
46968
|
+
height += $(this).outerHeight() + 1;
|
|
46969
|
+
});
|
|
46970
|
+
this.$popup.style.height = this._toPx(height);
|
|
46677
46971
|
|
|
46678
|
-
|
|
46679
|
-
|
|
46680
|
-
|
|
46681
|
-
|
|
46972
|
+
if (this.enableBrowserBoundsDetection) {
|
|
46973
|
+
var viewHeight = $(window).height() + $(window).scrollTop();
|
|
46974
|
+
var offset = $(this.$popup).offset();
|
|
46975
|
+
var dpHeight = $(this.$popup).outerHeight();
|
|
46682
46976
|
|
|
46683
|
-
|
|
46684
|
-
|
|
46685
|
-
|
|
46686
|
-
|
|
46977
|
+
if (offset.top + dpHeight > viewHeight) {
|
|
46978
|
+
var newPosition = position.top + position.height - dpHeight - this.host.height();
|
|
46979
|
+
if (newPosition < 0) {
|
|
46980
|
+
newPosition = 0;
|
|
46981
|
+
}
|
|
46982
|
+
this.$popup.style.top = newPosition + 'px';
|
|
46687
46983
|
}
|
|
46688
|
-
this.$popup.style.top = newPosition + 'px';
|
|
46689
46984
|
}
|
|
46690
|
-
}
|
|
46691
|
-
|
|
46692
|
-
this.opened = true;
|
|
46693
|
-
this._raiseEvent('1', { popup: this.$popup });
|
|
46694
|
-
$.jqx.aria(this, 'aria-expanded', true);
|
|
46695
|
-
return this;
|
|
46696
|
-
},
|
|
46697
46985
|
|
|
46698
|
-
|
|
46699
|
-
|
|
46700
|
-
|
|
46701
|
-
|
|
46986
|
+
this.opened = true;
|
|
46987
|
+
this._raiseEvent('1', { popup: this.$popup });
|
|
46988
|
+
$.jqx.aria(this, 'aria-expanded', true);
|
|
46989
|
+
return this;
|
|
46990
|
+
},
|
|
46702
46991
|
|
|
46703
|
-
|
|
46704
|
-
|
|
46705
|
-
|
|
46706
|
-
|
|
46707
|
-
this._refreshPlaceHolder();
|
|
46708
|
-
return this;
|
|
46709
|
-
},
|
|
46992
|
+
close: function () {
|
|
46993
|
+
if (this._inlineLabel) {
|
|
46994
|
+
this._inlineLabel.style.display = 'none';
|
|
46995
|
+
}
|
|
46710
46996
|
|
|
46711
|
-
|
|
46712
|
-
|
|
46713
|
-
|
|
46997
|
+
if (!this.opened) {
|
|
46998
|
+
return;
|
|
46999
|
+
}
|
|
46714
47000
|
|
|
46715
|
-
|
|
46716
|
-
|
|
46717
|
-
|
|
47001
|
+
this.$popup.style.display = 'none';
|
|
47002
|
+
this.opened = false;
|
|
47003
|
+
this._raiseEvent('2', { popup: this.$popup });
|
|
47004
|
+
$.jqx.aria(this, 'aria-expanded', false);
|
|
47005
|
+
this._refreshPlaceHolder();
|
|
47006
|
+
return this;
|
|
47007
|
+
},
|
|
46718
47008
|
|
|
46719
|
-
|
|
46720
|
-
items
|
|
46721
|
-
|
|
46722
|
-
|
|
46723
|
-
items = this.source;
|
|
46724
|
-
}
|
|
47009
|
+
suggest: function () {
|
|
47010
|
+
var items;
|
|
47011
|
+
var that = this;
|
|
47012
|
+
this.query = this.input.value;
|
|
46725
47013
|
|
|
46726
|
-
|
|
46727
|
-
|
|
46728
|
-
|
|
47014
|
+
if (that.inlineAutoComplete && that.aiKey) {
|
|
47015
|
+
this.load([]);
|
|
47016
|
+
return;
|
|
47017
|
+
}
|
|
47018
|
+
if (!this.query || this.query.length < this.minLength) {
|
|
47019
|
+
if (this._inlineLabel) {
|
|
47020
|
+
this._inlineLabel.style.display = 'none';
|
|
47021
|
+
}
|
|
46729
47022
|
|
|
46730
|
-
|
|
46731
|
-
|
|
47023
|
+
return this.opened ? this.close() : this;
|
|
47024
|
+
}
|
|
46732
47025
|
|
|
46733
|
-
|
|
46734
|
-
|
|
46735
|
-
|
|
47026
|
+
if ($.isFunction(this.source)) {
|
|
47027
|
+
items = this.source(this.query, $.proxy(this.load, this));
|
|
47028
|
+
}
|
|
47029
|
+
else {
|
|
47030
|
+
items = this.source;
|
|
47031
|
+
}
|
|
46736
47032
|
|
|
46737
|
-
|
|
46738
|
-
|
|
46739
|
-
if (that.filter(item)) {
|
|
46740
|
-
items.push(item);
|
|
47033
|
+
if (items) {
|
|
47034
|
+
return this.load(items);
|
|
46741
47035
|
}
|
|
46742
|
-
}
|
|
46743
47036
|
|
|
46744
|
-
|
|
47037
|
+
return this;
|
|
47038
|
+
},
|
|
47039
|
+
|
|
47040
|
+
load: function (originalItems) {
|
|
47041
|
+
var that = this,
|
|
47042
|
+
items = [];
|
|
46745
47043
|
|
|
46746
|
-
|
|
46747
|
-
if (this.
|
|
46748
|
-
|
|
47044
|
+
var searchMode = this.searchMode;
|
|
47045
|
+
if (this.inlineAutoComplete) {
|
|
47046
|
+
this.searchMode = 'startswith';
|
|
46749
47047
|
}
|
|
46750
|
-
|
|
46751
|
-
|
|
47048
|
+
|
|
47049
|
+
for (var i = 0; i < originalItems.length; i++) {
|
|
47050
|
+
var item = originalItems[i];
|
|
47051
|
+
if (that.filter(item)) {
|
|
47052
|
+
items.push(item);
|
|
47053
|
+
}
|
|
46752
47054
|
}
|
|
46753
|
-
}
|
|
46754
47055
|
|
|
46755
|
-
|
|
46756
|
-
},
|
|
47056
|
+
items = this.sort(items);
|
|
46757
47057
|
|
|
46758
|
-
|
|
46759
|
-
|
|
46760
|
-
|
|
46761
|
-
|
|
46762
|
-
|
|
46763
|
-
}
|
|
46764
|
-
else if (this.displayMember) {
|
|
46765
|
-
itemValue = item[this.displayMember];
|
|
46766
|
-
}
|
|
47058
|
+
if (!items.length) {
|
|
47059
|
+
if (this.inlineAutoComplete) {
|
|
47060
|
+
var labelElement = this.element.querySelector('.jqx-input-inline');
|
|
47061
|
+
labelElement.style.display = 'none';
|
|
47062
|
+
that.host.css('overflow', 'visible');
|
|
46767
47063
|
|
|
46768
|
-
|
|
46769
|
-
|
|
46770
|
-
|
|
46771
|
-
|
|
46772
|
-
|
|
46773
|
-
|
|
46774
|
-
|
|
46775
|
-
|
|
46776
|
-
|
|
46777
|
-
|
|
46778
|
-
|
|
46779
|
-
|
|
46780
|
-
|
|
46781
|
-
|
|
46782
|
-
|
|
46783
|
-
|
|
46784
|
-
|
|
46785
|
-
|
|
46786
|
-
|
|
46787
|
-
|
|
46788
|
-
|
|
47064
|
+
if (that._writeTimer) {
|
|
47065
|
+
clearTimeout(that._writeTimer);
|
|
47066
|
+
}
|
|
47067
|
+
that._writeTimer = setTimeout(function () {
|
|
47068
|
+
that.getAISuggestions(function (suggestion) {
|
|
47069
|
+
if (suggestion) {
|
|
47070
|
+
suggestion = that.input.value + suggestion;
|
|
47071
|
+
labelElement.textContent = suggestion;
|
|
47072
|
+
labelElement.setAttribute('data-value', suggestion);
|
|
47073
|
+
labelElement.setAttribute('data-name', suggestion);
|
|
47074
|
+
labelElement.style.opacity = 0.5;
|
|
47075
|
+
labelElement.style.position = 'absolute';
|
|
47076
|
+
labelElement.style.zIndex = 5;
|
|
47077
|
+
labelElement.style.display = '';
|
|
47078
|
+
labelElement.style.left = '6px';
|
|
47079
|
+
labelElement.style.lineHeight = that.height + 'px';
|
|
47080
|
+
that.host.css('overflow', 'hidden');
|
|
47081
|
+
that.searchMode = searchMode;
|
|
47082
|
+
}
|
|
47083
|
+
});
|
|
47084
|
+
}, 500);
|
|
47085
|
+
}
|
|
46789
47086
|
|
|
46790
|
-
|
|
46791
|
-
|
|
47087
|
+
if (this.opened) {
|
|
47088
|
+
return this.close();
|
|
47089
|
+
}
|
|
47090
|
+
else {
|
|
47091
|
+
return this;
|
|
47092
|
+
}
|
|
47093
|
+
}
|
|
46792
47094
|
|
|
46793
|
-
|
|
46794
|
-
|
|
47095
|
+
if (this.inlineAutoComplete) {
|
|
47096
|
+
var item = items.length ? items[0] : '';
|
|
47097
|
+
var label = typeof item === 'string' ? item : item.label;
|
|
47098
|
+
var value = typeof item === 'string' ? item : item.value;
|
|
47099
|
+
var labelElement = this.element.querySelector('.jqx-input-inline');
|
|
47100
|
+
labelElement.textContent = label;
|
|
47101
|
+
labelElement.setAttribute('data-value', value);
|
|
47102
|
+
labelElement.setAttribute('data-name', label);
|
|
47103
|
+
labelElement.style.opacity = 0.5;
|
|
47104
|
+
labelElement.style.position = 'absolute';
|
|
47105
|
+
labelElement.style.zIndex = 5;
|
|
47106
|
+
labelElement.style.display = '';
|
|
47107
|
+
labelElement.style.left = '6px';
|
|
47108
|
+
labelElement.style.lineHeight = that.height + 'px';
|
|
47109
|
+
this.searchMode = searchMode;
|
|
47110
|
+
that.host.css('overflow', 'hidden');
|
|
47111
|
+
|
|
47112
|
+
this.getAISuggestions(function (suggestion) {
|
|
47113
|
+
if (suggestion) {
|
|
47114
|
+
labelElement.textContent = suggestion;
|
|
47115
|
+
}
|
|
47116
|
+
});
|
|
47117
|
+
return;
|
|
47118
|
+
}
|
|
47119
|
+
return this._render(items.slice(0, this.items)).open();
|
|
47120
|
+
},
|
|
46795
47121
|
|
|
47122
|
+
_filter: function (item) {
|
|
47123
|
+
var value = this.query;
|
|
46796
47124
|
var itemValue = item;
|
|
46797
|
-
if (item.label) {
|
|
47125
|
+
if (item.label != null) {
|
|
46798
47126
|
itemValue = item.label;
|
|
46799
47127
|
}
|
|
46800
47128
|
else if (this.displayMember) {
|
|
46801
47129
|
itemValue = item[this.displayMember];
|
|
46802
47130
|
}
|
|
46803
47131
|
|
|
46804
|
-
|
|
46805
|
-
|
|
46806
|
-
|
|
46807
|
-
|
|
46808
|
-
|
|
47132
|
+
switch (this.searchMode) {
|
|
47133
|
+
case 'none':
|
|
47134
|
+
break;
|
|
47135
|
+
default: // ('containsignorecase')
|
|
47136
|
+
return $.jqx.string.containsIgnoreCase(itemValue, value);
|
|
47137
|
+
case 'contains':
|
|
47138
|
+
return $.jqx.string.contains(itemValue, value);
|
|
47139
|
+
case 'equals':
|
|
47140
|
+
return $.jqx.string.equals(itemValue, value);
|
|
47141
|
+
case 'equalsignorecase':
|
|
47142
|
+
return $.jqx.string.equalsIgnoreCase(itemValue, value);
|
|
47143
|
+
case 'startswith':
|
|
47144
|
+
return $.jqx.string.startsWith(itemValue, value);
|
|
47145
|
+
case 'startswithignorecase':
|
|
47146
|
+
return $.jqx.string.startsWithIgnoreCase(itemValue, value);
|
|
47147
|
+
case 'endswith':
|
|
47148
|
+
return $.jqx.string.endsWith(itemValue, value);
|
|
47149
|
+
case 'endswithignorecase':
|
|
47150
|
+
return $.jqx.string.endsWithIgnoreCase(itemValue, value);
|
|
46809
47151
|
}
|
|
46810
|
-
|
|
46811
|
-
|
|
47152
|
+
},
|
|
47153
|
+
|
|
47154
|
+
_sort: function (items) {
|
|
47155
|
+
var bw = [], cs = [], cis = [];
|
|
47156
|
+
|
|
47157
|
+
for (var i = 0; i < items.length; i++) {
|
|
47158
|
+
var item = items[i];
|
|
47159
|
+
|
|
47160
|
+
var itemValue = item;
|
|
47161
|
+
if (item.label) {
|
|
47162
|
+
itemValue = item.label;
|
|
47163
|
+
}
|
|
47164
|
+
else if (this.displayMember) {
|
|
47165
|
+
itemValue = item[this.displayMember];
|
|
47166
|
+
}
|
|
47167
|
+
|
|
47168
|
+
if (itemValue.toString().toLowerCase().indexOf(this.query.toString().toLowerCase()) === 0) {
|
|
47169
|
+
bw.push(item);
|
|
47170
|
+
}
|
|
47171
|
+
else if (itemValue.toString().indexOf(this.query) >= 0) {
|
|
47172
|
+
cs.push(item);
|
|
47173
|
+
}
|
|
47174
|
+
else if (itemValue.toString().toLowerCase().indexOf(this.query.toString().toLowerCase()) >= 0) {
|
|
47175
|
+
cis.push(item);
|
|
47176
|
+
}
|
|
46812
47177
|
}
|
|
46813
|
-
}
|
|
46814
47178
|
|
|
46815
|
-
|
|
46816
|
-
|
|
47179
|
+
return bw.concat(cs, cis);
|
|
47180
|
+
},
|
|
46817
47181
|
|
|
46818
|
-
|
|
46819
|
-
|
|
46820
|
-
|
|
47182
|
+
_highlight: function (item) {
|
|
47183
|
+
var query = this.query;
|
|
47184
|
+
query = query.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&');
|
|
46821
47185
|
|
|
46822
|
-
|
|
46823
|
-
|
|
46824
|
-
|
|
46825
|
-
|
|
46826
|
-
|
|
47186
|
+
var regex = new RegExp('(' + query + ')', 'ig');
|
|
47187
|
+
return item.replace(regex, function ($1, match) {
|
|
47188
|
+
return '<b>' + match + '</b>';
|
|
47189
|
+
});
|
|
47190
|
+
},
|
|
46827
47191
|
|
|
46828
|
-
|
|
46829
|
-
|
|
46830
|
-
|
|
46831
|
-
|
|
47192
|
+
escapeHTML: function (value) {
|
|
47193
|
+
var entityMap = {
|
|
47194
|
+
'&': '&', '<': '<', '>': '>', '"': '"', '\'': ''', '/': '/', '`': '`', '=': '='
|
|
47195
|
+
};
|
|
46832
47196
|
|
|
46833
|
-
|
|
46834
|
-
|
|
47197
|
+
return String(value).replace(/[&<>"'`=\/]/g, function (s) { return entityMap[s] });
|
|
47198
|
+
},
|
|
46835
47199
|
|
|
46836
|
-
|
|
46837
|
-
|
|
46838
|
-
|
|
46839
|
-
|
|
47200
|
+
sanitizeHTML: function (value) {
|
|
47201
|
+
var that = this;
|
|
47202
|
+
var regExp = new RegExp('<\s*(applet|audio|base|bgsound|embed|form|iframe|isindex|keygen|layout|link|meta|object|script|svg|style|template|video)[^>]*>(.*?)<\s*/\s*(applet|audio|base|bgsound|embed|form|iframe|isindex|keygen|layout|link|meta|object|script|svg|style|template|video)>', 'ig');
|
|
47203
|
+
var result = String(value).replace(regExp, function (s) { return that.escapeHTML(s) });
|
|
46840
47204
|
|
|
46841
|
-
|
|
46842
|
-
|
|
47205
|
+
return result;
|
|
47206
|
+
},
|
|
46843
47207
|
|
|
46844
|
-
|
|
46845
|
-
|
|
46846
|
-
|
|
46847
|
-
|
|
47208
|
+
escape_HTML: function (html_str) {
|
|
47209
|
+
if (html_str && html_str.indexOf && (html_str.indexOf('onclick') >= 0 || html_str.indexOf('onload') >= 0 || html_str.indexOf('onerror') >= 0)) {
|
|
47210
|
+
return this.escapeHTML(html_str)
|
|
47211
|
+
}
|
|
46848
47212
|
|
|
46849
|
-
|
|
47213
|
+
var sanitized = this.sanitizeHTML(html_str);
|
|
46850
47214
|
|
|
46851
|
-
|
|
46852
|
-
|
|
47215
|
+
return sanitized;
|
|
47216
|
+
},
|
|
46853
47217
|
|
|
46854
|
-
|
|
46855
|
-
|
|
46856
|
-
|
|
47218
|
+
_render: function (originalItems) {
|
|
47219
|
+
var that = this,
|
|
47220
|
+
popupChildren = that._popupHelper.children();
|
|
46857
47221
|
|
|
46858
|
-
|
|
46859
|
-
|
|
46860
|
-
|
|
47222
|
+
if (popupChildren.length > 0) {
|
|
47223
|
+
for (var j = 0; j < popupChildren.length; j++) {
|
|
47224
|
+
$(popupChildren[j]).remove();
|
|
47225
|
+
}
|
|
46861
47226
|
}
|
|
46862
|
-
}
|
|
46863
47227
|
|
|
46864
|
-
|
|
46865
|
-
|
|
46866
|
-
|
|
46867
|
-
|
|
46868
|
-
|
|
46869
|
-
|
|
46870
|
-
|
|
46871
|
-
|
|
46872
|
-
|
|
47228
|
+
var mapItem = function (item, index) {
|
|
47229
|
+
var itemValue = item,
|
|
47230
|
+
i = document.createElement('li'),
|
|
47231
|
+
a = document.createElement('a'),
|
|
47232
|
+
dataName, dataValue;
|
|
47233
|
+
a.setAttribute('href', '#');
|
|
47234
|
+
i.appendChild(a);
|
|
47235
|
+
if (item.value !== undefined && item.value !== null) {
|
|
47236
|
+
if (item.label !== undefined && item.label !== null) {
|
|
47237
|
+
dataName = item.label;
|
|
47238
|
+
dataValue = that.escape_HTML(item.value);
|
|
47239
|
+
} else {
|
|
47240
|
+
dataName = item.value;
|
|
47241
|
+
dataValue = that.escape_HTML(item.value);
|
|
47242
|
+
}
|
|
47243
|
+
} else if (item.label !== undefined && item.label !== null) {
|
|
46873
47244
|
dataName = item.label;
|
|
46874
|
-
dataValue =
|
|
47245
|
+
dataValue = item.label;
|
|
47246
|
+
} else if (that.displayMember !== undefined && that.displayMember !== '') {
|
|
47247
|
+
dataName = item[that.displayMember];
|
|
47248
|
+
dataValue = item[that.valueMember];
|
|
46875
47249
|
} else {
|
|
46876
|
-
dataName = item
|
|
46877
|
-
dataValue =
|
|
46878
|
-
}
|
|
46879
|
-
|
|
46880
|
-
dataName
|
|
46881
|
-
|
|
46882
|
-
|
|
46883
|
-
|
|
46884
|
-
|
|
47250
|
+
dataName = item;
|
|
47251
|
+
dataValue = item;
|
|
47252
|
+
}
|
|
47253
|
+
i.setAttribute('data-value', dataValue);
|
|
47254
|
+
i.setAttribute('data-name', dataName);
|
|
47255
|
+
|
|
47256
|
+
if (item.label) {
|
|
47257
|
+
itemValue = item.label;
|
|
47258
|
+
}
|
|
47259
|
+
else if (that.displayMember) {
|
|
47260
|
+
itemValue = item[that.displayMember];
|
|
47261
|
+
}
|
|
47262
|
+
|
|
47263
|
+
a.innerHTML = that.highlight(itemValue);
|
|
47264
|
+
var plusClass = '';
|
|
47265
|
+
if (that.rtl) {
|
|
47266
|
+
plusClass = ' jqx-rtl';
|
|
47267
|
+
}
|
|
47268
|
+
if (index === 0) {
|
|
47269
|
+
plusClass += ' jqx-fill-state-pressed';
|
|
47270
|
+
}
|
|
47271
|
+
i.className = that.toThemeProperty('jqx-item jqx-menu-item jqx-rc-all' + plusClass);
|
|
47272
|
+
that.$popup.appendChild(i);
|
|
47273
|
+
|
|
47274
|
+
that.addHandler(i, 'mouseenter', function (event) { that.mouseenter(event); });
|
|
47275
|
+
};
|
|
47276
|
+
|
|
47277
|
+
var mapItems = function (source) {
|
|
47278
|
+
for (var i = 0; i < source.length; i++) {
|
|
47279
|
+
mapItem(source[i], i);
|
|
47280
|
+
}
|
|
47281
|
+
};
|
|
47282
|
+
|
|
47283
|
+
mapItems(originalItems);
|
|
47284
|
+
|
|
47285
|
+
if (!this.dropDownWidth) {
|
|
47286
|
+
this.$popup.style.width = that._toPx(that.element.offsetWidth - 6);
|
|
46885
47287
|
} else {
|
|
46886
|
-
|
|
46887
|
-
dataValue = item;
|
|
47288
|
+
this.$popup.style.width = that._toPx(that.dropDownWidth);
|
|
46888
47289
|
}
|
|
46889
|
-
i.setAttribute('data-value', dataValue);
|
|
46890
|
-
i.setAttribute('data-name', dataName);
|
|
46891
47290
|
|
|
46892
|
-
|
|
46893
|
-
|
|
46894
|
-
}
|
|
46895
|
-
else if (that.displayMember) {
|
|
46896
|
-
itemValue = item[that.displayMember];
|
|
46897
|
-
}
|
|
47291
|
+
return this;
|
|
47292
|
+
},
|
|
46898
47293
|
|
|
46899
|
-
|
|
46900
|
-
var
|
|
46901
|
-
|
|
46902
|
-
|
|
46903
|
-
|
|
46904
|
-
|
|
46905
|
-
plusClass += ' jqx-fill-state-pressed';
|
|
47294
|
+
next: function () {
|
|
47295
|
+
var active = this._find('jqx-fill-state-pressed', this._popupHelper),
|
|
47296
|
+
next = active.nextSibling;
|
|
47297
|
+
$(active).removeClass(this.toThemeProperty('jqx-fill-state-pressed'));
|
|
47298
|
+
if (!next) {
|
|
47299
|
+
next = this.$popup.firstChild;
|
|
46906
47300
|
}
|
|
46907
|
-
i.className = that.toThemeProperty('jqx-item jqx-menu-item jqx-rc-all' + plusClass);
|
|
46908
|
-
that.$popup.appendChild(i);
|
|
46909
47301
|
|
|
46910
|
-
|
|
46911
|
-
}
|
|
47302
|
+
next.className += ' ' + this.toThemeProperty('jqx-fill-state-pressed');
|
|
47303
|
+
},
|
|
46912
47304
|
|
|
46913
|
-
|
|
46914
|
-
|
|
46915
|
-
|
|
47305
|
+
prev: function () {
|
|
47306
|
+
var active = this._find('jqx-fill-state-pressed', this._popupHelper),
|
|
47307
|
+
prev = active.previousSibling;
|
|
47308
|
+
$(active).removeClass(this.toThemeProperty('jqx-fill-state-pressed'));
|
|
47309
|
+
if (!prev) {
|
|
47310
|
+
prev = this.$popup.lastChild;
|
|
46916
47311
|
}
|
|
46917
|
-
};
|
|
46918
47312
|
|
|
46919
|
-
|
|
47313
|
+
prev.className += ' ' + this.toThemeProperty('jqx-fill-state-pressed');
|
|
47314
|
+
},
|
|
46920
47315
|
|
|
46921
|
-
|
|
46922
|
-
|
|
46923
|
-
|
|
46924
|
-
|
|
46925
|
-
|
|
47316
|
+
addHandlers: function () {
|
|
47317
|
+
var that = this,
|
|
47318
|
+
eventNamespace = '.jqxInput' + that.element.id;
|
|
47319
|
+
that.addHandler(that.host, 'focus' + eventNamespace, function () { that.onFocus(); });
|
|
47320
|
+
that.addHandler(that.host, 'blur' + eventNamespace, function () { that.onBlur(); });
|
|
47321
|
+
if (that.isMaterialized() && this.input instanceof HTMLInputElement) {
|
|
47322
|
+
that.addHandler(that.input, 'blur' + eventNamespace, function () { that.onBlur(); });
|
|
47323
|
+
}
|
|
46926
47324
|
|
|
46927
|
-
|
|
46928
|
-
|
|
47325
|
+
that.addHandler(that.host, 'change' + eventNamespace, function (event) {
|
|
47326
|
+
if (that.opened && !event.args) {
|
|
47327
|
+
event.stopPropagation();
|
|
47328
|
+
event.preventDefault();
|
|
47329
|
+
event.stopImmediatePropagation();
|
|
46929
47330
|
|
|
46930
|
-
|
|
46931
|
-
|
|
46932
|
-
|
|
46933
|
-
|
|
46934
|
-
|
|
46935
|
-
|
|
46936
|
-
}
|
|
47331
|
+
return;
|
|
47332
|
+
}
|
|
47333
|
+
if (!event.args) {
|
|
47334
|
+
event.stopPropagation();
|
|
47335
|
+
event.preventDefault();
|
|
47336
|
+
event.stopImmediatePropagation();
|
|
46937
47337
|
|
|
46938
|
-
|
|
46939
|
-
|
|
47338
|
+
var item = that.val(),
|
|
47339
|
+
label, val;
|
|
47340
|
+
if (item && item.label) {
|
|
47341
|
+
label = item.label;
|
|
47342
|
+
val = item.val;
|
|
47343
|
+
}
|
|
47344
|
+
else {
|
|
47345
|
+
label = item;
|
|
47346
|
+
val = item;
|
|
47347
|
+
}
|
|
47348
|
+
that._raiseEvent('3', { type: 'keyboard', 'item': { 'label': label, 'value': val }, 'label': label, 'value': val });
|
|
47349
|
+
that.value = label;
|
|
47350
|
+
that._refreshPlaceHolder();
|
|
47351
|
+
}
|
|
47352
|
+
});
|
|
46940
47353
|
|
|
46941
|
-
|
|
46942
|
-
|
|
46943
|
-
|
|
46944
|
-
|
|
46945
|
-
|
|
46946
|
-
prev = this.$popup.lastChild;
|
|
46947
|
-
}
|
|
47354
|
+
that.addHandler(that.host, 'keypress' + eventNamespace, function (event) { that.keypress(event); });
|
|
47355
|
+
that.addHandler(that.host, 'keyup' + eventNamespace, function (event) { that.keyup(event); });
|
|
47356
|
+
that.addHandler(that.host, 'keydown' + eventNamespace, function (event) { that.keydown(event); });
|
|
47357
|
+
that.addHandler(that.$popup, 'pointerdown' + eventNamespace, function (event) { that.click(event); });
|
|
47358
|
+
},
|
|
46948
47359
|
|
|
46949
|
-
|
|
46950
|
-
|
|
47360
|
+
removeHandlers: function () {
|
|
47361
|
+
var that = this,
|
|
47362
|
+
eventNamespace = '.jqxInput' + that.element.id;
|
|
47363
|
+
that.removeHandler(that.host, 'change' + eventNamespace);
|
|
47364
|
+
that.removeHandler(that.host, 'focus' + eventNamespace);
|
|
47365
|
+
that.removeHandler(that.host, 'blur' + eventNamespace);
|
|
47366
|
+
that.removeHandler(that.host, 'keypress' + eventNamespace);
|
|
47367
|
+
that.removeHandler(that.host, 'keyup' + eventNamespace);
|
|
47368
|
+
that.removeHandler(that.host, 'keydown' + eventNamespace);
|
|
47369
|
+
that.removeHandler(that.$popup, 'pointerdown' + eventNamespace);
|
|
47370
|
+
},
|
|
46951
47371
|
|
|
46952
|
-
|
|
46953
|
-
|
|
46954
|
-
|
|
46955
|
-
|
|
46956
|
-
that.addHandler(that.host, 'blur' + eventNamespace, function () { that.onBlur(); });
|
|
46957
|
-
if (that.isMaterialized() && this.input instanceof HTMLInputElement) {
|
|
46958
|
-
that.addHandler(that.input, 'blur' + eventNamespace, function () { that.onBlur(); });
|
|
46959
|
-
}
|
|
47372
|
+
move: function (e) {
|
|
47373
|
+
if (!this.opened) {
|
|
47374
|
+
return;
|
|
47375
|
+
}
|
|
46960
47376
|
|
|
46961
|
-
|
|
46962
|
-
|
|
46963
|
-
|
|
46964
|
-
|
|
46965
|
-
|
|
47377
|
+
switch (e.keyCode) {
|
|
47378
|
+
case 9: // tab
|
|
47379
|
+
case 13: // enter
|
|
47380
|
+
case 27: // escape
|
|
47381
|
+
e.preventDefault();
|
|
47382
|
+
break;
|
|
46966
47383
|
|
|
46967
|
-
|
|
47384
|
+
case 38: // up arrow
|
|
47385
|
+
if (!e.shiftKey) {
|
|
47386
|
+
e.preventDefault();
|
|
47387
|
+
this.prev();
|
|
47388
|
+
}
|
|
47389
|
+
break;
|
|
47390
|
+
|
|
47391
|
+
case 40: // down arrow
|
|
47392
|
+
if (!e.shiftKey) {
|
|
47393
|
+
e.preventDefault();
|
|
47394
|
+
this.next();
|
|
47395
|
+
}
|
|
47396
|
+
break;
|
|
46968
47397
|
}
|
|
46969
|
-
if (!event.args) {
|
|
46970
|
-
event.stopPropagation();
|
|
46971
|
-
event.preventDefault();
|
|
46972
|
-
event.stopImmediatePropagation();
|
|
46973
47398
|
|
|
46974
|
-
|
|
46975
|
-
|
|
46976
|
-
|
|
46977
|
-
|
|
46978
|
-
|
|
46979
|
-
|
|
46980
|
-
|
|
46981
|
-
|
|
46982
|
-
|
|
47399
|
+
e.stopPropagation();
|
|
47400
|
+
},
|
|
47401
|
+
|
|
47402
|
+
keydown: function (e) {
|
|
47403
|
+
var arr = [40, 38, 9, 13, 27];
|
|
47404
|
+
this.suppressKeyPressRepeat = arr.indexOf(e.keyCode) !== -1;
|
|
47405
|
+
|
|
47406
|
+
if (e.key === 'Tab') {
|
|
47407
|
+
if (!this.opened) {
|
|
47408
|
+
if (this.inlineAutoComplete) {
|
|
47409
|
+
this.select(e, this, 'keyboard');
|
|
47410
|
+
}
|
|
47411
|
+
return;
|
|
46983
47412
|
}
|
|
46984
|
-
that._raiseEvent('3', { type: 'keyboard', 'item': { 'label': label, 'value': val }, 'label': label, 'value': val });
|
|
46985
|
-
that.value = label;
|
|
46986
|
-
that._refreshPlaceHolder();
|
|
46987
47413
|
}
|
|
46988
|
-
|
|
46989
|
-
|
|
46990
|
-
that.addHandler(that.host, 'keypress' + eventNamespace, function (event) { that.keypress(event); });
|
|
46991
|
-
that.addHandler(that.host, 'keyup' + eventNamespace, function (event) { that.keyup(event); });
|
|
46992
|
-
that.addHandler(that.host, 'keydown' + eventNamespace, function (event) { that.keydown(event); });
|
|
46993
|
-
that.addHandler(that.$popup, 'pointerdown' + eventNamespace, function (event) { that.click(event); });
|
|
46994
|
-
},
|
|
47414
|
+
this.move(e);
|
|
47415
|
+
},
|
|
46995
47416
|
|
|
46996
|
-
|
|
46997
|
-
|
|
46998
|
-
|
|
46999
|
-
|
|
47000
|
-
|
|
47001
|
-
|
|
47002
|
-
that.removeHandler(that.host, 'keypress' + eventNamespace);
|
|
47003
|
-
that.removeHandler(that.host, 'keyup' + eventNamespace);
|
|
47004
|
-
that.removeHandler(that.host, 'keydown' + eventNamespace);
|
|
47005
|
-
that.removeHandler(that.$popup, 'pointerdown' + eventNamespace);
|
|
47006
|
-
},
|
|
47007
|
-
|
|
47008
|
-
move: function (e) {
|
|
47009
|
-
if (!this.opened) {
|
|
47010
|
-
return;
|
|
47011
|
-
}
|
|
47417
|
+
keypress: function (e) {
|
|
47418
|
+
if (this.suppressKeyPressRepeat) {
|
|
47419
|
+
return;
|
|
47420
|
+
}
|
|
47421
|
+
this.move(e);
|
|
47422
|
+
},
|
|
47012
47423
|
|
|
47013
|
-
|
|
47014
|
-
|
|
47015
|
-
|
|
47016
|
-
|
|
47017
|
-
|
|
47018
|
-
|
|
47424
|
+
keyup: function (e) {
|
|
47425
|
+
switch (e.keyCode) {
|
|
47426
|
+
case 40: // down arrow
|
|
47427
|
+
case 38: // up arrow
|
|
47428
|
+
case 16: // shift
|
|
47429
|
+
case 17: // ctrl
|
|
47430
|
+
case 18: // alt
|
|
47431
|
+
e.stopPropagation();
|
|
47432
|
+
e.preventDefault();
|
|
47433
|
+
break;
|
|
47019
47434
|
|
|
47020
|
-
|
|
47021
|
-
|
|
47435
|
+
case 9: // tab
|
|
47436
|
+
case 13: // enter
|
|
47437
|
+
if (!this.opened) {
|
|
47438
|
+
if (this.inlineAutoComplete) {
|
|
47439
|
+
this.select(e, this, 'keyboard');
|
|
47440
|
+
e.stopPropagation();
|
|
47441
|
+
e.preventDefault();
|
|
47442
|
+
}
|
|
47443
|
+
return;
|
|
47444
|
+
}
|
|
47445
|
+
this.select(e, this, 'keyboard');
|
|
47446
|
+
e.stopPropagation();
|
|
47022
47447
|
e.preventDefault();
|
|
47023
|
-
|
|
47024
|
-
}
|
|
47025
|
-
break;
|
|
47448
|
+
break;
|
|
47026
47449
|
|
|
47027
|
-
|
|
47028
|
-
|
|
47450
|
+
case 27: // escape
|
|
47451
|
+
if (!this.opened) {
|
|
47452
|
+
return;
|
|
47453
|
+
}
|
|
47454
|
+
this.close();
|
|
47455
|
+
e.stopPropagation();
|
|
47029
47456
|
e.preventDefault();
|
|
47030
|
-
|
|
47031
|
-
}
|
|
47032
|
-
break;
|
|
47033
|
-
}
|
|
47457
|
+
break;
|
|
47034
47458
|
|
|
47035
|
-
|
|
47036
|
-
|
|
47459
|
+
default:
|
|
47460
|
+
{
|
|
47461
|
+
var me = this;
|
|
47462
|
+
if (this.timer) {
|
|
47463
|
+
clearTimeout(this.timer);
|
|
47464
|
+
}
|
|
47037
47465
|
|
|
47038
|
-
|
|
47039
|
-
|
|
47040
|
-
|
|
47041
|
-
|
|
47042
|
-
|
|
47466
|
+
if (this.inlineAutoComplete) {
|
|
47467
|
+
me.suggest();
|
|
47468
|
+
return;
|
|
47469
|
+
}
|
|
47470
|
+
this.timer = setTimeout(function () {
|
|
47471
|
+
me.suggest();
|
|
47472
|
+
}, 300);
|
|
47473
|
+
}
|
|
47474
|
+
}
|
|
47043
47475
|
|
|
47044
|
-
|
|
47045
|
-
if (this.suppressKeyPressRepeat) {
|
|
47046
|
-
return;
|
|
47047
|
-
}
|
|
47048
|
-
this.move(e);
|
|
47049
|
-
},
|
|
47476
|
+
},
|
|
47050
47477
|
|
|
47051
|
-
|
|
47052
|
-
|
|
47053
|
-
|
|
47054
|
-
case 38: // up arrow
|
|
47055
|
-
case 16: // shift
|
|
47056
|
-
case 17: // ctrl
|
|
47057
|
-
case 18: // alt
|
|
47058
|
-
e.stopPropagation();
|
|
47059
|
-
e.preventDefault();
|
|
47060
|
-
break;
|
|
47478
|
+
clear: function () {
|
|
47479
|
+
this.val('');
|
|
47480
|
+
},
|
|
47061
47481
|
|
|
47062
|
-
|
|
47063
|
-
|
|
47064
|
-
|
|
47065
|
-
|
|
47066
|
-
|
|
47067
|
-
|
|
47068
|
-
e.stopPropagation();
|
|
47069
|
-
e.preventDefault();
|
|
47070
|
-
break;
|
|
47482
|
+
onBlur: function () {
|
|
47483
|
+
var that = this;
|
|
47484
|
+
setTimeout(function () { that.close(); }, 150);
|
|
47485
|
+
that.host.removeClass(that.toThemeProperty('jqx-fill-state-focus'));
|
|
47486
|
+
that._refreshPlaceHolder();
|
|
47487
|
+
},
|
|
47071
47488
|
|
|
47072
|
-
|
|
47073
|
-
|
|
47074
|
-
|
|
47489
|
+
onFocus: function () {
|
|
47490
|
+
var that = this;
|
|
47491
|
+
that.element.className += ' ' + that.toThemeProperty('jqx-fill-state-focus');
|
|
47492
|
+
that._refreshPlaceHolder();
|
|
47493
|
+
},
|
|
47494
|
+
|
|
47495
|
+
click: function (e) {
|
|
47496
|
+
e.stopPropagation();
|
|
47497
|
+
e.preventDefault();
|
|
47498
|
+
this.select(e, this, 'mouse');
|
|
47499
|
+
},
|
|
47500
|
+
|
|
47501
|
+
mouseenter: function (e) {
|
|
47502
|
+
$(this._find('jqx-fill-state-pressed', this._popupHelper)).removeClass(this.toThemeProperty('jqx-fill-state-pressed'));
|
|
47503
|
+
e.currentTarget.className += ' ' + this.toThemeProperty('jqx-fill-state-pressed');
|
|
47504
|
+
},
|
|
47505
|
+
|
|
47506
|
+
_toPx: function (value) {
|
|
47507
|
+
if (typeof value === 'number') {
|
|
47508
|
+
return value + 'px';
|
|
47509
|
+
} else {
|
|
47510
|
+
return value;
|
|
47511
|
+
}
|
|
47512
|
+
},
|
|
47513
|
+
|
|
47514
|
+
_find: function (className, parentElement) {
|
|
47515
|
+
var children = parentElement.children();
|
|
47516
|
+
for (var i = 0; i < children.length; i++) {
|
|
47517
|
+
var child = children[i];
|
|
47518
|
+
if (child.className.indexOf(className) !== -1) {
|
|
47519
|
+
return child;
|
|
47075
47520
|
}
|
|
47076
|
-
|
|
47077
|
-
|
|
47078
|
-
e.preventDefault();
|
|
47079
|
-
break;
|
|
47521
|
+
}
|
|
47522
|
+
},
|
|
47080
47523
|
|
|
47081
|
-
|
|
47082
|
-
|
|
47083
|
-
|
|
47084
|
-
|
|
47085
|
-
|
|
47086
|
-
|
|
47087
|
-
|
|
47088
|
-
|
|
47089
|
-
}, 300);
|
|
47524
|
+
_getAddonsWidth: function () {
|
|
47525
|
+
var that = this,
|
|
47526
|
+
children = that.baseHost.children(),
|
|
47527
|
+
result = 0;
|
|
47528
|
+
|
|
47529
|
+
for (var i = 0; i < children.length; i++) {
|
|
47530
|
+
if (children[i] !== that.element) {
|
|
47531
|
+
result += $(children[i]).outerWidth();
|
|
47090
47532
|
}
|
|
47533
|
+
}
|
|
47534
|
+
|
|
47535
|
+
return result;
|
|
47091
47536
|
}
|
|
47537
|
+
});
|
|
47538
|
+
})(jqxBaseFramework); //ignore jslint
|
|
47539
|
+
})();
|
|
47540
|
+
|
|
47541
|
+
|
|
47542
|
+
|
|
47543
|
+
|
|
47092
47544
|
|
|
47093
|
-
},
|
|
47094
47545
|
|
|
47095
|
-
clear: function () {
|
|
47096
|
-
this.val('');
|
|
47097
|
-
},
|
|
47098
47546
|
|
|
47099
|
-
onBlur: function () {
|
|
47100
|
-
var that = this;
|
|
47101
|
-
setTimeout(function () { that.close(); }, 150);
|
|
47102
|
-
that.host.removeClass(that.toThemeProperty('jqx-fill-state-focus'));
|
|
47103
|
-
that._refreshPlaceHolder();
|
|
47104
|
-
},
|
|
47105
47547
|
|
|
47106
|
-
onFocus: function () {
|
|
47107
|
-
var that = this;
|
|
47108
|
-
that.element.className += ' ' + that.toThemeProperty('jqx-fill-state-focus');
|
|
47109
|
-
that._refreshPlaceHolder();
|
|
47110
|
-
},
|
|
47111
47548
|
|
|
47112
|
-
click: function (e) {
|
|
47113
|
-
e.stopPropagation();
|
|
47114
|
-
e.preventDefault();
|
|
47115
|
-
this.select(e, this, 'mouse');
|
|
47116
|
-
},
|
|
47117
47549
|
|
|
47118
|
-
mouseenter: function (e) {
|
|
47119
|
-
$(this._find('jqx-fill-state-pressed', this._popupHelper)).removeClass(this.toThemeProperty('jqx-fill-state-pressed'));
|
|
47120
|
-
e.currentTarget.className += ' ' + this.toThemeProperty('jqx-fill-state-pressed');
|
|
47121
|
-
},
|
|
47122
47550
|
|
|
47123
|
-
_toPx: function (value) {
|
|
47124
|
-
if (typeof value === 'number') {
|
|
47125
|
-
return value + 'px';
|
|
47126
|
-
} else {
|
|
47127
|
-
return value;
|
|
47128
|
-
}
|
|
47129
|
-
},
|
|
47130
47551
|
|
|
47131
|
-
_find: function (className, parentElement) {
|
|
47132
|
-
var children = parentElement.children();
|
|
47133
|
-
for (var i = 0; i < children.length; i++) {
|
|
47134
|
-
var child = children[i];
|
|
47135
|
-
if (child.className.indexOf(className) !== -1) {
|
|
47136
|
-
return child;
|
|
47137
|
-
}
|
|
47138
|
-
}
|
|
47139
|
-
},
|
|
47140
47552
|
|
|
47141
|
-
_getAddonsWidth: function () {
|
|
47142
|
-
var that = this,
|
|
47143
|
-
children = that.baseHost.children(),
|
|
47144
|
-
result = 0;
|
|
47145
47553
|
|
|
47146
|
-
for (var i = 0; i < children.length; i++) {
|
|
47147
|
-
if (children[i] !== that.element) {
|
|
47148
|
-
result += $(children[i]).outerWidth();
|
|
47149
|
-
}
|
|
47150
|
-
}
|
|
47151
47554
|
|
|
47152
|
-
|
|
47153
|
-
}
|
|
47154
|
-
});
|
|
47155
|
-
})(jqxBaseFramework); //ignore jslint
|
|
47156
|
-
})();
|
|
47555
|
+
|
|
47157
47556
|
|
|
47158
47557
|
/***/ }),
|
|
47159
47558
|
|
|
@@ -52091,7 +52490,23 @@ ${attr.formula} </cfRule>
|
|
|
52091
52490
|
return result;
|
|
52092
52491
|
}
|
|
52093
52492
|
})(jqxBaseFramework);
|
|
52094
|
-
})();
|
|
52493
|
+
})();
|
|
52494
|
+
|
|
52495
|
+
|
|
52496
|
+
|
|
52497
|
+
|
|
52498
|
+
|
|
52499
|
+
|
|
52500
|
+
|
|
52501
|
+
|
|
52502
|
+
|
|
52503
|
+
|
|
52504
|
+
|
|
52505
|
+
|
|
52506
|
+
|
|
52507
|
+
|
|
52508
|
+
|
|
52509
|
+
|
|
52095
52510
|
|
|
52096
52511
|
/***/ }),
|
|
52097
52512
|
|
|
@@ -55062,7 +55477,23 @@ ${attr.formula} </cfRule>
|
|
|
55062
55477
|
return menuItem;
|
|
55063
55478
|
}; //
|
|
55064
55479
|
})(jqxBaseFramework);
|
|
55065
|
-
})();
|
|
55480
|
+
})();
|
|
55481
|
+
|
|
55482
|
+
|
|
55483
|
+
|
|
55484
|
+
|
|
55485
|
+
|
|
55486
|
+
|
|
55487
|
+
|
|
55488
|
+
|
|
55489
|
+
|
|
55490
|
+
|
|
55491
|
+
|
|
55492
|
+
|
|
55493
|
+
|
|
55494
|
+
|
|
55495
|
+
|
|
55496
|
+
|
|
55066
55497
|
|
|
55067
55498
|
/***/ }),
|
|
55068
55499
|
|
|
@@ -59018,7 +59449,23 @@ ${attr.formula} </cfRule>
|
|
|
59018
59449
|
}
|
|
59019
59450
|
});
|
|
59020
59451
|
})(jqxBaseFramework);
|
|
59021
|
-
})();
|
|
59452
|
+
})();
|
|
59453
|
+
|
|
59454
|
+
|
|
59455
|
+
|
|
59456
|
+
|
|
59457
|
+
|
|
59458
|
+
|
|
59459
|
+
|
|
59460
|
+
|
|
59461
|
+
|
|
59462
|
+
|
|
59463
|
+
|
|
59464
|
+
|
|
59465
|
+
|
|
59466
|
+
|
|
59467
|
+
|
|
59468
|
+
|
|
59022
59469
|
|
|
59023
59470
|
/***/ }),
|
|
59024
59471
|
|
|
@@ -60611,6 +61058,22 @@ ${attr.formula} </cfRule>
|
|
|
60611
61058
|
}); // jqxScrollBar
|
|
60612
61059
|
})(jqxBaseFramework);
|
|
60613
61060
|
})();
|
|
61061
|
+
|
|
61062
|
+
|
|
61063
|
+
|
|
61064
|
+
|
|
61065
|
+
|
|
61066
|
+
|
|
61067
|
+
|
|
61068
|
+
|
|
61069
|
+
|
|
61070
|
+
|
|
61071
|
+
|
|
61072
|
+
|
|
61073
|
+
|
|
61074
|
+
|
|
61075
|
+
|
|
61076
|
+
|
|
60614
61077
|
|
|
60615
61078
|
|
|
60616
61079
|
/***/ }),
|
|
@@ -61713,6 +62176,22 @@ ${attr.formula} </cfRule>
|
|
|
61713
62176
|
} );
|
|
61714
62177
|
} )( jqxBaseFramework ); //ignore jslint
|
|
61715
62178
|
})();
|
|
62179
|
+
|
|
62180
|
+
|
|
62181
|
+
|
|
62182
|
+
|
|
62183
|
+
|
|
62184
|
+
|
|
62185
|
+
|
|
62186
|
+
|
|
62187
|
+
|
|
62188
|
+
|
|
62189
|
+
|
|
62190
|
+
|
|
62191
|
+
|
|
62192
|
+
|
|
62193
|
+
|
|
62194
|
+
|
|
61716
62195
|
|
|
61717
62196
|
|
|
61718
62197
|
/***/ })
|
|
@@ -61723,7 +62202,7 @@ ${attr.formula} </cfRule>
|
|
|
61723
62202
|
/******/ var __webpack_module_cache__ = {};
|
|
61724
62203
|
/******/
|
|
61725
62204
|
/******/ // The require function
|
|
61726
|
-
/******/ function
|
|
62205
|
+
/******/ function __webpack_require__(moduleId) {
|
|
61727
62206
|
/******/ // Check if module is in cache
|
|
61728
62207
|
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
61729
62208
|
/******/ if (cachedModule !== undefined) {
|
|
@@ -61737,7 +62216,7 @@ ${attr.formula} </cfRule>
|
|
|
61737
62216
|
/******/ };
|
|
61738
62217
|
/******/
|
|
61739
62218
|
/******/ // Execute the module function
|
|
61740
|
-
/******/ __webpack_modules__[moduleId](module, module.exports,
|
|
62219
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
61741
62220
|
/******/
|
|
61742
62221
|
/******/ // Return the exports of the module
|
|
61743
62222
|
/******/ return module.exports;
|
|
@@ -61746,17 +62225,17 @@ ${attr.formula} </cfRule>
|
|
|
61746
62225
|
/************************************************************************/
|
|
61747
62226
|
/******/ /* webpack/runtime/amd options */
|
|
61748
62227
|
/******/ (() => {
|
|
61749
|
-
/******/
|
|
62228
|
+
/******/ __webpack_require__.amdO = {};
|
|
61750
62229
|
/******/ })();
|
|
61751
62230
|
/******/
|
|
61752
62231
|
/******/ /* webpack/runtime/compat get default export */
|
|
61753
62232
|
/******/ (() => {
|
|
61754
62233
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
61755
|
-
/******/
|
|
62234
|
+
/******/ __webpack_require__.n = (module) => {
|
|
61756
62235
|
/******/ var getter = module && module.__esModule ?
|
|
61757
62236
|
/******/ () => (module['default']) :
|
|
61758
62237
|
/******/ () => (module);
|
|
61759
|
-
/******/
|
|
62238
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
61760
62239
|
/******/ return getter;
|
|
61761
62240
|
/******/ };
|
|
61762
62241
|
/******/ })();
|
|
@@ -61764,9 +62243,9 @@ ${attr.formula} </cfRule>
|
|
|
61764
62243
|
/******/ /* webpack/runtime/define property getters */
|
|
61765
62244
|
/******/ (() => {
|
|
61766
62245
|
/******/ // define getter functions for harmony exports
|
|
61767
|
-
/******/
|
|
62246
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
61768
62247
|
/******/ for(var key in definition) {
|
|
61769
|
-
/******/ if(
|
|
62248
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
61770
62249
|
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
61771
62250
|
/******/ }
|
|
61772
62251
|
/******/ }
|
|
@@ -61775,7 +62254,7 @@ ${attr.formula} </cfRule>
|
|
|
61775
62254
|
/******/
|
|
61776
62255
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
61777
62256
|
/******/ (() => {
|
|
61778
|
-
/******/
|
|
62257
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
61779
62258
|
/******/ })();
|
|
61780
62259
|
/******/
|
|
61781
62260
|
/************************************************************************/
|
|
@@ -61783,42 +62262,42 @@ var __webpack_exports__ = {};
|
|
|
61783
62262
|
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
|
61784
62263
|
(() => {
|
|
61785
62264
|
"use strict";
|
|
61786
|
-
/* harmony import */ var _jqxcore__WEBPACK_IMPORTED_MODULE_0__ =
|
|
61787
|
-
/* harmony import */ var _jqxcore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/
|
|
61788
|
-
/* harmony import */ var _jqxdata__WEBPACK_IMPORTED_MODULE_1__ =
|
|
61789
|
-
/* harmony import */ var _jqxdata__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/
|
|
61790
|
-
/* harmony import */ var _jqxdata_export__WEBPACK_IMPORTED_MODULE_2__ =
|
|
61791
|
-
/* harmony import */ var _jqxdata_export__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/
|
|
61792
|
-
/* harmony import */ var _jqxexport__WEBPACK_IMPORTED_MODULE_3__ =
|
|
61793
|
-
/* harmony import */ var _jqxexport__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/
|
|
61794
|
-
/* harmony import */ var _jqxbuttons__WEBPACK_IMPORTED_MODULE_4__ =
|
|
61795
|
-
/* harmony import */ var _jqxbuttons__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/
|
|
61796
|
-
/* harmony import */ var _jqxbuttongroup__WEBPACK_IMPORTED_MODULE_5__ =
|
|
61797
|
-
/* harmony import */ var _jqxbuttongroup__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/
|
|
61798
|
-
/* harmony import */ var _jqxscrollbar__WEBPACK_IMPORTED_MODULE_6__ =
|
|
61799
|
-
/* harmony import */ var _jqxscrollbar__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/
|
|
61800
|
-
/* harmony import */ var _jqxmenu__WEBPACK_IMPORTED_MODULE_7__ =
|
|
61801
|
-
/* harmony import */ var _jqxmenu__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/
|
|
61802
|
-
/* harmony import */ var _jqxlistbox__WEBPACK_IMPORTED_MODULE_8__ =
|
|
61803
|
-
/* harmony import */ var _jqxlistbox__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/
|
|
61804
|
-
/* harmony import */ var _jqxdropdownlist__WEBPACK_IMPORTED_MODULE_9__ =
|
|
61805
|
-
/* harmony import */ var _jqxdropdownlist__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/
|
|
61806
|
-
/* harmony import */ var _jqxcombobox__WEBPACK_IMPORTED_MODULE_10__ =
|
|
61807
|
-
/* harmony import */ var _jqxcombobox__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/
|
|
61808
|
-
/* harmony import */ var _jqxnumberinput__WEBPACK_IMPORTED_MODULE_11__ =
|
|
61809
|
-
/* harmony import */ var _jqxnumberinput__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/
|
|
61810
|
-
/* harmony import */ var _jqxcheckbox__WEBPACK_IMPORTED_MODULE_12__ =
|
|
61811
|
-
/* harmony import */ var _jqxcheckbox__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/
|
|
61812
|
-
/* harmony import */ var _globalization_globalize__WEBPACK_IMPORTED_MODULE_13__ =
|
|
61813
|
-
/* harmony import */ var _globalization_globalize__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/
|
|
61814
|
-
/* harmony import */ var _jqxcalendar__WEBPACK_IMPORTED_MODULE_14__ =
|
|
61815
|
-
/* harmony import */ var _jqxcalendar__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/
|
|
61816
|
-
/* harmony import */ var _jqxdatetimeinput__WEBPACK_IMPORTED_MODULE_15__ =
|
|
61817
|
-
/* harmony import */ var _jqxdatetimeinput__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/
|
|
61818
|
-
/* harmony import */ var _jqxinput__WEBPACK_IMPORTED_MODULE_16__ =
|
|
61819
|
-
/* harmony import */ var _jqxinput__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/
|
|
61820
|
-
/* harmony import */ var _jqxtoolbar__WEBPACK_IMPORTED_MODULE_17__ =
|
|
61821
|
-
/* harmony import */ var _jqxtoolbar__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/
|
|
62265
|
+
/* harmony import */ var _jqxcore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5459);
|
|
62266
|
+
/* harmony import */ var _jqxcore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_jqxcore__WEBPACK_IMPORTED_MODULE_0__);
|
|
62267
|
+
/* harmony import */ var _jqxdata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4198);
|
|
62268
|
+
/* harmony import */ var _jqxdata__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_jqxdata__WEBPACK_IMPORTED_MODULE_1__);
|
|
62269
|
+
/* harmony import */ var _jqxdata_export__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3907);
|
|
62270
|
+
/* harmony import */ var _jqxdata_export__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_jqxdata_export__WEBPACK_IMPORTED_MODULE_2__);
|
|
62271
|
+
/* harmony import */ var _jqxexport__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(714);
|
|
62272
|
+
/* harmony import */ var _jqxexport__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_jqxexport__WEBPACK_IMPORTED_MODULE_3__);
|
|
62273
|
+
/* harmony import */ var _jqxbuttons__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7351);
|
|
62274
|
+
/* harmony import */ var _jqxbuttons__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_jqxbuttons__WEBPACK_IMPORTED_MODULE_4__);
|
|
62275
|
+
/* harmony import */ var _jqxbuttongroup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(7196);
|
|
62276
|
+
/* harmony import */ var _jqxbuttongroup__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_jqxbuttongroup__WEBPACK_IMPORTED_MODULE_5__);
|
|
62277
|
+
/* harmony import */ var _jqxscrollbar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4240);
|
|
62278
|
+
/* harmony import */ var _jqxscrollbar__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_jqxscrollbar__WEBPACK_IMPORTED_MODULE_6__);
|
|
62279
|
+
/* harmony import */ var _jqxmenu__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1610);
|
|
62280
|
+
/* harmony import */ var _jqxmenu__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_jqxmenu__WEBPACK_IMPORTED_MODULE_7__);
|
|
62281
|
+
/* harmony import */ var _jqxlistbox__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(1062);
|
|
62282
|
+
/* harmony import */ var _jqxlistbox__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_jqxlistbox__WEBPACK_IMPORTED_MODULE_8__);
|
|
62283
|
+
/* harmony import */ var _jqxdropdownlist__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(5868);
|
|
62284
|
+
/* harmony import */ var _jqxdropdownlist__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_jqxdropdownlist__WEBPACK_IMPORTED_MODULE_9__);
|
|
62285
|
+
/* harmony import */ var _jqxcombobox__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(4720);
|
|
62286
|
+
/* harmony import */ var _jqxcombobox__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_jqxcombobox__WEBPACK_IMPORTED_MODULE_10__);
|
|
62287
|
+
/* harmony import */ var _jqxnumberinput__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(7995);
|
|
62288
|
+
/* harmony import */ var _jqxnumberinput__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_jqxnumberinput__WEBPACK_IMPORTED_MODULE_11__);
|
|
62289
|
+
/* harmony import */ var _jqxcheckbox__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(4545);
|
|
62290
|
+
/* harmony import */ var _jqxcheckbox__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_jqxcheckbox__WEBPACK_IMPORTED_MODULE_12__);
|
|
62291
|
+
/* harmony import */ var _globalization_globalize__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(2497);
|
|
62292
|
+
/* harmony import */ var _globalization_globalize__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_globalization_globalize__WEBPACK_IMPORTED_MODULE_13__);
|
|
62293
|
+
/* harmony import */ var _jqxcalendar__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(5725);
|
|
62294
|
+
/* harmony import */ var _jqxcalendar__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_jqxcalendar__WEBPACK_IMPORTED_MODULE_14__);
|
|
62295
|
+
/* harmony import */ var _jqxdatetimeinput__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(4993);
|
|
62296
|
+
/* harmony import */ var _jqxdatetimeinput__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_jqxdatetimeinput__WEBPACK_IMPORTED_MODULE_15__);
|
|
62297
|
+
/* harmony import */ var _jqxinput__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(5875);
|
|
62298
|
+
/* harmony import */ var _jqxinput__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_jqxinput__WEBPACK_IMPORTED_MODULE_16__);
|
|
62299
|
+
/* harmony import */ var _jqxtoolbar__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(6167);
|
|
62300
|
+
/* harmony import */ var _jqxtoolbar__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_jqxtoolbar__WEBPACK_IMPORTED_MODULE_17__);
|
|
61822
62301
|
|
|
61823
62302
|
|
|
61824
62303
|
|
|
@@ -61840,9 +62319,5 @@ var __webpack_exports__ = {};
|
|
|
61840
62319
|
|
|
61841
62320
|
})();
|
|
61842
62321
|
|
|
61843
|
-
/******/ })()
|
|
61844
|
-
;
|
|
61845
|
-
/******/ })()
|
|
61846
|
-
;
|
|
61847
62322
|
/******/ })()
|
|
61848
62323
|
;
|