@eclipse-scout/core 11.0.36 → 11.0.38
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/dist/eclipse-scout-core-6f461e156d8a9428851c.min.js +2 -0
- package/dist/eclipse-scout-core-6f461e156d8a9428851c.min.js.map +1 -0
- package/dist/eclipse-scout-core-theme.css.map +1 -1
- package/dist/eclipse-scout-core.js +9 -1
- package/dist/eclipse-scout-core.js.map +1 -1
- package/dist/file-list +2 -2
- package/dist/texts.json +8 -0
- package/package.json +2 -2
- package/src/session/Session.js +7 -0
- package/dist/eclipse-scout-core-9d2c34f578874327626d.min.js +0 -2
- package/dist/eclipse-scout-core-9d2c34f578874327626d.min.js.map +0 -1
|
@@ -52630,7 +52630,8 @@ var SmartField = /*#__PURE__*/function (_ValueField) {
|
|
|
52630
52630
|
key: "_getSelectedLookupRow",
|
|
52631
52631
|
value: function _getSelectedLookupRow(searchTextChanged) {
|
|
52632
52632
|
// don't use selected lookup row if...
|
|
52633
|
-
if (!this.isPopupOpen() ||
|
|
52633
|
+
if (!this.isPopupOpen() || // 1. popup has been closed
|
|
52634
|
+
searchTextChanged && this._userWasTyping) {
|
|
52634
52635
|
// 2. search text has changed and user was typing
|
|
52635
52636
|
return null;
|
|
52636
52637
|
} // 3. if the result row is from an out-dated result
|
|
@@ -103761,6 +103762,12 @@ var Session = /*#__PURE__*/function () {
|
|
|
103761
103762
|
boxOptions.body = this.optText('ui.UnsafeUploadMsg', boxOptions.body);
|
|
103762
103763
|
boxOptions.yesButtonText = this.optText('ui.Ok', 'Ok');
|
|
103763
103764
|
|
|
103765
|
+
boxOptions.yesButtonAction = function () {};
|
|
103766
|
+
} else if (jsonError.code === Session.JsonResponseError.REJECTED_UPLOAD) {
|
|
103767
|
+
boxOptions.header = this.optText('ui.RejectedUpload', boxOptions.header);
|
|
103768
|
+
boxOptions.body = this.optText('ui.RejectedUploadMsg', boxOptions.body);
|
|
103769
|
+
boxOptions.yesButtonText = this.optText('ui.Ok', 'Ok');
|
|
103770
|
+
|
|
103764
103771
|
boxOptions.yesButtonAction = function () {};
|
|
103765
103772
|
}
|
|
103766
103773
|
|
|
@@ -104540,6 +104547,7 @@ _defineProperty(Session, "JsonResponseError", {
|
|
|
104540
104547
|
SESSION_TIMEOUT: 10,
|
|
104541
104548
|
UI_PROCESSING: 20,
|
|
104542
104549
|
UNSAFE_UPLOAD: 30,
|
|
104550
|
+
REJECTED_UPLOAD: 31,
|
|
104543
104551
|
VERSION_MISMATCH: 40
|
|
104544
104552
|
});
|
|
104545
104553
|
|