jsl-ui 9.20.8 → 9.20.10

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.
@@ -108,6 +108,14 @@ var DialogComponent = /** @class */ (function () {
108
108
  DialogComponent.Cancel = function () {
109
109
  return DialogComponent.Button({ content: UILang.core.Cancel, class: "dlg-cancel-btn jsl-button-outline" });
110
110
  };
111
+ // does not work -> dialog still exists in background and wrong renderer is active
112
+ // public static closeAll() {
113
+ // document.querySelectorAll(".jsl-dialog-overlay").forEach((x) => {
114
+ // if (x.parentNode != null) {
115
+ // x.parentNode.removeChild(x);
116
+ // }
117
+ // });
118
+ // }
111
119
  DialogComponent.show = function (options) {
112
120
  var container = document.createElement("div");
113
121
  document.body.appendChild(container);
@@ -113,6 +113,8 @@ var SelectComponent = /** @class */ (function () {
113
113
  if (_this.doNotFocus) {
114
114
  _this.doNotFocus = false;
115
115
  }
116
+ }, click: function (e) {
117
+ e.preventDefault();
116
118
  }
117
119
  }, content: this.expanded ? "▲" : "▼"
118
120
  }]
@@ -350,6 +352,7 @@ var SelectComponent = /** @class */ (function () {
350
352
  _this.setSelected(null);
351
353
  },
352
354
  click: function (e) {
355
+ e.preventDefault();
353
356
  _this.setSelected(null);
354
357
  }
355
358
  }