x4js 1.6.2 → 1.6.3
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 +6 -1
- package/lib/esm/x4js.mjs.map +2 -2
- package/lib/src/combobox.ts +7 -0
- package/lib/src/version.ts +1 -1
- package/lib/types/x4js.d.ts +4 -4
- package/package.json +1 -1
package/lib/src/combobox.ts
CHANGED
|
@@ -307,6 +307,13 @@ export class ComboBox extends HLayout<ComboBoxProps,ComboBoxEventMap> {
|
|
|
307
307
|
fontSize
|
|
308
308
|
}
|
|
309
309
|
});
|
|
310
|
+
|
|
311
|
+
// lock focus trap
|
|
312
|
+
this.m_popup.setDomEvent( "mousedown", ( ev ) => {
|
|
313
|
+
ev.stopImmediatePropagation( );
|
|
314
|
+
ev.stopPropagation( );
|
|
315
|
+
ev.preventDefault( );
|
|
316
|
+
}, true );
|
|
310
317
|
}
|
|
311
318
|
|
|
312
319
|
this.m_popup.items = items;
|
package/lib/src/version.ts
CHANGED
package/lib/types/x4js.d.ts
CHANGED
|
@@ -3687,7 +3687,7 @@ declare module 'color' {
|
|
|
3687
3687
|
*
|
|
3688
3688
|
*/
|
|
3689
3689
|
static toHSV(c: Color): {
|
|
3690
|
-
h:
|
|
3690
|
+
h: any;
|
|
3691
3691
|
s: number;
|
|
3692
3692
|
v: number;
|
|
3693
3693
|
a: number;
|
|
@@ -3702,7 +3702,7 @@ declare module 'color' {
|
|
|
3702
3702
|
static toHLS(color: Color): {
|
|
3703
3703
|
h: number;
|
|
3704
3704
|
l: number;
|
|
3705
|
-
s:
|
|
3705
|
+
s: any;
|
|
3706
3706
|
};
|
|
3707
3707
|
/**
|
|
3708
3708
|
* get the red value of the color
|
|
@@ -6072,7 +6072,7 @@ declare module 'svgcomponent' {
|
|
|
6072
6072
|
fontWeight(weight: 'light' | 'normal' | 'bold'): this;
|
|
6073
6073
|
textAlign(align: 'left' | 'center' | 'right'): this;
|
|
6074
6074
|
verticalAlign(align: 'top' | 'center' | 'bottom'): this;
|
|
6075
|
-
renderContent():
|
|
6075
|
+
renderContent(): any;
|
|
6076
6076
|
}
|
|
6077
6077
|
/**
|
|
6078
6078
|
*
|
|
@@ -6636,7 +6636,7 @@ declare module 'version' {
|
|
|
6636
6636
|
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
6637
6637
|
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
6638
6638
|
**/
|
|
6639
|
-
export const x4js_version = "1.6.
|
|
6639
|
+
export const x4js_version = "1.6.3";
|
|
6640
6640
|
|
|
6641
6641
|
}
|
|
6642
6642
|
declare module 'x4js' {
|