x4js 1.6.2 → 1.6.4
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/lib/cjs/x4js.js +2 -2
- package/lib/cjs/x4js.js.map +3 -3
- package/lib/esm/x4js.mjs +7 -2
- package/lib/esm/x4js.mjs.map +2 -2
- package/lib/src/combobox.ts +7 -0
- package/lib/src/menu.ts +1 -1
- package/lib/src/version.ts +1 -1
- package/lib/src/x4.less +1 -0
- package/lib/styles/x4.css +1 -0
- package/lib/styles/x4.less +1 -0
- package/lib/types/x4js.d.ts +4 -4
- package/package.json +1 -1
package/lib/esm/x4js.mjs
CHANGED
|
@@ -4820,7 +4820,7 @@ var MenuItem = class extends Component {
|
|
|
4820
4820
|
let icon = props.icon ?? 0;
|
|
4821
4821
|
let text = props.text;
|
|
4822
4822
|
if (props.checked !== void 0) {
|
|
4823
|
-
icon = props.checked ? "var( --x4-icon-check )" :
|
|
4823
|
+
icon = props.checked ? "var( --x4-icon-check )" : "var( --x4-icon-uncheck )";
|
|
4824
4824
|
}
|
|
4825
4825
|
if (this.m_action) {
|
|
4826
4826
|
if (!icon) {
|
|
@@ -8860,6 +8860,11 @@ var ComboBox = class extends HLayout {
|
|
|
8860
8860
|
fontSize
|
|
8861
8861
|
}
|
|
8862
8862
|
});
|
|
8863
|
+
this.m_popup.setDomEvent("mousedown", (ev) => {
|
|
8864
|
+
ev.stopImmediatePropagation();
|
|
8865
|
+
ev.stopPropagation();
|
|
8866
|
+
ev.preventDefault();
|
|
8867
|
+
}, true);
|
|
8863
8868
|
}
|
|
8864
8869
|
this.m_popup.items = items;
|
|
8865
8870
|
let r1 = this.m_ui_button.getBoundingRect(), r2 = this.m_ui_input.getBoundingRect();
|
|
@@ -15754,7 +15759,7 @@ function setupWSMessaging(closeCB) {
|
|
|
15754
15759
|
__name(setupWSMessaging, "setupWSMessaging");
|
|
15755
15760
|
|
|
15756
15761
|
// src/version.ts
|
|
15757
|
-
var x4js_version = "1.6.
|
|
15762
|
+
var x4js_version = "1.6.3";
|
|
15758
15763
|
export {
|
|
15759
15764
|
AbsLayout,
|
|
15760
15765
|
Application,
|