diff --git a/client/package.json b/client/package.json index df837687e2..92bd5a284e 100644 --- a/client/package.json +++ b/client/package.json @@ -46,6 +46,7 @@ "auto-launch": "^5.0.5", "cordova-plugin-splashscreen": "^6.0.0", "cordova-plugin-statusbar": "^2.2.3", + "dialog-polyfill": "^0.5.6", "electron-updater": "^5.0.5", "element-internals-polyfill": "^1.3.12", "fs-extra": "^11.2.0", @@ -107,8 +108,8 @@ "karma-webpack": "^5.0.0", "minimist": "^1.2.6", "node-fetch": "^3.3.0", - "node-loader": "^2.0.0", "node-gyp": "^10.0.1", + "node-loader": "^2.0.0", "postcss": "^7.0.39", "postcss-rtl": "^1.7.3", "prettier": "^2.8.0", diff --git a/client/src/www/ui_components/app-root.js b/client/src/www/ui_components/app-root.js index 5f8745d700..4735216c4e 100644 --- a/client/src/www/ui_components/app-root.js +++ b/client/src/www/ui_components/app-root.js @@ -14,6 +14,7 @@ limitations under the License. */ +import 'dialog-polyfill'; import 'element-internals-polyfill'; import '@material/web/all.js'; import '@polymer/polymer/polymer-legacy.js'; diff --git a/package-lock.json b/package-lock.json index 90fad9edfc..13714a6fd7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -81,6 +81,7 @@ "auto-launch": "^5.0.5", "cordova-plugin-splashscreen": "^6.0.0", "cordova-plugin-statusbar": "^2.2.3", + "dialog-polyfill": "^0.5.6", "electron-updater": "^5.0.5", "element-internals-polyfill": "^1.3.12", "fs-extra": "^11.2.0", @@ -15284,6 +15285,11 @@ "dev": true, "license": "MIT" }, + "node_modules/dialog-polyfill": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/dialog-polyfill/-/dialog-polyfill-0.5.6.tgz", + "integrity": "sha512-ZbVDJI9uvxPAKze6z146rmfUZjBqNEwcnFTVamQzXH+svluiV7swmVIGr7miwADgfgt1G2JQIytypM9fbyhX4w==" + }, "node_modules/diff": { "version": "3.5.0", "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", @@ -40832,6 +40838,7 @@ "cordova-webintent": "github:cordova-misc/cordova-webintent#v2.0.0", "css-loader": "^5.0.1", "deepmerge": "^4.3.1", + "dialog-polyfill": "^0.5.6", "electron": "19.1.9", "electron-builder": "^23.6.0", "electron-updater": "^5.0.5", @@ -49387,6 +49394,11 @@ "version": "0.0.1", "dev": true }, + "dialog-polyfill": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/dialog-polyfill/-/dialog-polyfill-0.5.6.tgz", + "integrity": "sha512-ZbVDJI9uvxPAKze6z146rmfUZjBqNEwcnFTVamQzXH+svluiV7swmVIGr7miwADgfgt1G2JQIytypM9fbyhX4w==" + }, "diff": { "version": "3.5.0", "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz",