Fix importing interactjs library

This commit is contained in:
Hadi Nategh 2022-05-23 11:35:14 +02:00
parent 55a13aa99d
commit 9f363ad51c
3 changed files with 9 additions and 23 deletions

View File

@ -19,7 +19,7 @@ import {Et2DialogContent} from "./Et2DialogContent";
import {et2_template} from "../et2_widget_template"; import {et2_template} from "../et2_widget_template";
import {etemplate2} from "../etemplate2"; import {etemplate2} from "../etemplate2";
import {IegwAppLocal} from "../../jsapi/egw_global"; import {IegwAppLocal} from "../../jsapi/egw_global";
import interact from "@interactjs/interactjs/index"; import interact from "@interactjs/interactjs";
import type {InteractEvent} from "@interactjs/core/InteractEvent"; import type {InteractEvent} from "@interactjs/core/InteractEvent";
export interface DialogButton export interface DialogButton

29
package-lock.json generated
View File

@ -23,7 +23,6 @@
"@shoelace-style/shoelace": "^2.0.0-beta.73", "@shoelace-style/shoelace": "^2.0.0-beta.73",
"blueimp-gallery": "^3.4.0", "blueimp-gallery": "^3.4.0",
"colortranslator": "^1.9.2", "colortranslator": "^1.9.2",
"interactjs": "^1.10.11",
"lit-flatpickr": "^0.3.0", "lit-flatpickr": "^0.3.0",
"sortablejs": "^1.14.0" "sortablejs": "^1.14.0"
}, },
@ -744,7 +743,8 @@
"node_modules/@interactjs/types": { "node_modules/@interactjs/types": {
"version": "1.10.11", "version": "1.10.11",
"resolved": "https://registry.npmjs.org/@interactjs/types/-/types-1.10.11.tgz", "resolved": "https://registry.npmjs.org/@interactjs/types/-/types-1.10.11.tgz",
"integrity": "sha512-YRsVFWjL8Gkkvlx3qnjeaxW4fnibSJ9791g8BA7Pv5ANByI64WmtR1vU7A2rXcrOn8XvyCEfY0ss1s8NhZP+MA==" "integrity": "sha512-YRsVFWjL8Gkkvlx3qnjeaxW4fnibSJ9791g8BA7Pv5ANByI64WmtR1vU7A2rXcrOn8XvyCEfY0ss1s8NhZP+MA==",
"dev": true
}, },
"node_modules/@interactjs/utils": { "node_modules/@interactjs/utils": {
"version": "1.10.11", "version": "1.10.11",
@ -3740,14 +3740,6 @@
"integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
"dev": true "dev": true
}, },
"node_modules/interactjs": {
"version": "1.10.11",
"resolved": "https://registry.npmjs.org/interactjs/-/interactjs-1.10.11.tgz",
"integrity": "sha512-VPUWsGAOPmrZe1YF7Fq/4AIBBZ+3FikZRS8bpzT6VsAfUuhxl/CKJY73IAiZHd3fz9p174CXErn0Qs81XEFICA==",
"dependencies": {
"@interactjs/types": "1.10.11"
}
},
"node_modules/interpret": { "node_modules/interpret": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz", "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz",
@ -6711,7 +6703,8 @@
"version": "1.10.11", "version": "1.10.11",
"resolved": "https://registry.npmjs.org/@interactjs/core/-/core-1.10.11.tgz", "resolved": "https://registry.npmjs.org/@interactjs/core/-/core-1.10.11.tgz",
"integrity": "sha512-aJ50ccVeszpJt7wPH7Yfqm7f1aG1SA94qd90P0NaESh5/QUXn4CESO6igobo4DFHQ5z+1Rfdl8aphP4JxlH4gw==", "integrity": "sha512-aJ50ccVeszpJt7wPH7Yfqm7f1aG1SA94qd90P0NaESh5/QUXn4CESO6igobo4DFHQ5z+1Rfdl8aphP4JxlH4gw==",
"dev": true "dev": true,
"requires": {}
}, },
"@interactjs/dev-tools": { "@interactjs/dev-tools": {
"version": "1.10.11", "version": "1.10.11",
@ -6812,7 +6805,8 @@
"@interactjs/types": { "@interactjs/types": {
"version": "1.10.11", "version": "1.10.11",
"resolved": "https://registry.npmjs.org/@interactjs/types/-/types-1.10.11.tgz", "resolved": "https://registry.npmjs.org/@interactjs/types/-/types-1.10.11.tgz",
"integrity": "sha512-YRsVFWjL8Gkkvlx3qnjeaxW4fnibSJ9791g8BA7Pv5ANByI64WmtR1vU7A2rXcrOn8XvyCEfY0ss1s8NhZP+MA==" "integrity": "sha512-YRsVFWjL8Gkkvlx3qnjeaxW4fnibSJ9791g8BA7Pv5ANByI64WmtR1vU7A2rXcrOn8XvyCEfY0ss1s8NhZP+MA==",
"dev": true
}, },
"@interactjs/utils": { "@interactjs/utils": {
"version": "1.10.11", "version": "1.10.11",
@ -9189,14 +9183,6 @@
"integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
"dev": true "dev": true
}, },
"interactjs": {
"version": "1.10.11",
"resolved": "https://registry.npmjs.org/interactjs/-/interactjs-1.10.11.tgz",
"integrity": "sha512-VPUWsGAOPmrZe1YF7Fq/4AIBBZ+3FikZRS8bpzT6VsAfUuhxl/CKJY73IAiZHd3fz9p174CXErn0Qs81XEFICA==",
"requires": {
"@interactjs/types": "1.10.11"
}
},
"interpret": { "interpret": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz", "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz",
@ -11115,7 +11101,8 @@
"version": "7.5.3", "version": "7.5.3",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz", "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz",
"integrity": "sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg==", "integrity": "sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg==",
"dev": true "dev": true,
"requires": {}
}, },
"yallist": { "yallist": {
"version": "4.0.0", "version": "4.0.0",

View File

@ -66,7 +66,6 @@
"@shoelace-style/shoelace": "^2.0.0-beta.73", "@shoelace-style/shoelace": "^2.0.0-beta.73",
"blueimp-gallery": "^3.4.0", "blueimp-gallery": "^3.4.0",
"colortranslator": "^1.9.2", "colortranslator": "^1.9.2",
"interactjs": "^1.10.11",
"lit-flatpickr": "^0.3.0", "lit-flatpickr": "^0.3.0",
"sortablejs": "^1.14.0" "sortablejs": "^1.14.0"
}, },