From 9f363ad51cfcff0c3bbc0356c2c1e9fb233b9ddd Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 23 May 2022 11:35:14 +0200 Subject: [PATCH] Fix importing interactjs library --- api/js/etemplate/Et2Dialog/Et2Dialog.ts | 2 +- package-lock.json | 29 +++++++------------------ package.json | 1 - 3 files changed, 9 insertions(+), 23 deletions(-) diff --git a/api/js/etemplate/Et2Dialog/Et2Dialog.ts b/api/js/etemplate/Et2Dialog/Et2Dialog.ts index 0a3f8ff4fd..0bfab4d753 100644 --- a/api/js/etemplate/Et2Dialog/Et2Dialog.ts +++ b/api/js/etemplate/Et2Dialog/Et2Dialog.ts @@ -19,7 +19,7 @@ import {Et2DialogContent} from "./Et2DialogContent"; import {et2_template} from "../et2_widget_template"; import {etemplate2} from "../etemplate2"; import {IegwAppLocal} from "../../jsapi/egw_global"; -import interact from "@interactjs/interactjs/index"; +import interact from "@interactjs/interactjs"; import type {InteractEvent} from "@interactjs/core/InteractEvent"; export interface DialogButton diff --git a/package-lock.json b/package-lock.json index d8014fc04a..6129b729b3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,6 @@ "@shoelace-style/shoelace": "^2.0.0-beta.73", "blueimp-gallery": "^3.4.0", "colortranslator": "^1.9.2", - "interactjs": "^1.10.11", "lit-flatpickr": "^0.3.0", "sortablejs": "^1.14.0" }, @@ -744,7 +743,8 @@ "node_modules/@interactjs/types": { "version": "1.10.11", "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": { "version": "1.10.11", @@ -3740,14 +3740,6 @@ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", "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": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz", @@ -6711,7 +6703,8 @@ "version": "1.10.11", "resolved": "https://registry.npmjs.org/@interactjs/core/-/core-1.10.11.tgz", "integrity": "sha512-aJ50ccVeszpJt7wPH7Yfqm7f1aG1SA94qd90P0NaESh5/QUXn4CESO6igobo4DFHQ5z+1Rfdl8aphP4JxlH4gw==", - "dev": true + "dev": true, + "requires": {} }, "@interactjs/dev-tools": { "version": "1.10.11", @@ -6812,7 +6805,8 @@ "@interactjs/types": { "version": "1.10.11", "resolved": "https://registry.npmjs.org/@interactjs/types/-/types-1.10.11.tgz", - "integrity": "sha512-YRsVFWjL8Gkkvlx3qnjeaxW4fnibSJ9791g8BA7Pv5ANByI64WmtR1vU7A2rXcrOn8XvyCEfY0ss1s8NhZP+MA==" + "integrity": "sha512-YRsVFWjL8Gkkvlx3qnjeaxW4fnibSJ9791g8BA7Pv5ANByI64WmtR1vU7A2rXcrOn8XvyCEfY0ss1s8NhZP+MA==", + "dev": true }, "@interactjs/utils": { "version": "1.10.11", @@ -9189,14 +9183,6 @@ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", "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": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz", @@ -11115,7 +11101,8 @@ "version": "7.5.3", "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz", "integrity": "sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg==", - "dev": true + "dev": true, + "requires": {} }, "yallist": { "version": "4.0.0", diff --git a/package.json b/package.json index d0c1ab42c2..53b0e9b1d5 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,6 @@ "@shoelace-style/shoelace": "^2.0.0-beta.73", "blueimp-gallery": "^3.4.0", "colortranslator": "^1.9.2", - "interactjs": "^1.10.11", "lit-flatpickr": "^0.3.0", "sortablejs": "^1.14.0" },