From f3c09d80e7afc548cb28e69c8c89fa18b187ab49 Mon Sep 17 00:00:00 2001 From: Nordine Bittich <3816305+nbittich@users.noreply.github.com> Date: Thu, 2 Jun 2022 16:56:36 +0200 Subject: [PATCH] fix bug chrome & aumodal (#358) --- app/components/contact-details.hbs | 4 +- app/components/custom-modal.hbs | 69 +++ app/components/custom-modal.js | 51 ++ package-lock.json | 815 +++++++++++++++++------------ package.json | 2 +- 5 files changed, 604 insertions(+), 337 deletions(-) create mode 100644 app/components/custom-modal.hbs create mode 100644 app/components/custom-modal.js diff --git a/app/components/contact-details.hbs b/app/components/contact-details.hbs index f7c65323b..ace4cd5ef 100644 --- a/app/components/contact-details.hbs +++ b/app/components/contact-details.hbs @@ -103,7 +103,7 @@ - - + {{/if}} \ No newline at end of file diff --git a/app/components/custom-modal.hbs b/app/components/custom-modal.hbs new file mode 100644 index 000000000..b661c4d27 --- /dev/null +++ b/app/components/custom-modal.hbs @@ -0,0 +1,69 @@ +{{#if @modalOpen}} + {{#in-element this.destinationElement}} +
+ + {{/in-element}} +{{/if}} \ No newline at end of file diff --git a/app/components/custom-modal.js b/app/components/custom-modal.js new file mode 100644 index 000000000..4971d1651 --- /dev/null +++ b/app/components/custom-modal.js @@ -0,0 +1,51 @@ +import { action } from '@ember/object'; +import Component from '@glimmer/component'; +const LANDMARKS = ['aside', 'footer', 'form', 'header', 'main', 'nav']; + +/** + * TODO workaround for Issue https://github.com/appuniversum/ember-appuniversum/issues/273 + * once fixed in appuniversum, we must drop this component & use the standard one again + */ +export default class CustomModal extends Component { + get destinationElement() { + return document.getElementById('ember-appuniversum-wormhole'); + } + + get size() { + if (this.args.size === 'fullscreen') return 'au-c-modal--fullscreen'; + if (this.args.size === 'large') return 'au-c-modal--large'; + else return ''; + } + + get padding() { + if (this.args.padding === 'none') return ' au-c-modal--flush'; + else return ''; + } + + get title() { + if (this.args.title) { + return this.args.title; + } else { + return undefined; + } + } + + @action + setInert(toggle) { + let landmarkElements = document.querySelectorAll(LANDMARKS); + + this.destinationElement.inert = toggle; + + landmarkElements.forEach(function (landmarkElement) { + if (landmarkElement.parentElement === document.body) { + landmarkElement.inert = !toggle; + } + }); + } + + @action + closeModal() { + this.setInert(true); + this.args.closeModal?.(); + } +} diff --git a/package-lock.json b/package-lock.json index 85cbad31e..8509ca93f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.9.0-3", "license": "MIT", "devDependencies": { - "@appuniversum/ember-appuniversum": "^1.0.6", + "@appuniversum/ember-appuniversum": "^1.0.17", "@ember/optional-features": "^2.0.0", "@ember/test-helpers": "^2.6.0", "@glimmer/component": "^1.0.4", @@ -100,9 +100,9 @@ "dev": true }, "node_modules/@appuniversum/ember-appuniversum": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@appuniversum/ember-appuniversum/-/ember-appuniversum-1.0.9.tgz", - "integrity": "sha512-dS5Nivi2+/4FFw9NT0slU2cwrEJj4sRNei4sigYSaqb2XuxiqnA6+p6jAWaUPjyi4hdH4U4oAsCnVFc5HBb/QA==", + "version": "1.0.17", + "resolved": "https://registry.npmjs.org/@appuniversum/ember-appuniversum/-/ember-appuniversum-1.0.17.tgz", + "integrity": "sha512-eFP6aBOdkfMDDHgx3wY8jkr9IewX+R/EBJ5CZaBISw4YmmYzArk5Uw+CCgWQVYVTgZHS9lNNlYBcSs7J4dylLQ==", "dev": true, "dependencies": { "@appuniversum/appuniversum": "^1.0.0", @@ -118,9 +118,10 @@ "ember-file-upload": "^4.0.1", "ember-focus-trap": "^1.0.1", "ember-inputmask5": "^3.2.0", + "ember-modifier": "^3.2.7", "ember-named-blocks-polyfill": "^0.2.5", - "ember-prop-modifier": "^1.0.1", - "ember-test-selectors": "^6.0.0" + "ember-test-selectors": "^6.0.0", + "tracked-toolbox": "^1.2.3" }, "engines": { "node": "12.* || 14.* || >= 16" @@ -12196,6 +12197,21 @@ "node": "8.* || >= 10.*" } }, + "node_modules/ember-cache-primitive-polyfill": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ember-cache-primitive-polyfill/-/ember-cache-primitive-polyfill-1.0.1.tgz", + "integrity": "sha512-hSPcvIKarA8wad2/b6jDd/eU+OtKmi6uP+iYQbzi5TQpjsqV6b4QdRqrLk7ClSRRKBAtdTuutx+m+X+WlEd2lw==", + "dev": true, + "dependencies": { + "ember-cli-babel": "^7.22.1", + "ember-cli-version-checker": "^5.1.1", + "ember-compatibility-helpers": "^1.2.1", + "silent-error": "^1.1.1" + }, + "engines": { + "node": "10.* || >= 12" + } + }, "node_modules/ember-changeset": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/ember-changeset/-/ember-changeset-4.1.0.tgz", @@ -18538,186 +18554,6 @@ "node": "8.* || >= 10.*" } }, - "node_modules/ember-prop-modifier": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/ember-prop-modifier/-/ember-prop-modifier-1.0.1.tgz", - "integrity": "sha512-IbWHOY1MtEFwA5oMC+54CiTh0TuhMDIE6Z+QyX9pYvIOpr+BJsDphujPw9697Dt/0EK3PE41ZWllI8G4Butd/w==", - "dev": true, - "dependencies": { - "ember-cli-babel": "^7.1.2", - "ember-modifier": "^2.1.1" - }, - "engines": { - "node": "10.* || >= 12.*" - } - }, - "node_modules/ember-prop-modifier/node_modules/@babel/plugin-transform-typescript": { - "version": "7.8.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.8.7.tgz", - "integrity": "sha512-7O0UsPQVNKqpHeHLpfvOG4uXmlw+MOxYvUv6Otc9uH5SYMIxvF6eBdjkWvC3f9G+VXe0RsNExyAQBeTRug/wqQ==", - "dev": true, - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.8.3", - "@babel/helper-plugin-utils": "^7.8.3", - "@babel/plugin-syntax-typescript": "^7.8.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/ember-prop-modifier/node_modules/ember-cli-typescript": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/ember-cli-typescript/-/ember-cli-typescript-3.1.4.tgz", - "integrity": "sha512-HJ73kL45OGRmIkPhBNFt31I1SGUvdZND+LCH21+qpq3pPlFpJG8GORyXpP+2ze8PbnITNLzwe5AwUrpyuRswdQ==", - "dev": true, - "dependencies": { - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4", - "@babel/plugin-proposal-optional-chaining": "^7.6.0", - "@babel/plugin-transform-typescript": "~7.8.0", - "ansi-to-html": "^0.6.6", - "broccoli-stew": "^3.0.0", - "debug": "^4.0.0", - "ember-cli-babel-plugin-helpers": "^1.0.0", - "execa": "^3.0.0", - "fs-extra": "^8.0.0", - "resolve": "^1.5.0", - "rsvp": "^4.8.1", - "semver": "^6.3.0", - "stagehand": "^1.0.0", - "walk-sync": "^2.0.0" - }, - "engines": { - "node": "8.* || >= 10.*" - } - }, - "node_modules/ember-prop-modifier/node_modules/ember-modifier": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ember-modifier/-/ember-modifier-2.1.2.tgz", - "integrity": "sha512-3Lsu1fV1sIGa66HOW07RZc6EHISwKt5VA5AUnFss2HX6OTfpxTJ2qvPctt2Yt0XPQXJ4G6BQasr/F35CX7UGJA==", - "dev": true, - "dependencies": { - "ember-cli-babel": "^7.22.1", - "ember-cli-normalize-entity-name": "^1.0.0", - "ember-cli-string-utils": "^1.1.0", - "ember-cli-typescript": "^3.1.3", - "ember-compatibility-helpers": "^1.2.4", - "ember-destroyable-polyfill": "^2.0.2", - "ember-modifier-manager-polyfill": "^1.2.0" - }, - "engines": { - "node": "10.* || >= 12" - } - }, - "node_modules/ember-prop-modifier/node_modules/execa": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-3.4.0.tgz", - "integrity": "sha512-r9vdGQk4bmCuK1yKQu1KTwcT2zwfWdbdaXfCtAh+5nU/4fSX+JAb7vZGvI5naJrQlvONrEB20jeruESI69530g==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.0", - "get-stream": "^5.0.0", - "human-signals": "^1.1.1", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.0", - "onetime": "^5.1.0", - "p-finally": "^2.0.0", - "signal-exit": "^3.0.2", - "strip-final-newline": "^2.0.0" - }, - "engines": { - "node": "^8.12.0 || >=9.7.0" - } - }, - "node_modules/ember-prop-modifier/node_modules/fs-extra": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/ember-prop-modifier/node_modules/get-stream": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", - "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", - "dev": true, - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ember-prop-modifier/node_modules/human-signals": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz", - "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==", - "dev": true, - "engines": { - "node": ">=8.12.0" - } - }, - "node_modules/ember-prop-modifier/node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", - "dev": true, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/ember-prop-modifier/node_modules/rsvp": { - "version": "4.8.5", - "resolved": "https://registry.npmjs.org/rsvp/-/rsvp-4.8.5.tgz", - "integrity": "sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA==", - "dev": true, - "engines": { - "node": "6.* || >= 7.*" - } - }, - "node_modules/ember-prop-modifier/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/ember-prop-modifier/node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true, - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/ember-prop-modifier/node_modules/walk-sync": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/walk-sync/-/walk-sync-2.2.0.tgz", - "integrity": "sha512-IC8sL7aB4/ZgFcGI2T1LczZeFWZ06b3zoHH7jBPyHxOtIIz1jppWHjjEXkOFvFojBVAK9pV7g47xOZ4LW3QLfg==", - "dev": true, - "dependencies": { - "@types/minimatch": "^3.0.3", - "ensure-posix-path": "^1.1.0", - "matcher-collection": "^2.0.0", - "minimatch": "^3.0.4" - }, - "engines": { - "node": "8.* || >= 10.*" - } - }, "node_modules/ember-qunit": { "version": "5.1.5", "resolved": "https://registry.npmjs.org/ember-qunit/-/ember-qunit-5.1.5.tgz", @@ -35520,6 +35356,252 @@ "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=", "dev": true }, + "node_modules/tracked-maps-and-sets": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tracked-maps-and-sets/-/tracked-maps-and-sets-2.2.1.tgz", + "integrity": "sha512-XYrXh6L/GpGmVmG3KcN/qoDyi4FxHh8eZY/BA/RuoxynskV+GZSfwrX3R+5DR2CIkzkCx4zi4kkDRg1AMDfDhg==", + "dev": true, + "dependencies": { + "@glimmer/tracking": "^1.0.0", + "ember-cli-babel": "^7.17.2" + }, + "engines": { + "node": "10.* || >= 12" + } + }, + "node_modules/tracked-toolbox": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/tracked-toolbox/-/tracked-toolbox-1.2.3.tgz", + "integrity": "sha512-0axTjBYinHurXoat9Qk71GbCxR2GZWDbhV3aGQmeGr7FxGXvfz+/mvuG69Nl3omkOdYy5GRjy7lYXJbDz8lPMA==", + "dev": true, + "dependencies": { + "ember-cache-primitive-polyfill": "^1.0.0", + "ember-cli-babel": "^7.21.0", + "ember-cli-htmlbars": "^5.3.1", + "tracked-maps-and-sets": "^2.0.0" + }, + "engines": { + "node": "8.* || >= 10.*" + } + }, + "node_modules/tracked-toolbox/node_modules/async-disk-cache": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/async-disk-cache/-/async-disk-cache-2.1.0.tgz", + "integrity": "sha512-iH+boep2xivfD9wMaZWkywYIURSmsL96d6MoqrC94BnGSvXE4Quf8hnJiHGFYhw/nLeIa1XyRaf4vvcvkwAefg==", + "dev": true, + "dependencies": { + "debug": "^4.1.1", + "heimdalljs": "^0.2.3", + "istextorbinary": "^2.5.1", + "mkdirp": "^0.5.0", + "rimraf": "^3.0.0", + "rsvp": "^4.8.5", + "username-sync": "^1.0.2" + }, + "engines": { + "node": "8.* || >= 10.*" + } + }, + "node_modules/tracked-toolbox/node_modules/broccoli-persistent-filter": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/broccoli-persistent-filter/-/broccoli-persistent-filter-3.1.2.tgz", + "integrity": "sha512-CbU95RXXVyy+eJV9XTiHUC7NnsY3EvdVrGzp3YgyvO2bzXZFE5/GzDp4X/VQqX+jsk4qyT1HvMOF0sD1DX68TQ==", + "dev": true, + "dependencies": { + "async-disk-cache": "^2.0.0", + "async-promise-queue": "^1.0.3", + "broccoli-plugin": "^4.0.3", + "fs-tree-diff": "^2.0.0", + "hash-for-dep": "^1.5.0", + "heimdalljs": "^0.2.1", + "heimdalljs-logger": "^0.1.7", + "promise-map-series": "^0.2.1", + "rimraf": "^3.0.0", + "symlink-or-copy": "^1.0.1", + "sync-disk-cache": "^2.0.0" + }, + "engines": { + "node": "10.* || >= 12.*" + } + }, + "node_modules/tracked-toolbox/node_modules/broccoli-plugin": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/broccoli-plugin/-/broccoli-plugin-4.0.7.tgz", + "integrity": "sha512-a4zUsWtA1uns1K7p9rExYVYG99rdKeGRymW0qOCNkvDPHQxVi3yVyJHhQbM3EZwdt2E0mnhr5e0c/bPpJ7p3Wg==", + "dev": true, + "dependencies": { + "broccoli-node-api": "^1.7.0", + "broccoli-output-wrapper": "^3.2.5", + "fs-merger": "^3.2.1", + "promise-map-series": "^0.3.0", + "quick-temp": "^0.1.8", + "rimraf": "^3.0.2", + "symlink-or-copy": "^1.3.1" + }, + "engines": { + "node": "10.* || >= 12.*" + } + }, + "node_modules/tracked-toolbox/node_modules/broccoli-plugin/node_modules/promise-map-series": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/promise-map-series/-/promise-map-series-0.3.0.tgz", + "integrity": "sha512-3npG2NGhTc8BWBolLLf8l/92OxMGaRLbqvIh9wjCHhDXNvk4zsxaTaCpiCunW09qWPrN2zeNSNwRLVBrQQtutA==", + "dev": true, + "engines": { + "node": "10.* || >= 12.*" + } + }, + "node_modules/tracked-toolbox/node_modules/editions": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/editions/-/editions-2.3.1.tgz", + "integrity": "sha512-ptGvkwTvGdGfC0hfhKg0MT+TRLRKGtUiWGBInxOm5pz7ssADezahjCUaYuZ8Dr+C05FW0AECIIPt4WBxVINEhA==", + "dev": true, + "dependencies": { + "errlop": "^2.0.0", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=0.8" + }, + "funding": { + "url": "https://bevry.me/fund" + } + }, + "node_modules/tracked-toolbox/node_modules/editions/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/tracked-toolbox/node_modules/ember-cli-htmlbars": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ember-cli-htmlbars/-/ember-cli-htmlbars-5.7.2.tgz", + "integrity": "sha512-Uj6R+3TtBV5RZoJY14oZn/sNPnc+UgmC8nb5rI4P3fR/gYoyTFIZSXiIM7zl++IpMoIrocxOrgt+mhonKphgGg==", + "dev": true, + "dependencies": { + "@ember/edition-utils": "^1.2.0", + "babel-plugin-htmlbars-inline-precompile": "^5.0.0", + "broccoli-debug": "^0.6.5", + "broccoli-persistent-filter": "^3.1.2", + "broccoli-plugin": "^4.0.3", + "common-tags": "^1.8.0", + "ember-cli-babel-plugin-helpers": "^1.1.1", + "ember-cli-version-checker": "^5.1.2", + "fs-tree-diff": "^2.0.1", + "hash-for-dep": "^1.5.1", + "heimdalljs-logger": "^0.1.10", + "json-stable-stringify": "^1.0.1", + "semver": "^7.3.4", + "silent-error": "^1.1.1", + "strip-bom": "^4.0.0", + "walk-sync": "^2.2.0" + }, + "engines": { + "node": "10.* || >= 12.*" + } + }, + "node_modules/tracked-toolbox/node_modules/fs-tree-diff": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/fs-tree-diff/-/fs-tree-diff-2.0.1.tgz", + "integrity": "sha512-x+CfAZ/lJHQqwlD64pYM5QxWjzWhSjroaVsr8PW831zOApL55qPibed0c+xebaLWVr2BnHFoHdrwOv8pzt8R5A==", + "dev": true, + "dependencies": { + "@types/symlink-or-copy": "^1.2.0", + "heimdalljs-logger": "^0.1.7", + "object-assign": "^4.1.0", + "path-posix": "^1.0.0", + "symlink-or-copy": "^1.1.8" + }, + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/tracked-toolbox/node_modules/istextorbinary": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/istextorbinary/-/istextorbinary-2.6.0.tgz", + "integrity": "sha512-+XRlFseT8B3L9KyjxxLjfXSLMuErKDsd8DBNrsaxoViABMEZlOSCstwmw0qpoFX3+U6yWU1yhLudAe6/lETGGA==", + "dev": true, + "dependencies": { + "binaryextensions": "^2.1.2", + "editions": "^2.2.0", + "textextensions": "^2.5.0" + }, + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://bevry.me/fund" + } + }, + "node_modules/tracked-toolbox/node_modules/minimist": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", + "dev": true + }, + "node_modules/tracked-toolbox/node_modules/mkdirp": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", + "dev": true, + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "node_modules/tracked-toolbox/node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/tracked-toolbox/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/tracked-toolbox/node_modules/rsvp": { + "version": "4.8.5", + "resolved": "https://registry.npmjs.org/rsvp/-/rsvp-4.8.5.tgz", + "integrity": "sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA==", + "dev": true, + "engines": { + "node": "6.* || >= 7.*" + } + }, + "node_modules/tracked-toolbox/node_modules/walk-sync": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/walk-sync/-/walk-sync-2.2.0.tgz", + "integrity": "sha512-IC8sL7aB4/ZgFcGI2T1LczZeFWZ06b3zoHH7jBPyHxOtIIz1jppWHjjEXkOFvFojBVAK9pV7g47xOZ4LW3QLfg==", + "dev": true, + "dependencies": { + "@types/minimatch": "^3.0.3", + "ensure-posix-path": "^1.1.0", + "matcher-collection": "^2.0.0", + "minimatch": "^3.0.4" + }, + "engines": { + "node": "8.* || >= 10.*" + } + }, "node_modules/tree-sync": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/tree-sync/-/tree-sync-1.4.0.tgz", @@ -37083,9 +37165,9 @@ "dev": true }, "@appuniversum/ember-appuniversum": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@appuniversum/ember-appuniversum/-/ember-appuniversum-1.0.9.tgz", - "integrity": "sha512-dS5Nivi2+/4FFw9NT0slU2cwrEJj4sRNei4sigYSaqb2XuxiqnA6+p6jAWaUPjyi4hdH4U4oAsCnVFc5HBb/QA==", + "version": "1.0.17", + "resolved": "https://registry.npmjs.org/@appuniversum/ember-appuniversum/-/ember-appuniversum-1.0.17.tgz", + "integrity": "sha512-eFP6aBOdkfMDDHgx3wY8jkr9IewX+R/EBJ5CZaBISw4YmmYzArk5Uw+CCgWQVYVTgZHS9lNNlYBcSs7J4dylLQ==", "dev": true, "requires": { "@appuniversum/appuniversum": "^1.0.0", @@ -37102,10 +37184,11 @@ "ember-file-upload": "^4.0.1", "ember-focus-trap": "^1.0.1", "ember-inputmask5": "^3.2.0", + "ember-modifier": "^3.2.7", "ember-named-blocks-polyfill": "^0.2.5", "ember-power-select": "2.x || 3.x || 4.x || 5.x", - "ember-prop-modifier": "^1.0.1", - "ember-test-selectors": "^6.0.0" + "ember-test-selectors": "^6.0.0", + "tracked-toolbox": "^1.2.3" } }, "@babel/code-frame": { @@ -47052,6 +47135,18 @@ } } }, + "ember-cache-primitive-polyfill": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ember-cache-primitive-polyfill/-/ember-cache-primitive-polyfill-1.0.1.tgz", + "integrity": "sha512-hSPcvIKarA8wad2/b6jDd/eU+OtKmi6uP+iYQbzi5TQpjsqV6b4QdRqrLk7ClSRRKBAtdTuutx+m+X+WlEd2lw==", + "dev": true, + "requires": { + "ember-cli-babel": "^7.22.1", + "ember-cli-version-checker": "^5.1.1", + "ember-compatibility-helpers": "^1.2.1", + "silent-error": "^1.1.1" + } + }, "ember-changeset": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/ember-changeset/-/ember-changeset-4.1.0.tgz", @@ -52216,149 +52311,6 @@ } } }, - "ember-prop-modifier": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/ember-prop-modifier/-/ember-prop-modifier-1.0.1.tgz", - "integrity": "sha512-IbWHOY1MtEFwA5oMC+54CiTh0TuhMDIE6Z+QyX9pYvIOpr+BJsDphujPw9697Dt/0EK3PE41ZWllI8G4Butd/w==", - "dev": true, - "requires": { - "ember-cli-babel": "^7.1.2", - "ember-modifier": "^2.1.1" - }, - "dependencies": { - "@babel/plugin-transform-typescript": { - "version": "7.8.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.8.7.tgz", - "integrity": "sha512-7O0UsPQVNKqpHeHLpfvOG4uXmlw+MOxYvUv6Otc9uH5SYMIxvF6eBdjkWvC3f9G+VXe0RsNExyAQBeTRug/wqQ==", - "dev": true, - "requires": { - "@babel/helper-create-class-features-plugin": "^7.8.3", - "@babel/helper-plugin-utils": "^7.8.3", - "@babel/plugin-syntax-typescript": "^7.8.3" - } - }, - "ember-cli-typescript": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/ember-cli-typescript/-/ember-cli-typescript-3.1.4.tgz", - "integrity": "sha512-HJ73kL45OGRmIkPhBNFt31I1SGUvdZND+LCH21+qpq3pPlFpJG8GORyXpP+2ze8PbnITNLzwe5AwUrpyuRswdQ==", - "dev": true, - "requires": { - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4", - "@babel/plugin-proposal-optional-chaining": "^7.6.0", - "@babel/plugin-transform-typescript": "~7.8.0", - "ansi-to-html": "^0.6.6", - "broccoli-stew": "^3.0.0", - "debug": "^4.0.0", - "ember-cli-babel-plugin-helpers": "^1.0.0", - "execa": "^3.0.0", - "fs-extra": "^8.0.0", - "resolve": "^1.5.0", - "rsvp": "^4.8.1", - "semver": "^6.3.0", - "stagehand": "^1.0.0", - "walk-sync": "^2.0.0" - } - }, - "ember-modifier": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ember-modifier/-/ember-modifier-2.1.2.tgz", - "integrity": "sha512-3Lsu1fV1sIGa66HOW07RZc6EHISwKt5VA5AUnFss2HX6OTfpxTJ2qvPctt2Yt0XPQXJ4G6BQasr/F35CX7UGJA==", - "dev": true, - "requires": { - "ember-cli-babel": "^7.22.1", - "ember-cli-normalize-entity-name": "^1.0.0", - "ember-cli-string-utils": "^1.1.0", - "ember-cli-typescript": "^3.1.3", - "ember-compatibility-helpers": "^1.2.4", - "ember-destroyable-polyfill": "^2.0.2", - "ember-modifier-manager-polyfill": "^1.2.0" - } - }, - "execa": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-3.4.0.tgz", - "integrity": "sha512-r9vdGQk4bmCuK1yKQu1KTwcT2zwfWdbdaXfCtAh+5nU/4fSX+JAb7vZGvI5naJrQlvONrEB20jeruESI69530g==", - "dev": true, - "requires": { - "cross-spawn": "^7.0.0", - "get-stream": "^5.0.0", - "human-signals": "^1.1.1", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.0", - "onetime": "^5.1.0", - "p-finally": "^2.0.0", - "signal-exit": "^3.0.2", - "strip-final-newline": "^2.0.0" - } - }, - "fs-extra": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", - "dev": true, - "requires": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - } - }, - "get-stream": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", - "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", - "dev": true, - "requires": { - "pump": "^3.0.0" - } - }, - "human-signals": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz", - "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==", - "dev": true - }, - "jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6" - } - }, - "rsvp": { - "version": "4.8.5", - "resolved": "https://registry.npmjs.org/rsvp/-/rsvp-4.8.5.tgz", - "integrity": "sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA==", - "dev": true - }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - }, - "universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true - }, - "walk-sync": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/walk-sync/-/walk-sync-2.2.0.tgz", - "integrity": "sha512-IC8sL7aB4/ZgFcGI2T1LczZeFWZ06b3zoHH7jBPyHxOtIIz1jppWHjjEXkOFvFojBVAK9pV7g47xOZ4LW3QLfg==", - "dev": true, - "requires": { - "@types/minimatch": "^3.0.3", - "ensure-posix-path": "^1.1.0", - "matcher-collection": "^2.0.0", - "minimatch": "^3.0.4" - } - } - } - }, "ember-qunit": { "version": "5.1.5", "resolved": "https://registry.npmjs.org/ember-qunit/-/ember-qunit-5.1.5.tgz", @@ -65400,6 +65352,201 @@ "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=", "dev": true }, + "tracked-maps-and-sets": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tracked-maps-and-sets/-/tracked-maps-and-sets-2.2.1.tgz", + "integrity": "sha512-XYrXh6L/GpGmVmG3KcN/qoDyi4FxHh8eZY/BA/RuoxynskV+GZSfwrX3R+5DR2CIkzkCx4zi4kkDRg1AMDfDhg==", + "dev": true, + "requires": { + "@glimmer/tracking": "^1.0.0", + "ember-cli-babel": "^7.17.2" + } + }, + "tracked-toolbox": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/tracked-toolbox/-/tracked-toolbox-1.2.3.tgz", + "integrity": "sha512-0axTjBYinHurXoat9Qk71GbCxR2GZWDbhV3aGQmeGr7FxGXvfz+/mvuG69Nl3omkOdYy5GRjy7lYXJbDz8lPMA==", + "dev": true, + "requires": { + "ember-cache-primitive-polyfill": "^1.0.0", + "ember-cli-babel": "^7.21.0", + "ember-cli-htmlbars": "^5.3.1", + "tracked-maps-and-sets": "^2.0.0" + }, + "dependencies": { + "async-disk-cache": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/async-disk-cache/-/async-disk-cache-2.1.0.tgz", + "integrity": "sha512-iH+boep2xivfD9wMaZWkywYIURSmsL96d6MoqrC94BnGSvXE4Quf8hnJiHGFYhw/nLeIa1XyRaf4vvcvkwAefg==", + "dev": true, + "requires": { + "debug": "^4.1.1", + "heimdalljs": "^0.2.3", + "istextorbinary": "^2.5.1", + "mkdirp": "^0.5.0", + "rimraf": "^3.0.0", + "rsvp": "^4.8.5", + "username-sync": "^1.0.2" + } + }, + "broccoli-persistent-filter": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/broccoli-persistent-filter/-/broccoli-persistent-filter-3.1.2.tgz", + "integrity": "sha512-CbU95RXXVyy+eJV9XTiHUC7NnsY3EvdVrGzp3YgyvO2bzXZFE5/GzDp4X/VQqX+jsk4qyT1HvMOF0sD1DX68TQ==", + "dev": true, + "requires": { + "async-disk-cache": "^2.0.0", + "async-promise-queue": "^1.0.3", + "broccoli-plugin": "^4.0.3", + "fs-tree-diff": "^2.0.0", + "hash-for-dep": "^1.5.0", + "heimdalljs": "^0.2.1", + "heimdalljs-logger": "^0.1.7", + "promise-map-series": "^0.2.1", + "rimraf": "^3.0.0", + "symlink-or-copy": "^1.0.1", + "sync-disk-cache": "^2.0.0" + } + }, + "broccoli-plugin": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/broccoli-plugin/-/broccoli-plugin-4.0.7.tgz", + "integrity": "sha512-a4zUsWtA1uns1K7p9rExYVYG99rdKeGRymW0qOCNkvDPHQxVi3yVyJHhQbM3EZwdt2E0mnhr5e0c/bPpJ7p3Wg==", + "dev": true, + "requires": { + "broccoli-node-api": "^1.7.0", + "broccoli-output-wrapper": "^3.2.5", + "fs-merger": "^3.2.1", + "promise-map-series": "^0.3.0", + "quick-temp": "^0.1.8", + "rimraf": "^3.0.2", + "symlink-or-copy": "^1.3.1" + }, + "dependencies": { + "promise-map-series": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/promise-map-series/-/promise-map-series-0.3.0.tgz", + "integrity": "sha512-3npG2NGhTc8BWBolLLf8l/92OxMGaRLbqvIh9wjCHhDXNvk4zsxaTaCpiCunW09qWPrN2zeNSNwRLVBrQQtutA==", + "dev": true + } + } + }, + "editions": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/editions/-/editions-2.3.1.tgz", + "integrity": "sha512-ptGvkwTvGdGfC0hfhKg0MT+TRLRKGtUiWGBInxOm5pz7ssADezahjCUaYuZ8Dr+C05FW0AECIIPt4WBxVINEhA==", + "dev": true, + "requires": { + "errlop": "^2.0.0", + "semver": "^6.3.0" + }, + "dependencies": { + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + } + } + }, + "ember-cli-htmlbars": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ember-cli-htmlbars/-/ember-cli-htmlbars-5.7.2.tgz", + "integrity": "sha512-Uj6R+3TtBV5RZoJY14oZn/sNPnc+UgmC8nb5rI4P3fR/gYoyTFIZSXiIM7zl++IpMoIrocxOrgt+mhonKphgGg==", + "dev": true, + "requires": { + "@ember/edition-utils": "^1.2.0", + "babel-plugin-htmlbars-inline-precompile": "^5.0.0", + "broccoli-debug": "^0.6.5", + "broccoli-persistent-filter": "^3.1.2", + "broccoli-plugin": "^4.0.3", + "common-tags": "^1.8.0", + "ember-cli-babel-plugin-helpers": "^1.1.1", + "ember-cli-version-checker": "^5.1.2", + "fs-tree-diff": "^2.0.1", + "hash-for-dep": "^1.5.1", + "heimdalljs-logger": "^0.1.10", + "json-stable-stringify": "^1.0.1", + "semver": "^7.3.4", + "silent-error": "^1.1.1", + "strip-bom": "^4.0.0", + "walk-sync": "^2.2.0" + } + }, + "fs-tree-diff": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/fs-tree-diff/-/fs-tree-diff-2.0.1.tgz", + "integrity": "sha512-x+CfAZ/lJHQqwlD64pYM5QxWjzWhSjroaVsr8PW831zOApL55qPibed0c+xebaLWVr2BnHFoHdrwOv8pzt8R5A==", + "dev": true, + "requires": { + "@types/symlink-or-copy": "^1.2.0", + "heimdalljs-logger": "^0.1.7", + "object-assign": "^4.1.0", + "path-posix": "^1.0.0", + "symlink-or-copy": "^1.1.8" + } + }, + "istextorbinary": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/istextorbinary/-/istextorbinary-2.6.0.tgz", + "integrity": "sha512-+XRlFseT8B3L9KyjxxLjfXSLMuErKDsd8DBNrsaxoViABMEZlOSCstwmw0qpoFX3+U6yWU1yhLudAe6/lETGGA==", + "dev": true, + "requires": { + "binaryextensions": "^2.1.2", + "editions": "^2.2.0", + "textextensions": "^2.5.0" + } + }, + "minimist": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", + "dev": true + }, + "mkdirp": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", + "dev": true, + "requires": { + "minimist": "^1.2.6" + } + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "dev": true + }, + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, + "rsvp": { + "version": "4.8.5", + "resolved": "https://registry.npmjs.org/rsvp/-/rsvp-4.8.5.tgz", + "integrity": "sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA==", + "dev": true + }, + "walk-sync": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/walk-sync/-/walk-sync-2.2.0.tgz", + "integrity": "sha512-IC8sL7aB4/ZgFcGI2T1LczZeFWZ06b3zoHH7jBPyHxOtIIz1jppWHjjEXkOFvFojBVAK9pV7g47xOZ4LW3QLfg==", + "dev": true, + "requires": { + "@types/minimatch": "^3.0.3", + "ensure-posix-path": "^1.1.0", + "matcher-collection": "^2.0.0", + "minimatch": "^3.0.4" + } + } + } + }, "tree-sync": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/tree-sync/-/tree-sync-1.4.0.tgz", diff --git a/package.json b/package.json index f0d41c7a4..bafaca2bd 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "test:ember": "ember test" }, "devDependencies": { - "@appuniversum/ember-appuniversum": "^1.0.6", + "@appuniversum/ember-appuniversum": "^1.0.17", "@ember/optional-features": "^2.0.0", "@ember/test-helpers": "^2.6.0", "@glimmer/component": "^1.0.4",